@kubex/zinc 1.0.113 → 1.0.115
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/.github/workflows/eleventy_build.yml +5 -5
- package/.github/workflows/js_build_and_deploy.yaml +1 -1
- package/dist/custom-elements.json +2422 -190
- package/dist/vscode.html-custom-data.json +86 -5
- package/dist/web-types.json +251 -9
- package/dist/zn.d.ts +518 -340
- package/dist/zn.min.css +1 -1
- package/dist/zn.min.js +960 -882
- package/docs/eleventy.config.cjs +4 -2
- package/docs/pages/components/header.md +13 -0
- package/docs/pages/components/inline-edit.md +20 -0
- package/docs/pages/components/item.md +12 -1
- package/docs/pages/components/page.md +149 -0
- package/docs/pages/components/progress-bar.md +16 -0
- package/docs/pages/components/select.md +25 -0
- package/docs/pages/components/split-pane.md +6 -7
- package/docs/pages/components/tabs.md +59 -9
- package/package.json +8 -5
- package/scripts/build.js +40 -19
- package/scss/_global-spacing.scss +12 -1
- package/scss/_root.scss +34 -2
- package/scss/mixins/_spacing-mixins.scss +1 -1
- package/scss/shared/layout.scss +15 -2
- package/scss/themes/_light.scss +1 -1
- package/src/components/absolute-container/absolute-container.component.ts +9 -25
- package/src/components/animated-button/animated-button.test.ts +8 -8
- package/src/components/button/button.component.ts +3 -1
- package/src/components/button/button.scss +5 -0
- package/src/components/button-menu/button-menu.component.ts +36 -21
- package/src/components/button-menu/button-menu.test.ts +55 -1
- package/src/components/chart/chart.component.ts +7 -7
- package/src/components/collapsible/collapsible.component.ts +7 -14
- package/src/components/cols/cols.scss +1 -1
- package/src/components/content-block/content-block.component.ts +11 -33
- package/src/components/data-select/data-select.component.ts +7 -11
- package/src/components/data-select/data-select.scss +1 -0
- package/src/components/data-table/data-table.component.ts +10 -14
- package/src/components/dialog/dialog.scss +4 -0
- package/src/components/editor/modules/toolbar/toolbar.component.ts +5 -9
- package/src/components/expanding-action/expanding-action.component.ts +37 -43
- package/src/components/form-group/form-group.component.ts +32 -27
- package/src/components/form-group/form-group.scss +1 -0
- package/src/components/header/header.component.ts +6 -5
- package/src/components/header/header.scss +28 -26
- package/src/components/inline-edit/inline-edit.component.ts +13 -1
- package/src/components/inline-edit/inline-edit.test.ts +50 -0
- package/src/components/input/input.test.ts +77 -0
- package/src/components/input-group/input-group.test.ts +2 -10
- package/src/components/item/item.component.ts +12 -6
- package/src/components/item/item.scss +1 -1
- package/src/components/item/item.test.ts +8 -0
- package/src/components/navbar/navbar.component.ts +222 -48
- package/src/components/navbar/navbar.scss +134 -21
- package/src/components/navbar/navbar.test.ts +114 -9
- package/src/components/option/option.scss +5 -7
- package/src/components/option/option.test.ts +30 -0
- package/src/components/page/index.ts +13 -0
- package/src/components/page/page.component.ts +406 -0
- package/src/components/page/page.scss +325 -0
- package/src/components/page/page.test.ts +397 -0
- package/src/components/page-nav/page-nav.scss +7 -5
- package/src/components/pane/pane.component.ts +2 -2
- package/src/components/pane/pane.scss +0 -1
- package/src/components/pane/pane.test.ts +31 -0
- package/src/components/panel/panel.scss +5 -16
- package/src/components/progress-bar/progress-bar.component.ts +5 -2
- package/src/components/progress-bar/progress-bar.scss +17 -1
- package/src/components/progress-bar/progress-bar.test.ts +12 -0
- package/src/components/scroll-container/scroll-container.component.ts +22 -21
- package/src/components/select/select.component.ts +243 -39
- package/src/components/select/select.scss +36 -5
- package/src/components/select/select.test.ts +533 -0
- package/src/components/settings-container/settings-container.component.ts +15 -19
- package/src/components/settings-container/settings-container.scss +8 -8
- package/src/components/sidebar/sidebar.component.ts +11 -11
- package/src/components/simple-chart/simple-chart.component.ts +6 -7
- package/src/components/sp/sp.scss +46 -15
- package/src/components/sp/sp.test.ts +15 -0
- package/src/components/split-pane/split-pane.component.ts +153 -26
- package/src/components/split-pane/split-pane.scss +89 -13
- package/src/components/split-pane/split-pane.test.ts +187 -0
- package/src/components/style/style.component.ts +8 -0
- package/src/components/tab/index.ts +13 -0
- package/src/components/tab/tab.component.ts +25 -0
- package/src/components/tab/tab.scss +7 -0
- package/src/components/table/table.component.ts +7 -2
- package/src/components/table/table.scss +1 -0
- package/src/components/tabs/tabs.component.ts +75 -70
- package/src/components/tabs/tabs.scss +1 -1
- package/src/components/textarea/textarea.component.ts +5 -8
- package/src/components/tile/tile.scss +2 -2
- package/src/components/translation-group/translation-group.component.ts +15 -14
- package/src/components/translations/translations.component.ts +18 -17
- package/src/components/translations/translations.scss +1 -0
- package/src/components/translations/translations.test.ts +3 -2
- package/src/internal/form.ts +234 -0
- package/src/internal/theme.ts +26 -46
- package/src/internal/zinc-element.ts +12 -7
- package/src/utilities/form.ts +1 -0
- package/src/wc.scss +1 -1
- package/src/zinc.ts +3 -0
|
@@ -17,21 +17,9 @@
|
|
|
17
17
|
}
|
|
18
18
|
],
|
|
19
19
|
"members": [
|
|
20
|
-
{
|
|
21
|
-
"kind": "field",
|
|
22
|
-
"name": "domObserver",
|
|
23
|
-
"type": {
|
|
24
|
-
"text": "MutationObserver"
|
|
25
|
-
},
|
|
26
|
-
"privacy": "private"
|
|
27
|
-
},
|
|
28
20
|
{
|
|
29
21
|
"kind": "method",
|
|
30
22
|
"name": "resize"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"kind": "method",
|
|
34
|
-
"name": "observerDom"
|
|
35
23
|
}
|
|
36
24
|
],
|
|
37
25
|
"superclass": {
|
|
@@ -1336,6 +1324,15 @@
|
|
|
1336
1324
|
"default": "false",
|
|
1337
1325
|
"attribute": "square"
|
|
1338
1326
|
},
|
|
1327
|
+
{
|
|
1328
|
+
"kind": "field",
|
|
1329
|
+
"name": "panelBackground",
|
|
1330
|
+
"type": {
|
|
1331
|
+
"text": "boolean"
|
|
1332
|
+
},
|
|
1333
|
+
"default": "false",
|
|
1334
|
+
"attribute": "panel-bg"
|
|
1335
|
+
},
|
|
1339
1336
|
{
|
|
1340
1337
|
"kind": "field",
|
|
1341
1338
|
"name": "dropdownCloser",
|
|
@@ -1744,6 +1741,14 @@
|
|
|
1744
1741
|
"default": "false",
|
|
1745
1742
|
"fieldName": "square"
|
|
1746
1743
|
},
|
|
1744
|
+
{
|
|
1745
|
+
"name": "panel-bg",
|
|
1746
|
+
"type": {
|
|
1747
|
+
"text": "boolean"
|
|
1748
|
+
},
|
|
1749
|
+
"default": "false",
|
|
1750
|
+
"fieldName": "panelBackground"
|
|
1751
|
+
},
|
|
1747
1752
|
{
|
|
1748
1753
|
"name": "dropdown-closer",
|
|
1749
1754
|
"type": {
|
|
@@ -2264,20 +2269,23 @@
|
|
|
2264
2269
|
},
|
|
2265
2270
|
{
|
|
2266
2271
|
"kind": "field",
|
|
2267
|
-
"name": "
|
|
2272
|
+
"name": "_resizeRafId",
|
|
2268
2273
|
"type": {
|
|
2269
|
-
"text": "
|
|
2274
|
+
"text": "number"
|
|
2270
2275
|
},
|
|
2271
2276
|
"privacy": "private",
|
|
2272
|
-
"default": "
|
|
2277
|
+
"default": "0"
|
|
2273
2278
|
},
|
|
2274
2279
|
{
|
|
2275
|
-
"kind": "
|
|
2276
|
-
"name": "
|
|
2280
|
+
"kind": "field",
|
|
2281
|
+
"name": "resizeObserver",
|
|
2282
|
+
"privacy": "private",
|
|
2283
|
+
"readonly": true,
|
|
2284
|
+
"default": "new ResizeController(this, { target: null, callback: () => { if (this._resizeRafId) return; this._resizeRafId = requestAnimationFrame(() => { this._resizeRafId = 0; this.containerWidth = this.offsetWidth; }); }, })"
|
|
2277
2285
|
},
|
|
2278
2286
|
{
|
|
2279
|
-
"kind": "
|
|
2280
|
-
"name": "
|
|
2287
|
+
"kind": "method",
|
|
2288
|
+
"name": "watchContainerMaxWidth"
|
|
2281
2289
|
},
|
|
2282
2290
|
{
|
|
2283
2291
|
"kind": "method",
|
|
@@ -2307,6 +2315,19 @@
|
|
|
2307
2315
|
}
|
|
2308
2316
|
]
|
|
2309
2317
|
},
|
|
2318
|
+
{
|
|
2319
|
+
"kind": "method",
|
|
2320
|
+
"name": "getButtonLabel",
|
|
2321
|
+
"privacy": "private",
|
|
2322
|
+
"parameters": [
|
|
2323
|
+
{
|
|
2324
|
+
"name": "button",
|
|
2325
|
+
"type": {
|
|
2326
|
+
"text": "ZnButton"
|
|
2327
|
+
}
|
|
2328
|
+
}
|
|
2329
|
+
]
|
|
2330
|
+
},
|
|
2310
2331
|
{
|
|
2311
2332
|
"kind": "method",
|
|
2312
2333
|
"name": "addButton",
|
|
@@ -2605,19 +2626,18 @@
|
|
|
2605
2626
|
},
|
|
2606
2627
|
{
|
|
2607
2628
|
"kind": "field",
|
|
2608
|
-
"name": "
|
|
2629
|
+
"name": "liveTimer",
|
|
2609
2630
|
"type": {
|
|
2610
|
-
"text": "
|
|
2631
|
+
"text": "number | undefined"
|
|
2611
2632
|
},
|
|
2612
2633
|
"privacy": "private"
|
|
2613
2634
|
},
|
|
2614
2635
|
{
|
|
2615
2636
|
"kind": "field",
|
|
2616
|
-
"name": "
|
|
2617
|
-
"
|
|
2618
|
-
|
|
2619
|
-
}
|
|
2620
|
-
"privacy": "private"
|
|
2637
|
+
"name": "resizeObserver",
|
|
2638
|
+
"privacy": "private",
|
|
2639
|
+
"readonly": true,
|
|
2640
|
+
"default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => this.chart?.resize(), })"
|
|
2621
2641
|
},
|
|
2622
2642
|
{
|
|
2623
2643
|
"kind": "method",
|
|
@@ -4334,10 +4354,9 @@
|
|
|
4334
4354
|
{
|
|
4335
4355
|
"kind": "field",
|
|
4336
4356
|
"name": "observer",
|
|
4337
|
-
"
|
|
4338
|
-
|
|
4339
|
-
},
|
|
4340
|
-
"privacy": "private"
|
|
4357
|
+
"privacy": "private",
|
|
4358
|
+
"readonly": true,
|
|
4359
|
+
"default": "new MutationController(this, { target: null, config: {childList: true, subtree: true}, callback: () => this.recalculateNumberOfItems(), })"
|
|
4341
4360
|
},
|
|
4342
4361
|
{
|
|
4343
4362
|
"kind": "field",
|
|
@@ -5159,10 +5178,9 @@
|
|
|
5159
5178
|
{
|
|
5160
5179
|
"kind": "field",
|
|
5161
5180
|
"name": "_footerObserver",
|
|
5162
|
-
"
|
|
5163
|
-
|
|
5164
|
-
},
|
|
5165
|
-
"privacy": "private"
|
|
5181
|
+
"privacy": "private",
|
|
5182
|
+
"readonly": true,
|
|
5183
|
+
"default": "new MutationController(this, { target: null, config: {subtree: true, childList: true, attributes: true, attributeFilter: ['href', 'download', 'caption']}, callback: () => this._debouncedReplace(), })"
|
|
5166
5184
|
},
|
|
5167
5185
|
{
|
|
5168
5186
|
"kind": "field",
|
|
@@ -5843,10 +5861,9 @@
|
|
|
5843
5861
|
{
|
|
5844
5862
|
"kind": "field",
|
|
5845
5863
|
"name": "selectObserver",
|
|
5846
|
-
"
|
|
5847
|
-
|
|
5848
|
-
},
|
|
5849
|
-
"privacy": "private"
|
|
5864
|
+
"privacy": "private",
|
|
5865
|
+
"readonly": true,
|
|
5866
|
+
"default": "new MutationController(this, { target: null, config: {attributes: true, attributeFilter: ['disabled']}, callback: () => this._syncDisabledState(), })"
|
|
5850
5867
|
},
|
|
5851
5868
|
{
|
|
5852
5869
|
"kind": "field",
|
|
@@ -6524,10 +6541,9 @@
|
|
|
6524
6541
|
{
|
|
6525
6542
|
"kind": "field",
|
|
6526
6543
|
"name": "resizeObserver",
|
|
6527
|
-
"
|
|
6528
|
-
|
|
6529
|
-
},
|
|
6530
|
-
"privacy": "private"
|
|
6544
|
+
"privacy": "private",
|
|
6545
|
+
"readonly": true,
|
|
6546
|
+
"default": "new ResizeController(this, { target: null, callback: () => { if (this.tableContainer) { this.tableContainer.scrollIntoView({behavior: 'smooth', block: 'nearest'}); } }, })"
|
|
6531
6547
|
},
|
|
6532
6548
|
{
|
|
6533
6549
|
"kind": "field",
|
|
@@ -10628,19 +10644,26 @@
|
|
|
10628
10644
|
},
|
|
10629
10645
|
{
|
|
10630
10646
|
"kind": "field",
|
|
10631
|
-
"name": "
|
|
10647
|
+
"name": "_metaObserved",
|
|
10632
10648
|
"type": {
|
|
10633
|
-
"text": "
|
|
10649
|
+
"text": "boolean"
|
|
10634
10650
|
},
|
|
10635
|
-
"privacy": "private"
|
|
10651
|
+
"privacy": "private",
|
|
10652
|
+
"default": "false"
|
|
10653
|
+
},
|
|
10654
|
+
{
|
|
10655
|
+
"kind": "field",
|
|
10656
|
+
"name": "_countObserver",
|
|
10657
|
+
"privacy": "private",
|
|
10658
|
+
"readonly": true,
|
|
10659
|
+
"default": "new MutationController(this, { target: null, config: {subtree: true, attributes: true, attributeFilter: ['content'], childList: true}, callback: () => { const appContent = deepQuerySelectorAll('app-content', this, '')[0]; const metaCount = appContent?.shadowRoot?.querySelector('meta[name=\"count\"]'); if (!metaCount) return; const count = metaCount.getAttribute('content'); const notification = this.shadowRoot?.querySelector('.expanding-action__dropdown zn-button'); if (count && notification) { notification.setAttribute('notification', count); } }, })"
|
|
10636
10660
|
},
|
|
10637
10661
|
{
|
|
10638
10662
|
"kind": "field",
|
|
10639
10663
|
"name": "_colorObserver",
|
|
10640
|
-
"
|
|
10641
|
-
|
|
10642
|
-
},
|
|
10643
|
-
"privacy": "private"
|
|
10664
|
+
"privacy": "private",
|
|
10665
|
+
"readonly": true,
|
|
10666
|
+
"default": "new MutationController(this, { target: null, config: {subtree: true, attributes: true, attributeFilter: ['content'], childList: true}, callback: () => { const appContent = deepQuerySelectorAll('app-content', this, '')[0]; const metaColor = appContent?.shadowRoot?.querySelector('meta[name=\"color\"]'); if (!metaColor) return; const color = metaColor.getAttribute('content'); if (color) { this.color = color; } }, })"
|
|
10644
10667
|
},
|
|
10645
10668
|
{
|
|
10646
10669
|
"kind": "method",
|
|
@@ -11876,6 +11899,24 @@
|
|
|
11876
11899
|
"default": "''",
|
|
11877
11900
|
"description": "The form groups help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
11878
11901
|
"attribute": "help-text"
|
|
11902
|
+
},
|
|
11903
|
+
{
|
|
11904
|
+
"kind": "field",
|
|
11905
|
+
"name": "forceCols",
|
|
11906
|
+
"type": {
|
|
11907
|
+
"text": "boolean"
|
|
11908
|
+
},
|
|
11909
|
+
"default": "false",
|
|
11910
|
+
"attribute": "cols"
|
|
11911
|
+
},
|
|
11912
|
+
{
|
|
11913
|
+
"kind": "field",
|
|
11914
|
+
"name": "layout",
|
|
11915
|
+
"type": {
|
|
11916
|
+
"text": "string"
|
|
11917
|
+
},
|
|
11918
|
+
"default": "\"1,2\"",
|
|
11919
|
+
"attribute": "layout"
|
|
11879
11920
|
}
|
|
11880
11921
|
],
|
|
11881
11922
|
"attributes": [
|
|
@@ -11905,6 +11946,22 @@
|
|
|
11905
11946
|
"default": "''",
|
|
11906
11947
|
"description": "The form groups help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
11907
11948
|
"fieldName": "helpText"
|
|
11949
|
+
},
|
|
11950
|
+
{
|
|
11951
|
+
"name": "cols",
|
|
11952
|
+
"type": {
|
|
11953
|
+
"text": "boolean"
|
|
11954
|
+
},
|
|
11955
|
+
"default": "false",
|
|
11956
|
+
"fieldName": "forceCols"
|
|
11957
|
+
},
|
|
11958
|
+
{
|
|
11959
|
+
"name": "layout",
|
|
11960
|
+
"type": {
|
|
11961
|
+
"text": "string"
|
|
11962
|
+
},
|
|
11963
|
+
"default": "\"1,2\"",
|
|
11964
|
+
"fieldName": "layout"
|
|
11908
11965
|
}
|
|
11909
11966
|
],
|
|
11910
11967
|
"superclass": {
|
|
@@ -12060,6 +12117,15 @@
|
|
|
12060
12117
|
},
|
|
12061
12118
|
"attribute": "previous-target"
|
|
12062
12119
|
},
|
|
12120
|
+
{
|
|
12121
|
+
"kind": "field",
|
|
12122
|
+
"name": "hideBreadcrumb",
|
|
12123
|
+
"type": {
|
|
12124
|
+
"text": "boolean"
|
|
12125
|
+
},
|
|
12126
|
+
"default": "false",
|
|
12127
|
+
"attribute": "hide-breadcrumb"
|
|
12128
|
+
},
|
|
12063
12129
|
{
|
|
12064
12130
|
"kind": "field",
|
|
12065
12131
|
"name": "navbar",
|
|
@@ -12166,6 +12232,14 @@
|
|
|
12166
12232
|
"text": "string"
|
|
12167
12233
|
},
|
|
12168
12234
|
"fieldName": "previousTarget"
|
|
12235
|
+
},
|
|
12236
|
+
{
|
|
12237
|
+
"name": "hide-breadcrumb",
|
|
12238
|
+
"type": {
|
|
12239
|
+
"text": "boolean"
|
|
12240
|
+
},
|
|
12241
|
+
"default": "false",
|
|
12242
|
+
"fieldName": "hideBreadcrumb"
|
|
12169
12243
|
}
|
|
12170
12244
|
],
|
|
12171
12245
|
"superclass": {
|
|
@@ -13667,6 +13741,15 @@
|
|
|
13667
13741
|
"description": "Enables search/filtering on select inputs.",
|
|
13668
13742
|
"attribute": "search"
|
|
13669
13743
|
},
|
|
13744
|
+
{
|
|
13745
|
+
"kind": "field",
|
|
13746
|
+
"name": "freeText",
|
|
13747
|
+
"type": {
|
|
13748
|
+
"text": "boolean"
|
|
13749
|
+
},
|
|
13750
|
+
"description": "Allows entering values that aren't in the options list on select inputs (\"free text\"). Setting this implies\n`input-type=\"select\"` (unless a data `provider` is used) and forwards the behavior to the inner `<zn-select>`.",
|
|
13751
|
+
"attribute": "free-text"
|
|
13752
|
+
},
|
|
13670
13753
|
{
|
|
13671
13754
|
"kind": "field",
|
|
13672
13755
|
"name": "helpText",
|
|
@@ -14086,6 +14169,14 @@
|
|
|
14086
14169
|
"description": "Enables search/filtering on select inputs.",
|
|
14087
14170
|
"fieldName": "search"
|
|
14088
14171
|
},
|
|
14172
|
+
{
|
|
14173
|
+
"name": "free-text",
|
|
14174
|
+
"type": {
|
|
14175
|
+
"text": "boolean"
|
|
14176
|
+
},
|
|
14177
|
+
"description": "Allows entering values that aren't in the options list on select inputs (\"free text\"). Setting this implies\n`input-type=\"select\"` (unless a data `provider` is used) and forwards the behavior to the inner `<zn-select>`.",
|
|
14178
|
+
"fieldName": "freeText"
|
|
14179
|
+
},
|
|
14089
14180
|
{
|
|
14090
14181
|
"name": "help-text",
|
|
14091
14182
|
"type": {
|
|
@@ -15683,6 +15774,14 @@
|
|
|
15683
15774
|
},
|
|
15684
15775
|
"attribute": "no-padding"
|
|
15685
15776
|
},
|
|
15777
|
+
{
|
|
15778
|
+
"kind": "field",
|
|
15779
|
+
"name": "flush",
|
|
15780
|
+
"type": {
|
|
15781
|
+
"text": "boolean"
|
|
15782
|
+
},
|
|
15783
|
+
"attribute": "flush"
|
|
15784
|
+
},
|
|
15686
15785
|
{
|
|
15687
15786
|
"kind": "field",
|
|
15688
15787
|
"name": "alignEnd",
|
|
@@ -15799,6 +15898,13 @@
|
|
|
15799
15898
|
},
|
|
15800
15899
|
"fieldName": "noPadding"
|
|
15801
15900
|
},
|
|
15901
|
+
{
|
|
15902
|
+
"name": "flush",
|
|
15903
|
+
"type": {
|
|
15904
|
+
"text": "boolean"
|
|
15905
|
+
},
|
|
15906
|
+
"fieldName": "flush"
|
|
15907
|
+
},
|
|
15802
15908
|
{
|
|
15803
15909
|
"name": "align-end",
|
|
15804
15910
|
"type": {
|
|
@@ -18065,8 +18171,12 @@
|
|
|
18065
18171
|
"name": ""
|
|
18066
18172
|
},
|
|
18067
18173
|
{
|
|
18068
|
-
"description": "
|
|
18069
|
-
"name": "
|
|
18174
|
+
"description": "Expanding action panels rendered alongside the navbar items.",
|
|
18175
|
+
"name": "expand"
|
|
18176
|
+
},
|
|
18177
|
+
{
|
|
18178
|
+
"description": "Content rendered below the navbar row (e.g. chips, filters).",
|
|
18179
|
+
"name": "bottom"
|
|
18070
18180
|
}
|
|
18071
18181
|
],
|
|
18072
18182
|
"members": [
|
|
@@ -18252,9 +18362,10 @@
|
|
|
18252
18362
|
"kind": "field",
|
|
18253
18363
|
"name": "_expanding",
|
|
18254
18364
|
"type": {
|
|
18255
|
-
"text": "
|
|
18365
|
+
"text": "Element[]"
|
|
18256
18366
|
},
|
|
18257
|
-
"privacy": "private"
|
|
18367
|
+
"privacy": "private",
|
|
18368
|
+
"default": "[]"
|
|
18258
18369
|
},
|
|
18259
18370
|
{
|
|
18260
18371
|
"kind": "field",
|
|
@@ -18267,12 +18378,10 @@
|
|
|
18267
18378
|
},
|
|
18268
18379
|
{
|
|
18269
18380
|
"kind": "field",
|
|
18270
|
-
"name": "
|
|
18271
|
-
"type": {
|
|
18272
|
-
"text": "ResizeObserver | null"
|
|
18273
|
-
},
|
|
18381
|
+
"name": "_itemsObserver",
|
|
18274
18382
|
"privacy": "private",
|
|
18275
|
-
"
|
|
18383
|
+
"readonly": true,
|
|
18384
|
+
"default": "new MutationController(this, { target: null, config: {childList: true}, callback: () => this._updateVisibility(), })"
|
|
18276
18385
|
},
|
|
18277
18386
|
{
|
|
18278
18387
|
"kind": "field",
|
|
@@ -18301,6 +18410,13 @@
|
|
|
18301
18410
|
"privacy": "private",
|
|
18302
18411
|
"default": "null"
|
|
18303
18412
|
},
|
|
18413
|
+
{
|
|
18414
|
+
"kind": "field",
|
|
18415
|
+
"name": "_cloneSources",
|
|
18416
|
+
"privacy": "private",
|
|
18417
|
+
"readonly": true,
|
|
18418
|
+
"default": "new WeakMap<HTMLElement, HTMLElement>()"
|
|
18419
|
+
},
|
|
18304
18420
|
{
|
|
18305
18421
|
"kind": "field",
|
|
18306
18422
|
"name": "_navItemsGap",
|
|
@@ -18330,13 +18446,22 @@
|
|
|
18330
18446
|
},
|
|
18331
18447
|
{
|
|
18332
18448
|
"kind": "field",
|
|
18333
|
-
"name": "
|
|
18449
|
+
"name": "_resizeFrame",
|
|
18334
18450
|
"type": {
|
|
18335
|
-
"text": "
|
|
18451
|
+
"text": "number | null"
|
|
18336
18452
|
},
|
|
18337
18453
|
"privacy": "private",
|
|
18338
18454
|
"default": "null"
|
|
18339
18455
|
},
|
|
18456
|
+
{
|
|
18457
|
+
"kind": "field",
|
|
18458
|
+
"name": "_resizeController",
|
|
18459
|
+
"type": {
|
|
18460
|
+
"text": "ResizeController"
|
|
18461
|
+
},
|
|
18462
|
+
"privacy": "private",
|
|
18463
|
+
"default": "new ResizeController(this, { callback: () => this._scheduleResize(), })"
|
|
18464
|
+
},
|
|
18340
18465
|
{
|
|
18341
18466
|
"kind": "field",
|
|
18342
18467
|
"name": "_store",
|
|
@@ -18357,15 +18482,163 @@
|
|
|
18357
18482
|
}
|
|
18358
18483
|
]
|
|
18359
18484
|
},
|
|
18485
|
+
{
|
|
18486
|
+
"kind": "method",
|
|
18487
|
+
"name": "addExpandingAction",
|
|
18488
|
+
"parameters": [
|
|
18489
|
+
{
|
|
18490
|
+
"name": "action",
|
|
18491
|
+
"type": {
|
|
18492
|
+
"text": "Element"
|
|
18493
|
+
}
|
|
18494
|
+
}
|
|
18495
|
+
]
|
|
18496
|
+
},
|
|
18497
|
+
{
|
|
18498
|
+
"kind": "field",
|
|
18499
|
+
"name": "_expandingActionObserver",
|
|
18500
|
+
"privacy": "private",
|
|
18501
|
+
"readonly": true,
|
|
18502
|
+
"default": "new MutationController(this, { target: null, config: {attributes: true, attributeFilter: ['open', 'method', 'basis']}, callback: () => this._scheduleResize(), })"
|
|
18503
|
+
},
|
|
18504
|
+
{
|
|
18505
|
+
"kind": "field",
|
|
18506
|
+
"name": "_scheduleResize",
|
|
18507
|
+
"privacy": "private"
|
|
18508
|
+
},
|
|
18509
|
+
{
|
|
18510
|
+
"kind": "method",
|
|
18511
|
+
"name": "_observeExpandingAction",
|
|
18512
|
+
"privacy": "private",
|
|
18513
|
+
"parameters": [
|
|
18514
|
+
{
|
|
18515
|
+
"name": "action",
|
|
18516
|
+
"type": {
|
|
18517
|
+
"text": "Element"
|
|
18518
|
+
}
|
|
18519
|
+
}
|
|
18520
|
+
]
|
|
18521
|
+
},
|
|
18522
|
+
{
|
|
18523
|
+
"kind": "method",
|
|
18524
|
+
"name": "_adoptNewLightItems",
|
|
18525
|
+
"privacy": "private",
|
|
18526
|
+
"parameters": [
|
|
18527
|
+
{
|
|
18528
|
+
"name": "mutations",
|
|
18529
|
+
"type": {
|
|
18530
|
+
"text": "MutationRecord[]"
|
|
18531
|
+
}
|
|
18532
|
+
}
|
|
18533
|
+
]
|
|
18534
|
+
},
|
|
18360
18535
|
{
|
|
18361
18536
|
"kind": "field",
|
|
18362
18537
|
"name": "_updateVisibility",
|
|
18363
18538
|
"privacy": "private"
|
|
18364
18539
|
},
|
|
18540
|
+
{
|
|
18541
|
+
"kind": "method",
|
|
18542
|
+
"name": "itemCount",
|
|
18543
|
+
"return": {
|
|
18544
|
+
"type": {
|
|
18545
|
+
"text": "number"
|
|
18546
|
+
}
|
|
18547
|
+
}
|
|
18548
|
+
},
|
|
18549
|
+
{
|
|
18550
|
+
"kind": "method",
|
|
18551
|
+
"name": "_resolveAvailableWidth",
|
|
18552
|
+
"privacy": "private",
|
|
18553
|
+
"return": {
|
|
18554
|
+
"type": {
|
|
18555
|
+
"text": "number"
|
|
18556
|
+
}
|
|
18557
|
+
}
|
|
18558
|
+
},
|
|
18559
|
+
{
|
|
18560
|
+
"kind": "method",
|
|
18561
|
+
"name": "_measureTotalItemWidth",
|
|
18562
|
+
"privacy": "private",
|
|
18563
|
+
"return": {
|
|
18564
|
+
"type": {
|
|
18565
|
+
"text": "number"
|
|
18566
|
+
}
|
|
18567
|
+
}
|
|
18568
|
+
},
|
|
18569
|
+
{
|
|
18570
|
+
"kind": "method",
|
|
18571
|
+
"name": "_getItemWidth",
|
|
18572
|
+
"privacy": "private",
|
|
18573
|
+
"return": {
|
|
18574
|
+
"type": {
|
|
18575
|
+
"text": "number"
|
|
18576
|
+
}
|
|
18577
|
+
},
|
|
18578
|
+
"parameters": [
|
|
18579
|
+
{
|
|
18580
|
+
"name": "item",
|
|
18581
|
+
"type": {
|
|
18582
|
+
"text": "HTMLElement"
|
|
18583
|
+
}
|
|
18584
|
+
}
|
|
18585
|
+
]
|
|
18586
|
+
},
|
|
18587
|
+
{
|
|
18588
|
+
"kind": "method",
|
|
18589
|
+
"name": "_getHorizontalSpacing",
|
|
18590
|
+
"privacy": "private",
|
|
18591
|
+
"return": {
|
|
18592
|
+
"type": {
|
|
18593
|
+
"text": "number"
|
|
18594
|
+
}
|
|
18595
|
+
},
|
|
18596
|
+
"parameters": [
|
|
18597
|
+
{
|
|
18598
|
+
"name": "element",
|
|
18599
|
+
"type": {
|
|
18600
|
+
"text": "HTMLElement"
|
|
18601
|
+
}
|
|
18602
|
+
}
|
|
18603
|
+
]
|
|
18604
|
+
},
|
|
18605
|
+
{
|
|
18606
|
+
"kind": "method",
|
|
18607
|
+
"name": "_getMoreItemWidth",
|
|
18608
|
+
"privacy": "private",
|
|
18609
|
+
"return": {
|
|
18610
|
+
"type": {
|
|
18611
|
+
"text": "number"
|
|
18612
|
+
}
|
|
18613
|
+
}
|
|
18614
|
+
},
|
|
18615
|
+
{
|
|
18616
|
+
"kind": "method",
|
|
18617
|
+
"name": "_getExpandableWidth",
|
|
18618
|
+
"privacy": "private",
|
|
18619
|
+
"return": {
|
|
18620
|
+
"type": {
|
|
18621
|
+
"text": "number"
|
|
18622
|
+
}
|
|
18623
|
+
},
|
|
18624
|
+
"parameters": [
|
|
18625
|
+
{
|
|
18626
|
+
"name": "containerWidth",
|
|
18627
|
+
"type": {
|
|
18628
|
+
"text": "number"
|
|
18629
|
+
}
|
|
18630
|
+
}
|
|
18631
|
+
]
|
|
18632
|
+
},
|
|
18365
18633
|
{
|
|
18366
18634
|
"kind": "field",
|
|
18367
18635
|
"name": "handleResize"
|
|
18368
18636
|
},
|
|
18637
|
+
{
|
|
18638
|
+
"kind": "field",
|
|
18639
|
+
"name": "_syncExtendedActive",
|
|
18640
|
+
"privacy": "private"
|
|
18641
|
+
},
|
|
18369
18642
|
{
|
|
18370
18643
|
"kind": "method",
|
|
18371
18644
|
"name": "addItem",
|
|
@@ -18557,7 +18830,7 @@
|
|
|
18557
18830
|
"tagNameWithoutPrefix": "navbar",
|
|
18558
18831
|
"tagName": "zn-navbar",
|
|
18559
18832
|
"customElement": true,
|
|
18560
|
-
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/navbar\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-dropdown\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot
|
|
18833
|
+
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/navbar\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-dropdown\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot expand - Expanding action panels rendered alongside the navbar items.\n * @slot bottom - Content rendered below the navbar row (e.g. chips, filters).\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
18561
18834
|
"documentation": "https://zinc.style/components/navbar",
|
|
18562
18835
|
"status": "experimental",
|
|
18563
18836
|
"since": "1.0",
|
|
@@ -19251,41 +19524,25 @@
|
|
|
19251
19524
|
},
|
|
19252
19525
|
{
|
|
19253
19526
|
"kind": "javascript-module",
|
|
19254
|
-
"path": "components/page
|
|
19527
|
+
"path": "components/page/page.js",
|
|
19255
19528
|
"declarations": [
|
|
19256
19529
|
{
|
|
19257
19530
|
"kind": "class",
|
|
19258
19531
|
"description": "",
|
|
19259
|
-
"name": "
|
|
19260
|
-
"cssProperties": [
|
|
19261
|
-
{
|
|
19262
|
-
"description": "An example CSS custom property.",
|
|
19263
|
-
"name": "--example",
|
|
19264
|
-
"inheritedFrom": {
|
|
19265
|
-
"name": "ZnTabs",
|
|
19266
|
-
"module": "src/components/tabs/tabs.component.ts"
|
|
19267
|
-
}
|
|
19268
|
-
}
|
|
19269
|
-
],
|
|
19270
|
-
"cssParts": [
|
|
19271
|
-
{
|
|
19272
|
-
"description": "The component's base wrapper.",
|
|
19273
|
-
"name": "base",
|
|
19274
|
-
"inheritedFrom": {
|
|
19275
|
-
"name": "ZnTabs",
|
|
19276
|
-
"module": "src/components/tabs/tabs.component.ts"
|
|
19277
|
-
}
|
|
19278
|
-
}
|
|
19279
|
-
],
|
|
19532
|
+
"name": "ZnPage",
|
|
19280
19533
|
"slots": [
|
|
19281
19534
|
{
|
|
19282
|
-
"description": "
|
|
19535
|
+
"description": "Page content. Use zn-tab for named tabs and header-action/header-actions for header actions.",
|
|
19283
19536
|
"name": "",
|
|
19284
19537
|
"inheritedFrom": {
|
|
19285
19538
|
"name": "ZnTabs",
|
|
19286
19539
|
"module": "src/components/tabs/tabs.component.ts"
|
|
19287
19540
|
}
|
|
19288
19541
|
},
|
|
19542
|
+
{
|
|
19543
|
+
"description": "Content rendered below the navbar row (e.g. chips, filters). Forwarded to the navbar's bottom slot.",
|
|
19544
|
+
"name": "bottom"
|
|
19545
|
+
},
|
|
19289
19546
|
{
|
|
19290
19547
|
"description": "An example slot.",
|
|
19291
19548
|
"name": "example",
|
|
@@ -19298,83 +19555,354 @@
|
|
|
19298
19555
|
"members": [
|
|
19299
19556
|
{
|
|
19300
19557
|
"kind": "field",
|
|
19301
|
-
"name": "
|
|
19558
|
+
"name": "dependencies",
|
|
19302
19559
|
"type": {
|
|
19303
|
-
"text": "
|
|
19560
|
+
"text": "object"
|
|
19304
19561
|
},
|
|
19305
|
-
"
|
|
19562
|
+
"static": true,
|
|
19563
|
+
"default": "{ 'zn-button': ZnButton, 'zn-copy-button': ZnCopyButton, 'zn-expanding-action': ZnExpandingAction, 'zn-icon': ZnIcon, 'zn-navbar': ZnNavbar, 'zn-tab': ZnTab }"
|
|
19306
19564
|
},
|
|
19307
19565
|
{
|
|
19308
19566
|
"kind": "field",
|
|
19309
|
-
"name": "
|
|
19567
|
+
"name": "pageSlotController",
|
|
19568
|
+
"privacy": "private",
|
|
19569
|
+
"readonly": true,
|
|
19570
|
+
"default": "new HasSlotController(this, 'breadcrumb', 'actions', 'caption')"
|
|
19571
|
+
},
|
|
19572
|
+
{
|
|
19573
|
+
"kind": "field",
|
|
19574
|
+
"name": "caption",
|
|
19575
|
+
"type": {
|
|
19576
|
+
"text": "string"
|
|
19577
|
+
},
|
|
19578
|
+
"attribute": "caption",
|
|
19579
|
+
"inheritedFrom": {
|
|
19580
|
+
"name": "ZnTabs",
|
|
19581
|
+
"module": "components/tabs/tabs.js"
|
|
19582
|
+
}
|
|
19583
|
+
},
|
|
19584
|
+
{
|
|
19585
|
+
"kind": "field",
|
|
19586
|
+
"name": "entityId",
|
|
19310
19587
|
"type": {
|
|
19311
19588
|
"text": "string"
|
|
19589
|
+
},
|
|
19590
|
+
"attribute": "entity-id"
|
|
19591
|
+
},
|
|
19592
|
+
{
|
|
19593
|
+
"kind": "field",
|
|
19594
|
+
"name": "entityIdShow",
|
|
19595
|
+
"type": {
|
|
19596
|
+
"text": "boolean"
|
|
19597
|
+
},
|
|
19598
|
+
"attribute": "entity-id-show"
|
|
19599
|
+
},
|
|
19600
|
+
{
|
|
19601
|
+
"kind": "field",
|
|
19602
|
+
"name": "fullLocation",
|
|
19603
|
+
"type": {
|
|
19604
|
+
"text": "string"
|
|
19605
|
+
},
|
|
19606
|
+
"attribute": "full-location"
|
|
19607
|
+
},
|
|
19608
|
+
{
|
|
19609
|
+
"kind": "field",
|
|
19610
|
+
"name": "modal",
|
|
19611
|
+
"type": {
|
|
19612
|
+
"text": "boolean"
|
|
19613
|
+
},
|
|
19614
|
+
"default": "false",
|
|
19615
|
+
"attribute": "modal",
|
|
19616
|
+
"reflects": true
|
|
19617
|
+
},
|
|
19618
|
+
{
|
|
19619
|
+
"kind": "field",
|
|
19620
|
+
"name": "nested",
|
|
19621
|
+
"type": {
|
|
19622
|
+
"text": "boolean"
|
|
19623
|
+
},
|
|
19624
|
+
"default": "false",
|
|
19625
|
+
"attribute": "nested",
|
|
19626
|
+
"reflects": true
|
|
19627
|
+
},
|
|
19628
|
+
{
|
|
19629
|
+
"kind": "field",
|
|
19630
|
+
"name": "primary",
|
|
19631
|
+
"type": {
|
|
19632
|
+
"text": "boolean"
|
|
19633
|
+
},
|
|
19634
|
+
"default": "false",
|
|
19635
|
+
"attribute": "primary",
|
|
19636
|
+
"reflects": true
|
|
19637
|
+
},
|
|
19638
|
+
{
|
|
19639
|
+
"kind": "field",
|
|
19640
|
+
"name": "previousPath",
|
|
19641
|
+
"type": {
|
|
19642
|
+
"text": "string"
|
|
19643
|
+
},
|
|
19644
|
+
"attribute": "previous-path"
|
|
19645
|
+
},
|
|
19646
|
+
{
|
|
19647
|
+
"kind": "field",
|
|
19648
|
+
"name": "previousTarget",
|
|
19649
|
+
"type": {
|
|
19650
|
+
"text": "string"
|
|
19651
|
+
},
|
|
19652
|
+
"attribute": "previous-target"
|
|
19653
|
+
},
|
|
19654
|
+
{
|
|
19655
|
+
"kind": "field",
|
|
19656
|
+
"name": "summary",
|
|
19657
|
+
"type": {
|
|
19658
|
+
"text": "string"
|
|
19659
|
+
},
|
|
19660
|
+
"attribute": "summary"
|
|
19661
|
+
},
|
|
19662
|
+
{
|
|
19663
|
+
"kind": "field",
|
|
19664
|
+
"name": "scrolled",
|
|
19665
|
+
"type": {
|
|
19666
|
+
"text": "boolean"
|
|
19667
|
+
},
|
|
19668
|
+
"privacy": "private",
|
|
19669
|
+
"default": "false"
|
|
19670
|
+
},
|
|
19671
|
+
{
|
|
19672
|
+
"kind": "field",
|
|
19673
|
+
"name": "tabDefinitions",
|
|
19674
|
+
"type": {
|
|
19675
|
+
"text": "TabDefinition[]"
|
|
19676
|
+
},
|
|
19677
|
+
"privacy": "private",
|
|
19678
|
+
"default": "[]"
|
|
19679
|
+
},
|
|
19680
|
+
{
|
|
19681
|
+
"kind": "field",
|
|
19682
|
+
"name": "hasExpandingActions",
|
|
19683
|
+
"type": {
|
|
19684
|
+
"text": "boolean"
|
|
19685
|
+
},
|
|
19686
|
+
"privacy": "private",
|
|
19687
|
+
"default": "false"
|
|
19688
|
+
},
|
|
19689
|
+
{
|
|
19690
|
+
"kind": "field",
|
|
19691
|
+
"name": "actionObserver",
|
|
19692
|
+
"type": {
|
|
19693
|
+
"text": "MutationObserver | null"
|
|
19694
|
+
},
|
|
19695
|
+
"privacy": "private",
|
|
19696
|
+
"default": "null"
|
|
19697
|
+
},
|
|
19698
|
+
{
|
|
19699
|
+
"kind": "field",
|
|
19700
|
+
"name": "tabObserver",
|
|
19701
|
+
"type": {
|
|
19702
|
+
"text": "MutationObserver | null"
|
|
19703
|
+
},
|
|
19704
|
+
"privacy": "private",
|
|
19705
|
+
"default": "null"
|
|
19706
|
+
},
|
|
19707
|
+
{
|
|
19708
|
+
"kind": "field",
|
|
19709
|
+
"name": "handleAltPress",
|
|
19710
|
+
"privacy": "private"
|
|
19711
|
+
},
|
|
19712
|
+
{
|
|
19713
|
+
"kind": "field",
|
|
19714
|
+
"name": "handleAltUp",
|
|
19715
|
+
"privacy": "private"
|
|
19716
|
+
},
|
|
19717
|
+
{
|
|
19718
|
+
"kind": "field",
|
|
19719
|
+
"name": "_registerTabs",
|
|
19720
|
+
"inheritedFrom": {
|
|
19721
|
+
"name": "ZnTabs",
|
|
19722
|
+
"module": "components/tabs/tabs.js"
|
|
19312
19723
|
}
|
|
19313
19724
|
},
|
|
19314
19725
|
{
|
|
19315
19726
|
"kind": "method",
|
|
19316
|
-
"name": "
|
|
19727
|
+
"name": "getOwnExpandingActions",
|
|
19728
|
+
"privacy": "private"
|
|
19317
19729
|
},
|
|
19318
19730
|
{
|
|
19319
19731
|
"kind": "method",
|
|
19320
|
-
"name": "
|
|
19732
|
+
"name": "getNavbar",
|
|
19733
|
+
"privacy": "private"
|
|
19734
|
+
},
|
|
19735
|
+
{
|
|
19736
|
+
"kind": "method",
|
|
19737
|
+
"name": "refreshExpandingActionsState",
|
|
19738
|
+
"privacy": "private"
|
|
19739
|
+
},
|
|
19740
|
+
{
|
|
19741
|
+
"kind": "method",
|
|
19742
|
+
"name": "syncExpandingActionsToNavbar",
|
|
19743
|
+
"privacy": "private"
|
|
19744
|
+
},
|
|
19745
|
+
{
|
|
19746
|
+
"kind": "method",
|
|
19747
|
+
"name": "prepareTabs",
|
|
19748
|
+
"privacy": "private"
|
|
19749
|
+
},
|
|
19750
|
+
{
|
|
19751
|
+
"kind": "method",
|
|
19752
|
+
"name": "parsePriority",
|
|
19753
|
+
"privacy": "private",
|
|
19754
|
+
"return": {
|
|
19755
|
+
"type": {
|
|
19756
|
+
"text": "number | null"
|
|
19757
|
+
}
|
|
19758
|
+
},
|
|
19321
19759
|
"parameters": [
|
|
19322
19760
|
{
|
|
19323
|
-
"name": "
|
|
19761
|
+
"name": "value",
|
|
19324
19762
|
"type": {
|
|
19325
|
-
"text": "string"
|
|
19763
|
+
"text": "string | null"
|
|
19326
19764
|
}
|
|
19327
|
-
}
|
|
19765
|
+
}
|
|
19766
|
+
]
|
|
19767
|
+
},
|
|
19768
|
+
{
|
|
19769
|
+
"kind": "method",
|
|
19770
|
+
"name": "compareTabs",
|
|
19771
|
+
"privacy": "private",
|
|
19772
|
+
"return": {
|
|
19773
|
+
"type": {
|
|
19774
|
+
"text": "number"
|
|
19775
|
+
}
|
|
19776
|
+
},
|
|
19777
|
+
"parameters": [
|
|
19328
19778
|
{
|
|
19329
|
-
"name": "
|
|
19779
|
+
"name": "a",
|
|
19330
19780
|
"type": {
|
|
19331
|
-
"text": "
|
|
19781
|
+
"text": "TabDefinition"
|
|
19332
19782
|
}
|
|
19333
19783
|
},
|
|
19334
19784
|
{
|
|
19335
|
-
"name": "
|
|
19785
|
+
"name": "b",
|
|
19336
19786
|
"type": {
|
|
19337
|
-
"text": "
|
|
19787
|
+
"text": "TabDefinition"
|
|
19788
|
+
}
|
|
19789
|
+
}
|
|
19790
|
+
]
|
|
19791
|
+
},
|
|
19792
|
+
{
|
|
19793
|
+
"kind": "method",
|
|
19794
|
+
"name": "captionToId",
|
|
19795
|
+
"privacy": "private",
|
|
19796
|
+
"return": {
|
|
19797
|
+
"type": {
|
|
19798
|
+
"text": "string"
|
|
19799
|
+
}
|
|
19800
|
+
},
|
|
19801
|
+
"parameters": [
|
|
19802
|
+
{
|
|
19803
|
+
"name": "caption",
|
|
19804
|
+
"type": {
|
|
19805
|
+
"text": "string"
|
|
19806
|
+
}
|
|
19807
|
+
}
|
|
19808
|
+
]
|
|
19809
|
+
},
|
|
19810
|
+
{
|
|
19811
|
+
"kind": "method",
|
|
19812
|
+
"name": "uniqueId",
|
|
19813
|
+
"privacy": "private",
|
|
19814
|
+
"return": {
|
|
19815
|
+
"type": {
|
|
19816
|
+
"text": "string"
|
|
19817
|
+
}
|
|
19818
|
+
},
|
|
19819
|
+
"parameters": [
|
|
19820
|
+
{
|
|
19821
|
+
"name": "id",
|
|
19822
|
+
"type": {
|
|
19823
|
+
"text": "string"
|
|
19338
19824
|
}
|
|
19339
19825
|
},
|
|
19340
19826
|
{
|
|
19341
|
-
"name": "
|
|
19342
|
-
"default": "null",
|
|
19827
|
+
"name": "usedIds",
|
|
19343
19828
|
"type": {
|
|
19344
|
-
"text": "string
|
|
19829
|
+
"text": "Set<string>"
|
|
19345
19830
|
}
|
|
19346
19831
|
}
|
|
19347
|
-
]
|
|
19348
|
-
"inheritedFrom": {
|
|
19349
|
-
"name": "ZnTabs",
|
|
19350
|
-
"module": "components/tabs/tabs.js"
|
|
19351
|
-
}
|
|
19832
|
+
]
|
|
19352
19833
|
},
|
|
19353
19834
|
{
|
|
19354
19835
|
"kind": "method",
|
|
19355
|
-
"name": "
|
|
19836
|
+
"name": "handlePageScroll",
|
|
19837
|
+
"privacy": "private",
|
|
19356
19838
|
"parameters": [
|
|
19357
19839
|
{
|
|
19358
|
-
"name": "
|
|
19840
|
+
"name": "event",
|
|
19359
19841
|
"type": {
|
|
19360
|
-
"text": "
|
|
19842
|
+
"text": "Event"
|
|
19843
|
+
}
|
|
19844
|
+
}
|
|
19845
|
+
]
|
|
19846
|
+
},
|
|
19847
|
+
{
|
|
19848
|
+
"kind": "method",
|
|
19849
|
+
"name": "handleNavigationSelect",
|
|
19850
|
+
"privacy": "private",
|
|
19851
|
+
"parameters": [
|
|
19852
|
+
{
|
|
19853
|
+
"name": "event",
|
|
19854
|
+
"type": {
|
|
19855
|
+
"text": "ZnSelectEvent"
|
|
19856
|
+
}
|
|
19857
|
+
}
|
|
19858
|
+
]
|
|
19859
|
+
},
|
|
19860
|
+
{
|
|
19861
|
+
"kind": "method",
|
|
19862
|
+
"name": "activateTab",
|
|
19863
|
+
"privacy": "private",
|
|
19864
|
+
"parameters": [
|
|
19865
|
+
{
|
|
19866
|
+
"name": "tabId",
|
|
19867
|
+
"type": {
|
|
19868
|
+
"text": "string"
|
|
19361
19869
|
}
|
|
19362
19870
|
},
|
|
19363
19871
|
{
|
|
19364
|
-
"name": "
|
|
19872
|
+
"name": "store",
|
|
19365
19873
|
"type": {
|
|
19366
19874
|
"text": "boolean"
|
|
19367
19875
|
}
|
|
19368
|
-
}
|
|
19876
|
+
}
|
|
19877
|
+
]
|
|
19878
|
+
},
|
|
19879
|
+
{
|
|
19880
|
+
"kind": "method",
|
|
19881
|
+
"name": "activateInitialPageTab",
|
|
19882
|
+
"privacy": "private"
|
|
19883
|
+
},
|
|
19884
|
+
{
|
|
19885
|
+
"kind": "method",
|
|
19886
|
+
"name": "registerPagePanels",
|
|
19887
|
+
"privacy": "private"
|
|
19888
|
+
},
|
|
19889
|
+
{
|
|
19890
|
+
"kind": "method",
|
|
19891
|
+
"name": "registerPageNavigationTabs",
|
|
19892
|
+
"privacy": "private"
|
|
19893
|
+
},
|
|
19894
|
+
{
|
|
19895
|
+
"kind": "method",
|
|
19896
|
+
"name": "syncNavigationActive",
|
|
19897
|
+
"privacy": "private",
|
|
19898
|
+
"parameters": [
|
|
19369
19899
|
{
|
|
19370
|
-
"name": "
|
|
19371
|
-
"
|
|
19900
|
+
"name": "activeItem",
|
|
19901
|
+
"type": {
|
|
19902
|
+
"text": "HTMLElement"
|
|
19903
|
+
}
|
|
19372
19904
|
}
|
|
19373
|
-
]
|
|
19374
|
-
"inheritedFrom": {
|
|
19375
|
-
"name": "ZnTabs",
|
|
19376
|
-
"module": "components/tabs/tabs.js"
|
|
19377
|
-
}
|
|
19905
|
+
]
|
|
19378
19906
|
},
|
|
19379
19907
|
{
|
|
19380
19908
|
"kind": "field",
|
|
@@ -19444,6 +19972,19 @@
|
|
|
19444
19972
|
"module": "components/tabs/tabs.js"
|
|
19445
19973
|
}
|
|
19446
19974
|
},
|
|
19975
|
+
{
|
|
19976
|
+
"kind": "field",
|
|
19977
|
+
"name": "_splitMinSecondary",
|
|
19978
|
+
"type": {
|
|
19979
|
+
"text": "number"
|
|
19980
|
+
},
|
|
19981
|
+
"attribute": "split-min-secondary",
|
|
19982
|
+
"reflects": true,
|
|
19983
|
+
"inheritedFrom": {
|
|
19984
|
+
"name": "ZnTabs",
|
|
19985
|
+
"module": "components/tabs/tabs.js"
|
|
19986
|
+
}
|
|
19987
|
+
},
|
|
19447
19988
|
{
|
|
19448
19989
|
"kind": "field",
|
|
19449
19990
|
"name": "_splitMax",
|
|
@@ -19620,18 +20161,6 @@
|
|
|
19620
20161
|
"module": "components/tabs/tabs.js"
|
|
19621
20162
|
}
|
|
19622
20163
|
},
|
|
19623
|
-
{
|
|
19624
|
-
"kind": "field",
|
|
19625
|
-
"name": "caption",
|
|
19626
|
-
"type": {
|
|
19627
|
-
"text": "string"
|
|
19628
|
-
},
|
|
19629
|
-
"attribute": "caption",
|
|
19630
|
-
"inheritedFrom": {
|
|
19631
|
-
"name": "ZnTabs",
|
|
19632
|
-
"module": "components/tabs/tabs.js"
|
|
19633
|
-
}
|
|
19634
|
-
},
|
|
19635
20164
|
{
|
|
19636
20165
|
"kind": "field",
|
|
19637
20166
|
"name": "description",
|
|
@@ -19770,6 +20299,28 @@
|
|
|
19770
20299
|
"module": "components/tabs/tabs.js"
|
|
19771
20300
|
}
|
|
19772
20301
|
},
|
|
20302
|
+
{
|
|
20303
|
+
"kind": "field",
|
|
20304
|
+
"name": "_domObserver",
|
|
20305
|
+
"privacy": "private",
|
|
20306
|
+
"readonly": true,
|
|
20307
|
+
"default": "new MutationController(this, { target: null, config: { childList: true, subtree: true }, callback: mutations => { mutations.forEach(mutation => { if (mutation.type !== 'childList') return; if (mutation.addedNodes.length > 0) { this._registerTabs(); } if (mutation.removedNodes.length > 0) { mutation.removedNodes.forEach(node => { const id = node instanceof HTMLElement ? node.id : ''; if (id) this.removeTabAndPanel(id); }); } }); }, })",
|
|
20308
|
+
"inheritedFrom": {
|
|
20309
|
+
"name": "ZnTabs",
|
|
20310
|
+
"module": "components/tabs/tabs.js"
|
|
20311
|
+
}
|
|
20312
|
+
},
|
|
20313
|
+
{
|
|
20314
|
+
"kind": "field",
|
|
20315
|
+
"name": "_monitorObserver",
|
|
20316
|
+
"privacy": "private",
|
|
20317
|
+
"readonly": true,
|
|
20318
|
+
"default": "new MutationController(this, { target: null, config: { childList: true, subtree: true }, callback: mutations => { mutations.forEach(mutation => { if (mutation.type !== 'childList') return; mutation.addedNodes.forEach(node => { if (node instanceof HTMLElement && node.id === this.monitor) { this.reRegisterTabs(); const storedValue = this._store.get(this.storeKey); if (storedValue !== null) { this._prepareTab(storedValue); this.setActiveTab(storedValue, false, false); } } }); }); }, })",
|
|
20319
|
+
"inheritedFrom": {
|
|
20320
|
+
"name": "ZnTabs",
|
|
20321
|
+
"module": "components/tabs/tabs.js"
|
|
20322
|
+
}
|
|
20323
|
+
},
|
|
19773
20324
|
{
|
|
19774
20325
|
"kind": "method",
|
|
19775
20326
|
"name": "monitorDom",
|
|
@@ -19952,6 +20503,28 @@
|
|
|
19952
20503
|
"module": "components/tabs/tabs.js"
|
|
19953
20504
|
}
|
|
19954
20505
|
},
|
|
20506
|
+
{
|
|
20507
|
+
"kind": "method",
|
|
20508
|
+
"name": "clickTab",
|
|
20509
|
+
"parameters": [
|
|
20510
|
+
{
|
|
20511
|
+
"name": "target",
|
|
20512
|
+
"type": {
|
|
20513
|
+
"text": "HTMLElement"
|
|
20514
|
+
}
|
|
20515
|
+
},
|
|
20516
|
+
{
|
|
20517
|
+
"name": "refresh",
|
|
20518
|
+
"type": {
|
|
20519
|
+
"text": "boolean"
|
|
20520
|
+
}
|
|
20521
|
+
}
|
|
20522
|
+
],
|
|
20523
|
+
"inheritedFrom": {
|
|
20524
|
+
"name": "ZnTabs",
|
|
20525
|
+
"module": "components/tabs/tabs.js"
|
|
20526
|
+
}
|
|
20527
|
+
},
|
|
19955
20528
|
{
|
|
19956
20529
|
"kind": "method",
|
|
19957
20530
|
"name": "getRefTab",
|
|
@@ -19968,6 +20541,41 @@
|
|
|
19968
20541
|
"module": "components/tabs/tabs.js"
|
|
19969
20542
|
}
|
|
19970
20543
|
},
|
|
20544
|
+
{
|
|
20545
|
+
"kind": "method",
|
|
20546
|
+
"name": "setActiveTab",
|
|
20547
|
+
"parameters": [
|
|
20548
|
+
{
|
|
20549
|
+
"name": "tabName",
|
|
20550
|
+
"type": {
|
|
20551
|
+
"text": "string"
|
|
20552
|
+
}
|
|
20553
|
+
},
|
|
20554
|
+
{
|
|
20555
|
+
"name": "store",
|
|
20556
|
+
"type": {
|
|
20557
|
+
"text": "boolean"
|
|
20558
|
+
}
|
|
20559
|
+
},
|
|
20560
|
+
{
|
|
20561
|
+
"name": "refresh",
|
|
20562
|
+
"type": {
|
|
20563
|
+
"text": "boolean"
|
|
20564
|
+
}
|
|
20565
|
+
},
|
|
20566
|
+
{
|
|
20567
|
+
"name": "refTab",
|
|
20568
|
+
"default": "null",
|
|
20569
|
+
"type": {
|
|
20570
|
+
"text": "string | null"
|
|
20571
|
+
}
|
|
20572
|
+
}
|
|
20573
|
+
],
|
|
20574
|
+
"inheritedFrom": {
|
|
20575
|
+
"name": "ZnTabs",
|
|
20576
|
+
"module": "components/tabs/tabs.js"
|
|
20577
|
+
}
|
|
20578
|
+
},
|
|
19971
20579
|
{
|
|
19972
20580
|
"kind": "method",
|
|
19973
20581
|
"name": "_setTabEleActive",
|
|
@@ -20053,33 +20661,85 @@
|
|
|
20053
20661
|
"name": "ZnTabs",
|
|
20054
20662
|
"module": "components/tabs/tabs.js"
|
|
20055
20663
|
}
|
|
20056
|
-
},
|
|
20057
|
-
{
|
|
20058
|
-
"kind": "field",
|
|
20059
|
-
"name": "_registerTabs",
|
|
20060
|
-
"inheritedFrom": {
|
|
20061
|
-
"name": "ZnTabs",
|
|
20062
|
-
"module": "components/tabs/tabs.js"
|
|
20063
|
-
}
|
|
20064
20664
|
}
|
|
20065
20665
|
],
|
|
20066
|
-
"
|
|
20666
|
+
"attributes": [
|
|
20067
20667
|
{
|
|
20068
|
-
"
|
|
20069
|
-
"
|
|
20668
|
+
"name": "caption",
|
|
20669
|
+
"type": {
|
|
20670
|
+
"text": "string"
|
|
20671
|
+
},
|
|
20672
|
+
"fieldName": "caption",
|
|
20070
20673
|
"inheritedFrom": {
|
|
20071
20674
|
"name": "ZnTabs",
|
|
20072
20675
|
"module": "src/components/tabs/tabs.component.ts"
|
|
20073
20676
|
}
|
|
20074
|
-
}
|
|
20075
|
-
],
|
|
20076
|
-
"attributes": [
|
|
20677
|
+
},
|
|
20077
20678
|
{
|
|
20078
|
-
"name": "
|
|
20679
|
+
"name": "entity-id",
|
|
20079
20680
|
"type": {
|
|
20080
|
-
"text": "
|
|
20681
|
+
"text": "string"
|
|
20081
20682
|
},
|
|
20082
|
-
"fieldName": "
|
|
20683
|
+
"fieldName": "entityId"
|
|
20684
|
+
},
|
|
20685
|
+
{
|
|
20686
|
+
"name": "entity-id-show",
|
|
20687
|
+
"type": {
|
|
20688
|
+
"text": "boolean"
|
|
20689
|
+
},
|
|
20690
|
+
"fieldName": "entityIdShow"
|
|
20691
|
+
},
|
|
20692
|
+
{
|
|
20693
|
+
"name": "full-location",
|
|
20694
|
+
"type": {
|
|
20695
|
+
"text": "string"
|
|
20696
|
+
},
|
|
20697
|
+
"fieldName": "fullLocation"
|
|
20698
|
+
},
|
|
20699
|
+
{
|
|
20700
|
+
"name": "modal",
|
|
20701
|
+
"type": {
|
|
20702
|
+
"text": "boolean"
|
|
20703
|
+
},
|
|
20704
|
+
"default": "false",
|
|
20705
|
+
"fieldName": "modal"
|
|
20706
|
+
},
|
|
20707
|
+
{
|
|
20708
|
+
"name": "nested",
|
|
20709
|
+
"type": {
|
|
20710
|
+
"text": "boolean"
|
|
20711
|
+
},
|
|
20712
|
+
"default": "false",
|
|
20713
|
+
"fieldName": "nested"
|
|
20714
|
+
},
|
|
20715
|
+
{
|
|
20716
|
+
"name": "primary",
|
|
20717
|
+
"type": {
|
|
20718
|
+
"text": "boolean"
|
|
20719
|
+
},
|
|
20720
|
+
"default": "false",
|
|
20721
|
+
"fieldName": "primary"
|
|
20722
|
+
},
|
|
20723
|
+
{
|
|
20724
|
+
"name": "previous-path",
|
|
20725
|
+
"type": {
|
|
20726
|
+
"text": "string"
|
|
20727
|
+
},
|
|
20728
|
+
"fieldName": "previousPath"
|
|
20729
|
+
},
|
|
20730
|
+
{
|
|
20731
|
+
"name": "previous-target",
|
|
20732
|
+
"type": {
|
|
20733
|
+
"text": "string"
|
|
20734
|
+
},
|
|
20735
|
+
"fieldName": "previousTarget"
|
|
20736
|
+
},
|
|
20737
|
+
{
|
|
20738
|
+
"name": "summary",
|
|
20739
|
+
"type": {
|
|
20740
|
+
"text": "string"
|
|
20741
|
+
},
|
|
20742
|
+
"fieldName": "summary"
|
|
20083
20743
|
},
|
|
20084
20744
|
{
|
|
20085
20745
|
"name": "master-id",
|
|
@@ -20139,6 +20799,1172 @@
|
|
|
20139
20799
|
"module": "src/components/tabs/tabs.component.ts"
|
|
20140
20800
|
}
|
|
20141
20801
|
},
|
|
20802
|
+
{
|
|
20803
|
+
"name": "split-min-secondary",
|
|
20804
|
+
"type": {
|
|
20805
|
+
"text": "number"
|
|
20806
|
+
},
|
|
20807
|
+
"fieldName": "_splitMinSecondary",
|
|
20808
|
+
"inheritedFrom": {
|
|
20809
|
+
"name": "ZnTabs",
|
|
20810
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
20811
|
+
}
|
|
20812
|
+
},
|
|
20813
|
+
{
|
|
20814
|
+
"name": "split-max",
|
|
20815
|
+
"type": {
|
|
20816
|
+
"text": "number"
|
|
20817
|
+
},
|
|
20818
|
+
"fieldName": "_splitMax",
|
|
20819
|
+
"inheritedFrom": {
|
|
20820
|
+
"name": "ZnTabs",
|
|
20821
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
20822
|
+
}
|
|
20823
|
+
},
|
|
20824
|
+
{
|
|
20825
|
+
"name": "primary-caption",
|
|
20826
|
+
"type": {
|
|
20827
|
+
"text": "string"
|
|
20828
|
+
},
|
|
20829
|
+
"default": "'Navigation'",
|
|
20830
|
+
"fieldName": "primaryCaption",
|
|
20831
|
+
"inheritedFrom": {
|
|
20832
|
+
"name": "ZnTabs",
|
|
20833
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
20834
|
+
}
|
|
20835
|
+
},
|
|
20836
|
+
{
|
|
20837
|
+
"name": "secondary-caption",
|
|
20838
|
+
"type": {
|
|
20839
|
+
"text": "string"
|
|
20840
|
+
},
|
|
20841
|
+
"default": "'Content'",
|
|
20842
|
+
"fieldName": "secondaryCaption",
|
|
20843
|
+
"inheritedFrom": {
|
|
20844
|
+
"name": "ZnTabs",
|
|
20845
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
20846
|
+
}
|
|
20847
|
+
},
|
|
20848
|
+
{
|
|
20849
|
+
"name": "no-prefetch",
|
|
20850
|
+
"type": {
|
|
20851
|
+
"text": "boolean"
|
|
20852
|
+
},
|
|
20853
|
+
"default": "false",
|
|
20854
|
+
"fieldName": "noPrefetch",
|
|
20855
|
+
"inheritedFrom": {
|
|
20856
|
+
"name": "ZnTabs",
|
|
20857
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
20858
|
+
}
|
|
20859
|
+
},
|
|
20860
|
+
{
|
|
20861
|
+
"name": "no-cache",
|
|
20862
|
+
"type": {
|
|
20863
|
+
"text": "boolean"
|
|
20864
|
+
},
|
|
20865
|
+
"default": "false",
|
|
20866
|
+
"fieldName": "noCache",
|
|
20867
|
+
"inheritedFrom": {
|
|
20868
|
+
"name": "ZnTabs",
|
|
20869
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
20870
|
+
}
|
|
20871
|
+
},
|
|
20872
|
+
{
|
|
20873
|
+
"name": "local-storage",
|
|
20874
|
+
"type": {
|
|
20875
|
+
"text": "boolean"
|
|
20876
|
+
},
|
|
20877
|
+
"fieldName": "localStorage",
|
|
20878
|
+
"inheritedFrom": {
|
|
20879
|
+
"name": "ZnTabs",
|
|
20880
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
20881
|
+
}
|
|
20882
|
+
},
|
|
20883
|
+
{
|
|
20884
|
+
"name": "store-key",
|
|
20885
|
+
"type": {
|
|
20886
|
+
"text": "string"
|
|
20887
|
+
},
|
|
20888
|
+
"fieldName": "storeKey",
|
|
20889
|
+
"inheritedFrom": {
|
|
20890
|
+
"name": "ZnTabs",
|
|
20891
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
20892
|
+
}
|
|
20893
|
+
},
|
|
20894
|
+
{
|
|
20895
|
+
"name": "store-ttl",
|
|
20896
|
+
"type": {
|
|
20897
|
+
"text": "number"
|
|
20898
|
+
},
|
|
20899
|
+
"default": "0",
|
|
20900
|
+
"fieldName": "storeTtl",
|
|
20901
|
+
"inheritedFrom": {
|
|
20902
|
+
"name": "ZnTabs",
|
|
20903
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
20904
|
+
}
|
|
20905
|
+
},
|
|
20906
|
+
{
|
|
20907
|
+
"name": "padded",
|
|
20908
|
+
"type": {
|
|
20909
|
+
"text": "boolean"
|
|
20910
|
+
},
|
|
20911
|
+
"default": "false",
|
|
20912
|
+
"fieldName": "padded",
|
|
20913
|
+
"inheritedFrom": {
|
|
20914
|
+
"name": "ZnTabs",
|
|
20915
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
20916
|
+
}
|
|
20917
|
+
},
|
|
20918
|
+
{
|
|
20919
|
+
"name": "fetch-style",
|
|
20920
|
+
"type": {
|
|
20921
|
+
"text": "string"
|
|
20922
|
+
},
|
|
20923
|
+
"default": "\"\"",
|
|
20924
|
+
"fieldName": "fetchStyle",
|
|
20925
|
+
"inheritedFrom": {
|
|
20926
|
+
"name": "ZnTabs",
|
|
20927
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
20928
|
+
}
|
|
20929
|
+
},
|
|
20930
|
+
{
|
|
20931
|
+
"name": "full-width",
|
|
20932
|
+
"type": {
|
|
20933
|
+
"text": "boolean"
|
|
20934
|
+
},
|
|
20935
|
+
"default": "false",
|
|
20936
|
+
"fieldName": "fullWidth",
|
|
20937
|
+
"inheritedFrom": {
|
|
20938
|
+
"name": "ZnTabs",
|
|
20939
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
20940
|
+
}
|
|
20941
|
+
},
|
|
20942
|
+
{
|
|
20943
|
+
"name": "padded-right",
|
|
20944
|
+
"type": {
|
|
20945
|
+
"text": "boolean"
|
|
20946
|
+
},
|
|
20947
|
+
"default": "false",
|
|
20948
|
+
"fieldName": "paddedRight",
|
|
20949
|
+
"inheritedFrom": {
|
|
20950
|
+
"name": "ZnTabs",
|
|
20951
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
20952
|
+
}
|
|
20953
|
+
},
|
|
20954
|
+
{
|
|
20955
|
+
"name": "monitor",
|
|
20956
|
+
"type": {
|
|
20957
|
+
"text": "string"
|
|
20958
|
+
},
|
|
20959
|
+
"fieldName": "monitor",
|
|
20960
|
+
"inheritedFrom": {
|
|
20961
|
+
"name": "ZnTabs",
|
|
20962
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
20963
|
+
}
|
|
20964
|
+
},
|
|
20965
|
+
{
|
|
20966
|
+
"name": "description",
|
|
20967
|
+
"type": {
|
|
20968
|
+
"text": "string"
|
|
20969
|
+
},
|
|
20970
|
+
"fieldName": "description",
|
|
20971
|
+
"inheritedFrom": {
|
|
20972
|
+
"name": "ZnTabs",
|
|
20973
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
20974
|
+
}
|
|
20975
|
+
}
|
|
20976
|
+
],
|
|
20977
|
+
"superclass": {
|
|
20978
|
+
"name": "ZnTabs",
|
|
20979
|
+
"module": "/src/components/tabs"
|
|
20980
|
+
},
|
|
20981
|
+
"summary": "Combines a page header with tab navigation and tab panels.",
|
|
20982
|
+
"tagNameWithoutPrefix": "page",
|
|
20983
|
+
"tagName": "zn-page",
|
|
20984
|
+
"customElement": true,
|
|
20985
|
+
"jsDoc": "/**\n * @summary Combines a page header with tab navigation and tab panels.\n * @documentation https://zinc.style/components/page\n * @status experimental\n * @since 1.0\n *\n * @slot - Page content. Use zn-tab for named tabs and header-action/header-actions for header actions.\n * @slot bottom - Content rendered below the navbar row (e.g. chips, filters). Forwarded to the navbar's bottom slot.\n */",
|
|
20986
|
+
"documentation": "https://zinc.style/components/page",
|
|
20987
|
+
"status": "experimental",
|
|
20988
|
+
"since": "1.0",
|
|
20989
|
+
"cssParts": [
|
|
20990
|
+
{
|
|
20991
|
+
"description": "The component's base wrapper.",
|
|
20992
|
+
"name": "base",
|
|
20993
|
+
"inheritedFrom": {
|
|
20994
|
+
"name": "ZnTabs",
|
|
20995
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
20996
|
+
}
|
|
20997
|
+
}
|
|
20998
|
+
],
|
|
20999
|
+
"cssProperties": [
|
|
21000
|
+
{
|
|
21001
|
+
"description": "An example CSS custom property.",
|
|
21002
|
+
"name": "--example",
|
|
21003
|
+
"inheritedFrom": {
|
|
21004
|
+
"name": "ZnTabs",
|
|
21005
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
21006
|
+
}
|
|
21007
|
+
}
|
|
21008
|
+
],
|
|
21009
|
+
"events": [
|
|
21010
|
+
{
|
|
21011
|
+
"description": "Emitted as an example.",
|
|
21012
|
+
"name": "zn-event-name",
|
|
21013
|
+
"inheritedFrom": {
|
|
21014
|
+
"name": "ZnTabs",
|
|
21015
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
21016
|
+
}
|
|
21017
|
+
}
|
|
21018
|
+
]
|
|
21019
|
+
}
|
|
21020
|
+
],
|
|
21021
|
+
"exports": [
|
|
21022
|
+
{
|
|
21023
|
+
"kind": "js",
|
|
21024
|
+
"name": "default",
|
|
21025
|
+
"declaration": {
|
|
21026
|
+
"name": "ZnPage",
|
|
21027
|
+
"module": "components/page/page.js"
|
|
21028
|
+
}
|
|
21029
|
+
}
|
|
21030
|
+
]
|
|
21031
|
+
},
|
|
21032
|
+
{
|
|
21033
|
+
"kind": "javascript-module",
|
|
21034
|
+
"path": "components/page-nav/page-nav.js",
|
|
21035
|
+
"declarations": [
|
|
21036
|
+
{
|
|
21037
|
+
"kind": "class",
|
|
21038
|
+
"description": "",
|
|
21039
|
+
"name": "ZnPageNav",
|
|
21040
|
+
"cssProperties": [
|
|
21041
|
+
{
|
|
21042
|
+
"description": "An example CSS custom property.",
|
|
21043
|
+
"name": "--example",
|
|
21044
|
+
"inheritedFrom": {
|
|
21045
|
+
"name": "ZnTabs",
|
|
21046
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
21047
|
+
}
|
|
21048
|
+
}
|
|
21049
|
+
],
|
|
21050
|
+
"cssParts": [
|
|
21051
|
+
{
|
|
21052
|
+
"description": "The component's base wrapper.",
|
|
21053
|
+
"name": "base",
|
|
21054
|
+
"inheritedFrom": {
|
|
21055
|
+
"name": "ZnTabs",
|
|
21056
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
21057
|
+
}
|
|
21058
|
+
}
|
|
21059
|
+
],
|
|
21060
|
+
"slots": [
|
|
21061
|
+
{
|
|
21062
|
+
"description": "The default slot.",
|
|
21063
|
+
"name": "",
|
|
21064
|
+
"inheritedFrom": {
|
|
21065
|
+
"name": "ZnTabs",
|
|
21066
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
21067
|
+
}
|
|
21068
|
+
},
|
|
21069
|
+
{
|
|
21070
|
+
"description": "An example slot.",
|
|
21071
|
+
"name": "example",
|
|
21072
|
+
"inheritedFrom": {
|
|
21073
|
+
"name": "ZnTabs",
|
|
21074
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
21075
|
+
}
|
|
21076
|
+
}
|
|
21077
|
+
],
|
|
21078
|
+
"members": [
|
|
21079
|
+
{
|
|
21080
|
+
"kind": "field",
|
|
21081
|
+
"name": "navigation",
|
|
21082
|
+
"type": {
|
|
21083
|
+
"text": "PageNavData"
|
|
21084
|
+
},
|
|
21085
|
+
"attribute": "navigation"
|
|
21086
|
+
},
|
|
21087
|
+
{
|
|
21088
|
+
"kind": "field",
|
|
21089
|
+
"name": "breadcrumb",
|
|
21090
|
+
"type": {
|
|
21091
|
+
"text": "string"
|
|
21092
|
+
}
|
|
21093
|
+
},
|
|
21094
|
+
{
|
|
21095
|
+
"kind": "method",
|
|
21096
|
+
"name": "toggleNavigation"
|
|
21097
|
+
},
|
|
21098
|
+
{
|
|
21099
|
+
"kind": "method",
|
|
21100
|
+
"name": "setActiveTab",
|
|
21101
|
+
"parameters": [
|
|
21102
|
+
{
|
|
21103
|
+
"name": "tabName",
|
|
21104
|
+
"type": {
|
|
21105
|
+
"text": "string"
|
|
21106
|
+
}
|
|
21107
|
+
},
|
|
21108
|
+
{
|
|
21109
|
+
"name": "store",
|
|
21110
|
+
"type": {
|
|
21111
|
+
"text": "boolean"
|
|
21112
|
+
}
|
|
21113
|
+
},
|
|
21114
|
+
{
|
|
21115
|
+
"name": "refresh",
|
|
21116
|
+
"type": {
|
|
21117
|
+
"text": "boolean"
|
|
21118
|
+
}
|
|
21119
|
+
},
|
|
21120
|
+
{
|
|
21121
|
+
"name": "refTab",
|
|
21122
|
+
"default": "null",
|
|
21123
|
+
"type": {
|
|
21124
|
+
"text": "string | null"
|
|
21125
|
+
}
|
|
21126
|
+
}
|
|
21127
|
+
],
|
|
21128
|
+
"inheritedFrom": {
|
|
21129
|
+
"name": "ZnTabs",
|
|
21130
|
+
"module": "components/tabs/tabs.js"
|
|
21131
|
+
}
|
|
21132
|
+
},
|
|
21133
|
+
{
|
|
21134
|
+
"kind": "method",
|
|
21135
|
+
"name": "clickTab",
|
|
21136
|
+
"parameters": [
|
|
21137
|
+
{
|
|
21138
|
+
"name": "target",
|
|
21139
|
+
"type": {
|
|
21140
|
+
"text": "HTMLElement"
|
|
21141
|
+
}
|
|
21142
|
+
},
|
|
21143
|
+
{
|
|
21144
|
+
"name": "refresh",
|
|
21145
|
+
"type": {
|
|
21146
|
+
"text": "boolean"
|
|
21147
|
+
}
|
|
21148
|
+
},
|
|
21149
|
+
{
|
|
21150
|
+
"name": "close",
|
|
21151
|
+
"default": "true"
|
|
21152
|
+
}
|
|
21153
|
+
],
|
|
21154
|
+
"inheritedFrom": {
|
|
21155
|
+
"name": "ZnTabs",
|
|
21156
|
+
"module": "components/tabs/tabs.js"
|
|
21157
|
+
}
|
|
21158
|
+
},
|
|
21159
|
+
{
|
|
21160
|
+
"kind": "field",
|
|
21161
|
+
"name": "masterId",
|
|
21162
|
+
"type": {
|
|
21163
|
+
"text": "string"
|
|
21164
|
+
},
|
|
21165
|
+
"attribute": "master-id",
|
|
21166
|
+
"reflects": true,
|
|
21167
|
+
"inheritedFrom": {
|
|
21168
|
+
"name": "ZnTabs",
|
|
21169
|
+
"module": "components/tabs/tabs.js"
|
|
21170
|
+
}
|
|
21171
|
+
},
|
|
21172
|
+
{
|
|
21173
|
+
"kind": "field",
|
|
21174
|
+
"name": "defaultUri",
|
|
21175
|
+
"type": {
|
|
21176
|
+
"text": "string"
|
|
21177
|
+
},
|
|
21178
|
+
"default": "''",
|
|
21179
|
+
"attribute": "default-uri",
|
|
21180
|
+
"reflects": true,
|
|
21181
|
+
"inheritedFrom": {
|
|
21182
|
+
"name": "ZnTabs",
|
|
21183
|
+
"module": "components/tabs/tabs.js"
|
|
21184
|
+
}
|
|
21185
|
+
},
|
|
21186
|
+
{
|
|
21187
|
+
"kind": "field",
|
|
21188
|
+
"name": "_current",
|
|
21189
|
+
"type": {
|
|
21190
|
+
"text": "string"
|
|
21191
|
+
},
|
|
21192
|
+
"default": "''",
|
|
21193
|
+
"attribute": "active",
|
|
21194
|
+
"reflects": true,
|
|
21195
|
+
"inheritedFrom": {
|
|
21196
|
+
"name": "ZnTabs",
|
|
21197
|
+
"module": "components/tabs/tabs.js"
|
|
21198
|
+
}
|
|
21199
|
+
},
|
|
21200
|
+
{
|
|
21201
|
+
"kind": "field",
|
|
21202
|
+
"name": "_split",
|
|
21203
|
+
"type": {
|
|
21204
|
+
"text": "number"
|
|
21205
|
+
},
|
|
21206
|
+
"attribute": "split",
|
|
21207
|
+
"reflects": true,
|
|
21208
|
+
"inheritedFrom": {
|
|
21209
|
+
"name": "ZnTabs",
|
|
21210
|
+
"module": "components/tabs/tabs.js"
|
|
21211
|
+
}
|
|
21212
|
+
},
|
|
21213
|
+
{
|
|
21214
|
+
"kind": "field",
|
|
21215
|
+
"name": "_splitMin",
|
|
21216
|
+
"type": {
|
|
21217
|
+
"text": "number"
|
|
21218
|
+
},
|
|
21219
|
+
"default": "60",
|
|
21220
|
+
"attribute": "split-min",
|
|
21221
|
+
"reflects": true,
|
|
21222
|
+
"inheritedFrom": {
|
|
21223
|
+
"name": "ZnTabs",
|
|
21224
|
+
"module": "components/tabs/tabs.js"
|
|
21225
|
+
}
|
|
21226
|
+
},
|
|
21227
|
+
{
|
|
21228
|
+
"kind": "field",
|
|
21229
|
+
"name": "_splitMinSecondary",
|
|
21230
|
+
"type": {
|
|
21231
|
+
"text": "number"
|
|
21232
|
+
},
|
|
21233
|
+
"attribute": "split-min-secondary",
|
|
21234
|
+
"reflects": true,
|
|
21235
|
+
"inheritedFrom": {
|
|
21236
|
+
"name": "ZnTabs",
|
|
21237
|
+
"module": "components/tabs/tabs.js"
|
|
21238
|
+
}
|
|
21239
|
+
},
|
|
21240
|
+
{
|
|
21241
|
+
"kind": "field",
|
|
21242
|
+
"name": "_splitMax",
|
|
21243
|
+
"type": {
|
|
21244
|
+
"text": "number"
|
|
21245
|
+
},
|
|
21246
|
+
"attribute": "split-max",
|
|
21247
|
+
"reflects": true,
|
|
21248
|
+
"inheritedFrom": {
|
|
21249
|
+
"name": "ZnTabs",
|
|
21250
|
+
"module": "components/tabs/tabs.js"
|
|
21251
|
+
}
|
|
21252
|
+
},
|
|
21253
|
+
{
|
|
21254
|
+
"kind": "field",
|
|
21255
|
+
"name": "primaryCaption",
|
|
21256
|
+
"type": {
|
|
21257
|
+
"text": "string"
|
|
21258
|
+
},
|
|
21259
|
+
"default": "'Navigation'",
|
|
21260
|
+
"attribute": "primary-caption",
|
|
21261
|
+
"reflects": true,
|
|
21262
|
+
"inheritedFrom": {
|
|
21263
|
+
"name": "ZnTabs",
|
|
21264
|
+
"module": "components/tabs/tabs.js"
|
|
21265
|
+
}
|
|
21266
|
+
},
|
|
21267
|
+
{
|
|
21268
|
+
"kind": "field",
|
|
21269
|
+
"name": "secondaryCaption",
|
|
21270
|
+
"type": {
|
|
21271
|
+
"text": "string"
|
|
21272
|
+
},
|
|
21273
|
+
"default": "'Content'",
|
|
21274
|
+
"attribute": "secondary-caption",
|
|
21275
|
+
"reflects": true,
|
|
21276
|
+
"inheritedFrom": {
|
|
21277
|
+
"name": "ZnTabs",
|
|
21278
|
+
"module": "components/tabs/tabs.js"
|
|
21279
|
+
}
|
|
21280
|
+
},
|
|
21281
|
+
{
|
|
21282
|
+
"kind": "field",
|
|
21283
|
+
"name": "noPrefetch",
|
|
21284
|
+
"type": {
|
|
21285
|
+
"text": "boolean"
|
|
21286
|
+
},
|
|
21287
|
+
"default": "false",
|
|
21288
|
+
"attribute": "no-prefetch",
|
|
21289
|
+
"reflects": true,
|
|
21290
|
+
"inheritedFrom": {
|
|
21291
|
+
"name": "ZnTabs",
|
|
21292
|
+
"module": "components/tabs/tabs.js"
|
|
21293
|
+
}
|
|
21294
|
+
},
|
|
21295
|
+
{
|
|
21296
|
+
"kind": "field",
|
|
21297
|
+
"name": "noCache",
|
|
21298
|
+
"type": {
|
|
21299
|
+
"text": "boolean"
|
|
21300
|
+
},
|
|
21301
|
+
"default": "false",
|
|
21302
|
+
"attribute": "no-cache",
|
|
21303
|
+
"reflects": true,
|
|
21304
|
+
"inheritedFrom": {
|
|
21305
|
+
"name": "ZnTabs",
|
|
21306
|
+
"module": "components/tabs/tabs.js"
|
|
21307
|
+
}
|
|
21308
|
+
},
|
|
21309
|
+
{
|
|
21310
|
+
"kind": "field",
|
|
21311
|
+
"name": "localStorage",
|
|
21312
|
+
"type": {
|
|
21313
|
+
"text": "boolean"
|
|
21314
|
+
},
|
|
21315
|
+
"attribute": "local-storage",
|
|
21316
|
+
"reflects": true,
|
|
21317
|
+
"inheritedFrom": {
|
|
21318
|
+
"name": "ZnTabs",
|
|
21319
|
+
"module": "components/tabs/tabs.js"
|
|
21320
|
+
}
|
|
21321
|
+
},
|
|
21322
|
+
{
|
|
21323
|
+
"kind": "field",
|
|
21324
|
+
"name": "storeKey",
|
|
21325
|
+
"type": {
|
|
21326
|
+
"text": "string"
|
|
21327
|
+
},
|
|
21328
|
+
"attribute": "store-key",
|
|
21329
|
+
"inheritedFrom": {
|
|
21330
|
+
"name": "ZnTabs",
|
|
21331
|
+
"module": "components/tabs/tabs.js"
|
|
21332
|
+
}
|
|
21333
|
+
},
|
|
21334
|
+
{
|
|
21335
|
+
"kind": "field",
|
|
21336
|
+
"name": "storeTtl",
|
|
21337
|
+
"type": {
|
|
21338
|
+
"text": "number"
|
|
21339
|
+
},
|
|
21340
|
+
"default": "0",
|
|
21341
|
+
"attribute": "store-ttl",
|
|
21342
|
+
"reflects": true,
|
|
21343
|
+
"inheritedFrom": {
|
|
21344
|
+
"name": "ZnTabs",
|
|
21345
|
+
"module": "components/tabs/tabs.js"
|
|
21346
|
+
}
|
|
21347
|
+
},
|
|
21348
|
+
{
|
|
21349
|
+
"kind": "field",
|
|
21350
|
+
"name": "padded",
|
|
21351
|
+
"type": {
|
|
21352
|
+
"text": "boolean"
|
|
21353
|
+
},
|
|
21354
|
+
"default": "false",
|
|
21355
|
+
"attribute": "padded",
|
|
21356
|
+
"reflects": true,
|
|
21357
|
+
"inheritedFrom": {
|
|
21358
|
+
"name": "ZnTabs",
|
|
21359
|
+
"module": "components/tabs/tabs.js"
|
|
21360
|
+
}
|
|
21361
|
+
},
|
|
21362
|
+
{
|
|
21363
|
+
"kind": "field",
|
|
21364
|
+
"name": "fetchStyle",
|
|
21365
|
+
"type": {
|
|
21366
|
+
"text": "string"
|
|
21367
|
+
},
|
|
21368
|
+
"default": "\"\"",
|
|
21369
|
+
"attribute": "fetch-style",
|
|
21370
|
+
"reflects": true,
|
|
21371
|
+
"inheritedFrom": {
|
|
21372
|
+
"name": "ZnTabs",
|
|
21373
|
+
"module": "components/tabs/tabs.js"
|
|
21374
|
+
}
|
|
21375
|
+
},
|
|
21376
|
+
{
|
|
21377
|
+
"kind": "field",
|
|
21378
|
+
"name": "fullWidth",
|
|
21379
|
+
"type": {
|
|
21380
|
+
"text": "boolean"
|
|
21381
|
+
},
|
|
21382
|
+
"default": "false",
|
|
21383
|
+
"attribute": "full-width",
|
|
21384
|
+
"reflects": true,
|
|
21385
|
+
"inheritedFrom": {
|
|
21386
|
+
"name": "ZnTabs",
|
|
21387
|
+
"module": "components/tabs/tabs.js"
|
|
21388
|
+
}
|
|
21389
|
+
},
|
|
21390
|
+
{
|
|
21391
|
+
"kind": "field",
|
|
21392
|
+
"name": "paddedRight",
|
|
21393
|
+
"type": {
|
|
21394
|
+
"text": "boolean"
|
|
21395
|
+
},
|
|
21396
|
+
"default": "false",
|
|
21397
|
+
"attribute": "padded-right",
|
|
21398
|
+
"reflects": true,
|
|
21399
|
+
"inheritedFrom": {
|
|
21400
|
+
"name": "ZnTabs",
|
|
21401
|
+
"module": "components/tabs/tabs.js"
|
|
21402
|
+
}
|
|
21403
|
+
},
|
|
21404
|
+
{
|
|
21405
|
+
"kind": "field",
|
|
21406
|
+
"name": "monitor",
|
|
21407
|
+
"type": {
|
|
21408
|
+
"text": "string"
|
|
21409
|
+
},
|
|
21410
|
+
"attribute": "monitor",
|
|
21411
|
+
"inheritedFrom": {
|
|
21412
|
+
"name": "ZnTabs",
|
|
21413
|
+
"module": "components/tabs/tabs.js"
|
|
21414
|
+
}
|
|
21415
|
+
},
|
|
21416
|
+
{
|
|
21417
|
+
"kind": "field",
|
|
21418
|
+
"name": "caption",
|
|
21419
|
+
"type": {
|
|
21420
|
+
"text": "string"
|
|
21421
|
+
},
|
|
21422
|
+
"attribute": "caption",
|
|
21423
|
+
"inheritedFrom": {
|
|
21424
|
+
"name": "ZnTabs",
|
|
21425
|
+
"module": "components/tabs/tabs.js"
|
|
21426
|
+
}
|
|
21427
|
+
},
|
|
21428
|
+
{
|
|
21429
|
+
"kind": "field",
|
|
21430
|
+
"name": "description",
|
|
21431
|
+
"type": {
|
|
21432
|
+
"text": "string"
|
|
21433
|
+
},
|
|
21434
|
+
"attribute": "description",
|
|
21435
|
+
"inheritedFrom": {
|
|
21436
|
+
"name": "ZnTabs",
|
|
21437
|
+
"module": "components/tabs/tabs.js"
|
|
21438
|
+
}
|
|
21439
|
+
},
|
|
21440
|
+
{
|
|
21441
|
+
"kind": "field",
|
|
21442
|
+
"name": "preload",
|
|
21443
|
+
"type": {
|
|
21444
|
+
"text": "boolean"
|
|
21445
|
+
},
|
|
21446
|
+
"privacy": "protected",
|
|
21447
|
+
"default": "true",
|
|
21448
|
+
"inheritedFrom": {
|
|
21449
|
+
"name": "ZnTabs",
|
|
21450
|
+
"module": "components/tabs/tabs.js"
|
|
21451
|
+
}
|
|
21452
|
+
},
|
|
21453
|
+
{
|
|
21454
|
+
"kind": "field",
|
|
21455
|
+
"name": "_store",
|
|
21456
|
+
"type": {
|
|
21457
|
+
"text": "Store"
|
|
21458
|
+
},
|
|
21459
|
+
"privacy": "protected",
|
|
21460
|
+
"inheritedFrom": {
|
|
21461
|
+
"name": "ZnTabs",
|
|
21462
|
+
"module": "components/tabs/tabs.js"
|
|
21463
|
+
}
|
|
21464
|
+
},
|
|
21465
|
+
{
|
|
21466
|
+
"kind": "field",
|
|
21467
|
+
"name": "_activeClicks",
|
|
21468
|
+
"type": {
|
|
21469
|
+
"text": "number"
|
|
21470
|
+
},
|
|
21471
|
+
"privacy": "protected",
|
|
21472
|
+
"default": "0",
|
|
21473
|
+
"inheritedFrom": {
|
|
21474
|
+
"name": "ZnTabs",
|
|
21475
|
+
"module": "components/tabs/tabs.js"
|
|
21476
|
+
}
|
|
21477
|
+
},
|
|
21478
|
+
{
|
|
21479
|
+
"kind": "field",
|
|
21480
|
+
"name": "_panel",
|
|
21481
|
+
"type": {
|
|
21482
|
+
"text": "Element | null | undefined"
|
|
21483
|
+
},
|
|
21484
|
+
"privacy": "private",
|
|
21485
|
+
"inheritedFrom": {
|
|
21486
|
+
"name": "ZnTabs",
|
|
21487
|
+
"module": "components/tabs/tabs.js"
|
|
21488
|
+
}
|
|
21489
|
+
},
|
|
21490
|
+
{
|
|
21491
|
+
"kind": "field",
|
|
21492
|
+
"name": "_panels",
|
|
21493
|
+
"type": {
|
|
21494
|
+
"text": "Map<string, Element[]>"
|
|
21495
|
+
},
|
|
21496
|
+
"privacy": "private",
|
|
21497
|
+
"default": "new Map<string, Element[]>()",
|
|
21498
|
+
"inheritedFrom": {
|
|
21499
|
+
"name": "ZnTabs",
|
|
21500
|
+
"module": "components/tabs/tabs.js"
|
|
21501
|
+
}
|
|
21502
|
+
},
|
|
21503
|
+
{
|
|
21504
|
+
"kind": "field",
|
|
21505
|
+
"name": "_activeTab",
|
|
21506
|
+
"type": {
|
|
21507
|
+
"text": "Element | null"
|
|
21508
|
+
},
|
|
21509
|
+
"privacy": "private",
|
|
21510
|
+
"default": "null",
|
|
21511
|
+
"inheritedFrom": {
|
|
21512
|
+
"name": "ZnTabs",
|
|
21513
|
+
"module": "components/tabs/tabs.js"
|
|
21514
|
+
}
|
|
21515
|
+
},
|
|
21516
|
+
{
|
|
21517
|
+
"kind": "field",
|
|
21518
|
+
"name": "_tabs",
|
|
21519
|
+
"type": {
|
|
21520
|
+
"text": "HTMLElement[]"
|
|
21521
|
+
},
|
|
21522
|
+
"privacy": "private",
|
|
21523
|
+
"default": "[]",
|
|
21524
|
+
"inheritedFrom": {
|
|
21525
|
+
"name": "ZnTabs",
|
|
21526
|
+
"module": "components/tabs/tabs.js"
|
|
21527
|
+
}
|
|
21528
|
+
},
|
|
21529
|
+
{
|
|
21530
|
+
"kind": "field",
|
|
21531
|
+
"name": "_actions",
|
|
21532
|
+
"type": {
|
|
21533
|
+
"text": "HTMLElement[]"
|
|
21534
|
+
},
|
|
21535
|
+
"privacy": "private",
|
|
21536
|
+
"default": "[]",
|
|
21537
|
+
"inheritedFrom": {
|
|
21538
|
+
"name": "ZnTabs",
|
|
21539
|
+
"module": "components/tabs/tabs.js"
|
|
21540
|
+
}
|
|
21541
|
+
},
|
|
21542
|
+
{
|
|
21543
|
+
"kind": "field",
|
|
21544
|
+
"name": "_knownUri",
|
|
21545
|
+
"type": {
|
|
21546
|
+
"text": "Map<string, string>"
|
|
21547
|
+
},
|
|
21548
|
+
"privacy": "private",
|
|
21549
|
+
"default": "new Map<string, string>()",
|
|
21550
|
+
"inheritedFrom": {
|
|
21551
|
+
"name": "ZnTabs",
|
|
21552
|
+
"module": "components/tabs/tabs.js"
|
|
21553
|
+
}
|
|
21554
|
+
},
|
|
21555
|
+
{
|
|
21556
|
+
"kind": "field",
|
|
21557
|
+
"name": "hasSlotController",
|
|
21558
|
+
"privacy": "private",
|
|
21559
|
+
"readonly": true,
|
|
21560
|
+
"default": "new HasSlotController(this, '[default]', 'bottom', 'right', 'left', 'top', 'actions')",
|
|
21561
|
+
"inheritedFrom": {
|
|
21562
|
+
"name": "ZnTabs",
|
|
21563
|
+
"module": "components/tabs/tabs.js"
|
|
21564
|
+
}
|
|
21565
|
+
},
|
|
21566
|
+
{
|
|
21567
|
+
"kind": "field",
|
|
21568
|
+
"name": "_domObserver",
|
|
21569
|
+
"privacy": "private",
|
|
21570
|
+
"readonly": true,
|
|
21571
|
+
"default": "new MutationController(this, { target: null, config: { childList: true, subtree: true }, callback: mutations => { mutations.forEach(mutation => { if (mutation.type !== 'childList') return; if (mutation.addedNodes.length > 0) { this._registerTabs(); } if (mutation.removedNodes.length > 0) { mutation.removedNodes.forEach(node => { const id = node instanceof HTMLElement ? node.id : ''; if (id) this.removeTabAndPanel(id); }); } }); }, })",
|
|
21572
|
+
"inheritedFrom": {
|
|
21573
|
+
"name": "ZnTabs",
|
|
21574
|
+
"module": "components/tabs/tabs.js"
|
|
21575
|
+
}
|
|
21576
|
+
},
|
|
21577
|
+
{
|
|
21578
|
+
"kind": "field",
|
|
21579
|
+
"name": "_monitorObserver",
|
|
21580
|
+
"privacy": "private",
|
|
21581
|
+
"readonly": true,
|
|
21582
|
+
"default": "new MutationController(this, { target: null, config: { childList: true, subtree: true }, callback: mutations => { mutations.forEach(mutation => { if (mutation.type !== 'childList') return; mutation.addedNodes.forEach(node => { if (node instanceof HTMLElement && node.id === this.monitor) { this.reRegisterTabs(); const storedValue = this._store.get(this.storeKey); if (storedValue !== null) { this._prepareTab(storedValue); this.setActiveTab(storedValue, false, false); } } }); }); }, })",
|
|
21583
|
+
"inheritedFrom": {
|
|
21584
|
+
"name": "ZnTabs",
|
|
21585
|
+
"module": "components/tabs/tabs.js"
|
|
21586
|
+
}
|
|
21587
|
+
},
|
|
21588
|
+
{
|
|
21589
|
+
"kind": "method",
|
|
21590
|
+
"name": "monitorDom",
|
|
21591
|
+
"inheritedFrom": {
|
|
21592
|
+
"name": "ZnTabs",
|
|
21593
|
+
"module": "components/tabs/tabs.js"
|
|
21594
|
+
}
|
|
21595
|
+
},
|
|
21596
|
+
{
|
|
21597
|
+
"kind": "method",
|
|
21598
|
+
"name": "_addPanel",
|
|
21599
|
+
"parameters": [
|
|
21600
|
+
{
|
|
21601
|
+
"name": "panel",
|
|
21602
|
+
"type": {
|
|
21603
|
+
"text": "HTMLElement"
|
|
21604
|
+
}
|
|
21605
|
+
}
|
|
21606
|
+
],
|
|
21607
|
+
"inheritedFrom": {
|
|
21608
|
+
"name": "ZnTabs",
|
|
21609
|
+
"module": "components/tabs/tabs.js"
|
|
21610
|
+
}
|
|
21611
|
+
},
|
|
21612
|
+
{
|
|
21613
|
+
"kind": "method",
|
|
21614
|
+
"name": "_addTab",
|
|
21615
|
+
"parameters": [
|
|
21616
|
+
{
|
|
21617
|
+
"name": "tab",
|
|
21618
|
+
"type": {
|
|
21619
|
+
"text": "HTMLElement"
|
|
21620
|
+
}
|
|
21621
|
+
}
|
|
21622
|
+
],
|
|
21623
|
+
"inheritedFrom": {
|
|
21624
|
+
"name": "ZnTabs",
|
|
21625
|
+
"module": "components/tabs/tabs.js"
|
|
21626
|
+
}
|
|
21627
|
+
},
|
|
21628
|
+
{
|
|
21629
|
+
"kind": "field",
|
|
21630
|
+
"name": "reRegisterTabs",
|
|
21631
|
+
"inheritedFrom": {
|
|
21632
|
+
"name": "ZnTabs",
|
|
21633
|
+
"module": "components/tabs/tabs.js"
|
|
21634
|
+
}
|
|
21635
|
+
},
|
|
21636
|
+
{
|
|
21637
|
+
"kind": "method",
|
|
21638
|
+
"name": "switchTab",
|
|
21639
|
+
"parameters": [
|
|
21640
|
+
{
|
|
21641
|
+
"name": "inc",
|
|
21642
|
+
"type": {
|
|
21643
|
+
"text": "number"
|
|
21644
|
+
}
|
|
21645
|
+
}
|
|
21646
|
+
],
|
|
21647
|
+
"inheritedFrom": {
|
|
21648
|
+
"name": "ZnTabs",
|
|
21649
|
+
"module": "components/tabs/tabs.js"
|
|
21650
|
+
}
|
|
21651
|
+
},
|
|
21652
|
+
{
|
|
21653
|
+
"kind": "method",
|
|
21654
|
+
"name": "nextTab",
|
|
21655
|
+
"inheritedFrom": {
|
|
21656
|
+
"name": "ZnTabs",
|
|
21657
|
+
"module": "components/tabs/tabs.js"
|
|
21658
|
+
}
|
|
21659
|
+
},
|
|
21660
|
+
{
|
|
21661
|
+
"kind": "method",
|
|
21662
|
+
"name": "previousTab",
|
|
21663
|
+
"inheritedFrom": {
|
|
21664
|
+
"name": "ZnTabs",
|
|
21665
|
+
"module": "components/tabs/tabs.js"
|
|
21666
|
+
}
|
|
21667
|
+
},
|
|
21668
|
+
{
|
|
21669
|
+
"kind": "method",
|
|
21670
|
+
"name": "_prepareTab",
|
|
21671
|
+
"parameters": [
|
|
21672
|
+
{
|
|
21673
|
+
"name": "tabId",
|
|
21674
|
+
"type": {
|
|
21675
|
+
"text": "string"
|
|
21676
|
+
}
|
|
21677
|
+
}
|
|
21678
|
+
],
|
|
21679
|
+
"inheritedFrom": {
|
|
21680
|
+
"name": "ZnTabs",
|
|
21681
|
+
"module": "components/tabs/tabs.js"
|
|
21682
|
+
}
|
|
21683
|
+
},
|
|
21684
|
+
{
|
|
21685
|
+
"kind": "method",
|
|
21686
|
+
"name": "_uriToId",
|
|
21687
|
+
"return": {
|
|
21688
|
+
"type": {
|
|
21689
|
+
"text": "string"
|
|
21690
|
+
}
|
|
21691
|
+
},
|
|
21692
|
+
"parameters": [
|
|
21693
|
+
{
|
|
21694
|
+
"name": "tabUri",
|
|
21695
|
+
"type": {
|
|
21696
|
+
"text": "string"
|
|
21697
|
+
}
|
|
21698
|
+
}
|
|
21699
|
+
],
|
|
21700
|
+
"inheritedFrom": {
|
|
21701
|
+
"name": "ZnTabs",
|
|
21702
|
+
"module": "components/tabs/tabs.js"
|
|
21703
|
+
}
|
|
21704
|
+
},
|
|
21705
|
+
{
|
|
21706
|
+
"kind": "method",
|
|
21707
|
+
"name": "_createUriPanel",
|
|
21708
|
+
"return": {
|
|
21709
|
+
"type": {
|
|
21710
|
+
"text": "HTMLDivElement"
|
|
21711
|
+
}
|
|
21712
|
+
},
|
|
21713
|
+
"parameters": [
|
|
21714
|
+
{
|
|
21715
|
+
"name": "tabEle",
|
|
21716
|
+
"type": {
|
|
21717
|
+
"text": "Element"
|
|
21718
|
+
}
|
|
21719
|
+
},
|
|
21720
|
+
{
|
|
21721
|
+
"name": "tabUri",
|
|
21722
|
+
"type": {
|
|
21723
|
+
"text": "string"
|
|
21724
|
+
}
|
|
21725
|
+
},
|
|
21726
|
+
{
|
|
21727
|
+
"name": "tabId",
|
|
21728
|
+
"type": {
|
|
21729
|
+
"text": "string"
|
|
21730
|
+
}
|
|
21731
|
+
}
|
|
21732
|
+
],
|
|
21733
|
+
"inheritedFrom": {
|
|
21734
|
+
"name": "ZnTabs",
|
|
21735
|
+
"module": "components/tabs/tabs.js"
|
|
21736
|
+
}
|
|
21737
|
+
},
|
|
21738
|
+
{
|
|
21739
|
+
"kind": "method",
|
|
21740
|
+
"name": "_handleClick",
|
|
21741
|
+
"parameters": [
|
|
21742
|
+
{
|
|
21743
|
+
"name": "event",
|
|
21744
|
+
"type": {
|
|
21745
|
+
"text": "PointerEvent"
|
|
21746
|
+
}
|
|
21747
|
+
}
|
|
21748
|
+
],
|
|
21749
|
+
"inheritedFrom": {
|
|
21750
|
+
"name": "ZnTabs",
|
|
21751
|
+
"module": "components/tabs/tabs.js"
|
|
21752
|
+
}
|
|
21753
|
+
},
|
|
21754
|
+
{
|
|
21755
|
+
"kind": "method",
|
|
21756
|
+
"name": "fetchUriTab",
|
|
21757
|
+
"parameters": [
|
|
21758
|
+
{
|
|
21759
|
+
"name": "target",
|
|
21760
|
+
"type": {
|
|
21761
|
+
"text": "HTMLElement"
|
|
21762
|
+
}
|
|
21763
|
+
}
|
|
21764
|
+
],
|
|
21765
|
+
"inheritedFrom": {
|
|
21766
|
+
"name": "ZnTabs",
|
|
21767
|
+
"module": "components/tabs/tabs.js"
|
|
21768
|
+
}
|
|
21769
|
+
},
|
|
21770
|
+
{
|
|
21771
|
+
"kind": "method",
|
|
21772
|
+
"name": "getRefTab",
|
|
21773
|
+
"parameters": [
|
|
21774
|
+
{
|
|
21775
|
+
"name": "target",
|
|
21776
|
+
"type": {
|
|
21777
|
+
"text": "HTMLElement"
|
|
21778
|
+
}
|
|
21779
|
+
}
|
|
21780
|
+
],
|
|
21781
|
+
"inheritedFrom": {
|
|
21782
|
+
"name": "ZnTabs",
|
|
21783
|
+
"module": "components/tabs/tabs.js"
|
|
21784
|
+
}
|
|
21785
|
+
},
|
|
21786
|
+
{
|
|
21787
|
+
"kind": "method",
|
|
21788
|
+
"name": "_setTabEleActive",
|
|
21789
|
+
"parameters": [
|
|
21790
|
+
{
|
|
21791
|
+
"name": "ele",
|
|
21792
|
+
"type": {
|
|
21793
|
+
"text": "Element"
|
|
21794
|
+
}
|
|
21795
|
+
},
|
|
21796
|
+
{
|
|
21797
|
+
"name": "active",
|
|
21798
|
+
"type": {
|
|
21799
|
+
"text": "boolean"
|
|
21800
|
+
}
|
|
21801
|
+
}
|
|
21802
|
+
],
|
|
21803
|
+
"inheritedFrom": {
|
|
21804
|
+
"name": "ZnTabs",
|
|
21805
|
+
"module": "components/tabs/tabs.js"
|
|
21806
|
+
}
|
|
21807
|
+
},
|
|
21808
|
+
{
|
|
21809
|
+
"kind": "method",
|
|
21810
|
+
"name": "selectTab",
|
|
21811
|
+
"return": {
|
|
21812
|
+
"type": {
|
|
21813
|
+
"text": "boolean"
|
|
21814
|
+
}
|
|
21815
|
+
},
|
|
21816
|
+
"parameters": [
|
|
21817
|
+
{
|
|
21818
|
+
"name": "tabName",
|
|
21819
|
+
"type": {
|
|
21820
|
+
"text": "string"
|
|
21821
|
+
}
|
|
21822
|
+
},
|
|
21823
|
+
{
|
|
21824
|
+
"name": "refresh",
|
|
21825
|
+
"type": {
|
|
21826
|
+
"text": "boolean"
|
|
21827
|
+
}
|
|
21828
|
+
}
|
|
21829
|
+
],
|
|
21830
|
+
"inheritedFrom": {
|
|
21831
|
+
"name": "ZnTabs",
|
|
21832
|
+
"module": "components/tabs/tabs.js"
|
|
21833
|
+
}
|
|
21834
|
+
},
|
|
21835
|
+
{
|
|
21836
|
+
"kind": "method",
|
|
21837
|
+
"name": "getActiveTab",
|
|
21838
|
+
"return": {
|
|
21839
|
+
"type": {
|
|
21840
|
+
"text": "Element[]"
|
|
21841
|
+
}
|
|
21842
|
+
},
|
|
21843
|
+
"inheritedFrom": {
|
|
21844
|
+
"name": "ZnTabs",
|
|
21845
|
+
"module": "components/tabs/tabs.js"
|
|
21846
|
+
}
|
|
21847
|
+
},
|
|
21848
|
+
{
|
|
21849
|
+
"kind": "method",
|
|
21850
|
+
"name": "observerDom",
|
|
21851
|
+
"inheritedFrom": {
|
|
21852
|
+
"name": "ZnTabs",
|
|
21853
|
+
"module": "components/tabs/tabs.js"
|
|
21854
|
+
}
|
|
21855
|
+
},
|
|
21856
|
+
{
|
|
21857
|
+
"kind": "method",
|
|
21858
|
+
"name": "removeTabAndPanel",
|
|
21859
|
+
"parameters": [
|
|
21860
|
+
{
|
|
21861
|
+
"name": "tabId",
|
|
21862
|
+
"type": {
|
|
21863
|
+
"text": "string"
|
|
21864
|
+
}
|
|
21865
|
+
}
|
|
21866
|
+
],
|
|
21867
|
+
"inheritedFrom": {
|
|
21868
|
+
"name": "ZnTabs",
|
|
21869
|
+
"module": "components/tabs/tabs.js"
|
|
21870
|
+
}
|
|
21871
|
+
},
|
|
21872
|
+
{
|
|
21873
|
+
"kind": "field",
|
|
21874
|
+
"name": "_registerTabs",
|
|
21875
|
+
"inheritedFrom": {
|
|
21876
|
+
"name": "ZnTabs",
|
|
21877
|
+
"module": "components/tabs/tabs.js"
|
|
21878
|
+
}
|
|
21879
|
+
}
|
|
21880
|
+
],
|
|
21881
|
+
"events": [
|
|
21882
|
+
{
|
|
21883
|
+
"description": "Emitted as an example.",
|
|
21884
|
+
"name": "zn-event-name",
|
|
21885
|
+
"inheritedFrom": {
|
|
21886
|
+
"name": "ZnTabs",
|
|
21887
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
21888
|
+
}
|
|
21889
|
+
}
|
|
21890
|
+
],
|
|
21891
|
+
"attributes": [
|
|
21892
|
+
{
|
|
21893
|
+
"name": "navigation",
|
|
21894
|
+
"type": {
|
|
21895
|
+
"text": "PageNavData"
|
|
21896
|
+
},
|
|
21897
|
+
"fieldName": "navigation"
|
|
21898
|
+
},
|
|
21899
|
+
{
|
|
21900
|
+
"name": "master-id",
|
|
21901
|
+
"type": {
|
|
21902
|
+
"text": "string"
|
|
21903
|
+
},
|
|
21904
|
+
"fieldName": "masterId",
|
|
21905
|
+
"inheritedFrom": {
|
|
21906
|
+
"name": "ZnTabs",
|
|
21907
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
21908
|
+
}
|
|
21909
|
+
},
|
|
21910
|
+
{
|
|
21911
|
+
"name": "default-uri",
|
|
21912
|
+
"type": {
|
|
21913
|
+
"text": "string"
|
|
21914
|
+
},
|
|
21915
|
+
"default": "''",
|
|
21916
|
+
"fieldName": "defaultUri",
|
|
21917
|
+
"inheritedFrom": {
|
|
21918
|
+
"name": "ZnTabs",
|
|
21919
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
21920
|
+
}
|
|
21921
|
+
},
|
|
21922
|
+
{
|
|
21923
|
+
"name": "active",
|
|
21924
|
+
"type": {
|
|
21925
|
+
"text": "string"
|
|
21926
|
+
},
|
|
21927
|
+
"default": "''",
|
|
21928
|
+
"fieldName": "_current",
|
|
21929
|
+
"inheritedFrom": {
|
|
21930
|
+
"name": "ZnTabs",
|
|
21931
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
21932
|
+
}
|
|
21933
|
+
},
|
|
21934
|
+
{
|
|
21935
|
+
"name": "split",
|
|
21936
|
+
"type": {
|
|
21937
|
+
"text": "number"
|
|
21938
|
+
},
|
|
21939
|
+
"fieldName": "_split",
|
|
21940
|
+
"inheritedFrom": {
|
|
21941
|
+
"name": "ZnTabs",
|
|
21942
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
21943
|
+
}
|
|
21944
|
+
},
|
|
21945
|
+
{
|
|
21946
|
+
"name": "split-min",
|
|
21947
|
+
"type": {
|
|
21948
|
+
"text": "number"
|
|
21949
|
+
},
|
|
21950
|
+
"default": "60",
|
|
21951
|
+
"fieldName": "_splitMin",
|
|
21952
|
+
"inheritedFrom": {
|
|
21953
|
+
"name": "ZnTabs",
|
|
21954
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
21955
|
+
}
|
|
21956
|
+
},
|
|
21957
|
+
{
|
|
21958
|
+
"name": "split-min-secondary",
|
|
21959
|
+
"type": {
|
|
21960
|
+
"text": "number"
|
|
21961
|
+
},
|
|
21962
|
+
"fieldName": "_splitMinSecondary",
|
|
21963
|
+
"inheritedFrom": {
|
|
21964
|
+
"name": "ZnTabs",
|
|
21965
|
+
"module": "src/components/tabs/tabs.component.ts"
|
|
21966
|
+
}
|
|
21967
|
+
},
|
|
20142
21968
|
{
|
|
20143
21969
|
"name": "split-max",
|
|
20144
21970
|
"type": {
|
|
@@ -20517,9 +22343,10 @@
|
|
|
20517
22343
|
"kind": "field",
|
|
20518
22344
|
"name": "_header",
|
|
20519
22345
|
"type": {
|
|
20520
|
-
"text": "HTMLElement"
|
|
22346
|
+
"text": "HTMLElement | null"
|
|
20521
22347
|
},
|
|
20522
|
-
"privacy": "protected"
|
|
22348
|
+
"privacy": "protected",
|
|
22349
|
+
"default": "null"
|
|
20523
22350
|
}
|
|
20524
22351
|
],
|
|
20525
22352
|
"events": [
|
|
@@ -22038,7 +23865,7 @@
|
|
|
22038
23865
|
},
|
|
22039
23866
|
{
|
|
22040
23867
|
"description": "The color of the progress bar fill.",
|
|
22041
|
-
"name": "--zn-
|
|
23868
|
+
"name": "--zn-progress-bar-color"
|
|
22042
23869
|
},
|
|
22043
23870
|
{
|
|
22044
23871
|
"description": "The color of the caption text.",
|
|
@@ -22097,6 +23924,16 @@
|
|
|
22097
23924
|
"attribute": "caption",
|
|
22098
23925
|
"reflects": true
|
|
22099
23926
|
},
|
|
23927
|
+
{
|
|
23928
|
+
"kind": "field",
|
|
23929
|
+
"name": "color",
|
|
23930
|
+
"type": {
|
|
23931
|
+
"text": "ProgressBarColor"
|
|
23932
|
+
},
|
|
23933
|
+
"default": "'current'",
|
|
23934
|
+
"attribute": "color",
|
|
23935
|
+
"reflects": true
|
|
23936
|
+
},
|
|
22100
23937
|
{
|
|
22101
23938
|
"kind": "field",
|
|
22102
23939
|
"name": "description",
|
|
@@ -22133,6 +23970,14 @@
|
|
|
22133
23970
|
},
|
|
22134
23971
|
"fieldName": "caption"
|
|
22135
23972
|
},
|
|
23973
|
+
{
|
|
23974
|
+
"name": "color",
|
|
23975
|
+
"type": {
|
|
23976
|
+
"text": "ProgressBarColor"
|
|
23977
|
+
},
|
|
23978
|
+
"default": "'current'",
|
|
23979
|
+
"fieldName": "color"
|
|
23980
|
+
},
|
|
22136
23981
|
{
|
|
22137
23982
|
"name": "description",
|
|
22138
23983
|
"type": {
|
|
@@ -22163,7 +24008,7 @@
|
|
|
22163
24008
|
"tagNameWithoutPrefix": "progress-bar",
|
|
22164
24009
|
"tagName": "zn-progress-bar",
|
|
22165
24010
|
"customElement": true,
|
|
22166
|
-
"jsDoc": "/**\n * @summary Progress bars provide visual feedback about the completion status of a task or process.\n * @documentation https://zinc.style/components/progress-bar\n * @status experimental\n * @since 1.0\n *\n * @csspart header - The header container that contains the caption and progress text.\n * @csspart caption - The caption text element.\n * @csspart progress - The progress percentage text element.\n * @csspart bar - The SVG element containing the progress bar.\n * @csspart track - The background track of the progress bar.\n * @csspart fill - The filled portion of the progress bar indicating progress.\n * @csspart footer - The footer container that contains the description.\n * @csspart info - The description text element.\n *\n * @cssproperty --zn-border-color - The color of the progress bar background track.\n * @cssproperty --zn-
|
|
24011
|
+
"jsDoc": "/**\n * @summary Progress bars provide visual feedback about the completion status of a task or process.\n * @documentation https://zinc.style/components/progress-bar\n * @status experimental\n * @since 1.0\n *\n * @csspart header - The header container that contains the caption and progress text.\n * @csspart caption - The caption text element.\n * @csspart progress - The progress percentage text element.\n * @csspart bar - The SVG element containing the progress bar.\n * @csspart track - The background track of the progress bar.\n * @csspart fill - The filled portion of the progress bar indicating progress.\n * @csspart footer - The footer container that contains the description.\n * @csspart info - The description text element.\n *\n * @cssproperty --zn-border-color - The color of the progress bar background track.\n * @cssproperty --zn-progress-bar-color - The color of the progress bar fill.\n * @cssproperty --zn-text-heading - The color of the caption text.\n * @cssproperty --zn-text - The color of the progress percentage and description text.\n * @cssproperty --zn-spacing-x-small - The spacing between header/footer and the progress bar.\n */",
|
|
22167
24012
|
"documentation": "https://zinc.style/components/progress-bar",
|
|
22168
24013
|
"status": "experimental",
|
|
22169
24014
|
"since": "1.0"
|
|
@@ -24652,10 +26497,16 @@
|
|
|
24652
26497
|
{
|
|
24653
26498
|
"kind": "field",
|
|
24654
26499
|
"name": "_footerResizeObserver",
|
|
24655
|
-
"
|
|
24656
|
-
|
|
24657
|
-
},
|
|
24658
|
-
|
|
26500
|
+
"privacy": "private",
|
|
26501
|
+
"readonly": true,
|
|
26502
|
+
"default": "new ResizeController(this, { target: null, callback: () => { this.style.setProperty('--zn-scroll-footer-height', `${this.footer?.clientHeight ?? 0}px`); }, })"
|
|
26503
|
+
},
|
|
26504
|
+
{
|
|
26505
|
+
"kind": "field",
|
|
26506
|
+
"name": "_domObserver",
|
|
26507
|
+
"privacy": "private",
|
|
26508
|
+
"readonly": true,
|
|
26509
|
+
"default": "new MutationController(this, { target: null, config: {childList: true, subtree: true}, callback: () => { setTimeout(() => this.scrollEnd(), 100); if (this.footer) { this.style.setProperty('--zn-scroll-footer-height', `${this.footer.clientHeight}px`); this._footerResizeObserver.observe(this.footer); } }, })"
|
|
24659
26510
|
}
|
|
24660
26511
|
],
|
|
24661
26512
|
"events": [
|
|
@@ -25132,6 +26983,17 @@
|
|
|
25132
26983
|
"attribute": "search",
|
|
25133
26984
|
"reflects": true
|
|
25134
26985
|
},
|
|
26986
|
+
{
|
|
26987
|
+
"kind": "field",
|
|
26988
|
+
"name": "freeText",
|
|
26989
|
+
"type": {
|
|
26990
|
+
"text": "boolean"
|
|
26991
|
+
},
|
|
26992
|
+
"default": "false",
|
|
26993
|
+
"description": "Allows the user to enter values that are not in the options list (\"free text\"). Implies the editable,\nfiltering input behavior of `search`. A typed value that doesn't match an existing option is committed\nby pressing Enter, clicking the \"Add\" row, or blurring the field, and becomes a selected option — a tag\nwhen `multiple` is enabled. The committed value is both the option's value and its label.",
|
|
26994
|
+
"attribute": "free-text",
|
|
26995
|
+
"reflects": true
|
|
26996
|
+
},
|
|
25135
26997
|
{
|
|
25136
26998
|
"kind": "field",
|
|
25137
26999
|
"name": "label",
|
|
@@ -25433,6 +27295,13 @@
|
|
|
25433
27295
|
"description": "Whether the component is in remote-search mode (search + dataUri both set)",
|
|
25434
27296
|
"readonly": true
|
|
25435
27297
|
},
|
|
27298
|
+
{
|
|
27299
|
+
"kind": "field",
|
|
27300
|
+
"name": "_isTypeable",
|
|
27301
|
+
"privacy": "private",
|
|
27302
|
+
"description": "Whether the display input is editable and filters options (search or free-text).",
|
|
27303
|
+
"readonly": true
|
|
27304
|
+
},
|
|
25436
27305
|
{
|
|
25437
27306
|
"kind": "method",
|
|
25438
27307
|
"name": "handleSearchInput",
|
|
@@ -25451,6 +27320,80 @@
|
|
|
25451
27320
|
"privacy": "private",
|
|
25452
27321
|
"description": "Clears the search query and shows all options"
|
|
25453
27322
|
},
|
|
27323
|
+
{
|
|
27324
|
+
"kind": "method",
|
|
27325
|
+
"name": "commitFreeText",
|
|
27326
|
+
"privacy": "private",
|
|
27327
|
+
"return": {
|
|
27328
|
+
"type": {
|
|
27329
|
+
"text": "boolean"
|
|
27330
|
+
}
|
|
27331
|
+
},
|
|
27332
|
+
"parameters": [
|
|
27333
|
+
{
|
|
27334
|
+
"name": "refocus",
|
|
27335
|
+
"default": "true"
|
|
27336
|
+
}
|
|
27337
|
+
],
|
|
27338
|
+
"description": "Commits the current typed text as a selected value when `free-text` is enabled. A selected `<zn-option>`\n(value = label = trimmed text) is created in the light DOM so the value flows through the existing\ntag/value/selection machinery and appears as a deselectable row in the listbox. Returns `true` when\nsomething was committed, `false` when there was nothing to commit."
|
|
27339
|
+
},
|
|
27340
|
+
{
|
|
27341
|
+
"kind": "field",
|
|
27342
|
+
"name": "_freeTextAddValue",
|
|
27343
|
+
"type": {
|
|
27344
|
+
"text": "string | null"
|
|
27345
|
+
},
|
|
27346
|
+
"privacy": "private",
|
|
27347
|
+
"description": "The trimmed pending text to offer as a free-text \"Add\" row, or `null` when no Add row should be shown\n(free-text disabled, dropdown closed, input empty, or the text exactly matches an existing option).",
|
|
27348
|
+
"readonly": true
|
|
27349
|
+
},
|
|
27350
|
+
{
|
|
27351
|
+
"kind": "method",
|
|
27352
|
+
"name": "handleAddOptionMouseDown",
|
|
27353
|
+
"privacy": "private",
|
|
27354
|
+
"parameters": [
|
|
27355
|
+
{
|
|
27356
|
+
"name": "event",
|
|
27357
|
+
"type": {
|
|
27358
|
+
"text": "MouseEvent"
|
|
27359
|
+
}
|
|
27360
|
+
}
|
|
27361
|
+
],
|
|
27362
|
+
"description": "Commits the typed value when the \"Add\" row is pressed, keeping focus on the input."
|
|
27363
|
+
},
|
|
27364
|
+
{
|
|
27365
|
+
"kind": "method",
|
|
27366
|
+
"name": "_materialiseFreeTextValues",
|
|
27367
|
+
"privacy": "private",
|
|
27368
|
+
"parameters": [
|
|
27369
|
+
{
|
|
27370
|
+
"name": "values",
|
|
27371
|
+
"type": {
|
|
27372
|
+
"text": "string[]"
|
|
27373
|
+
}
|
|
27374
|
+
}
|
|
27375
|
+
],
|
|
27376
|
+
"description": "In free-text mode, creates a hidden `<zn-option>` for any value that has no matching option, so values\nset via the `value`/`defaultValue` attribute (e.g. previously-saved custom entries) render as tags or\nthe display value on load. No-op when free-text is disabled."
|
|
27377
|
+
},
|
|
27378
|
+
{
|
|
27379
|
+
"kind": "method",
|
|
27380
|
+
"name": "_createFreeTextOption",
|
|
27381
|
+
"privacy": "private",
|
|
27382
|
+
"return": {
|
|
27383
|
+
"type": {
|
|
27384
|
+
"text": "ZnOption"
|
|
27385
|
+
}
|
|
27386
|
+
},
|
|
27387
|
+
"parameters": [
|
|
27388
|
+
{
|
|
27389
|
+
"name": "value",
|
|
27390
|
+
"type": {
|
|
27391
|
+
"text": "string"
|
|
27392
|
+
}
|
|
27393
|
+
}
|
|
27394
|
+
],
|
|
27395
|
+
"description": "Creates a free-text-marked `<zn-option>` in the light DOM (value = label) and returns it. The option is\na normal, visible, selectable row so the user can deselect a custom value from the dropdown like any\nother option; the `data-free-text` marker lets us drop it from the DOM once it's no longer selected."
|
|
27396
|
+
},
|
|
25454
27397
|
{
|
|
25455
27398
|
"kind": "method",
|
|
25456
27399
|
"name": "handleOptionClick",
|
|
@@ -25982,6 +27925,15 @@
|
|
|
25982
27925
|
"description": "Enables search/filter functionality. When enabled, the user can type into the select to filter the visible options.",
|
|
25983
27926
|
"fieldName": "search"
|
|
25984
27927
|
},
|
|
27928
|
+
{
|
|
27929
|
+
"name": "free-text",
|
|
27930
|
+
"type": {
|
|
27931
|
+
"text": "boolean"
|
|
27932
|
+
},
|
|
27933
|
+
"default": "false",
|
|
27934
|
+
"description": "Allows the user to enter values that are not in the options list (\"free text\"). Implies the editable,\nfiltering input behavior of `search`. A typed value that doesn't match an existing option is committed\nby pressing Enter, clicking the \"Add\" row, or blurring the field, and becomes a selected option — a tag\nwhen `multiple` is enabled. The committed value is both the option's value and its label.",
|
|
27935
|
+
"fieldName": "freeText"
|
|
27936
|
+
},
|
|
25985
27937
|
{
|
|
25986
27938
|
"name": "label",
|
|
25987
27939
|
"type": {
|
|
@@ -26245,11 +28197,9 @@
|
|
|
26245
28197
|
{
|
|
26246
28198
|
"kind": "field",
|
|
26247
28199
|
"name": "_mutationObserver",
|
|
26248
|
-
"type": {
|
|
26249
|
-
"text": "MutationObserver | null"
|
|
26250
|
-
},
|
|
26251
28200
|
"privacy": "private",
|
|
26252
|
-
"
|
|
28201
|
+
"readonly": true,
|
|
28202
|
+
"default": "new MutationController(this, { target: null, config: {childList: true, subtree: true, attributes: true}, callback: mutations => { for (const mutation of mutations) { if (mutation.type === 'attributes' && mutation.attributeName === 'hidden') { continue; } this.scheduleUpdateFilters(); break; } }, })"
|
|
26253
28203
|
},
|
|
26254
28204
|
{
|
|
26255
28205
|
"kind": "field",
|
|
@@ -26466,8 +28416,10 @@
|
|
|
26466
28416
|
"attribute": "wide"
|
|
26467
28417
|
},
|
|
26468
28418
|
{
|
|
26469
|
-
"kind": "
|
|
26470
|
-
"name": "
|
|
28419
|
+
"kind": "field",
|
|
28420
|
+
"name": "domObserver",
|
|
28421
|
+
"privacy": "private",
|
|
28422
|
+
"default": "new MutationController(this, { target: null, config: {childList: true, subtree: true}, callback: () => { setTimeout(() => this.scrollBottom(), 10); }, })"
|
|
26471
28423
|
},
|
|
26472
28424
|
{
|
|
26473
28425
|
"kind": "method",
|
|
@@ -26602,10 +28554,9 @@
|
|
|
26602
28554
|
{
|
|
26603
28555
|
"kind": "field",
|
|
26604
28556
|
"name": "resizeObserver",
|
|
26605
|
-
"
|
|
26606
|
-
|
|
26607
|
-
}
|
|
26608
|
-
"privacy": "private"
|
|
28557
|
+
"privacy": "private",
|
|
28558
|
+
"readonly": true,
|
|
28559
|
+
"default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => this.chart?.resize(), })"
|
|
26609
28560
|
}
|
|
26610
28561
|
],
|
|
26611
28562
|
"attributes": [
|
|
@@ -27774,6 +29725,11 @@
|
|
|
27774
29725
|
"privacy": "private",
|
|
27775
29726
|
"default": "0"
|
|
27776
29727
|
},
|
|
29728
|
+
{
|
|
29729
|
+
"kind": "field",
|
|
29730
|
+
"name": "focusChangeHandler",
|
|
29731
|
+
"privacy": "private"
|
|
29732
|
+
},
|
|
27777
29733
|
{
|
|
27778
29734
|
"kind": "field",
|
|
27779
29735
|
"name": "primaryFull",
|
|
@@ -27782,6 +29738,24 @@
|
|
|
27782
29738
|
},
|
|
27783
29739
|
"privacy": "private"
|
|
27784
29740
|
},
|
|
29741
|
+
{
|
|
29742
|
+
"kind": "field",
|
|
29743
|
+
"name": "resizeObserver",
|
|
29744
|
+
"type": {
|
|
29745
|
+
"text": "ResizeObserver | null"
|
|
29746
|
+
},
|
|
29747
|
+
"privacy": "private",
|
|
29748
|
+
"default": "null"
|
|
29749
|
+
},
|
|
29750
|
+
{
|
|
29751
|
+
"kind": "field",
|
|
29752
|
+
"name": "parentIsNarrow",
|
|
29753
|
+
"type": {
|
|
29754
|
+
"text": "boolean"
|
|
29755
|
+
},
|
|
29756
|
+
"privacy": "private",
|
|
29757
|
+
"default": "false"
|
|
29758
|
+
},
|
|
27785
29759
|
{
|
|
27786
29760
|
"kind": "field",
|
|
27787
29761
|
"name": "calculatePixels",
|
|
@@ -27812,6 +29786,15 @@
|
|
|
27812
29786
|
"attribute": "min-size",
|
|
27813
29787
|
"reflects": true
|
|
27814
29788
|
},
|
|
29789
|
+
{
|
|
29790
|
+
"kind": "field",
|
|
29791
|
+
"name": "minimumSecondaryPaneSize",
|
|
29792
|
+
"type": {
|
|
29793
|
+
"text": "number"
|
|
29794
|
+
},
|
|
29795
|
+
"attribute": "min-secondary-size",
|
|
29796
|
+
"reflects": true
|
|
29797
|
+
},
|
|
27815
29798
|
{
|
|
27816
29799
|
"kind": "field",
|
|
27817
29800
|
"name": "maximumPaneSize",
|
|
@@ -27911,6 +29894,36 @@
|
|
|
27911
29894
|
"attribute": "padded-right",
|
|
27912
29895
|
"reflects": true
|
|
27913
29896
|
},
|
|
29897
|
+
{
|
|
29898
|
+
"kind": "field",
|
|
29899
|
+
"name": "gap",
|
|
29900
|
+
"type": {
|
|
29901
|
+
"text": "boolean"
|
|
29902
|
+
},
|
|
29903
|
+
"default": "false",
|
|
29904
|
+
"attribute": "gap",
|
|
29905
|
+
"reflects": true
|
|
29906
|
+
},
|
|
29907
|
+
{
|
|
29908
|
+
"kind": "field",
|
|
29909
|
+
"name": "hide",
|
|
29910
|
+
"type": {
|
|
29911
|
+
"text": "'primary' | 'secondary' | ''"
|
|
29912
|
+
},
|
|
29913
|
+
"default": "''",
|
|
29914
|
+
"attribute": "hide",
|
|
29915
|
+
"reflects": true
|
|
29916
|
+
},
|
|
29917
|
+
{
|
|
29918
|
+
"kind": "field",
|
|
29919
|
+
"name": "mergedNavigation",
|
|
29920
|
+
"type": {
|
|
29921
|
+
"text": "boolean"
|
|
29922
|
+
},
|
|
29923
|
+
"default": "false",
|
|
29924
|
+
"attribute": "merged-navigation",
|
|
29925
|
+
"reflects": true
|
|
29926
|
+
},
|
|
27914
29927
|
{
|
|
27915
29928
|
"kind": "field",
|
|
27916
29929
|
"name": "localStorage",
|
|
@@ -27938,6 +29951,11 @@
|
|
|
27938
29951
|
},
|
|
27939
29952
|
"privacy": "protected"
|
|
27940
29953
|
},
|
|
29954
|
+
{
|
|
29955
|
+
"kind": "method",
|
|
29956
|
+
"name": "refreshNarrowState",
|
|
29957
|
+
"privacy": "private"
|
|
29958
|
+
},
|
|
27941
29959
|
{
|
|
27942
29960
|
"kind": "method",
|
|
27943
29961
|
"name": "applyStoredSize"
|
|
@@ -27968,30 +29986,88 @@
|
|
|
27968
29986
|
},
|
|
27969
29987
|
{
|
|
27970
29988
|
"kind": "method",
|
|
27971
|
-
"name": "
|
|
29989
|
+
"name": "_setFocusPane",
|
|
27972
29990
|
"parameters": [
|
|
27973
29991
|
{
|
|
27974
|
-
"name": "
|
|
29992
|
+
"name": "idx",
|
|
27975
29993
|
"type": {
|
|
27976
|
-
"text": "
|
|
29994
|
+
"text": "number"
|
|
27977
29995
|
}
|
|
27978
29996
|
}
|
|
27979
29997
|
]
|
|
27980
29998
|
},
|
|
27981
29999
|
{
|
|
27982
30000
|
"kind": "method",
|
|
27983
|
-
"name": "
|
|
30001
|
+
"name": "getDirectNestedSplitPanes",
|
|
30002
|
+
"privacy": "private"
|
|
30003
|
+
},
|
|
30004
|
+
{
|
|
30005
|
+
"kind": "method",
|
|
30006
|
+
"name": "updateNestedNavigationMerging",
|
|
30007
|
+
"privacy": "private"
|
|
30008
|
+
},
|
|
30009
|
+
{
|
|
30010
|
+
"kind": "method",
|
|
30011
|
+
"name": "getPaneIndexForNestedSplitPane",
|
|
30012
|
+
"privacy": "private",
|
|
27984
30013
|
"parameters": [
|
|
27985
30014
|
{
|
|
27986
|
-
"name": "
|
|
30015
|
+
"name": "child",
|
|
30016
|
+
"type": {
|
|
30017
|
+
"text": "ZnSplitPane"
|
|
30018
|
+
}
|
|
30019
|
+
}
|
|
30020
|
+
]
|
|
30021
|
+
},
|
|
30022
|
+
{
|
|
30023
|
+
"kind": "method",
|
|
30024
|
+
"name": "getNestedNavigationItems",
|
|
30025
|
+
"privacy": "private",
|
|
30026
|
+
"return": {
|
|
30027
|
+
"type": {
|
|
30028
|
+
"text": "NavigationItem[]"
|
|
30029
|
+
}
|
|
30030
|
+
},
|
|
30031
|
+
"parameters": [
|
|
30032
|
+
{
|
|
30033
|
+
"name": "parentIdx",
|
|
27987
30034
|
"type": {
|
|
27988
30035
|
"text": "number"
|
|
27989
30036
|
}
|
|
27990
30037
|
}
|
|
27991
30038
|
]
|
|
30039
|
+
},
|
|
30040
|
+
{
|
|
30041
|
+
"kind": "method",
|
|
30042
|
+
"name": "getDirectNestedSplitPanesForPane",
|
|
30043
|
+
"privacy": "private",
|
|
30044
|
+
"parameters": [
|
|
30045
|
+
{
|
|
30046
|
+
"name": "parentIdx",
|
|
30047
|
+
"type": {
|
|
30048
|
+
"text": "number"
|
|
30049
|
+
}
|
|
30050
|
+
}
|
|
30051
|
+
]
|
|
30052
|
+
},
|
|
30053
|
+
{
|
|
30054
|
+
"kind": "method",
|
|
30055
|
+
"name": "getNavigationItems",
|
|
30056
|
+
"privacy": "private",
|
|
30057
|
+
"return": {
|
|
30058
|
+
"type": {
|
|
30059
|
+
"text": "NavigationItem[]"
|
|
30060
|
+
}
|
|
30061
|
+
}
|
|
27992
30062
|
}
|
|
27993
30063
|
],
|
|
27994
30064
|
"events": [
|
|
30065
|
+
{
|
|
30066
|
+
"name": "zn-split-pane-focus-change",
|
|
30067
|
+
"type": {
|
|
30068
|
+
"text": "CustomEvent"
|
|
30069
|
+
}
|
|
30070
|
+
},
|
|
27995
30071
|
{
|
|
27996
30072
|
"description": "Emitted as an example.",
|
|
27997
30073
|
"name": "zn-event-name"
|
|
@@ -28022,6 +30098,13 @@
|
|
|
28022
30098
|
"default": "10",
|
|
28023
30099
|
"fieldName": "minimumPaneSize"
|
|
28024
30100
|
},
|
|
30101
|
+
{
|
|
30102
|
+
"name": "min-secondary-size",
|
|
30103
|
+
"type": {
|
|
30104
|
+
"text": "number"
|
|
30105
|
+
},
|
|
30106
|
+
"fieldName": "minimumSecondaryPaneSize"
|
|
30107
|
+
},
|
|
28025
30108
|
{
|
|
28026
30109
|
"name": "max-size",
|
|
28027
30110
|
"type": {
|
|
@@ -28101,6 +30184,30 @@
|
|
|
28101
30184
|
"default": "false",
|
|
28102
30185
|
"fieldName": "paddedRight"
|
|
28103
30186
|
},
|
|
30187
|
+
{
|
|
30188
|
+
"name": "gap",
|
|
30189
|
+
"type": {
|
|
30190
|
+
"text": "boolean"
|
|
30191
|
+
},
|
|
30192
|
+
"default": "false",
|
|
30193
|
+
"fieldName": "gap"
|
|
30194
|
+
},
|
|
30195
|
+
{
|
|
30196
|
+
"name": "hide",
|
|
30197
|
+
"type": {
|
|
30198
|
+
"text": "'primary' | 'secondary' | ''"
|
|
30199
|
+
},
|
|
30200
|
+
"default": "''",
|
|
30201
|
+
"fieldName": "hide"
|
|
30202
|
+
},
|
|
30203
|
+
{
|
|
30204
|
+
"name": "merged-navigation",
|
|
30205
|
+
"type": {
|
|
30206
|
+
"text": "boolean"
|
|
30207
|
+
},
|
|
30208
|
+
"default": "false",
|
|
30209
|
+
"fieldName": "mergedNavigation"
|
|
30210
|
+
},
|
|
28104
30211
|
{
|
|
28105
30212
|
"name": "local-storage",
|
|
28106
30213
|
"type": {
|
|
@@ -28746,6 +30853,15 @@
|
|
|
28746
30853
|
"default": "''",
|
|
28747
30854
|
"attribute": "margin"
|
|
28748
30855
|
},
|
|
30856
|
+
{
|
|
30857
|
+
"kind": "field",
|
|
30858
|
+
"name": "gutter",
|
|
30859
|
+
"type": {
|
|
30860
|
+
"text": "boolean"
|
|
30861
|
+
},
|
|
30862
|
+
"default": "false",
|
|
30863
|
+
"attribute": "gutter"
|
|
30864
|
+
},
|
|
28749
30865
|
{
|
|
28750
30866
|
"kind": "field",
|
|
28751
30867
|
"name": "autoMargin",
|
|
@@ -28877,6 +30993,14 @@
|
|
|
28877
30993
|
"default": "''",
|
|
28878
30994
|
"fieldName": "margin"
|
|
28879
30995
|
},
|
|
30996
|
+
{
|
|
30997
|
+
"name": "gutter",
|
|
30998
|
+
"type": {
|
|
30999
|
+
"text": "boolean"
|
|
31000
|
+
},
|
|
31001
|
+
"default": "false",
|
|
31002
|
+
"fieldName": "gutter"
|
|
31003
|
+
},
|
|
28880
31004
|
{
|
|
28881
31005
|
"name": "a-margin",
|
|
28882
31006
|
"type": {
|
|
@@ -28906,6 +31030,94 @@
|
|
|
28906
31030
|
}
|
|
28907
31031
|
]
|
|
28908
31032
|
},
|
|
31033
|
+
{
|
|
31034
|
+
"kind": "javascript-module",
|
|
31035
|
+
"path": "components/tab/tab.js",
|
|
31036
|
+
"declarations": [
|
|
31037
|
+
{
|
|
31038
|
+
"kind": "class",
|
|
31039
|
+
"description": "",
|
|
31040
|
+
"name": "ZnTab",
|
|
31041
|
+
"slots": [
|
|
31042
|
+
{
|
|
31043
|
+
"description": "The tab panel content.",
|
|
31044
|
+
"name": ""
|
|
31045
|
+
}
|
|
31046
|
+
],
|
|
31047
|
+
"members": [
|
|
31048
|
+
{
|
|
31049
|
+
"kind": "field",
|
|
31050
|
+
"name": "caption",
|
|
31051
|
+
"type": {
|
|
31052
|
+
"text": "string"
|
|
31053
|
+
},
|
|
31054
|
+
"attribute": "caption"
|
|
31055
|
+
},
|
|
31056
|
+
{
|
|
31057
|
+
"kind": "field",
|
|
31058
|
+
"name": "priority",
|
|
31059
|
+
"type": {
|
|
31060
|
+
"text": "number"
|
|
31061
|
+
},
|
|
31062
|
+
"attribute": "priority"
|
|
31063
|
+
},
|
|
31064
|
+
{
|
|
31065
|
+
"kind": "field",
|
|
31066
|
+
"name": "uri",
|
|
31067
|
+
"type": {
|
|
31068
|
+
"text": "string"
|
|
31069
|
+
},
|
|
31070
|
+
"attribute": "uri"
|
|
31071
|
+
}
|
|
31072
|
+
],
|
|
31073
|
+
"attributes": [
|
|
31074
|
+
{
|
|
31075
|
+
"name": "caption",
|
|
31076
|
+
"type": {
|
|
31077
|
+
"text": "string"
|
|
31078
|
+
},
|
|
31079
|
+
"fieldName": "caption"
|
|
31080
|
+
},
|
|
31081
|
+
{
|
|
31082
|
+
"name": "priority",
|
|
31083
|
+
"type": {
|
|
31084
|
+
"text": "number"
|
|
31085
|
+
},
|
|
31086
|
+
"fieldName": "priority"
|
|
31087
|
+
},
|
|
31088
|
+
{
|
|
31089
|
+
"name": "uri",
|
|
31090
|
+
"type": {
|
|
31091
|
+
"text": "string"
|
|
31092
|
+
},
|
|
31093
|
+
"fieldName": "uri"
|
|
31094
|
+
}
|
|
31095
|
+
],
|
|
31096
|
+
"superclass": {
|
|
31097
|
+
"name": "ZincElement",
|
|
31098
|
+
"module": "/src/internal/zinc-element"
|
|
31099
|
+
},
|
|
31100
|
+
"summary": "Defines a tab panel for use inside zn-page.",
|
|
31101
|
+
"tagNameWithoutPrefix": "tab",
|
|
31102
|
+
"tagName": "zn-tab",
|
|
31103
|
+
"customElement": true,
|
|
31104
|
+
"jsDoc": "/**\n * @summary Defines a tab panel for use inside zn-page.\n * @documentation https://zinc.style/components/tab\n * @status experimental\n * @since 1.0\n *\n * @slot - The tab panel content.\n */",
|
|
31105
|
+
"documentation": "https://zinc.style/components/tab",
|
|
31106
|
+
"status": "experimental",
|
|
31107
|
+
"since": "1.0"
|
|
31108
|
+
}
|
|
31109
|
+
],
|
|
31110
|
+
"exports": [
|
|
31111
|
+
{
|
|
31112
|
+
"kind": "js",
|
|
31113
|
+
"name": "default",
|
|
31114
|
+
"declaration": {
|
|
31115
|
+
"name": "ZnTab",
|
|
31116
|
+
"module": "components/tab/tab.js"
|
|
31117
|
+
}
|
|
31118
|
+
}
|
|
31119
|
+
]
|
|
31120
|
+
},
|
|
28909
31121
|
{
|
|
28910
31122
|
"kind": "javascript-module",
|
|
28911
31123
|
"path": "components/table/table.js",
|
|
@@ -29031,6 +31243,13 @@
|
|
|
29031
31243
|
"privacy": "private",
|
|
29032
31244
|
"default": "[]"
|
|
29033
31245
|
},
|
|
31246
|
+
{
|
|
31247
|
+
"kind": "field",
|
|
31248
|
+
"name": "resizeObserver",
|
|
31249
|
+
"privacy": "private",
|
|
31250
|
+
"readonly": true,
|
|
31251
|
+
"default": "new ResizeController(this, { target: null, callback: () => this.resizing(), })"
|
|
31252
|
+
},
|
|
29034
31253
|
{
|
|
29035
31254
|
"kind": "method",
|
|
29036
31255
|
"name": "resizing"
|
|
@@ -29242,6 +31461,15 @@
|
|
|
29242
31461
|
"attribute": "split-min",
|
|
29243
31462
|
"reflects": true
|
|
29244
31463
|
},
|
|
31464
|
+
{
|
|
31465
|
+
"kind": "field",
|
|
31466
|
+
"name": "_splitMinSecondary",
|
|
31467
|
+
"type": {
|
|
31468
|
+
"text": "number"
|
|
31469
|
+
},
|
|
31470
|
+
"attribute": "split-min-secondary",
|
|
31471
|
+
"reflects": true
|
|
31472
|
+
},
|
|
29245
31473
|
{
|
|
29246
31474
|
"kind": "field",
|
|
29247
31475
|
"name": "_splitMax",
|
|
@@ -29468,6 +31696,20 @@
|
|
|
29468
31696
|
"readonly": true,
|
|
29469
31697
|
"default": "new HasSlotController(this, '[default]', 'bottom', 'right', 'left', 'top', 'actions')"
|
|
29470
31698
|
},
|
|
31699
|
+
{
|
|
31700
|
+
"kind": "field",
|
|
31701
|
+
"name": "_domObserver",
|
|
31702
|
+
"privacy": "private",
|
|
31703
|
+
"readonly": true,
|
|
31704
|
+
"default": "new MutationController(this, { target: null, config: { childList: true, subtree: true }, callback: mutations => { mutations.forEach(mutation => { if (mutation.type !== 'childList') return; if (mutation.addedNodes.length > 0) { this._registerTabs(); } if (mutation.removedNodes.length > 0) { mutation.removedNodes.forEach(node => { const id = node instanceof HTMLElement ? node.id : ''; if (id) this.removeTabAndPanel(id); }); } }); }, })"
|
|
31705
|
+
},
|
|
31706
|
+
{
|
|
31707
|
+
"kind": "field",
|
|
31708
|
+
"name": "_monitorObserver",
|
|
31709
|
+
"privacy": "private",
|
|
31710
|
+
"readonly": true,
|
|
31711
|
+
"default": "new MutationController(this, { target: null, config: { childList: true, subtree: true }, callback: mutations => { mutations.forEach(mutation => { if (mutation.type !== 'childList') return; mutation.addedNodes.forEach(node => { if (node instanceof HTMLElement && node.id === this.monitor) { this.reRegisterTabs(); const storedValue = this._store.get(this.storeKey); if (storedValue !== null) { this._prepareTab(storedValue); this.setActiveTab(storedValue, false, false); } } }); }); }, })"
|
|
31712
|
+
},
|
|
29471
31713
|
{
|
|
29472
31714
|
"kind": "method",
|
|
29473
31715
|
"name": "monitorDom"
|
|
@@ -29779,6 +32021,13 @@
|
|
|
29779
32021
|
"default": "60",
|
|
29780
32022
|
"fieldName": "_splitMin"
|
|
29781
32023
|
},
|
|
32024
|
+
{
|
|
32025
|
+
"name": "split-min-secondary",
|
|
32026
|
+
"type": {
|
|
32027
|
+
"text": "number"
|
|
32028
|
+
},
|
|
32029
|
+
"fieldName": "_splitMinSecondary"
|
|
32030
|
+
},
|
|
29782
32031
|
{
|
|
29783
32032
|
"name": "split-max",
|
|
29784
32033
|
"type": {
|
|
@@ -29992,10 +32241,9 @@
|
|
|
29992
32241
|
{
|
|
29993
32242
|
"kind": "field",
|
|
29994
32243
|
"name": "resizeObserver",
|
|
29995
|
-
"
|
|
29996
|
-
|
|
29997
|
-
}
|
|
29998
|
-
"privacy": "private"
|
|
32244
|
+
"privacy": "private",
|
|
32245
|
+
"readonly": true,
|
|
32246
|
+
"default": "new ResizeController(this, { target: null, callback: () => this.setTextareaHeight(), })"
|
|
29999
32247
|
},
|
|
30000
32248
|
{
|
|
30001
32249
|
"kind": "field",
|
|
@@ -32128,14 +34376,6 @@
|
|
|
32128
34376
|
"privacy": "private",
|
|
32129
34377
|
"default": "-1"
|
|
32130
34378
|
},
|
|
32131
|
-
{
|
|
32132
|
-
"kind": "field",
|
|
32133
|
-
"name": "_resizeObserver",
|
|
32134
|
-
"type": {
|
|
32135
|
-
"text": "ResizeObserver | undefined"
|
|
32136
|
-
},
|
|
32137
|
-
"privacy": "private"
|
|
32138
|
-
},
|
|
32139
34379
|
{
|
|
32140
34380
|
"kind": "field",
|
|
32141
34381
|
"name": "_lastObservedWidth",
|
|
@@ -32744,14 +34984,6 @@
|
|
|
32744
34984
|
"privacy": "private",
|
|
32745
34985
|
"default": "-1"
|
|
32746
34986
|
},
|
|
32747
|
-
{
|
|
32748
|
-
"kind": "field",
|
|
32749
|
-
"name": "_resizeObserver",
|
|
32750
|
-
"type": {
|
|
32751
|
-
"text": "ResizeObserver | undefined"
|
|
32752
|
-
},
|
|
32753
|
-
"privacy": "private"
|
|
32754
|
-
},
|
|
32755
34987
|
{
|
|
32756
34988
|
"kind": "field",
|
|
32757
34989
|
"name": "_lastObservedWidth",
|
|
@@ -33279,7 +35511,7 @@
|
|
|
33279
35511
|
"package": {
|
|
33280
35512
|
"name": "@kubex/zinc",
|
|
33281
35513
|
"description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
|
|
33282
|
-
"version": "1.0.
|
|
35514
|
+
"version": "1.0.115",
|
|
33283
35515
|
"author": "",
|
|
33284
35516
|
"license": "MIT"
|
|
33285
35517
|
}
|