@fieldia/core 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fieldia/core",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Headless form model for Fieldia: the page format, modifiers, validation and record state. No DOM.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://fieldia.dev",
@@ -63,6 +63,22 @@
63
63
  },
64
64
  "layout": {
65
65
  "$ref": "#/$defs/RootLayout"
66
+ },
67
+ "maxWidth": {
68
+ "type": "string",
69
+ "enum": [
70
+ "narrow",
71
+ "medium",
72
+ "wide",
73
+ "full"
74
+ ]
75
+ },
76
+ "actionsPosition": {
77
+ "type": "string",
78
+ "enum": [
79
+ "top",
80
+ "bottom"
81
+ ]
66
82
  }
67
83
  },
68
84
  "required": [
@@ -1594,6 +1610,204 @@
1594
1610
  },
1595
1611
  "placeholder": {
1596
1612
  "type": "string"
1613
+ },
1614
+ "above": {
1615
+ "type": "array",
1616
+ "items": {
1617
+ "type": "object",
1618
+ "properties": {
1619
+ "type": {
1620
+ "type": "string",
1621
+ "const": "field"
1622
+ },
1623
+ "id": {
1624
+ "type": "string",
1625
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$"
1626
+ },
1627
+ "field": {
1628
+ "type": "string",
1629
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
1630
+ },
1631
+ "label": {
1632
+ "type": "string"
1633
+ },
1634
+ "widget": {
1635
+ "type": "string",
1636
+ "minLength": 1
1637
+ },
1638
+ "options": {
1639
+ "type": "object",
1640
+ "propertyNames": {
1641
+ "type": "string"
1642
+ },
1643
+ "additionalProperties": {
1644
+ "$ref": "#/$defs/JsonValue"
1645
+ }
1646
+ },
1647
+ "placeholder": {
1648
+ "type": "string"
1649
+ },
1650
+ "help": {
1651
+ "type": "string"
1652
+ },
1653
+ "colspan": {
1654
+ "type": "integer",
1655
+ "minimum": 1,
1656
+ "maximum": 4
1657
+ },
1658
+ "columns": {
1659
+ "minItems": 1,
1660
+ "type": "array",
1661
+ "items": {
1662
+ "type": "string",
1663
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
1664
+ }
1665
+ },
1666
+ "totals": {
1667
+ "minItems": 1,
1668
+ "type": "array",
1669
+ "items": {
1670
+ "type": "string",
1671
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
1672
+ }
1673
+ },
1674
+ "optionalColumns": {
1675
+ "type": "object",
1676
+ "propertyNames": {
1677
+ "type": "string",
1678
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
1679
+ },
1680
+ "additionalProperties": {
1681
+ "type": "string",
1682
+ "enum": [
1683
+ "show",
1684
+ "hide"
1685
+ ]
1686
+ }
1687
+ },
1688
+ "editMode": {
1689
+ "type": "string",
1690
+ "enum": [
1691
+ "cell",
1692
+ "row"
1693
+ ]
1694
+ },
1695
+ "invisible": {
1696
+ "$ref": "#/$defs/Modifier"
1697
+ },
1698
+ "readonly": {
1699
+ "$ref": "#/$defs/Modifier"
1700
+ },
1701
+ "required": {
1702
+ "$ref": "#/$defs/Modifier"
1703
+ }
1704
+ },
1705
+ "required": [
1706
+ "type",
1707
+ "id",
1708
+ "field"
1709
+ ],
1710
+ "additionalProperties": false
1711
+ }
1712
+ },
1713
+ "below": {
1714
+ "type": "array",
1715
+ "items": {
1716
+ "type": "object",
1717
+ "properties": {
1718
+ "type": {
1719
+ "type": "string",
1720
+ "const": "field"
1721
+ },
1722
+ "id": {
1723
+ "type": "string",
1724
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$"
1725
+ },
1726
+ "field": {
1727
+ "type": "string",
1728
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
1729
+ },
1730
+ "label": {
1731
+ "type": "string"
1732
+ },
1733
+ "widget": {
1734
+ "type": "string",
1735
+ "minLength": 1
1736
+ },
1737
+ "options": {
1738
+ "type": "object",
1739
+ "propertyNames": {
1740
+ "type": "string"
1741
+ },
1742
+ "additionalProperties": {
1743
+ "$ref": "#/$defs/JsonValue"
1744
+ }
1745
+ },
1746
+ "placeholder": {
1747
+ "type": "string"
1748
+ },
1749
+ "help": {
1750
+ "type": "string"
1751
+ },
1752
+ "colspan": {
1753
+ "type": "integer",
1754
+ "minimum": 1,
1755
+ "maximum": 4
1756
+ },
1757
+ "columns": {
1758
+ "minItems": 1,
1759
+ "type": "array",
1760
+ "items": {
1761
+ "type": "string",
1762
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
1763
+ }
1764
+ },
1765
+ "totals": {
1766
+ "minItems": 1,
1767
+ "type": "array",
1768
+ "items": {
1769
+ "type": "string",
1770
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
1771
+ }
1772
+ },
1773
+ "optionalColumns": {
1774
+ "type": "object",
1775
+ "propertyNames": {
1776
+ "type": "string",
1777
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
1778
+ },
1779
+ "additionalProperties": {
1780
+ "type": "string",
1781
+ "enum": [
1782
+ "show",
1783
+ "hide"
1784
+ ]
1785
+ }
1786
+ },
1787
+ "editMode": {
1788
+ "type": "string",
1789
+ "enum": [
1790
+ "cell",
1791
+ "row"
1792
+ ]
1793
+ },
1794
+ "invisible": {
1795
+ "$ref": "#/$defs/Modifier"
1796
+ },
1797
+ "readonly": {
1798
+ "$ref": "#/$defs/Modifier"
1799
+ },
1800
+ "required": {
1801
+ "$ref": "#/$defs/Modifier"
1802
+ }
1803
+ },
1804
+ "required": [
1805
+ "type",
1806
+ "id",
1807
+ "field"
1808
+ ],
1809
+ "additionalProperties": false
1810
+ }
1597
1811
  }
