@kubex/zinc 1.1.120 → 1.1.122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +1952 -921
- package/dist/vscode.html-custom-data.json +80 -58
- package/dist/web-types.json +208 -142
- package/dist/zn.d.ts +403 -298
- package/dist/zn.min.js +1511 -1370
- package/docs/pages/components/button.md +9 -0
- package/docs/pages/components/data-table-filter.md +60 -4
- package/docs/pages/components/data-table-search.md +3 -3
- package/docs/pages/components/data-table.md +78 -9
- package/docs/pages/components/datepicker.md +10 -0
- package/docs/pages/components/menu-item.md +16 -2
- package/docs/pages/components/translation-group.md +2 -2
- package/package.json +1 -1
- package/src/components/button/button.component.ts +11 -4
- package/src/components/button/button.scss +12 -1
- package/src/components/data-table/data-table.component.ts +341 -139
- package/src/components/data-table/data-table.scss +105 -42
- package/src/components/data-table/data-table.test.ts +110 -0
- package/src/components/data-table-filter/data-table-filter.component.ts +487 -49
- package/src/components/data-table-filter/data-table-filter.scss +163 -9
- package/src/components/data-table-filter/data-table-filter.test.ts +328 -2
- package/src/components/data-table-search/data-table-search.component.ts +1 -1
- package/src/components/datepicker/datepicker.component.ts +23 -2
- package/src/components/datepicker/datepicker.scss +25 -0
- package/src/components/datepicker/datepicker.test.ts +28 -1
- package/src/components/input/input.component.ts +1 -0
- package/src/components/input/input.scss +1 -1
- package/src/components/menu/menu.component.ts +2 -0
- package/src/components/menu/menu.scss +23 -2
- package/src/components/menu-item/menu-item.component.ts +7 -1
- package/src/components/menu-item/menu-item.scss +4 -4
- package/src/components/menu-item/menu-item.test.ts +39 -1
- package/src/components/panel/panel.component.ts +12 -5
- package/src/components/panel/panel.scss +3 -3
- package/src/components/query-builder/query-builder.component.ts +1 -1
- package/src/components/tooltip/tooltip.component.ts +2 -2
- package/src/components/tooltip/tooltip.test.ts +70 -2
- package/src/components/translation-group/translation-group.component.ts +5 -7
- package/src/components/translation-group/translation-group.test.ts +8 -8
- package/src/components/translations/translations.component.ts +3 -4
- package/src/components/translations/translations.test.ts +1 -1
|
@@ -1661,6 +1661,17 @@
|
|
|
1661
1661
|
"description": "Disables the hover background, for contexts where the tint doesn't fit.",
|
|
1662
1662
|
"attribute": "no-hover"
|
|
1663
1663
|
},
|
|
1664
|
+
{
|
|
1665
|
+
"kind": "field",
|
|
1666
|
+
"name": "pill",
|
|
1667
|
+
"type": {
|
|
1668
|
+
"text": "boolean"
|
|
1669
|
+
},
|
|
1670
|
+
"default": "false",
|
|
1671
|
+
"description": "Renders the button as a pill: fully rounded, sentence case and regular\nweight. For label-like triggers such as filter chips.",
|
|
1672
|
+
"attribute": "pill",
|
|
1673
|
+
"reflects": true
|
|
1674
|
+
},
|
|
1664
1675
|
{
|
|
1665
1676
|
"kind": "field",
|
|
1666
1677
|
"name": "panelBackground",
|
|
@@ -2142,6 +2153,15 @@
|
|
|
2142
2153
|
"description": "Disables the hover background, for contexts where the tint doesn't fit.",
|
|
2143
2154
|
"fieldName": "noHover"
|
|
2144
2155
|
},
|
|
2156
|
+
{
|
|
2157
|
+
"name": "pill",
|
|
2158
|
+
"type": {
|
|
2159
|
+
"text": "boolean"
|
|
2160
|
+
},
|
|
2161
|
+
"default": "false",
|
|
2162
|
+
"description": "Renders the button as a pill: fully rounded, sentence case and regular\nweight. For label-like triggers such as filter chips.",
|
|
2163
|
+
"fieldName": "pill"
|
|
2164
|
+
},
|
|
2145
2165
|
{
|
|
2146
2166
|
"name": "panel-bg",
|
|
2147
2167
|
"type": {
|
|
@@ -8560,31 +8580,31 @@
|
|
|
8560
8580
|
"name": ""
|
|
8561
8581
|
},
|
|
8562
8582
|
{
|
|
8563
|
-
"description": "Slot for search component.",
|
|
8583
|
+
"description": "Slot for search component, in the header's right-hand group.",
|
|
8564
8584
|
"name": "search"
|
|
8565
8585
|
},
|
|
8566
8586
|
{
|
|
8567
|
-
"description": "Slot for sort component.",
|
|
8587
|
+
"description": "Slot for sort component, in the header's right-hand group.",
|
|
8568
8588
|
"name": "sort"
|
|
8569
8589
|
},
|
|
8570
8590
|
{
|
|
8571
|
-
"description": "Slot for filter component.",
|
|
8591
|
+
"description": "Slot for filter component, in the header's right-hand group.",
|
|
8572
8592
|
"name": "filter"
|
|
8573
8593
|
},
|
|
8574
8594
|
{
|
|
8575
|
-
"description": "Slot for top-level filter component.",
|
|
8595
|
+
"description": "Slot for a top-level filter component, rendered above the table's panel.",
|
|
8576
8596
|
"name": "filter-top"
|
|
8577
8597
|
},
|
|
8578
8598
|
{
|
|
8579
|
-
"description": "Slot for delete action button.",
|
|
8599
|
+
"description": "Slot for delete action button, shown beside the caption once rows are selected.",
|
|
8580
8600
|
"name": "delete-action"
|
|
8581
8601
|
},
|
|
8582
8602
|
{
|
|
8583
|
-
"description": "Slot for modify action button.",
|
|
8603
|
+
"description": "Slot for modify action button, shown beside the caption once rows are selected.",
|
|
8584
8604
|
"name": "modify-action"
|
|
8585
8605
|
},
|
|
8586
8606
|
{
|
|
8587
|
-
"description": "Slot for create action button.",
|
|
8607
|
+
"description": "Slot for create action button, at the end of the header's right-hand group.",
|
|
8588
8608
|
"name": "create-action"
|
|
8589
8609
|
},
|
|
8590
8610
|
{
|
|
@@ -8608,7 +8628,7 @@
|
|
|
8608
8628
|
"text": "object"
|
|
8609
8629
|
},
|
|
8610
8630
|
"static": true,
|
|
8611
|
-
"default": "{ 'zn-alert': ZnAlert, 'zn-button': ZnButton, 'zn-empty-state': ZnEmptyState, 'zn-chip': ZnChip, 'zn-hover-container': ZnHoverContainer, 'zn-dropdown': ZnDropdown, 'zn-menu': ZnMenu, 'zn-menu-item': ZnMenuItem, 'zn-button-group': ZnButtonGroup, 'zn-confirm': ZnConfirm, 'zn-skeleton': ZnSkeleton, 'zn-style': ZnStyle, 'zn-data-table-search': ZnDataTableSearch, }"
|
|
8631
|
+
"default": "{ 'zn-alert': ZnAlert, 'zn-button': ZnButton, 'zn-empty-state': ZnEmptyState, 'zn-chip': ZnChip, 'zn-hover-container': ZnHoverContainer, 'zn-dropdown': ZnDropdown, 'zn-menu': ZnMenu, 'zn-menu-item': ZnMenuItem, 'zn-panel': ZnPanel, 'zn-button-group': ZnButtonGroup, 'zn-confirm': ZnConfirm, 'zn-skeleton': ZnSkeleton, 'zn-style': ZnStyle, 'zn-data-table-search': ZnDataTableSearch, }"
|
|
8612
8632
|
},
|
|
8613
8633
|
{
|
|
8614
8634
|
"kind": "field",
|
|
@@ -8749,6 +8769,24 @@
|
|
|
8749
8769
|
},
|
|
8750
8770
|
"attribute": "hide-pagination"
|
|
8751
8771
|
},
|
|
8772
|
+
{
|
|
8773
|
+
"kind": "field",
|
|
8774
|
+
"name": "hideColumnSelect",
|
|
8775
|
+
"type": {
|
|
8776
|
+
"text": "boolean"
|
|
8777
|
+
},
|
|
8778
|
+
"default": "false",
|
|
8779
|
+
"attribute": "hide-column-select"
|
|
8780
|
+
},
|
|
8781
|
+
{
|
|
8782
|
+
"kind": "field",
|
|
8783
|
+
"name": "hideRefresh",
|
|
8784
|
+
"type": {
|
|
8785
|
+
"text": "boolean"
|
|
8786
|
+
},
|
|
8787
|
+
"default": "false",
|
|
8788
|
+
"attribute": "hide-refresh"
|
|
8789
|
+
},
|
|
8752
8790
|
{
|
|
8753
8791
|
"kind": "field",
|
|
8754
8792
|
"name": "standalone",
|
|
@@ -8912,15 +8950,33 @@
|
|
|
8912
8950
|
},
|
|
8913
8951
|
"privacy": "private"
|
|
8914
8952
|
},
|
|
8953
|
+
{
|
|
8954
|
+
"kind": "field",
|
|
8955
|
+
"name": "_totalRows",
|
|
8956
|
+
"type": {
|
|
8957
|
+
"text": "number"
|
|
8958
|
+
},
|
|
8959
|
+
"privacy": "private",
|
|
8960
|
+
"default": "0"
|
|
8961
|
+
},
|
|
8915
8962
|
{
|
|
8916
8963
|
"kind": "field",
|
|
8917
8964
|
"name": "_rows",
|
|
8918
8965
|
"type": {
|
|
8919
|
-
"text": "
|
|
8966
|
+
"text": "Row[]"
|
|
8920
8967
|
},
|
|
8921
8968
|
"privacy": "private",
|
|
8922
8969
|
"default": "[]"
|
|
8923
8970
|
},
|
|
8971
|
+
{
|
|
8972
|
+
"kind": "field",
|
|
8973
|
+
"name": "_suggestionsKey",
|
|
8974
|
+
"type": {
|
|
8975
|
+
"text": "string"
|
|
8976
|
+
},
|
|
8977
|
+
"privacy": "private",
|
|
8978
|
+
"default": "''"
|
|
8979
|
+
},
|
|
8924
8980
|
{
|
|
8925
8981
|
"kind": "field",
|
|
8926
8982
|
"name": "numberOfRowsSelected",
|
|
@@ -8994,6 +9050,33 @@
|
|
|
8994
9050
|
},
|
|
8995
9051
|
"privacy": "private"
|
|
8996
9052
|
},
|
|
9053
|
+
{
|
|
9054
|
+
"kind": "field",
|
|
9055
|
+
"name": "_deselectedColumns",
|
|
9056
|
+
"type": {
|
|
9057
|
+
"text": "Set<string>"
|
|
9058
|
+
},
|
|
9059
|
+
"privacy": "private",
|
|
9060
|
+
"default": "new Set()"
|
|
9061
|
+
},
|
|
9062
|
+
{
|
|
9063
|
+
"kind": "field",
|
|
9064
|
+
"name": "_filtersOpen",
|
|
9065
|
+
"type": {
|
|
9066
|
+
"text": "boolean"
|
|
9067
|
+
},
|
|
9068
|
+
"privacy": "private",
|
|
9069
|
+
"default": "false"
|
|
9070
|
+
},
|
|
9071
|
+
{
|
|
9072
|
+
"kind": "field",
|
|
9073
|
+
"name": "_columnDefaultsApplied",
|
|
9074
|
+
"type": {
|
|
9075
|
+
"text": "boolean"
|
|
9076
|
+
},
|
|
9077
|
+
"privacy": "private",
|
|
9078
|
+
"default": "false"
|
|
9079
|
+
},
|
|
8997
9080
|
{
|
|
8998
9081
|
"kind": "field",
|
|
8999
9082
|
"name": "_formatTemplates",
|
|
@@ -9015,6 +9098,67 @@
|
|
|
9015
9098
|
"kind": "method",
|
|
9016
9099
|
"name": "refresh"
|
|
9017
9100
|
},
|
|
9101
|
+
{
|
|
9102
|
+
"kind": "method",
|
|
9103
|
+
"name": "visibleHeaders",
|
|
9104
|
+
"privacy": "private",
|
|
9105
|
+
"return": {
|
|
9106
|
+
"type": {
|
|
9107
|
+
"text": "HeaderConfig[]"
|
|
9108
|
+
}
|
|
9109
|
+
}
|
|
9110
|
+
},
|
|
9111
|
+
{
|
|
9112
|
+
"kind": "method",
|
|
9113
|
+
"name": "selectableHeaders",
|
|
9114
|
+
"privacy": "private",
|
|
9115
|
+
"return": {
|
|
9116
|
+
"type": {
|
|
9117
|
+
"text": "HeaderConfig[]"
|
|
9118
|
+
}
|
|
9119
|
+
}
|
|
9120
|
+
},
|
|
9121
|
+
{
|
|
9122
|
+
"kind": "method",
|
|
9123
|
+
"name": "isColumnVisible",
|
|
9124
|
+
"privacy": "private",
|
|
9125
|
+
"return": {
|
|
9126
|
+
"type": {
|
|
9127
|
+
"text": "boolean"
|
|
9128
|
+
}
|
|
9129
|
+
},
|
|
9130
|
+
"parameters": [
|
|
9131
|
+
{
|
|
9132
|
+
"name": "header",
|
|
9133
|
+
"type": {
|
|
9134
|
+
"text": "HeaderConfig"
|
|
9135
|
+
}
|
|
9136
|
+
}
|
|
9137
|
+
]
|
|
9138
|
+
},
|
|
9139
|
+
{
|
|
9140
|
+
"kind": "method",
|
|
9141
|
+
"name": "applyColumnDefaults",
|
|
9142
|
+
"privacy": "private"
|
|
9143
|
+
},
|
|
9144
|
+
{
|
|
9145
|
+
"kind": "method",
|
|
9146
|
+
"name": "toggleColumn",
|
|
9147
|
+
"privacy": "private",
|
|
9148
|
+
"parameters": [
|
|
9149
|
+
{
|
|
9150
|
+
"name": "header",
|
|
9151
|
+
"type": {
|
|
9152
|
+
"text": "HeaderConfig"
|
|
9153
|
+
}
|
|
9154
|
+
}
|
|
9155
|
+
]
|
|
9156
|
+
},
|
|
9157
|
+
{
|
|
9158
|
+
"kind": "method",
|
|
9159
|
+
"name": "publishFilterSuggestions",
|
|
9160
|
+
"privacy": "private"
|
|
9161
|
+
},
|
|
9018
9162
|
{
|
|
9019
9163
|
"kind": "method",
|
|
9020
9164
|
"name": "getTemplate",
|
|
@@ -9033,6 +9177,10 @@
|
|
|
9033
9177
|
}
|
|
9034
9178
|
]
|
|
9035
9179
|
},
|
|
9180
|
+
{
|
|
9181
|
+
"kind": "field",
|
|
9182
|
+
"name": "filterClearListener"
|
|
9183
|
+
},
|
|
9036
9184
|
{
|
|
9037
9185
|
"kind": "field",
|
|
9038
9186
|
"name": "filterChangeListener"
|
|
@@ -9089,9 +9237,9 @@
|
|
|
9089
9237
|
"privacy": "public",
|
|
9090
9238
|
"parameters": [
|
|
9091
9239
|
{
|
|
9092
|
-
"name": "
|
|
9240
|
+
"name": "groups",
|
|
9093
9241
|
"type": {
|
|
9094
|
-
"text": "
|
|
9242
|
+
"text": "RowGroup[]"
|
|
9095
9243
|
}
|
|
9096
9244
|
},
|
|
9097
9245
|
{
|
|
@@ -9109,7 +9257,86 @@
|
|
|
9109
9257
|
},
|
|
9110
9258
|
{
|
|
9111
9259
|
"kind": "method",
|
|
9112
|
-
"name": "
|
|
9260
|
+
"name": "getHeaderControls",
|
|
9261
|
+
"privacy": "private"
|
|
9262
|
+
},
|
|
9263
|
+
{
|
|
9264
|
+
"kind": "method",
|
|
9265
|
+
"name": "hasRows",
|
|
9266
|
+
"privacy": "private",
|
|
9267
|
+
"return": {
|
|
9268
|
+
"type": {
|
|
9269
|
+
"text": "boolean"
|
|
9270
|
+
}
|
|
9271
|
+
}
|
|
9272
|
+
},
|
|
9273
|
+
{
|
|
9274
|
+
"kind": "method",
|
|
9275
|
+
"name": "getFilterToggle",
|
|
9276
|
+
"privacy": "private"
|
|
9277
|
+
},
|
|
9278
|
+
{
|
|
9279
|
+
"kind": "field",
|
|
9280
|
+
"name": "toggleFilters",
|
|
9281
|
+
"privacy": "private"
|
|
9282
|
+
},
|
|
9283
|
+
{
|
|
9284
|
+
"kind": "method",
|
|
9285
|
+
"name": "appliedFilterCount",
|
|
9286
|
+
"privacy": "private",
|
|
9287
|
+
"return": {
|
|
9288
|
+
"type": {
|
|
9289
|
+
"text": "number"
|
|
9290
|
+
}
|
|
9291
|
+
}
|
|
9292
|
+
},
|
|
9293
|
+
{
|
|
9294
|
+
"kind": "method",
|
|
9295
|
+
"name": "hasColumnSelect",
|
|
9296
|
+
"privacy": "private",
|
|
9297
|
+
"return": {
|
|
9298
|
+
"type": {
|
|
9299
|
+
"text": "boolean"
|
|
9300
|
+
}
|
|
9301
|
+
}
|
|
9302
|
+
},
|
|
9303
|
+
{
|
|
9304
|
+
"kind": "method",
|
|
9305
|
+
"name": "hasRefresh",
|
|
9306
|
+
"privacy": "private",
|
|
9307
|
+
"return": {
|
|
9308
|
+
"type": {
|
|
9309
|
+
"text": "boolean"
|
|
9310
|
+
}
|
|
9311
|
+
}
|
|
9312
|
+
},
|
|
9313
|
+
{
|
|
9314
|
+
"kind": "method",
|
|
9315
|
+
"name": "getColumnSelect",
|
|
9316
|
+
"privacy": "private"
|
|
9317
|
+
},
|
|
9318
|
+
{
|
|
9319
|
+
"kind": "method",
|
|
9320
|
+
"name": "getRefreshButton",
|
|
9321
|
+
"privacy": "private"
|
|
9322
|
+
},
|
|
9323
|
+
{
|
|
9324
|
+
"kind": "field",
|
|
9325
|
+
"name": "handleColumnSelect",
|
|
9326
|
+
"privacy": "private"
|
|
9327
|
+
},
|
|
9328
|
+
{
|
|
9329
|
+
"kind": "method",
|
|
9330
|
+
"name": "getTableFooter",
|
|
9331
|
+
"parameters": [
|
|
9332
|
+
{
|
|
9333
|
+
"name": "slot",
|
|
9334
|
+
"optional": true,
|
|
9335
|
+
"type": {
|
|
9336
|
+
"text": "string"
|
|
9337
|
+
}
|
|
9338
|
+
}
|
|
9339
|
+
]
|
|
9113
9340
|
},
|
|
9114
9341
|
{
|
|
9115
9342
|
"kind": "method",
|
|
@@ -9125,7 +9352,7 @@
|
|
|
9125
9352
|
"privacy": "private",
|
|
9126
9353
|
"return": {
|
|
9127
9354
|
"type": {
|
|
9128
|
-
"text": "
|
|
9355
|
+
"text": "number[]"
|
|
9129
9356
|
}
|
|
9130
9357
|
}
|
|
9131
9358
|
},
|
|
@@ -9638,6 +9865,22 @@
|
|
|
9638
9865
|
},
|
|
9639
9866
|
"fieldName": "hidePagination"
|
|
9640
9867
|
},
|
|
9868
|
+
{
|
|
9869
|
+
"name": "hide-column-select",
|
|
9870
|
+
"type": {
|
|
9871
|
+
"text": "boolean"
|
|
9872
|
+
},
|
|
9873
|
+
"default": "false",
|
|
9874
|
+
"fieldName": "hideColumnSelect"
|
|
9875
|
+
},
|
|
9876
|
+
{
|
|
9877
|
+
"name": "hide-refresh",
|
|
9878
|
+
"type": {
|
|
9879
|
+
"text": "boolean"
|
|
9880
|
+
},
|
|
9881
|
+
"default": "false",
|
|
9882
|
+
"fieldName": "hideRefresh"
|
|
9883
|
+
},
|
|
9641
9884
|
{
|
|
9642
9885
|
"name": "standalone",
|
|
9643
9886
|
"type": {
|
|
@@ -9732,7 +9975,7 @@
|
|
|
9732
9975
|
"tagNameWithoutPrefix": "data-table",
|
|
9733
9976
|
"tagName": "zn-data-table",
|
|
9734
9977
|
"customElement": true,
|
|
9735
|
-
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/data-table\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-alert\n * @dependency zn-button\n * @dependency zn-empty-state\n * @dependency zn-chip\n * @dependency zn-hover-container\n * @dependency zn-dropdown\n * @dependency zn-menu\n * @dependency zn-menu-item\n * @dependency zn-button-group\n * @dependency zn-confirm\n * @dependency zn-skeleton\n * @dependency zn-data-table-search\n *\n * @slot - The default slot.\n * @slot search - Slot for search component.\n * @slot sort - Slot for sort component.\n * @slot filter - Slot for filter component.\n * @slot filter-top - Slot for top-level filter component.\n * @slot delete-action - Slot for delete action button.\n * @slot modify-action - Slot for modify action button.\n * @slot create-action - Slot for create action button.\n * @slot inputs - Slot for additional input controls.\n * @slot empty-state - Slot for custom empty state.\n * @slot no-results - Slot for a custom no-results state, shown when a search on a no-initial-load table returns no rows.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
9978
|
+
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/data-table\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-alert\n * @dependency zn-button\n * @dependency zn-empty-state\n * @dependency zn-chip\n * @dependency zn-hover-container\n * @dependency zn-dropdown\n * @dependency zn-menu\n * @dependency zn-menu-item\n * @dependency zn-panel\n * @dependency zn-button-group\n * @dependency zn-confirm\n * @dependency zn-skeleton\n * @dependency zn-data-table-search\n *\n * @slot - The default slot.\n * @slot search - Slot for search component, in the header's right-hand group.\n * @slot sort - Slot for sort component, in the header's right-hand group.\n * @slot filter - Slot for filter component, in the header's right-hand group.\n * @slot filter-top - Slot for a top-level filter component, rendered above the table's panel.\n * @slot delete-action - Slot for delete action button, shown beside the caption once rows are selected.\n * @slot modify-action - Slot for modify action button, shown beside the caption once rows are selected.\n * @slot create-action - Slot for create action button, at the end of the header's right-hand group.\n * @slot inputs - Slot for additional input controls.\n * @slot empty-state - Slot for custom empty state.\n * @slot no-results - Slot for a custom no-results state, shown when a search on a no-initial-load table returns no rows.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
9736
9979
|
"documentation": "https://zinc.style/components/data-table",
|
|
9737
9980
|
"status": "experimental",
|
|
9738
9981
|
"since": "1.0",
|
|
@@ -9745,6 +9988,7 @@
|
|
|
9745
9988
|
"zn-dropdown",
|
|
9746
9989
|
"zn-menu",
|
|
9747
9990
|
"zn-menu-item",
|
|
9991
|
+
"zn-panel",
|
|
9748
9992
|
"zn-button-group",
|
|
9749
9993
|
"zn-confirm",
|
|
9750
9994
|
"zn-skeleton",
|
|
@@ -9771,29 +10015,16 @@
|
|
|
9771
10015
|
"kind": "class",
|
|
9772
10016
|
"description": "",
|
|
9773
10017
|
"name": "ZnDataTableFilter",
|
|
9774
|
-
"
|
|
9775
|
-
{
|
|
9776
|
-
"description": "An example CSS custom property.",
|
|
9777
|
-
"name": "--example"
|
|
9778
|
-
}
|
|
9779
|
-
],
|
|
9780
|
-
"cssParts": [
|
|
9781
|
-
{
|
|
9782
|
-
"description": "The component's base wrapper.",
|
|
9783
|
-
"name": "base"
|
|
9784
|
-
}
|
|
9785
|
-
],
|
|
9786
|
-
"slots": [
|
|
10018
|
+
"members": [
|
|
9787
10019
|
{
|
|
9788
|
-
"
|
|
9789
|
-
"name": ""
|
|
10020
|
+
"kind": "field",
|
|
10021
|
+
"name": "dependencies",
|
|
10022
|
+
"type": {
|
|
10023
|
+
"text": "object"
|
|
10024
|
+
},
|
|
10025
|
+
"static": true,
|
|
10026
|
+
"default": "{ 'zn-button': ZnButton, 'zn-datepicker': ZnDatepicker, 'zn-dropdown': ZnDropdown, 'zn-input': ZnInput, 'zn-menu': ZnMenu, 'zn-menu-item': ZnMenuItem, }"
|
|
9790
10027
|
},
|
|
9791
|
-
{
|
|
9792
|
-
"description": "An example slot.",
|
|
9793
|
-
"name": "example"
|
|
9794
|
-
}
|
|
9795
|
-
],
|
|
9796
|
-
"members": [
|
|
9797
10028
|
{
|
|
9798
10029
|
"kind": "field",
|
|
9799
10030
|
"name": "_formController",
|
|
@@ -9803,13 +10034,29 @@
|
|
|
9803
10034
|
"privacy": "private",
|
|
9804
10035
|
"default": "new FormControlController(this, {})"
|
|
9805
10036
|
},
|
|
10037
|
+
{
|
|
10038
|
+
"kind": "field",
|
|
10039
|
+
"name": "_textTimeout",
|
|
10040
|
+
"type": {
|
|
10041
|
+
"text": "number | undefined"
|
|
10042
|
+
},
|
|
10043
|
+
"privacy": "private"
|
|
10044
|
+
},
|
|
10045
|
+
{
|
|
10046
|
+
"kind": "field",
|
|
10047
|
+
"name": "_pendingOpen",
|
|
10048
|
+
"type": {
|
|
10049
|
+
"text": "string | undefined"
|
|
10050
|
+
},
|
|
10051
|
+
"privacy": "private"
|
|
10052
|
+
},
|
|
9806
10053
|
{
|
|
9807
10054
|
"kind": "field",
|
|
9808
10055
|
"name": "filters",
|
|
9809
10056
|
"type": {
|
|
9810
|
-
"text": "
|
|
10057
|
+
"text": "QueryBuilderData"
|
|
9811
10058
|
},
|
|
9812
|
-
"default": "
|
|
10059
|
+
"default": "[]",
|
|
9813
10060
|
"attribute": "filters"
|
|
9814
10061
|
},
|
|
9815
10062
|
{
|
|
@@ -9827,8 +10074,55 @@
|
|
|
9827
10074
|
"type": {
|
|
9828
10075
|
"text": "string"
|
|
9829
10076
|
},
|
|
10077
|
+
"default": "''",
|
|
9830
10078
|
"attribute": "value"
|
|
9831
10079
|
},
|
|
10080
|
+
{
|
|
10081
|
+
"kind": "field",
|
|
10082
|
+
"name": "defaultFilters",
|
|
10083
|
+
"type": {
|
|
10084
|
+
"text": "string"
|
|
10085
|
+
},
|
|
10086
|
+
"default": "''",
|
|
10087
|
+
"description": "Filter keys to show a pill for before the user adds any.",
|
|
10088
|
+
"attribute": "default-filters"
|
|
10089
|
+
},
|
|
10090
|
+
{
|
|
10091
|
+
"kind": "field",
|
|
10092
|
+
"name": "suggestions",
|
|
10093
|
+
"type": {
|
|
10094
|
+
"text": "Record<string, string[]>"
|
|
10095
|
+
},
|
|
10096
|
+
"default": "{}",
|
|
10097
|
+
"description": "Typeahead values per filter key. `zn-data-table` fills this from the rows it has loaded."
|
|
10098
|
+
},
|
|
10099
|
+
{
|
|
10100
|
+
"kind": "field",
|
|
10101
|
+
"name": "_active",
|
|
10102
|
+
"type": {
|
|
10103
|
+
"text": "ActiveFilter[]"
|
|
10104
|
+
},
|
|
10105
|
+
"privacy": "private",
|
|
10106
|
+
"default": "[]"
|
|
10107
|
+
},
|
|
10108
|
+
{
|
|
10109
|
+
"kind": "field",
|
|
10110
|
+
"name": "_typing",
|
|
10111
|
+
"type": {
|
|
10112
|
+
"text": "Record<string, string>"
|
|
10113
|
+
},
|
|
10114
|
+
"privacy": "private",
|
|
10115
|
+
"default": "{}"
|
|
10116
|
+
},
|
|
10117
|
+
{
|
|
10118
|
+
"kind": "field",
|
|
10119
|
+
"name": "_optionQuery",
|
|
10120
|
+
"type": {
|
|
10121
|
+
"text": "Record<string, string>"
|
|
10122
|
+
},
|
|
10123
|
+
"privacy": "private",
|
|
10124
|
+
"default": "{}"
|
|
10125
|
+
},
|
|
9832
10126
|
{
|
|
9833
10127
|
"kind": "field",
|
|
9834
10128
|
"name": "validationMessage",
|
|
@@ -9883,34 +10177,575 @@
|
|
|
9883
10177
|
},
|
|
9884
10178
|
{
|
|
9885
10179
|
"kind": "field",
|
|
9886
|
-
"name": "
|
|
10180
|
+
"name": "activeCount",
|
|
10181
|
+
"type": {
|
|
10182
|
+
"text": "number"
|
|
10183
|
+
},
|
|
10184
|
+
"description": "Number of filters with a value set.",
|
|
10185
|
+
"readonly": true
|
|
9887
10186
|
},
|
|
9888
10187
|
{
|
|
9889
|
-
"kind": "
|
|
9890
|
-
"name": "
|
|
10188
|
+
"kind": "method",
|
|
10189
|
+
"name": "clear",
|
|
10190
|
+
"description": "Removes every active filter."
|
|
9891
10191
|
},
|
|
9892
10192
|
{
|
|
9893
|
-
"kind": "
|
|
9894
|
-
"name": "
|
|
10193
|
+
"kind": "method",
|
|
10194
|
+
"name": "definition",
|
|
10195
|
+
"privacy": "private",
|
|
10196
|
+
"return": {
|
|
10197
|
+
"type": {
|
|
10198
|
+
"text": "QueryBuilderItem | undefined"
|
|
10199
|
+
}
|
|
10200
|
+
},
|
|
10201
|
+
"parameters": [
|
|
10202
|
+
{
|
|
10203
|
+
"name": "key",
|
|
10204
|
+
"type": {
|
|
10205
|
+
"text": "string"
|
|
10206
|
+
}
|
|
10207
|
+
}
|
|
10208
|
+
]
|
|
10209
|
+
},
|
|
10210
|
+
{
|
|
10211
|
+
"kind": "method",
|
|
10212
|
+
"name": "operatorsFor",
|
|
10213
|
+
"privacy": "private",
|
|
10214
|
+
"return": {
|
|
10215
|
+
"type": {
|
|
10216
|
+
"text": "QueryBuilderOperators[]"
|
|
10217
|
+
}
|
|
10218
|
+
},
|
|
10219
|
+
"parameters": [
|
|
10220
|
+
{
|
|
10221
|
+
"name": "filter",
|
|
10222
|
+
"type": {
|
|
10223
|
+
"text": "QueryBuilderItem"
|
|
10224
|
+
}
|
|
10225
|
+
}
|
|
10226
|
+
]
|
|
10227
|
+
},
|
|
10228
|
+
{
|
|
10229
|
+
"kind": "method",
|
|
10230
|
+
"name": "comparatorFor",
|
|
10231
|
+
"privacy": "private",
|
|
10232
|
+
"return": {
|
|
10233
|
+
"type": {
|
|
10234
|
+
"text": "QueryBuilderOperators"
|
|
10235
|
+
}
|
|
10236
|
+
},
|
|
10237
|
+
"parameters": [
|
|
10238
|
+
{
|
|
10239
|
+
"name": "filter",
|
|
10240
|
+
"type": {
|
|
10241
|
+
"text": "QueryBuilderItem"
|
|
10242
|
+
}
|
|
10243
|
+
}
|
|
10244
|
+
]
|
|
10245
|
+
},
|
|
10246
|
+
{
|
|
10247
|
+
"kind": "method",
|
|
10248
|
+
"name": "operatorLabel",
|
|
10249
|
+
"privacy": "private",
|
|
10250
|
+
"return": {
|
|
10251
|
+
"type": {
|
|
10252
|
+
"text": "string"
|
|
10253
|
+
}
|
|
10254
|
+
},
|
|
10255
|
+
"parameters": [
|
|
10256
|
+
{
|
|
10257
|
+
"name": "comparator",
|
|
10258
|
+
"type": {
|
|
10259
|
+
"text": "QueryBuilderOperators"
|
|
10260
|
+
}
|
|
10261
|
+
}
|
|
10262
|
+
]
|
|
10263
|
+
},
|
|
10264
|
+
{
|
|
10265
|
+
"kind": "method",
|
|
10266
|
+
"name": "isMultiple",
|
|
10267
|
+
"privacy": "private",
|
|
10268
|
+
"return": {
|
|
10269
|
+
"type": {
|
|
10270
|
+
"text": "boolean"
|
|
10271
|
+
}
|
|
10272
|
+
},
|
|
10273
|
+
"parameters": [
|
|
10274
|
+
{
|
|
10275
|
+
"name": "comparator",
|
|
10276
|
+
"type": {
|
|
10277
|
+
"text": "QueryBuilderOperators"
|
|
10278
|
+
}
|
|
10279
|
+
}
|
|
10280
|
+
]
|
|
10281
|
+
},
|
|
10282
|
+
{
|
|
10283
|
+
"kind": "method",
|
|
10284
|
+
"name": "optionsFor",
|
|
10285
|
+
"privacy": "private",
|
|
10286
|
+
"return": {
|
|
10287
|
+
"type": {
|
|
10288
|
+
"text": "QueryBuilderOptions | undefined"
|
|
10289
|
+
}
|
|
10290
|
+
},
|
|
10291
|
+
"parameters": [
|
|
10292
|
+
{
|
|
10293
|
+
"name": "filter",
|
|
10294
|
+
"type": {
|
|
10295
|
+
"text": "QueryBuilderItem"
|
|
10296
|
+
}
|
|
10297
|
+
}
|
|
10298
|
+
]
|
|
10299
|
+
},
|
|
10300
|
+
{
|
|
10301
|
+
"kind": "method",
|
|
10302
|
+
"name": "addFilter",
|
|
10303
|
+
"privacy": "private",
|
|
10304
|
+
"parameters": [
|
|
10305
|
+
{
|
|
10306
|
+
"name": "key",
|
|
10307
|
+
"type": {
|
|
10308
|
+
"text": "string"
|
|
10309
|
+
}
|
|
10310
|
+
},
|
|
10311
|
+
{
|
|
10312
|
+
"name": "emit",
|
|
10313
|
+
"default": "true"
|
|
10314
|
+
}
|
|
10315
|
+
]
|
|
10316
|
+
},
|
|
10317
|
+
{
|
|
10318
|
+
"kind": "method",
|
|
10319
|
+
"name": "removeFilter",
|
|
10320
|
+
"privacy": "private",
|
|
10321
|
+
"parameters": [
|
|
10322
|
+
{
|
|
10323
|
+
"name": "key",
|
|
10324
|
+
"type": {
|
|
10325
|
+
"text": "string"
|
|
10326
|
+
}
|
|
10327
|
+
}
|
|
10328
|
+
]
|
|
10329
|
+
},
|
|
10330
|
+
{
|
|
10331
|
+
"kind": "method",
|
|
10332
|
+
"name": "setValue",
|
|
10333
|
+
"privacy": "private",
|
|
10334
|
+
"parameters": [
|
|
10335
|
+
{
|
|
10336
|
+
"name": "key",
|
|
10337
|
+
"type": {
|
|
10338
|
+
"text": "string"
|
|
10339
|
+
}
|
|
10340
|
+
},
|
|
10341
|
+
{
|
|
10342
|
+
"name": "value",
|
|
10343
|
+
"type": {
|
|
10344
|
+
"text": "string"
|
|
10345
|
+
}
|
|
10346
|
+
},
|
|
10347
|
+
{
|
|
10348
|
+
"name": "label",
|
|
10349
|
+
"optional": true,
|
|
10350
|
+
"type": {
|
|
10351
|
+
"text": "string"
|
|
10352
|
+
}
|
|
10353
|
+
},
|
|
10354
|
+
{
|
|
10355
|
+
"name": "timestamp",
|
|
10356
|
+
"optional": true,
|
|
10357
|
+
"type": {
|
|
10358
|
+
"text": "number"
|
|
10359
|
+
}
|
|
10360
|
+
}
|
|
10361
|
+
]
|
|
10362
|
+
},
|
|
10363
|
+
{
|
|
10364
|
+
"kind": "method",
|
|
10365
|
+
"name": "setComparator",
|
|
10366
|
+
"privacy": "private",
|
|
10367
|
+
"parameters": [
|
|
10368
|
+
{
|
|
10369
|
+
"name": "filter",
|
|
10370
|
+
"type": {
|
|
10371
|
+
"text": "QueryBuilderItem"
|
|
10372
|
+
}
|
|
10373
|
+
},
|
|
10374
|
+
{
|
|
10375
|
+
"name": "active",
|
|
10376
|
+
"type": {
|
|
10377
|
+
"text": "ActiveFilter"
|
|
10378
|
+
}
|
|
10379
|
+
},
|
|
10380
|
+
{
|
|
10381
|
+
"name": "comparator",
|
|
10382
|
+
"type": {
|
|
10383
|
+
"text": "QueryBuilderOperators"
|
|
10384
|
+
}
|
|
10385
|
+
}
|
|
10386
|
+
]
|
|
10387
|
+
},
|
|
10388
|
+
{
|
|
10389
|
+
"kind": "method",
|
|
10390
|
+
"name": "toggleOption",
|
|
10391
|
+
"privacy": "private",
|
|
10392
|
+
"parameters": [
|
|
10393
|
+
{
|
|
10394
|
+
"name": "filter",
|
|
10395
|
+
"type": {
|
|
10396
|
+
"text": "QueryBuilderItem"
|
|
10397
|
+
}
|
|
10398
|
+
},
|
|
10399
|
+
{
|
|
10400
|
+
"name": "active",
|
|
10401
|
+
"type": {
|
|
10402
|
+
"text": "ActiveFilter"
|
|
10403
|
+
}
|
|
10404
|
+
},
|
|
10405
|
+
{
|
|
10406
|
+
"name": "option",
|
|
10407
|
+
"type": {
|
|
10408
|
+
"text": "string"
|
|
10409
|
+
}
|
|
10410
|
+
}
|
|
10411
|
+
]
|
|
10412
|
+
},
|
|
10413
|
+
{
|
|
10414
|
+
"kind": "method",
|
|
10415
|
+
"name": "selectedValues",
|
|
10416
|
+
"privacy": "private",
|
|
10417
|
+
"return": {
|
|
10418
|
+
"type": {
|
|
10419
|
+
"text": "string[]"
|
|
10420
|
+
}
|
|
10421
|
+
},
|
|
10422
|
+
"parameters": [
|
|
10423
|
+
{
|
|
10424
|
+
"name": "filter",
|
|
10425
|
+
"type": {
|
|
10426
|
+
"text": "QueryBuilderItem"
|
|
10427
|
+
}
|
|
10428
|
+
},
|
|
10429
|
+
{
|
|
10430
|
+
"name": "active",
|
|
10431
|
+
"type": {
|
|
10432
|
+
"text": "ActiveFilter"
|
|
10433
|
+
}
|
|
10434
|
+
}
|
|
10435
|
+
]
|
|
10436
|
+
},
|
|
10437
|
+
{
|
|
10438
|
+
"kind": "method",
|
|
10439
|
+
"name": "emitChange",
|
|
10440
|
+
"privacy": "private"
|
|
10441
|
+
},
|
|
10442
|
+
{
|
|
10443
|
+
"kind": "method",
|
|
10444
|
+
"name": "handleDateInput",
|
|
10445
|
+
"privacy": "private",
|
|
10446
|
+
"parameters": [
|
|
10447
|
+
{
|
|
10448
|
+
"name": "filter",
|
|
10449
|
+
"type": {
|
|
10450
|
+
"text": "QueryBuilderItem"
|
|
10451
|
+
}
|
|
10452
|
+
},
|
|
10453
|
+
{
|
|
10454
|
+
"name": "active",
|
|
10455
|
+
"type": {
|
|
10456
|
+
"text": "ActiveFilter"
|
|
10457
|
+
}
|
|
10458
|
+
},
|
|
10459
|
+
{
|
|
10460
|
+
"name": "event",
|
|
10461
|
+
"type": {
|
|
10462
|
+
"text": "Event"
|
|
10463
|
+
}
|
|
10464
|
+
}
|
|
10465
|
+
]
|
|
10466
|
+
},
|
|
10467
|
+
{
|
|
10468
|
+
"kind": "method",
|
|
10469
|
+
"name": "serializeDate",
|
|
10470
|
+
"privacy": "private",
|
|
10471
|
+
"return": {
|
|
10472
|
+
"type": {
|
|
10473
|
+
"text": "string"
|
|
10474
|
+
}
|
|
10475
|
+
},
|
|
10476
|
+
"parameters": [
|
|
10477
|
+
{
|
|
10478
|
+
"name": "timestamp",
|
|
10479
|
+
"type": {
|
|
10480
|
+
"text": "number"
|
|
10481
|
+
}
|
|
10482
|
+
},
|
|
10483
|
+
{
|
|
10484
|
+
"name": "comparator",
|
|
10485
|
+
"type": {
|
|
10486
|
+
"text": "QueryBuilderOperators"
|
|
10487
|
+
}
|
|
10488
|
+
},
|
|
10489
|
+
{
|
|
10490
|
+
"name": "format",
|
|
10491
|
+
"default": "'legacy'",
|
|
10492
|
+
"type": {
|
|
10493
|
+
"text": "QueryBuilderDateSubmitFormat"
|
|
10494
|
+
}
|
|
10495
|
+
}
|
|
10496
|
+
]
|
|
10497
|
+
},
|
|
10498
|
+
{
|
|
10499
|
+
"kind": "method",
|
|
10500
|
+
"name": "handleTextInput",
|
|
10501
|
+
"privacy": "private",
|
|
10502
|
+
"parameters": [
|
|
10503
|
+
{
|
|
10504
|
+
"name": "key",
|
|
10505
|
+
"type": {
|
|
10506
|
+
"text": "string"
|
|
10507
|
+
}
|
|
10508
|
+
},
|
|
10509
|
+
{
|
|
10510
|
+
"name": "event",
|
|
10511
|
+
"type": {
|
|
10512
|
+
"text": "ZnInputEvent"
|
|
10513
|
+
}
|
|
10514
|
+
}
|
|
10515
|
+
]
|
|
10516
|
+
},
|
|
10517
|
+
{
|
|
10518
|
+
"kind": "method",
|
|
10519
|
+
"name": "suggestionsFor",
|
|
10520
|
+
"privacy": "private",
|
|
10521
|
+
"return": {
|
|
10522
|
+
"type": {
|
|
10523
|
+
"text": "string[]"
|
|
10524
|
+
}
|
|
10525
|
+
},
|
|
10526
|
+
"parameters": [
|
|
10527
|
+
{
|
|
10528
|
+
"name": "filter",
|
|
10529
|
+
"type": {
|
|
10530
|
+
"text": "QueryBuilderItem"
|
|
10531
|
+
}
|
|
10532
|
+
},
|
|
10533
|
+
{
|
|
10534
|
+
"name": "active",
|
|
10535
|
+
"type": {
|
|
10536
|
+
"text": "ActiveFilter"
|
|
10537
|
+
}
|
|
10538
|
+
}
|
|
10539
|
+
]
|
|
10540
|
+
},
|
|
10541
|
+
{
|
|
10542
|
+
"kind": "method",
|
|
10543
|
+
"name": "applySuggestion",
|
|
10544
|
+
"privacy": "private",
|
|
10545
|
+
"parameters": [
|
|
10546
|
+
{
|
|
10547
|
+
"name": "filter",
|
|
10548
|
+
"type": {
|
|
10549
|
+
"text": "QueryBuilderItem"
|
|
10550
|
+
}
|
|
10551
|
+
},
|
|
10552
|
+
{
|
|
10553
|
+
"name": "active",
|
|
10554
|
+
"type": {
|
|
10555
|
+
"text": "ActiveFilter"
|
|
10556
|
+
}
|
|
10557
|
+
},
|
|
10558
|
+
{
|
|
10559
|
+
"name": "value",
|
|
10560
|
+
"type": {
|
|
10561
|
+
"text": "string"
|
|
10562
|
+
}
|
|
10563
|
+
},
|
|
10564
|
+
{
|
|
10565
|
+
"name": "event",
|
|
10566
|
+
"type": {
|
|
10567
|
+
"text": "Event"
|
|
10568
|
+
}
|
|
10569
|
+
}
|
|
10570
|
+
]
|
|
10571
|
+
},
|
|
10572
|
+
{
|
|
10573
|
+
"kind": "method",
|
|
10574
|
+
"name": "humanize",
|
|
10575
|
+
"privacy": "private",
|
|
10576
|
+
"parameters": [
|
|
10577
|
+
{
|
|
10578
|
+
"name": "value",
|
|
10579
|
+
"type": {
|
|
10580
|
+
"text": "string"
|
|
10581
|
+
}
|
|
10582
|
+
}
|
|
10583
|
+
]
|
|
10584
|
+
},
|
|
10585
|
+
{
|
|
10586
|
+
"kind": "method",
|
|
10587
|
+
"name": "pillLabel",
|
|
10588
|
+
"privacy": "private",
|
|
10589
|
+
"parameters": [
|
|
10590
|
+
{
|
|
10591
|
+
"name": "filter",
|
|
10592
|
+
"type": {
|
|
10593
|
+
"text": "QueryBuilderItem"
|
|
10594
|
+
}
|
|
10595
|
+
},
|
|
10596
|
+
{
|
|
10597
|
+
"name": "active",
|
|
10598
|
+
"type": {
|
|
10599
|
+
"text": "ActiveFilter"
|
|
10600
|
+
}
|
|
10601
|
+
}
|
|
10602
|
+
]
|
|
10603
|
+
},
|
|
10604
|
+
{
|
|
10605
|
+
"kind": "method",
|
|
10606
|
+
"name": "renderOperators",
|
|
10607
|
+
"privacy": "private",
|
|
10608
|
+
"parameters": [
|
|
10609
|
+
{
|
|
10610
|
+
"name": "filter",
|
|
10611
|
+
"type": {
|
|
10612
|
+
"text": "QueryBuilderItem"
|
|
10613
|
+
}
|
|
10614
|
+
},
|
|
10615
|
+
{
|
|
10616
|
+
"name": "active",
|
|
10617
|
+
"type": {
|
|
10618
|
+
"text": "ActiveFilter"
|
|
10619
|
+
}
|
|
10620
|
+
}
|
|
10621
|
+
]
|
|
10622
|
+
},
|
|
10623
|
+
{
|
|
10624
|
+
"kind": "method",
|
|
10625
|
+
"name": "renderPill",
|
|
10626
|
+
"privacy": "private",
|
|
10627
|
+
"parameters": [
|
|
10628
|
+
{
|
|
10629
|
+
"name": "active",
|
|
10630
|
+
"type": {
|
|
10631
|
+
"text": "ActiveFilter"
|
|
10632
|
+
}
|
|
10633
|
+
}
|
|
10634
|
+
]
|
|
10635
|
+
},
|
|
10636
|
+
{
|
|
10637
|
+
"kind": "method",
|
|
10638
|
+
"name": "isDateFilter",
|
|
10639
|
+
"privacy": "private",
|
|
10640
|
+
"return": {
|
|
10641
|
+
"type": {
|
|
10642
|
+
"text": "boolean"
|
|
10643
|
+
}
|
|
10644
|
+
},
|
|
10645
|
+
"parameters": [
|
|
10646
|
+
{
|
|
10647
|
+
"name": "filter",
|
|
10648
|
+
"type": {
|
|
10649
|
+
"text": "QueryBuilderItem"
|
|
10650
|
+
}
|
|
10651
|
+
}
|
|
10652
|
+
]
|
|
10653
|
+
},
|
|
10654
|
+
{
|
|
10655
|
+
"kind": "method",
|
|
10656
|
+
"name": "renderValueInput",
|
|
10657
|
+
"privacy": "private",
|
|
10658
|
+
"parameters": [
|
|
10659
|
+
{
|
|
10660
|
+
"name": "filter",
|
|
10661
|
+
"type": {
|
|
10662
|
+
"text": "QueryBuilderItem"
|
|
10663
|
+
}
|
|
10664
|
+
},
|
|
10665
|
+
{
|
|
10666
|
+
"name": "active",
|
|
10667
|
+
"type": {
|
|
10668
|
+
"text": "ActiveFilter"
|
|
10669
|
+
}
|
|
10670
|
+
}
|
|
10671
|
+
]
|
|
9895
10672
|
},
|
|
9896
10673
|
{
|
|
9897
10674
|
"kind": "method",
|
|
9898
|
-
"name": "
|
|
10675
|
+
"name": "handleOptionSearch",
|
|
10676
|
+
"privacy": "private",
|
|
10677
|
+
"parameters": [
|
|
10678
|
+
{
|
|
10679
|
+
"name": "key",
|
|
10680
|
+
"type": {
|
|
10681
|
+
"text": "string"
|
|
10682
|
+
}
|
|
10683
|
+
},
|
|
10684
|
+
{
|
|
10685
|
+
"name": "event",
|
|
10686
|
+
"type": {
|
|
10687
|
+
"text": "ZnInputEvent"
|
|
10688
|
+
}
|
|
10689
|
+
}
|
|
10690
|
+
]
|
|
10691
|
+
},
|
|
10692
|
+
{
|
|
10693
|
+
"kind": "method",
|
|
10694
|
+
"name": "renderOptionSearch",
|
|
10695
|
+
"privacy": "private",
|
|
10696
|
+
"parameters": [
|
|
10697
|
+
{
|
|
10698
|
+
"name": "filter",
|
|
10699
|
+
"type": {
|
|
10700
|
+
"text": "QueryBuilderItem"
|
|
10701
|
+
}
|
|
10702
|
+
},
|
|
10703
|
+
{
|
|
10704
|
+
"name": "active",
|
|
10705
|
+
"type": {
|
|
10706
|
+
"text": "ActiveFilter"
|
|
10707
|
+
}
|
|
10708
|
+
}
|
|
10709
|
+
]
|
|
10710
|
+
},
|
|
10711
|
+
{
|
|
10712
|
+
"kind": "method",
|
|
10713
|
+
"name": "renderOptionItems",
|
|
10714
|
+
"privacy": "private",
|
|
10715
|
+
"parameters": [
|
|
10716
|
+
{
|
|
10717
|
+
"name": "filter",
|
|
10718
|
+
"type": {
|
|
10719
|
+
"text": "QueryBuilderItem"
|
|
10720
|
+
}
|
|
10721
|
+
},
|
|
10722
|
+
{
|
|
10723
|
+
"name": "active",
|
|
10724
|
+
"type": {
|
|
10725
|
+
"text": "ActiveFilter"
|
|
10726
|
+
}
|
|
10727
|
+
}
|
|
10728
|
+
]
|
|
10729
|
+
},
|
|
10730
|
+
{
|
|
10731
|
+
"kind": "method",
|
|
10732
|
+
"name": "renderAddFilter",
|
|
10733
|
+
"privacy": "private"
|
|
9899
10734
|
}
|
|
9900
10735
|
],
|
|
9901
10736
|
"events": [
|
|
9902
10737
|
{
|
|
9903
|
-
"description": "Emitted
|
|
9904
|
-
"name": "zn-
|
|
10738
|
+
"description": "Emitted when the active filters change. Read the encoded query off `value`.",
|
|
10739
|
+
"name": "zn-filter-change"
|
|
9905
10740
|
}
|
|
9906
10741
|
],
|
|
9907
10742
|
"attributes": [
|
|
9908
10743
|
{
|
|
9909
10744
|
"name": "filters",
|
|
9910
10745
|
"type": {
|
|
9911
|
-
"text": "
|
|
10746
|
+
"text": "QueryBuilderData"
|
|
9912
10747
|
},
|
|
9913
|
-
"default": "
|
|
10748
|
+
"default": "[]",
|
|
9914
10749
|
"fieldName": "filters"
|
|
9915
10750
|
},
|
|
9916
10751
|
{
|
|
@@ -9926,23 +10761,38 @@
|
|
|
9926
10761
|
"type": {
|
|
9927
10762
|
"text": "string"
|
|
9928
10763
|
},
|
|
10764
|
+
"default": "''",
|
|
9929
10765
|
"fieldName": "value"
|
|
10766
|
+
},
|
|
10767
|
+
{
|
|
10768
|
+
"name": "default-filters",
|
|
10769
|
+
"type": {
|
|
10770
|
+
"text": "string"
|
|
10771
|
+
},
|
|
10772
|
+
"default": "''",
|
|
10773
|
+
"description": "Filter keys to show a pill for before the user adds any.",
|
|
10774
|
+
"fieldName": "defaultFilters"
|
|
9930
10775
|
}
|
|
9931
10776
|
],
|
|
9932
10777
|
"superclass": {
|
|
9933
10778
|
"name": "ZincElement",
|
|
9934
10779
|
"module": "/src/internal/zinc-element"
|
|
9935
10780
|
},
|
|
9936
|
-
"summary": "
|
|
10781
|
+
"summary": "An inline filter bar for data tables. Each active filter is a pill whose dropdown sets its value.",
|
|
9937
10782
|
"tagNameWithoutPrefix": "data-table-filter",
|
|
9938
10783
|
"tagName": "zn-data-table-filter",
|
|
9939
10784
|
"customElement": true,
|
|
9940
|
-
"jsDoc": "/**\n * @summary
|
|
10785
|
+
"jsDoc": "/**\n * @summary An inline filter bar for data tables. Each active filter is a pill whose dropdown sets its value.\n * @documentation https://zinc.style/components/data-table-filter\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-button\n * @dependency zn-datepicker\n * @dependency zn-dropdown\n * @dependency zn-input\n * @dependency zn-menu\n * @dependency zn-menu-item\n *\n * @event zn-filter-change - Emitted when the active filters change. Read the encoded query off `value`.\n */",
|
|
9941
10786
|
"documentation": "https://zinc.style/components/data-table-filter",
|
|
9942
10787
|
"status": "experimental",
|
|
9943
10788
|
"since": "1.0",
|
|
9944
10789
|
"dependencies": [
|
|
9945
|
-
"zn-
|
|
10790
|
+
"zn-button",
|
|
10791
|
+
"zn-datepicker",
|
|
10792
|
+
"zn-dropdown",
|
|
10793
|
+
"zn-input",
|
|
10794
|
+
"zn-menu",
|
|
10795
|
+
"zn-menu-item"
|
|
9946
10796
|
]
|
|
9947
10797
|
}
|
|
9948
10798
|
],
|
|
@@ -10306,6 +11156,10 @@
|
|
|
10306
11156
|
{
|
|
10307
11157
|
"description": "Inherited input component CSS custom properties.",
|
|
10308
11158
|
"name": "--zn-input-*"
|
|
11159
|
+
},
|
|
11160
|
+
{
|
|
11161
|
+
"description": "Border colour of the calendar in `inline` mode.",
|
|
11162
|
+
"name": "--zn-datepicker-inline-border-color"
|
|
10309
11163
|
}
|
|
10310
11164
|
],
|
|
10311
11165
|
"cssParts": [
|
|
@@ -10537,6 +11391,17 @@
|
|
|
10537
11391
|
"attribute": "flush",
|
|
10538
11392
|
"reflects": true
|
|
10539
11393
|
},
|
|
11394
|
+
{
|
|
11395
|
+
"kind": "field",
|
|
11396
|
+
"name": "inline",
|
|
11397
|
+
"type": {
|
|
11398
|
+
"text": "boolean"
|
|
11399
|
+
},
|
|
11400
|
+
"default": "false",
|
|
11401
|
+
"description": "Renders the calendar in place instead of a popup, hiding the text input.",
|
|
11402
|
+
"attribute": "inline",
|
|
11403
|
+
"reflects": true
|
|
11404
|
+
},
|
|
10540
11405
|
{
|
|
10541
11406
|
"kind": "field",
|
|
10542
11407
|
"name": "required",
|
|
@@ -10763,6 +11628,19 @@
|
|
|
10763
11628
|
},
|
|
10764
11629
|
"description": "Resolves where the calendar should be mounted. By default AirDatepicker mounts it in a global\ncontainer on `document.body`, so ancestor shadow roots and overflow containers can't clip it.\nHowever, when the datepicker is inside a top-layer element (a modal `<dialog>` or a popover),\na document-level calendar would render behind it and be inert, so we mount inside that element."
|
|
10765
11630
|
},
|
|
11631
|
+
{
|
|
11632
|
+
"kind": "method",
|
|
11633
|
+
"name": "adoptCalendarStyles",
|
|
11634
|
+
"privacy": "private",
|
|
11635
|
+
"parameters": [
|
|
11636
|
+
{
|
|
11637
|
+
"name": "root",
|
|
11638
|
+
"type": {
|
|
11639
|
+
"text": "ShadowRoot"
|
|
11640
|
+
}
|
|
11641
|
+
}
|
|
11642
|
+
]
|
|
11643
|
+
},
|
|
10766
11644
|
{
|
|
10767
11645
|
"kind": "method",
|
|
10768
11646
|
"name": "findTopLayerAncestor",
|
|
@@ -11118,6 +11996,15 @@
|
|
|
11118
11996
|
"default": "false",
|
|
11119
11997
|
"fieldName": "flush"
|
|
11120
11998
|
},
|
|
11999
|
+
{
|
|
12000
|
+
"name": "inline",
|
|
12001
|
+
"type": {
|
|
12002
|
+
"text": "boolean"
|
|
12003
|
+
},
|
|
12004
|
+
"default": "false",
|
|
12005
|
+
"description": "Renders the calendar in place instead of a popup, hiding the text input.",
|
|
12006
|
+
"fieldName": "inline"
|
|
12007
|
+
},
|
|
11121
12008
|
{
|
|
11122
12009
|
"name": "required",
|
|
11123
12010
|
"type": {
|
|
@@ -11223,7 +12110,7 @@
|
|
|
11223
12110
|
"tagNameWithoutPrefix": "datepicker",
|
|
11224
12111
|
"tagName": "zn-datepicker",
|
|
11225
12112
|
"customElement": true,
|
|
11226
|
-
"jsDoc": "/**\n * @summary A date picker component with calendar popup and input validation.\n * @documentation https://zinc.style/components/datepicker\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-icon\n * @dependency zn-tooltip\n *\n * @event zn-change - Emitted when the date value changes.\n * @event zn-input - Emitted when the input value changes.\n * @event zn-blur - Emitted when the input loses focus.\n * @event zn-focus - Emitted when the input gains focus.\n *\n * @slot label - The datepicker's label. Alternatively, you can use the `label` attribute.\n * @slot label-tooltip - Tooltip content for the label. Alternatively, you can use the `label-tooltip` attribute.\n * @slot context-note - Additional context text displayed above the input. Alternatively, you can use the `context-note` attribute.\n * @slot help-text - Help text displayed below the input. Alternatively, you can use the `help-text` attribute.\n * @slot prefix - Content to display before the input (in addition to the default calendar icon).\n * @slot suffix - Content to display after the input.\n *\n * @csspart base - The component's base wrapper.\n * @csspart form-control - The form control wrapper.\n * @csspart form-control-label - The label element.\n * @csspart form-control-input - The input wrapper.\n * @csspart form-control-help-text - The help text element.\n *\n * @property format - Date format using AirDatepicker tokens. Default: 'dd/MM/yyyy'\n * Supported formats:\n * - dd/MM/yyyy (31/12/2024) - Default\n * - MM/dd/yyyy (12/31/2024)\n * - yyyy-MM-dd (2024-12-31)\n * - dd-MM-yyyy (31-12-2024)\n * - yyyy/MM/dd (2024/12/31)\n *\n * @cssproperty --zn-input-* - Inherited input component CSS custom properties.\n */",
|
|
12113
|
+
"jsDoc": "/**\n * @summary A date picker component with calendar popup and input validation.\n * @documentation https://zinc.style/components/datepicker\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-icon\n * @dependency zn-tooltip\n *\n * @event zn-change - Emitted when the date value changes.\n * @event zn-input - Emitted when the input value changes.\n * @event zn-blur - Emitted when the input loses focus.\n * @event zn-focus - Emitted when the input gains focus.\n *\n * @slot label - The datepicker's label. Alternatively, you can use the `label` attribute.\n * @slot label-tooltip - Tooltip content for the label. Alternatively, you can use the `label-tooltip` attribute.\n * @slot context-note - Additional context text displayed above the input. Alternatively, you can use the `context-note` attribute.\n * @slot help-text - Help text displayed below the input. Alternatively, you can use the `help-text` attribute.\n * @slot prefix - Content to display before the input (in addition to the default calendar icon).\n * @slot suffix - Content to display after the input.\n *\n * @csspart base - The component's base wrapper.\n * @csspart form-control - The form control wrapper.\n * @csspart form-control-label - The label element.\n * @csspart form-control-input - The input wrapper.\n * @csspart form-control-help-text - The help text element.\n *\n * @property format - Date format using AirDatepicker tokens. Default: 'dd/MM/yyyy'\n * Supported formats:\n * - dd/MM/yyyy (31/12/2024) - Default\n * - MM/dd/yyyy (12/31/2024)\n * - yyyy-MM-dd (2024-12-31)\n * - dd-MM-yyyy (31-12-2024)\n * - yyyy/MM/dd (2024/12/31)\n *\n * @cssproperty --zn-input-* - Inherited input component CSS custom properties.\n * @cssproperty --zn-datepicker-inline-border-color - Border colour of the calendar in `inline` mode.\n */",
|
|
11227
12114
|
"documentation": "https://zinc.style/components/datepicker",
|
|
11228
12115
|
"status": "experimental",
|
|
11229
12116
|
"since": "1.0",
|
|
@@ -19572,6 +20459,10 @@
|
|
|
19572
20459
|
"description": "",
|
|
19573
20460
|
"name": "ZnInput",
|
|
19574
20461
|
"cssProperties": [
|
|
20462
|
+
{
|
|
20463
|
+
"description": "Shadow cast by the field; set to `none` inside a panel that draws its own edge.",
|
|
20464
|
+
"name": "--zn-input-box-shadow"
|
|
20465
|
+
},
|
|
19575
20466
|
{
|
|
19576
20467
|
"description": "The height of a range input's track.",
|
|
19577
20468
|
"name": "--zn-range-track-height"
|
|
@@ -21104,7 +21995,7 @@
|
|
|
21104
21995
|
"tagNameWithoutPrefix": "input",
|
|
21105
21996
|
"tagName": "zn-input",
|
|
21106
21997
|
"customElement": true,
|
|
21107
|
-
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/input\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-icon\n * @dependency zn-tooltip\n *\n * @event zn-blur - Emitted when the control loses focus.\n * @event zn-change - Emitted when an alteration to the control's value is committed by the user.\n * @event zn-clear - Emitted when the clear button is activated.\n * @event zn-focus - Emitted when the control gains focus.\n * @event zn-input - Emitted when the control receives input.\n * @event zn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @slot label - The input's label. Alternatively, you can use the `label` attribute.\n * @slot label-tooltip - Used to add text that is displayed in a tooltip next to the label. Alternatively, you can use the `label-tooltip` attribute.\n * @slot context-note - Used to add contextual text that is displayed above the input, on the right. Alternatively, you can use the `context-note` attribute. Range inputs display their live value here unless this is set.\n * @slot prefix - Used to prepend a presentational icon or similar element to the input.\n * @slot suffix - Used to append a presentational icon or similar element to the input.\n * @slot clear-icon - An icon to use in lieu of the default clear icon.\n * @slot show-password-icon - An icon to use in lieu of the default show password icon.\n * @slot hide-password-icon - An icon to use in lieu of the default hide password icon.\n * @slot help-text - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n * @slot slash-items - `<zn-slash-item>` elements describing the insertions offered by the slash menu. Items are\n * picked up wherever they sit inside the input, so this slot name is optional.\n * @slot slash-menu - A `<zn-slash-menu>` to use instead of the built-in one, so its heading, sizing and styling can\n * be set in markup. Any `<zn-slash-item>` children of it become the menu's items.\n *\n * @dependency zn-slash-item\n * @dependency zn-slash-menu\n *\n * @event zn-slash-select - Emitted when a slash menu item is chosen. Cancelable — call `preventDefault()` to\n * suppress the insertion and handle the item yourself.\n * @event zn-slash-insert - Emitted after a slash menu item's value has been inserted.\n *\n * @csspart form-control - The form control that wraps the label, input, and help text.\n * @csspart slash-menu - The slash menu shown at the caret.\n * @csspart form-control-label - The label's wrapper.\n * @csspart form-control-input - The input's wrapper.\n * @csspart form-control-help-text - The help text's wrapper.\n * @csspart base - The component's base wrapper.\n * @csspart input - The internal `<input>` control.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart clear-button - The clear button.\n * @csspart password-toggle-button - The password toggle button.\n * @csspart suffix - The container that wraps the suffix.\n *\n * @cssproperty --zn-range-track-height - The height of a range input's track.\n * @cssproperty --zn-range-track-color - The color of a range input's track.\n * @cssproperty --zn-range-thumb-size - The diameter of a range input's thumb.\n * @cssproperty --zn-range-thumb-color - The color of a range input's thumb.\n * @cssproperty --zn-range-thumb-ring-width - The width of the ring drawn around a range input's thumb.\n */",
|
|
21998
|
+
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/input\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-icon\n * @dependency zn-tooltip\n *\n * @event zn-blur - Emitted when the control loses focus.\n * @event zn-change - Emitted when an alteration to the control's value is committed by the user.\n * @event zn-clear - Emitted when the clear button is activated.\n * @event zn-focus - Emitted when the control gains focus.\n * @event zn-input - Emitted when the control receives input.\n * @event zn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @slot label - The input's label. Alternatively, you can use the `label` attribute.\n * @slot label-tooltip - Used to add text that is displayed in a tooltip next to the label. Alternatively, you can use the `label-tooltip` attribute.\n * @slot context-note - Used to add contextual text that is displayed above the input, on the right. Alternatively, you can use the `context-note` attribute. Range inputs display their live value here unless this is set.\n * @slot prefix - Used to prepend a presentational icon or similar element to the input.\n * @slot suffix - Used to append a presentational icon or similar element to the input.\n * @slot clear-icon - An icon to use in lieu of the default clear icon.\n * @slot show-password-icon - An icon to use in lieu of the default show password icon.\n * @slot hide-password-icon - An icon to use in lieu of the default hide password icon.\n * @slot help-text - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n * @slot slash-items - `<zn-slash-item>` elements describing the insertions offered by the slash menu. Items are\n * picked up wherever they sit inside the input, so this slot name is optional.\n * @slot slash-menu - A `<zn-slash-menu>` to use instead of the built-in one, so its heading, sizing and styling can\n * be set in markup. Any `<zn-slash-item>` children of it become the menu's items.\n *\n * @dependency zn-slash-item\n * @dependency zn-slash-menu\n *\n * @event zn-slash-select - Emitted when a slash menu item is chosen. Cancelable — call `preventDefault()` to\n * suppress the insertion and handle the item yourself.\n * @event zn-slash-insert - Emitted after a slash menu item's value has been inserted.\n *\n * @csspart form-control - The form control that wraps the label, input, and help text.\n * @csspart slash-menu - The slash menu shown at the caret.\n * @csspart form-control-label - The label's wrapper.\n * @csspart form-control-input - The input's wrapper.\n * @csspart form-control-help-text - The help text's wrapper.\n * @csspart base - The component's base wrapper.\n * @csspart input - The internal `<input>` control.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart clear-button - The clear button.\n * @csspart password-toggle-button - The password toggle button.\n * @csspart suffix - The container that wraps the suffix.\n *\n * @cssproperty --zn-input-box-shadow - Shadow cast by the field; set to `none` inside a panel that draws its own edge.\n * @cssproperty --zn-range-track-height - The height of a range input's track.\n * @cssproperty --zn-range-track-color - The color of a range input's track.\n * @cssproperty --zn-range-thumb-size - The diameter of a range input's thumb.\n * @cssproperty --zn-range-thumb-color - The color of a range input's thumb.\n * @cssproperty --zn-range-thumb-ring-width - The width of the ring drawn around a range input's thumb.\n */",
|
|
21108
21999
|
"documentation": "https://zinc.style/components/input",
|
|
21109
22000
|
"status": "experimental",
|
|
21110
22001
|
"since": "1.0",
|
|
@@ -22273,6 +23164,30 @@
|
|
|
22273
23164
|
{
|
|
22274
23165
|
"description": "The rendered markdown preview.",
|
|
22275
23166
|
"name": "preview"
|
|
23167
|
+
},
|
|
23168
|
+
{
|
|
23169
|
+
"description": "The header region, when a caption or actions are given.",
|
|
23170
|
+
"name": "header",
|
|
23171
|
+
"inheritedFrom": {
|
|
23172
|
+
"name": "ZnPanel",
|
|
23173
|
+
"module": "src/components/panel/panel.component.ts"
|
|
23174
|
+
}
|
|
23175
|
+
},
|
|
23176
|
+
{
|
|
23177
|
+
"description": "The padded row inside the header, forwarded from zn-header.",
|
|
23178
|
+
"name": "header-content",
|
|
23179
|
+
"inheritedFrom": {
|
|
23180
|
+
"name": "ZnPanel",
|
|
23181
|
+
"module": "src/components/panel/panel.component.ts"
|
|
23182
|
+
}
|
|
23183
|
+
},
|
|
23184
|
+
{
|
|
23185
|
+
"description": "The footer region, when the footer slot is filled.",
|
|
23186
|
+
"name": "footer",
|
|
23187
|
+
"inheritedFrom": {
|
|
23188
|
+
"name": "ZnPanel",
|
|
23189
|
+
"module": "src/components/panel/panel.component.ts"
|
|
23190
|
+
}
|
|
22276
23191
|
}
|
|
22277
23192
|
],
|
|
22278
23193
|
"slots": [
|
|
@@ -23089,6 +24004,22 @@
|
|
|
23089
24004
|
"name": "ZnPanel",
|
|
23090
24005
|
"module": "src/components/panel/panel.component.ts"
|
|
23091
24006
|
}
|
|
24007
|
+
},
|
|
24008
|
+
{
|
|
24009
|
+
"description": "Padding around the header row. Defaults to `--zn-base-gap`.",
|
|
24010
|
+
"name": "--zn-panel-header-padding",
|
|
24011
|
+
"inheritedFrom": {
|
|
24012
|
+
"name": "ZnPanel",
|
|
24013
|
+
"module": "src/components/panel/panel.component.ts"
|
|
24014
|
+
}
|
|
24015
|
+
},
|
|
24016
|
+
{
|
|
24017
|
+
"description": "Padding around the footer row.",
|
|
24018
|
+
"name": "--zn-panel-footer-padding",
|
|
24019
|
+
"inheritedFrom": {
|
|
24020
|
+
"name": "ZnPanel",
|
|
24021
|
+
"module": "src/components/panel/panel.component.ts"
|
|
24022
|
+
}
|
|
23092
24023
|
}
|
|
23093
24024
|
]
|
|
23094
24025
|
}
|
|
@@ -23120,6 +24051,10 @@
|
|
|
23120
24051
|
{
|
|
23121
24052
|
"description": "Caps the menu's height and makes it scroll internally. Unset (`none`) by default, so the menu grows to fit its items unless a consumer sets this.",
|
|
23122
24053
|
"name": "--zn-menu-max-height"
|
|
24054
|
+
},
|
|
24055
|
+
{
|
|
24056
|
+
"description": "Overrides the menu's resting width. Defaults to `--zn-size-spanel`, or 245px for `variant=\"shell\"`.",
|
|
24057
|
+
"name": "--zn-menu-min-width"
|
|
23123
24058
|
}
|
|
23124
24059
|
],
|
|
23125
24060
|
"cssParts": [
|
|
@@ -23272,7 +24207,7 @@
|
|
|
23272
24207
|
"tagNameWithoutPrefix": "menu",
|
|
23273
24208
|
"tagName": "zn-menu",
|
|
23274
24209
|
"customElement": true,
|
|
23275
|
-
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/menu\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n * @cssproperty --zn-menu-max-height - Caps the menu's height and makes it scroll internally.\n * Unset (`none`) by default, so the menu grows to fit its items unless a consumer sets this.\n */",
|
|
24210
|
+
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/menu\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n * @cssproperty --zn-menu-max-height - Caps the menu's height and makes it scroll internally.\n * Unset (`none`) by default, so the menu grows to fit its items unless a consumer sets this.\n * @cssproperty --zn-menu-min-width - Overrides the menu's resting width. Defaults to\n * `--zn-size-spanel`, or 245px for `variant=\"shell\"`.\n */",
|
|
23276
24211
|
"documentation": "https://zinc.style/components/menu",
|
|
23277
24212
|
"status": "experimental",
|
|
23278
24213
|
"since": "1.0",
|
|
@@ -23495,6 +24430,17 @@
|
|
|
23495
24430
|
"attribute": "confirm",
|
|
23496
24431
|
"reflects": true
|
|
23497
24432
|
},
|
|
24433
|
+
{
|
|
24434
|
+
"kind": "field",
|
|
24435
|
+
"name": "keepOpen",
|
|
24436
|
+
"type": {
|
|
24437
|
+
"text": "boolean"
|
|
24438
|
+
},
|
|
24439
|
+
"default": "false",
|
|
24440
|
+
"description": "Leaves a containing dropdown open when this item is selected, whatever the dropdown's own setting.",
|
|
24441
|
+
"attribute": "keep-open",
|
|
24442
|
+
"reflects": true
|
|
24443
|
+
},
|
|
23498
24444
|
{
|
|
23499
24445
|
"kind": "field",
|
|
23500
24446
|
"name": "flush",
|
|
@@ -23742,6 +24688,15 @@
|
|
|
23742
24688
|
"default": "false",
|
|
23743
24689
|
"fieldName": "confirm"
|
|
23744
24690
|
},
|
|
24691
|
+
{
|
|
24692
|
+
"name": "keep-open",
|
|
24693
|
+
"type": {
|
|
24694
|
+
"text": "boolean"
|
|
24695
|
+
},
|
|
24696
|
+
"default": "false",
|
|
24697
|
+
"description": "Leaves a containing dropdown open when this item is selected, whatever the dropdown's own setting.",
|
|
24698
|
+
"fieldName": "keepOpen"
|
|
24699
|
+
},
|
|
23745
24700
|
{
|
|
23746
24701
|
"name": "flush",
|
|
23747
24702
|
"type": {
|
|
@@ -29899,12 +30854,32 @@
|
|
|
29899
30854
|
{
|
|
29900
30855
|
"description": "The flex-basis of the panel. Can be set using the basis-px attribute.",
|
|
29901
30856
|
"name": "--zn-panel-basis"
|
|
30857
|
+
},
|
|
30858
|
+
{
|
|
30859
|
+
"description": "Padding around the header row. Defaults to `--zn-base-gap`.",
|
|
30860
|
+
"name": "--zn-panel-header-padding"
|
|
30861
|
+
},
|
|
30862
|
+
{
|
|
30863
|
+
"description": "Padding around the footer row.",
|
|
30864
|
+
"name": "--zn-panel-footer-padding"
|
|
29902
30865
|
}
|
|
29903
30866
|
],
|
|
29904
30867
|
"cssParts": [
|
|
29905
30868
|
{
|
|
29906
30869
|
"description": "The component's base wrapper.",
|
|
29907
30870
|
"name": "base"
|
|
30871
|
+
},
|
|
30872
|
+
{
|
|
30873
|
+
"description": "The header region, when a caption or actions are given.",
|
|
30874
|
+
"name": "header"
|
|
30875
|
+
},
|
|
30876
|
+
{
|
|
30877
|
+
"description": "The padded row inside the header, forwarded from zn-header.",
|
|
30878
|
+
"name": "header-content"
|
|
30879
|
+
},
|
|
30880
|
+
{
|
|
30881
|
+
"description": "The footer region, when the footer slot is filled.",
|
|
30882
|
+
"name": "footer"
|
|
29908
30883
|
}
|
|
29909
30884
|
],
|
|
29910
30885
|
"slots": [
|
|
@@ -30120,7 +31095,7 @@
|
|
|
30120
31095
|
"tagNameWithoutPrefix": "panel",
|
|
30121
31096
|
"tagName": "zn-panel",
|
|
30122
31097
|
"customElement": true,
|
|
30123
|
-
"jsDoc": "/**\n * @summary Panels are versatile containers that provide structure for organizing content with optional headers and footers.\n * @documentation https://zinc.style/components/panel\n * @status experimental\n * @since 1.0\n *\n * @slot - The panel's main content.\n * @slot actions - Actions displayed in the panel header (buttons, chips, etc).\n * @slot footer - Content displayed in the panel footer.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --zn-panel-basis - The flex-basis of the panel. Can be set using the basis-px attribute.\n */",
|
|
31098
|
+
"jsDoc": "/**\n * @summary Panels are versatile containers that provide structure for organizing content with optional headers and footers.\n * @documentation https://zinc.style/components/panel\n * @status experimental\n * @since 1.0\n *\n * @slot - The panel's main content.\n * @slot actions - Actions displayed in the panel header (buttons, chips, etc).\n * @slot footer - Content displayed in the panel footer.\n *\n * @csspart base - The component's base wrapper.\n * @csspart header - The header region, when a caption or actions are given.\n * @csspart header-content - The padded row inside the header, forwarded from zn-header.\n * @csspart footer - The footer region, when the footer slot is filled.\n *\n * @cssproperty --zn-panel-basis - The flex-basis of the panel. Can be set using the basis-px attribute.\n * @cssproperty --zn-panel-header-padding - Padding around the header row. Defaults to `--zn-base-gap`.\n * @cssproperty --zn-panel-footer-padding - Padding around the footer row.\n */",
|
|
30124
31099
|
"documentation": "https://zinc.style/components/panel",
|
|
30125
31100
|
"status": "experimental",
|
|
30126
31101
|
"since": "1.0"
|
|
@@ -32254,6 +33229,14 @@
|
|
|
32254
33229
|
"kind": "javascript-module",
|
|
32255
33230
|
"path": "components/query-builder/query-builder.js",
|
|
32256
33231
|
"declarations": [
|
|
33232
|
+
{
|
|
33233
|
+
"kind": "variable",
|
|
33234
|
+
"name": "operatorText",
|
|
33235
|
+
"type": {
|
|
33236
|
+
"text": "{ [key in QueryBuilderOperators]: string }"
|
|
33237
|
+
},
|
|
33238
|
+
"default": "{ [QueryBuilderOperators.Eq]: 'Equals', [QueryBuilderOperators.Neq]: 'Not Equals', [QueryBuilderOperators.Eqi]: 'Equals (Insensitive)', [QueryBuilderOperators.Neqi]: 'Not Equals (Insensitive)', [QueryBuilderOperators.Before]: 'Was Before', [QueryBuilderOperators.After]: 'Was After', [QueryBuilderOperators.In]: 'In', [QueryBuilderOperators.Nin]: 'Not In', [QueryBuilderOperators.MatchPhrasePre]: 'Match Phrase Prefix', [QueryBuilderOperators.NMatchPhrasePre]: 'Does Not Match Phrase Prefix', [QueryBuilderOperators.MatchPhrase]: 'Match Phrase', [QueryBuilderOperators.NMatchPhrase]: 'Does Not Match Phrase', [QueryBuilderOperators.Match]: 'Match', [QueryBuilderOperators.NMatch]: 'Does Not Match', [QueryBuilderOperators.Contains]: 'Contains', [QueryBuilderOperators.DoesNotContain]: 'Does Not Contain', [QueryBuilderOperators.Starts]: 'Starts With', [QueryBuilderOperators.NStarts]: 'Does Not Start With', [QueryBuilderOperators.Ends]: 'Ends With', [QueryBuilderOperators.NEnds]: 'Does Not End With', [QueryBuilderOperators.Wild]: 'Wildcard Match', [QueryBuilderOperators.NWild]: 'Does Not Match Wildcard', [QueryBuilderOperators.Like]: 'Like Match With', [QueryBuilderOperators.NLike]: 'Does Not Like Match With', [QueryBuilderOperators.Fuzzy]: 'Fuzzy Match With', [QueryBuilderOperators.NFuzzy]: 'Does Not Match Fuzzy With', [QueryBuilderOperators.Gte]: 'Greater Than or Equals', [QueryBuilderOperators.Gt]: 'Greater Than', [QueryBuilderOperators.Lt]: 'Less Than', [QueryBuilderOperators.Lte]: 'Less Than or Equals', }"
|
|
33239
|
+
},
|
|
32257
33240
|
{
|
|
32258
33241
|
"kind": "class",
|
|
32259
33242
|
"description": "",
|
|
@@ -32854,6 +33837,14 @@
|
|
|
32854
33837
|
}
|
|
32855
33838
|
],
|
|
32856
33839
|
"exports": [
|
|
33840
|
+
{
|
|
33841
|
+
"kind": "js",
|
|
33842
|
+
"name": "operatorText",
|
|
33843
|
+
"declaration": {
|
|
33844
|
+
"name": "operatorText",
|
|
33845
|
+
"module": "components/query-builder/query-builder.js"
|
|
33846
|
+
}
|
|
33847
|
+
},
|
|
32857
33848
|
{
|
|
32858
33849
|
"kind": "js",
|
|
32859
33850
|
"name": "default",
|
|
@@ -49914,175 +50905,403 @@
|
|
|
49914
50905
|
"fieldName": "skidding"
|
|
49915
50906
|
},
|
|
49916
50907
|
{
|
|
49917
|
-
"name": "trigger",
|
|
49918
|
-
"type": {
|
|
49919
|
-
"text": "string"
|
|
50908
|
+
"name": "trigger",
|
|
50909
|
+
"type": {
|
|
50910
|
+
"text": "string"
|
|
50911
|
+
},
|
|
50912
|
+
"default": "'hover focus'",
|
|
50913
|
+
"fieldName": "trigger"
|
|
50914
|
+
},
|
|
50915
|
+
{
|
|
50916
|
+
"name": "hoist",
|
|
50917
|
+
"type": {
|
|
50918
|
+
"text": "boolean"
|
|
50919
|
+
},
|
|
50920
|
+
"default": "true",
|
|
50921
|
+
"fieldName": "hoist"
|
|
50922
|
+
}
|
|
50923
|
+
],
|
|
50924
|
+
"superclass": {
|
|
50925
|
+
"name": "ZincElement",
|
|
50926
|
+
"module": "/src/internal/zinc-element"
|
|
50927
|
+
},
|
|
50928
|
+
"summary": "The Tooltip component is used to display additional information when a user hovers over or clicks\non an element.",
|
|
50929
|
+
"tagNameWithoutPrefix": "tooltip",
|
|
50930
|
+
"tagName": "zn-tooltip",
|
|
50931
|
+
"customElement": true,
|
|
50932
|
+
"jsDoc": "/**\n * @summary The Tooltip component is used to display additional information when a user hovers over or clicks\n * on an element.\n *\n * @documentation https://zinc.style/components/tooltip\n * @status experimental\n * @since 1.0\n *\n * @event zn-show - Emitted when the tooltip is shown.\n * @event zn-after-show - Emitted after the tooltip is shown.\n * @event zn-hide - Emitted when the tooltip is hidden.\n * @event zn-after-hide - Emitted after the tooltip is hidden.\n *\n * @slot - The content of the tooltip\n * @slot anchor - The anchor the tooltip is attached to.\n */",
|
|
50933
|
+
"documentation": "https://zinc.style/components/tooltip",
|
|
50934
|
+
"status": "experimental",
|
|
50935
|
+
"since": "1.0"
|
|
50936
|
+
}
|
|
50937
|
+
],
|
|
50938
|
+
"exports": [
|
|
50939
|
+
{
|
|
50940
|
+
"kind": "js",
|
|
50941
|
+
"name": "default",
|
|
50942
|
+
"declaration": {
|
|
50943
|
+
"name": "ZnTooltip",
|
|
50944
|
+
"module": "components/tooltip/tooltip.js"
|
|
50945
|
+
}
|
|
50946
|
+
}
|
|
50947
|
+
]
|
|
50948
|
+
},
|
|
50949
|
+
{
|
|
50950
|
+
"kind": "javascript-module",
|
|
50951
|
+
"path": "components/translation-group/translation-group.js",
|
|
50952
|
+
"declarations": [
|
|
50953
|
+
{
|
|
50954
|
+
"kind": "class",
|
|
50955
|
+
"description": "",
|
|
50956
|
+
"name": "ZnTranslationGroup",
|
|
50957
|
+
"cssParts": [
|
|
50958
|
+
{
|
|
50959
|
+
"description": "The component's base wrapper.",
|
|
50960
|
+
"name": "base",
|
|
50961
|
+
"inheritedFrom": {
|
|
50962
|
+
"name": "ZnPanel",
|
|
50963
|
+
"module": "src/components/panel/panel.component.ts"
|
|
50964
|
+
}
|
|
50965
|
+
},
|
|
50966
|
+
{
|
|
50967
|
+
"description": "The form group holding the caption, the language select and the fields.",
|
|
50968
|
+
"name": "form-group"
|
|
50969
|
+
},
|
|
50970
|
+
{
|
|
50971
|
+
"description": "The row of buttons at the bottom of the body.",
|
|
50972
|
+
"name": "actions"
|
|
50973
|
+
},
|
|
50974
|
+
{
|
|
50975
|
+
"description": "The select that chooses the language every child is editing, in the group's chip slot.",
|
|
50976
|
+
"name": "language-field"
|
|
50977
|
+
},
|
|
50978
|
+
{
|
|
50979
|
+
"description": "The select itself.",
|
|
50980
|
+
"name": "language-select"
|
|
50981
|
+
},
|
|
50982
|
+
{
|
|
50983
|
+
"description": "The header region, when a caption or actions are given.",
|
|
50984
|
+
"name": "header",
|
|
50985
|
+
"inheritedFrom": {
|
|
50986
|
+
"name": "ZnPanel",
|
|
50987
|
+
"module": "src/components/panel/panel.component.ts"
|
|
50988
|
+
}
|
|
50989
|
+
},
|
|
50990
|
+
{
|
|
50991
|
+
"description": "The padded row inside the header, forwarded from zn-header.",
|
|
50992
|
+
"name": "header-content",
|
|
50993
|
+
"inheritedFrom": {
|
|
50994
|
+
"name": "ZnPanel",
|
|
50995
|
+
"module": "src/components/panel/panel.component.ts"
|
|
50996
|
+
}
|
|
50997
|
+
},
|
|
50998
|
+
{
|
|
50999
|
+
"description": "The footer region, when the footer slot is filled.",
|
|
51000
|
+
"name": "footer",
|
|
51001
|
+
"inheritedFrom": {
|
|
51002
|
+
"name": "ZnPanel",
|
|
51003
|
+
"module": "src/components/panel/panel.component.ts"
|
|
51004
|
+
}
|
|
51005
|
+
}
|
|
51006
|
+
],
|
|
51007
|
+
"slots": [
|
|
51008
|
+
{
|
|
51009
|
+
"description": "The `zn-translations` fields the select drives.",
|
|
51010
|
+
"name": "",
|
|
51011
|
+
"inheritedFrom": {
|
|
51012
|
+
"name": "ZnPanel",
|
|
51013
|
+
"module": "src/components/panel/panel.component.ts"
|
|
51014
|
+
}
|
|
51015
|
+
},
|
|
51016
|
+
{
|
|
51017
|
+
"description": "Buttons for the bottom of the panel, on the white body rather than the grey footer. They sit on the right, as zinc's form action rows do; `align=\"start\"` moves one to the left. Write them in the order they should be read — the sides are set by CSS ordering, so markup order is what a keyboard follows.",
|
|
51018
|
+
"name": "actions",
|
|
51019
|
+
"inheritedFrom": {
|
|
51020
|
+
"name": "ZnPanel",
|
|
51021
|
+
"module": "src/components/panel/panel.component.ts"
|
|
51022
|
+
}
|
|
51023
|
+
},
|
|
51024
|
+
{
|
|
51025
|
+
"description": "Content displayed in the grey panel footer.",
|
|
51026
|
+
"name": "footer",
|
|
51027
|
+
"inheritedFrom": {
|
|
51028
|
+
"name": "ZnPanel",
|
|
51029
|
+
"module": "src/components/panel/panel.component.ts"
|
|
51030
|
+
}
|
|
51031
|
+
}
|
|
51032
|
+
],
|
|
51033
|
+
"members": [
|
|
51034
|
+
{
|
|
51035
|
+
"kind": "field",
|
|
51036
|
+
"name": "dependencies",
|
|
51037
|
+
"type": {
|
|
51038
|
+
"text": "object"
|
|
51039
|
+
},
|
|
51040
|
+
"static": true,
|
|
51041
|
+
"default": "{ 'zn-chip': ZnChip, 'zn-form-group': ZnFormGroup, 'zn-option': ZnOption, 'zn-select': ZnSelect }"
|
|
51042
|
+
},
|
|
51043
|
+
{
|
|
51044
|
+
"kind": "field",
|
|
51045
|
+
"name": "_slotController",
|
|
51046
|
+
"privacy": "private",
|
|
51047
|
+
"readonly": true,
|
|
51048
|
+
"default": "new HasSlotController(this, 'actions', 'footer')"
|
|
51049
|
+
},
|
|
51050
|
+
{
|
|
51051
|
+
"kind": "field",
|
|
51052
|
+
"name": "label",
|
|
51053
|
+
"type": {
|
|
51054
|
+
"text": "string"
|
|
51055
|
+
},
|
|
51056
|
+
"default": "''",
|
|
51057
|
+
"description": "The form group's label. An alias for the inherited `caption`, which wins where both are set.",
|
|
51058
|
+
"attribute": "label"
|
|
51059
|
+
},
|
|
51060
|
+
{
|
|
51061
|
+
"kind": "field",
|
|
51062
|
+
"name": "helpText",
|
|
51063
|
+
"type": {
|
|
51064
|
+
"text": "string"
|
|
51065
|
+
},
|
|
51066
|
+
"default": "''",
|
|
51067
|
+
"description": "Sits under the label, above the language select, as help text does in any other form group.",
|
|
51068
|
+
"attribute": "help-text"
|
|
51069
|
+
},
|
|
51070
|
+
{
|
|
51071
|
+
"kind": "field",
|
|
51072
|
+
"name": "inline",
|
|
51073
|
+
"type": {
|
|
51074
|
+
"text": "boolean"
|
|
51075
|
+
},
|
|
51076
|
+
"default": "false",
|
|
51077
|
+
"description": "Drops the panel chrome — border, background and padding — so the group reads as a section of the surrounding form\nrather than a panel of its own. For groups nested inside another panel, where the fields would otherwise sit\nindented behind a second border.",
|
|
51078
|
+
"attribute": "inline",
|
|
51079
|
+
"reflects": true
|
|
51080
|
+
},
|
|
51081
|
+
{
|
|
51082
|
+
"kind": "field",
|
|
51083
|
+
"name": "languageLabel",
|
|
51084
|
+
"type": {
|
|
51085
|
+
"text": "string"
|
|
51086
|
+
},
|
|
51087
|
+
"default": "'Edit Languages'",
|
|
51088
|
+
"description": "The select's accessible name. Not shown — the caption is what names the section on screen — but read out by a\nscreen reader, which has nothing else to go on once the visible label is gone.",
|
|
51089
|
+
"attribute": "language-label"
|
|
51090
|
+
},
|
|
51091
|
+
{
|
|
51092
|
+
"kind": "field",
|
|
51093
|
+
"name": "languages",
|
|
51094
|
+
"type": {
|
|
51095
|
+
"text": "Record<string, string>"
|
|
51096
|
+
},
|
|
51097
|
+
"default": "{ 'en': 'EN' }",
|
|
51098
|
+
"description": "The languages on offer, as language code to display name — `{\"en\": \"English\", \"fr\": \"French\"}`. Writing the code\nas the name (`{\"en\": \"EN\"}`) is also accepted. `en` is the language every other one falls back to. Set on every\nchild, so they do not need their own copy.",
|
|
51099
|
+
"attribute": "languages"
|
|
51100
|
+
},
|
|
51101
|
+
{
|
|
51102
|
+
"kind": "field",
|
|
51103
|
+
"name": "_activeLanguage",
|
|
51104
|
+
"type": {
|
|
51105
|
+
"text": "string"
|
|
51106
|
+
},
|
|
51107
|
+
"privacy": "private",
|
|
51108
|
+
"default": "'en'",
|
|
51109
|
+
"description": "The language every child is currently editing."
|
|
51110
|
+
},
|
|
51111
|
+
{
|
|
51112
|
+
"kind": "field",
|
|
51113
|
+
"name": "_form",
|
|
51114
|
+
"type": {
|
|
51115
|
+
"text": "HTMLFormElement | null"
|
|
51116
|
+
},
|
|
51117
|
+
"privacy": "private",
|
|
51118
|
+
"default": "null"
|
|
51119
|
+
},
|
|
51120
|
+
{
|
|
51121
|
+
"kind": "method",
|
|
51122
|
+
"name": "getAllTranslations",
|
|
51123
|
+
"privacy": "private",
|
|
51124
|
+
"return": {
|
|
51125
|
+
"type": {
|
|
51126
|
+
"text": "ZnTranslations[]"
|
|
51127
|
+
}
|
|
51128
|
+
},
|
|
51129
|
+
"description": "The children the select drives. Read live rather than cached, so markup added later is picked up."
|
|
51130
|
+
},
|
|
51131
|
+
{
|
|
51132
|
+
"kind": "method",
|
|
51133
|
+
"name": "syncChildren",
|
|
51134
|
+
"privacy": "private",
|
|
51135
|
+
"description": "Sync grouped state, languages, and active language to all children."
|
|
51136
|
+
},
|
|
51137
|
+
{
|
|
51138
|
+
"kind": "method",
|
|
51139
|
+
"name": "languageState",
|
|
51140
|
+
"privacy": "private",
|
|
51141
|
+
"return": {
|
|
51142
|
+
"type": {
|
|
51143
|
+
"text": "{ type: 'success' | 'warning' | 'error'; label: string }"
|
|
51144
|
+
}
|
|
49920
51145
|
},
|
|
49921
|
-
"
|
|
49922
|
-
|
|
51146
|
+
"parameters": [
|
|
51147
|
+
{
|
|
51148
|
+
"name": "language",
|
|
51149
|
+
"type": {
|
|
51150
|
+
"text": "string"
|
|
51151
|
+
}
|
|
51152
|
+
}
|
|
51153
|
+
],
|
|
51154
|
+
"description": "A language is translated once every child carries a value for it, partial while only some do. The chips and the\ncount are read off the children, so a child's edit has to bring the group back round."
|
|
49923
51155
|
},
|
|
49924
51156
|
{
|
|
49925
|
-
"
|
|
49926
|
-
"
|
|
49927
|
-
|
|
51157
|
+
"kind": "method",
|
|
51158
|
+
"name": "displayName",
|
|
51159
|
+
"privacy": "private",
|
|
51160
|
+
"return": {
|
|
51161
|
+
"type": {
|
|
51162
|
+
"text": "string"
|
|
51163
|
+
}
|
|
49928
51164
|
},
|
|
49929
|
-
"
|
|
49930
|
-
|
|
49931
|
-
|
|
49932
|
-
|
|
49933
|
-
|
|
49934
|
-
|
|
49935
|
-
|
|
49936
|
-
|
|
49937
|
-
|
|
49938
|
-
"tagNameWithoutPrefix": "tooltip",
|
|
49939
|
-
"tagName": "zn-tooltip",
|
|
49940
|
-
"customElement": true,
|
|
49941
|
-
"jsDoc": "/**\n * @summary The Tooltip component is used to display additional information when a user hovers over or clicks\n * on an element.\n *\n * @documentation https://zinc.style/components/tooltip\n * @status experimental\n * @since 1.0\n *\n * @event zn-show - Emitted when the tooltip is shown.\n * @event zn-after-show - Emitted after the tooltip is shown.\n * @event zn-hide - Emitted when the tooltip is hidden.\n * @event zn-after-hide - Emitted after the tooltip is hidden.\n *\n * @slot - The content of the tooltip\n * @slot anchor - The anchor the tooltip is attached to.\n */",
|
|
49942
|
-
"documentation": "https://zinc.style/components/tooltip",
|
|
49943
|
-
"status": "experimental",
|
|
49944
|
-
"since": "1.0"
|
|
49945
|
-
}
|
|
49946
|
-
],
|
|
49947
|
-
"exports": [
|
|
49948
|
-
{
|
|
49949
|
-
"kind": "js",
|
|
49950
|
-
"name": "default",
|
|
49951
|
-
"declaration": {
|
|
49952
|
-
"name": "ZnTooltip",
|
|
49953
|
-
"module": "components/tooltip/tooltip.js"
|
|
49954
|
-
}
|
|
49955
|
-
}
|
|
49956
|
-
]
|
|
49957
|
-
},
|
|
49958
|
-
{
|
|
49959
|
-
"kind": "javascript-module",
|
|
49960
|
-
"path": "components/translations/translations.js",
|
|
49961
|
-
"declarations": [
|
|
49962
|
-
{
|
|
49963
|
-
"kind": "class",
|
|
49964
|
-
"description": "",
|
|
49965
|
-
"name": "ZnTranslations",
|
|
49966
|
-
"cssParts": [
|
|
49967
|
-
{
|
|
49968
|
-
"description": "The form control that wraps the label, the language select, the field and the help text.",
|
|
49969
|
-
"name": "form-control"
|
|
51165
|
+
"parameters": [
|
|
51166
|
+
{
|
|
51167
|
+
"name": "language",
|
|
51168
|
+
"type": {
|
|
51169
|
+
"text": "string"
|
|
51170
|
+
}
|
|
51171
|
+
}
|
|
51172
|
+
],
|
|
51173
|
+
"description": "The configured name, or the code where `languages` does not name the language."
|
|
49970
51174
|
},
|
|
49971
51175
|
{
|
|
49972
|
-
"
|
|
49973
|
-
"name": "
|
|
51176
|
+
"kind": "method",
|
|
51177
|
+
"name": "syncChildLanguages",
|
|
51178
|
+
"privacy": "private",
|
|
51179
|
+
"description": "Children take their language list from the group, so a change to `languages` has to reach them."
|
|
49974
51180
|
},
|
|
49975
51181
|
{
|
|
49976
|
-
"
|
|
49977
|
-
"name": "
|
|
51182
|
+
"kind": "field",
|
|
51183
|
+
"name": "handleSlotChange",
|
|
51184
|
+
"privacy": "private"
|
|
49978
51185
|
},
|
|
49979
51186
|
{
|
|
49980
|
-
"
|
|
49981
|
-
"name": "
|
|
51187
|
+
"kind": "method",
|
|
51188
|
+
"name": "switchLanguage",
|
|
51189
|
+
"privacy": "private",
|
|
51190
|
+
"parameters": [
|
|
51191
|
+
{
|
|
51192
|
+
"name": "lang",
|
|
51193
|
+
"type": {
|
|
51194
|
+
"text": "string"
|
|
51195
|
+
}
|
|
51196
|
+
}
|
|
51197
|
+
],
|
|
51198
|
+
"description": "Moves every child onto `lang` and announces it. Does not touch their values."
|
|
49982
51199
|
},
|
|
49983
51200
|
{
|
|
49984
|
-
"
|
|
49985
|
-
"name": "
|
|
49986
|
-
|
|
49987
|
-
|
|
49988
|
-
"slots": [
|
|
49989
|
-
{
|
|
49990
|
-
"description": "The field's label. Alternatively, use the `label` attribute.",
|
|
49991
|
-
"name": "label"
|
|
51201
|
+
"kind": "field",
|
|
51202
|
+
"name": "handleLanguageSelect",
|
|
51203
|
+
"privacy": "private",
|
|
51204
|
+
"description": "The select's own change and input events describe the language being browsed, not a translation being edited, so\nthey are stopped rather than allowed to reach a consumer listening for a child's value change."
|
|
49992
51205
|
},
|
|
49993
51206
|
{
|
|
49994
|
-
"
|
|
49995
|
-
"name": "
|
|
49996
|
-
|
|
49997
|
-
|
|
49998
|
-
"members": [
|
|
51207
|
+
"kind": "field",
|
|
51208
|
+
"name": "handleLanguageInput",
|
|
51209
|
+
"privacy": "private"
|
|
51210
|
+
},
|
|
49999
51211
|
{
|
|
50000
51212
|
"kind": "field",
|
|
50001
|
-
"name": "
|
|
50002
|
-
"
|
|
50003
|
-
|
|
50004
|
-
},
|
|
50005
|
-
"static": true,
|
|
50006
|
-
"default": "{ 'zn-chip': ZnChip, 'zn-inline-edit': ZnInlineEdit, 'zn-input': ZnInput, 'zn-option': ZnOption, 'zn-select': ZnSelect, 'zn-textarea': ZnTextarea }"
|
|
51213
|
+
"name": "handleChildChange",
|
|
51214
|
+
"privacy": "private",
|
|
51215
|
+
"description": "A child's edit changes which chips the select shows, and the translated count above it."
|
|
50007
51216
|
},
|
|
50008
51217
|
{
|
|
50009
51218
|
"kind": "field",
|
|
50010
|
-
"name": "
|
|
50011
|
-
"type": {
|
|
50012
|
-
"text": "FormControlController"
|
|
50013
|
-
},
|
|
51219
|
+
"name": "handleFormReset",
|
|
50014
51220
|
"privacy": "private",
|
|
50015
|
-
"
|
|
50016
|
-
"default": "new FormControlController(this)"
|
|
51221
|
+
"description": "The children restore their own values on the form's reset event without announcing it, and the chips and the\ncount are read off them — so re-read once every listener on that event has run."
|
|
50017
51222
|
},
|
|
50018
51223
|
{
|
|
50019
51224
|
"kind": "field",
|
|
50020
51225
|
"name": "hasSlotController",
|
|
50021
51226
|
"privacy": "private",
|
|
50022
51227
|
"readonly": true,
|
|
50023
|
-
"default": "new HasSlotController(this, '
|
|
51228
|
+
"default": "new HasSlotController(this, '[default]', 'actions', 'footer')",
|
|
51229
|
+
"inheritedFrom": {
|
|
51230
|
+
"name": "ZnPanel",
|
|
51231
|
+
"module": "components/panel/panel.js"
|
|
51232
|
+
}
|
|
50024
51233
|
},
|
|
50025
51234
|
{
|
|
50026
51235
|
"kind": "field",
|
|
50027
|
-
"name": "
|
|
51236
|
+
"name": "basis",
|
|
50028
51237
|
"type": {
|
|
50029
|
-
"text": "
|
|
51238
|
+
"text": "number"
|
|
50030
51239
|
},
|
|
50031
|
-
"
|
|
50032
|
-
"
|
|
50033
|
-
|
|
51240
|
+
"attribute": "basis-px",
|
|
51241
|
+
"inheritedFrom": {
|
|
51242
|
+
"name": "ZnPanel",
|
|
51243
|
+
"module": "components/panel/panel.js"
|
|
51244
|
+
}
|
|
50034
51245
|
},
|
|
50035
51246
|
{
|
|
50036
51247
|
"kind": "field",
|
|
50037
|
-
"name": "
|
|
51248
|
+
"name": "caption",
|
|
50038
51249
|
"type": {
|
|
50039
51250
|
"text": "string"
|
|
50040
51251
|
},
|
|
50041
|
-
"
|
|
50042
|
-
"
|
|
50043
|
-
|
|
51252
|
+
"attribute": "caption",
|
|
51253
|
+
"inheritedFrom": {
|
|
51254
|
+
"name": "ZnPanel",
|
|
51255
|
+
"module": "components/panel/panel.js"
|
|
51256
|
+
}
|
|
50044
51257
|
},
|
|
50045
51258
|
{
|
|
50046
51259
|
"kind": "field",
|
|
50047
|
-
"name": "
|
|
51260
|
+
"name": "icon",
|
|
50048
51261
|
"type": {
|
|
50049
51262
|
"text": "string"
|
|
50050
51263
|
},
|
|
50051
|
-
"
|
|
50052
|
-
"
|
|
50053
|
-
|
|
51264
|
+
"attribute": "icon",
|
|
51265
|
+
"inheritedFrom": {
|
|
51266
|
+
"name": "ZnPanel",
|
|
51267
|
+
"module": "components/panel/panel.js"
|
|
51268
|
+
}
|
|
50054
51269
|
},
|
|
50055
51270
|
{
|
|
50056
51271
|
"kind": "field",
|
|
50057
|
-
"name": "
|
|
51272
|
+
"name": "tabbed",
|
|
50058
51273
|
"type": {
|
|
50059
|
-
"text": "
|
|
51274
|
+
"text": "boolean"
|
|
50060
51275
|
},
|
|
50061
|
-
"
|
|
50062
|
-
"
|
|
50063
|
-
|
|
51276
|
+
"attribute": "tabbed",
|
|
51277
|
+
"inheritedFrom": {
|
|
51278
|
+
"name": "ZnPanel",
|
|
51279
|
+
"module": "components/panel/panel.js"
|
|
51280
|
+
}
|
|
50064
51281
|
},
|
|
50065
51282
|
{
|
|
50066
51283
|
"kind": "field",
|
|
50067
|
-
"name": "
|
|
51284
|
+
"name": "headerBorderless",
|
|
50068
51285
|
"type": {
|
|
50069
51286
|
"text": "boolean"
|
|
50070
51287
|
},
|
|
50071
|
-
"
|
|
50072
|
-
"
|
|
50073
|
-
|
|
50074
|
-
|
|
51288
|
+
"attribute": "header-borderless",
|
|
51289
|
+
"inheritedFrom": {
|
|
51290
|
+
"name": "ZnPanel",
|
|
51291
|
+
"module": "components/panel/panel.js"
|
|
51292
|
+
}
|
|
50075
51293
|
},
|
|
50076
51294
|
{
|
|
50077
51295
|
"kind": "field",
|
|
50078
|
-
"name": "
|
|
51296
|
+
"name": "cosmic",
|
|
50079
51297
|
"type": {
|
|
50080
51298
|
"text": "boolean"
|
|
50081
51299
|
},
|
|
50082
|
-
"
|
|
50083
|
-
"
|
|
50084
|
-
|
|
50085
|
-
|
|
51300
|
+
"attribute": "cosmic",
|
|
51301
|
+
"inheritedFrom": {
|
|
51302
|
+
"name": "ZnPanel",
|
|
51303
|
+
"module": "components/panel/panel.js"
|
|
51304
|
+
}
|
|
50086
51305
|
},
|
|
50087
51306
|
{
|
|
50088
51307
|
"kind": "field",
|
|
@@ -50090,766 +51309,699 @@
|
|
|
50090
51309
|
"type": {
|
|
50091
51310
|
"text": "boolean"
|
|
50092
51311
|
},
|
|
50093
|
-
"default": "false",
|
|
50094
|
-
"description": "Removes the component's own padding.",
|
|
50095
51312
|
"attribute": "flush",
|
|
50096
|
-
"
|
|
51313
|
+
"inheritedFrom": {
|
|
51314
|
+
"name": "ZnPanel",
|
|
51315
|
+
"module": "components/panel/panel.js"
|
|
51316
|
+
}
|
|
50097
51317
|
},
|
|
50098
51318
|
{
|
|
50099
51319
|
"kind": "field",
|
|
50100
|
-
"name": "
|
|
51320
|
+
"name": "flushX",
|
|
50101
51321
|
"type": {
|
|
50102
|
-
"text": "
|
|
51322
|
+
"text": "boolean"
|
|
50103
51323
|
},
|
|
50104
|
-
"
|
|
50105
|
-
"
|
|
50106
|
-
|
|
51324
|
+
"attribute": "flush-x",
|
|
51325
|
+
"inheritedFrom": {
|
|
51326
|
+
"name": "ZnPanel",
|
|
51327
|
+
"module": "components/panel/panel.js"
|
|
51328
|
+
}
|
|
50107
51329
|
},
|
|
50108
51330
|
{
|
|
50109
51331
|
"kind": "field",
|
|
50110
|
-
"name": "
|
|
51332
|
+
"name": "flushY",
|
|
50111
51333
|
"type": {
|
|
50112
|
-
"text": "
|
|
51334
|
+
"text": "boolean"
|
|
50113
51335
|
},
|
|
50114
|
-
"
|
|
50115
|
-
"
|
|
51336
|
+
"attribute": "flush-y",
|
|
51337
|
+
"inheritedFrom": {
|
|
51338
|
+
"name": "ZnPanel",
|
|
51339
|
+
"module": "components/panel/panel.js"
|
|
51340
|
+
}
|
|
50116
51341
|
},
|
|
50117
51342
|
{
|
|
50118
51343
|
"kind": "field",
|
|
50119
|
-
"name": "
|
|
51344
|
+
"name": "flushFooter",
|
|
50120
51345
|
"type": {
|
|
50121
51346
|
"text": "boolean"
|
|
50122
51347
|
},
|
|
50123
|
-
"
|
|
50124
|
-
"
|
|
50125
|
-
|
|
50126
|
-
|
|
51348
|
+
"attribute": "flush-footer",
|
|
51349
|
+
"inheritedFrom": {
|
|
51350
|
+
"name": "ZnPanel",
|
|
51351
|
+
"module": "components/panel/panel.js"
|
|
51352
|
+
}
|
|
50127
51353
|
},
|
|
50128
51354
|
{
|
|
50129
51355
|
"kind": "field",
|
|
50130
|
-
"name": "
|
|
51356
|
+
"name": "transparent",
|
|
50131
51357
|
"type": {
|
|
50132
|
-
"text": "
|
|
51358
|
+
"text": "boolean"
|
|
50133
51359
|
},
|
|
50134
|
-
"
|
|
50135
|
-
"
|
|
50136
|
-
|
|
51360
|
+
"attribute": "transparent",
|
|
51361
|
+
"inheritedFrom": {
|
|
51362
|
+
"name": "ZnPanel",
|
|
51363
|
+
"module": "components/panel/panel.js"
|
|
51364
|
+
}
|
|
50137
51365
|
},
|
|
50138
51366
|
{
|
|
50139
51367
|
"kind": "field",
|
|
50140
|
-
"name": "
|
|
51368
|
+
"name": "shadow",
|
|
50141
51369
|
"type": {
|
|
50142
|
-
"text": "
|
|
51370
|
+
"text": "boolean"
|
|
50143
51371
|
},
|
|
50144
|
-
"
|
|
50145
|
-
"
|
|
50146
|
-
|
|
50147
|
-
|
|
51372
|
+
"attribute": "shadow",
|
|
51373
|
+
"inheritedFrom": {
|
|
51374
|
+
"name": "ZnPanel",
|
|
51375
|
+
"module": "components/panel/panel.js"
|
|
51376
|
+
}
|
|
51377
|
+
}
|
|
51378
|
+
],
|
|
51379
|
+
"events": [
|
|
50148
51380
|
{
|
|
50149
|
-
"
|
|
50150
|
-
"name": "
|
|
51381
|
+
"description": "Emitted when the active language changes. Detail: `{ language: string }`.",
|
|
51382
|
+
"name": "zn-language-change"
|
|
51383
|
+
}
|
|
51384
|
+
],
|
|
51385
|
+
"attributes": [
|
|
51386
|
+
{
|
|
51387
|
+
"name": "label",
|
|
50151
51388
|
"type": {
|
|
50152
51389
|
"text": "string"
|
|
50153
51390
|
},
|
|
50154
|
-
"default": "'
|
|
50155
|
-
"description": "The
|
|
50156
|
-
"
|
|
51391
|
+
"default": "''",
|
|
51392
|
+
"description": "The form group's label. An alias for the inherited `caption`, which wins where both are set.",
|
|
51393
|
+
"fieldName": "label"
|
|
50157
51394
|
},
|
|
50158
51395
|
{
|
|
50159
|
-
"
|
|
50160
|
-
"name": "slashHeading",
|
|
51396
|
+
"name": "help-text",
|
|
50161
51397
|
"type": {
|
|
50162
51398
|
"text": "string"
|
|
50163
51399
|
},
|
|
50164
|
-
"default": "'
|
|
50165
|
-
"description": "
|
|
50166
|
-
"
|
|
51400
|
+
"default": "''",
|
|
51401
|
+
"description": "Sits under the label, above the language select, as help text does in any other form group.",
|
|
51402
|
+
"fieldName": "helpText"
|
|
50167
51403
|
},
|
|
50168
51404
|
{
|
|
50169
|
-
"
|
|
50170
|
-
"name": "slashHideKeys",
|
|
51405
|
+
"name": "inline",
|
|
50171
51406
|
"type": {
|
|
50172
51407
|
"text": "boolean"
|
|
50173
51408
|
},
|
|
50174
51409
|
"default": "false",
|
|
50175
|
-
"description": "
|
|
50176
|
-
"
|
|
51410
|
+
"description": "Drops the panel chrome — border, background and padding — so the group reads as a section of the surrounding form\nrather than a panel of its own. For groups nested inside another panel, where the fields would otherwise sit\nindented behind a second border.",
|
|
51411
|
+
"fieldName": "inline"
|
|
50177
51412
|
},
|
|
50178
51413
|
{
|
|
50179
|
-
"
|
|
50180
|
-
"name": "slashRecentKey",
|
|
51414
|
+
"name": "language-label",
|
|
50181
51415
|
"type": {
|
|
50182
51416
|
"text": "string"
|
|
50183
51417
|
},
|
|
50184
|
-
"default": "''",
|
|
50185
|
-
"description": "
|
|
50186
|
-
"
|
|
50187
|
-
},
|
|
50188
|
-
{
|
|
50189
|
-
"kind": "field",
|
|
50190
|
-
"name": "slashItemsProvider",
|
|
50191
|
-
"type": {
|
|
50192
|
-
"text": "(query: string) => SlashMenuItem[] | Promise<SlashMenuItem[]> | undefined"
|
|
50193
|
-
},
|
|
50194
|
-
"description": "Resolves additional slash menu items each time the menu opens. JavaScript only."
|
|
50195
|
-
},
|
|
50196
|
-
{
|
|
50197
|
-
"kind": "field",
|
|
50198
|
-
"name": "grouped",
|
|
50199
|
-
"type": {
|
|
50200
|
-
"text": "boolean"
|
|
50201
|
-
},
|
|
50202
|
-
"default": "false",
|
|
50203
|
-
"description": "Hides this component's own language select and defers the choice to a parent zn-translation-group. The group sets\nthis on its children itself.",
|
|
50204
|
-
"attribute": "grouped",
|
|
50205
|
-
"reflects": true
|
|
51418
|
+
"default": "'Edit Languages'",
|
|
51419
|
+
"description": "The select's accessible name. Not shown — the caption is what names the section on screen — but read out by a\nscreen reader, which has nothing else to go on once the visible label is gone.",
|
|
51420
|
+
"fieldName": "languageLabel"
|
|
50206
51421
|
},
|
|
50207
51422
|
{
|
|
50208
|
-
"kind": "field",
|
|
50209
51423
|
"name": "languages",
|
|
50210
51424
|
"type": {
|
|
50211
51425
|
"text": "Record<string, string>"
|
|
50212
51426
|
},
|
|
50213
51427
|
"default": "{ 'en': 'EN' }",
|
|
50214
|
-
"description": "The languages on offer, as language code to display name — `{\"en\": \"English\", \"fr\": \"French\"}`. Writing the code\nas the name (`{\"en\": \"EN\"}`) is also accepted. `en` is the language every other one falls back to.",
|
|
50215
|
-
"
|
|
51428
|
+
"description": "The languages on offer, as language code to display name — `{\"en\": \"English\", \"fr\": \"French\"}`. Writing the code\nas the name (`{\"en\": \"EN\"}`) is also accepted. `en` is the language every other one falls back to. Set on every\nchild, so they do not need their own copy.",
|
|
51429
|
+
"fieldName": "languages"
|
|
50216
51430
|
},
|
|
50217
51431
|
{
|
|
50218
|
-
"
|
|
50219
|
-
"name": "values",
|
|
51432
|
+
"name": "basis-px",
|
|
50220
51433
|
"type": {
|
|
50221
|
-
"text": "
|
|
51434
|
+
"text": "number"
|
|
50222
51435
|
},
|
|
50223
|
-
"
|
|
50224
|
-
"
|
|
50225
|
-
|
|
51436
|
+
"fieldName": "basis",
|
|
51437
|
+
"inheritedFrom": {
|
|
51438
|
+
"name": "ZnPanel",
|
|
51439
|
+
"module": "src/components/panel/panel.component.ts"
|
|
51440
|
+
}
|
|
50226
51441
|
},
|
|
50227
51442
|
{
|
|
50228
|
-
"
|
|
50229
|
-
"name": "defaultValue",
|
|
51443
|
+
"name": "caption",
|
|
50230
51444
|
"type": {
|
|
50231
51445
|
"text": "string"
|
|
50232
51446
|
},
|
|
50233
|
-
"
|
|
50234
|
-
"
|
|
51447
|
+
"fieldName": "caption",
|
|
51448
|
+
"inheritedFrom": {
|
|
51449
|
+
"name": "ZnPanel",
|
|
51450
|
+
"module": "src/components/panel/panel.component.ts"
|
|
51451
|
+
}
|
|
50235
51452
|
},
|
|
50236
51453
|
{
|
|
50237
|
-
"
|
|
50238
|
-
"name": "_activeLanguage",
|
|
51454
|
+
"name": "icon",
|
|
50239
51455
|
"type": {
|
|
50240
51456
|
"text": "string"
|
|
50241
51457
|
},
|
|
50242
|
-
"
|
|
50243
|
-
"
|
|
51458
|
+
"fieldName": "icon",
|
|
51459
|
+
"inheritedFrom": {
|
|
51460
|
+
"name": "ZnPanel",
|
|
51461
|
+
"module": "src/components/panel/panel.component.ts"
|
|
51462
|
+
}
|
|
50244
51463
|
},
|
|
50245
51464
|
{
|
|
50246
|
-
"
|
|
50247
|
-
"name": "validity",
|
|
51465
|
+
"name": "tabbed",
|
|
50248
51466
|
"type": {
|
|
50249
|
-
"text": "
|
|
50250
|
-
},
|
|
50251
|
-
"readonly": true
|
|
50252
|
-
},
|
|
50253
|
-
{
|
|
50254
|
-
"kind": "field",
|
|
50255
|
-
"name": "validationMessage",
|
|
50256
|
-
"readonly": true
|
|
50257
|
-
},
|
|
50258
|
-
{
|
|
50259
|
-
"kind": "method",
|
|
50260
|
-
"name": "checkValidity"
|
|
50261
|
-
},
|
|
50262
|
-
{
|
|
50263
|
-
"kind": "method",
|
|
50264
|
-
"name": "getForm"
|
|
50265
|
-
},
|
|
50266
|
-
{
|
|
50267
|
-
"kind": "method",
|
|
50268
|
-
"name": "reportValidity"
|
|
50269
|
-
},
|
|
50270
|
-
{
|
|
50271
|
-
"kind": "method",
|
|
50272
|
-
"name": "setCustomValidity"
|
|
50273
|
-
},
|
|
50274
|
-
{
|
|
50275
|
-
"kind": "method",
|
|
50276
|
-
"name": "setActiveLanguage",
|
|
50277
|
-
"privacy": "public",
|
|
50278
|
-
"parameters": [
|
|
50279
|
-
{
|
|
50280
|
-
"name": "language",
|
|
50281
|
-
"type": {
|
|
50282
|
-
"text": "string"
|
|
50283
|
-
}
|
|
50284
|
-
}
|
|
50285
|
-
],
|
|
50286
|
-
"description": "Sets the active language externally. Used by zn-translation-group. Browsing to a language does not create a key\nfor it — an untouched language stays absent from `values` so it is not submitted as an empty translation."
|
|
50287
|
-
},
|
|
50288
|
-
{
|
|
50289
|
-
"kind": "method",
|
|
50290
|
-
"name": "getActiveLanguage",
|
|
50291
|
-
"privacy": "public",
|
|
50292
|
-
"return": {
|
|
50293
|
-
"type": {
|
|
50294
|
-
"text": "string"
|
|
50295
|
-
}
|
|
51467
|
+
"text": "boolean"
|
|
50296
51468
|
},
|
|
50297
|
-
"
|
|
50298
|
-
|
|
50299
|
-
|
|
50300
|
-
|
|
50301
|
-
|
|
50302
|
-
"privacy": "public",
|
|
50303
|
-
"parameters": [
|
|
50304
|
-
{
|
|
50305
|
-
"name": "languageCode",
|
|
50306
|
-
"type": {
|
|
50307
|
-
"text": "string"
|
|
50308
|
-
}
|
|
50309
|
-
}
|
|
50310
|
-
],
|
|
50311
|
-
"description": "Adds a language key to this component's values if not already present. Used by zn-translation-group."
|
|
51469
|
+
"fieldName": "tabbed",
|
|
51470
|
+
"inheritedFrom": {
|
|
51471
|
+
"name": "ZnPanel",
|
|
51472
|
+
"module": "src/components/panel/panel.component.ts"
|
|
51473
|
+
}
|
|
50312
51474
|
},
|
|
50313
51475
|
{
|
|
50314
|
-
"
|
|
50315
|
-
"
|
|
50316
|
-
|
|
50317
|
-
"return": {
|
|
50318
|
-
"type": {
|
|
50319
|
-
"text": "string[]"
|
|
50320
|
-
}
|
|
51476
|
+
"name": "header-borderless",
|
|
51477
|
+
"type": {
|
|
51478
|
+
"text": "boolean"
|
|
50321
51479
|
},
|
|
50322
|
-
"
|
|
51480
|
+
"fieldName": "headerBorderless",
|
|
51481
|
+
"inheritedFrom": {
|
|
51482
|
+
"name": "ZnPanel",
|
|
51483
|
+
"module": "src/components/panel/panel.component.ts"
|
|
51484
|
+
}
|
|
50323
51485
|
},
|
|
50324
51486
|
{
|
|
50325
|
-
"
|
|
50326
|
-
"
|
|
50327
|
-
|
|
50328
|
-
"return": {
|
|
50329
|
-
"type": {
|
|
50330
|
-
"text": "boolean"
|
|
50331
|
-
}
|
|
51487
|
+
"name": "cosmic",
|
|
51488
|
+
"type": {
|
|
51489
|
+
"text": "boolean"
|
|
50332
51490
|
},
|
|
50333
|
-
"
|
|
50334
|
-
|
|
50335
|
-
|
|
50336
|
-
|
|
50337
|
-
|
|
50338
|
-
}
|
|
50339
|
-
}
|
|
50340
|
-
],
|
|
50341
|
-
"description": "Whether the language carries a translation of its own, rather than falling back to English."
|
|
51491
|
+
"fieldName": "cosmic",
|
|
51492
|
+
"inheritedFrom": {
|
|
51493
|
+
"name": "ZnPanel",
|
|
51494
|
+
"module": "src/components/panel/panel.component.ts"
|
|
51495
|
+
}
|
|
50342
51496
|
},
|
|
50343
51497
|
{
|
|
50344
|
-
"
|
|
50345
|
-
"
|
|
50346
|
-
|
|
50347
|
-
"return": {
|
|
50348
|
-
"type": {
|
|
50349
|
-
"text": "{ type: 'success' | 'error'; label: string }"
|
|
50350
|
-
}
|
|
51498
|
+
"name": "flush",
|
|
51499
|
+
"type": {
|
|
51500
|
+
"text": "boolean"
|
|
50351
51501
|
},
|
|
50352
|
-
"
|
|
50353
|
-
|
|
50354
|
-
|
|
50355
|
-
|
|
50356
|
-
|
|
50357
|
-
}
|
|
50358
|
-
}
|
|
50359
|
-
],
|
|
50360
|
-
"description": "The chip shown against a language, in the select's value and against each of its options."
|
|
51502
|
+
"fieldName": "flush",
|
|
51503
|
+
"inheritedFrom": {
|
|
51504
|
+
"name": "ZnPanel",
|
|
51505
|
+
"module": "src/components/panel/panel.component.ts"
|
|
51506
|
+
}
|
|
50361
51507
|
},
|
|
50362
51508
|
{
|
|
50363
|
-
"
|
|
50364
|
-
"
|
|
50365
|
-
|
|
50366
|
-
"return": {
|
|
50367
|
-
"type": {
|
|
50368
|
-
"text": "string"
|
|
50369
|
-
}
|
|
51509
|
+
"name": "flush-x",
|
|
51510
|
+
"type": {
|
|
51511
|
+
"text": "boolean"
|
|
50370
51512
|
},
|
|
50371
|
-
"
|
|
50372
|
-
|
|
50373
|
-
|
|
50374
|
-
|
|
50375
|
-
|
|
50376
|
-
}
|
|
50377
|
-
}
|
|
50378
|
-
],
|
|
50379
|
-
"description": "The configured name, or the code where `languages` does not name the language."
|
|
51513
|
+
"fieldName": "flushX",
|
|
51514
|
+
"inheritedFrom": {
|
|
51515
|
+
"name": "ZnPanel",
|
|
51516
|
+
"module": "src/components/panel/panel.component.ts"
|
|
51517
|
+
}
|
|
50380
51518
|
},
|
|
50381
51519
|
{
|
|
50382
|
-
"
|
|
50383
|
-
"
|
|
50384
|
-
|
|
50385
|
-
"return": {
|
|
50386
|
-
"type": {
|
|
50387
|
-
"text": "Record<string, string>"
|
|
50388
|
-
}
|
|
51520
|
+
"name": "flush-y",
|
|
51521
|
+
"type": {
|
|
51522
|
+
"text": "boolean"
|
|
50389
51523
|
},
|
|
50390
|
-
"
|
|
51524
|
+
"fieldName": "flushY",
|
|
51525
|
+
"inheritedFrom": {
|
|
51526
|
+
"name": "ZnPanel",
|
|
51527
|
+
"module": "src/components/panel/panel.component.ts"
|
|
51528
|
+
}
|
|
50391
51529
|
},
|
|
50392
51530
|
{
|
|
50393
|
-
"
|
|
50394
|
-
"
|
|
50395
|
-
|
|
50396
|
-
|
|
51531
|
+
"name": "flush-footer",
|
|
51532
|
+
"type": {
|
|
51533
|
+
"text": "boolean"
|
|
51534
|
+
},
|
|
51535
|
+
"fieldName": "flushFooter",
|
|
51536
|
+
"inheritedFrom": {
|
|
51537
|
+
"name": "ZnPanel",
|
|
51538
|
+
"module": "src/components/panel/panel.component.ts"
|
|
51539
|
+
}
|
|
50397
51540
|
},
|
|
50398
51541
|
{
|
|
50399
|
-
"
|
|
50400
|
-
"
|
|
50401
|
-
|
|
51542
|
+
"name": "transparent",
|
|
51543
|
+
"type": {
|
|
51544
|
+
"text": "boolean"
|
|
51545
|
+
},
|
|
51546
|
+
"fieldName": "transparent",
|
|
51547
|
+
"inheritedFrom": {
|
|
51548
|
+
"name": "ZnPanel",
|
|
51549
|
+
"module": "src/components/panel/panel.component.ts"
|
|
51550
|
+
}
|
|
50402
51551
|
},
|
|
50403
51552
|
{
|
|
50404
|
-
"
|
|
50405
|
-
"
|
|
50406
|
-
|
|
50407
|
-
|
|
51553
|
+
"name": "shadow",
|
|
51554
|
+
"type": {
|
|
51555
|
+
"text": "boolean"
|
|
51556
|
+
},
|
|
51557
|
+
"fieldName": "shadow",
|
|
51558
|
+
"inheritedFrom": {
|
|
51559
|
+
"name": "ZnPanel",
|
|
51560
|
+
"module": "src/components/panel/panel.component.ts"
|
|
51561
|
+
}
|
|
51562
|
+
}
|
|
51563
|
+
],
|
|
51564
|
+
"superclass": {
|
|
51565
|
+
"name": "ZnPanel",
|
|
51566
|
+
"module": "/src/components/panel/panel.component"
|
|
51567
|
+
},
|
|
51568
|
+
"summary": "Puts several zn-translations fields behind one language select, so a whole form's worth of copy is\ntranslated a language at a time.",
|
|
51569
|
+
"tagNameWithoutPrefix": "translation-group",
|
|
51570
|
+
"tagName": "zn-translation-group",
|
|
51571
|
+
"customElement": true,
|
|
51572
|
+
"jsDoc": "/**\n * @summary Puts several zn-translations fields behind one language select, so a whole form's worth of copy is\n * translated a language at a time.\n * @documentation https://zinc.style/components/translation-group\n * @status experimental\n * @since 1.0\n *\n * The fields sit in a `zn-form-group`, so the caption, help text and the language select share its label column and\n * the fields line up with every other form group around them. Choosing a language switches every child at once, and\n * each child hides its own select while it is in a group — `grouped` is set on them here.\n *\n * The select is searchable. Each option holds its language code as its value, so typing `de` finds German without the\n * code being on show.\n *\n * Closed, the select carries how many target languages are done — `1/5`. Its options each carry a chip aggregated\n * across the children:\n *\n * - `Translated` — every child has a value for it\n * - `Partial` — only some children do\n * - `English` — none do, so all of them fall back to the English text\n *\n * `Empty` replaces the last of those for English itself, which has nothing to fall back to. English counts towards\n * the `n of m` beside the label like any other language.\n *\n * The children own their values; this component only chooses which language is shown and reports on what they hold.\n * It reads them back on every child `zn-change`, so the chips and the count follow an edit as it is typed.\n *\n * Extends `zn-panel`, so `caption`, `flush`, `transparent` and the `footer` slot behave as they do there. Nested\n * inside another panel, add `inline` to drop the chrome and keep the fields aligned with the surrounding form.\n *\n * @dependency zn-chip\n * @dependency zn-form-group\n * @dependency zn-option\n * @dependency zn-select\n *\n * @event zn-language-change - Emitted when the active language changes. Detail: `{ language: string }`.\n *\n * @slot - The `zn-translations` fields the select drives.\n * @slot actions - Buttons for the bottom of the panel, on the white body rather than the grey footer. They sit on\n * the right, as zinc's form action rows do; `align=\"start\"` moves one to the left. Write them in the order they\n * should be read — the sides are set by CSS ordering, so markup order is what a keyboard follows.\n * @slot footer - Content displayed in the grey panel footer.\n *\n * @csspart base - The component's base wrapper.\n * @csspart form-group - The form group holding the caption, the language select and the fields.\n * @csspart actions - The row of buttons at the bottom of the body.\n * @csspart language-field - The select that chooses the language every child is editing, in the group's chip slot.\n * @csspart language-select - The select itself.\n */",
|
|
51573
|
+
"documentation": "https://zinc.style/components/translation-group",
|
|
51574
|
+
"status": "experimental",
|
|
51575
|
+
"since": "1.0",
|
|
51576
|
+
"dependencies": [
|
|
51577
|
+
"zn-chip",
|
|
51578
|
+
"zn-form-group",
|
|
51579
|
+
"zn-option",
|
|
51580
|
+
"zn-select"
|
|
51581
|
+
],
|
|
51582
|
+
"cssProperties": [
|
|
51583
|
+
{
|
|
51584
|
+
"description": "The flex-basis of the panel. Can be set using the basis-px attribute.",
|
|
51585
|
+
"name": "--zn-panel-basis",
|
|
51586
|
+
"inheritedFrom": {
|
|
51587
|
+
"name": "ZnPanel",
|
|
51588
|
+
"module": "src/components/panel/panel.component.ts"
|
|
51589
|
+
}
|
|
50408
51590
|
},
|
|
50409
51591
|
{
|
|
50410
|
-
"
|
|
50411
|
-
"name": "
|
|
50412
|
-
"
|
|
51592
|
+
"description": "Padding around the header row. Defaults to `--zn-base-gap`.",
|
|
51593
|
+
"name": "--zn-panel-header-padding",
|
|
51594
|
+
"inheritedFrom": {
|
|
51595
|
+
"name": "ZnPanel",
|
|
51596
|
+
"module": "src/components/panel/panel.component.ts"
|
|
51597
|
+
}
|
|
50413
51598
|
},
|
|
50414
51599
|
{
|
|
50415
|
-
"
|
|
50416
|
-
"name": "
|
|
50417
|
-
"
|
|
51600
|
+
"description": "Padding around the footer row.",
|
|
51601
|
+
"name": "--zn-panel-footer-padding",
|
|
51602
|
+
"inheritedFrom": {
|
|
51603
|
+
"name": "ZnPanel",
|
|
51604
|
+
"module": "src/components/panel/panel.component.ts"
|
|
51605
|
+
}
|
|
51606
|
+
}
|
|
51607
|
+
]
|
|
51608
|
+
}
|
|
51609
|
+
],
|
|
51610
|
+
"exports": [
|
|
51611
|
+
{
|
|
51612
|
+
"kind": "js",
|
|
51613
|
+
"name": "default",
|
|
51614
|
+
"declaration": {
|
|
51615
|
+
"name": "ZnTranslationGroup",
|
|
51616
|
+
"module": "components/translation-group/translation-group.js"
|
|
51617
|
+
}
|
|
51618
|
+
}
|
|
51619
|
+
]
|
|
51620
|
+
},
|
|
51621
|
+
{
|
|
51622
|
+
"kind": "javascript-module",
|
|
51623
|
+
"path": "components/translations/translations.js",
|
|
51624
|
+
"declarations": [
|
|
51625
|
+
{
|
|
51626
|
+
"kind": "class",
|
|
51627
|
+
"description": "",
|
|
51628
|
+
"name": "ZnTranslations",
|
|
51629
|
+
"cssParts": [
|
|
51630
|
+
{
|
|
51631
|
+
"description": "The form control that wraps the label, the language select, the field and the help text.",
|
|
51632
|
+
"name": "form-control"
|
|
50418
51633
|
},
|
|
50419
51634
|
{
|
|
50420
|
-
"
|
|
50421
|
-
"name": "
|
|
50422
|
-
"privacy": "private"
|
|
51635
|
+
"description": "The label's wrapper.",
|
|
51636
|
+
"name": "form-control-label"
|
|
50423
51637
|
},
|
|
50424
51638
|
{
|
|
50425
|
-
"
|
|
50426
|
-
"name": "
|
|
50427
|
-
"privacy": "private"
|
|
51639
|
+
"description": "The wrapper around the field being edited.",
|
|
51640
|
+
"name": "form-control-input"
|
|
50428
51641
|
},
|
|
50429
51642
|
{
|
|
50430
|
-
"
|
|
50431
|
-
"name": "
|
|
50432
|
-
"privacy": "private",
|
|
50433
|
-
"parameters": [
|
|
50434
|
-
{
|
|
50435
|
-
"name": "value",
|
|
50436
|
-
"type": {
|
|
50437
|
-
"text": "string"
|
|
50438
|
-
}
|
|
50439
|
-
},
|
|
50440
|
-
{
|
|
50441
|
-
"name": "placeholder",
|
|
50442
|
-
"type": {
|
|
50443
|
-
"text": "string"
|
|
50444
|
-
}
|
|
50445
|
-
},
|
|
50446
|
-
{
|
|
50447
|
-
"name": "isRTL",
|
|
50448
|
-
"type": {
|
|
50449
|
-
"text": "boolean"
|
|
50450
|
-
}
|
|
50451
|
-
}
|
|
50452
|
-
],
|
|
50453
|
-
"description": "The control the active language's translation is edited through."
|
|
51643
|
+
"description": "The help text's wrapper.",
|
|
51644
|
+
"name": "form-control-help-text"
|
|
50454
51645
|
},
|
|
50455
51646
|
{
|
|
50456
|
-
"
|
|
50457
|
-
"name": "
|
|
50458
|
-
"privacy": "private",
|
|
50459
|
-
"return": {
|
|
50460
|
-
"type": {
|
|
50461
|
-
"text": "boolean"
|
|
50462
|
-
}
|
|
50463
|
-
},
|
|
50464
|
-
"parameters": [
|
|
50465
|
-
{
|
|
50466
|
-
"name": "languageCode",
|
|
50467
|
-
"type": {
|
|
50468
|
-
"text": "string"
|
|
50469
|
-
}
|
|
50470
|
-
}
|
|
50471
|
-
],
|
|
50472
|
-
"description": "Arabic and Hebrew read right to left, so the field's `dir` follows the language being edited."
|
|
51647
|
+
"description": "The select that chooses the language being edited.",
|
|
51648
|
+
"name": "language-select"
|
|
50473
51649
|
}
|
|
50474
51650
|
],
|
|
50475
|
-
"
|
|
51651
|
+
"slots": [
|
|
50476
51652
|
{
|
|
50477
|
-
"description": "
|
|
50478
|
-
"name": "
|
|
51653
|
+
"description": "The field's label. Alternatively, use the `label` attribute.",
|
|
51654
|
+
"name": "label"
|
|
50479
51655
|
},
|
|
50480
51656
|
{
|
|
50481
|
-
"description": "
|
|
50482
|
-
"name": "
|
|
51657
|
+
"description": "Text describing how to fill the field in, shown below it and shared by every language. Alternatively, use the `help-text` attribute.",
|
|
51658
|
+
"name": "help-text"
|
|
50483
51659
|
}
|
|
50484
51660
|
],
|
|
50485
|
-
"
|
|
51661
|
+
"members": [
|
|
51662
|
+
{
|
|
51663
|
+
"kind": "field",
|
|
51664
|
+
"name": "dependencies",
|
|
51665
|
+
"type": {
|
|
51666
|
+
"text": "object"
|
|
51667
|
+
},
|
|
51668
|
+
"static": true,
|
|
51669
|
+
"default": "{ 'zn-chip': ZnChip, 'zn-inline-edit': ZnInlineEdit, 'zn-input': ZnInput, 'zn-option': ZnOption, 'zn-select': ZnSelect, 'zn-textarea': ZnTextarea }"
|
|
51670
|
+
},
|
|
51671
|
+
{
|
|
51672
|
+
"kind": "field",
|
|
51673
|
+
"name": "formControlController",
|
|
51674
|
+
"type": {
|
|
51675
|
+
"text": "FormControlController"
|
|
51676
|
+
},
|
|
51677
|
+
"privacy": "private",
|
|
51678
|
+
"readonly": true,
|
|
51679
|
+
"default": "new FormControlController(this)"
|
|
51680
|
+
},
|
|
51681
|
+
{
|
|
51682
|
+
"kind": "field",
|
|
51683
|
+
"name": "hasSlotController",
|
|
51684
|
+
"privacy": "private",
|
|
51685
|
+
"readonly": true,
|
|
51686
|
+
"default": "new HasSlotController(this, 'label', 'help-text')"
|
|
51687
|
+
},
|
|
50486
51688
|
{
|
|
51689
|
+
"kind": "field",
|
|
50487
51690
|
"name": "name",
|
|
50488
51691
|
"type": {
|
|
50489
51692
|
"text": "string"
|
|
50490
51693
|
},
|
|
50491
51694
|
"default": "''",
|
|
50492
51695
|
"description": "The name submitted with the form.",
|
|
50493
|
-
"
|
|
51696
|
+
"attribute": "name"
|
|
50494
51697
|
},
|
|
50495
51698
|
{
|
|
51699
|
+
"kind": "field",
|
|
50496
51700
|
"name": "value",
|
|
50497
51701
|
"type": {
|
|
50498
51702
|
"text": "string"
|
|
50499
51703
|
},
|
|
50500
51704
|
"default": "'{\"en\":\"\"}'",
|
|
50501
51705
|
"description": "The translations as a JSON object keyed by language code. The mirror of `values` in attribute form.",
|
|
50502
|
-
"
|
|
51706
|
+
"attribute": "value"
|
|
50503
51707
|
},
|
|
50504
51708
|
{
|
|
51709
|
+
"kind": "field",
|
|
50505
51710
|
"name": "label",
|
|
50506
51711
|
"type": {
|
|
50507
51712
|
"text": "string"
|
|
50508
51713
|
},
|
|
50509
51714
|
"default": "''",
|
|
50510
51715
|
"description": "The label shown above the field. If you need HTML, use the `label` slot instead.",
|
|
50511
|
-
"
|
|
51716
|
+
"attribute": "label"
|
|
50512
51717
|
},
|
|
50513
51718
|
{
|
|
50514
|
-
"
|
|
51719
|
+
"kind": "field",
|
|
51720
|
+
"name": "helpText",
|
|
50515
51721
|
"type": {
|
|
50516
51722
|
"text": "string"
|
|
50517
51723
|
},
|
|
50518
51724
|
"default": "''",
|
|
50519
51725
|
"description": "Text shown below the field, describing how to fill it in. Applies to every language. If you need HTML, use the\n`help-text` slot instead.",
|
|
50520
|
-
"
|
|
51726
|
+
"attribute": "help-text"
|
|
50521
51727
|
},
|
|
50522
51728
|
{
|
|
51729
|
+
"kind": "field",
|
|
50523
51730
|
"name": "disabled",
|
|
50524
51731
|
"type": {
|
|
50525
51732
|
"text": "boolean"
|
|
50526
51733
|
},
|
|
50527
51734
|
"default": "false",
|
|
50528
51735
|
"description": "Disables editing in every language.",
|
|
50529
|
-
"
|
|
51736
|
+
"attribute": "disabled",
|
|
51737
|
+
"reflects": true
|
|
50530
51738
|
},
|
|
50531
51739
|
{
|
|
51740
|
+
"kind": "field",
|
|
50532
51741
|
"name": "required",
|
|
50533
51742
|
"type": {
|
|
50534
51743
|
"text": "boolean"
|
|
50535
51744
|
},
|
|
50536
51745
|
"default": "false",
|
|
50537
51746
|
"description": "Marks the label required. Validity is not enforced per language.",
|
|
50538
|
-
"
|
|
51747
|
+
"attribute": "required",
|
|
51748
|
+
"reflects": true
|
|
50539
51749
|
},
|
|
50540
51750
|
{
|
|
51751
|
+
"kind": "field",
|
|
50541
51752
|
"name": "flush",
|
|
50542
51753
|
"type": {
|
|
50543
51754
|
"text": "boolean"
|
|
50544
51755
|
},
|
|
50545
51756
|
"default": "false",
|
|
50546
51757
|
"description": "Removes the component's own padding.",
|
|
50547
|
-
"
|
|
51758
|
+
"attribute": "flush",
|
|
51759
|
+
"reflects": true
|
|
50548
51760
|
},
|
|
50549
51761
|
{
|
|
50550
|
-
"
|
|
51762
|
+
"kind": "field",
|
|
51763
|
+
"name": "inputType",
|
|
50551
51764
|
"type": {
|
|
50552
51765
|
"text": "'text' | 'number' | 'textarea'"
|
|
50553
51766
|
},
|
|
50554
51767
|
"default": "'text'",
|
|
50555
51768
|
"description": "The control each translation is edited through.",
|
|
50556
|
-
"
|
|
51769
|
+
"attribute": "input-type"
|
|
50557
51770
|
},
|
|
50558
51771
|
{
|
|
50559
|
-
"
|
|
51772
|
+
"kind": "field",
|
|
51773
|
+
"name": "textareaRows",
|
|
50560
51774
|
"type": {
|
|
50561
51775
|
"text": "number | undefined"
|
|
50562
51776
|
},
|
|
50563
51777
|
"description": "Rows of the textarea, when `input-type` is `textarea`.",
|
|
50564
|
-
"
|
|
51778
|
+
"attribute": "textarea-rows"
|
|
50565
51779
|
},
|
|
50566
51780
|
{
|
|
50567
|
-
"
|
|
51781
|
+
"kind": "field",
|
|
51782
|
+
"name": "inlineEdit",
|
|
50568
51783
|
"type": {
|
|
50569
51784
|
"text": "boolean"
|
|
50570
51785
|
},
|
|
50571
51786
|
"default": "false",
|
|
50572
51787
|
"description": "Edits the translation through a `zn-inline-edit` — the value reads as text until it is clicked — rather than a\nplain input or textarea.",
|
|
50573
|
-
"
|
|
51788
|
+
"attribute": "inline-edit",
|
|
51789
|
+
"reflects": true
|
|
50574
51790
|
},
|
|
50575
51791
|
{
|
|
50576
|
-
"
|
|
51792
|
+
"kind": "field",
|
|
51793
|
+
"name": "slashItems",
|
|
50577
51794
|
"type": {
|
|
50578
51795
|
"text": "SlashMenuItem[]"
|
|
50579
51796
|
},
|
|
50580
51797
|
"default": "[]",
|
|
50581
51798
|
"description": "Quick insertions offered by the slash menu on `text` and `textarea` inputs. Accepts a JSON array of items, or\nthe shorthand `Brand name={{BRAND_NAME}}, Support email={{SUPPORT_EMAIL}}`. Every language shares the list.",
|
|
50582
|
-
"
|
|
51799
|
+
"attribute": "slash-items"
|
|
50583
51800
|
},
|
|
50584
51801
|
{
|
|
50585
|
-
"
|
|
51802
|
+
"kind": "field",
|
|
51803
|
+
"name": "slashPreset",
|
|
50586
51804
|
"type": {
|
|
50587
51805
|
"text": "string"
|
|
50588
51806
|
},
|
|
50589
51807
|
"default": "''",
|
|
50590
51808
|
"description": "Names of item sets registered with `registerSlashMenuPreset`, comma separated.",
|
|
50591
|
-
"
|
|
51809
|
+
"attribute": "slash-preset"
|
|
50592
51810
|
},
|
|
50593
51811
|
{
|
|
50594
|
-
"
|
|
51812
|
+
"kind": "field",
|
|
51813
|
+
"name": "slashTrigger",
|
|
50595
51814
|
"type": {
|
|
50596
51815
|
"text": "string"
|
|
50597
51816
|
},
|
|
50598
51817
|
"default": "'/'",
|
|
50599
51818
|
"description": "The characters that open the slash menu.",
|
|
50600
|
-
"
|
|
51819
|
+
"attribute": "slash-trigger"
|
|
50601
51820
|
},
|
|
50602
51821
|
{
|
|
50603
|
-
"
|
|
51822
|
+
"kind": "field",
|
|
51823
|
+
"name": "slashHeading",
|
|
50604
51824
|
"type": {
|
|
50605
51825
|
"text": "string"
|
|
50606
51826
|
},
|
|
50607
51827
|
"default": "'Insert'",
|
|
50608
51828
|
"description": "The name the slash menu's list is announced by.",
|
|
50609
|
-
"
|
|
51829
|
+
"attribute": "slash-heading"
|
|
50610
51830
|
},
|
|
50611
51831
|
{
|
|
50612
|
-
"
|
|
51832
|
+
"kind": "field",
|
|
51833
|
+
"name": "slashHideKeys",
|
|
50613
51834
|
"type": {
|
|
50614
51835
|
"text": "boolean"
|
|
50615
51836
|
},
|
|
50616
51837
|
"default": "false",
|
|
50617
51838
|
"description": "Hides the insertion keys normally shown against the slash menu's items.",
|
|
50618
|
-
"
|
|
51839
|
+
"attribute": "slash-hide-keys"
|
|
50619
51840
|
},
|
|
50620
51841
|
{
|
|
50621
|
-
"
|
|
51842
|
+
"kind": "field",
|
|
51843
|
+
"name": "slashRecentKey",
|
|
50622
51844
|
"type": {
|
|
50623
51845
|
"text": "string"
|
|
50624
51846
|
},
|
|
50625
51847
|
"default": "''",
|
|
50626
51848
|
"description": "Lists the slash menu items most recently chosen here above the rest, remembered under this key.",
|
|
50627
|
-
"
|
|
51849
|
+
"attribute": "slash-recent-key"
|
|
51850
|
+
},
|
|
51851
|
+
{
|
|
51852
|
+
"kind": "field",
|
|
51853
|
+
"name": "slashItemsProvider",
|
|
51854
|
+
"type": {
|
|
51855
|
+
"text": "(query: string) => SlashMenuItem[] | Promise<SlashMenuItem[]> | undefined"
|
|
51856
|
+
},
|
|
51857
|
+
"description": "Resolves additional slash menu items each time the menu opens. JavaScript only."
|
|
50628
51858
|
},
|
|
50629
51859
|
{
|
|
51860
|
+
"kind": "field",
|
|
50630
51861
|
"name": "grouped",
|
|
50631
51862
|
"type": {
|
|
50632
51863
|
"text": "boolean"
|
|
50633
51864
|
},
|
|
50634
51865
|
"default": "false",
|
|
50635
51866
|
"description": "Hides this component's own language select and defers the choice to a parent zn-translation-group. The group sets\nthis on its children itself.",
|
|
50636
|
-
"
|
|
51867
|
+
"attribute": "grouped",
|
|
51868
|
+
"reflects": true
|
|
50637
51869
|
},
|
|
50638
51870
|
{
|
|
51871
|
+
"kind": "field",
|
|
50639
51872
|
"name": "languages",
|
|
50640
51873
|
"type": {
|
|
50641
51874
|
"text": "Record<string, string>"
|
|
50642
51875
|
},
|
|
50643
51876
|
"default": "{ 'en': 'EN' }",
|
|
50644
51877
|
"description": "The languages on offer, as language code to display name — `{\"en\": \"English\", \"fr\": \"French\"}`. Writing the code\nas the name (`{\"en\": \"EN\"}`) is also accepted. `en` is the language every other one falls back to.",
|
|
50645
|
-
"
|
|
51878
|
+
"attribute": "languages"
|
|
50646
51879
|
},
|
|
50647
51880
|
{
|
|
51881
|
+
"kind": "field",
|
|
50648
51882
|
"name": "values",
|
|
50649
51883
|
"type": {
|
|
50650
51884
|
"text": "Record<string, string>"
|
|
50651
51885
|
},
|
|
50652
51886
|
"default": "{}",
|
|
50653
51887
|
"description": "The translations as an object keyed by language code. The mirror of `value` in property form.",
|
|
50654
|
-
"
|
|
50655
|
-
}
|
|
50656
|
-
],
|
|
50657
|
-
"superclass": {
|
|
50658
|
-
"name": "ZincElement",
|
|
50659
|
-
"module": "/src/internal/zinc-element"
|
|
50660
|
-
},
|
|
50661
|
-
"summary": "Collects one piece of text in several languages, one language at a time.",
|
|
50662
|
-
"tagNameWithoutPrefix": "translations",
|
|
50663
|
-
"tagName": "zn-translations",
|
|
50664
|
-
"customElement": true,
|
|
50665
|
-
"jsDoc": "/**\n * @summary Collects one piece of text in several languages, one language at a time.\n * @documentation https://zinc.style/components/translations\n * @status experimental\n * @since 1.0\n *\n * A select above the field chooses the language being edited. Closed, it carries how many languages are translated —\n * `1/5`; open, every language it offers carries a chip saying whether it has a translation of its own or falls back\n * to English. Blank languages fall back to English at render\n * time, so a blank field shows the English text as its placeholder rather than looking empty.\n *\n * The value submitted is a JSON object keyed by language code. A language stays out of it until it is typed into, so\n * browsing the languages does not pad the payload with empty translations.\n *\n * Put several of these in a `zn-translation-group` to have one select drive all of them.\n *\n * @dependency zn-chip\n * @dependency zn-inline-edit\n * @dependency zn-input\n * @dependency zn-option\n * @dependency zn-select\n * @dependency zn-textarea\n *\n * @slot label - The field's label. Alternatively, use the `label` attribute.\n * @slot help-text - Text describing how to fill the field in, shown below it and shared by every language.\n * Alternatively, use the `help-text` attribute.\n *\n * @event zn-change - Emitted when a translation's value changes.\n * @event zn-input - Emitted when a translation receives input.\n *\n * @csspart form-control - The form control that wraps the label, the language select, the field and the help text.\n * @csspart form-control-label - The label's wrapper.\n * @csspart form-control-input - The wrapper around the field being edited.\n * @csspart form-control-help-text - The help text's wrapper.\n * @csspart language-select - The select that chooses the language being edited.\n */",
|
|
50666
|
-
"documentation": "https://zinc.style/components/translations",
|
|
50667
|
-
"status": "experimental",
|
|
50668
|
-
"since": "1.0",
|
|
50669
|
-
"dependencies": [
|
|
50670
|
-
"zn-chip",
|
|
50671
|
-
"zn-inline-edit",
|
|
50672
|
-
"zn-input",
|
|
50673
|
-
"zn-option",
|
|
50674
|
-
"zn-select",
|
|
50675
|
-
"zn-textarea"
|
|
50676
|
-
]
|
|
50677
|
-
}
|
|
50678
|
-
],
|
|
50679
|
-
"exports": [
|
|
50680
|
-
{
|
|
50681
|
-
"kind": "js",
|
|
50682
|
-
"name": "default",
|
|
50683
|
-
"declaration": {
|
|
50684
|
-
"name": "ZnTranslations",
|
|
50685
|
-
"module": "components/translations/translations.js"
|
|
50686
|
-
}
|
|
50687
|
-
}
|
|
50688
|
-
]
|
|
50689
|
-
},
|
|
50690
|
-
{
|
|
50691
|
-
"kind": "javascript-module",
|
|
50692
|
-
"path": "components/translation-group/translation-group.js",
|
|
50693
|
-
"declarations": [
|
|
50694
|
-
{
|
|
50695
|
-
"kind": "class",
|
|
50696
|
-
"description": "",
|
|
50697
|
-
"name": "ZnTranslationGroup",
|
|
50698
|
-
"cssParts": [
|
|
50699
|
-
{
|
|
50700
|
-
"description": "The component's base wrapper.",
|
|
50701
|
-
"name": "base",
|
|
50702
|
-
"inheritedFrom": {
|
|
50703
|
-
"name": "ZnPanel",
|
|
50704
|
-
"module": "src/components/panel/panel.component.ts"
|
|
50705
|
-
}
|
|
50706
|
-
},
|
|
50707
|
-
{
|
|
50708
|
-
"description": "The form group holding the caption, the language select and the fields.",
|
|
50709
|
-
"name": "form-group"
|
|
50710
|
-
},
|
|
50711
|
-
{
|
|
50712
|
-
"description": "The row of buttons at the bottom of the body.",
|
|
50713
|
-
"name": "actions"
|
|
50714
|
-
},
|
|
50715
|
-
{
|
|
50716
|
-
"description": "The select that chooses the language every child is editing, in the group's chip slot.",
|
|
50717
|
-
"name": "language-field"
|
|
50718
|
-
},
|
|
50719
|
-
{
|
|
50720
|
-
"description": "The select itself.",
|
|
50721
|
-
"name": "language-select"
|
|
50722
|
-
}
|
|
50723
|
-
],
|
|
50724
|
-
"slots": [
|
|
50725
|
-
{
|
|
50726
|
-
"description": "The `zn-translations` fields the select drives.",
|
|
50727
|
-
"name": "",
|
|
50728
|
-
"inheritedFrom": {
|
|
50729
|
-
"name": "ZnPanel",
|
|
50730
|
-
"module": "src/components/panel/panel.component.ts"
|
|
50731
|
-
}
|
|
50732
|
-
},
|
|
50733
|
-
{
|
|
50734
|
-
"description": "Buttons for the bottom of the panel, on the white body rather than the grey footer. They sit on the right, as zinc's form action rows do; `align=\"start\"` moves one to the left. Write them in the order they should be read — the sides are set by CSS ordering, so markup order is what a keyboard follows.",
|
|
50735
|
-
"name": "actions",
|
|
50736
|
-
"inheritedFrom": {
|
|
50737
|
-
"name": "ZnPanel",
|
|
50738
|
-
"module": "src/components/panel/panel.component.ts"
|
|
50739
|
-
}
|
|
51888
|
+
"attribute": "values"
|
|
50740
51889
|
},
|
|
50741
|
-
{
|
|
50742
|
-
"description": "Content displayed in the grey panel footer.",
|
|
50743
|
-
"name": "footer",
|
|
50744
|
-
"inheritedFrom": {
|
|
50745
|
-
"name": "ZnPanel",
|
|
50746
|
-
"module": "src/components/panel/panel.component.ts"
|
|
50747
|
-
}
|
|
50748
|
-
}
|
|
50749
|
-
],
|
|
50750
|
-
"members": [
|
|
50751
51890
|
{
|
|
50752
51891
|
"kind": "field",
|
|
50753
|
-
"name": "
|
|
51892
|
+
"name": "defaultValue",
|
|
50754
51893
|
"type": {
|
|
50755
|
-
"text": "
|
|
51894
|
+
"text": "string"
|
|
50756
51895
|
},
|
|
50757
|
-
"
|
|
50758
|
-
"
|
|
50759
|
-
},
|
|
50760
|
-
{
|
|
50761
|
-
"kind": "field",
|
|
50762
|
-
"name": "_slotController",
|
|
50763
|
-
"privacy": "private",
|
|
50764
|
-
"readonly": true,
|
|
50765
|
-
"default": "new HasSlotController(this, 'actions', 'footer')"
|
|
51896
|
+
"default": "'{\"en\":\"\"}'",
|
|
51897
|
+
"description": "The serialized translations a form reset restores. Taken from the `value` attribute where there is one."
|
|
50766
51898
|
},
|
|
50767
51899
|
{
|
|
50768
51900
|
"kind": "field",
|
|
50769
|
-
"name": "
|
|
51901
|
+
"name": "_activeLanguage",
|
|
50770
51902
|
"type": {
|
|
50771
51903
|
"text": "string"
|
|
50772
51904
|
},
|
|
50773
|
-
"
|
|
50774
|
-
"
|
|
50775
|
-
"attribute": "label"
|
|
51905
|
+
"privacy": "private",
|
|
51906
|
+
"default": "'en'"
|
|
50776
51907
|
},
|
|
50777
51908
|
{
|
|
50778
51909
|
"kind": "field",
|
|
50779
|
-
"name": "
|
|
51910
|
+
"name": "validity",
|
|
50780
51911
|
"type": {
|
|
50781
|
-
"text": "
|
|
51912
|
+
"text": "ValidityState"
|
|
50782
51913
|
},
|
|
50783
|
-
"
|
|
50784
|
-
"description": "Sits under the label, above the language select, as help text does in any other form group.",
|
|
50785
|
-
"attribute": "help-text"
|
|
51914
|
+
"readonly": true
|
|
50786
51915
|
},
|
|
50787
51916
|
{
|
|
50788
51917
|
"kind": "field",
|
|
50789
|
-
"name": "
|
|
50790
|
-
"
|
|
50791
|
-
"text": "boolean"
|
|
50792
|
-
},
|
|
50793
|
-
"default": "false",
|
|
50794
|
-
"description": "Drops the panel chrome — border, background and padding — so the group reads as a section of the surrounding form\nrather than a panel of its own. For groups nested inside another panel, where the fields would otherwise sit\nindented behind a second border.",
|
|
50795
|
-
"attribute": "inline",
|
|
50796
|
-
"reflects": true
|
|
51918
|
+
"name": "validationMessage",
|
|
51919
|
+
"readonly": true
|
|
50797
51920
|
},
|
|
50798
51921
|
{
|
|
50799
|
-
"kind": "
|
|
50800
|
-
"name": "
|
|
50801
|
-
"type": {
|
|
50802
|
-
"text": "string"
|
|
50803
|
-
},
|
|
50804
|
-
"default": "'Edit Languages'",
|
|
50805
|
-
"description": "The select's accessible name. Not shown — the caption is what names the section on screen — but read out by a\nscreen reader, which has nothing else to go on once the visible label is gone.",
|
|
50806
|
-
"attribute": "language-label"
|
|
51922
|
+
"kind": "method",
|
|
51923
|
+
"name": "checkValidity"
|
|
50807
51924
|
},
|
|
50808
51925
|
{
|
|
50809
|
-
"kind": "
|
|
50810
|
-
"name": "
|
|
50811
|
-
"type": {
|
|
50812
|
-
"text": "Record<string, string>"
|
|
50813
|
-
},
|
|
50814
|
-
"default": "{ 'en': 'EN' }",
|
|
50815
|
-
"description": "The languages on offer, as language code to display name — `{\"en\": \"English\", \"fr\": \"French\"}`. Writing the code\nas the name (`{\"en\": \"EN\"}`) is also accepted. `en` is the language every other one falls back to. Set on every\nchild, so they do not need their own copy.",
|
|
50816
|
-
"attribute": "languages"
|
|
51926
|
+
"kind": "method",
|
|
51927
|
+
"name": "getForm"
|
|
50817
51928
|
},
|
|
50818
51929
|
{
|
|
50819
|
-
"kind": "
|
|
50820
|
-
"name": "
|
|
50821
|
-
|
|
50822
|
-
|
|
50823
|
-
|
|
50824
|
-
"
|
|
50825
|
-
|
|
50826
|
-
|
|
51930
|
+
"kind": "method",
|
|
51931
|
+
"name": "reportValidity"
|
|
51932
|
+
},
|
|
51933
|
+
{
|
|
51934
|
+
"kind": "method",
|
|
51935
|
+
"name": "setCustomValidity"
|
|
51936
|
+
},
|
|
51937
|
+
{
|
|
51938
|
+
"kind": "method",
|
|
51939
|
+
"name": "setActiveLanguage",
|
|
51940
|
+
"privacy": "public",
|
|
51941
|
+
"parameters": [
|
|
51942
|
+
{
|
|
51943
|
+
"name": "language",
|
|
51944
|
+
"type": {
|
|
51945
|
+
"text": "string"
|
|
51946
|
+
}
|
|
51947
|
+
}
|
|
51948
|
+
],
|
|
51949
|
+
"description": "Sets the active language externally. Used by zn-translation-group. Browsing to a language does not create a key\nfor it — an untouched language stays absent from `values` so it is not submitted as an empty translation."
|
|
50827
51950
|
},
|
|
50828
51951
|
{
|
|
50829
|
-
"kind": "
|
|
50830
|
-
"name": "
|
|
50831
|
-
"
|
|
50832
|
-
|
|
51952
|
+
"kind": "method",
|
|
51953
|
+
"name": "getActiveLanguage",
|
|
51954
|
+
"privacy": "public",
|
|
51955
|
+
"return": {
|
|
51956
|
+
"type": {
|
|
51957
|
+
"text": "string"
|
|
51958
|
+
}
|
|
50833
51959
|
},
|
|
50834
|
-
"
|
|
50835
|
-
"default": "null"
|
|
51960
|
+
"description": "Returns the currently active language."
|
|
50836
51961
|
},
|
|
50837
51962
|
{
|
|
50838
51963
|
"kind": "method",
|
|
50839
|
-
"name": "
|
|
50840
|
-
"privacy": "
|
|
51964
|
+
"name": "addLanguageKey",
|
|
51965
|
+
"privacy": "public",
|
|
51966
|
+
"parameters": [
|
|
51967
|
+
{
|
|
51968
|
+
"name": "languageCode",
|
|
51969
|
+
"type": {
|
|
51970
|
+
"text": "string"
|
|
51971
|
+
}
|
|
51972
|
+
}
|
|
51973
|
+
],
|
|
51974
|
+
"description": "Adds a language key to this component's values if not already present. Used by zn-translation-group."
|
|
51975
|
+
},
|
|
51976
|
+
{
|
|
51977
|
+
"kind": "method",
|
|
51978
|
+
"name": "getValueLanguages",
|
|
51979
|
+
"privacy": "public",
|
|
50841
51980
|
"return": {
|
|
50842
51981
|
"type": {
|
|
50843
|
-
"text": "
|
|
51982
|
+
"text": "string[]"
|
|
50844
51983
|
}
|
|
50845
51984
|
},
|
|
50846
|
-
"description": "
|
|
51985
|
+
"description": "Returns all language codes that have values."
|
|
50847
51986
|
},
|
|
50848
51987
|
{
|
|
50849
51988
|
"kind": "method",
|
|
50850
|
-
"name": "
|
|
50851
|
-
"privacy": "
|
|
50852
|
-
"
|
|
51989
|
+
"name": "hasTranslation",
|
|
51990
|
+
"privacy": "public",
|
|
51991
|
+
"return": {
|
|
51992
|
+
"type": {
|
|
51993
|
+
"text": "boolean"
|
|
51994
|
+
}
|
|
51995
|
+
},
|
|
51996
|
+
"parameters": [
|
|
51997
|
+
{
|
|
51998
|
+
"name": "language",
|
|
51999
|
+
"type": {
|
|
52000
|
+
"text": "string"
|
|
52001
|
+
}
|
|
52002
|
+
}
|
|
52003
|
+
],
|
|
52004
|
+
"description": "Whether the language carries a translation of its own, rather than falling back to English."
|
|
50853
52005
|
},
|
|
50854
52006
|
{
|
|
50855
52007
|
"kind": "method",
|
|
@@ -50857,7 +52009,7 @@
|
|
|
50857
52009
|
"privacy": "private",
|
|
50858
52010
|
"return": {
|
|
50859
52011
|
"type": {
|
|
50860
|
-
"text": "{ type: 'success' | '
|
|
52012
|
+
"text": "{ type: 'success' | 'error'; label: string }"
|
|
50861
52013
|
}
|
|
50862
52014
|
},
|
|
50863
52015
|
"parameters": [
|
|
@@ -50868,11 +52020,11 @@
|
|
|
50868
52020
|
}
|
|
50869
52021
|
}
|
|
50870
52022
|
],
|
|
50871
|
-
"description": "
|
|
52023
|
+
"description": "The chip shown against a language, in the select's value and against each of its options."
|
|
50872
52024
|
},
|
|
50873
52025
|
{
|
|
50874
52026
|
"kind": "method",
|
|
50875
|
-
"name": "
|
|
52027
|
+
"name": "languageLabel",
|
|
50876
52028
|
"privacy": "private",
|
|
50877
52029
|
"return": {
|
|
50878
52030
|
"type": {
|
|
@@ -50891,34 +52043,20 @@
|
|
|
50891
52043
|
},
|
|
50892
52044
|
{
|
|
50893
52045
|
"kind": "method",
|
|
50894
|
-
"name": "
|
|
50895
|
-
"privacy": "private",
|
|
50896
|
-
"description": "Children take their language list from the group, so a change to `languages` has to reach them."
|
|
50897
|
-
},
|
|
50898
|
-
{
|
|
50899
|
-
"kind": "field",
|
|
50900
|
-
"name": "handleSlotChange",
|
|
50901
|
-
"privacy": "private"
|
|
50902
|
-
},
|
|
50903
|
-
{
|
|
50904
|
-
"kind": "method",
|
|
50905
|
-
"name": "switchLanguage",
|
|
52046
|
+
"name": "pendingValues",
|
|
50906
52047
|
"privacy": "private",
|
|
50907
|
-
"
|
|
50908
|
-
{
|
|
50909
|
-
"
|
|
50910
|
-
"type": {
|
|
50911
|
-
"text": "string"
|
|
50912
|
-
}
|
|
52048
|
+
"return": {
|
|
52049
|
+
"type": {
|
|
52050
|
+
"text": "Record<string, string>"
|
|
50913
52051
|
}
|
|
50914
|
-
|
|
50915
|
-
"description": "
|
|
52052
|
+
},
|
|
52053
|
+
"description": "`values`, falling back to the `value` attribute it is built from while that is still pending. A parent\nzn-translation-group syncs its children from its own first update, which runs before theirs, so reading\n`values` alone would see it empty and overwrite the value the server rendered."
|
|
50916
52054
|
},
|
|
50917
52055
|
{
|
|
50918
52056
|
"kind": "field",
|
|
50919
52057
|
"name": "handleLanguageSelect",
|
|
50920
52058
|
"privacy": "private",
|
|
50921
|
-
"description": "The select's own change and input events describe the language being browsed, not
|
|
52059
|
+
"description": "The select's own change and input events are stopped here: they describe the language being browsed, not the\ntranslation being edited, and a consumer listening on zn-translations reads either as a value change."
|
|
50922
52060
|
},
|
|
50923
52061
|
{
|
|
50924
52062
|
"kind": "field",
|
|
@@ -50927,186 +52065,112 @@
|
|
|
50927
52065
|
},
|
|
50928
52066
|
{
|
|
50929
52067
|
"kind": "field",
|
|
50930
|
-
"name": "
|
|
50931
|
-
"privacy": "private",
|
|
50932
|
-
"description": "A child's edit changes which chips the select shows, and the translated count above it."
|
|
50933
|
-
},
|
|
50934
|
-
{
|
|
50935
|
-
"kind": "field",
|
|
50936
|
-
"name": "handleFormReset",
|
|
50937
|
-
"privacy": "private",
|
|
50938
|
-
"description": "The children restore their own values on the form's reset event without announcing it, and the chips and the\ncount are read off them — so re-read once every listener on that event has run."
|
|
50939
|
-
},
|
|
50940
|
-
{
|
|
50941
|
-
"kind": "field",
|
|
50942
|
-
"name": "hasSlotController",
|
|
52068
|
+
"name": "switchLanguage",
|
|
50943
52069
|
"privacy": "private",
|
|
50944
|
-
"
|
|
50945
|
-
"default": "new HasSlotController(this, '[default]', 'actions', 'footer')",
|
|
50946
|
-
"inheritedFrom": {
|
|
50947
|
-
"name": "ZnPanel",
|
|
50948
|
-
"module": "components/panel/panel.js"
|
|
50949
|
-
}
|
|
50950
|
-
},
|
|
50951
|
-
{
|
|
50952
|
-
"kind": "field",
|
|
50953
|
-
"name": "basis",
|
|
50954
|
-
"type": {
|
|
50955
|
-
"text": "number"
|
|
50956
|
-
},
|
|
50957
|
-
"attribute": "basis-px",
|
|
50958
|
-
"inheritedFrom": {
|
|
50959
|
-
"name": "ZnPanel",
|
|
50960
|
-
"module": "components/panel/panel.js"
|
|
50961
|
-
}
|
|
52070
|
+
"description": "The language shown in the field, without touching `values`."
|
|
50962
52071
|
},
|
|
50963
52072
|
{
|
|
50964
52073
|
"kind": "field",
|
|
50965
|
-
"name": "
|
|
50966
|
-
"
|
|
50967
|
-
"text": "string"
|
|
50968
|
-
},
|
|
50969
|
-
"attribute": "caption",
|
|
50970
|
-
"inheritedFrom": {
|
|
50971
|
-
"name": "ZnPanel",
|
|
50972
|
-
"module": "components/panel/panel.js"
|
|
50973
|
-
}
|
|
52074
|
+
"name": "handleValueUpdate",
|
|
52075
|
+
"privacy": "private"
|
|
50974
52076
|
},
|
|
50975
52077
|
{
|
|
50976
|
-
"kind": "
|
|
50977
|
-
"name": "
|
|
50978
|
-
"
|
|
50979
|
-
"text": "string"
|
|
50980
|
-
},
|
|
50981
|
-
"attribute": "icon",
|
|
50982
|
-
"inheritedFrom": {
|
|
50983
|
-
"name": "ZnPanel",
|
|
50984
|
-
"module": "components/panel/panel.js"
|
|
50985
|
-
}
|
|
52078
|
+
"kind": "method",
|
|
52079
|
+
"name": "updateValue",
|
|
52080
|
+
"privacy": "private"
|
|
50986
52081
|
},
|
|
50987
52082
|
{
|
|
50988
52083
|
"kind": "field",
|
|
50989
|
-
"name": "
|
|
50990
|
-
"
|
|
50991
|
-
"text": "boolean"
|
|
50992
|
-
},
|
|
50993
|
-
"attribute": "tabbed",
|
|
50994
|
-
"inheritedFrom": {
|
|
50995
|
-
"name": "ZnPanel",
|
|
50996
|
-
"module": "components/panel/panel.js"
|
|
50997
|
-
}
|
|
52084
|
+
"name": "handleKeyDown",
|
|
52085
|
+
"privacy": "private"
|
|
50998
52086
|
},
|
|
50999
52087
|
{
|
|
51000
52088
|
"kind": "field",
|
|
51001
|
-
"name": "
|
|
51002
|
-
"
|
|
51003
|
-
"text": "boolean"
|
|
51004
|
-
},
|
|
51005
|
-
"attribute": "header-borderless",
|
|
51006
|
-
"inheritedFrom": {
|
|
51007
|
-
"name": "ZnPanel",
|
|
51008
|
-
"module": "components/panel/panel.js"
|
|
51009
|
-
}
|
|
52089
|
+
"name": "handleSubmit",
|
|
52090
|
+
"privacy": "private"
|
|
51010
52091
|
},
|
|
51011
52092
|
{
|
|
51012
|
-
"kind": "
|
|
51013
|
-
"name": "
|
|
51014
|
-
"
|
|
51015
|
-
|
|
51016
|
-
|
|
51017
|
-
|
|
51018
|
-
|
|
51019
|
-
|
|
51020
|
-
|
|
51021
|
-
|
|
52093
|
+
"kind": "method",
|
|
52094
|
+
"name": "renderField",
|
|
52095
|
+
"privacy": "private",
|
|
52096
|
+
"parameters": [
|
|
52097
|
+
{
|
|
52098
|
+
"name": "value",
|
|
52099
|
+
"type": {
|
|
52100
|
+
"text": "string"
|
|
52101
|
+
}
|
|
52102
|
+
},
|
|
52103
|
+
{
|
|
52104
|
+
"name": "placeholder",
|
|
52105
|
+
"type": {
|
|
52106
|
+
"text": "string"
|
|
52107
|
+
}
|
|
52108
|
+
},
|
|
52109
|
+
{
|
|
52110
|
+
"name": "isRTL",
|
|
52111
|
+
"type": {
|
|
52112
|
+
"text": "boolean"
|
|
52113
|
+
}
|
|
52114
|
+
}
|
|
52115
|
+
],
|
|
52116
|
+
"description": "The control the active language's translation is edited through."
|
|
51022
52117
|
},
|
|
51023
52118
|
{
|
|
51024
|
-
"kind": "
|
|
51025
|
-
"name": "
|
|
51026
|
-
"
|
|
51027
|
-
|
|
52119
|
+
"kind": "method",
|
|
52120
|
+
"name": "isRTLLanguage",
|
|
52121
|
+
"privacy": "private",
|
|
52122
|
+
"return": {
|
|
52123
|
+
"type": {
|
|
52124
|
+
"text": "boolean"
|
|
52125
|
+
}
|
|
51028
52126
|
},
|
|
51029
|
-
"
|
|
51030
|
-
|
|
51031
|
-
|
|
51032
|
-
|
|
51033
|
-
|
|
51034
|
-
|
|
52127
|
+
"parameters": [
|
|
52128
|
+
{
|
|
52129
|
+
"name": "languageCode",
|
|
52130
|
+
"type": {
|
|
52131
|
+
"text": "string"
|
|
52132
|
+
}
|
|
52133
|
+
}
|
|
52134
|
+
],
|
|
52135
|
+
"description": "Arabic and Hebrew read right to left, so the field's `dir` follows the language being edited."
|
|
52136
|
+
}
|
|
52137
|
+
],
|
|
52138
|
+
"events": [
|
|
51035
52139
|
{
|
|
51036
|
-
"
|
|
51037
|
-
"name": "
|
|
51038
|
-
"type": {
|
|
51039
|
-
"text": "boolean"
|
|
51040
|
-
},
|
|
51041
|
-
"attribute": "flush-x",
|
|
51042
|
-
"inheritedFrom": {
|
|
51043
|
-
"name": "ZnPanel",
|
|
51044
|
-
"module": "components/panel/panel.js"
|
|
51045
|
-
}
|
|
52140
|
+
"description": "Emitted when a translation's value changes.",
|
|
52141
|
+
"name": "zn-change"
|
|
51046
52142
|
},
|
|
51047
52143
|
{
|
|
51048
|
-
"
|
|
51049
|
-
"name": "
|
|
51050
|
-
|
|
51051
|
-
|
|
51052
|
-
|
|
51053
|
-
"attribute": "flush-y",
|
|
51054
|
-
"inheritedFrom": {
|
|
51055
|
-
"name": "ZnPanel",
|
|
51056
|
-
"module": "components/panel/panel.js"
|
|
51057
|
-
}
|
|
51058
|
-
},
|
|
52144
|
+
"description": "Emitted when a translation receives input.",
|
|
52145
|
+
"name": "zn-input"
|
|
52146
|
+
}
|
|
52147
|
+
],
|
|
52148
|
+
"attributes": [
|
|
51059
52149
|
{
|
|
51060
|
-
"
|
|
51061
|
-
"name": "flushFooter",
|
|
52150
|
+
"name": "name",
|
|
51062
52151
|
"type": {
|
|
51063
|
-
"text": "
|
|
52152
|
+
"text": "string"
|
|
51064
52153
|
},
|
|
51065
|
-
"
|
|
51066
|
-
"
|
|
51067
|
-
|
|
51068
|
-
"module": "components/panel/panel.js"
|
|
51069
|
-
}
|
|
52154
|
+
"default": "''",
|
|
52155
|
+
"description": "The name submitted with the form.",
|
|
52156
|
+
"fieldName": "name"
|
|
51070
52157
|
},
|
|
51071
52158
|
{
|
|
51072
|
-
"
|
|
51073
|
-
"name": "transparent",
|
|
52159
|
+
"name": "value",
|
|
51074
52160
|
"type": {
|
|
51075
|
-
"text": "
|
|
52161
|
+
"text": "string"
|
|
51076
52162
|
},
|
|
51077
|
-
"
|
|
51078
|
-
"
|
|
51079
|
-
|
|
51080
|
-
"module": "components/panel/panel.js"
|
|
51081
|
-
}
|
|
52163
|
+
"default": "'{\"en\":\"\"}'",
|
|
52164
|
+
"description": "The translations as a JSON object keyed by language code. The mirror of `values` in attribute form.",
|
|
52165
|
+
"fieldName": "value"
|
|
51082
52166
|
},
|
|
51083
|
-
{
|
|
51084
|
-
"kind": "field",
|
|
51085
|
-
"name": "shadow",
|
|
51086
|
-
"type": {
|
|
51087
|
-
"text": "boolean"
|
|
51088
|
-
},
|
|
51089
|
-
"attribute": "shadow",
|
|
51090
|
-
"inheritedFrom": {
|
|
51091
|
-
"name": "ZnPanel",
|
|
51092
|
-
"module": "components/panel/panel.js"
|
|
51093
|
-
}
|
|
51094
|
-
}
|
|
51095
|
-
],
|
|
51096
|
-
"events": [
|
|
51097
|
-
{
|
|
51098
|
-
"description": "Emitted when the active language changes. Detail: `{ language: string }`.",
|
|
51099
|
-
"name": "zn-language-change"
|
|
51100
|
-
}
|
|
51101
|
-
],
|
|
51102
|
-
"attributes": [
|
|
51103
52167
|
{
|
|
51104
52168
|
"name": "label",
|
|
51105
52169
|
"type": {
|
|
51106
52170
|
"text": "string"
|
|
51107
52171
|
},
|
|
51108
52172
|
"default": "''",
|
|
51109
|
-
"description": "The
|
|
52173
|
+
"description": "The label shown above the field. If you need HTML, use the `label` slot instead.",
|
|
51110
52174
|
"fieldName": "label"
|
|
51111
52175
|
},
|
|
51112
52176
|
{
|
|
@@ -51115,196 +52179,163 @@
|
|
|
51115
52179
|
"text": "string"
|
|
51116
52180
|
},
|
|
51117
52181
|
"default": "''",
|
|
51118
|
-
"description": "
|
|
52182
|
+
"description": "Text shown below the field, describing how to fill it in. Applies to every language. If you need HTML, use the\n`help-text` slot instead.",
|
|
51119
52183
|
"fieldName": "helpText"
|
|
51120
52184
|
},
|
|
51121
52185
|
{
|
|
51122
|
-
"name": "
|
|
52186
|
+
"name": "disabled",
|
|
51123
52187
|
"type": {
|
|
51124
52188
|
"text": "boolean"
|
|
51125
52189
|
},
|
|
51126
52190
|
"default": "false",
|
|
51127
|
-
"description": "
|
|
51128
|
-
"fieldName": "
|
|
52191
|
+
"description": "Disables editing in every language.",
|
|
52192
|
+
"fieldName": "disabled"
|
|
51129
52193
|
},
|
|
51130
52194
|
{
|
|
51131
|
-
"name": "
|
|
52195
|
+
"name": "required",
|
|
51132
52196
|
"type": {
|
|
51133
|
-
"text": "
|
|
52197
|
+
"text": "boolean"
|
|
51134
52198
|
},
|
|
51135
|
-
"default": "
|
|
51136
|
-
"description": "
|
|
51137
|
-
"fieldName": "
|
|
52199
|
+
"default": "false",
|
|
52200
|
+
"description": "Marks the label required. Validity is not enforced per language.",
|
|
52201
|
+
"fieldName": "required"
|
|
51138
52202
|
},
|
|
51139
52203
|
{
|
|
51140
|
-
"name": "
|
|
52204
|
+
"name": "flush",
|
|
51141
52205
|
"type": {
|
|
51142
|
-
"text": "
|
|
52206
|
+
"text": "boolean"
|
|
51143
52207
|
},
|
|
51144
|
-
"default": "
|
|
51145
|
-
"description": "
|
|
51146
|
-
"fieldName": "
|
|
52208
|
+
"default": "false",
|
|
52209
|
+
"description": "Removes the component's own padding.",
|
|
52210
|
+
"fieldName": "flush"
|
|
51147
52211
|
},
|
|
51148
52212
|
{
|
|
51149
|
-
"name": "
|
|
52213
|
+
"name": "input-type",
|
|
51150
52214
|
"type": {
|
|
51151
|
-
"text": "number"
|
|
52215
|
+
"text": "'text' | 'number' | 'textarea'"
|
|
51152
52216
|
},
|
|
51153
|
-
"
|
|
51154
|
-
"
|
|
51155
|
-
|
|
51156
|
-
"module": "src/components/panel/panel.component.ts"
|
|
51157
|
-
}
|
|
52217
|
+
"default": "'text'",
|
|
52218
|
+
"description": "The control each translation is edited through.",
|
|
52219
|
+
"fieldName": "inputType"
|
|
51158
52220
|
},
|
|
51159
52221
|
{
|
|
51160
|
-
"name": "
|
|
52222
|
+
"name": "textarea-rows",
|
|
51161
52223
|
"type": {
|
|
51162
|
-
"text": "
|
|
52224
|
+
"text": "number | undefined"
|
|
51163
52225
|
},
|
|
51164
|
-
"
|
|
51165
|
-
"
|
|
51166
|
-
"name": "ZnPanel",
|
|
51167
|
-
"module": "src/components/panel/panel.component.ts"
|
|
51168
|
-
}
|
|
52226
|
+
"description": "Rows of the textarea, when `input-type` is `textarea`.",
|
|
52227
|
+
"fieldName": "textareaRows"
|
|
51169
52228
|
},
|
|
51170
52229
|
{
|
|
51171
|
-
"name": "
|
|
52230
|
+
"name": "inline-edit",
|
|
51172
52231
|
"type": {
|
|
51173
|
-
"text": "
|
|
52232
|
+
"text": "boolean"
|
|
51174
52233
|
},
|
|
51175
|
-
"
|
|
51176
|
-
"
|
|
51177
|
-
|
|
51178
|
-
"module": "src/components/panel/panel.component.ts"
|
|
51179
|
-
}
|
|
52234
|
+
"default": "false",
|
|
52235
|
+
"description": "Edits the translation through a `zn-inline-edit` — the value reads as text until it is clicked — rather than a\nplain input or textarea.",
|
|
52236
|
+
"fieldName": "inlineEdit"
|
|
51180
52237
|
},
|
|
51181
52238
|
{
|
|
51182
|
-
"name": "
|
|
52239
|
+
"name": "slash-items",
|
|
51183
52240
|
"type": {
|
|
51184
|
-
"text": "
|
|
52241
|
+
"text": "SlashMenuItem[]"
|
|
51185
52242
|
},
|
|
51186
|
-
"
|
|
51187
|
-
"
|
|
51188
|
-
|
|
51189
|
-
"module": "src/components/panel/panel.component.ts"
|
|
51190
|
-
}
|
|
52243
|
+
"default": "[]",
|
|
52244
|
+
"description": "Quick insertions offered by the slash menu on `text` and `textarea` inputs. Accepts a JSON array of items, or\nthe shorthand `Brand name={{BRAND_NAME}}, Support email={{SUPPORT_EMAIL}}`. Every language shares the list.",
|
|
52245
|
+
"fieldName": "slashItems"
|
|
51191
52246
|
},
|
|
51192
52247
|
{
|
|
51193
|
-
"name": "
|
|
52248
|
+
"name": "slash-preset",
|
|
51194
52249
|
"type": {
|
|
51195
|
-
"text": "
|
|
52250
|
+
"text": "string"
|
|
51196
52251
|
},
|
|
51197
|
-
"
|
|
51198
|
-
"
|
|
51199
|
-
|
|
51200
|
-
"module": "src/components/panel/panel.component.ts"
|
|
51201
|
-
}
|
|
52252
|
+
"default": "''",
|
|
52253
|
+
"description": "Names of item sets registered with `registerSlashMenuPreset`, comma separated.",
|
|
52254
|
+
"fieldName": "slashPreset"
|
|
51202
52255
|
},
|
|
51203
52256
|
{
|
|
51204
|
-
"name": "
|
|
52257
|
+
"name": "slash-trigger",
|
|
51205
52258
|
"type": {
|
|
51206
|
-
"text": "
|
|
52259
|
+
"text": "string"
|
|
51207
52260
|
},
|
|
51208
|
-
"
|
|
51209
|
-
"
|
|
51210
|
-
|
|
51211
|
-
"module": "src/components/panel/panel.component.ts"
|
|
51212
|
-
}
|
|
52261
|
+
"default": "'/'",
|
|
52262
|
+
"description": "The characters that open the slash menu.",
|
|
52263
|
+
"fieldName": "slashTrigger"
|
|
51213
52264
|
},
|
|
51214
52265
|
{
|
|
51215
|
-
"name": "
|
|
52266
|
+
"name": "slash-heading",
|
|
51216
52267
|
"type": {
|
|
51217
|
-
"text": "
|
|
52268
|
+
"text": "string"
|
|
51218
52269
|
},
|
|
51219
|
-
"
|
|
51220
|
-
"
|
|
51221
|
-
|
|
51222
|
-
"module": "src/components/panel/panel.component.ts"
|
|
51223
|
-
}
|
|
52270
|
+
"default": "'Insert'",
|
|
52271
|
+
"description": "The name the slash menu's list is announced by.",
|
|
52272
|
+
"fieldName": "slashHeading"
|
|
51224
52273
|
},
|
|
51225
52274
|
{
|
|
51226
|
-
"name": "
|
|
52275
|
+
"name": "slash-hide-keys",
|
|
51227
52276
|
"type": {
|
|
51228
52277
|
"text": "boolean"
|
|
51229
52278
|
},
|
|
51230
|
-
"
|
|
51231
|
-
"
|
|
51232
|
-
|
|
51233
|
-
"module": "src/components/panel/panel.component.ts"
|
|
51234
|
-
}
|
|
52279
|
+
"default": "false",
|
|
52280
|
+
"description": "Hides the insertion keys normally shown against the slash menu's items.",
|
|
52281
|
+
"fieldName": "slashHideKeys"
|
|
51235
52282
|
},
|
|
51236
52283
|
{
|
|
51237
|
-
"name": "
|
|
52284
|
+
"name": "slash-recent-key",
|
|
51238
52285
|
"type": {
|
|
51239
|
-
"text": "
|
|
52286
|
+
"text": "string"
|
|
51240
52287
|
},
|
|
51241
|
-
"
|
|
51242
|
-
"
|
|
51243
|
-
|
|
51244
|
-
"module": "src/components/panel/panel.component.ts"
|
|
51245
|
-
}
|
|
52288
|
+
"default": "''",
|
|
52289
|
+
"description": "Lists the slash menu items most recently chosen here above the rest, remembered under this key.",
|
|
52290
|
+
"fieldName": "slashRecentKey"
|
|
51246
52291
|
},
|
|
51247
52292
|
{
|
|
51248
|
-
"name": "
|
|
52293
|
+
"name": "grouped",
|
|
51249
52294
|
"type": {
|
|
51250
52295
|
"text": "boolean"
|
|
51251
52296
|
},
|
|
51252
|
-
"
|
|
51253
|
-
"
|
|
51254
|
-
|
|
51255
|
-
"module": "src/components/panel/panel.component.ts"
|
|
51256
|
-
}
|
|
52297
|
+
"default": "false",
|
|
52298
|
+
"description": "Hides this component's own language select and defers the choice to a parent zn-translation-group. The group sets\nthis on its children itself.",
|
|
52299
|
+
"fieldName": "grouped"
|
|
51257
52300
|
},
|
|
51258
52301
|
{
|
|
51259
|
-
"name": "
|
|
52302
|
+
"name": "languages",
|
|
51260
52303
|
"type": {
|
|
51261
|
-
"text": "
|
|
52304
|
+
"text": "Record<string, string>"
|
|
51262
52305
|
},
|
|
51263
|
-
"
|
|
51264
|
-
"
|
|
51265
|
-
|
|
51266
|
-
"module": "src/components/panel/panel.component.ts"
|
|
51267
|
-
}
|
|
52306
|
+
"default": "{ 'en': 'EN' }",
|
|
52307
|
+
"description": "The languages on offer, as language code to display name — `{\"en\": \"English\", \"fr\": \"French\"}`. Writing the code\nas the name (`{\"en\": \"EN\"}`) is also accepted. `en` is the language every other one falls back to.",
|
|
52308
|
+
"fieldName": "languages"
|
|
51268
52309
|
},
|
|
51269
52310
|
{
|
|
51270
|
-
"name": "
|
|
52311
|
+
"name": "values",
|
|
51271
52312
|
"type": {
|
|
51272
|
-
"text": "
|
|
52313
|
+
"text": "Record<string, string>"
|
|
51273
52314
|
},
|
|
51274
|
-
"
|
|
51275
|
-
"
|
|
51276
|
-
|
|
51277
|
-
"module": "src/components/panel/panel.component.ts"
|
|
51278
|
-
}
|
|
52315
|
+
"default": "{}",
|
|
52316
|
+
"description": "The translations as an object keyed by language code. The mirror of `value` in property form.",
|
|
52317
|
+
"fieldName": "values"
|
|
51279
52318
|
}
|
|
51280
52319
|
],
|
|
51281
52320
|
"superclass": {
|
|
51282
|
-
"name": "
|
|
51283
|
-
"module": "/src/
|
|
52321
|
+
"name": "ZincElement",
|
|
52322
|
+
"module": "/src/internal/zinc-element"
|
|
51284
52323
|
},
|
|
51285
|
-
"summary": "
|
|
51286
|
-
"tagNameWithoutPrefix": "
|
|
51287
|
-
"tagName": "zn-
|
|
52324
|
+
"summary": "Collects one piece of text in several languages, one language at a time.",
|
|
52325
|
+
"tagNameWithoutPrefix": "translations",
|
|
52326
|
+
"tagName": "zn-translations",
|
|
51288
52327
|
"customElement": true,
|
|
51289
|
-
"jsDoc": "/**\n * @summary
|
|
51290
|
-
"documentation": "https://zinc.style/components/
|
|
52328
|
+
"jsDoc": "/**\n * @summary Collects one piece of text in several languages, one language at a time.\n * @documentation https://zinc.style/components/translations\n * @status experimental\n * @since 1.0\n *\n * A select above the field chooses the language being edited. Closed, it carries how many languages are translated —\n * `1/5`; open, every language it offers carries a chip saying whether it has a translation of its own or falls back\n * to English. Blank languages fall back to English at render\n * time, so a blank field shows the English text as its placeholder rather than looking empty.\n *\n * The value submitted is a JSON object keyed by language code. A language stays out of it until it is typed into, so\n * browsing the languages does not pad the payload with empty translations.\n *\n * Put several of these in a `zn-translation-group` to have one select drive all of them.\n *\n * @dependency zn-chip\n * @dependency zn-inline-edit\n * @dependency zn-input\n * @dependency zn-option\n * @dependency zn-select\n * @dependency zn-textarea\n *\n * @slot label - The field's label. Alternatively, use the `label` attribute.\n * @slot help-text - Text describing how to fill the field in, shown below it and shared by every language.\n * Alternatively, use the `help-text` attribute.\n *\n * @event zn-change - Emitted when a translation's value changes.\n * @event zn-input - Emitted when a translation receives input.\n *\n * @csspart form-control - The form control that wraps the label, the language select, the field and the help text.\n * @csspart form-control-label - The label's wrapper.\n * @csspart form-control-input - The wrapper around the field being edited.\n * @csspart form-control-help-text - The help text's wrapper.\n * @csspart language-select - The select that chooses the language being edited.\n */",
|
|
52329
|
+
"documentation": "https://zinc.style/components/translations",
|
|
51291
52330
|
"status": "experimental",
|
|
51292
52331
|
"since": "1.0",
|
|
51293
52332
|
"dependencies": [
|
|
51294
52333
|
"zn-chip",
|
|
51295
|
-
"zn-
|
|
52334
|
+
"zn-inline-edit",
|
|
52335
|
+
"zn-input",
|
|
51296
52336
|
"zn-option",
|
|
51297
|
-
"zn-select"
|
|
51298
|
-
|
|
51299
|
-
"cssProperties": [
|
|
51300
|
-
{
|
|
51301
|
-
"description": "The flex-basis of the panel. Can be set using the basis-px attribute.",
|
|
51302
|
-
"name": "--zn-panel-basis",
|
|
51303
|
-
"inheritedFrom": {
|
|
51304
|
-
"name": "ZnPanel",
|
|
51305
|
-
"module": "src/components/panel/panel.component.ts"
|
|
51306
|
-
}
|
|
51307
|
-
}
|
|
52337
|
+
"zn-select",
|
|
52338
|
+
"zn-textarea"
|
|
51308
52339
|
]
|
|
51309
52340
|
}
|
|
51310
52341
|
],
|
|
@@ -51313,8 +52344,8 @@
|
|
|
51313
52344
|
"kind": "js",
|
|
51314
52345
|
"name": "default",
|
|
51315
52346
|
"declaration": {
|
|
51316
|
-
"name": "
|
|
51317
|
-
"module": "components/
|
|
52347
|
+
"name": "ZnTranslations",
|
|
52348
|
+
"module": "components/translations/translations.js"
|
|
51318
52349
|
}
|
|
51319
52350
|
}
|
|
51320
52351
|
]
|
|
@@ -51615,7 +52646,7 @@
|
|
|
51615
52646
|
"package": {
|
|
51616
52647
|
"name": "@kubex/zinc",
|
|
51617
52648
|
"description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
|
|
51618
|
-
"version": "1.1.
|
|
52649
|
+
"version": "1.1.122",
|
|
51619
52650
|
"author": "",
|
|
51620
52651
|
"license": "MIT"
|
|
51621
52652
|
}
|