mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-09-17 07:15:21 +03:00
Rename numberFormat to format in mxl-compile DSL
The field covers all 1C format strings: numbers, dates, booleans. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
f0bb8c860f
commit
1ed5d783e8
@@ -142,7 +142,7 @@ powershell.exe -NoProfile -File .claude/skills/mxl-compile/scripts/mxl-compile.p
|
|||||||
| `border` | — | Стороны рамки: `all`, `top`, `bottom`, `left`, `right`, `none`. Через запятую: `"top,bottom"` |
|
| `border` | — | Стороны рамки: `all`, `top`, `bottom`, `left`, `right`, `none`. Через запятую: `"top,bottom"` |
|
||||||
| `borderWidth` | `"thin"` | Толщина рамки: `thin` (1px) или `thick` (2px) |
|
| `borderWidth` | `"thin"` | Толщина рамки: `thin` (1px) или `thick` (2px) |
|
||||||
| `wrap` | `false` | Перенос текста |
|
| `wrap` | `false` | Перенос текста |
|
||||||
| `numberFormat` | — | Формат числа 1С, например `"ЧЦ=15; ЧДЦ=2"` |
|
| `format` | — | Формат данных 1С: `"ЧЦ=15; ЧДЦ=2"`, `"ДФ=dd.MM.yyyy"` и т.д. |
|
||||||
|
|
||||||
### Области (`areas[]`)
|
### Области (`areas[]`)
|
||||||
|
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ function Resolve-Style {
|
|||||||
if ($style.wrap -eq $true) { $wrap = $true }
|
if ($style.wrap -eq $true) { $wrap = $true }
|
||||||
|
|
||||||
# Number format
|
# Number format
|
||||||
if ($style.numberFormat) { $nf = $style.numberFormat }
|
if ($style.format) { $nf = $style.format }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user