1598
1812
  },
1599
1813
  "required": [
@@ -1619,6 +1833,13 @@
1619
1833
  },
1620
1834
  "clickable": {
1621
1835
  "type": "boolean"
1836
+ },
1837
+ "position": {
1838
+ "type": "string",
1839
+ "enum": [
1840
+ "header",
1841
+ "title"
1842
+ ]
1622
1843
  }
1623
1844
  },
1624
1845
  "required": [
@@ -1770,6 +1991,9 @@
1770
1991
  "muted"
1771
1992
  ]
1772
1993
  },
1994
+ "dismissible": {
1995
+ "type": "boolean"
1996
+ },
1773
1997
  "invisible": {
1774
1998
  "$ref": "#/$defs/Modifier"
1775
1999
  }
@@ -1781,6 +2005,43 @@
1781
2005
  "additionalProperties": false
1782
2006
  }
1783
2007
  },
2008
+ "badges": {
2009
+ "type": "array",
2010
+ "items": {
2011
+ "type": "object",
2012
+ "properties": {
2013
+ "id": {
2014
+ "type": "string",
2015
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$"
2016
+ },
2017
+ "label": {
2018
+ "type": "string"
2019
+ },
2020
+ "tone": {
2021
+ "type": "string",
2022
+ "enum": [
2023
+ "info",
2024
+ "success",
2025
+ "warning",
2026
+ "danger",
2027
+ "muted"
2028
+ ]
2029
+ },
2030
+ "icon": {
2031
+ "type": "string",
2032
+ "minLength": 1
2033
+ },
2034
+ "invisible": {
2035
+ "$ref": "#/$defs/Modifier"
2036
+ }
2037
+ },
2038
+ "required": [
2039
+ "id",
2040
+ "label"
2041
+ ],
2042
+ "additionalProperties": false
2043
+ }
2044
+ },
1784
2045
  "children": {
1785
2046
  "type": "array",
1786
2047
  "items": {
@@ -2065,26 +2326,103 @@
2065
2326
  "title": {
2066
2327
  "type": "string"
2067
2328
  },
2329
+ "icon": {
2330
+ "type": "string",
2331
+ "minLength": 1
2332
+ },
2068
2333
  "description": {
2069
2334
  "type": "string"
2070
2335
  },
2071
2336
  "columns": {
2072
2337
  "anyOf": [
2073
2338
  {
2074
- "type": "number",
2075
- "const": 1
2076
- },
2077
- {
2078
- "type": "number",
2079
- "const": 2
2080
- },
2081
- {
2082
- "type": "number",
2083
- "const": 3
2339
+ "anyOf": [
2340
+ {
2341
+ "type": "number",
2342
+ "const": 1
2343
+ },
2344
+ {
2345
+ "type": "number",
2346
+ "const": 2
2347
+ },
2348
+ {
2349
+ "type": "number",
2350
+ "const": 3
2351
+ },
2352
+ {
2353
+ "type": "number",
2354
+ "const": 4
2355
+ }
2356
+ ]
2084
2357
  },
2085
2358
  {
2086
- "type": "number",
2087
- "const": 4
2359
+ "type": "object",
2360
+ "properties": {
2361
+ "wide": {
2362
+ "anyOf": [
2363
+ {
2364
+ "type": "number",
2365
+ "const": 1
2366
+ },
2367
+ {
2368
+ "type": "number",
2369
+ "const": 2
2370
+ },
2371
+ {
2372
+ "type": "number",
2373
+ "const": 3
2374
+ },
2375
+ {
2376
+ "type": "number",
2377
+ "const": 4
2378
+ }
2379
+ ]
2380
+ },
2381
+ "medium": {
2382
+ "anyOf": [
2383
+ {
2384
+ "type": "number",
2385
+ "const": 1
2386
+ },
2387
+ {
2388
+ "type": "number",
2389
+ "const": 2
2390
+ },
2391
+ {
2392
+ "type": "number",
2393
+ "const": 3
2394
+ },
2395
+ {
2396
+ "type": "number",
2397
+ "const": 4
2398
+ }
2399
+ ]
2400
+ },
2401
+ "narrow": {
2402
+ "anyOf": [
2403
+ {
2404
+ "type": "number",
2405
+ "const": 1
2406
+ },
2407
+ {
2408
+ "type": "number",
2409
+ "const": 2
2410
+ },
2411
+ {
2412
+ "type": "number",
2413
+ "const": 3
2414
+ },
2415
+ {
2416
+ "type": "number",
2417
+ "const": 4
2418
+ }
2419
+ ]
2420
+ }
2421
+ },
2422
+ "required": [
2423
+ "wide"
2424
+ ],
2425
+ "additionalProperties": false
2088
2426
  }
2089
2427
  ]
2090
2428
  },
@@ -2097,6 +2435,9 @@
2097
2435
  "invisible": {
2098
2436
  "$ref": "#/$defs/Modifier"
2099
2437
  },
2438
+ "readonly": {
2439
+ "$ref": "#/$defs/Modifier"
2440
+ },
2100
2441
  "children": {
2101
2442
  "type": "array",
2102
2443
  "items": {
@@ -2211,6 +2552,21 @@
2211
2552
  "type": "string",
2212
2553
  "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$"
2213
2554
  },
2555
+ "clickable": {
2556
+ "type": "boolean"
2557
+ },
2558
+ "nextLabel": {
2559
+ "type": "string",
2560
+ "minLength": 1
2561
+ },
2562
+ "backLabel": {
2563
+ "type": "string",
2564
+ "minLength": 1
2565
+ },
2566
+ "finishLabel": {
2567
+ "type": "string",
2568
+ "minLength": 1
2569
+ },
2214
2570
  "children": {
2215
2571
  "minItems": 1,
2216
2572
  "type": "array",
@@ -2243,6 +2599,13 @@
2243
2599
  "description": {
2244
2600
  "type": "string"
2245
2601
  },
2602
+ "icon": {
2603
+ "type": "string",
2604
+ "minLength": 1
2605
+ },
2606
+ "optional": {
2607
+ "type": "boolean"
2608
+ },
2246
2609
  "invisible": {
2247
2610
  "$ref": "#/$defs/Modifier"
2248
2611
  },
package/src/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  export type { JsonValue } from './lib/format/json.mjs';
2
2
  export { FIELD_NAME, FIELD_TYPES, FieldSchema, FieldsSchema, LineFieldSchema, LineKindsSchema, OptionSchema, PropertyDefinitionSchema, FilterConditionSchema, type Field, type Fields, type FieldType, type LineField, type LineKinds, type Option, type PropertyDefinition, type FilterCondition, } from './lib/format/field.mjs';
3
- export { ModifierSchema, LayoutNodeSchema, RootLayoutSchema, type Modifier, type Tone, type FieldNode, type ButtonNode, type TextNode, type SlotNode, type SectionNode, type TabNode, type TabsNode, type StepNode, type WizardNode, type SectionsNode, type SheetNode, type SheetTitle, type Statusbar, type StatButton, type Ribbon, type Alert, type LayoutNode, type RootLayout, } from './lib/format/layout.mjs';
3
+ export { ModifierSchema, LayoutNodeSchema, RootLayoutSchema, type Modifier, type Tone, type FieldNode, type ButtonNode, type TextNode, type SlotNode, type SectionNode, type TabNode, type TabsNode, type StepNode, type WizardNode, type SectionsNode, type SheetNode, type SheetTitle, type Statusbar, type StatButton, type Ribbon, type Alert, type Badge, type ColumnCount, type ColumnsByWidth, wideColumns, type LayoutNode, type RootLayout, } from './lib/format/layout.mjs';
4
4
  export { FORMAT_VERSION, PageSchema, type Page, type PageData } from './lib/format/page.mjs';
5
5
  export { validatePage, type PageIssue, type PageValidation } from './lib/format/validate.mjs';
6
6
  export { pageJsonSchema } from './lib/format/json-schema.mjs';
package/src/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export type { JsonValue } from './lib/format/json';
2
2
  export { FIELD_NAME, FIELD_TYPES, FieldSchema, FieldsSchema, LineFieldSchema, LineKindsSchema, OptionSchema, PropertyDefinitionSchema, FilterConditionSchema, type Field, type Fields, type FieldType, type LineField, type LineKinds, type Option, type PropertyDefinition, type FilterCondition, } from './lib/format/field';
3
- export { ModifierSchema, LayoutNodeSchema, RootLayoutSchema, type Modifier, type Tone, type FieldNode, type ButtonNode, type TextNode, type SlotNode, type SectionNode, type TabNode, type TabsNode, type StepNode, type WizardNode, type SectionsNode, type SheetNode, type SheetTitle, type Statusbar, type StatButton, type Ribbon, type Alert, type LayoutNode, type RootLayout, } from './lib/format/layout';
3
+ export { ModifierSchema, LayoutNodeSchema, RootLayoutSchema, type Modifier, type Tone, type FieldNode, type ButtonNode, type TextNode, type SlotNode, type SectionNode, type TabNode, type TabsNode, type StepNode, type WizardNode, type SectionsNode, type SheetNode, type SheetTitle, type Statusbar, type StatButton, type Ribbon, type Alert, type Badge, type ColumnCount, type ColumnsByWidth, wideColumns, type LayoutNode, type RootLayout, } from './lib/format/layout';
4
4
  export { FORMAT_VERSION, PageSchema, type Page, type PageData } from './lib/format/page';
5
5
  export { validatePage, type PageIssue, type PageValidation } from './lib/format/validate';
6
6
  export { pageJsonSchema } from './lib/format/json-schema';
package/src/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.fill = exports.MESSAGES = exports.createForm = exports.wait = exports.hostScheduler = exports.createMemoryDataSource = exports.formatBytes = exports.checkValue = exports.lineKind = exports.expressionContext = exports.isEmpty = exports.initialValues = exports.emptyValue = exports.isModifierValid = exports.evaluateModifier = exports.compileModifier = exports.pageJsonSchema = exports.validatePage = exports.PageSchema = exports.FORMAT_VERSION = exports.RootLayoutSchema = exports.LayoutNodeSchema = exports.ModifierSchema = exports.FilterConditionSchema = exports.PropertyDefinitionSchema = exports.OptionSchema = exports.LineKindsSchema = exports.LineFieldSchema = exports.FieldsSchema = exports.FieldSchema = exports.FIELD_TYPES = exports.FIELD_NAME = void 0;
3
+ exports.fill = exports.MESSAGES = exports.createForm = exports.wait = exports.hostScheduler = exports.createMemoryDataSource = exports.formatBytes = exports.checkValue = exports.lineKind = exports.expressionContext = exports.isEmpty = exports.initialValues = exports.emptyValue = exports.isModifierValid = exports.evaluateModifier = exports.compileModifier = exports.pageJsonSchema = exports.validatePage = exports.PageSchema = exports.FORMAT_VERSION = exports.wideColumns = exports.RootLayoutSchema = exports.LayoutNodeSchema = exports.ModifierSchema = exports.FilterConditionSchema = exports.PropertyDefinitionSchema = exports.OptionSchema = exports.LineKindsSchema = exports.LineFieldSchema = exports.FieldsSchema = exports.FieldSchema = exports.FIELD_TYPES = exports.FIELD_NAME = void 0;
4
4
  var field_1 = require("./lib/format/field");
5
5
  Object.defineProperty(exports, "FIELD_NAME", { enumerable: true, get: function () { return field_1.FIELD_NAME; } });
6
6
  Object.defineProperty(exports, "FIELD_TYPES", { enumerable: true, get: function () { return field_1.FIELD_TYPES; } });
@@ -15,6 +15,7 @@ var layout_1 = require("./lib/format/layout");
15
15
  Object.defineProperty(exports, "ModifierSchema", { enumerable: true, get: function () { return layout_1.ModifierSchema; } });
16
16
  Object.defineProperty(exports, "LayoutNodeSchema", { enumerable: true, get: function () { return layout_1.LayoutNodeSchema; } });
17
17
  Object.defineProperty(exports, "RootLayoutSchema", { enumerable: true, get: function () { return layout_1.RootLayoutSchema; } });
18
+ Object.defineProperty(exports, "wideColumns", { enumerable: true, get: function () { return layout_1.wideColumns; } });
18
19
  var page_1 = require("./lib/format/page");
19
20
  Object.defineProperty(exports, "FORMAT_VERSION", { enumerable: true, get: function () { return page_1.FORMAT_VERSION; } });
20
21
  Object.defineProperty(exports, "PageSchema", { enumerable: true, get: function () { return page_1.PageSchema; } });
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/core/src/index.ts"],"names":[],"mappings":";;;AACA,4CAkB4B;AAjB1B,mGAAA,UAAU,OAAA;AACV,oGAAA,WAAW,OAAA;AACX,oGAAA,WAAW,OAAA;AACX,qGAAA,YAAY,OAAA;AACZ,wGAAA,eAAe,OAAA;AACf,wGAAA,eAAe,OAAA;AACf,qGAAA,YAAY,OAAA;AACZ,iHAAA,wBAAwB,OAAA;AACxB,8GAAA,qBAAqB,OAAA;AAUvB,8CAwB6B;AAvB3B,wGAAA,cAAc,OAAA;AACd,0GAAA,gBAAgB,OAAA;AAChB,0GAAA,gBAAgB,OAAA;AAsBlB,0CAAyF;AAAhF,sGAAA,cAAc,OAAA;AAAE,kGAAA,UAAU,OAAA;AACnC,kDAA0F;AAAjF,wGAAA,YAAY,OAAA;AACrB,wDAA0D;AAAjD,6GAAA,cAAc,OAAA;AACvB,sDAAmF;AAA1E,2GAAA,eAAe,OAAA;AACxB,sEAAsF;AAA7E,oHAAA,gBAAgB,OAAA;AAAE,mHAAA,eAAe,OAAA;AAC1C,8CAa6B;AAZ3B,oGAAA,UAAU,OAAA;AACV,uGAAA,aAAa,OAAA;AACb,iGAAA,OAAO,OAAA;AACP,2GAAA,iBAAiB,OAAA;AACjB,kGAAA,QAAQ,OAAA;AASV,4CAA6D;AAApD,mGAAA,UAAU,OAAA;AAAE,oGAAA,WAAW,OAAA;AAiBhC,sEAA8H;AAArH,4HAAA,sBAAsB,OAAA;AAC/B,oDAA6E;AAApE,0GAAA,aAAa,OAAA;AAAE,iGAAA,IAAI,OAAA;AAC5B,0CAS2B;AARzB,kGAAA,UAAU,OAAA;AASZ,kDAAmF;AAA1E,oGAAA,QAAQ,OAAA;AAAE,gGAAA,IAAI,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/core/src/index.ts"],"names":[],"mappings":";;;AACA,4CAkB4B;AAjB1B,mGAAA,UAAU,OAAA;AACV,oGAAA,WAAW,OAAA;AACX,oGAAA,WAAW,OAAA;AACX,qGAAA,YAAY,OAAA;AACZ,wGAAA,eAAe,OAAA;AACf,wGAAA,eAAe,OAAA;AACf,qGAAA,YAAY,OAAA;AACZ,iHAAA,wBAAwB,OAAA;AACxB,8GAAA,qBAAqB,OAAA;AAUvB,8CA4B6B;AA3B3B,wGAAA,cAAc,OAAA;AACd,0GAAA,gBAAgB,OAAA;AAChB,0GAAA,gBAAgB,OAAA;AAsBhB,qGAAA,WAAW,OAAA;AAIb,0CAAyF;AAAhF,sGAAA,cAAc,OAAA;AAAE,kGAAA,UAAU,OAAA;AACnC,kDAA0F;AAAjF,wGAAA,YAAY,OAAA;AACrB,wDAA0D;AAAjD,6GAAA,cAAc,OAAA;AACvB,sDAAmF;AAA1E,2GAAA,eAAe,OAAA;AACxB,sEAAsF;AAA7E,oHAAA,gBAAgB,OAAA;AAAE,mHAAA,eAAe,OAAA;AAC1C,8CAa6B;AAZ3B,oGAAA,UAAU,OAAA;AACV,uGAAA,aAAa,OAAA;AACb,iGAAA,OAAO,OAAA;AACP,2GAAA,iBAAiB,OAAA;AACjB,kGAAA,QAAQ,OAAA;AASV,4CAA6D;AAApD,mGAAA,UAAU,OAAA;AAAE,oGAAA,WAAW,OAAA;AAiBhC,sEAA8H;AAArH,4HAAA,sBAAsB,OAAA;AAC/B,oDAA6E;AAApE,0GAAA,aAAa,OAAA;AAAE,iGAAA,IAAI,OAAA;AAC5B,0CAS2B;AARzB,kGAAA,UAAU,OAAA;AASZ,kDAAmF;AAA1E,oGAAA,QAAQ,OAAA;AAAE,gGAAA,IAAI,OAAA"}
package/src/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  export { FIELD_NAME, FIELD_TYPES, FieldSchema, FieldsSchema, LineFieldSchema, LineKindsSchema, OptionSchema, PropertyDefinitionSchema, FilterConditionSchema, } from './lib/format/field.mjs';
2
- export { ModifierSchema, LayoutNodeSchema, RootLayoutSchema, } from './lib/format/layout.mjs';
2
+ export { ModifierSchema, LayoutNodeSchema, RootLayoutSchema, wideColumns, } from './lib/format/layout.mjs';
3
3
  export { FORMAT_VERSION, PageSchema } from './lib/format/page.mjs';
4
4
  export { validatePage } from './lib/format/validate.mjs';
5
5
  export { pageJsonSchema } from './lib/format/json-schema.mjs';
package/src/index.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../../libs/core/src/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,EACV,WAAW,EACX,WAAW,EACX,YAAY,EACZ,eAAe,EACf,eAAe,EACf,YAAY,EACZ,wBAAwB,EACxB,qBAAqB,GAStB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,gBAAgB,GAqBjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,UAAU,EAA4B,MAAM,mBAAmB,CAAC;AACzF,OAAO,EAAE,YAAY,EAAuC,MAAM,uBAAuB,CAAC;AAC1F,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAyB,MAAM,2BAA2B,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,EACL,UAAU,EACV,aAAa,EACb,OAAO,EACP,iBAAiB,EACjB,QAAQ,GAQT,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAiB7D,OAAO,EAAE,sBAAsB,EAAuD,MAAM,iCAAiC,CAAC;AAC9H,OAAO,EAAE,aAAa,EAAE,IAAI,EAAkB,MAAM,wBAAwB,CAAC;AAC7E,OAAO,EACL,UAAU,GAQX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,IAAI,EAA8B,MAAM,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../../libs/core/src/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,EACV,WAAW,EACX,WAAW,EACX,YAAY,EACZ,eAAe,EACf,eAAe,EACf,YAAY,EACZ,wBAAwB,EACxB,qBAAqB,GAStB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAsBhB,WAAW,GAGZ,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,UAAU,EAA4B,MAAM,mBAAmB,CAAC;AACzF,OAAO,EAAE,YAAY,EAAuC,MAAM,uBAAuB,CAAC;AAC1F,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAyB,MAAM,2BAA2B,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,EACL,UAAU,EACV,aAAa,EACb,OAAO,EACP,iBAAiB,EACjB,QAAQ,GAQT,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAiB7D,OAAO,EAAE,sBAAsB,EAAuD,MAAM,iCAAiC,CAAC;AAC9H,OAAO,EAAE,aAAa,EAAE,IAAI,EAAkB,MAAM,wBAAwB,CAAC;AAC7E,OAAO,EACL,UAAU,GAQX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,IAAI,EAA8B,MAAM,uBAAuB,CAAC"}