@cscfi/csc-ui 4.0.0-alpha.12 → 4.0.0-alpha.14
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/csc-ui.js +7754 -6741
- package/dist/custom-elements.json +672 -7
- package/dist/docs/c-autocomplete/usage.md +38 -6
- package/dist/docs/c-select/usage.md +36 -3
- package/dist/docs/c-tree-select/usage.md +133 -0
- package/dist/styles/css/tokens.css +2 -1
- package/dist/vscode.css-custom-data.json +61 -0
- package/dist/vscode.html-custom-data.json +100 -4
- package/dist/web-types.json +367 -7
- package/dist-types/components/c-autocomplete/CAutocomplete.vue.d.ts +14 -0
- package/dist-types/components/c-dropdown/CDropdown.vue.d.ts +22 -5
- package/dist-types/components/c-select/CSelect.vue.d.ts +13 -0
- package/dist-types/components/c-tree-select/CTreeSelect.vue.d.ts +247 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/shared/selectAll.d.ts +29 -0
- package/dist-types/shared/useAnchoredPanel.d.ts +72 -0
- package/dist-types/shared/useStatusAnnouncer.d.ts +33 -0
- package/dist-types/tag-name-map.d.ts +136 -6
- package/package.json +1 -1
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@cscfi/csc-ui",
|
|
4
|
-
"version": "4.0.0-alpha.
|
|
4
|
+
"version": "4.0.0-alpha.14",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
},
|
|
253
253
|
{
|
|
254
254
|
"name": "c-autocomplete",
|
|
255
|
-
"description": "A filterable value-selection component: a readonly value field that opens a popover panel with a search input above the matching options.\n---\n\n\n### **Events:**\n - **change** - Native change event (no detail) dispatched whenever a selection is\ncommitted or cleared; bubbles through the shadow boundary for\nform-style listeners.\n- **change:query** - Fired whenever the query changes — on every keystroke in the search\ninput, and with an empty string when the panel opens. Carries the query\nstring. With `external`, drive your data source from this (debounce on\nyour side) and feed the results back via `items`.\n- **changeValue** - Fired when the selected value changes (an option is committed or the\nselection is cleared), carrying the new value — the option's value, or\nthe whole `{ name, value }` item when `return-object` is set; `null`\nwhen cleared. In `multiple` mode the whole array of picked values, in\npick order (`[]` when cleared). Also dispatched as `change-value` — bind that name in Vue templates.\n- **input** - Native bubbling input event dispatched alongside every value change so a\nplain `v-model` stays in sync. Carries no detail.\n- **update:value** - Fired alongside `changeValue` with the same detail — the `v-model`\ncontract.\n\n### **Methods:**\n - **reset()** - Reset autocomplete state\n\n### **Slots:**\n - **pre** - Content placed before the value field inside the input row\n- **default** - The c-option elements used as the data source (never rendered in place)\n- **post** - Content placed after the value field inside the input row\n\n### **CSS Parts:**\n - **panel** - The top-layer popover container anchored below the field\n- **card** - The elevated surface inside the panel holding the search row and the list\n- **search** - The search-input row at the top of the panel\n- **list** - The scrollable options listbox\n- **item** - One option row in the list\n- **indicator** - The decorative checkbox box on an option row in `multiple` mode; border, fill and glyph draw with `currentColor`, so `color` recolours them together (the c-checkbox recipe)\n- **mark** - The check glyph inside a row indicator; draws with `currentColor`\n- **match** - A run of an option's label equal to the query, in the row; underlined in the primary colour, text inherits the row\n- **info** - The info row: loading while `loading` with an empty list, otherwise no-results when the query matches no options\n- **tags** - The row of selected-value tags inside the field (`multiple` mode)\n- **tag** - One selected-value tag: the `c-tag` host, including the overflow tag\n- **tag-root** - The pill box inside each tag (the `c-tag` `root` part), for colours and borders",
|
|
255
|
+
"description": "A filterable value-selection component: a readonly value field that opens a popover panel with a search input above the matching options.\n---\n\n\n### **Events:**\n - **change** - Native change event (no detail) dispatched whenever a selection is\ncommitted or cleared; bubbles through the shadow boundary for\nform-style listeners.\n- **change:query** - Fired whenever the query changes — on every keystroke in the search\ninput, and with an empty string when the panel opens. Carries the query\nstring. With `external`, drive your data source from this (debounce on\nyour side) and feed the results back via `items`.\n- **changeValue** - Fired when the selected value changes (an option is committed or the\nselection is cleared), carrying the new value — the option's value, or\nthe whole `{ name, value }` item when `return-object` is set; `null`\nwhen cleared. In `multiple` mode the whole array of picked values, in\npick order (`[]` when cleared). Also dispatched as `change-value` — bind that name in Vue templates.\n- **input** - Native bubbling input event dispatched alongside every value change so a\nplain `v-model` stays in sync. Carries no detail.\n- **update:value** - Fired alongside `changeValue` with the same detail — the `v-model`\ncontract.\n\n### **Methods:**\n - **reset()** - Reset autocomplete state\n\n### **Slots:**\n - **pre** - Content placed before the value field inside the input row\n- **default** - The c-option elements used as the data source (never rendered in place)\n- **post** - Content placed after the value field inside the input row\n\n### **CSS Parts:**\n - **panel** - The top-layer popover container anchored below the field\n- **card** - The elevated surface inside the panel holding the search row and the list\n- **search** - The search-input row at the top of the panel\n- **list** - The scrollable options listbox\n- **item** - One option row in the list\n- **select-all** - The pinned select-all row at the top of the list (`multiple` mode with `select-all`); carries the same indicator / mark parts as an option row\n- **indicator** - The decorative checkbox box on an option row in `multiple` mode; border, fill and glyph draw with `currentColor`, so `color` recolours them together (the c-checkbox recipe)\n- **mark** - The check glyph inside a row indicator; draws with `currentColor`\n- **match** - A run of an option's label equal to the query, in the row; underlined in the primary colour, text inherits the row\n- **info** - The info row: loading while `loading` with an empty list, otherwise no-results when the query matches no options\n- **tags** - The row of selected-value tags inside the field (`multiple` mode)\n- **tag** - One selected-value tag: the `c-tag` host, including the overflow tag\n- **tag-root** - The pill box inside each tag (the `c-tag` `root` part), for colours and borders",
|
|
256
256
|
"doc-url": "",
|
|
257
257
|
"attributes": [
|
|
258
258
|
{
|
|
@@ -340,6 +340,11 @@
|
|
|
340
340
|
"description": "Return object instead of value",
|
|
341
341
|
"value": { "type": "boolean", "default": "false" }
|
|
342
342
|
},
|
|
343
|
+
{
|
|
344
|
+
"name": "select-all",
|
|
345
|
+
"description": "In `multiple` mode, pin a select-all row at the top of the list. Its\ncheckbox shows whether none, some or all enabled options currently listed\n— the matches while a query is typed, the given `items` with `external` —\nare selected; activating it selects them all, or, when all are selected,\nunselects them. Ignored in single mode",
|
|
346
|
+
"value": { "type": "boolean", "default": "false" }
|
|
347
|
+
},
|
|
343
348
|
{
|
|
344
349
|
"name": "shadow",
|
|
345
350
|
"description": "Shadow variant",
|
|
@@ -494,6 +499,11 @@
|
|
|
494
499
|
"description": "Return object instead of value",
|
|
495
500
|
"type": "boolean"
|
|
496
501
|
},
|
|
502
|
+
{
|
|
503
|
+
"name": "selectAll",
|
|
504
|
+
"description": "In `multiple` mode, pin a select-all row at the top of the list. Its\ncheckbox shows whether none, some or all enabled options currently listed\n— the matches while a query is typed, the given `items` with `external` —\nare selected; activating it selects them all, or, when all are selected,\nunselects them. Ignored in single mode",
|
|
505
|
+
"type": "boolean"
|
|
506
|
+
},
|
|
497
507
|
{
|
|
498
508
|
"name": "shadow",
|
|
499
509
|
"description": "Shadow variant",
|
|
@@ -1459,7 +1469,7 @@
|
|
|
1459
1469
|
},
|
|
1460
1470
|
{
|
|
1461
1471
|
"name": "c-dropdown",
|
|
1462
|
-
"description": "\n---\n\n\n### **Events:**\n - **dropdownStateChange** - Fired when the dropdown menu opens or closes; the detail is the new open\nstate. Also dispatched as `dropdown-state-change` — bind that name in Vue templates.\n- **selectOption** - Fired when the user selects an option row, carrying the option's name\nand value for the parent (c-select) to commit. Also dispatched as `select-option` — bind that name in Vue templates.\n\n### **Methods:**\n - **close()** - Close dropdown\n- **open()** - Open dropdown\n- **selectItem()** - Select item\n- **updateList()** - Update list items\n\n### **Slots:**\n - **default** - The anchor c-input of the parent select / autocomplete, rendered inline while the menu is closed\n- **input-top** - Target the c-input is moved into when the menu opens below the field\n- **input-bottom** - Target the c-input is moved into when the menu opens above the field\n\n### **CSS Parts:**\n - **menu** - The positioned dialog surface holding the field and the list\n- **list** - The scrolling listbox\n- **item** - One option row\n- **indicator** - The decorative checkbox box on an option row in `multiple` mode; border, fill and glyph draw with `currentColor`, so `color` recolours them together\n- **mark** - The check glyph inside a row indicator; draws with `currentColor`",
|
|
1472
|
+
"description": "\n---\n\n\n### **Events:**\n - **dropdownStateChange** - Fired when the dropdown menu opens or closes; the detail is the new open\nstate. Also dispatched as `dropdown-state-change` — bind that name in Vue templates.\n- **selectOption** - Fired when the user selects an option row, carrying the option's name\nand value for the parent (c-select) to commit. Also dispatched as `select-option` — bind that name in Vue templates.\n- **selectall** - Fired when the select-all row is activated; the parent (c-select) toggles\nevery listed enabled option.\n\n### **Methods:**\n - **close()** - Close dropdown\n- **open()** - Open dropdown\n- **selectItem()** - Select item\n- **updateList()** - Update list items\n\n### **Slots:**\n - **default** - The anchor c-input of the parent select / autocomplete, rendered inline while the menu is closed\n- **input-top** - Target the c-input is moved into when the menu opens below the field\n- **input-bottom** - Target the c-input is moved into when the menu opens above the field\n\n### **CSS Parts:**\n - **menu** - The positioned dialog surface holding the field and the list\n- **list** - The scrolling listbox\n- **item** - One option row\n- **select-all** - The pinned select-all row at the top of the list in `multiple` mode; carries the same indicator / mark parts as an option row\n- **indicator** - The decorative checkbox box on an option row in `multiple` mode; border, fill and glyph draw with `currentColor`, so `color` recolours them together\n- **mark** - The check glyph inside a row indicator; draws with `currentColor`",
|
|
1463
1473
|
"doc-url": "",
|
|
1464
1474
|
"attributes": [
|
|
1465
1475
|
{
|
|
@@ -1474,7 +1484,7 @@
|
|
|
1474
1484
|
},
|
|
1475
1485
|
{
|
|
1476
1486
|
"name": "index",
|
|
1477
|
-
"description": "Current highlighted index",
|
|
1487
|
+
"description": "Current highlighted index; `-1` (`SELECT_ALL_INDEX`) is the select-all row",
|
|
1478
1488
|
"value": { "type": "null | number", "default": "null" }
|
|
1479
1489
|
},
|
|
1480
1490
|
{
|
|
@@ -1500,6 +1510,14 @@
|
|
|
1500
1510
|
"description": "Dropdown parent (the c-select / c-autocomplete host element)",
|
|
1501
1511
|
"value": { "type": "HTMLElement | null", "default": "null" }
|
|
1502
1512
|
},
|
|
1513
|
+
{
|
|
1514
|
+
"name": "select-all-row",
|
|
1515
|
+
"description": "The select-all row in `multiple` mode, as the parent computes it (label,\ntri-state, counts for the live region); `null` renders no row",
|
|
1516
|
+
"value": {
|
|
1517
|
+
"type": "CDropdownSelectAllRow | null",
|
|
1518
|
+
"default": "null"
|
|
1519
|
+
}
|
|
1520
|
+
},
|
|
1503
1521
|
{
|
|
1504
1522
|
"name": "type",
|
|
1505
1523
|
"description": "Parent type — drives autocomplete-only behaviour (highlight, messages)",
|
|
@@ -1533,6 +1551,11 @@
|
|
|
1533
1551
|
"name": "selectOption",
|
|
1534
1552
|
"type": "CustomEvent<{ name: string; value: number | string }>",
|
|
1535
1553
|
"description": "Fired when the user selects an option row, carrying the option's name\nand value for the parent (c-select) to commit. Also dispatched as `select-option` — bind that name in Vue templates."
|
|
1554
|
+
},
|
|
1555
|
+
{
|
|
1556
|
+
"name": "selectall",
|
|
1557
|
+
"type": "CustomEvent<void>",
|
|
1558
|
+
"description": "Fired when the select-all row is activated; the parent (c-select) toggles\nevery listed enabled option."
|
|
1536
1559
|
}
|
|
1537
1560
|
],
|
|
1538
1561
|
"js": {
|
|
@@ -1549,7 +1572,7 @@
|
|
|
1549
1572
|
},
|
|
1550
1573
|
{
|
|
1551
1574
|
"name": "index",
|
|
1552
|
-
"description": "Current highlighted index",
|
|
1575
|
+
"description": "Current highlighted index; `-1` (`SELECT_ALL_INDEX`) is the select-all row",
|
|
1553
1576
|
"type": "null | number"
|
|
1554
1577
|
},
|
|
1555
1578
|
{
|
|
@@ -1572,9 +1595,14 @@
|
|
|
1572
1595
|
"description": "Dropdown parent (the c-select / c-autocomplete host element)",
|
|
1573
1596
|
"type": "HTMLElement | null"
|
|
1574
1597
|
},
|
|
1598
|
+
{
|
|
1599
|
+
"name": "selectAllRow",
|
|
1600
|
+
"description": "The select-all row in `multiple` mode, as the parent computes it (label,\ntri-state, counts for the live region); `null` renders no row",
|
|
1601
|
+
"type": "CDropdownSelectAllRow | null"
|
|
1602
|
+
},
|
|
1575
1603
|
{
|
|
1576
1604
|
"name": "selected",
|
|
1577
|
-
"description": "Values of the currently selected items in `multiple
|
|
1605
|
+
"description": "Values of the currently selected items — the picked values in `multiple`\nmode, the single value otherwise; drives each row's `aria-selected`, its\nindicator and the single-mode selected-row check",
|
|
1578
1606
|
"type": "(number | string)[]"
|
|
1579
1607
|
},
|
|
1580
1608
|
{
|
|
@@ -1593,6 +1621,11 @@
|
|
|
1593
1621
|
"name": "selectOption",
|
|
1594
1622
|
"type": "CustomEvent<{ name: string; value: number | string }>",
|
|
1595
1623
|
"description": "Fired when the user selects an option row, carrying the option's name\nand value for the parent (c-select) to commit. Also dispatched as `select-option` — bind that name in Vue templates."
|
|
1624
|
+
},
|
|
1625
|
+
{
|
|
1626
|
+
"name": "selectall",
|
|
1627
|
+
"type": "CustomEvent<void>",
|
|
1628
|
+
"description": "Fired when the select-all row is activated; the parent (c-select) toggles\nevery listed enabled option."
|
|
1596
1629
|
}
|
|
1597
1630
|
]
|
|
1598
1631
|
}
|
|
@@ -3517,7 +3550,7 @@
|
|
|
3517
3550
|
},
|
|
3518
3551
|
{
|
|
3519
3552
|
"name": "c-select",
|
|
3520
|
-
"description": "A value-selection field: a readonly field that opens a listbox of options — slotted `c-option` elements or an `items` array — and holds the picked value, emitting the value events that back `v-model`.\n---\n\n\n### **Events:**\n - **changeValue** - Fired when the selection changes (an option is picked or the value is\ncleared), carrying the new value — the option's value, or the whole\n`{ name, value }` item when `return-object` is set; `null` when cleared.\nIn `multiple` mode the whole array of picked values, in pick order\n(`[]` when cleared). Also dispatched as `change-value` — bind that name in Vue templates.\n- **input** - Native bubbling input event dispatched alongside every value change so a\nplain `v-model` stays in sync. Carries no detail.\n- **update:value** - Fired alongside `changeValue` with the same detail — the `v-model`\ncontract.\n\n### **Methods:**\n - **reset()** - Reset select state\n\n### **Slots:**\n - **default** - Use c-option elements only\n- **pre** - Leading content forwarded to the inner c-input, rendered before the select's value\n- **post** - Trailing content forwarded to the inner c-input, rendered after the select's controls\n\n### **CSS Parts:**\n - **menu** - The dropdown surface (the positioned dialog) holding the field and the list\n- **list** - The scrolling listbox of options\n- **item** - One option row in the list. Any `part` attribute set on content inside a slotted `<c-option>` is exported too, so `c-select::part(<name>)` reaches the consumer's own option markup\n- **indicator** - The decorative checkbox box on an option row in `multiple` mode; border, fill and glyph draw with `currentColor`, so `color` recolours them together (the c-checkbox recipe)\n- **mark** - The check glyph inside a row indicator; draws with `currentColor`\n- **tags** - The row of selected-value tags inside the field (`multiple` mode)\n- **tag** - One selected-value tag: the `c-tag` host, including the overflow tag\n- **tag-root** - The pill box inside each tag (the `c-tag` `root` part), for colours and borders",
|
|
3553
|
+
"description": "A value-selection field: a readonly field that opens a listbox of options — slotted `c-option` elements or an `items` array — and holds the picked value, emitting the value events that back `v-model`.\n---\n\n\n### **Events:**\n - **changeValue** - Fired when the selection changes (an option is picked or the value is\ncleared), carrying the new value — the option's value, or the whole\n`{ name, value }` item when `return-object` is set; `null` when cleared.\nIn `multiple` mode the whole array of picked values, in pick order\n(`[]` when cleared). Also dispatched as `change-value` — bind that name in Vue templates.\n- **input** - Native bubbling input event dispatched alongside every value change so a\nplain `v-model` stays in sync. Carries no detail.\n- **update:value** - Fired alongside `changeValue` with the same detail — the `v-model`\ncontract.\n\n### **Methods:**\n - **reset()** - Reset select state\n\n### **Slots:**\n - **default** - Use c-option elements only\n- **pre** - Leading content forwarded to the inner c-input, rendered before the select's value\n- **post** - Trailing content forwarded to the inner c-input, rendered after the select's controls\n\n### **CSS Parts:**\n - **menu** - The dropdown surface (the positioned dialog) holding the field and the list\n- **list** - The scrolling listbox of options\n- **item** - One option row in the list. Any `part` attribute set on content inside a slotted `<c-option>` is exported too, so `c-select::part(<name>)` reaches the consumer's own option markup\n- **select-all** - The pinned select-all row at the top of the list (`multiple` mode with `select-all`); carries the same indicator / mark parts as an option row\n- **indicator** - The decorative checkbox box on an option row in `multiple` mode; border, fill and glyph draw with `currentColor`, so `color` recolours them together (the c-checkbox recipe)\n- **mark** - The check glyph inside a row indicator; draws with `currentColor`\n- **tags** - The row of selected-value tags inside the field (`multiple` mode)\n- **tag** - One selected-value tag: the `c-tag` host, including the overflow tag\n- **tag-root** - The pill box inside each tag (the `c-tag` `root` part), for colours and borders",
|
|
3521
3554
|
"doc-url": "",
|
|
3522
3555
|
"attributes": [
|
|
3523
3556
|
{
|
|
@@ -3605,6 +3638,11 @@
|
|
|
3605
3638
|
"description": "Return object instead of value",
|
|
3606
3639
|
"value": { "type": "boolean", "default": "false" }
|
|
3607
3640
|
},
|
|
3641
|
+
{
|
|
3642
|
+
"name": "select-all",
|
|
3643
|
+
"description": "In `multiple` mode, pin a select-all row at the top of the list. Its\ncheckbox shows whether none, some or all enabled options are selected;\nactivating it selects every enabled option — or, when all are selected,\nunselects them. Ignored in single mode",
|
|
3644
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3645
|
+
},
|
|
3608
3646
|
{
|
|
3609
3647
|
"name": "shadow",
|
|
3610
3648
|
"description": "Shadow variant",
|
|
@@ -3741,6 +3779,11 @@
|
|
|
3741
3779
|
"description": "Return object instead of value",
|
|
3742
3780
|
"type": "boolean"
|
|
3743
3781
|
},
|
|
3782
|
+
{
|
|
3783
|
+
"name": "selectAll",
|
|
3784
|
+
"description": "In `multiple` mode, pin a select-all row at the top of the list. Its\ncheckbox shows whether none, some or all enabled options are selected;\nactivating it selects every enabled option — or, when all are selected,\nunselects them. Ignored in single mode",
|
|
3785
|
+
"type": "boolean"
|
|
3786
|
+
},
|
|
3744
3787
|
{
|
|
3745
3788
|
"name": "shadow",
|
|
3746
3789
|
"description": "Shadow variant",
|
|
@@ -5499,6 +5542,262 @@
|
|
|
5499
5542
|
}
|
|
5500
5543
|
]
|
|
5501
5544
|
}
|
|
5545
|
+
},
|
|
5546
|
+
{
|
|
5547
|
+
"name": "c-tree-select",
|
|
5548
|
+
"description": "A hierarchical value-selection component: a readonly value field that opens a panel for browsing a tree one level at a time, or searching it as a whole, to commit one item.\n---\n\n\n### **Events:**\n - **change** - Fired when the selection changes — an item is committed or the selection\nis cleared — carrying the new value: the item's value, the\n`CTreeSelectSelection` with `return-object`, or `null` when cleared.\n- **change:query** - Fired whenever the query changes — on every keystroke in the search\ninput, and with an empty string when the panel opens. Carries the query\nstring.\n- **input** - Native bubbling input event dispatched alongside every value change so a\nplain `v-model` stays in sync. Carries no detail.\n- **update:value** - Fired alongside `change` with the same detail — the `v-model` contract.\n\n### **CSS Parts:**\n - **panel** - The top-layer popover container anchored below the field\n- **card** - The elevated surface inside the panel holding the search row, the breadcrumb, the header and the list\n- **search** - The search-input row at the top of the panel\n- **breadcrumb** - The breadcrumb navigation naming the browsed level's path\n- **crumb** - One crumb in the breadcrumb: the root crumb, an ancestor, or the collapsed \"…\" crumb\n- **header** - The header line under the breadcrumb: the level to choose and its step counter, or the match count and the \"Browse instead\" control\n- **list** - The scrollable listbox: the level list while browsing, the results while searching\n- **item** - One item row in the list\n- **select-branch** - The pinned select-branch row at the top of a level list inside a branch (`allow-branch`)\n- **code** - An item's code column, in a row and in the closed field\n- **path** - The ancestor path line under a search result's label\n- **match** - A run of an item's code, label or path equal to the query, in a row; underlined in the primary colour, text inherits the row\n- **info** - The no-results row shown when nothing is listed",
|
|
5549
|
+
"doc-url": "",
|
|
5550
|
+
"attributes": [
|
|
5551
|
+
{
|
|
5552
|
+
"name": "allow-branch",
|
|
5553
|
+
"description": "Let a branch be committed as the value: a pinned select-branch row heads\nevery level below the root, and matching branches are listed as search\nresults",
|
|
5554
|
+
"value": { "type": "boolean", "default": "false" }
|
|
5555
|
+
},
|
|
5556
|
+
{
|
|
5557
|
+
"name": "clearable",
|
|
5558
|
+
"description": "Make the selected value clearable",
|
|
5559
|
+
"value": { "type": "boolean", "default": "false" }
|
|
5560
|
+
},
|
|
5561
|
+
{
|
|
5562
|
+
"name": "disabled",
|
|
5563
|
+
"description": "Disable the field",
|
|
5564
|
+
"value": { "type": "boolean", "default": "false" }
|
|
5565
|
+
},
|
|
5566
|
+
{
|
|
5567
|
+
"name": "error-message",
|
|
5568
|
+
"description": "Error message shown in place of the hint while the field is invalid",
|
|
5569
|
+
"value": { "type": "string", "default": "''" }
|
|
5570
|
+
},
|
|
5571
|
+
{
|
|
5572
|
+
"name": "hide-details",
|
|
5573
|
+
"description": "Hide the hint and error messages",
|
|
5574
|
+
"value": { "type": "boolean", "default": "false" }
|
|
5575
|
+
},
|
|
5576
|
+
{
|
|
5577
|
+
"name": "hint",
|
|
5578
|
+
"description": "Hint text for the field",
|
|
5579
|
+
"value": { "type": "string", "default": "''" }
|
|
5580
|
+
},
|
|
5581
|
+
{
|
|
5582
|
+
"name": "host-id",
|
|
5583
|
+
"description": "Id of the element",
|
|
5584
|
+
"value": { "type": "string", "default": "''" }
|
|
5585
|
+
},
|
|
5586
|
+
{
|
|
5587
|
+
"name": "items-per-page",
|
|
5588
|
+
"description": "Items per page before the list scrolls",
|
|
5589
|
+
"value": { "type": "number", "default": "6" }
|
|
5590
|
+
},
|
|
5591
|
+
{
|
|
5592
|
+
"name": "label",
|
|
5593
|
+
"description": "Element label",
|
|
5594
|
+
"value": { "type": "string", "default": "''" }
|
|
5595
|
+
},
|
|
5596
|
+
{
|
|
5597
|
+
"name": "label-on-top",
|
|
5598
|
+
"description": "Label on top of the field",
|
|
5599
|
+
"value": { "type": "boolean", "default": "false" }
|
|
5600
|
+
},
|
|
5601
|
+
{
|
|
5602
|
+
"name": "name",
|
|
5603
|
+
"description": "Input field name",
|
|
5604
|
+
"value": { "type": "string", "default": "''" }
|
|
5605
|
+
},
|
|
5606
|
+
{
|
|
5607
|
+
"name": "placeholder",
|
|
5608
|
+
"description": "Placeholder for the search input inside the panel",
|
|
5609
|
+
"value": { "type": "string", "default": "''" }
|
|
5610
|
+
},
|
|
5611
|
+
{
|
|
5612
|
+
"name": "required",
|
|
5613
|
+
"description": "Set the field as required",
|
|
5614
|
+
"value": { "type": "boolean", "default": "false" }
|
|
5615
|
+
},
|
|
5616
|
+
{
|
|
5617
|
+
"name": "return-object",
|
|
5618
|
+
"description": "Emit the committed item with its path as a `CTreeSelectSelection` instead\nof its value",
|
|
5619
|
+
"value": { "type": "boolean", "default": "false" }
|
|
5620
|
+
},
|
|
5621
|
+
{
|
|
5622
|
+
"name": "shadow",
|
|
5623
|
+
"description": "Shadow variant",
|
|
5624
|
+
"value": { "type": "boolean", "default": "false" }
|
|
5625
|
+
},
|
|
5626
|
+
{
|
|
5627
|
+
"name": "size",
|
|
5628
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
5629
|
+
"value": { "type": "'default' | 'small'", "default": "'default'" }
|
|
5630
|
+
},
|
|
5631
|
+
{
|
|
5632
|
+
"name": "valid",
|
|
5633
|
+
"description": "Set the validity of the field",
|
|
5634
|
+
"value": { "type": "boolean", "default": "true" }
|
|
5635
|
+
},
|
|
5636
|
+
{
|
|
5637
|
+
"name": "value",
|
|
5638
|
+
"description": "Selected value: the committed item's value, or the `CTreeSelectSelection`\nwith `return-object`; `null` when nothing is selected",
|
|
5639
|
+
"value": { "type": "CTreeSelectValue", "default": "null" }
|
|
5640
|
+
}
|
|
5641
|
+
],
|
|
5642
|
+
"slots": [],
|
|
5643
|
+
"events": [
|
|
5644
|
+
{
|
|
5645
|
+
"name": "change",
|
|
5646
|
+
"type": "CustomEvent<CTreeSelectValue>",
|
|
5647
|
+
"description": "Fired when the selection changes — an item is committed or the selection\nis cleared — carrying the new value: the item's value, the\n`CTreeSelectSelection` with `return-object`, or `null` when cleared."
|
|
5648
|
+
},
|
|
5649
|
+
{
|
|
5650
|
+
"name": "change:query",
|
|
5651
|
+
"type": "CustomEvent<string>",
|
|
5652
|
+
"description": "Fired whenever the query changes — on every keystroke in the search\ninput, and with an empty string when the panel opens. Carries the query\nstring."
|
|
5653
|
+
},
|
|
5654
|
+
{
|
|
5655
|
+
"name": "input",
|
|
5656
|
+
"type": "CustomEvent<void>",
|
|
5657
|
+
"description": "Native bubbling input event dispatched alongside every value change so a\nplain `v-model` stays in sync. Carries no detail."
|
|
5658
|
+
},
|
|
5659
|
+
{
|
|
5660
|
+
"name": "update:value",
|
|
5661
|
+
"type": "CustomEvent<CTreeSelectValue>",
|
|
5662
|
+
"description": "Fired alongside `change` with the same detail — the `v-model` contract."
|
|
5663
|
+
}
|
|
5664
|
+
],
|
|
5665
|
+
"js": {
|
|
5666
|
+
"properties": [
|
|
5667
|
+
{
|
|
5668
|
+
"name": "allowBranch",
|
|
5669
|
+
"description": "Let a branch be committed as the value: a pinned select-branch row heads\nevery level below the root, and matching branches are listed as search\nresults",
|
|
5670
|
+
"type": "boolean"
|
|
5671
|
+
},
|
|
5672
|
+
{
|
|
5673
|
+
"name": "clearable",
|
|
5674
|
+
"description": "Make the selected value clearable",
|
|
5675
|
+
"type": "boolean"
|
|
5676
|
+
},
|
|
5677
|
+
{
|
|
5678
|
+
"name": "disabled",
|
|
5679
|
+
"description": "Disable the field",
|
|
5680
|
+
"type": "boolean"
|
|
5681
|
+
},
|
|
5682
|
+
{
|
|
5683
|
+
"name": "errorMessage",
|
|
5684
|
+
"description": "Error message shown in place of the hint while the field is invalid",
|
|
5685
|
+
"type": "string"
|
|
5686
|
+
},
|
|
5687
|
+
{
|
|
5688
|
+
"name": "filter",
|
|
5689
|
+
"description": "Custom search predicate; receives the item, the query and the item's\nancestors. Functions have no attribute form — bind as a DOM property",
|
|
5690
|
+
"type": "CTreeSelectFilter"
|
|
5691
|
+
},
|
|
5692
|
+
{
|
|
5693
|
+
"name": "hideDetails",
|
|
5694
|
+
"description": "Hide the hint and error messages",
|
|
5695
|
+
"type": "boolean"
|
|
5696
|
+
},
|
|
5697
|
+
{
|
|
5698
|
+
"name": "hint",
|
|
5699
|
+
"description": "Hint text for the field",
|
|
5700
|
+
"type": "string"
|
|
5701
|
+
},
|
|
5702
|
+
{
|
|
5703
|
+
"name": "hostId",
|
|
5704
|
+
"description": "Id of the element",
|
|
5705
|
+
"type": "string"
|
|
5706
|
+
},
|
|
5707
|
+
{
|
|
5708
|
+
"name": "items",
|
|
5709
|
+
"description": "The tree to pick from. Arrays have no attribute form — bind as a DOM\nproperty (`:items.prop` in Vue)",
|
|
5710
|
+
"type": "CTreeSelectItem[]"
|
|
5711
|
+
},
|
|
5712
|
+
{
|
|
5713
|
+
"name": "itemsPerPage",
|
|
5714
|
+
"description": "Items per page before the list scrolls",
|
|
5715
|
+
"type": "number"
|
|
5716
|
+
},
|
|
5717
|
+
{
|
|
5718
|
+
"name": "label",
|
|
5719
|
+
"description": "Element label",
|
|
5720
|
+
"type": "string"
|
|
5721
|
+
},
|
|
5722
|
+
{
|
|
5723
|
+
"name": "labelOnTop",
|
|
5724
|
+
"description": "Label on top of the field",
|
|
5725
|
+
"type": "boolean"
|
|
5726
|
+
},
|
|
5727
|
+
{
|
|
5728
|
+
"name": "levelLabels",
|
|
5729
|
+
"description": "Names of the levels, top level first, shown in the panel header; a\nmissing entry falls back to `texts.level(n)`. Arrays have no attribute\nform — bind as a DOM property",
|
|
5730
|
+
"type": "string[]"
|
|
5731
|
+
},
|
|
5732
|
+
{
|
|
5733
|
+
"name": "name",
|
|
5734
|
+
"description": "Input field name",
|
|
5735
|
+
"type": "string"
|
|
5736
|
+
},
|
|
5737
|
+
{
|
|
5738
|
+
"name": "placeholder",
|
|
5739
|
+
"description": "Placeholder for the search input inside the panel",
|
|
5740
|
+
"type": "string"
|
|
5741
|
+
},
|
|
5742
|
+
{
|
|
5743
|
+
"name": "required",
|
|
5744
|
+
"description": "Set the field as required",
|
|
5745
|
+
"type": "boolean"
|
|
5746
|
+
},
|
|
5747
|
+
{
|
|
5748
|
+
"name": "returnObject",
|
|
5749
|
+
"description": "Emit the committed item with its path as a `CTreeSelectSelection` instead\nof its value",
|
|
5750
|
+
"type": "boolean"
|
|
5751
|
+
},
|
|
5752
|
+
{
|
|
5753
|
+
"name": "shadow",
|
|
5754
|
+
"description": "Shadow variant",
|
|
5755
|
+
"type": "boolean"
|
|
5756
|
+
},
|
|
5757
|
+
{
|
|
5758
|
+
"name": "size",
|
|
5759
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
5760
|
+
"type": "'default' | 'small'"
|
|
5761
|
+
},
|
|
5762
|
+
{
|
|
5763
|
+
"name": "texts",
|
|
5764
|
+
"description": "UI text overrides (i18n), merged over the English defaults. Objects have\nno attribute form — bind as a DOM property (`:texts.prop` in Vue)",
|
|
5765
|
+
"type": "CTreeSelectTexts"
|
|
5766
|
+
},
|
|
5767
|
+
{
|
|
5768
|
+
"name": "valid",
|
|
5769
|
+
"description": "Set the validity of the field",
|
|
5770
|
+
"type": "boolean"
|
|
5771
|
+
},
|
|
5772
|
+
{
|
|
5773
|
+
"name": "value",
|
|
5774
|
+
"description": "Selected value: the committed item's value, or the `CTreeSelectSelection`\nwith `return-object`; `null` when nothing is selected",
|
|
5775
|
+
"type": "CTreeSelectValue"
|
|
5776
|
+
}
|
|
5777
|
+
],
|
|
5778
|
+
"events": [
|
|
5779
|
+
{
|
|
5780
|
+
"name": "change",
|
|
5781
|
+
"type": "CustomEvent<CTreeSelectValue>",
|
|
5782
|
+
"description": "Fired when the selection changes — an item is committed or the selection\nis cleared — carrying the new value: the item's value, the\n`CTreeSelectSelection` with `return-object`, or `null` when cleared."
|
|
5783
|
+
},
|
|
5784
|
+
{
|
|
5785
|
+
"name": "change:query",
|
|
5786
|
+
"type": "CustomEvent<string>",
|
|
5787
|
+
"description": "Fired whenever the query changes — on every keystroke in the search\ninput, and with an empty string when the panel opens. Carries the query\nstring."
|
|
5788
|
+
},
|
|
5789
|
+
{
|
|
5790
|
+
"name": "input",
|
|
5791
|
+
"type": "CustomEvent<void>",
|
|
5792
|
+
"description": "Native bubbling input event dispatched alongside every value change so a\nplain `v-model` stays in sync. Carries no detail."
|
|
5793
|
+
},
|
|
5794
|
+
{
|
|
5795
|
+
"name": "update:value",
|
|
5796
|
+
"type": "CustomEvent<CTreeSelectValue>",
|
|
5797
|
+
"description": "Fired alongside `change` with the same detail — the `v-model` contract."
|
|
5798
|
+
}
|
|
5799
|
+
]
|
|
5800
|
+
}
|
|
5502
5801
|
}
|
|
5503
5802
|
]
|
|
5504
5803
|
},
|
|
@@ -5564,6 +5863,10 @@
|
|
|
5564
5863
|
"description": "The scrollable options listbox"
|
|
5565
5864
|
},
|
|
5566
5865
|
{ "name": "part(item)", "description": "One option row in the list" },
|
|
5866
|
+
{
|
|
5867
|
+
"name": "part(select-all)",
|
|
5868
|
+
"description": "The pinned select-all row at the top of the list (`multiple` mode with `select-all`); carries the same indicator / mark parts as an option row"
|
|
5869
|
+
},
|
|
5567
5870
|
{
|
|
5568
5871
|
"name": "part(indicator)",
|
|
5569
5872
|
"description": "The decorative checkbox box on an option row in `multiple` mode; border, fill and glyph draw with `currentColor`, so `color` recolours them together (the c-checkbox recipe)"
|
|
@@ -5732,6 +6035,10 @@
|
|
|
5732
6035
|
},
|
|
5733
6036
|
{ "name": "part(list)", "description": "The scrolling listbox" },
|
|
5734
6037
|
{ "name": "part(item)", "description": "One option row" },
|
|
6038
|
+
{
|
|
6039
|
+
"name": "part(select-all)",
|
|
6040
|
+
"description": "The pinned select-all row at the top of the list in `multiple` mode; carries the same indicator / mark parts as an option row"
|
|
6041
|
+
},
|
|
5735
6042
|
{
|
|
5736
6043
|
"name": "part(indicator)",
|
|
5737
6044
|
"description": "The decorative checkbox box on an option row in `multiple` mode; border, fill and glyph draw with `currentColor`, so `color` recolours them together"
|
|
@@ -6022,6 +6329,10 @@
|
|
|
6022
6329
|
"name": "part(item)",
|
|
6023
6330
|
"description": "One option row in the list. Any `part` attribute set on content inside a slotted `<c-option>` is exported too, so `c-select::part(<name>)` reaches the consumer's own option markup"
|
|
6024
6331
|
},
|
|
6332
|
+
{
|
|
6333
|
+
"name": "part(select-all)",
|
|
6334
|
+
"description": "The pinned select-all row at the top of the list (`multiple` mode with `select-all`); carries the same indicator / mark parts as an option row"
|
|
6335
|
+
},
|
|
6025
6336
|
{
|
|
6026
6337
|
"name": "part(indicator)",
|
|
6027
6338
|
"description": "The decorative checkbox box on an option row in `multiple` mode; border, fill and glyph draw with `currentColor`, so `color` recolours them together (the c-checkbox recipe)"
|
|
@@ -6230,6 +6541,55 @@
|
|
|
6230
6541
|
{
|
|
6231
6542
|
"name": "part(panel)",
|
|
6232
6543
|
"description": "The floating tooltip bubble positioned against the trigger"
|
|
6544
|
+
},
|
|
6545
|
+
{
|
|
6546
|
+
"name": "part(panel)",
|
|
6547
|
+
"description": "The top-layer popover container anchored below the field"
|
|
6548
|
+
},
|
|
6549
|
+
{
|
|
6550
|
+
"name": "part(card)",
|
|
6551
|
+
"description": "The elevated surface inside the panel holding the search row, the breadcrumb, the header and the list"
|
|
6552
|
+
},
|
|
6553
|
+
{
|
|
6554
|
+
"name": "part(search)",
|
|
6555
|
+
"description": "The search-input row at the top of the panel"
|
|
6556
|
+
},
|
|
6557
|
+
{
|
|
6558
|
+
"name": "part(breadcrumb)",
|
|
6559
|
+
"description": "The breadcrumb navigation naming the browsed level's path"
|
|
6560
|
+
},
|
|
6561
|
+
{
|
|
6562
|
+
"name": "part(crumb)",
|
|
6563
|
+
"description": "One crumb in the breadcrumb: the root crumb, an ancestor, or the collapsed \"…\" crumb"
|
|
6564
|
+
},
|
|
6565
|
+
{
|
|
6566
|
+
"name": "part(header)",
|
|
6567
|
+
"description": "The header line under the breadcrumb: the level to choose and its step counter, or the match count and the \"Browse instead\" control"
|
|
6568
|
+
},
|
|
6569
|
+
{
|
|
6570
|
+
"name": "part(list)",
|
|
6571
|
+
"description": "The scrollable listbox: the level list while browsing, the results while searching"
|
|
6572
|
+
},
|
|
6573
|
+
{ "name": "part(item)", "description": "One item row in the list" },
|
|
6574
|
+
{
|
|
6575
|
+
"name": "part(select-branch)",
|
|
6576
|
+
"description": "The pinned select-branch row at the top of a level list inside a branch (`allow-branch`)"
|
|
6577
|
+
},
|
|
6578
|
+
{
|
|
6579
|
+
"name": "part(code)",
|
|
6580
|
+
"description": "An item's code column, in a row and in the closed field"
|
|
6581
|
+
},
|
|
6582
|
+
{
|
|
6583
|
+
"name": "part(path)",
|
|
6584
|
+
"description": "The ancestor path line under a search result's label"
|
|
6585
|
+
},
|
|
6586
|
+
{
|
|
6587
|
+
"name": "part(match)",
|
|
6588
|
+
"description": "A run of an item's code, label or path equal to the query, in a row; underlined in the primary colour, text inherits the row"
|
|
6589
|
+
},
|
|
6590
|
+
{
|
|
6591
|
+
"name": "part(info)",
|
|
6592
|
+
"description": "The no-results row shown when nothing is listed"
|
|
6233
6593
|
}
|
|
6234
6594
|
]
|
|
6235
6595
|
}
|
|
@@ -102,6 +102,14 @@ export interface CAutocompleteProps {
|
|
|
102
102
|
required?: boolean;
|
|
103
103
|
/** Return object instead of value */
|
|
104
104
|
returnObject?: boolean;
|
|
105
|
+
/**
|
|
106
|
+
* In `multiple` mode, pin a select-all row at the top of the list. Its
|
|
107
|
+
* checkbox shows whether none, some or all enabled options currently listed
|
|
108
|
+
* — the matches while a query is typed, the given `items` with `external` —
|
|
109
|
+
* are selected; activating it selects them all, or, when all are selected,
|
|
110
|
+
* unselects them. Ignored in single mode
|
|
111
|
+
*/
|
|
112
|
+
selectAll?: boolean;
|
|
105
113
|
/** Shadow variant */
|
|
106
114
|
shadow?: boolean;
|
|
107
115
|
/** Field height: the 44px default or the 36px `small` box */
|
|
@@ -142,6 +150,11 @@ export interface CAutocompleteTexts {
|
|
|
142
150
|
remove?: (label: string) => string;
|
|
143
151
|
/** Placeholder of the search input when the `placeholder` prop is empty. */
|
|
144
152
|
searchPlaceholder?: string;
|
|
153
|
+
/**
|
|
154
|
+
* Label of the select-all row; receives the number of enabled options
|
|
155
|
+
* listed.
|
|
156
|
+
*/
|
|
157
|
+
selectAll?: (count: number) => string;
|
|
145
158
|
/**
|
|
146
159
|
* Field text when `max-tags="0"` shows no tags; receives the selection
|
|
147
160
|
* count.
|
|
@@ -182,6 +195,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CAutoc
|
|
|
182
195
|
placeholder: string;
|
|
183
196
|
required: boolean;
|
|
184
197
|
returnObject: boolean;
|
|
198
|
+
selectAll: boolean;
|
|
185
199
|
shadow: boolean;
|
|
186
200
|
size: CFieldSize;
|
|
187
201
|
texts: CAutocompleteTexts;
|
|
@@ -9,7 +9,7 @@ interface CDropdownProps {
|
|
|
9
9
|
* @freeform
|
|
10
10
|
*/
|
|
11
11
|
hostId?: string;
|
|
12
|
-
/** Current highlighted index */
|
|
12
|
+
/** Current highlighted index; `-1` (`SELECT_ALL_INDEX`) is the select-all row */
|
|
13
13
|
index?: null | number;
|
|
14
14
|
/** Dropdown options: a NodeList of <c-option> or an array of items */
|
|
15
15
|
items?: ArrayLike<DropdownItem>;
|
|
@@ -23,8 +23,14 @@ interface CDropdownProps {
|
|
|
23
23
|
/** Dropdown parent (the c-select / c-autocomplete host element) */
|
|
24
24
|
parent?: HTMLElement | null;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
27
|
-
*
|
|
26
|
+
* The select-all row in `multiple` mode, as the parent computes it (label,
|
|
27
|
+
* tri-state, counts for the live region); `null` renders no row
|
|
28
|
+
*/
|
|
29
|
+
selectAllRow?: CDropdownSelectAllRow | null;
|
|
30
|
+
/**
|
|
31
|
+
* Values of the currently selected items — the picked values in `multiple`
|
|
32
|
+
* mode, the single value otherwise; drives each row's `aria-selected`, its
|
|
33
|
+
* indicator and the single-mode selected-row check
|
|
28
34
|
*/
|
|
29
35
|
selected?: (number | string)[];
|
|
30
36
|
/** Parent type — drives autocomplete-only behaviour (highlight, messages) */
|
|
@@ -37,13 +43,23 @@ type DropdownItem = {
|
|
|
37
43
|
selected?: boolean;
|
|
38
44
|
value: number | string;
|
|
39
45
|
};
|
|
40
|
-
|
|
46
|
+
/**
|
|
47
|
+
* The select-all row as the parent computes it (ADR-0046): the label, the
|
|
48
|
+
* indicator's tri-state and the counts the live region speaks.
|
|
49
|
+
*/
|
|
50
|
+
interface CDropdownSelectAllRow {
|
|
51
|
+
label: string;
|
|
52
|
+
selected: number;
|
|
53
|
+
state: 'all' | 'none' | 'some';
|
|
54
|
+
total: number;
|
|
55
|
+
}
|
|
56
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_20: {};
|
|
41
57
|
type __VLS_Slots = {} & {
|
|
42
58
|
default?: (props: typeof __VLS_1) => any;
|
|
43
59
|
} & {
|
|
44
60
|
'input-top'?: (props: typeof __VLS_3) => any;
|
|
45
61
|
} & {
|
|
46
|
-
'input-bottom'?: (props: typeof
|
|
62
|
+
'input-bottom'?: (props: typeof __VLS_20) => any;
|
|
47
63
|
};
|
|
48
64
|
declare const __VLS_base: import("vue").DefineComponent<CDropdownProps, {
|
|
49
65
|
close: () => void;
|
|
@@ -62,6 +78,7 @@ declare const __VLS_base: import("vue").DefineComponent<CDropdownProps, {
|
|
|
62
78
|
dropdownItemType: CDropdownItemType;
|
|
63
79
|
index: null | number;
|
|
64
80
|
parent: HTMLElement | null;
|
|
81
|
+
selectAllRow: CDropdownSelectAllRow | null;
|
|
65
82
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
66
83
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
67
84
|
declare const _default: typeof __VLS_export;
|
|
@@ -70,6 +70,13 @@ export interface CSelectProps {
|
|
|
70
70
|
required?: boolean;
|
|
71
71
|
/** Return object instead of value */
|
|
72
72
|
returnObject?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* In `multiple` mode, pin a select-all row at the top of the list. Its
|
|
75
|
+
* checkbox shows whether none, some or all enabled options are selected;
|
|
76
|
+
* activating it selects every enabled option — or, when all are selected,
|
|
77
|
+
* unselects them. Ignored in single mode
|
|
78
|
+
*/
|
|
79
|
+
selectAll?: boolean;
|
|
73
80
|
/** Shadow variant */
|
|
74
81
|
shadow?: boolean;
|
|
75
82
|
/** Field height: the 44px default or the 36px `small` box */
|
|
@@ -101,6 +108,11 @@ export interface CSelectTexts {
|
|
|
101
108
|
more?: (count: number) => string;
|
|
102
109
|
/** Accessible label of a tag's remove button; receives the option label. */
|
|
103
110
|
remove?: (label: string) => string;
|
|
111
|
+
/**
|
|
112
|
+
* Label of the select-all row; receives the number of enabled options
|
|
113
|
+
* listed.
|
|
114
|
+
*/
|
|
115
|
+
selectAll?: (count: number) => string;
|
|
104
116
|
/**
|
|
105
117
|
* Field text when `max-tags="0"` shows no tags; receives the selection
|
|
106
118
|
* count.
|
|
@@ -139,6 +151,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CSelec
|
|
|
139
151
|
placeholder: string;
|
|
140
152
|
required: boolean;
|
|
141
153
|
returnObject: boolean;
|
|
154
|
+
selectAll: boolean;
|
|
142
155
|
shadow: boolean;
|
|
143
156
|
size: CFieldSize;
|
|
144
157
|
texts: CSelectTexts;
|