@kubex/zinc 1.1.23 → 1.1.25
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/custom-elements-manifest.config.js +2 -4
- package/dist/custom-elements.json +1333 -249
- package/dist/vscode.html-custom-data.json +59 -37
- package/dist/web-types.json +190 -81
- package/dist/zn.d.ts +864 -0
- package/dist/zn.min.js +875 -464
- package/docs/_includes/default.njk +1 -0
- package/docs/_includes/full-page.njk +38 -0
- package/docs/pages/components/flow-builder-demo.njk +194 -0
- package/docs/pages/components/flow-builder-troubleshooter-demo.njk +282 -0
- package/docs/pages/components/flow-builder.md +377 -0
- package/package.json +1 -1
- package/src/components/flow-builder/flow-builder.component.ts +1171 -0
- package/src/components/flow-builder/flow-builder.scss +489 -0
- package/src/components/flow-builder/flow-builder.test.ts +59 -0
- package/src/components/flow-builder/flow-layout.ts +139 -0
- package/src/components/flow-builder/flow-registry.ts +52 -0
- package/src/components/flow-builder/flow.types.ts +407 -0
- package/src/components/flow-builder/index.ts +14 -0
- package/src/components/flow-builder/modules/flow-canvas/flow-canvas.component.ts +1110 -0
- package/src/components/flow-builder/modules/flow-canvas/flow-canvas.scss +371 -0
- package/src/components/flow-builder/modules/flow-canvas/flow-canvas.test.ts +39 -0
- package/src/components/flow-builder/modules/flow-canvas/index.ts +12 -0
- package/src/components/flow-builder/modules/flow-node/flow-node.component.ts +174 -0
- package/src/components/flow-builder/modules/flow-node/flow-node.scss +180 -0
- package/src/components/flow-builder/modules/flow-node/flow-node.test.ts +50 -0
- package/src/components/flow-builder/modules/flow-node/index.ts +12 -0
- package/src/components/flow-builder/modules/flow-step/flow-step.component.ts +88 -0
- package/src/components/flow-builder/modules/flow-step/flow-step.scss +52 -0
- package/src/components/flow-builder/modules/flow-step/flow-step.test.ts +21 -0
- package/src/components/flow-builder/modules/flow-step/index.ts +12 -0
- package/src/components/flow-builder/modules/flow-step-group/flow-step-group.component.ts +35 -0
- package/src/components/flow-builder/modules/flow-step-group/flow-step-group.scss +28 -0
- package/src/components/flow-builder/modules/flow-step-group/flow-step-group.test.ts +20 -0
- package/src/components/flow-builder/modules/flow-step-group/index.ts +12 -0
- package/src/components/flow-builder/modules/flow-steps/flow-steps.component.ts +88 -0
- package/src/components/flow-builder/modules/flow-steps/flow-steps.scss +24 -0
- package/src/components/flow-builder/modules/flow-steps/flow-steps.test.ts +17 -0
- package/src/components/flow-builder/modules/flow-steps/index.ts +12 -0
- package/src/events/events.ts +3 -0
- package/src/events/zn-flow-change.ts +9 -0
- package/src/events/zn-flow-connect.ts +9 -0
- package/src/events/zn-flow-selection-change.ts +7 -0
- package/src/zinc.ts +4 -0
|
@@ -13,6 +13,17 @@
|
|
|
13
13
|
}
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
|
+
{
|
|
17
|
+
"name": "zn-action-bar",
|
|
18
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
19
|
+
"attributes": [],
|
|
20
|
+
"references": [
|
|
21
|
+
{
|
|
22
|
+
"name": "Documentation",
|
|
23
|
+
"url": "https://zinc.style/components/action-bar"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
},
|
|
16
27
|
{
|
|
17
28
|
"name": "zn-alert",
|
|
18
29
|
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
@@ -52,17 +63,6 @@
|
|
|
52
63
|
}
|
|
53
64
|
]
|
|
54
65
|
},
|
|
55
|
-
{
|
|
56
|
-
"name": "zn-action-bar",
|
|
57
|
-
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
58
|
-
"attributes": [],
|
|
59
|
-
"references": [
|
|
60
|
-
{
|
|
61
|
-
"name": "Documentation",
|
|
62
|
-
"url": "https://zinc.style/components/action-bar"
|
|
63
|
-
}
|
|
64
|
-
]
|
|
65
|
-
},
|
|
66
66
|
{
|
|
67
67
|
"name": "zn-animated-button",
|
|
68
68
|
"description": "\n---\n\n\n### **Methods:**\n - **purchase(): _void_** - Programmatically trigger the purchase flow\n- **setSuccess(): _void_** - Set the button to success state manually\n- **setFailure(message): _void_** - Set the button to failure state manually with optional error message\n- **reset(): _void_** - Reset the button to idle state",
|
|
@@ -1073,6 +1073,17 @@
|
|
|
1073
1073
|
}
|
|
1074
1074
|
]
|
|
1075
1075
|
},
|
|
1076
|
+
{
|
|
1077
|
+
"name": "zn-data-table-sort",
|
|
1078
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
1079
|
+
"attributes": [],
|
|
1080
|
+
"references": [
|
|
1081
|
+
{
|
|
1082
|
+
"name": "Documentation",
|
|
1083
|
+
"url": "https://zinc.style/components/data-table-sort"
|
|
1084
|
+
}
|
|
1085
|
+
]
|
|
1086
|
+
},
|
|
1076
1087
|
{
|
|
1077
1088
|
"name": "zn-data-table-search",
|
|
1078
1089
|
"description": "A search component for data tables.\n---\n\n\n### **Events:**\n - **zn-search-change** - Emitted when the search value changes (debounced).\n\n### **Methods:**\n - **getFormData(): _Record<string, any>_** - Collects form data from slotted input elements\n\n### **Slots:**\n - _default_ - The default slot for additional form inputs.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
@@ -1115,17 +1126,6 @@
|
|
|
1115
1126
|
}
|
|
1116
1127
|
]
|
|
1117
1128
|
},
|
|
1118
|
-
{
|
|
1119
|
-
"name": "zn-data-table-sort",
|
|
1120
|
-
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
1121
|
-
"attributes": [],
|
|
1122
|
-
"references": [
|
|
1123
|
-
{
|
|
1124
|
-
"name": "Documentation",
|
|
1125
|
-
"url": "https://zinc.style/components/data-table-sort"
|
|
1126
|
-
}
|
|
1127
|
-
]
|
|
1128
|
-
},
|
|
1129
1129
|
{
|
|
1130
1130
|
"name": "zn-datepicker",
|
|
1131
1131
|
"description": "A date picker component with calendar popup and input validation.\n---\n\n\n### **Events:**\n - **zn-change** - Emitted when the date value changes.\n- **zn-input** - Emitted when the input value changes.\n- **zn-blur** - Emitted when the input loses focus.\n- **zn-focus** - Emitted when the input gains focus.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **select()** - Selects all the text in the input.\n- **checkValidity(): _boolean_** - Checks the validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The datepicker's label. Alternatively, you can use the `label` attribute.\n- **label-tooltip** - Tooltip content for the label. Alternatively, you can use the `label-tooltip` attribute.\n- **context-note** - Additional context text displayed above the input. Alternatively, you can use the `context-note` attribute.\n- **help-text** - Help text displayed below the input. Alternatively, you can use the `help-text` attribute.\n- **prefix** - Content to display before the input (in addition to the default calendar icon).\n- **suffix** - Content to display after the input.\n\n### **CSS Properties:**\n - **--zn-input-*** - Inherited input component CSS custom properties. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **form-control** - The form control wrapper.\n- **form-control-label** - The label element.\n- **form-control-input** - The input wrapper.\n- **form-control-help-text** - The help text element.",
|
|
@@ -1598,6 +1598,28 @@
|
|
|
1598
1598
|
}
|
|
1599
1599
|
]
|
|
1600
1600
|
},
|
|
1601
|
+
{
|
|
1602
|
+
"name": "zn-flow-builder",
|
|
1603
|
+
"description": "A drag-and-drop visual flow builder: steps panel, pan/zoom canvas, and a config inspector.\n---\n\n\n### **Events:**\n - **zn-flow-change** - Emitted whenever the flow state changes. `event.detail.state` is the new FlowState.\n- **zn-flow-selection-change** - Emitted when the selected node changes. `event.detail.nodeId`.\n- **zn-flow-connect** - Emitted when a connection is created. `event.detail.connection`.\n\n### **Slots:**\n - _default_ - `<zn-flow-step>` type declarations; never displayed, each `group`/`category` routes the step into the right tab and collapsible grouping of the rendered panel.\n- **header-left** - Actions shown on the left of the header bar (e.g. Close / Undo All Changes).\n- **header-right** - Actions shown on the right of the header bar (e.g. Apply Changes).\n- **sidebar** - Extra right-panel content (status, version history), below the configuration errors.\n\n### **CSS Parts:**\n - **base** - The grid wrapper.\n- **header** - The full-width header action bar (only rendered when header slots are filled).\n- **steps** - The left steps panel.\n- **inspector** - The right panel while a node or branch is selected.",
|
|
1604
|
+
"attributes": [
|
|
1605
|
+
{ "name": "heading", "values": [] },
|
|
1606
|
+
{ "name": "subheading", "values": [] },
|
|
1607
|
+
{
|
|
1608
|
+
"name": "entrypoints-hint",
|
|
1609
|
+
"description": "Optional hint shown beneath each steps-panel tab.",
|
|
1610
|
+
"values": []
|
|
1611
|
+
},
|
|
1612
|
+
{ "name": "triggers-hint", "values": [] },
|
|
1613
|
+
{ "name": "actions-hint", "values": [] },
|
|
1614
|
+
{ "name": "rules-hint", "values": [] }
|
|
1615
|
+
],
|
|
1616
|
+
"references": [
|
|
1617
|
+
{
|
|
1618
|
+
"name": "Documentation",
|
|
1619
|
+
"url": "https://zinc.style/components/flow-builder"
|
|
1620
|
+
}
|
|
1621
|
+
]
|
|
1622
|
+
},
|
|
1601
1623
|
{
|
|
1602
1624
|
"name": "zn-form-group",
|
|
1603
1625
|
"description": "Short summary of the component's intended use.\n---\n\n\n### **Slots:**\n - _default_ - The default slot.",
|
|
@@ -2410,47 +2432,47 @@
|
|
|
2410
2432
|
]
|
|
2411
2433
|
},
|
|
2412
2434
|
{
|
|
2413
|
-
"name": "zn-
|
|
2414
|
-
"description": "
|
|
2435
|
+
"name": "zn-option",
|
|
2436
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Methods:**\n - **getTextLabel()** - Returns a plain text label based on the option's content.\n\n### **Slots:**\n - _default_ - The option's label.\n- **prefix** - Used to prepend an icon or similar element to the menu item.\n- **suffix** - Used to append an icon or similar element to the menu item.\n\n### **CSS Parts:**\n - **checked-option-icon** - The checked option icon, an `<zn-icon>` element.\n- **base** - The component's base wrapper.\n- **label** - The option's label.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.",
|
|
2415
2437
|
"attributes": [
|
|
2416
2438
|
{
|
|
2417
|
-
"name": "
|
|
2418
|
-
"description": "The
|
|
2439
|
+
"name": "value",
|
|
2440
|
+
"description": "The option's value. When selected, the containing form control will receive this value. The value must be unique\nfrom other options in the same group. Values may contain spaces when using JSON array syntax on the parent select.",
|
|
2419
2441
|
"values": []
|
|
2420
2442
|
},
|
|
2421
2443
|
{
|
|
2422
2444
|
"name": "disabled",
|
|
2423
|
-
"description": "
|
|
2445
|
+
"description": "Draws the option in a disabled state, preventing selection.",
|
|
2424
2446
|
"values": []
|
|
2425
|
-
}
|
|
2447
|
+
},
|
|
2448
|
+
{ "name": "selected", "values": [] }
|
|
2426
2449
|
],
|
|
2427
2450
|
"references": [
|
|
2428
2451
|
{
|
|
2429
2452
|
"name": "Documentation",
|
|
2430
|
-
"url": "https://zinc.style/components/
|
|
2453
|
+
"url": "https://zinc.style/components/option"
|
|
2431
2454
|
}
|
|
2432
2455
|
]
|
|
2433
2456
|
},
|
|
2434
2457
|
{
|
|
2435
|
-
"name": "zn-
|
|
2436
|
-
"description": "
|
|
2458
|
+
"name": "zn-opt-group",
|
|
2459
|
+
"description": "Groups options within a `<zn-select>` under a labeled header, similar to `<optgroup>` in native HTML.\n---\n\n\n### **Slots:**\n - _default_ - The default slot for `<zn-option>` elements.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The group label element.",
|
|
2437
2460
|
"attributes": [
|
|
2438
2461
|
{
|
|
2439
|
-
"name": "
|
|
2440
|
-
"description": "The
|
|
2462
|
+
"name": "label",
|
|
2463
|
+
"description": "The label for the opt-group, displayed as a non-selectable header above the grouped options.",
|
|
2441
2464
|
"values": []
|
|
2442
2465
|
},
|
|
2443
2466
|
{
|
|
2444
2467
|
"name": "disabled",
|
|
2445
|
-
"description": "
|
|
2468
|
+
"description": "Disables all options within the group.",
|
|
2446
2469
|
"values": []
|
|
2447
|
-
}
|
|
2448
|
-
{ "name": "selected", "values": [] }
|
|
2470
|
+
}
|
|
2449
2471
|
],
|
|
2450
2472
|
"references": [
|
|
2451
2473
|
{
|
|
2452
2474
|
"name": "Documentation",
|
|
2453
|
-
"url": "https://zinc.style/components/
|
|
2475
|
+
"url": "https://zinc.style/components/opt-group"
|
|
2454
2476
|
}
|
|
2455
2477
|
]
|
|
2456
2478
|
},
|
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@kubex/zinc",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.25",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -15,6 +15,28 @@
|
|
|
15
15
|
"events": [],
|
|
16
16
|
"js": { "properties": [], "events": [] }
|
|
17
17
|
},
|
|
18
|
+
{
|
|
19
|
+
"name": "zn-action-bar",
|
|
20
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
21
|
+
"doc-url": "",
|
|
22
|
+
"attributes": [],
|
|
23
|
+
"slots": [
|
|
24
|
+
{ "name": "", "description": "The default slot." },
|
|
25
|
+
{ "name": "example", "description": "An example slot." }
|
|
26
|
+
],
|
|
27
|
+
"events": [
|
|
28
|
+
{ "name": "zn-event-name", "description": "Emitted as an example." }
|
|
29
|
+
],
|
|
30
|
+
"js": {
|
|
31
|
+
"properties": [],
|
|
32
|
+
"events": [
|
|
33
|
+
{
|
|
34
|
+
"name": "zn-event-name",
|
|
35
|
+
"description": "Emitted as an example."
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
18
40
|
{
|
|
19
41
|
"name": "zn-alert",
|
|
20
42
|
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
@@ -78,28 +100,6 @@
|
|
|
78
100
|
]
|
|
79
101
|
}
|
|
80
102
|
},
|
|
81
|
-
{
|
|
82
|
-
"name": "zn-action-bar",
|
|
83
|
-
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
84
|
-
"doc-url": "",
|
|
85
|
-
"attributes": [],
|
|
86
|
-
"slots": [
|
|
87
|
-
{ "name": "", "description": "The default slot." },
|
|
88
|
-
{ "name": "example", "description": "An example slot." }
|
|
89
|
-
],
|
|
90
|
-
"events": [
|
|
91
|
-
{ "name": "zn-event-name", "description": "Emitted as an example." }
|
|
92
|
-
],
|
|
93
|
-
"js": {
|
|
94
|
-
"properties": [],
|
|
95
|
-
"events": [
|
|
96
|
-
{
|
|
97
|
-
"name": "zn-event-name",
|
|
98
|
-
"description": "Emitted as an example."
|
|
99
|
-
}
|
|
100
|
-
]
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
103
|
{
|
|
104
104
|
"name": "zn-animated-button",
|
|
105
105
|
"description": "\n---\n\n\n### **Methods:**\n - **purchase(): _void_** - Programmatically trigger the purchase flow\n- **setSuccess(): _void_** - Set the button to success state manually\n- **setFailure(message): _void_** - Set the button to failure state manually with optional error message\n- **reset(): _void_** - Reset the button to idle state",
|
|
@@ -2447,6 +2447,28 @@
|
|
|
2447
2447
|
]
|
|
2448
2448
|
}
|
|
2449
2449
|
},
|
|
2450
|
+
{
|
|
2451
|
+
"name": "zn-data-table-sort",
|
|
2452
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
2453
|
+
"doc-url": "",
|
|
2454
|
+
"attributes": [],
|
|
2455
|
+
"slots": [
|
|
2456
|
+
{ "name": "", "description": "The default slot." },
|
|
2457
|
+
{ "name": "example", "description": "An example slot." }
|
|
2458
|
+
],
|
|
2459
|
+
"events": [
|
|
2460
|
+
{ "name": "zn-event-name", "description": "Emitted as an example." }
|
|
2461
|
+
],
|
|
2462
|
+
"js": {
|
|
2463
|
+
"properties": [],
|
|
2464
|
+
"events": [
|
|
2465
|
+
{
|
|
2466
|
+
"name": "zn-event-name",
|
|
2467
|
+
"description": "Emitted as an example."
|
|
2468
|
+
}
|
|
2469
|
+
]
|
|
2470
|
+
}
|
|
2471
|
+
},
|
|
2450
2472
|
{
|
|
2451
2473
|
"name": "zn-data-table-search",
|
|
2452
2474
|
"description": "A search component for data tables.\n---\n\n\n### **Events:**\n - **zn-search-change** - Emitted when the search value changes (debounced).\n\n### **Methods:**\n - **getFormData(): _Record<string, any>_** - Collects form data from slotted input elements\n\n### **Slots:**\n - _default_ - The default slot for additional form inputs.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
@@ -2540,28 +2562,6 @@
|
|
|
2540
2562
|
]
|
|
2541
2563
|
}
|
|
2542
2564
|
},
|
|
2543
|
-
{
|
|
2544
|
-
"name": "zn-data-table-sort",
|
|
2545
|
-
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
2546
|
-
"doc-url": "",
|
|
2547
|
-
"attributes": [],
|
|
2548
|
-
"slots": [
|
|
2549
|
-
{ "name": "", "description": "The default slot." },
|
|
2550
|
-
{ "name": "example", "description": "An example slot." }
|
|
2551
|
-
],
|
|
2552
|
-
"events": [
|
|
2553
|
-
{ "name": "zn-event-name", "description": "Emitted as an example." }
|
|
2554
|
-
],
|
|
2555
|
-
"js": {
|
|
2556
|
-
"properties": [],
|
|
2557
|
-
"events": [
|
|
2558
|
-
{
|
|
2559
|
-
"name": "zn-event-name",
|
|
2560
|
-
"description": "Emitted as an example."
|
|
2561
|
-
}
|
|
2562
|
-
]
|
|
2563
|
-
}
|
|
2564
|
-
},
|
|
2565
2565
|
{
|
|
2566
2566
|
"name": "zn-datepicker",
|
|
2567
2567
|
"description": "A date picker component with calendar popup and input validation.\n---\n\n\n### **Events:**\n - **zn-change** - Emitted when the date value changes.\n- **zn-input** - Emitted when the input value changes.\n- **zn-blur** - Emitted when the input loses focus.\n- **zn-focus** - Emitted when the input gains focus.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **select()** - Selects all the text in the input.\n- **checkValidity(): _boolean_** - Checks the validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The datepicker's label. Alternatively, you can use the `label` attribute.\n- **label-tooltip** - Tooltip content for the label. Alternatively, you can use the `label-tooltip` attribute.\n- **context-note** - Additional context text displayed above the input. Alternatively, you can use the `context-note` attribute.\n- **help-text** - Help text displayed below the input. Alternatively, you can use the `help-text` attribute.\n- **prefix** - Content to display before the input (in addition to the default calendar icon).\n- **suffix** - Content to display after the input.\n\n### **CSS Properties:**\n - **--zn-input-*** - Inherited input component CSS custom properties. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **form-control** - The form control wrapper.\n- **form-control-label** - The label element.\n- **form-control-input** - The input wrapper.\n- **form-control-help-text** - The help text element.",
|
|
@@ -3729,6 +3729,115 @@
|
|
|
3729
3729
|
]
|
|
3730
3730
|
}
|
|
3731
3731
|
},
|
|
3732
|
+
{
|
|
3733
|
+
"name": "zn-flow-builder",
|
|
3734
|
+
"description": "A drag-and-drop visual flow builder: steps panel, pan/zoom canvas, and a config inspector.\n---\n\n\n### **Events:**\n - **zn-flow-change** - Emitted whenever the flow state changes. `event.detail.state` is the new FlowState.\n- **zn-flow-selection-change** - Emitted when the selected node changes. `event.detail.nodeId`.\n- **zn-flow-connect** - Emitted when a connection is created. `event.detail.connection`.\n\n### **Slots:**\n - _default_ - `<zn-flow-step>` type declarations; never displayed, each `group`/`category` routes the step into the right tab and collapsible grouping of the rendered panel.\n- **header-left** - Actions shown on the left of the header bar (e.g. Close / Undo All Changes).\n- **header-right** - Actions shown on the right of the header bar (e.g. Apply Changes).\n- **sidebar** - Extra right-panel content (status, version history), below the configuration errors.\n\n### **CSS Parts:**\n - **base** - The grid wrapper.\n- **header** - The full-width header action bar (only rendered when header slots are filled).\n- **steps** - The left steps panel.\n- **inspector** - The right panel while a node or branch is selected.",
|
|
3735
|
+
"doc-url": "",
|
|
3736
|
+
"attributes": [
|
|
3737
|
+
{
|
|
3738
|
+
"name": "heading",
|
|
3739
|
+
"value": { "type": "string", "default": "''" }
|
|
3740
|
+
},
|
|
3741
|
+
{
|
|
3742
|
+
"name": "subheading",
|
|
3743
|
+
"value": { "type": "string", "default": "''" }
|
|
3744
|
+
},
|
|
3745
|
+
{
|
|
3746
|
+
"name": "entrypoints-hint",
|
|
3747
|
+
"description": "Optional hint shown beneath each steps-panel tab.",
|
|
3748
|
+
"value": { "type": "string", "default": "''" }
|
|
3749
|
+
},
|
|
3750
|
+
{
|
|
3751
|
+
"name": "triggers-hint",
|
|
3752
|
+
"value": { "type": "string", "default": "''" }
|
|
3753
|
+
},
|
|
3754
|
+
{
|
|
3755
|
+
"name": "actions-hint",
|
|
3756
|
+
"value": { "type": "string", "default": "''" }
|
|
3757
|
+
},
|
|
3758
|
+
{
|
|
3759
|
+
"name": "rules-hint",
|
|
3760
|
+
"value": { "type": "string", "default": "''" }
|
|
3761
|
+
}
|
|
3762
|
+
],
|
|
3763
|
+
"slots": [
|
|
3764
|
+
{
|
|
3765
|
+
"name": "",
|
|
3766
|
+
"description": "`<zn-flow-step>` type declarations; never displayed, each `group`/`category` routes the step into the right tab and collapsible grouping of the rendered panel."
|
|
3767
|
+
},
|
|
3768
|
+
{
|
|
3769
|
+
"name": "header-left",
|
|
3770
|
+
"description": "Actions shown on the left of the header bar (e.g. Close / Undo All Changes)."
|
|
3771
|
+
},
|
|
3772
|
+
{
|
|
3773
|
+
"name": "header-right",
|
|
3774
|
+
"description": "Actions shown on the right of the header bar (e.g. Apply Changes)."
|
|
3775
|
+
},
|
|
3776
|
+
{
|
|
3777
|
+
"name": "sidebar",
|
|
3778
|
+
"description": "Extra right-panel content (status, version history), below the configuration errors."
|
|
3779
|
+
}
|
|
3780
|
+
],
|
|
3781
|
+
"events": [
|
|
3782
|
+
{
|
|
3783
|
+
"name": "zn-flow-change",
|
|
3784
|
+
"description": "Emitted whenever the flow state changes. `event.detail.state` is the new FlowState."
|
|
3785
|
+
},
|
|
3786
|
+
{
|
|
3787
|
+
"name": "zn-flow-selection-change",
|
|
3788
|
+
"description": "Emitted when the selected node changes. `event.detail.nodeId`."
|
|
3789
|
+
},
|
|
3790
|
+
{
|
|
3791
|
+
"name": "zn-flow-connect",
|
|
3792
|
+
"description": "Emitted when a connection is created. `event.detail.connection`."
|
|
3793
|
+
}
|
|
3794
|
+
],
|
|
3795
|
+
"js": {
|
|
3796
|
+
"properties": [
|
|
3797
|
+
{
|
|
3798
|
+
"name": "nodeTypes",
|
|
3799
|
+
"description": "Node types to make available, registered into the internal registry.",
|
|
3800
|
+
"type": "FlowNodeType[]"
|
|
3801
|
+
},
|
|
3802
|
+
{ "name": "heading", "type": "string" },
|
|
3803
|
+
{ "name": "subheading", "type": "string" },
|
|
3804
|
+
{
|
|
3805
|
+
"name": "errorNodes",
|
|
3806
|
+
"description": "Node ids flagged as having configuration errors (drives the red node styling).",
|
|
3807
|
+
"type": "string[]"
|
|
3808
|
+
},
|
|
3809
|
+
{
|
|
3810
|
+
"name": "entrypointsHint",
|
|
3811
|
+
"description": "Optional hint shown beneath each steps-panel tab.",
|
|
3812
|
+
"type": "string"
|
|
3813
|
+
},
|
|
3814
|
+
{ "name": "triggersHint", "type": "string" },
|
|
3815
|
+
{ "name": "actionsHint", "type": "string" },
|
|
3816
|
+
{ "name": "rulesHint", "type": "string" },
|
|
3817
|
+
{ "name": "value", "type": "string" },
|
|
3818
|
+
{ "name": "undo" },
|
|
3819
|
+
{ "name": "redo" },
|
|
3820
|
+
{
|
|
3821
|
+
"name": "untangle",
|
|
3822
|
+
"description": "Auto-arrange the nodes into evenly spaced layers that follow the flow,\nanimating them into place (wires and pills track them since everything is\nderived from the node coordinates). Undoable as a single step."
|
|
3823
|
+
}
|
|
3824
|
+
],
|
|
3825
|
+
"events": [
|
|
3826
|
+
{
|
|
3827
|
+
"name": "zn-flow-change",
|
|
3828
|
+
"description": "Emitted whenever the flow state changes. `event.detail.state` is the new FlowState."
|
|
3829
|
+
},
|
|
3830
|
+
{
|
|
3831
|
+
"name": "zn-flow-selection-change",
|
|
3832
|
+
"description": "Emitted when the selected node changes. `event.detail.nodeId`."
|
|
3833
|
+
},
|
|
3834
|
+
{
|
|
3835
|
+
"name": "zn-flow-connect",
|
|
3836
|
+
"description": "Emitted when a connection is created. `event.detail.connection`."
|
|
3837
|
+
}
|
|
3838
|
+
]
|
|
3839
|
+
}
|
|
3840
|
+
},
|
|
3732
3841
|
{
|
|
3733
3842
|
"name": "zn-form-group",
|
|
3734
3843
|
"description": "Short summary of the component's intended use.\n---\n\n\n### **Slots:**\n - _default_ - The default slot.",
|
|
@@ -5578,93 +5687,93 @@
|
|
|
5578
5687
|
}
|
|
5579
5688
|
},
|
|
5580
5689
|
{
|
|
5581
|
-
"name": "zn-
|
|
5582
|
-
"description": "
|
|
5690
|
+
"name": "zn-option",
|
|
5691
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Methods:**\n - **getTextLabel()** - Returns a plain text label based on the option's content.\n\n### **Slots:**\n - _default_ - The option's label.\n- **prefix** - Used to prepend an icon or similar element to the menu item.\n- **suffix** - Used to append an icon or similar element to the menu item.\n\n### **CSS Parts:**\n - **checked-option-icon** - The checked option icon, an `<zn-icon>` element.\n- **base** - The component's base wrapper.\n- **label** - The option's label.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.",
|
|
5583
5692
|
"doc-url": "",
|
|
5584
5693
|
"attributes": [
|
|
5585
5694
|
{
|
|
5586
|
-
"name": "
|
|
5587
|
-
"description": "The
|
|
5695
|
+
"name": "value",
|
|
5696
|
+
"description": "The option's value. When selected, the containing form control will receive this value. The value must be unique\nfrom other options in the same group. Values may contain spaces when using JSON array syntax on the parent select.",
|
|
5588
5697
|
"value": { "type": "string", "default": "''" }
|
|
5589
5698
|
},
|
|
5590
5699
|
{
|
|
5591
5700
|
"name": "disabled",
|
|
5592
|
-
"description": "
|
|
5701
|
+
"description": "Draws the option in a disabled state, preventing selection.",
|
|
5702
|
+
"value": { "type": "boolean", "default": "false" }
|
|
5703
|
+
},
|
|
5704
|
+
{
|
|
5705
|
+
"name": "selected",
|
|
5593
5706
|
"value": { "type": "boolean", "default": "false" }
|
|
5594
5707
|
}
|
|
5595
5708
|
],
|
|
5596
5709
|
"slots": [
|
|
5710
|
+
{ "name": "", "description": "The option's label." },
|
|
5597
5711
|
{
|
|
5598
|
-
"name": "",
|
|
5599
|
-
"description": "
|
|
5712
|
+
"name": "prefix",
|
|
5713
|
+
"description": "Used to prepend an icon or similar element to the menu item."
|
|
5714
|
+
},
|
|
5715
|
+
{
|
|
5716
|
+
"name": "suffix",
|
|
5717
|
+
"description": "Used to append an icon or similar element to the menu item."
|
|
5600
5718
|
}
|
|
5601
5719
|
],
|
|
5602
5720
|
"events": [],
|
|
5603
5721
|
"js": {
|
|
5604
5722
|
"properties": [
|
|
5723
|
+
{ "name": "multiple", "type": "boolean" },
|
|
5724
|
+
{ "name": "defaultSlot", "type": "HTMLSlotElement" },
|
|
5725
|
+
{ "name": "current", "type": "boolean" },
|
|
5726
|
+
{ "name": "hasHover", "type": "boolean" },
|
|
5605
5727
|
{
|
|
5606
|
-
"name": "
|
|
5607
|
-
"description": "The
|
|
5728
|
+
"name": "value",
|
|
5729
|
+
"description": "The option's value. When selected, the containing form control will receive this value. The value must be unique\nfrom other options in the same group. Values may contain spaces when using JSON array syntax on the parent select.",
|
|
5608
5730
|
"type": "string"
|
|
5609
5731
|
},
|
|
5610
5732
|
{
|
|
5611
5733
|
"name": "disabled",
|
|
5612
|
-
"description": "
|
|
5734
|
+
"description": "Draws the option in a disabled state, preventing selection.",
|
|
5613
5735
|
"type": "boolean"
|
|
5614
|
-
}
|
|
5736
|
+
},
|
|
5737
|
+
{ "name": "selected", "type": "boolean" }
|
|
5615
5738
|
],
|
|
5616
5739
|
"events": []
|
|
5617
5740
|
}
|
|
5618
5741
|
},
|
|
5619
5742
|
{
|
|
5620
|
-
"name": "zn-
|
|
5621
|
-
"description": "
|
|
5743
|
+
"name": "zn-opt-group",
|
|
5744
|
+
"description": "Groups options within a `<zn-select>` under a labeled header, similar to `<optgroup>` in native HTML.\n---\n\n\n### **Slots:**\n - _default_ - The default slot for `<zn-option>` elements.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The group label element.",
|
|
5622
5745
|
"doc-url": "",
|
|
5623
5746
|
"attributes": [
|
|
5624
5747
|
{
|
|
5625
|
-
"name": "
|
|
5626
|
-
"description": "The
|
|
5748
|
+
"name": "label",
|
|
5749
|
+
"description": "The label for the opt-group, displayed as a non-selectable header above the grouped options.",
|
|
5627
5750
|
"value": { "type": "string", "default": "''" }
|
|
5628
5751
|
},
|
|
5629
5752
|
{
|
|
5630
5753
|
"name": "disabled",
|
|
5631
|
-
"description": "
|
|
5632
|
-
"value": { "type": "boolean", "default": "false" }
|
|
5633
|
-
},
|
|
5634
|
-
{
|
|
5635
|
-
"name": "selected",
|
|
5754
|
+
"description": "Disables all options within the group.",
|
|
5636
5755
|
"value": { "type": "boolean", "default": "false" }
|
|
5637
5756
|
}
|
|
5638
5757
|
],
|
|
5639
5758
|
"slots": [
|
|
5640
|
-
{ "name": "", "description": "The option's label." },
|
|
5641
5759
|
{
|
|
5642
|
-
"name": "
|
|
5643
|
-
"description": "
|
|
5644
|
-
},
|
|
5645
|
-
{
|
|
5646
|
-
"name": "suffix",
|
|
5647
|
-
"description": "Used to append an icon or similar element to the menu item."
|
|
5760
|
+
"name": "",
|
|
5761
|
+
"description": "The default slot for `<zn-option>` elements."
|
|
5648
5762
|
}
|
|
5649
5763
|
],
|
|
5650
5764
|
"events": [],
|
|
5651
5765
|
"js": {
|
|
5652
5766
|
"properties": [
|
|
5653
|
-
{ "name": "multiple", "type": "boolean" },
|
|
5654
|
-
{ "name": "defaultSlot", "type": "HTMLSlotElement" },
|
|
5655
|
-
{ "name": "current", "type": "boolean" },
|
|
5656
|
-
{ "name": "hasHover", "type": "boolean" },
|
|
5657
5767
|
{
|
|
5658
|
-
"name": "
|
|
5659
|
-
"description": "The
|
|
5768
|
+
"name": "label",
|
|
5769
|
+
"description": "The label for the opt-group, displayed as a non-selectable header above the grouped options.",
|
|
5660
5770
|
"type": "string"
|
|
5661
5771
|
},
|
|
5662
5772
|
{
|
|
5663
5773
|
"name": "disabled",
|
|
5664
|
-
"description": "
|
|
5774
|
+
"description": "Disables all options within the group.",
|
|
5665
5775
|
"type": "boolean"
|
|
5666
|
-
}
|
|
5667
|
-
{ "name": "selected", "type": "boolean" }
|
|
5776
|
+
}
|
|
5668
5777
|
],
|
|
5669
5778
|
"events": []
|
|
5670
5779
|
}
|