@kubex/zinc 1.0.4 → 1.0.6
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/dist/custom-elements.json +1278 -191
- package/dist/vscode.html-custom-data.json +93 -16
- package/dist/web-types.json +235 -25
- package/dist/zn.d.ts +1313 -941
- package/dist/zn.min.css +1 -1
- package/dist/zn.min.js +2049 -931
- package/docs/_includes/default.njk +1 -0
- package/docs/assets/scripts/docs.js +4 -5
- package/docs/assets/scripts/search.js +0 -9
- package/docs/assets/styles/docs.css +3 -3
- package/docs/data/data-table.json +79 -0
- package/docs/data/products-table.json +36 -0
- package/docs/eleventy.config.cjs +3 -0
- package/docs/pages/components/data-select.md +10 -0
- package/docs/pages/components/data-table.md +84 -45
- package/docs/pages/components/dialog.md +1 -1
- package/docs/pages/components/editor.md +1 -3
- package/docs/pages/components/filter-wrapper.md +20 -0
- package/docs/pages/components/icon.md +2 -0
- package/docs/pages/components/item.md +2 -2
- package/docs/pages/components/menu-item.md +12 -3
- package/docs/pages/components/panel.md +17 -0
- package/docs/pages/components/progress-tile.md +17 -1
- package/docs/pages/components/settings-container.md +137 -0
- package/docs/pages/components/textarea.md +1 -1
- package/package.json +3 -1
- package/scss/_root.scss +26 -0
- package/scss/boot.scss +27 -1
- package/scss/mixins/index.scss +30 -1
- package/scss/shared/_base.scss +1 -1
- package/scss/shared/_button.scss +1 -1
- package/scss/shared/layout.scss +7 -0
- package/scss/themes/_dark.scss +5 -5
- package/scss/themes/_light.scss +6 -5
- package/scss/variables/index.scss +9 -0
- package/src/components/alert/alert.component.ts +1 -1
- package/src/components/alert/alert.scss +18 -4
- package/src/components/bulk-actions/bulk-actions.component.ts +152 -84
- package/src/components/bulk-actions/bulk-actions.scss +2 -0
- package/src/components/button/button.component.ts +6 -2
- package/src/components/button/button.scss +16 -1
- package/src/components/button-menu/button-menu.component.ts +23 -15
- package/src/components/button-menu/button-menu.scss +4 -4
- package/src/components/chart/chart.component.ts +14 -12
- package/src/components/checkbox/checkbox.component.ts +5 -1
- package/src/components/checkbox/checkbox.scss +1 -1
- package/src/components/chip/chip.component.ts +7 -3
- package/src/components/chip/chip.scss +9 -1
- package/src/components/collapsible/collapsible.component.ts +48 -2
- package/src/components/cols/cols.component.ts +7 -3
- package/src/components/cols/cols.scss +22 -14
- package/src/components/confirm/confirm.component.ts +1 -2
- package/src/components/content-block/content-block.component.ts +104 -14
- package/src/components/content-block/content-block.scss +8 -0
- package/src/components/data-select/data-select.component.ts +1 -1
- package/src/components/data-table/data-table.component.ts +394 -430
- package/src/components/data-table/data-table.scss +6 -1
- package/src/components/datepicker/datepicker.scss +1 -1
- package/src/components/dialog/dialog.component.ts +52 -33
- package/src/components/dialog/dialog.scss +15 -1
- package/src/components/dropdown/dropdown.component.ts +1 -1
- package/src/components/editor/editor.component.ts +196 -158
- package/src/components/editor/editor.scss +25 -5
- package/src/components/editor/modules/ai/index.ts +281 -0
- package/src/components/editor/modules/ai/panel/ai-panel.component.ts +102 -0
- package/src/components/editor/modules/ai/panel/ai-panel.scss +83 -0
- package/src/components/editor/modules/ai/tooltip/ai-tooltip.component.ts +30 -0
- package/src/components/editor/modules/ai/tooltip/ai-tooltip.scss +28 -0
- package/src/components/editor/modules/{attachment-module.ts → attachment/attachment.ts} +7 -7
- package/src/components/editor/modules/context-menu/context-menu-component.ts +115 -0
- package/src/components/editor/modules/context-menu/context-menu.scss +49 -0
- package/src/components/editor/modules/context-menu/context-menu.ts +296 -0
- package/src/components/editor/modules/context-menu/quick-action/index.ts +12 -0
- package/src/components/editor/modules/context-menu/quick-action/quick-action.component.ts +18 -0
- package/src/components/editor/modules/date-picker/date-picker.ts +77 -0
- package/src/components/editor/modules/dialog/dialog.component.ts +115 -0
- package/src/components/editor/modules/dialog/dialog.scss +43 -0
- package/src/components/editor/modules/dialog/dialog.ts +46 -0
- package/src/components/editor/modules/{drag-drop-module.ts → drag-drop/drag-drop.ts} +6 -6
- package/src/components/editor/modules/emoji/emoji.ts +106 -0
- package/src/components/editor/modules/emoji/headless/headless-emoji.component.ts +122 -0
- package/src/components/editor/modules/emoji/headless/headless-emoji.scss +52 -0
- package/src/components/editor/modules/emoji/headless/headless-emoji.ts +223 -0
- package/src/components/editor/modules/{image-resize-module/image-resize-module.ts → image-resize/image-resize.ts} +5 -5
- package/src/components/editor/modules/{time-tracking-module.ts → time-tracking/time-tracking.ts} +5 -5
- package/src/components/editor/modules/toolbar/tool/index.ts +12 -0
- package/src/components/editor/modules/toolbar/tool/tool.component.ts +30 -0
- package/src/components/editor/modules/toolbar/tool/tool.scss +5 -0
- package/src/components/editor/modules/toolbar/toolbar.component.ts +738 -0
- package/src/components/editor/modules/toolbar/toolbar.scss +98 -0
- package/src/components/editor/modules/toolbar/toolbar.ts +328 -0
- package/src/components/expanding-action/expanding-action.component.ts +2 -2
- package/src/components/expanding-action/expanding-action.scss +2 -2
- package/src/components/filter-wrapper/filter-wrapper.component.ts +91 -0
- package/src/components/filter-wrapper/filter-wrapper.scss +11 -0
- package/src/components/filter-wrapper/filter-wrapper.test.ts +10 -0
- package/src/components/filter-wrapper/index.ts +12 -0
- package/src/components/header/header.component.ts +1 -1
- package/src/components/header/header.scss +8 -1
- package/src/components/hover-container/hover-container.scss +39 -36
- package/src/components/icon/icon.component.ts +11 -5
- package/src/components/icon/icon.scss +15 -2
- package/src/components/inline-edit/inline-edit.component.ts +52 -6
- package/src/components/inline-edit/inline-edit.scss +15 -2
- package/src/components/input/input.scss +1 -1
- package/src/components/item/item.component.ts +30 -19
- package/src/components/item/item.scss +57 -23
- package/src/components/linked-select/linked-select.component.ts +5 -1
- package/src/components/menu/menu.component.ts +1 -0
- package/src/components/menu/menu.scss +1 -1
- package/src/components/menu-item/menu-item.component.ts +22 -4
- package/src/components/menu-item/menu-item.scss +54 -7
- package/src/components/navbar/navbar.component.ts +7 -1
- package/src/components/navbar/navbar.scss +26 -16
- package/src/components/option/option.component.ts +4 -1
- package/src/components/option/option.scss +9 -0
- package/src/components/page-nav/page-nav.component.ts +2 -2
- package/src/components/page-nav/page-nav.scss +4 -4
- package/src/components/panel/panel.component.ts +20 -9
- package/src/components/panel/panel.scss +5 -1
- package/src/components/popup/popup.component.ts +16 -2
- package/src/components/progress-tile/progress-tile.component.ts +10 -4
- package/src/components/progress-tile/progress-tile.scss +7 -4
- package/src/components/query-builder/query-builder.component.ts +1 -1
- package/src/components/radio/radio.scss +1 -1
- package/src/components/scroll-container/scroll-container.component.ts +56 -9
- package/src/components/scroll-container/scroll-container.scss +37 -2
- package/src/components/select/select.component.ts +3 -0
- package/src/components/select/select.scss +1 -1
- package/src/components/settings-container/index.ts +12 -0
- package/src/components/settings-container/settings-container.component.ts +226 -0
- package/src/components/settings-container/settings-container.scss +99 -0
- package/src/components/settings-container/settings-container.test.ts +10 -0
- package/src/components/skeleton/skeleton.scss +5 -4
- package/src/components/sp/sp.component.ts +2 -0
- package/src/components/sp/sp.scss +2 -0
- package/src/components/split-button/split-button.component.ts +24 -18
- package/src/components/split-pane/split-pane.component.ts +5 -5
- package/src/components/stat/stat.component.ts +5 -1
- package/src/components/stat/stat.scss +24 -1
- package/src/components/style/style.component.ts +25 -1
- package/src/components/tabs/tabs.component.ts +12 -1
- package/src/components/textarea/textarea.component.ts +3 -1
- package/src/components/textarea/textarea.scss +21 -2
- package/src/components/vertical-stepper/vertical-stepper.scss +1 -1
- package/src/internal/form.ts +3 -1
- package/src/internal/slot.ts +29 -3
- package/src/utilities/on.ts +7 -8
- package/src/utilities/query.ts +5 -1
- package/src/wc.scss +7 -0
- package/src/zinc.ts +5 -0
- package/src/components/editor/modules/dialog-module/dialog-module.component.ts +0 -289
- package/src/components/editor/modules/dialog-module/dialog-module.scss +0 -115
- package/src/components/editor/modules/dialog-module/dialog-module.ts +0 -99
- package/src/components/editor/modules/events/zn-show-canned-response-dialog.ts +0 -15
- package/src/components/editor/modules/menu-module/menu-module.component.ts +0 -149
- package/src/components/editor/modules/menu-module/menu-module.scss +0 -17
- package/src/components/editor/modules/menu-module/menu-module.ts +0 -203
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
"kind": "field",
|
|
195
195
|
"name": "level",
|
|
196
196
|
"type": {
|
|
197
|
-
"text": "'primary' | 'error' | 'info' | 'success' | 'warning' | 'note'"
|
|
197
|
+
"text": "'primary' | 'error' | 'info' | 'success' | 'warning' | 'note' | 'cosmic'"
|
|
198
198
|
},
|
|
199
199
|
"default": "'info'",
|
|
200
200
|
"attribute": "level"
|
|
@@ -248,7 +248,7 @@
|
|
|
248
248
|
{
|
|
249
249
|
"name": "level",
|
|
250
250
|
"type": {
|
|
251
|
-
"text": "'primary' | 'error' | 'info' | 'success' | 'warning' | 'note'"
|
|
251
|
+
"text": "'primary' | 'error' | 'info' | 'success' | 'warning' | 'note' | 'cosmic'"
|
|
252
252
|
},
|
|
253
253
|
"default": "'info'",
|
|
254
254
|
"fieldName": "level"
|
|
@@ -321,6 +321,15 @@
|
|
|
321
321
|
}
|
|
322
322
|
],
|
|
323
323
|
"members": [
|
|
324
|
+
{
|
|
325
|
+
"kind": "field",
|
|
326
|
+
"name": "dependencies",
|
|
327
|
+
"type": {
|
|
328
|
+
"text": "object"
|
|
329
|
+
},
|
|
330
|
+
"static": true,
|
|
331
|
+
"default": "{ 'zn-button': ZnButton, 'zn-input': ZnInput, 'zn-option': ZnOption, 'zn-select': ZnSelect, }"
|
|
332
|
+
},
|
|
324
333
|
{
|
|
325
334
|
"kind": "field",
|
|
326
335
|
"name": "container",
|
|
@@ -332,7 +341,7 @@
|
|
|
332
341
|
"kind": "field",
|
|
333
342
|
"name": "addRule",
|
|
334
343
|
"type": {
|
|
335
|
-
"text": "
|
|
344
|
+
"text": "ZnSelect"
|
|
336
345
|
}
|
|
337
346
|
},
|
|
338
347
|
{
|
|
@@ -423,6 +432,37 @@
|
|
|
423
432
|
"type": {
|
|
424
433
|
"text": "string"
|
|
425
434
|
}
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"name": "pos",
|
|
438
|
+
"optional": true,
|
|
439
|
+
"type": {
|
|
440
|
+
"text": "number"
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
]
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"kind": "method",
|
|
447
|
+
"name": "_createInput",
|
|
448
|
+
"privacy": "private",
|
|
449
|
+
"return": {
|
|
450
|
+
"type": {
|
|
451
|
+
"text": "ZnSelect | ZnInput | null"
|
|
452
|
+
}
|
|
453
|
+
},
|
|
454
|
+
"parameters": [
|
|
455
|
+
{
|
|
456
|
+
"name": "uniqueId",
|
|
457
|
+
"type": {
|
|
458
|
+
"text": "string"
|
|
459
|
+
}
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"name": "filter",
|
|
463
|
+
"type": {
|
|
464
|
+
"text": "BulkActionItem"
|
|
465
|
+
}
|
|
426
466
|
}
|
|
427
467
|
]
|
|
428
468
|
},
|
|
@@ -440,7 +480,25 @@
|
|
|
440
480
|
{
|
|
441
481
|
"name": "event",
|
|
442
482
|
"type": {
|
|
443
|
-
"text": "Event | { target:
|
|
483
|
+
"text": "Event | { target: ZnSelect | ZnInput | HTMLDivElement }"
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
]
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"kind": "method",
|
|
490
|
+
"name": "_getRulePosition",
|
|
491
|
+
"privacy": "private",
|
|
492
|
+
"return": {
|
|
493
|
+
"type": {
|
|
494
|
+
"text": "number"
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
"parameters": [
|
|
498
|
+
{
|
|
499
|
+
"name": "id",
|
|
500
|
+
"type": {
|
|
501
|
+
"text": "string"
|
|
444
502
|
}
|
|
445
503
|
}
|
|
446
504
|
]
|
|
@@ -459,7 +517,7 @@
|
|
|
459
517
|
{
|
|
460
518
|
"name": "event",
|
|
461
519
|
"type": {
|
|
462
|
-
"text": "
|
|
520
|
+
"text": "ZnChangeEvent"
|
|
463
521
|
}
|
|
464
522
|
}
|
|
465
523
|
]
|
|
@@ -566,12 +624,15 @@
|
|
|
566
624
|
"tagNameWithoutPrefix": "bulk-actions",
|
|
567
625
|
"tagName": "zn-bulk-actions",
|
|
568
626
|
"customElement": true,
|
|
569
|
-
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/bulk-actions\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-
|
|
627
|
+
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/bulk-actions\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-button\n * @dependency zn-input\n * @dependency zn-option\n * @dependency zn-select\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
570
628
|
"documentation": "https://zinc.style/components/bulk-actions",
|
|
571
629
|
"status": "experimental",
|
|
572
630
|
"since": "1.0",
|
|
573
631
|
"dependencies": [
|
|
574
|
-
"zn-
|
|
632
|
+
"zn-button",
|
|
633
|
+
"zn-input",
|
|
634
|
+
"zn-option",
|
|
635
|
+
"zn-select"
|
|
575
636
|
]
|
|
576
637
|
}
|
|
577
638
|
],
|
|
@@ -745,6 +806,15 @@
|
|
|
745
806
|
},
|
|
746
807
|
"attribute": "notification"
|
|
747
808
|
},
|
|
809
|
+
{
|
|
810
|
+
"kind": "field",
|
|
811
|
+
"name": "mutedNotifications",
|
|
812
|
+
"type": {
|
|
813
|
+
"text": "boolean"
|
|
814
|
+
},
|
|
815
|
+
"default": "false",
|
|
816
|
+
"attribute": "muted-notifications"
|
|
817
|
+
},
|
|
748
818
|
{
|
|
749
819
|
"kind": "field",
|
|
750
820
|
"name": "verticalAlign",
|
|
@@ -1058,6 +1128,14 @@
|
|
|
1058
1128
|
},
|
|
1059
1129
|
"fieldName": "notification"
|
|
1060
1130
|
},
|
|
1131
|
+
{
|
|
1132
|
+
"name": "muted-notifications",
|
|
1133
|
+
"type": {
|
|
1134
|
+
"text": "boolean"
|
|
1135
|
+
},
|
|
1136
|
+
"default": "false",
|
|
1137
|
+
"fieldName": "mutedNotifications"
|
|
1138
|
+
},
|
|
1061
1139
|
{
|
|
1062
1140
|
"name": "verticalAlign",
|
|
1063
1141
|
"type": {
|
|
@@ -1467,6 +1545,16 @@
|
|
|
1467
1545
|
"default": "'medium'",
|
|
1468
1546
|
"attribute": "size"
|
|
1469
1547
|
},
|
|
1548
|
+
{
|
|
1549
|
+
"kind": "field",
|
|
1550
|
+
"name": "iconSize",
|
|
1551
|
+
"type": {
|
|
1552
|
+
"text": "number"
|
|
1553
|
+
},
|
|
1554
|
+
"default": "24",
|
|
1555
|
+
"attribute": "icon-size",
|
|
1556
|
+
"reflects": true
|
|
1557
|
+
},
|
|
1470
1558
|
{
|
|
1471
1559
|
"kind": "field",
|
|
1472
1560
|
"name": "noGap",
|
|
@@ -1632,6 +1720,14 @@
|
|
|
1632
1720
|
"default": "'medium'",
|
|
1633
1721
|
"fieldName": "size"
|
|
1634
1722
|
},
|
|
1723
|
+
{
|
|
1724
|
+
"name": "icon-size",
|
|
1725
|
+
"type": {
|
|
1726
|
+
"text": "number"
|
|
1727
|
+
},
|
|
1728
|
+
"default": "24",
|
|
1729
|
+
"fieldName": "iconSize"
|
|
1730
|
+
},
|
|
1635
1731
|
{
|
|
1636
1732
|
"name": "no-gap",
|
|
1637
1733
|
"type": {
|
|
@@ -1747,6 +1843,15 @@
|
|
|
1747
1843
|
"default": "1",
|
|
1748
1844
|
"attribute": "d-size"
|
|
1749
1845
|
},
|
|
1846
|
+
{
|
|
1847
|
+
"kind": "field",
|
|
1848
|
+
"name": "stacked",
|
|
1849
|
+
"type": {
|
|
1850
|
+
"text": "boolean"
|
|
1851
|
+
},
|
|
1852
|
+
"default": "false",
|
|
1853
|
+
"attribute": "stacked"
|
|
1854
|
+
},
|
|
1750
1855
|
{
|
|
1751
1856
|
"kind": "field",
|
|
1752
1857
|
"name": "live",
|
|
@@ -1856,6 +1961,14 @@
|
|
|
1856
1961
|
"default": "1",
|
|
1857
1962
|
"fieldName": "datapointSize"
|
|
1858
1963
|
},
|
|
1964
|
+
{
|
|
1965
|
+
"name": "stacked",
|
|
1966
|
+
"type": {
|
|
1967
|
+
"text": "boolean"
|
|
1968
|
+
},
|
|
1969
|
+
"default": "false",
|
|
1970
|
+
"fieldName": "stacked"
|
|
1971
|
+
},
|
|
1859
1972
|
{
|
|
1860
1973
|
"name": "live",
|
|
1861
1974
|
"type": {
|
|
@@ -2189,6 +2302,11 @@
|
|
|
2189
2302
|
"description": "Gets the validity state object",
|
|
2190
2303
|
"readonly": true
|
|
2191
2304
|
},
|
|
2305
|
+
{
|
|
2306
|
+
"kind": "field",
|
|
2307
|
+
"name": "isChecked",
|
|
2308
|
+
"readonly": true
|
|
2309
|
+
},
|
|
2192
2310
|
{
|
|
2193
2311
|
"kind": "field",
|
|
2194
2312
|
"name": "validationMessage",
|
|
@@ -3151,6 +3269,25 @@
|
|
|
3151
3269
|
"attribute": "label",
|
|
3152
3270
|
"reflects": true
|
|
3153
3271
|
},
|
|
3272
|
+
{
|
|
3273
|
+
"kind": "field",
|
|
3274
|
+
"name": "showNumber",
|
|
3275
|
+
"type": {
|
|
3276
|
+
"text": "boolean"
|
|
3277
|
+
},
|
|
3278
|
+
"default": "false",
|
|
3279
|
+
"attribute": "show-number",
|
|
3280
|
+
"reflects": true
|
|
3281
|
+
},
|
|
3282
|
+
{
|
|
3283
|
+
"kind": "field",
|
|
3284
|
+
"name": "countElement",
|
|
3285
|
+
"type": {
|
|
3286
|
+
"text": "string"
|
|
3287
|
+
},
|
|
3288
|
+
"default": "'*'",
|
|
3289
|
+
"attribute": "count-element"
|
|
3290
|
+
},
|
|
3154
3291
|
{
|
|
3155
3292
|
"kind": "field",
|
|
3156
3293
|
"name": "expanded",
|
|
@@ -3208,6 +3345,14 @@
|
|
|
3208
3345
|
"attribute": "flush",
|
|
3209
3346
|
"reflects": true
|
|
3210
3347
|
},
|
|
3348
|
+
{
|
|
3349
|
+
"kind": "field",
|
|
3350
|
+
"name": "numberOfItems",
|
|
3351
|
+
"type": {
|
|
3352
|
+
"text": "number"
|
|
3353
|
+
},
|
|
3354
|
+
"default": "0"
|
|
3355
|
+
},
|
|
3211
3356
|
{
|
|
3212
3357
|
"kind": "field",
|
|
3213
3358
|
"name": "_store",
|
|
@@ -3216,9 +3361,29 @@
|
|
|
3216
3361
|
},
|
|
3217
3362
|
"privacy": "protected"
|
|
3218
3363
|
},
|
|
3364
|
+
{
|
|
3365
|
+
"kind": "field",
|
|
3366
|
+
"name": "hasSlotController",
|
|
3367
|
+
"privacy": "private",
|
|
3368
|
+
"readonly": true,
|
|
3369
|
+
"default": "new HasSlotController(this, '[default]', 'header', 'caption', 'label')"
|
|
3370
|
+
},
|
|
3371
|
+
{
|
|
3372
|
+
"kind": "field",
|
|
3373
|
+
"name": "observer",
|
|
3374
|
+
"type": {
|
|
3375
|
+
"text": "MutationObserver"
|
|
3376
|
+
},
|
|
3377
|
+
"privacy": "private"
|
|
3378
|
+
},
|
|
3219
3379
|
{
|
|
3220
3380
|
"kind": "field",
|
|
3221
3381
|
"name": "handleCollapse"
|
|
3382
|
+
},
|
|
3383
|
+
{
|
|
3384
|
+
"kind": "field",
|
|
3385
|
+
"name": "recalculateNumberOfItems",
|
|
3386
|
+
"privacy": "public"
|
|
3222
3387
|
}
|
|
3223
3388
|
],
|
|
3224
3389
|
"attributes": [
|
|
@@ -3246,6 +3411,22 @@
|
|
|
3246
3411
|
"default": "''",
|
|
3247
3412
|
"fieldName": "label"
|
|
3248
3413
|
},
|
|
3414
|
+
{
|
|
3415
|
+
"name": "show-number",
|
|
3416
|
+
"type": {
|
|
3417
|
+
"text": "boolean"
|
|
3418
|
+
},
|
|
3419
|
+
"default": "false",
|
|
3420
|
+
"fieldName": "showNumber"
|
|
3421
|
+
},
|
|
3422
|
+
{
|
|
3423
|
+
"name": "count-element",
|
|
3424
|
+
"type": {
|
|
3425
|
+
"text": "string"
|
|
3426
|
+
},
|
|
3427
|
+
"default": "'*'",
|
|
3428
|
+
"fieldName": "countElement"
|
|
3429
|
+
},
|
|
3249
3430
|
{
|
|
3250
3431
|
"name": "expanded",
|
|
3251
3432
|
"type": {
|
|
@@ -3398,6 +3579,15 @@
|
|
|
3398
3579
|
},
|
|
3399
3580
|
"attribute": "pad"
|
|
3400
3581
|
},
|
|
3582
|
+
{
|
|
3583
|
+
"kind": "field",
|
|
3584
|
+
"name": "divide",
|
|
3585
|
+
"type": {
|
|
3586
|
+
"text": "boolean"
|
|
3587
|
+
},
|
|
3588
|
+
"default": "false",
|
|
3589
|
+
"attribute": "divide"
|
|
3590
|
+
},
|
|
3401
3591
|
{
|
|
3402
3592
|
"kind": "field",
|
|
3403
3593
|
"name": "padX",
|
|
@@ -3461,6 +3651,14 @@
|
|
|
3461
3651
|
},
|
|
3462
3652
|
"fieldName": "pad"
|
|
3463
3653
|
},
|
|
3654
|
+
{
|
|
3655
|
+
"name": "divide",
|
|
3656
|
+
"type": {
|
|
3657
|
+
"text": "boolean"
|
|
3658
|
+
},
|
|
3659
|
+
"default": "false",
|
|
3660
|
+
"fieldName": "divide"
|
|
3661
|
+
},
|
|
3464
3662
|
{
|
|
3465
3663
|
"name": "pad-x",
|
|
3466
3664
|
"type": {
|
|
@@ -3904,6 +4102,16 @@
|
|
|
3904
4102
|
"attribute": "short",
|
|
3905
4103
|
"reflects": true
|
|
3906
4104
|
},
|
|
4105
|
+
{
|
|
4106
|
+
"kind": "field",
|
|
4107
|
+
"name": "defaultDisplay",
|
|
4108
|
+
"type": {
|
|
4109
|
+
"text": "'text' | 'html'"
|
|
4110
|
+
},
|
|
4111
|
+
"default": "'text'",
|
|
4112
|
+
"attribute": "default-display",
|
|
4113
|
+
"reflects": true
|
|
4114
|
+
},
|
|
3907
4115
|
{
|
|
3908
4116
|
"kind": "field",
|
|
3909
4117
|
"name": "htmlNodes",
|
|
@@ -3934,6 +4142,14 @@
|
|
|
3934
4142
|
"privacy": "private",
|
|
3935
4143
|
"default": "[]"
|
|
3936
4144
|
},
|
|
4145
|
+
{
|
|
4146
|
+
"kind": "field",
|
|
4147
|
+
"name": "_themeChangeObserver",
|
|
4148
|
+
"type": {
|
|
4149
|
+
"text": "MutationObserver | undefined"
|
|
4150
|
+
},
|
|
4151
|
+
"privacy": "private"
|
|
4152
|
+
},
|
|
3937
4153
|
{
|
|
3938
4154
|
"kind": "method",
|
|
3939
4155
|
"name": "_collapseContent",
|
|
@@ -3972,6 +4188,24 @@
|
|
|
3972
4188
|
}
|
|
3973
4189
|
}
|
|
3974
4190
|
},
|
|
4191
|
+
{
|
|
4192
|
+
"kind": "method",
|
|
4193
|
+
"name": "transformLineForImages",
|
|
4194
|
+
"privacy": "private",
|
|
4195
|
+
"return": {
|
|
4196
|
+
"type": {
|
|
4197
|
+
"text": "string"
|
|
4198
|
+
}
|
|
4199
|
+
},
|
|
4200
|
+
"parameters": [
|
|
4201
|
+
{
|
|
4202
|
+
"name": "line",
|
|
4203
|
+
"type": {
|
|
4204
|
+
"text": "string"
|
|
4205
|
+
}
|
|
4206
|
+
}
|
|
4207
|
+
]
|
|
4208
|
+
},
|
|
3975
4209
|
{
|
|
3976
4210
|
"kind": "method",
|
|
3977
4211
|
"name": "showReply",
|
|
@@ -4025,6 +4259,14 @@
|
|
|
4025
4259
|
},
|
|
4026
4260
|
"default": "false",
|
|
4027
4261
|
"fieldName": "short"
|
|
4262
|
+
},
|
|
4263
|
+
{
|
|
4264
|
+
"name": "default-display",
|
|
4265
|
+
"type": {
|
|
4266
|
+
"text": "'text' | 'html'"
|
|
4267
|
+
},
|
|
4268
|
+
"default": "'text'",
|
|
4269
|
+
"fieldName": "defaultDisplay"
|
|
4028
4270
|
}
|
|
4029
4271
|
],
|
|
4030
4272
|
"superclass": {
|
|
@@ -4735,7 +4977,7 @@
|
|
|
4735
4977
|
"text": "object"
|
|
4736
4978
|
},
|
|
4737
4979
|
"static": true,
|
|
4738
|
-
"default": "{ 'zn-button': ZnButton, 'zn-empty-state': ZnEmptyState, 'zn-chip': ZnChip, 'zn-hover-container': ZnHoverContainer, 'zn-dropdown': ZnDropdown, 'zn-menu': ZnMenu, 'zn-menu-item': ZnMenuItem, 'zn-button-group': ZnButtonGroup, 'zn-confirm': ZnConfirm, 'zn-skeleton': ZnSkeleton, }"
|
|
4980
|
+
"default": "{ 'zn-button': ZnButton, 'zn-empty-state': ZnEmptyState, 'zn-chip': ZnChip, 'zn-hover-container': ZnHoverContainer, 'zn-dropdown': ZnDropdown, 'zn-menu': ZnMenu, 'zn-menu-item': ZnMenuItem, 'zn-button-group': ZnButtonGroup, 'zn-confirm': ZnConfirm, 'zn-skeleton': ZnSkeleton, 'zn-style': ZnStyle, }"
|
|
4739
4981
|
},
|
|
4740
4982
|
{
|
|
4741
4983
|
"kind": "field",
|
|
@@ -4768,6 +5010,7 @@
|
|
|
4768
5010
|
"type": {
|
|
4769
5011
|
"text": "string"
|
|
4770
5012
|
},
|
|
5013
|
+
"default": "\"asc\"",
|
|
4771
5014
|
"attribute": "sort-direction"
|
|
4772
5015
|
},
|
|
4773
5016
|
{
|
|
@@ -4800,7 +5043,7 @@
|
|
|
4800
5043
|
"kind": "field",
|
|
4801
5044
|
"name": "headers",
|
|
4802
5045
|
"type": {
|
|
4803
|
-
"text": "Record<string,
|
|
5046
|
+
"text": "Record<string, HeaderConfig>"
|
|
4804
5047
|
},
|
|
4805
5048
|
"default": "{}",
|
|
4806
5049
|
"attribute": "headers"
|
|
@@ -4866,6 +5109,23 @@
|
|
|
4866
5109
|
},
|
|
4867
5110
|
"attribute": "caption"
|
|
4868
5111
|
},
|
|
5112
|
+
{
|
|
5113
|
+
"kind": "field",
|
|
5114
|
+
"name": "emptyStateCaption",
|
|
5115
|
+
"type": {
|
|
5116
|
+
"text": "string"
|
|
5117
|
+
},
|
|
5118
|
+
"attribute": "empty-state-caption"
|
|
5119
|
+
},
|
|
5120
|
+
{
|
|
5121
|
+
"kind": "field",
|
|
5122
|
+
"name": "emptyStateIcon",
|
|
5123
|
+
"type": {
|
|
5124
|
+
"text": "string"
|
|
5125
|
+
},
|
|
5126
|
+
"default": "\"data_alert\"",
|
|
5127
|
+
"attribute": "empty-state-icon"
|
|
5128
|
+
},
|
|
4869
5129
|
{
|
|
4870
5130
|
"kind": "field",
|
|
4871
5131
|
"name": "hideCheckboxes",
|
|
@@ -4883,6 +5143,24 @@
|
|
|
4883
5143
|
"default": "[]",
|
|
4884
5144
|
"attribute": "filters"
|
|
4885
5145
|
},
|
|
5146
|
+
{
|
|
5147
|
+
"kind": "field",
|
|
5148
|
+
"name": "method",
|
|
5149
|
+
"type": {
|
|
5150
|
+
"text": "'GET' | 'POST'"
|
|
5151
|
+
},
|
|
5152
|
+
"default": "'POST'",
|
|
5153
|
+
"attribute": "method"
|
|
5154
|
+
},
|
|
5155
|
+
{
|
|
5156
|
+
"kind": "field",
|
|
5157
|
+
"name": "noInitialLoad",
|
|
5158
|
+
"type": {
|
|
5159
|
+
"text": "boolean"
|
|
5160
|
+
},
|
|
5161
|
+
"default": "false",
|
|
5162
|
+
"attribute": "no-initial-load"
|
|
5163
|
+
},
|
|
4886
5164
|
{
|
|
4887
5165
|
"kind": "field",
|
|
4888
5166
|
"name": "_initialLoad",
|
|
@@ -4944,15 +5222,6 @@
|
|
|
4944
5222
|
"privacy": "private",
|
|
4945
5223
|
"default": "[]"
|
|
4946
5224
|
},
|
|
4947
|
-
{
|
|
4948
|
-
"kind": "field",
|
|
4949
|
-
"name": "_filteredRows",
|
|
4950
|
-
"type": {
|
|
4951
|
-
"text": "any[]"
|
|
4952
|
-
},
|
|
4953
|
-
"privacy": "private",
|
|
4954
|
-
"default": "[]"
|
|
4955
|
-
},
|
|
4956
5225
|
{
|
|
4957
5226
|
"kind": "field",
|
|
4958
5227
|
"name": "numberOfRowsSelected",
|
|
@@ -4983,17 +5252,50 @@
|
|
|
4983
5252
|
"kind": "field",
|
|
4984
5253
|
"name": "hasSlotController",
|
|
4985
5254
|
"privacy": "private",
|
|
4986
|
-
"default": "new HasSlotController( this, '[default]', 'search-action', ActionSlots.delete.valueOf(), ActionSlots.modify.valueOf(), ActionSlots.create.valueOf(), ActionSlots.filter.valueOf(), ActionSlots.sort.valueOf() )"
|
|
5255
|
+
"default": "new HasSlotController( this, '[default]', 'search-action', ActionSlots.delete.valueOf(), ActionSlots.modify.valueOf(), ActionSlots.create.valueOf(), ActionSlots.filter.valueOf(), ActionSlots.sort.valueOf(), ActionSlots.inputs.valueOf() )"
|
|
4987
5256
|
},
|
|
4988
5257
|
{
|
|
4989
5258
|
"kind": "field",
|
|
4990
5259
|
"name": "_dataTask",
|
|
4991
5260
|
"privacy": "private",
|
|
4992
|
-
"default": "new Task(this, { task: async ([dataUri], {signal}) => {
|
|
5261
|
+
"default": "new Task(this, { task: async ([dataUri, requestParams], {signal}) => { if (dataUri === undefined || this.noInitialLoad && this._initialLoad) { return {rows: [], page: 1, perPage: this.itemsPerPage, total: 0}; } const requestData: DataRequest = { page: this.page, perPage: this.itemsPerPage, sortColumn: this.sortColumn, sortDirection: this.sortDirection, filter: this.filter, }; // get all inputs that are in the inputs slot and add them to the const inputs = this.hasSlotController.getSlots(ActionSlots.inputs.valueOf()); const params: Record<string, any> = {}; if (inputs) { inputs.forEach((input) => { const allowedInputs = ['zn-input', 'zn-select', 'zn-query-builder', 'zn-multiselect', 'zn-params-select', 'input', 'select', 'textarea']; if (allowedInputs.includes(input.tagName.toLowerCase())) { const value = (input as AllowedInputElement).value as string || input.getAttribute('value'); const name = (input as AllowedInputElement).name || input.getAttribute('name'); if (name) { params[name] = value; } } }); Object.assign(requestData, params); } // Add any extra request params if (requestParams && typeof requestParams === 'object') { Object.assign(requestData, requestParams); } // This is also used for Rubix, so it may not work for your application. const response = await fetch(dataUri, { method: this.method, headers: { 'x-kx-fetch-style': 'zn-data-table', }, signal, credentials: 'same-origin', body: this.method === 'POST' ? JSON.stringify(requestData) : undefined }); if (!response.ok) throw new Error(response.statusText); return response.json(); }, args: () => [this.dataUri, this.requestParams] })"
|
|
4993
5262
|
},
|
|
4994
5263
|
{
|
|
4995
5264
|
"kind": "field",
|
|
4996
|
-
"name": "
|
|
5265
|
+
"name": "rowHasActions",
|
|
5266
|
+
"type": {
|
|
5267
|
+
"text": "boolean"
|
|
5268
|
+
},
|
|
5269
|
+
"privacy": "private",
|
|
5270
|
+
"default": "false"
|
|
5271
|
+
},
|
|
5272
|
+
{
|
|
5273
|
+
"kind": "field",
|
|
5274
|
+
"name": "requestParams",
|
|
5275
|
+
"type": {
|
|
5276
|
+
"text": "Record<string, any>"
|
|
5277
|
+
},
|
|
5278
|
+
"default": "{}"
|
|
5279
|
+
},
|
|
5280
|
+
{
|
|
5281
|
+
"kind": "field",
|
|
5282
|
+
"name": "builtinRequestParams",
|
|
5283
|
+
"type": {
|
|
5284
|
+
"text": "Record<string, any>"
|
|
5285
|
+
},
|
|
5286
|
+
"default": "{}"
|
|
5287
|
+
},
|
|
5288
|
+
{
|
|
5289
|
+
"kind": "method",
|
|
5290
|
+
"name": "refresh"
|
|
5291
|
+
},
|
|
5292
|
+
{
|
|
5293
|
+
"kind": "field",
|
|
5294
|
+
"name": "changeEventListener"
|
|
5295
|
+
},
|
|
5296
|
+
{
|
|
5297
|
+
"kind": "method",
|
|
5298
|
+
"name": "emptyState"
|
|
4997
5299
|
},
|
|
4998
5300
|
{
|
|
4999
5301
|
"kind": "method",
|
|
@@ -5002,7 +5304,7 @@
|
|
|
5002
5304
|
{
|
|
5003
5305
|
"name": "data",
|
|
5004
5306
|
"type": {
|
|
5005
|
-
"text": "
|
|
5307
|
+
"text": "Response"
|
|
5006
5308
|
}
|
|
5007
5309
|
}
|
|
5008
5310
|
]
|
|
@@ -5079,19 +5381,6 @@
|
|
|
5079
5381
|
}
|
|
5080
5382
|
]
|
|
5081
5383
|
},
|
|
5082
|
-
{
|
|
5083
|
-
"kind": "method",
|
|
5084
|
-
"name": "updateActionKeys",
|
|
5085
|
-
"privacy": "private",
|
|
5086
|
-
"parameters": [
|
|
5087
|
-
{
|
|
5088
|
-
"name": "slotName",
|
|
5089
|
-
"type": {
|
|
5090
|
-
"text": "string"
|
|
5091
|
-
}
|
|
5092
|
-
}
|
|
5093
|
-
]
|
|
5094
|
-
},
|
|
5095
5384
|
{
|
|
5096
5385
|
"kind": "method",
|
|
5097
5386
|
"name": "selectRow",
|
|
@@ -5099,7 +5388,7 @@
|
|
|
5099
5388
|
{
|
|
5100
5389
|
"name": "e",
|
|
5101
5390
|
"type": {
|
|
5102
|
-
"text": "
|
|
5391
|
+
"text": "Event"
|
|
5103
5392
|
}
|
|
5104
5393
|
}
|
|
5105
5394
|
]
|
|
@@ -5130,12 +5419,25 @@
|
|
|
5130
5419
|
},
|
|
5131
5420
|
{
|
|
5132
5421
|
"kind": "method",
|
|
5133
|
-
"name": "
|
|
5422
|
+
"name": "renderCell",
|
|
5134
5423
|
"parameters": [
|
|
5135
5424
|
{
|
|
5136
5425
|
"name": "data",
|
|
5137
5426
|
"type": {
|
|
5138
|
-
"text": "
|
|
5427
|
+
"text": "Cell"
|
|
5428
|
+
}
|
|
5429
|
+
}
|
|
5430
|
+
]
|
|
5431
|
+
},
|
|
5432
|
+
{
|
|
5433
|
+
"kind": "method",
|
|
5434
|
+
"name": "updateActionKeys",
|
|
5435
|
+
"privacy": "private",
|
|
5436
|
+
"parameters": [
|
|
5437
|
+
{
|
|
5438
|
+
"name": "slotName",
|
|
5439
|
+
"type": {
|
|
5440
|
+
"text": "string"
|
|
5139
5441
|
}
|
|
5140
5442
|
}
|
|
5141
5443
|
]
|
|
@@ -5159,9 +5461,9 @@
|
|
|
5159
5461
|
"privacy": "private",
|
|
5160
5462
|
"parameters": [
|
|
5161
5463
|
{
|
|
5162
|
-
"name": "
|
|
5464
|
+
"name": "header",
|
|
5163
5465
|
"type": {
|
|
5164
|
-
"text": "
|
|
5466
|
+
"text": "HeaderConfig"
|
|
5165
5467
|
}
|
|
5166
5468
|
}
|
|
5167
5469
|
]
|
|
@@ -5180,20 +5482,7 @@
|
|
|
5180
5482
|
{
|
|
5181
5483
|
"name": "value",
|
|
5182
5484
|
"type": {
|
|
5183
|
-
"text": "
|
|
5184
|
-
}
|
|
5185
|
-
}
|
|
5186
|
-
]
|
|
5187
|
-
},
|
|
5188
|
-
{
|
|
5189
|
-
"kind": "method",
|
|
5190
|
-
"name": "hasHeaderPosition",
|
|
5191
|
-
"privacy": "private",
|
|
5192
|
-
"parameters": [
|
|
5193
|
-
{
|
|
5194
|
-
"name": "header",
|
|
5195
|
-
"type": {
|
|
5196
|
-
"text": "string | HeaderConfig"
|
|
5485
|
+
"text": "Cell"
|
|
5197
5486
|
}
|
|
5198
5487
|
}
|
|
5199
5488
|
]
|
|
@@ -5202,17 +5491,16 @@
|
|
|
5202
5491
|
"kind": "method",
|
|
5203
5492
|
"name": "getRows",
|
|
5204
5493
|
"privacy": "private",
|
|
5494
|
+
"return": {
|
|
5495
|
+
"type": {
|
|
5496
|
+
"text": "Row[]"
|
|
5497
|
+
}
|
|
5498
|
+
},
|
|
5205
5499
|
"parameters": [
|
|
5206
|
-
{
|
|
5207
|
-
"name": "keys",
|
|
5208
|
-
"type": {
|
|
5209
|
-
"text": "string[]"
|
|
5210
|
-
}
|
|
5211
|
-
},
|
|
5212
5500
|
{
|
|
5213
5501
|
"name": "data",
|
|
5214
5502
|
"type": {
|
|
5215
|
-
"text": "
|
|
5503
|
+
"text": "Response"
|
|
5216
5504
|
}
|
|
5217
5505
|
}
|
|
5218
5506
|
]
|
|
@@ -5220,7 +5508,12 @@
|
|
|
5220
5508
|
{
|
|
5221
5509
|
"kind": "method",
|
|
5222
5510
|
"name": "getSelectedKeys",
|
|
5223
|
-
"privacy": "private"
|
|
5511
|
+
"privacy": "private",
|
|
5512
|
+
"return": {
|
|
5513
|
+
"type": {
|
|
5514
|
+
"text": "(string)[]"
|
|
5515
|
+
}
|
|
5516
|
+
}
|
|
5224
5517
|
},
|
|
5225
5518
|
{
|
|
5226
5519
|
"kind": "method",
|
|
@@ -5237,6 +5530,24 @@
|
|
|
5237
5530
|
"name": "updateDeleteKeys",
|
|
5238
5531
|
"privacy": "private"
|
|
5239
5532
|
},
|
|
5533
|
+
{
|
|
5534
|
+
"kind": "method",
|
|
5535
|
+
"name": "extractComparable",
|
|
5536
|
+
"privacy": "private",
|
|
5537
|
+
"return": {
|
|
5538
|
+
"type": {
|
|
5539
|
+
"text": "string"
|
|
5540
|
+
}
|
|
5541
|
+
},
|
|
5542
|
+
"parameters": [
|
|
5543
|
+
{
|
|
5544
|
+
"name": "cell",
|
|
5545
|
+
"type": {
|
|
5546
|
+
"text": "Cell"
|
|
5547
|
+
}
|
|
5548
|
+
}
|
|
5549
|
+
]
|
|
5550
|
+
},
|
|
5240
5551
|
{
|
|
5241
5552
|
"kind": "method",
|
|
5242
5553
|
"name": "sortData",
|
|
@@ -5245,13 +5556,13 @@
|
|
|
5245
5556
|
{
|
|
5246
5557
|
"name": "a",
|
|
5247
5558
|
"type": {
|
|
5248
|
-
"text": "
|
|
5559
|
+
"text": "Cell"
|
|
5249
5560
|
}
|
|
5250
5561
|
},
|
|
5251
5562
|
{
|
|
5252
5563
|
"name": "b",
|
|
5253
5564
|
"type": {
|
|
5254
|
-
"text": "
|
|
5565
|
+
"text": "Cell"
|
|
5255
5566
|
}
|
|
5256
5567
|
}
|
|
5257
5568
|
]
|
|
@@ -5260,6 +5571,19 @@
|
|
|
5260
5571
|
"kind": "method",
|
|
5261
5572
|
"name": "loadingTable",
|
|
5262
5573
|
"privacy": "private"
|
|
5574
|
+
},
|
|
5575
|
+
{
|
|
5576
|
+
"kind": "method",
|
|
5577
|
+
"name": "renderActions",
|
|
5578
|
+
"privacy": "private",
|
|
5579
|
+
"parameters": [
|
|
5580
|
+
{
|
|
5581
|
+
"name": "row",
|
|
5582
|
+
"type": {
|
|
5583
|
+
"text": "Row"
|
|
5584
|
+
}
|
|
5585
|
+
}
|
|
5586
|
+
]
|
|
5263
5587
|
}
|
|
5264
5588
|
],
|
|
5265
5589
|
"events": [
|
|
@@ -5295,6 +5619,7 @@
|
|
|
5295
5619
|
"type": {
|
|
5296
5620
|
"text": "string"
|
|
5297
5621
|
},
|
|
5622
|
+
"default": "\"asc\"",
|
|
5298
5623
|
"fieldName": "sortDirection"
|
|
5299
5624
|
},
|
|
5300
5625
|
{
|
|
@@ -5323,7 +5648,7 @@
|
|
|
5323
5648
|
{
|
|
5324
5649
|
"name": "headers",
|
|
5325
5650
|
"type": {
|
|
5326
|
-
"text": "Record<string,
|
|
5651
|
+
"text": "Record<string, HeaderConfig>"
|
|
5327
5652
|
},
|
|
5328
5653
|
"default": "{}",
|
|
5329
5654
|
"fieldName": "headers"
|
|
@@ -5382,6 +5707,21 @@
|
|
|
5382
5707
|
},
|
|
5383
5708
|
"fieldName": "caption"
|
|
5384
5709
|
},
|
|
5710
|
+
{
|
|
5711
|
+
"name": "empty-state-caption",
|
|
5712
|
+
"type": {
|
|
5713
|
+
"text": "string"
|
|
5714
|
+
},
|
|
5715
|
+
"fieldName": "emptyStateCaption"
|
|
5716
|
+
},
|
|
5717
|
+
{
|
|
5718
|
+
"name": "empty-state-icon",
|
|
5719
|
+
"type": {
|
|
5720
|
+
"text": "string"
|
|
5721
|
+
},
|
|
5722
|
+
"default": "\"data_alert\"",
|
|
5723
|
+
"fieldName": "emptyStateIcon"
|
|
5724
|
+
},
|
|
5385
5725
|
{
|
|
5386
5726
|
"name": "hide-checkboxes",
|
|
5387
5727
|
"type": {
|
|
@@ -5396,6 +5736,22 @@
|
|
|
5396
5736
|
},
|
|
5397
5737
|
"default": "[]",
|
|
5398
5738
|
"fieldName": "filters"
|
|
5739
|
+
},
|
|
5740
|
+
{
|
|
5741
|
+
"name": "method",
|
|
5742
|
+
"type": {
|
|
5743
|
+
"text": "'GET' | 'POST'"
|
|
5744
|
+
},
|
|
5745
|
+
"default": "'POST'",
|
|
5746
|
+
"fieldName": "method"
|
|
5747
|
+
},
|
|
5748
|
+
{
|
|
5749
|
+
"name": "no-initial-load",
|
|
5750
|
+
"type": {
|
|
5751
|
+
"text": "boolean"
|
|
5752
|
+
},
|
|
5753
|
+
"default": "false",
|
|
5754
|
+
"fieldName": "noInitialLoad"
|
|
5399
5755
|
}
|
|
5400
5756
|
],
|
|
5401
5757
|
"superclass": {
|
|
@@ -6697,6 +7053,16 @@
|
|
|
6697
7053
|
"attribute": "label",
|
|
6698
7054
|
"reflects": true
|
|
6699
7055
|
},
|
|
7056
|
+
{
|
|
7057
|
+
"kind": "field",
|
|
7058
|
+
"name": "cosmic",
|
|
7059
|
+
"type": {
|
|
7060
|
+
"text": "boolean"
|
|
7061
|
+
},
|
|
7062
|
+
"default": "false",
|
|
7063
|
+
"attribute": "cosmic",
|
|
7064
|
+
"reflects": true
|
|
7065
|
+
},
|
|
6700
7066
|
{
|
|
6701
7067
|
"kind": "field",
|
|
6702
7068
|
"name": "noHeader",
|
|
@@ -6810,6 +7176,14 @@
|
|
|
6810
7176
|
"description": "The dialog's label as displayed in the header. You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.",
|
|
6811
7177
|
"fieldName": "label"
|
|
6812
7178
|
},
|
|
7179
|
+
{
|
|
7180
|
+
"name": "cosmic",
|
|
7181
|
+
"type": {
|
|
7182
|
+
"text": "boolean"
|
|
7183
|
+
},
|
|
7184
|
+
"default": "false",
|
|
7185
|
+
"fieldName": "cosmic"
|
|
7186
|
+
},
|
|
6813
7187
|
{
|
|
6814
7188
|
"name": "no-header",
|
|
6815
7189
|
"type": {
|
|
@@ -7335,6 +7709,23 @@
|
|
|
7335
7709
|
},
|
|
7336
7710
|
"privacy": "private"
|
|
7337
7711
|
},
|
|
7712
|
+
{
|
|
7713
|
+
"kind": "field",
|
|
7714
|
+
"name": "toolbar",
|
|
7715
|
+
"type": {
|
|
7716
|
+
"text": "ToolbarComponent"
|
|
7717
|
+
},
|
|
7718
|
+
"privacy": "private"
|
|
7719
|
+
},
|
|
7720
|
+
{
|
|
7721
|
+
"kind": "field",
|
|
7722
|
+
"name": "id",
|
|
7723
|
+
"type": {
|
|
7724
|
+
"text": "string"
|
|
7725
|
+
},
|
|
7726
|
+
"attribute": "id",
|
|
7727
|
+
"reflects": true
|
|
7728
|
+
},
|
|
7338
7729
|
{
|
|
7339
7730
|
"kind": "field",
|
|
7340
7731
|
"name": "name",
|
|
@@ -7362,35 +7753,46 @@
|
|
|
7362
7753
|
},
|
|
7363
7754
|
{
|
|
7364
7755
|
"kind": "field",
|
|
7365
|
-
"name": "
|
|
7756
|
+
"name": "uploadAttachmentUrl",
|
|
7366
7757
|
"type": {
|
|
7367
|
-
"text": "
|
|
7758
|
+
"text": "string"
|
|
7368
7759
|
},
|
|
7369
|
-
"attribute": "
|
|
7760
|
+
"attribute": "attachment-url"
|
|
7370
7761
|
},
|
|
7371
7762
|
{
|
|
7372
7763
|
"kind": "field",
|
|
7373
|
-
"name": "
|
|
7764
|
+
"name": "aiPath",
|
|
7374
7765
|
"type": {
|
|
7375
7766
|
"text": "string"
|
|
7376
7767
|
},
|
|
7377
|
-
"
|
|
7768
|
+
"default": "''",
|
|
7769
|
+
"attribute": "ai-path"
|
|
7378
7770
|
},
|
|
7379
7771
|
{
|
|
7380
7772
|
"kind": "field",
|
|
7381
|
-
"name": "
|
|
7773
|
+
"name": "quillElement",
|
|
7774
|
+
"type": {
|
|
7775
|
+
"text": "Quill"
|
|
7776
|
+
},
|
|
7777
|
+
"privacy": "private"
|
|
7778
|
+
},
|
|
7779
|
+
{
|
|
7780
|
+
"kind": "field",
|
|
7781
|
+
"name": "_content",
|
|
7382
7782
|
"type": {
|
|
7383
7783
|
"text": "string"
|
|
7384
7784
|
},
|
|
7385
|
-
"
|
|
7785
|
+
"privacy": "private",
|
|
7786
|
+
"default": "''"
|
|
7386
7787
|
},
|
|
7387
7788
|
{
|
|
7388
7789
|
"kind": "field",
|
|
7389
|
-
"name": "
|
|
7790
|
+
"name": "_selectionRange",
|
|
7390
7791
|
"type": {
|
|
7391
|
-
"text": "
|
|
7792
|
+
"text": "Range"
|
|
7392
7793
|
},
|
|
7393
|
-
"privacy": "private"
|
|
7794
|
+
"privacy": "private",
|
|
7795
|
+
"default": "{index: 0, length: 0}"
|
|
7394
7796
|
},
|
|
7395
7797
|
{
|
|
7396
7798
|
"kind": "field",
|
|
@@ -7457,11 +7859,6 @@
|
|
|
7457
7859
|
"name": "_handleTextChange",
|
|
7458
7860
|
"privacy": "private"
|
|
7459
7861
|
},
|
|
7460
|
-
{
|
|
7461
|
-
"kind": "method",
|
|
7462
|
-
"name": "_updateIcons",
|
|
7463
|
-
"privacy": "private"
|
|
7464
|
-
},
|
|
7465
7862
|
{
|
|
7466
7863
|
"kind": "method",
|
|
7467
7864
|
"name": "_getQuillKeyboardBindings",
|
|
@@ -7469,21 +7866,41 @@
|
|
|
7469
7866
|
},
|
|
7470
7867
|
{
|
|
7471
7868
|
"kind": "method",
|
|
7472
|
-
"name": "
|
|
7473
|
-
"privacy": "private"
|
|
7474
|
-
},
|
|
7475
|
-
{
|
|
7476
|
-
"kind": "method",
|
|
7477
|
-
"name": "_setupTitleAttributes",
|
|
7869
|
+
"name": "_handleEditorChange",
|
|
7478
7870
|
"privacy": "private",
|
|
7479
7871
|
"parameters": [
|
|
7480
7872
|
{
|
|
7481
|
-
"name": "
|
|
7873
|
+
"name": "e",
|
|
7482
7874
|
"type": {
|
|
7483
|
-
"text": "
|
|
7875
|
+
"text": "OnEvent"
|
|
7484
7876
|
}
|
|
7485
7877
|
}
|
|
7486
7878
|
]
|
|
7879
|
+
},
|
|
7880
|
+
{
|
|
7881
|
+
"kind": "method",
|
|
7882
|
+
"name": "_replaceTextAtSelection",
|
|
7883
|
+
"privacy": "private"
|
|
7884
|
+
},
|
|
7885
|
+
{
|
|
7886
|
+
"kind": "method",
|
|
7887
|
+
"name": "_insertTextAtSelection",
|
|
7888
|
+
"privacy": "private"
|
|
7889
|
+
},
|
|
7890
|
+
{
|
|
7891
|
+
"kind": "method",
|
|
7892
|
+
"name": "_closePopups",
|
|
7893
|
+
"privacy": "private"
|
|
7894
|
+
},
|
|
7895
|
+
{
|
|
7896
|
+
"kind": "method",
|
|
7897
|
+
"name": "_closeAiPanel",
|
|
7898
|
+
"privacy": "private"
|
|
7899
|
+
},
|
|
7900
|
+
{
|
|
7901
|
+
"kind": "method",
|
|
7902
|
+
"name": "_closeDialog",
|
|
7903
|
+
"privacy": "private"
|
|
7487
7904
|
}
|
|
7488
7905
|
],
|
|
7489
7906
|
"events": [
|
|
@@ -7493,6 +7910,13 @@
|
|
|
7493
7910
|
}
|
|
7494
7911
|
],
|
|
7495
7912
|
"attributes": [
|
|
7913
|
+
{
|
|
7914
|
+
"name": "id",
|
|
7915
|
+
"type": {
|
|
7916
|
+
"text": "string"
|
|
7917
|
+
},
|
|
7918
|
+
"fieldName": "id"
|
|
7919
|
+
},
|
|
7496
7920
|
{
|
|
7497
7921
|
"name": "name",
|
|
7498
7922
|
"type": {
|
|
@@ -7516,25 +7940,19 @@
|
|
|
7516
7940
|
"fieldName": "interactionType"
|
|
7517
7941
|
},
|
|
7518
7942
|
{
|
|
7519
|
-
"name": "
|
|
7520
|
-
"type": {
|
|
7521
|
-
"text": "any[]"
|
|
7522
|
-
},
|
|
7523
|
-
"fieldName": "cannedResponses"
|
|
7524
|
-
},
|
|
7525
|
-
{
|
|
7526
|
-
"name": "canned-responses-url",
|
|
7943
|
+
"name": "attachment-url",
|
|
7527
7944
|
"type": {
|
|
7528
7945
|
"text": "string"
|
|
7529
7946
|
},
|
|
7530
|
-
"fieldName": "
|
|
7947
|
+
"fieldName": "uploadAttachmentUrl"
|
|
7531
7948
|
},
|
|
7532
7949
|
{
|
|
7533
|
-
"name": "
|
|
7950
|
+
"name": "ai-path",
|
|
7534
7951
|
"type": {
|
|
7535
7952
|
"text": "string"
|
|
7536
7953
|
},
|
|
7537
|
-
"
|
|
7954
|
+
"default": "''",
|
|
7955
|
+
"fieldName": "aiPath"
|
|
7538
7956
|
}
|
|
7539
7957
|
],
|
|
7540
7958
|
"superclass": {
|
|
@@ -8900,6 +9318,109 @@
|
|
|
8900
9318
|
}
|
|
8901
9319
|
]
|
|
8902
9320
|
},
|
|
9321
|
+
{
|
|
9322
|
+
"kind": "javascript-module",
|
|
9323
|
+
"path": "components/filter-wrapper/filter-wrapper.js",
|
|
9324
|
+
"declarations": [
|
|
9325
|
+
{
|
|
9326
|
+
"kind": "class",
|
|
9327
|
+
"description": "",
|
|
9328
|
+
"name": "ZnFilterWrapper",
|
|
9329
|
+
"cssProperties": [
|
|
9330
|
+
{
|
|
9331
|
+
"description": "An example CSS custom property.",
|
|
9332
|
+
"name": "--example"
|
|
9333
|
+
}
|
|
9334
|
+
],
|
|
9335
|
+
"cssParts": [
|
|
9336
|
+
{
|
|
9337
|
+
"description": "The component's base wrapper.",
|
|
9338
|
+
"name": "base"
|
|
9339
|
+
}
|
|
9340
|
+
],
|
|
9341
|
+
"slots": [
|
|
9342
|
+
{
|
|
9343
|
+
"description": "The default slot.",
|
|
9344
|
+
"name": ""
|
|
9345
|
+
},
|
|
9346
|
+
{
|
|
9347
|
+
"description": "An example slot.",
|
|
9348
|
+
"name": "example"
|
|
9349
|
+
}
|
|
9350
|
+
],
|
|
9351
|
+
"members": [
|
|
9352
|
+
{
|
|
9353
|
+
"kind": "field",
|
|
9354
|
+
"name": "button",
|
|
9355
|
+
"type": {
|
|
9356
|
+
"text": "string"
|
|
9357
|
+
},
|
|
9358
|
+
"default": "'Filter'",
|
|
9359
|
+
"attribute": "button"
|
|
9360
|
+
},
|
|
9361
|
+
{
|
|
9362
|
+
"kind": "field",
|
|
9363
|
+
"name": "hasSubmitButton",
|
|
9364
|
+
"type": {
|
|
9365
|
+
"text": "boolean"
|
|
9366
|
+
},
|
|
9367
|
+
"privacy": "private",
|
|
9368
|
+
"default": "false"
|
|
9369
|
+
},
|
|
9370
|
+
{
|
|
9371
|
+
"kind": "field",
|
|
9372
|
+
"name": "handleSubmit"
|
|
9373
|
+
},
|
|
9374
|
+
{
|
|
9375
|
+
"kind": "method",
|
|
9376
|
+
"name": "renderDefaultButton",
|
|
9377
|
+
"privacy": "private"
|
|
9378
|
+
}
|
|
9379
|
+
],
|
|
9380
|
+
"events": [
|
|
9381
|
+
{
|
|
9382
|
+
"description": "Emitted as an example.",
|
|
9383
|
+
"name": "zn-event-name"
|
|
9384
|
+
}
|
|
9385
|
+
],
|
|
9386
|
+
"attributes": [
|
|
9387
|
+
{
|
|
9388
|
+
"name": "button",
|
|
9389
|
+
"type": {
|
|
9390
|
+
"text": "string"
|
|
9391
|
+
},
|
|
9392
|
+
"default": "'Filter'",
|
|
9393
|
+
"fieldName": "button"
|
|
9394
|
+
}
|
|
9395
|
+
],
|
|
9396
|
+
"superclass": {
|
|
9397
|
+
"name": "ZincElement",
|
|
9398
|
+
"module": "/src/internal/zinc-element"
|
|
9399
|
+
},
|
|
9400
|
+
"summary": "Short summary of the component's intended use.",
|
|
9401
|
+
"tagNameWithoutPrefix": "filter-wrapper",
|
|
9402
|
+
"tagName": "zn-filter-wrapper",
|
|
9403
|
+
"customElement": true,
|
|
9404
|
+
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/filter-wrapper\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
9405
|
+
"documentation": "https://zinc.style/components/filter-wrapper",
|
|
9406
|
+
"status": "experimental",
|
|
9407
|
+
"since": "1.0",
|
|
9408
|
+
"dependencies": [
|
|
9409
|
+
"zn-example"
|
|
9410
|
+
]
|
|
9411
|
+
}
|
|
9412
|
+
],
|
|
9413
|
+
"exports": [
|
|
9414
|
+
{
|
|
9415
|
+
"kind": "js",
|
|
9416
|
+
"name": "default",
|
|
9417
|
+
"declaration": {
|
|
9418
|
+
"name": "ZnFilterWrapper",
|
|
9419
|
+
"module": "components/filter-wrapper/filter-wrapper.js"
|
|
9420
|
+
}
|
|
9421
|
+
}
|
|
9422
|
+
]
|
|
9423
|
+
},
|
|
8903
9424
|
{
|
|
8904
9425
|
"kind": "javascript-module",
|
|
8905
9426
|
"path": "components/form-group/form-group.js",
|
|
@@ -9646,6 +10167,24 @@
|
|
|
9646
10167
|
"attribute": "color",
|
|
9647
10168
|
"reflects": true
|
|
9648
10169
|
},
|
|
10170
|
+
{
|
|
10171
|
+
"kind": "field",
|
|
10172
|
+
"name": "padded",
|
|
10173
|
+
"type": {
|
|
10174
|
+
"text": "boolean"
|
|
10175
|
+
},
|
|
10176
|
+
"default": "false",
|
|
10177
|
+
"attribute": "padded"
|
|
10178
|
+
},
|
|
10179
|
+
{
|
|
10180
|
+
"kind": "field",
|
|
10181
|
+
"name": "squared",
|
|
10182
|
+
"type": {
|
|
10183
|
+
"text": "boolean"
|
|
10184
|
+
},
|
|
10185
|
+
"default": "false",
|
|
10186
|
+
"attribute": "squared"
|
|
10187
|
+
},
|
|
9649
10188
|
{
|
|
9650
10189
|
"kind": "field",
|
|
9651
10190
|
"name": "gravatarOptions",
|
|
@@ -9760,6 +10299,22 @@
|
|
|
9760
10299
|
"text": "IconColor"
|
|
9761
10300
|
},
|
|
9762
10301
|
"fieldName": "color"
|
|
10302
|
+
},
|
|
10303
|
+
{
|
|
10304
|
+
"name": "padded",
|
|
10305
|
+
"type": {
|
|
10306
|
+
"text": "boolean"
|
|
10307
|
+
},
|
|
10308
|
+
"default": "false",
|
|
10309
|
+
"fieldName": "padded"
|
|
10310
|
+
},
|
|
10311
|
+
{
|
|
10312
|
+
"name": "squared",
|
|
10313
|
+
"type": {
|
|
10314
|
+
"text": "boolean"
|
|
10315
|
+
},
|
|
10316
|
+
"default": "false",
|
|
10317
|
+
"fieldName": "squared"
|
|
9763
10318
|
}
|
|
9764
10319
|
],
|
|
9765
10320
|
"superclass": {
|
|
@@ -10055,10 +10610,26 @@
|
|
|
10055
10610
|
"kind": "method",
|
|
10056
10611
|
"name": "handleIsEditingChange"
|
|
10057
10612
|
},
|
|
10613
|
+
{
|
|
10614
|
+
"kind": "field",
|
|
10615
|
+
"name": "mouseEventHandler"
|
|
10616
|
+
},
|
|
10058
10617
|
{
|
|
10059
10618
|
"kind": "field",
|
|
10060
10619
|
"name": "escKeyHandler"
|
|
10061
10620
|
},
|
|
10621
|
+
{
|
|
10622
|
+
"kind": "field",
|
|
10623
|
+
"name": "submitKeyHandler"
|
|
10624
|
+
},
|
|
10625
|
+
{
|
|
10626
|
+
"kind": "field",
|
|
10627
|
+
"name": "captureMouseDown"
|
|
10628
|
+
},
|
|
10629
|
+
{
|
|
10630
|
+
"kind": "field",
|
|
10631
|
+
"name": "captureKeyDown"
|
|
10632
|
+
},
|
|
10062
10633
|
{
|
|
10063
10634
|
"kind": "field",
|
|
10064
10635
|
"name": "handleEditClick"
|
|
@@ -11414,6 +11985,14 @@
|
|
|
11414
11985
|
},
|
|
11415
11986
|
"attribute": "caption"
|
|
11416
11987
|
},
|
|
11988
|
+
{
|
|
11989
|
+
"kind": "field",
|
|
11990
|
+
"name": "description",
|
|
11991
|
+
"type": {
|
|
11992
|
+
"text": "string"
|
|
11993
|
+
},
|
|
11994
|
+
"attribute": "description"
|
|
11995
|
+
},
|
|
11417
11996
|
{
|
|
11418
11997
|
"kind": "field",
|
|
11419
11998
|
"name": "stacked",
|
|
@@ -11479,6 +12058,14 @@
|
|
|
11479
12058
|
"text": "boolean"
|
|
11480
12059
|
},
|
|
11481
12060
|
"attribute": "no-padding"
|
|
12061
|
+
},
|
|
12062
|
+
{
|
|
12063
|
+
"kind": "field",
|
|
12064
|
+
"name": "alignEnd",
|
|
12065
|
+
"type": {
|
|
12066
|
+
"text": "boolean"
|
|
12067
|
+
},
|
|
12068
|
+
"attribute": "align-end"
|
|
11482
12069
|
}
|
|
11483
12070
|
],
|
|
11484
12071
|
"attributes": [
|
|
@@ -11489,6 +12076,13 @@
|
|
|
11489
12076
|
},
|
|
11490
12077
|
"fieldName": "caption"
|
|
11491
12078
|
},
|
|
12079
|
+
{
|
|
12080
|
+
"name": "description",
|
|
12081
|
+
"type": {
|
|
12082
|
+
"text": "string"
|
|
12083
|
+
},
|
|
12084
|
+
"fieldName": "description"
|
|
12085
|
+
},
|
|
11492
12086
|
{
|
|
11493
12087
|
"name": "stacked",
|
|
11494
12088
|
"type": {
|
|
@@ -11545,6 +12139,13 @@
|
|
|
11545
12139
|
"text": "boolean"
|
|
11546
12140
|
},
|
|
11547
12141
|
"fieldName": "noPadding"
|
|
12142
|
+
},
|
|
12143
|
+
{
|
|
12144
|
+
"name": "align-end",
|
|
12145
|
+
"type": {
|
|
12146
|
+
"text": "boolean"
|
|
12147
|
+
},
|
|
12148
|
+
"fieldName": "alignEnd"
|
|
11548
12149
|
}
|
|
11549
12150
|
],
|
|
11550
12151
|
"superclass": {
|
|
@@ -11672,7 +12273,7 @@
|
|
|
11672
12273
|
"kind": "field",
|
|
11673
12274
|
"name": "input",
|
|
11674
12275
|
"type": {
|
|
11675
|
-
"text": "
|
|
12276
|
+
"text": "ZnSelect"
|
|
11676
12277
|
}
|
|
11677
12278
|
},
|
|
11678
12279
|
{
|
|
@@ -11690,6 +12291,11 @@
|
|
|
11690
12291
|
"readonly": true,
|
|
11691
12292
|
"default": "new FormControlController(this, { value: (input) => { const selectElement = this.input; if (selectElement) { return selectElement.value; } return input.value; } })"
|
|
11692
12293
|
},
|
|
12294
|
+
{
|
|
12295
|
+
"kind": "field",
|
|
12296
|
+
"name": "displayLabel",
|
|
12297
|
+
"readonly": true
|
|
12298
|
+
},
|
|
11693
12299
|
{
|
|
11694
12300
|
"kind": "field",
|
|
11695
12301
|
"name": "validity",
|
|
@@ -12098,6 +12704,16 @@
|
|
|
12098
12704
|
"attribute": "checked",
|
|
12099
12705
|
"reflects": true
|
|
12100
12706
|
},
|
|
12707
|
+
{
|
|
12708
|
+
"kind": "field",
|
|
12709
|
+
"name": "checkedPosition",
|
|
12710
|
+
"type": {
|
|
12711
|
+
"text": "'left' | 'right'"
|
|
12712
|
+
},
|
|
12713
|
+
"default": "'left'",
|
|
12714
|
+
"attribute": "checked-position",
|
|
12715
|
+
"reflects": true
|
|
12716
|
+
},
|
|
12101
12717
|
{
|
|
12102
12718
|
"kind": "field",
|
|
12103
12719
|
"name": "value",
|
|
@@ -12130,6 +12746,14 @@
|
|
|
12130
12746
|
"attribute": "disabled",
|
|
12131
12747
|
"reflects": true
|
|
12132
12748
|
},
|
|
12749
|
+
{
|
|
12750
|
+
"kind": "field",
|
|
12751
|
+
"name": "color",
|
|
12752
|
+
"type": {
|
|
12753
|
+
"text": "string"
|
|
12754
|
+
},
|
|
12755
|
+
"attribute": "color"
|
|
12756
|
+
},
|
|
12133
12757
|
{
|
|
12134
12758
|
"kind": "field",
|
|
12135
12759
|
"name": "href",
|
|
@@ -12269,6 +12893,14 @@
|
|
|
12269
12893
|
"description": "Draws the item in a checked state.",
|
|
12270
12894
|
"fieldName": "checked"
|
|
12271
12895
|
},
|
|
12896
|
+
{
|
|
12897
|
+
"name": "checked-position",
|
|
12898
|
+
"type": {
|
|
12899
|
+
"text": "'left' | 'right'"
|
|
12900
|
+
},
|
|
12901
|
+
"default": "'left'",
|
|
12902
|
+
"fieldName": "checkedPosition"
|
|
12903
|
+
},
|
|
12272
12904
|
{
|
|
12273
12905
|
"name": "value",
|
|
12274
12906
|
"type": {
|
|
@@ -12296,6 +12928,13 @@
|
|
|
12296
12928
|
"description": "Draws the menu item in a disabled state, preventing selection.",
|
|
12297
12929
|
"fieldName": "disabled"
|
|
12298
12930
|
},
|
|
12931
|
+
{
|
|
12932
|
+
"name": "color",
|
|
12933
|
+
"type": {
|
|
12934
|
+
"text": "string"
|
|
12935
|
+
},
|
|
12936
|
+
"fieldName": "color"
|
|
12937
|
+
},
|
|
12299
12938
|
{
|
|
12300
12939
|
"name": "href",
|
|
12301
12940
|
"type": {
|
|
@@ -12435,6 +13074,24 @@
|
|
|
12435
13074
|
"attribute": "icon-bar",
|
|
12436
13075
|
"reflects": true
|
|
12437
13076
|
},
|
|
13077
|
+
{
|
|
13078
|
+
"kind": "field",
|
|
13079
|
+
"name": "slim",
|
|
13080
|
+
"type": {
|
|
13081
|
+
"text": "boolean"
|
|
13082
|
+
},
|
|
13083
|
+
"attribute": "slim",
|
|
13084
|
+
"reflects": true
|
|
13085
|
+
},
|
|
13086
|
+
{
|
|
13087
|
+
"kind": "field",
|
|
13088
|
+
"name": "border",
|
|
13089
|
+
"type": {
|
|
13090
|
+
"text": "boolean"
|
|
13091
|
+
},
|
|
13092
|
+
"attribute": "border",
|
|
13093
|
+
"reflects": true
|
|
13094
|
+
},
|
|
12438
13095
|
{
|
|
12439
13096
|
"kind": "field",
|
|
12440
13097
|
"name": "hideOne",
|
|
@@ -12471,6 +13128,14 @@
|
|
|
12471
13128
|
"default": "[]",
|
|
12472
13129
|
"attribute": "dropdown"
|
|
12473
13130
|
},
|
|
13131
|
+
{
|
|
13132
|
+
"kind": "field",
|
|
13133
|
+
"name": "noPad",
|
|
13134
|
+
"type": {
|
|
13135
|
+
"text": "false"
|
|
13136
|
+
},
|
|
13137
|
+
"attribute": "no-pad"
|
|
13138
|
+
},
|
|
12474
13139
|
{
|
|
12475
13140
|
"kind": "field",
|
|
12476
13141
|
"name": "_preItems",
|
|
@@ -12639,6 +13304,20 @@
|
|
|
12639
13304
|
},
|
|
12640
13305
|
"fieldName": "iconBar"
|
|
12641
13306
|
},
|
|
13307
|
+
{
|
|
13308
|
+
"name": "slim",
|
|
13309
|
+
"type": {
|
|
13310
|
+
"text": "boolean"
|
|
13311
|
+
},
|
|
13312
|
+
"fieldName": "slim"
|
|
13313
|
+
},
|
|
13314
|
+
{
|
|
13315
|
+
"name": "border",
|
|
13316
|
+
"type": {
|
|
13317
|
+
"text": "boolean"
|
|
13318
|
+
},
|
|
13319
|
+
"fieldName": "border"
|
|
13320
|
+
},
|
|
12642
13321
|
{
|
|
12643
13322
|
"name": "hide-one",
|
|
12644
13323
|
"type": {
|
|
@@ -12669,6 +13348,13 @@
|
|
|
12669
13348
|
"default": "[]",
|
|
12670
13349
|
"fieldName": "dropdown"
|
|
12671
13350
|
},
|
|
13351
|
+
{
|
|
13352
|
+
"name": "no-pad",
|
|
13353
|
+
"type": {
|
|
13354
|
+
"text": "false"
|
|
13355
|
+
},
|
|
13356
|
+
"fieldName": "noPad"
|
|
13357
|
+
},
|
|
12672
13358
|
{
|
|
12673
13359
|
"name": "_appended",
|
|
12674
13360
|
"type": {
|
|
@@ -12916,6 +13602,15 @@
|
|
|
12916
13602
|
"readonly": true,
|
|
12917
13603
|
"default": "new LocalizeController(this)"
|
|
12918
13604
|
},
|
|
13605
|
+
{
|
|
13606
|
+
"kind": "field",
|
|
13607
|
+
"name": "multiple",
|
|
13608
|
+
"type": {
|
|
13609
|
+
"text": "boolean"
|
|
13610
|
+
},
|
|
13611
|
+
"privacy": "public",
|
|
13612
|
+
"default": "false"
|
|
13613
|
+
},
|
|
12919
13614
|
{
|
|
12920
13615
|
"kind": "field",
|
|
12921
13616
|
"name": "defaultSlot",
|
|
@@ -13667,6 +14362,19 @@
|
|
|
13667
14362
|
"module": "components/tabs/tabs.js"
|
|
13668
14363
|
}
|
|
13669
14364
|
},
|
|
14365
|
+
{
|
|
14366
|
+
"kind": "field",
|
|
14367
|
+
"name": "_activeTab",
|
|
14368
|
+
"type": {
|
|
14369
|
+
"text": "Element | null"
|
|
14370
|
+
},
|
|
14371
|
+
"privacy": "private",
|
|
14372
|
+
"default": "null",
|
|
14373
|
+
"inheritedFrom": {
|
|
14374
|
+
"name": "ZnTabs",
|
|
14375
|
+
"module": "components/tabs/tabs.js"
|
|
14376
|
+
}
|
|
14377
|
+
},
|
|
13670
14378
|
{
|
|
13671
14379
|
"kind": "field",
|
|
13672
14380
|
"name": "_tabs",
|
|
@@ -14574,6 +15282,14 @@
|
|
|
14574
15282
|
},
|
|
14575
15283
|
"attribute": "tabbed"
|
|
14576
15284
|
},
|
|
15285
|
+
{
|
|
15286
|
+
"kind": "field",
|
|
15287
|
+
"name": "cosmic",
|
|
15288
|
+
"type": {
|
|
15289
|
+
"text": "boolean"
|
|
15290
|
+
},
|
|
15291
|
+
"attribute": "cosmic"
|
|
15292
|
+
},
|
|
14577
15293
|
{
|
|
14578
15294
|
"kind": "field",
|
|
14579
15295
|
"name": "flush",
|
|
@@ -14636,6 +15352,13 @@
|
|
|
14636
15352
|
},
|
|
14637
15353
|
"fieldName": "tabbed"
|
|
14638
15354
|
},
|
|
15355
|
+
{
|
|
15356
|
+
"name": "cosmic",
|
|
15357
|
+
"type": {
|
|
15358
|
+
"text": "boolean"
|
|
15359
|
+
},
|
|
15360
|
+
"fieldName": "cosmic"
|
|
15361
|
+
},
|
|
14639
15362
|
{
|
|
14640
15363
|
"name": "flush",
|
|
14641
15364
|
"type": {
|
|
@@ -15469,7 +16192,7 @@
|
|
|
15469
16192
|
"kind": "field",
|
|
15470
16193
|
"name": "_timerInterval",
|
|
15471
16194
|
"type": {
|
|
15472
|
-
"text": "
|
|
16195
|
+
"text": "number"
|
|
15473
16196
|
},
|
|
15474
16197
|
"privacy": "private"
|
|
15475
16198
|
},
|
|
@@ -17630,13 +18353,62 @@
|
|
|
17630
18353
|
"name": "example"
|
|
17631
18354
|
}
|
|
17632
18355
|
],
|
|
17633
|
-
"members": [
|
|
18356
|
+
"members": [
|
|
18357
|
+
{
|
|
18358
|
+
"kind": "field",
|
|
18359
|
+
"name": "startScrolled",
|
|
18360
|
+
"type": {
|
|
18361
|
+
"text": "boolean"
|
|
18362
|
+
},
|
|
18363
|
+
"default": "false",
|
|
18364
|
+
"attribute": "start-scrolled",
|
|
18365
|
+
"reflects": true
|
|
18366
|
+
},
|
|
18367
|
+
{
|
|
18368
|
+
"kind": "field",
|
|
18369
|
+
"name": "container",
|
|
18370
|
+
"type": {
|
|
18371
|
+
"text": "HTMLElement"
|
|
18372
|
+
},
|
|
18373
|
+
"privacy": "private"
|
|
18374
|
+
},
|
|
18375
|
+
{
|
|
18376
|
+
"kind": "field",
|
|
18377
|
+
"name": "footer",
|
|
18378
|
+
"type": {
|
|
18379
|
+
"text": "HTMLElement"
|
|
18380
|
+
},
|
|
18381
|
+
"privacy": "private"
|
|
18382
|
+
},
|
|
18383
|
+
{
|
|
18384
|
+
"kind": "method",
|
|
18385
|
+
"name": "scrollEnd"
|
|
18386
|
+
},
|
|
18387
|
+
{
|
|
18388
|
+
"kind": "field",
|
|
18389
|
+
"name": "_footerResizeObserver",
|
|
18390
|
+
"type": {
|
|
18391
|
+
"text": "ResizeObserver | undefined"
|
|
18392
|
+
},
|
|
18393
|
+
"privacy": "private"
|
|
18394
|
+
}
|
|
18395
|
+
],
|
|
17634
18396
|
"events": [
|
|
17635
18397
|
{
|
|
17636
18398
|
"description": "Emitted as an example.",
|
|
17637
18399
|
"name": "zn-event-name"
|
|
17638
18400
|
}
|
|
17639
18401
|
],
|
|
18402
|
+
"attributes": [
|
|
18403
|
+
{
|
|
18404
|
+
"name": "start-scrolled",
|
|
18405
|
+
"type": {
|
|
18406
|
+
"text": "boolean"
|
|
18407
|
+
},
|
|
18408
|
+
"default": "false",
|
|
18409
|
+
"fieldName": "startScrolled"
|
|
18410
|
+
}
|
|
18411
|
+
],
|
|
17640
18412
|
"superclass": {
|
|
17641
18413
|
"name": "ZincElement",
|
|
17642
18414
|
"module": "/src/internal/zinc-element"
|
|
@@ -18546,118 +19318,314 @@
|
|
|
18546
19318
|
"fieldName": "disabled"
|
|
18547
19319
|
},
|
|
18548
19320
|
{
|
|
18549
|
-
"name": "clearable",
|
|
19321
|
+
"name": "clearable",
|
|
19322
|
+
"type": {
|
|
19323
|
+
"text": "boolean"
|
|
19324
|
+
},
|
|
19325
|
+
"default": "false",
|
|
19326
|
+
"description": "Adds a clear button when the select is not empty.",
|
|
19327
|
+
"fieldName": "clearable"
|
|
19328
|
+
},
|
|
19329
|
+
{
|
|
19330
|
+
"name": "open",
|
|
19331
|
+
"type": {
|
|
19332
|
+
"text": "boolean"
|
|
19333
|
+
},
|
|
19334
|
+
"default": "false",
|
|
19335
|
+
"description": "Indicates whether or not the select is open. You can toggle this attribute to show and hide the menu, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the select's open state.",
|
|
19336
|
+
"fieldName": "open"
|
|
19337
|
+
},
|
|
19338
|
+
{
|
|
19339
|
+
"name": "hoist",
|
|
19340
|
+
"type": {
|
|
19341
|
+
"text": "boolean"
|
|
19342
|
+
},
|
|
19343
|
+
"default": "false",
|
|
19344
|
+
"description": "Enable this option to prevent the listbox from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
|
|
19345
|
+
"fieldName": "hoist"
|
|
19346
|
+
},
|
|
19347
|
+
{
|
|
19348
|
+
"name": "pill",
|
|
19349
|
+
"type": {
|
|
19350
|
+
"text": "boolean"
|
|
19351
|
+
},
|
|
19352
|
+
"default": "false",
|
|
19353
|
+
"description": "Draws a pill-style select with rounded edges.",
|
|
19354
|
+
"fieldName": "pill"
|
|
19355
|
+
},
|
|
19356
|
+
{
|
|
19357
|
+
"name": "label",
|
|
19358
|
+
"type": {
|
|
19359
|
+
"text": "string"
|
|
19360
|
+
},
|
|
19361
|
+
"default": "''",
|
|
19362
|
+
"description": "The select's label. If you need to display HTML, use the `label` slot instead.",
|
|
19363
|
+
"fieldName": "label"
|
|
19364
|
+
},
|
|
19365
|
+
{
|
|
19366
|
+
"name": "label-tooltip",
|
|
19367
|
+
"type": {
|
|
19368
|
+
"text": "string"
|
|
19369
|
+
},
|
|
19370
|
+
"default": "''",
|
|
19371
|
+
"description": "Text that appears in a tooltip next to the label. If you need to display HTML in the tooltip, use the `label-tooltip` slot instead.",
|
|
19372
|
+
"fieldName": "labelTooltip"
|
|
19373
|
+
},
|
|
19374
|
+
{
|
|
19375
|
+
"name": "context-note",
|
|
19376
|
+
"type": {
|
|
19377
|
+
"text": "string"
|
|
19378
|
+
},
|
|
19379
|
+
"default": "''",
|
|
19380
|
+
"description": "Text that appears above the input, on the right, to add additional context. If you need to display HTML in this text, use the `context-note` slot instead.",
|
|
19381
|
+
"fieldName": "contextNote"
|
|
19382
|
+
},
|
|
19383
|
+
{
|
|
19384
|
+
"name": "placement",
|
|
19385
|
+
"type": {
|
|
19386
|
+
"text": "'top' | 'bottom'"
|
|
19387
|
+
},
|
|
19388
|
+
"default": "'bottom'",
|
|
19389
|
+
"description": "The preferred placement of the selects menu. Note that the actual placement may vary as needed to keep the listbox\ninside the viewport.",
|
|
19390
|
+
"fieldName": "placement"
|
|
19391
|
+
},
|
|
19392
|
+
{
|
|
19393
|
+
"name": "help-text",
|
|
19394
|
+
"type": {
|
|
19395
|
+
"text": "string"
|
|
19396
|
+
},
|
|
19397
|
+
"default": "''",
|
|
19398
|
+
"description": "The select's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
19399
|
+
"fieldName": "helpText"
|
|
19400
|
+
},
|
|
19401
|
+
{
|
|
19402
|
+
"name": "form",
|
|
19403
|
+
"type": {
|
|
19404
|
+
"text": "string"
|
|
19405
|
+
},
|
|
19406
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
19407
|
+
"fieldName": "form"
|
|
19408
|
+
},
|
|
19409
|
+
{
|
|
19410
|
+
"name": "required",
|
|
19411
|
+
"type": {
|
|
19412
|
+
"text": "boolean"
|
|
19413
|
+
},
|
|
19414
|
+
"default": "false",
|
|
19415
|
+
"description": "The select's required attribute.",
|
|
19416
|
+
"fieldName": "required"
|
|
19417
|
+
},
|
|
19418
|
+
{
|
|
19419
|
+
"name": "cache-key",
|
|
19420
|
+
"type": {
|
|
19421
|
+
"text": "string"
|
|
19422
|
+
},
|
|
19423
|
+
"default": "\"\"",
|
|
19424
|
+
"fieldName": "cacheKey"
|
|
19425
|
+
},
|
|
19426
|
+
{
|
|
19427
|
+
"name": "getTag",
|
|
19428
|
+
"type": {
|
|
19429
|
+
"text": "(option: ZnOption, index: number) => TemplateResult | string | HTMLElement"
|
|
19430
|
+
},
|
|
19431
|
+
"description": "A function that customizes the tags to be rendered when multiple=true. The first argument is the option, the second\nis the current tag's index. The function should return either a Lit TemplateResult or a string containing trusted HTML of the symbol to render at\nthe specified value.",
|
|
19432
|
+
"fieldName": "getTag"
|
|
19433
|
+
}
|
|
19434
|
+
],
|
|
19435
|
+
"superclass": {
|
|
19436
|
+
"name": "ZincElement",
|
|
19437
|
+
"module": "/src/internal/zinc-element"
|
|
19438
|
+
},
|
|
19439
|
+
"summary": "Short summary of the component's intended use.",
|
|
19440
|
+
"tagNameWithoutPrefix": "select",
|
|
19441
|
+
"tagName": "zn-select",
|
|
19442
|
+
"customElement": true,
|
|
19443
|
+
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/select\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-icon\n * @dependency zn-popup\n * @dependency zn-tag\n *\n * @slot - The listbox options. Must be `<zn-option>` elements. You can use `<zn-divider>` to group items visually.\n * @slot label - The input's label. Alternatively, you can use the `label` attribute.\n * @slot label-tooltip - Used to add text that is displayed in a tooltip next to the label. Alternatively, you can use the `label-tooltip` attribute.\n * @slot context-note - Used to add contextual text that is displayed above the select, on the right. Alternatively, you can use the `context-note` attribute.\n * @slot prefix - Used to prepend a presentational icon or similar element to the combobox.\n * @slot clear-icon - An icon to use in lieu of the default clear icon.\n * @slot expand-icon - The icon to show when the control is expanded and collapsed. Rotates on open and close.\n * @slot help-text - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n *\n * @event zn-change - Emitted when the control's value changes.\n * @event zn-clear - Emitted when the control's value is cleared.\n * @event zn-input - Emitted when the control receives input.\n * @event zn-focus - Emitted when the control gains focus.\n * @event zn-blur - Emitted when the control loses focus.\n * @event zn-show - Emitted when the select's menu opens.\n * @event zn-after-show - Emitted after the select's menu opens and all animations are complete.\n * @event zn-hide - Emitted when the select's menu closes.\n * @event zn-after-hide - Emitted after the select's menu closes and all animations are complete.\n * @event zn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @csspart form-control - The form control that wraps the label, input, and help text.\n * @csspart form-control-label - The label's wrapper.\n * @csspart form-control-input - The select's wrapper.\n * @csspart form-control-help-text - The help text's wrapper.\n * @csspart combobox - The container the wraps the prefix, combobox, clear icon, and expand button.\n * @csspart prefix - The container that wraps the prefix slot.\n * @csspart display-input - The element that displays the selected option's label, an `<input>` element.\n * @csspart listbox - The listbox container where options are slotted.\n * @csspart tags - The container that houses option tags when `multiselect` is used.\n * @csspart tag - The individual tags that represent each multiselect option.\n * @csspart tag__base - The tag's base part.\n * @csspart tag__content - The tag's content part.\n * @csspart tag__remove-button - The tag's remove button.\n * @csspart tag__remove-button__base - The tag's remove button base part.\n * @csspart clear-button - The clear button.\n * @csspart expand-icon - The container that wraps the expand icon.\n */",
|
|
19444
|
+
"documentation": "https://zinc.style/components/select",
|
|
19445
|
+
"status": "experimental",
|
|
19446
|
+
"since": "1.0",
|
|
19447
|
+
"dependencies": [
|
|
19448
|
+
"zn-icon",
|
|
19449
|
+
"zn-popup",
|
|
19450
|
+
"zn-tag"
|
|
19451
|
+
]
|
|
19452
|
+
}
|
|
19453
|
+
],
|
|
19454
|
+
"exports": [
|
|
19455
|
+
{
|
|
19456
|
+
"kind": "js",
|
|
19457
|
+
"name": "default",
|
|
19458
|
+
"declaration": {
|
|
19459
|
+
"name": "ZnSelect",
|
|
19460
|
+
"module": "components/select/select.js"
|
|
19461
|
+
}
|
|
19462
|
+
}
|
|
19463
|
+
]
|
|
19464
|
+
},
|
|
19465
|
+
{
|
|
19466
|
+
"kind": "javascript-module",
|
|
19467
|
+
"path": "components/settings-container/settings-container.js",
|
|
19468
|
+
"declarations": [
|
|
19469
|
+
{
|
|
19470
|
+
"kind": "class",
|
|
19471
|
+
"description": "",
|
|
19472
|
+
"name": "ZnSettingsContainer",
|
|
19473
|
+
"cssProperties": [
|
|
19474
|
+
{
|
|
19475
|
+
"description": "An example CSS custom property.",
|
|
19476
|
+
"name": "--example"
|
|
19477
|
+
}
|
|
19478
|
+
],
|
|
19479
|
+
"cssParts": [
|
|
19480
|
+
{
|
|
19481
|
+
"description": "The component's base wrapper.",
|
|
19482
|
+
"name": "base"
|
|
19483
|
+
}
|
|
19484
|
+
],
|
|
19485
|
+
"slots": [
|
|
19486
|
+
{
|
|
19487
|
+
"description": "The default slot.",
|
|
19488
|
+
"name": ""
|
|
19489
|
+
},
|
|
19490
|
+
{
|
|
19491
|
+
"description": "An example slot.",
|
|
19492
|
+
"name": "example"
|
|
19493
|
+
}
|
|
19494
|
+
],
|
|
19495
|
+
"members": [
|
|
19496
|
+
{
|
|
19497
|
+
"kind": "field",
|
|
19498
|
+
"name": "filters",
|
|
19499
|
+
"type": {
|
|
19500
|
+
"text": "SettingsContainerFilter[]"
|
|
19501
|
+
},
|
|
19502
|
+
"default": "[]"
|
|
19503
|
+
},
|
|
19504
|
+
{
|
|
19505
|
+
"kind": "field",
|
|
19506
|
+
"name": "position",
|
|
19507
|
+
"type": {
|
|
19508
|
+
"text": "'top-end' | 'top-start' | 'bottom-end' | 'bottom-start'"
|
|
19509
|
+
},
|
|
19510
|
+
"default": "'bottom-start'",
|
|
19511
|
+
"attribute": "position"
|
|
19512
|
+
},
|
|
19513
|
+
{
|
|
19514
|
+
"kind": "field",
|
|
19515
|
+
"name": "storeKey",
|
|
18550
19516
|
"type": {
|
|
18551
|
-
"text": "
|
|
19517
|
+
"text": "string"
|
|
18552
19518
|
},
|
|
18553
|
-
"
|
|
18554
|
-
"description": "Adds a clear button when the select is not empty.",
|
|
18555
|
-
"fieldName": "clearable"
|
|
19519
|
+
"attribute": "store-key"
|
|
18556
19520
|
},
|
|
18557
19521
|
{
|
|
18558
|
-
"
|
|
19522
|
+
"kind": "field",
|
|
19523
|
+
"name": "noScroll",
|
|
18559
19524
|
"type": {
|
|
18560
19525
|
"text": "boolean"
|
|
18561
19526
|
},
|
|
18562
|
-
"
|
|
18563
|
-
"description": "Indicates whether or not the select is open. You can toggle this attribute to show and hide the menu, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the select's open state.",
|
|
18564
|
-
"fieldName": "open"
|
|
19527
|
+
"attribute": "no-scroll"
|
|
18565
19528
|
},
|
|
18566
19529
|
{
|
|
18567
|
-
"
|
|
19530
|
+
"kind": "field",
|
|
19531
|
+
"name": "_mutationObserver",
|
|
18568
19532
|
"type": {
|
|
18569
|
-
"text": "
|
|
19533
|
+
"text": "MutationObserver | null"
|
|
18570
19534
|
},
|
|
18571
|
-
"
|
|
18572
|
-
"
|
|
18573
|
-
"fieldName": "hoist"
|
|
19535
|
+
"privacy": "private",
|
|
19536
|
+
"default": "null"
|
|
18574
19537
|
},
|
|
18575
19538
|
{
|
|
18576
|
-
"
|
|
19539
|
+
"kind": "field",
|
|
19540
|
+
"name": "_updateFiltersScheduled",
|
|
18577
19541
|
"type": {
|
|
18578
19542
|
"text": "boolean"
|
|
18579
19543
|
},
|
|
18580
|
-
"
|
|
18581
|
-
"
|
|
18582
|
-
"fieldName": "pill"
|
|
19544
|
+
"privacy": "private",
|
|
19545
|
+
"default": "false"
|
|
18583
19546
|
},
|
|
18584
19547
|
{
|
|
18585
|
-
"
|
|
19548
|
+
"kind": "field",
|
|
19549
|
+
"name": "_store",
|
|
18586
19550
|
"type": {
|
|
18587
|
-
"text": "
|
|
19551
|
+
"text": "Store"
|
|
18588
19552
|
},
|
|
18589
|
-
"
|
|
18590
|
-
"description": "The select's label. If you need to display HTML, use the `label` slot instead.",
|
|
18591
|
-
"fieldName": "label"
|
|
19553
|
+
"privacy": "private"
|
|
18592
19554
|
},
|
|
18593
19555
|
{
|
|
18594
|
-
"
|
|
19556
|
+
"kind": "field",
|
|
19557
|
+
"name": "_hiddenElements",
|
|
18595
19558
|
"type": {
|
|
18596
|
-
"text": "
|
|
19559
|
+
"text": "Set<Element>"
|
|
18597
19560
|
},
|
|
18598
|
-
"
|
|
18599
|
-
"
|
|
18600
|
-
"fieldName": "labelTooltip"
|
|
19561
|
+
"privacy": "private",
|
|
19562
|
+
"default": "new Set()"
|
|
18601
19563
|
},
|
|
18602
19564
|
{
|
|
18603
|
-
"
|
|
18604
|
-
"
|
|
18605
|
-
|
|
18606
|
-
},
|
|
18607
|
-
"default": "''",
|
|
18608
|
-
"description": "Text that appears above the input, on the right, to add additional context. If you need to display HTML in this text, use the `context-note` slot instead.",
|
|
18609
|
-
"fieldName": "contextNote"
|
|
19565
|
+
"kind": "method",
|
|
19566
|
+
"name": "scheduleUpdateFilters",
|
|
19567
|
+
"privacy": "private"
|
|
18610
19568
|
},
|
|
18611
19569
|
{
|
|
18612
|
-
"
|
|
18613
|
-
"
|
|
18614
|
-
|
|
18615
|
-
},
|
|
18616
|
-
"default": "'bottom'",
|
|
18617
|
-
"description": "The preferred placement of the selects menu. Note that the actual placement may vary as needed to keep the listbox\ninside the viewport.",
|
|
18618
|
-
"fieldName": "placement"
|
|
19570
|
+
"kind": "field",
|
|
19571
|
+
"name": "handleContentSlotChange",
|
|
19572
|
+
"privacy": "private"
|
|
18619
19573
|
},
|
|
18620
19574
|
{
|
|
18621
|
-
"
|
|
18622
|
-
"
|
|
18623
|
-
|
|
18624
|
-
},
|
|
18625
|
-
"default": "''",
|
|
18626
|
-
"description": "The select's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
18627
|
-
"fieldName": "helpText"
|
|
19575
|
+
"kind": "field",
|
|
19576
|
+
"name": "handleFiltersSlotChange",
|
|
19577
|
+
"privacy": "private"
|
|
18628
19578
|
},
|
|
18629
19579
|
{
|
|
18630
|
-
"
|
|
18631
|
-
"
|
|
18632
|
-
|
|
18633
|
-
},
|
|
18634
|
-
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
18635
|
-
"fieldName": "form"
|
|
19580
|
+
"kind": "method",
|
|
19581
|
+
"name": "recomputeFiltersFromSlot",
|
|
19582
|
+
"privacy": "private"
|
|
18636
19583
|
},
|
|
18637
19584
|
{
|
|
18638
|
-
"
|
|
19585
|
+
"kind": "method",
|
|
19586
|
+
"name": "updateFilters"
|
|
19587
|
+
},
|
|
19588
|
+
{
|
|
19589
|
+
"kind": "method",
|
|
19590
|
+
"name": "updateFilter",
|
|
19591
|
+
"parameters": [
|
|
19592
|
+
{
|
|
19593
|
+
"name": "e",
|
|
19594
|
+
"type": {
|
|
19595
|
+
"text": "ZnChangeEvent"
|
|
19596
|
+
}
|
|
19597
|
+
}
|
|
19598
|
+
]
|
|
19599
|
+
}
|
|
19600
|
+
],
|
|
19601
|
+
"events": [
|
|
19602
|
+
{
|
|
19603
|
+
"description": "Emitted as an example.",
|
|
19604
|
+
"name": "zn-event-name"
|
|
19605
|
+
}
|
|
19606
|
+
],
|
|
19607
|
+
"attributes": [
|
|
19608
|
+
{
|
|
19609
|
+
"name": "position",
|
|
18639
19610
|
"type": {
|
|
18640
|
-
"text": "
|
|
19611
|
+
"text": "'top-end' | 'top-start' | 'bottom-end' | 'bottom-start'"
|
|
18641
19612
|
},
|
|
18642
|
-
"default": "
|
|
18643
|
-
"
|
|
18644
|
-
"fieldName": "required"
|
|
19613
|
+
"default": "'bottom-start'",
|
|
19614
|
+
"fieldName": "position"
|
|
18645
19615
|
},
|
|
18646
19616
|
{
|
|
18647
|
-
"name": "
|
|
19617
|
+
"name": "store-key",
|
|
18648
19618
|
"type": {
|
|
18649
19619
|
"text": "string"
|
|
18650
19620
|
},
|
|
18651
|
-
"
|
|
18652
|
-
"fieldName": "cacheKey"
|
|
19621
|
+
"fieldName": "storeKey"
|
|
18653
19622
|
},
|
|
18654
19623
|
{
|
|
18655
|
-
"name": "
|
|
19624
|
+
"name": "no-scroll",
|
|
18656
19625
|
"type": {
|
|
18657
|
-
"text": "
|
|
19626
|
+
"text": "boolean"
|
|
18658
19627
|
},
|
|
18659
|
-
"
|
|
18660
|
-
"fieldName": "getTag"
|
|
19628
|
+
"fieldName": "noScroll"
|
|
18661
19629
|
}
|
|
18662
19630
|
],
|
|
18663
19631
|
"superclass": {
|
|
@@ -18665,17 +19633,15 @@
|
|
|
18665
19633
|
"module": "/src/internal/zinc-element"
|
|
18666
19634
|
},
|
|
18667
19635
|
"summary": "Short summary of the component's intended use.",
|
|
18668
|
-
"tagNameWithoutPrefix": "
|
|
18669
|
-
"tagName": "zn-
|
|
19636
|
+
"tagNameWithoutPrefix": "settings-container",
|
|
19637
|
+
"tagName": "zn-settings-container",
|
|
18670
19638
|
"customElement": true,
|
|
18671
|
-
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/
|
|
18672
|
-
"documentation": "https://zinc.style/components/
|
|
19639
|
+
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/settings-container\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
19640
|
+
"documentation": "https://zinc.style/components/settings-container",
|
|
18673
19641
|
"status": "experimental",
|
|
18674
19642
|
"since": "1.0",
|
|
18675
19643
|
"dependencies": [
|
|
18676
|
-
"zn-
|
|
18677
|
-
"zn-popup",
|
|
18678
|
-
"zn-tag"
|
|
19644
|
+
"zn-example"
|
|
18679
19645
|
]
|
|
18680
19646
|
}
|
|
18681
19647
|
],
|
|
@@ -18684,8 +19650,8 @@
|
|
|
18684
19650
|
"kind": "js",
|
|
18685
19651
|
"name": "default",
|
|
18686
19652
|
"declaration": {
|
|
18687
|
-
"name": "
|
|
18688
|
-
"module": "components/
|
|
19653
|
+
"name": "ZnSettingsContainer",
|
|
19654
|
+
"module": "components/settings-container/settings-container.js"
|
|
18689
19655
|
}
|
|
18690
19656
|
}
|
|
18691
19657
|
]
|
|
@@ -19490,6 +20456,16 @@
|
|
|
19490
20456
|
"default": "false",
|
|
19491
20457
|
"attribute": "width-container",
|
|
19492
20458
|
"reflects": true
|
|
20459
|
+
},
|
|
20460
|
+
{
|
|
20461
|
+
"kind": "field",
|
|
20462
|
+
"name": "formContainer",
|
|
20463
|
+
"type": {
|
|
20464
|
+
"text": "boolean"
|
|
20465
|
+
},
|
|
20466
|
+
"default": "false",
|
|
20467
|
+
"attribute": "form-container",
|
|
20468
|
+
"reflects": true
|
|
19493
20469
|
}
|
|
19494
20470
|
],
|
|
19495
20471
|
"events": [
|
|
@@ -19617,6 +20593,14 @@
|
|
|
19617
20593
|
},
|
|
19618
20594
|
"default": "false",
|
|
19619
20595
|
"fieldName": "widthContainer"
|
|
20596
|
+
},
|
|
20597
|
+
{
|
|
20598
|
+
"name": "form-container",
|
|
20599
|
+
"type": {
|
|
20600
|
+
"text": "boolean"
|
|
20601
|
+
},
|
|
20602
|
+
"default": "false",
|
|
20603
|
+
"fieldName": "formContainer"
|
|
19620
20604
|
}
|
|
19621
20605
|
],
|
|
19622
20606
|
"superclass": {
|
|
@@ -19769,21 +20753,13 @@
|
|
|
19769
20753
|
},
|
|
19770
20754
|
{
|
|
19771
20755
|
"kind": "method",
|
|
19772
|
-
"name": "
|
|
19773
|
-
"privacy": "public"
|
|
19774
|
-
"parameters": [
|
|
19775
|
-
{
|
|
19776
|
-
"name": "e",
|
|
19777
|
-
"type": {
|
|
19778
|
-
"text": "MouseEvent"
|
|
19779
|
-
}
|
|
19780
|
-
}
|
|
19781
|
-
]
|
|
20756
|
+
"name": "handleTriggerClick",
|
|
20757
|
+
"privacy": "public"
|
|
19782
20758
|
},
|
|
19783
20759
|
{
|
|
19784
20760
|
"kind": "method",
|
|
19785
|
-
"name": "
|
|
19786
|
-
"privacy": "
|
|
20761
|
+
"name": "renderTriggerSlot",
|
|
20762
|
+
"privacy": "private"
|
|
19787
20763
|
},
|
|
19788
20764
|
{
|
|
19789
20765
|
"kind": "method",
|
|
@@ -20452,6 +21428,15 @@
|
|
|
20452
21428
|
"default": "false",
|
|
20453
21429
|
"attribute": "show-delta"
|
|
20454
21430
|
},
|
|
21431
|
+
{
|
|
21432
|
+
"kind": "field",
|
|
21433
|
+
"name": "color",
|
|
21434
|
+
"type": {
|
|
21435
|
+
"text": "'primary' | 'error' | 'info' | 'warning' | 'success' | 'neutral'"
|
|
21436
|
+
},
|
|
21437
|
+
"default": "'primary'",
|
|
21438
|
+
"attribute": "color"
|
|
21439
|
+
},
|
|
20455
21440
|
{
|
|
20456
21441
|
"kind": "method",
|
|
20457
21442
|
"name": "calcPercentageDifference"
|
|
@@ -20532,6 +21517,14 @@
|
|
|
20532
21517
|
},
|
|
20533
21518
|
"default": "false",
|
|
20534
21519
|
"fieldName": "showDelta"
|
|
21520
|
+
},
|
|
21521
|
+
{
|
|
21522
|
+
"name": "color",
|
|
21523
|
+
"type": {
|
|
21524
|
+
"text": "'primary' | 'error' | 'info' | 'warning' | 'success' | 'neutral'"
|
|
21525
|
+
},
|
|
21526
|
+
"default": "'primary'",
|
|
21527
|
+
"fieldName": "color"
|
|
20535
21528
|
}
|
|
20536
21529
|
],
|
|
20537
21530
|
"superclass": {
|
|
@@ -20852,6 +21845,42 @@
|
|
|
20852
21845
|
"default": "false",
|
|
20853
21846
|
"attribute": "accent"
|
|
20854
21847
|
},
|
|
21848
|
+
{
|
|
21849
|
+
"kind": "field",
|
|
21850
|
+
"name": "center",
|
|
21851
|
+
"type": {
|
|
21852
|
+
"text": "boolean"
|
|
21853
|
+
},
|
|
21854
|
+
"default": "false",
|
|
21855
|
+
"attribute": "center"
|
|
21856
|
+
},
|
|
21857
|
+
{
|
|
21858
|
+
"kind": "field",
|
|
21859
|
+
"name": "font",
|
|
21860
|
+
"type": {
|
|
21861
|
+
"text": "string"
|
|
21862
|
+
},
|
|
21863
|
+
"default": "''",
|
|
21864
|
+
"attribute": "font"
|
|
21865
|
+
},
|
|
21866
|
+
{
|
|
21867
|
+
"kind": "field",
|
|
21868
|
+
"name": "width",
|
|
21869
|
+
"type": {
|
|
21870
|
+
"text": "string"
|
|
21871
|
+
},
|
|
21872
|
+
"default": "''",
|
|
21873
|
+
"attribute": "width"
|
|
21874
|
+
},
|
|
21875
|
+
{
|
|
21876
|
+
"kind": "field",
|
|
21877
|
+
"name": "height",
|
|
21878
|
+
"type": {
|
|
21879
|
+
"text": "string"
|
|
21880
|
+
},
|
|
21881
|
+
"default": "''",
|
|
21882
|
+
"attribute": "height"
|
|
21883
|
+
},
|
|
20855
21884
|
{
|
|
20856
21885
|
"kind": "field",
|
|
20857
21886
|
"name": "pad",
|
|
@@ -20945,6 +21974,38 @@
|
|
|
20945
21974
|
"default": "false",
|
|
20946
21975
|
"fieldName": "accent"
|
|
20947
21976
|
},
|
|
21977
|
+
{
|
|
21978
|
+
"name": "center",
|
|
21979
|
+
"type": {
|
|
21980
|
+
"text": "boolean"
|
|
21981
|
+
},
|
|
21982
|
+
"default": "false",
|
|
21983
|
+
"fieldName": "center"
|
|
21984
|
+
},
|
|
21985
|
+
{
|
|
21986
|
+
"name": "font",
|
|
21987
|
+
"type": {
|
|
21988
|
+
"text": "string"
|
|
21989
|
+
},
|
|
21990
|
+
"default": "''",
|
|
21991
|
+
"fieldName": "font"
|
|
21992
|
+
},
|
|
21993
|
+
{
|
|
21994
|
+
"name": "width",
|
|
21995
|
+
"type": {
|
|
21996
|
+
"text": "string"
|
|
21997
|
+
},
|
|
21998
|
+
"default": "''",
|
|
21999
|
+
"fieldName": "width"
|
|
22000
|
+
},
|
|
22001
|
+
{
|
|
22002
|
+
"name": "height",
|
|
22003
|
+
"type": {
|
|
22004
|
+
"text": "string"
|
|
22005
|
+
},
|
|
22006
|
+
"default": "''",
|
|
22007
|
+
"fieldName": "height"
|
|
22008
|
+
},
|
|
20948
22009
|
{
|
|
20949
22010
|
"name": "pad",
|
|
20950
22011
|
"type": {
|
|
@@ -21499,6 +22560,15 @@
|
|
|
21499
22560
|
"privacy": "private",
|
|
21500
22561
|
"default": "new Map<string, Element[]>()"
|
|
21501
22562
|
},
|
|
22563
|
+
{
|
|
22564
|
+
"kind": "field",
|
|
22565
|
+
"name": "_activeTab",
|
|
22566
|
+
"type": {
|
|
22567
|
+
"text": "Element | null"
|
|
22568
|
+
},
|
|
22569
|
+
"privacy": "private",
|
|
22570
|
+
"default": "null"
|
|
22571
|
+
},
|
|
21502
22572
|
{
|
|
21503
22573
|
"kind": "field",
|
|
21504
22574
|
"name": "_tabs",
|
|
@@ -22321,6 +23391,15 @@
|
|
|
22321
23391
|
"default": "''",
|
|
22322
23392
|
"description": "The default value of the form control. Primarily used for resetting the form control."
|
|
22323
23393
|
},
|
|
23394
|
+
{
|
|
23395
|
+
"kind": "field",
|
|
23396
|
+
"name": "transparent",
|
|
23397
|
+
"type": {
|
|
23398
|
+
"text": "boolean"
|
|
23399
|
+
},
|
|
23400
|
+
"default": "false",
|
|
23401
|
+
"attribute": "transparent"
|
|
23402
|
+
},
|
|
22324
23403
|
{
|
|
22325
23404
|
"kind": "field",
|
|
22326
23405
|
"name": "validity",
|
|
@@ -22749,6 +23828,14 @@
|
|
|
22749
23828
|
},
|
|
22750
23829
|
"description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
|
|
22751
23830
|
"fieldName": "inputmode"
|
|
23831
|
+
},
|
|
23832
|
+
{
|
|
23833
|
+
"name": "transparent",
|
|
23834
|
+
"type": {
|
|
23835
|
+
"text": "boolean"
|
|
23836
|
+
},
|
|
23837
|
+
"default": "false",
|
|
23838
|
+
"fieldName": "transparent"
|
|
22752
23839
|
}
|
|
22753
23840
|
],
|
|
22754
23841
|
"superclass": {
|
|
@@ -24220,7 +25307,7 @@
|
|
|
24220
25307
|
"package": {
|
|
24221
25308
|
"name": "@kubex/zinc",
|
|
24222
25309
|
"description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
|
|
24223
|
-
"version": "1.0.
|
|
25310
|
+
"version": "1.0.6",
|
|
24224
25311
|
"author": "",
|
|
24225
25312
|
"license": "MIT"
|
|
24226
25313
|
}
|