@cscfi/csc-ui 4.0.0-alpha.13 → 4.0.0-alpha.15
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 +8257 -7166
- package/dist/custom-elements.json +841 -44
- package/dist/docs/c-autocomplete/usage.md +25 -2
- package/dist/docs/c-button-group/usage.md +1 -1
- package/dist/docs/c-select/usage.md +25 -2
- package/dist/docs/c-tree-select/usage.md +156 -0
- package/dist/styles/css/tokens.css +2 -1
- package/dist/vscode.css-custom-data.json +97 -0
- package/dist/vscode.html-custom-data.json +94 -3
- package/dist/web-types.json +388 -15
- package/dist-types/components/c-autocomplete/CAutocomplete.vue.d.ts +32 -8
- package/dist-types/components/c-button/CButton.vue.d.ts +1 -1
- package/dist-types/components/c-button-group/CButtonGroup.vue.d.ts +1 -1
- package/dist-types/components/c-checkbox/CCheckbox.vue.d.ts +1 -1
- package/dist-types/components/c-data-table/CDataTable.vue.d.ts +5 -1
- package/dist-types/components/c-dropdown/CDropdown.vue.d.ts +27 -12
- package/dist-types/components/c-icon-button/CIconButton.vue.d.ts +1 -1
- package/dist-types/components/c-input/CInput.vue.d.ts +2 -2
- package/dist-types/components/c-otp-input/COtpInput.vue.d.ts +1 -1
- package/dist-types/components/c-pagination/CPagination.vue.d.ts +1 -1
- package/dist-types/components/c-radio-group/CRadioGroup.vue.d.ts +1 -1
- package/dist-types/components/c-select/CSelect.vue.d.ts +32 -8
- package/dist-types/components/c-switch/CSwitch.vue.d.ts +1 -1
- package/dist-types/components/c-tag/CTag.vue.d.ts +1 -1
- package/dist-types/components/c-text-field/CTextField.vue.d.ts +11 -4
- package/dist-types/components/c-tree-select/CTreeSelect.vue.d.ts +261 -0
- package/dist-types/index.d.ts +3 -0
- package/dist-types/shared/FormLabel.vue.d.ts +1 -1
- package/dist-types/shared/PanelHeadingRow.vue.d.ts +13 -0
- package/dist-types/shared/appDefaults.d.ts +75 -0
- package/dist-types/shared/defineElement.d.ts +1 -0
- package/dist-types/shared/lightDismiss.d.ts +35 -0
- package/dist-types/shared/modalStack.d.ts +4 -3
- package/dist-types/shared/pageLock.d.ts +26 -0
- package/dist-types/shared/popoverChain.d.ts +9 -6
- package/dist-types/shared/useAnchoredPanel.d.ts +89 -0
- package/dist-types/shared/useNarrowViewport.d.ts +19 -0
- package/dist-types/shared/useStatusAnnouncer.d.ts +33 -0
- package/dist-types/shared/visualViewport.d.ts +35 -0
- package/dist-types/tag-name-map.d.ts +137 -9
- package/package.json +13 -4
|
@@ -75,14 +75,14 @@
|
|
|
75
75
|
"owner": "c-autocomplete"
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
|
-
"declaration": "export interface CAutocompleteProps {\n /** Make the selected value clearable */\n clearable?: boolean;\n /** Disable the input */\n disabled?: boolean;\n /**\n * Error message shown in place of the hint while the autocomplete is invalid\n *\n * @freeform\n */\n errorMessage?: string;\n /**\n * The consumer owns filtering: the component renders its options verbatim\n * and only emits `change:query` as the user types. Pair with `loading` and\n * an async data source feeding `items`\n */\n external?: boolean;\n /** Custom filter predicate; receives a normalized option + the query. Ignored when `external` is set */\n filter?: CAutocompleteFilter;\n
|
|
78
|
+
"declaration": "export interface CAutocompleteProps {\n /** Make the selected value clearable */\n clearable?: boolean;\n /** Disable the input */\n disabled?: boolean;\n /**\n * Error message shown in place of the hint while the autocomplete is invalid\n *\n * @freeform\n */\n errorMessage?: string;\n /**\n * The consumer owns filtering: the component renders its options verbatim\n * and only emits `change:query` as the user types. Pair with `loading` and\n * an async data source feeding `items`\n */\n external?: boolean;\n /** Custom filter predicate; receives a normalized option + the query. Ignored when `external` is set */\n filter?: CAutocompleteFilter;\n /**\n * Hide the hint and error messages\n *\n * @defaultable false\n */\n hideDetails?: boolean;\n /**\n * Hint text for the input\n *\n * @freeform\n */\n hint?: string;\n /**\n * Id of the element\n *\n * @freeform\n */\n hostId?: string;\n /** Dropdown items (when not using <c-option> elements) */\n items?: CAutocompleteItem[];\n /**\n * Items per page before the list scrolls\n *\n * @defaultable 6\n */\n itemsPerPage?: number;\n /**\n * Element label\n *\n * @freeform\n */\n label?: string;\n /**\n * Label on top of the input\n *\n * @defaultable false\n */\n labelOnTop?: boolean;\n /** Show loading state */\n loading?: boolean;\n /**\n * In `multiple` mode, show at most this many selected-value tags and fold\n * the rest into one \"+N more\" tag; `0` shows no tags and reads \"N selected\"\n * instead; unset shows every tag\n */\n maxTags?: number;\n /**\n * Allow selecting several options: rows toggle, the panel stays open and\n * keeps its query, `value` becomes an array of the selected values (items\n * with `return-object`) in the order they were picked, and the picks show\n * as tags inside the field. Arrays have no attribute form — bind `value` as\n * a DOM property\n */\n multiple?: boolean;\n /**\n * Input field name\n *\n * @freeform\n */\n name?: string;\n /**\n * Placeholder for the in-panel search input\n *\n * @freeform\n */\n placeholder?: string;\n /** Set the autocomplete as required */\n required?: boolean;\n /** Return object instead of value */\n returnObject?: boolean;\n /**\n * In `multiple` mode, pin a select-all row at the top of the list. Its\n * checkbox shows whether none, some or all enabled options currently listed\n * — the matches while a query is typed, the given `items` with `external` —\n * are selected; activating it selects them all, or, when all are selected,\n * unselects them. Ignored in single mode\n */\n selectAll?: boolean;\n /**\n * Shadow variant\n *\n * @defaultable false\n */\n shadow?: boolean;\n /**\n * Field height: the 44px default or the 36px `small` box\n *\n * @defaultable 'default'\n */\n size?: CFieldSize;\n /**\n * UI text overrides (i18n), merged over the English defaults. Objects have\n * no attribute form — bind as a DOM property (`:texts.prop` in Vue)\n *\n * @defaultable {}\n */\n texts?: CAutocompleteTexts;\n /** Set the validity of the input */\n valid?: boolean;\n /**\n * Selected value: the option's value, or the whole item with\n * `return-object`; an array of them in `multiple` mode\n */\n value?: CAutocompleteValue;\n}",
|
|
79
79
|
"description": "",
|
|
80
80
|
"kind": "interface",
|
|
81
81
|
"name": "CAutocompleteProps",
|
|
82
82
|
"owner": "c-autocomplete"
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
|
-
"declaration": "export interface CAutocompleteTexts {\n /** Accessible label of the clear button. */\n clearSelection?: string;\n /** Accessible label of the search input inside the panel. */\n filterOptions?: string;\n /** Text of the loading row shown while `loading` with nothing to list. */\n loading?: string;\n /**\n * Text of the overflow tag when `max-tags` folds the selection; receives the\n * number of hidden tags.\n */\n more?: (count: number) => string;\n /** Text of the row shown when the query matches no options. */\n noResults?: string;\n /** Accessible label of a tag's remove button; receives the option label. */\n remove?: (label: string) => string;\n /** Placeholder of the search input when the `placeholder` prop is empty. */\n searchPlaceholder?: string;\n /**\n * Label of the select-all row; receives the number of enabled options\n * listed.\n */\n selectAll?: (count: number) => string;\n /**\n * Field text when `max-tags=\"0\"` shows no tags; receives the selection\n * count.\n */\n selected?: (count: number) => string;\n /** Accessible label of the chevron button that opens and closes the panel. */\n toggleOptions?: string;\n}",
|
|
85
|
+
"declaration": "export interface CAutocompleteTexts {\n /** Accessible label of the clear button. */\n clearSelection?: string;\n /** Accessible label of the close button in the fullscreen panel (narrow viewports). */\n closePanel?: string;\n /** Accessible label of the search input inside the panel. */\n filterOptions?: string;\n /** Text of the loading row shown while `loading` with nothing to list. */\n loading?: string;\n /**\n * Text of the overflow tag when `max-tags` folds the selection; receives the\n * number of hidden tags.\n */\n more?: (count: number) => string;\n /** Text of the row shown when the query matches no options. */\n noResults?: string;\n /** Accessible label of a tag's remove button; receives the option label. */\n remove?: (label: string) => string;\n /** Placeholder of the search input when the `placeholder` prop is empty. */\n searchPlaceholder?: string;\n /**\n * Label of the select-all row; receives the number of enabled options\n * listed.\n */\n selectAll?: (count: number) => string;\n /**\n * Field text when `max-tags=\"0\"` shows no tags; receives the selection\n * count.\n */\n selected?: (count: number) => string;\n /** Accessible label of the chevron button that opens and closes the panel. */\n toggleOptions?: string;\n}",
|
|
86
86
|
"description": "UI texts of `c-autocomplete`, shallow-merged over the English defaults.\nStatic labels are strings; count- or label-interpolated ones are\nfunctions.",
|
|
87
87
|
"kind": "interface",
|
|
88
88
|
"name": "CAutocompleteTexts",
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
"owner": "c-data-table"
|
|
216
216
|
},
|
|
217
217
|
{
|
|
218
|
-
"declaration": "export interface CDataTableProps {\n /**\n * Move overflowing `expansion: 'auto'` columns into the expansion row\n * (rightmost first) instead of scrolling horizontally.\n */\n autohide?: boolean;\n /** Column definitions. Pass as a DOM property (contains functions). */\n columns?: CDataTableColumn[];\n /** Rows — plain domain objects. Pass as a DOM property. */\n data?: CDataTableRow[];\n /** Ids of the expanded rows (optionally controlled). */\n expanded?: string[];\n /**\n * Custom expansion-row content, appended after the auto-rendered cells of\n * columns currently in the expansion row.\n */\n expandedContent?: (\n context: CDataTableExpandedContext,\n ) => CDataTableCellContent;\n /**\n * The server owns sorting, pagination and filtering: the table renders\n * `data` verbatim and only emits the state-change events. Requires\n * `itemCount` for the pager; disables the select-all banner and `filter`.\n */\n external?: boolean;\n /**\n * Filter rows client-side against this string (all columns). Ignored when\n * `external` is set.\n *\n * @freeform\n */\n filter?: string;\n /**\n * Return a stable id for a row. Falls back to the row's index — supply\n * this whenever selection/expansion is used with `external` data.\n */\n getRowId?: (row: CDataTableRow) => string;\n /** Total number of rows in the dataset. Only used (and needed) with `external`. */\n itemCount?: number;\n /** Show the loading indicator. */\n loading?: boolean;\n /** Current page, 1-based (optionally controlled). */\n page?: number;\n /**\n * Rows per page. Pagination is active only when set — without it every row\n * renders and no pager is shown.\n */\n pageSize?: number;\n /** Options for the pager's page-size menu. */\n pageSizes?: number[];\n /** Ids of the selected rows (optionally controlled). */\n selected?: string[];\n /** Row selection mode. Unset means rows are not selectable. */\n selection?: CDataTableSelectionMode;\n /** Allow only one row to be expanded at a time. */\n singleExpansion?: boolean;\n /** The sorting state (optionally controlled). `null` renders unsorted. */\n sort?: CDataTableSort | null;\n /** Keep the footer row visible while the table scrolls vertically. */\n stickyFooter?: boolean;\n /** Keep the header row visible while the table scrolls vertically. */\n stickyHeader?: boolean;\n
|
|
218
|
+
"declaration": "export interface CDataTableProps {\n /**\n * Move overflowing `expansion: 'auto'` columns into the expansion row\n * (rightmost first) instead of scrolling horizontally.\n */\n autohide?: boolean;\n /** Column definitions. Pass as a DOM property (contains functions). */\n columns?: CDataTableColumn[];\n /** Rows — plain domain objects. Pass as a DOM property. */\n data?: CDataTableRow[];\n /** Ids of the expanded rows (optionally controlled). */\n expanded?: string[];\n /**\n * Custom expansion-row content, appended after the auto-rendered cells of\n * columns currently in the expansion row.\n */\n expandedContent?: (\n context: CDataTableExpandedContext,\n ) => CDataTableCellContent;\n /**\n * The server owns sorting, pagination and filtering: the table renders\n * `data` verbatim and only emits the state-change events. Requires\n * `itemCount` for the pager; disables the select-all banner and `filter`.\n */\n external?: boolean;\n /**\n * Filter rows client-side against this string (all columns). Ignored when\n * `external` is set.\n *\n * @freeform\n */\n filter?: string;\n /**\n * Return a stable id for a row. Falls back to the row's index — supply\n * this whenever selection/expansion is used with `external` data.\n */\n getRowId?: (row: CDataTableRow) => string;\n /** Total number of rows in the dataset. Only used (and needed) with `external`. */\n itemCount?: number;\n /** Show the loading indicator. */\n loading?: boolean;\n /** Current page, 1-based (optionally controlled). */\n page?: number;\n /**\n * Rows per page. Pagination is active only when set — without it every row\n * renders and no pager is shown.\n */\n pageSize?: number;\n /** Options for the pager's page-size menu. */\n pageSizes?: number[];\n /** Ids of the selected rows (optionally controlled). */\n selected?: string[];\n /** Row selection mode. Unset means rows are not selectable. */\n selection?: CDataTableSelectionMode;\n /** Allow only one row to be expanded at a time. */\n singleExpansion?: boolean;\n /** The sorting state (optionally controlled). `null` renders unsorted. */\n sort?: CDataTableSort | null;\n /** Keep the footer row visible while the table scrolls vertically. */\n stickyFooter?: boolean;\n /** Keep the header row visible while the table scrolls vertically. */\n stickyHeader?: boolean;\n /**\n * UI text overrides (i18n), merged over the English defaults.\n *\n * @defaultable {}\n */\n texts?: CDataTableTexts;\n}",
|
|
219
219
|
"description": "",
|
|
220
220
|
"kind": "interface",
|
|
221
221
|
"name": "CDataTableProps",
|
|
@@ -334,14 +334,14 @@
|
|
|
334
334
|
"owner": "c-popover"
|
|
335
335
|
},
|
|
336
336
|
{
|
|
337
|
-
"declaration": "export interface CSelectProps {\n /** Make the selected value clearable */\n clearable?: boolean;\n /** Disable the input */\n disabled?: boolean;\n /**\n * Error message shown in place of the hint while the select is invalid\n *\n * @freeform\n */\n errorMessage?: string;\n
|
|
337
|
+
"declaration": "export interface CSelectProps {\n /** Make the selected value clearable */\n clearable?: boolean;\n /** Disable the input */\n disabled?: boolean;\n /**\n * Error message shown in place of the hint while the select is invalid\n *\n * @freeform\n */\n errorMessage?: string;\n /**\n * Hide the hint and error messages\n *\n * @defaultable false\n */\n hideDetails?: boolean;\n /**\n * Hint text for the input\n *\n * @freeform\n */\n hint?: string;\n /**\n * Id of the element\n *\n * @freeform\n */\n hostId?: string;\n /** Dropdown items (when not using <c-option> elements) */\n items?: CSelectItem[];\n /**\n * Items per page before adding scroll\n *\n * @defaultable 6\n */\n itemsPerPage?: number;\n /**\n * Element label\n *\n * @freeform\n */\n label?: string;\n /**\n * Label on top of the input\n *\n * @defaultable false\n */\n labelOnTop?: boolean;\n /** Show loading state */\n loading?: boolean;\n /**\n * In `multiple` mode, show at most this many selected-value tags and fold\n * the rest into one \"+N more\" tag; `0` shows no tags and reads \"N selected\"\n * instead; unset shows every tag\n */\n maxTags?: number;\n /**\n * Allow selecting several options: rows toggle and the list stays open,\n * `value` becomes an array of the selected values (items with\n * `return-object`) in the order they were picked, and the picks show as\n * tags inside the field. `option-as-selection` is ignored in this mode.\n * Arrays have no attribute form — bind `value` as a DOM property\n */\n multiple?: boolean;\n /**\n * Input field name\n *\n * @freeform\n */\n name?: string;\n /** Display the option as selection (only with <c-option> elements) */\n optionAsSelection?: boolean;\n /**\n * Placeholder text\n *\n * @freeform\n */\n placeholder?: string;\n /** Set the select as required */\n required?: boolean;\n /** Return object instead of value */\n returnObject?: boolean;\n /**\n * In `multiple` mode, pin a select-all row at the top of the list. Its\n * checkbox shows whether none, some or all enabled options are selected;\n * activating it selects every enabled option — or, when all are selected,\n * unselects them. Ignored in single mode\n */\n selectAll?: boolean;\n /**\n * Shadow variant\n *\n * @defaultable false\n */\n shadow?: boolean;\n /**\n * Field height: the 44px default or the 36px `small` box\n *\n * @defaultable 'default'\n */\n size?: CFieldSize;\n /**\n * UI text overrides (i18n), merged over the English defaults. Objects have\n * no attribute form — bind as a DOM property (`:texts.prop` in Vue)\n *\n * @defaultable {}\n */\n texts?: CSelectTexts;\n /** Set the validity of the input */\n valid?: boolean;\n /**\n * Selected value: the option's value, or the whole item with\n * `return-object`; an array of them in `multiple` mode\n */\n value?: CSelectValue;\n}",
|
|
338
338
|
"description": "",
|
|
339
339
|
"kind": "interface",
|
|
340
340
|
"name": "CSelectProps",
|
|
341
341
|
"owner": "c-select"
|
|
342
342
|
},
|
|
343
343
|
{
|
|
344
|
-
"declaration": "export interface CSelectTexts {\n /** Accessible label of the clear button. */\n clearSelection?: string;\n /**\n * Text of the overflow tag when `max-tags` folds the selection; receives the\n * number of hidden tags.\n */\n more?: (count: number) => string;\n /** Accessible label of a tag's remove button; receives the option label. */\n remove?: (label: string) => string;\n /**\n * Label of the select-all row; receives the number of enabled options\n * listed.\n */\n selectAll?: (count: number) => string;\n /**\n * Field text when `max-tags=\"0\"` shows no tags; receives the selection\n * count.\n */\n selected?: (count: number) => string;\n /** Accessible label of the chevron button that opens and closes the list. */\n toggleOptions?: string;\n}",
|
|
344
|
+
"declaration": "export interface CSelectTexts {\n /** Accessible label of the clear button. */\n clearSelection?: string;\n /** Accessible label of the close button in the fullscreen panel (narrow viewports). */\n closePanel?: string;\n /**\n * Text of the overflow tag when `max-tags` folds the selection; receives the\n * number of hidden tags.\n */\n more?: (count: number) => string;\n /** Accessible label of a tag's remove button; receives the option label. */\n remove?: (label: string) => string;\n /**\n * Label of the select-all row; receives the number of enabled options\n * listed.\n */\n selectAll?: (count: number) => string;\n /**\n * Field text when `max-tags=\"0\"` shows no tags; receives the selection\n * count.\n */\n selected?: (count: number) => string;\n /** Accessible label of the chevron button that opens and closes the list. */\n toggleOptions?: string;\n}",
|
|
345
345
|
"description": "UI texts of `c-select`, shallow-merged over the English defaults. Static\nlabels are strings; count- or label-interpolated ones are functions.",
|
|
346
346
|
"kind": "interface",
|
|
347
347
|
"name": "CSelectTexts",
|
|
@@ -432,7 +432,7 @@
|
|
|
432
432
|
"owner": "c-text-field"
|
|
433
433
|
},
|
|
434
434
|
{
|
|
435
|
-
"declaration": "export interface CTextFieldProps {\n /**\n * HTML input autocomplete\n *\n * @seeded from csc-ui — verify\n * @freeform any HTML autocomplete token list\n */\n autocomplete?: string;\n /**\n * Enable native input autocorrection (Safari). Maps to the input's\n * `autocorrect=\"on\"`/`\"off\"` attribute; left unset (browser default per\n * input type) when not specified. Mirrors the platform\n * `HTMLElement.autocorrect` boolean.\n */\n autocorrect?: boolean;\n /**\n * HTML input autocapitalize\n *\n * @seeded from csc-ui — verify\n */\n automaticCapitalize?: CTextFieldAutocapitalize;\n /**\n * Disable the input\n *\n * @seeded from csc-ui — verify\n */\n disabled?: boolean;\n /**\n * Error message shown in place of the hint while the input is invalid\n *\n * @freeform\n */\n errorMessage?: string;\n /**\n * Hide the hint and error messages\n *\n * @seeded from csc-ui — verify\n */\n hideDetails?: boolean;\n /**\n * Hint text for the input\n *\n * @seeded from csc-ui — verify\n * @freeform\n */\n hint?: string;\n /**\n * Id of the input\n *\n * @seeded from csc-ui — verify\n * @freeform\n */\n hostId?: string;\n /**\n * Label of the input\n *\n * @seeded from csc-ui — verify\n * @freeform\n */\n label?: string;\n /**\n * Label on top of the input\n *\n * @seeded from csc-ui — verify\n */\n labelOnTop?: boolean;\n /**\n * Maximum value on a numeric input\n *\n * @seeded from csc-ui — verify\n */\n max?: null | number;\n /**\n * Minimum value on a numeric input\n *\n * @seeded from csc-ui — verify\n */\n min?: null | number;\n /**\n * Name of the input\n *\n * @seeded from csc-ui — verify\n * @freeform\n */\n name?: string;\n /**\n * Placeholder of the input\n *\n * @seeded from csc-ui — verify\n * @freeform\n */\n placeholder?: string;\n /**\n * Mark as readonly\n *\n * @seeded from csc-ui — verify\n */\n readonly?: boolean;\n /**\n * Set the input as required\n *\n * @seeded from csc-ui — verify\n */\n required?: boolean;\n /**\n * Rows on the input\n *\n * @seeded from csc-ui — verify\n */\n rows?: number;\n /**\n * Shadow variant of the input\n *\n * @seeded from csc-ui — verify\n */\n shadow?: boolean;\n
|
|
435
|
+
"declaration": "export interface CTextFieldProps {\n /**\n * HTML input autocomplete\n *\n * @seeded from csc-ui — verify\n * @freeform any HTML autocomplete token list\n */\n autocomplete?: string;\n /**\n * Enable native input autocorrection (Safari). Maps to the input's\n * `autocorrect=\"on\"`/`\"off\"` attribute; left unset (browser default per\n * input type) when not specified. Mirrors the platform\n * `HTMLElement.autocorrect` boolean.\n */\n autocorrect?: boolean;\n /**\n * HTML input autocapitalize\n *\n * @seeded from csc-ui — verify\n */\n automaticCapitalize?: CTextFieldAutocapitalize;\n /**\n * Disable the input\n *\n * @seeded from csc-ui — verify\n */\n disabled?: boolean;\n /**\n * Error message shown in place of the hint while the input is invalid\n *\n * @freeform\n */\n errorMessage?: string;\n /**\n * Hide the hint and error messages\n *\n * @seeded from csc-ui — verify\n * @defaultable false\n */\n hideDetails?: boolean;\n /**\n * Hint text for the input\n *\n * @seeded from csc-ui — verify\n * @freeform\n */\n hint?: string;\n /**\n * Id of the input\n *\n * @seeded from csc-ui — verify\n * @freeform\n */\n hostId?: string;\n /**\n * Label of the input\n *\n * @seeded from csc-ui — verify\n * @freeform\n */\n label?: string;\n /**\n * Label on top of the input\n *\n * @seeded from csc-ui — verify\n * @defaultable false\n */\n labelOnTop?: boolean;\n /**\n * Maximum value on a numeric input\n *\n * @seeded from csc-ui — verify\n */\n max?: null | number;\n /**\n * Minimum value on a numeric input\n *\n * @seeded from csc-ui — verify\n */\n min?: null | number;\n /**\n * Name of the input\n *\n * @seeded from csc-ui — verify\n * @freeform\n */\n name?: string;\n /**\n * Placeholder of the input\n *\n * @seeded from csc-ui — verify\n * @freeform\n */\n placeholder?: string;\n /**\n * Mark as readonly\n *\n * @seeded from csc-ui — verify\n */\n readonly?: boolean;\n /**\n * Set the input as required\n *\n * @seeded from csc-ui — verify\n */\n required?: boolean;\n /**\n * Rows on the input\n *\n * @seeded from csc-ui — verify\n */\n rows?: number;\n /**\n * Shadow variant of the input\n *\n * @seeded from csc-ui — verify\n * @defaultable false\n */\n shadow?: boolean;\n /**\n * Field height: the 44px default or the 36px `small` box (single-line fields)\n *\n * @defaultable 'default'\n */\n size?: CFieldSize;\n /**\n * Step size on a numeric input\n *\n * @seeded from csc-ui — verify\n */\n step?: null | number;\n /**\n * Trim whitespace from the return value\n *\n * @seeded from csc-ui — verify\n */\n trimWhitespace?: boolean;\n /**\n * Type of the input\n *\n * @seeded from csc-ui — verify\n */\n type?: CTextFieldType;\n /**\n * Set the validity of the input\n *\n * @seeded from csc-ui — verify\n */\n valid?: boolean;\n /**\n * Value of the input\n *\n * @seeded from csc-ui — verify\n * @freeform\n */\n value?: string;\n}",
|
|
436
436
|
"description": "",
|
|
437
437
|
"kind": "interface",
|
|
438
438
|
"name": "CTextFieldProps",
|
|
@@ -479,6 +479,48 @@
|
|
|
479
479
|
"kind": "interface",
|
|
480
480
|
"name": "CTooltipProps",
|
|
481
481
|
"owner": "c-tooltip"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"declaration": "export type CTreeSelectFilter = (\n item: CTreeSelectItem,\n query: string,\n path: CTreeSelectItem[],\n) => boolean;",
|
|
485
|
+
"description": "Custom search predicate for `c-tree-select`. Receives the item, the query\nand the item's ancestors root-first; return `true` to list the item. The\ndefault matches the query case-insensitively anywhere in the `name` or\n`code` of the item or of any of its ancestors.",
|
|
486
|
+
"kind": "type-alias",
|
|
487
|
+
"name": "CTreeSelectFilter",
|
|
488
|
+
"owner": "c-tree-select"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"declaration": "export interface CTreeSelectItem {\n /** Child items; present and non-empty for a branch. */\n children?: CTreeSelectItem[];\n /**\n * Short code shown before the name and matched by the search (a\n * classification number, say).\n */\n code?: string;\n /**\n * Disable the item: a disabled branch cannot be entered, a disabled leaf\n * cannot be committed.\n */\n disabled?: boolean;\n /** The item's label. */\n name: string;\n /** The item's value, unique across the tree. */\n value: number | string;\n}",
|
|
492
|
+
"description": "One item of a `c-tree-select` tree. An item with a non-empty `children`\narray is a branch; any other item is a leaf. Values must be unique across\nthe whole tree.",
|
|
493
|
+
"kind": "interface",
|
|
494
|
+
"name": "CTreeSelectItem",
|
|
495
|
+
"owner": "c-tree-select"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"declaration": "export interface CTreeSelectProps {\n /**\n * Let a branch be committed as the value: a pinned select-branch row heads\n * every level below the root, and matching branches are listed as search\n * results\n */\n allowBranch?: boolean;\n /**\n * Make the selected value clearable\n */\n clearable?: boolean;\n /**\n * Disable the field\n */\n disabled?: boolean;\n /**\n * Error message shown in place of the hint while the field is invalid\n *\n * @freeform\n */\n errorMessage?: string;\n /**\n * Custom search predicate; receives the item, the query and the item's\n * ancestors. Functions have no attribute form — bind as a DOM property\n */\n filter?: CTreeSelectFilter;\n /**\n * Hide the hint and error messages\n *\n * @defaultable false\n */\n hideDetails?: boolean;\n /**\n * Hint text for the field\n *\n * @freeform\n */\n hint?: string;\n /**\n * Id of the element\n *\n * @freeform\n */\n hostId?: string;\n /**\n * The tree to pick from. Arrays have no attribute form — bind as a DOM\n * property (`:items.prop` in Vue)\n */\n items?: CTreeSelectItem[];\n /**\n * Items per page before the list scrolls\n *\n * @defaultable 6\n */\n itemsPerPage?: number;\n /**\n * Element label\n *\n * @freeform\n */\n label?: string;\n /**\n * Label on top of the field\n *\n * @defaultable false\n */\n labelOnTop?: boolean;\n /**\n * Names of the levels, top level first, shown in the panel header; a\n * missing entry falls back to `texts.level(n)`. Arrays have no attribute\n * form — bind as a DOM property\n */\n levelLabels?: string[];\n /**\n * Input field name\n *\n * @freeform\n */\n name?: string;\n /**\n * Placeholder for the search input inside the panel\n *\n * @freeform\n */\n placeholder?: string;\n /**\n * Set the field as required\n */\n required?: boolean;\n /**\n * Emit the committed item with its path as a `CTreeSelectSelection` instead\n * of its value\n */\n returnObject?: boolean;\n /**\n * Shadow variant\n *\n * @defaultable false\n */\n shadow?: boolean;\n /**\n * Field height: the 44px default or the 36px `small` box\n *\n * @defaultable 'default'\n */\n size?: CFieldSize;\n /**\n * UI text overrides (i18n), merged over the English defaults. Objects have\n * no attribute form — bind as a DOM property (`:texts.prop` in Vue)\n *\n * @defaultable {}\n */\n texts?: CTreeSelectTexts;\n /**\n * Set the validity of the field\n */\n valid?: boolean;\n /**\n * Selected value: the committed item's value, or the `CTreeSelectSelection`\n * with `return-object`; `null` when nothing is selected\n */\n value?: CTreeSelectValue;\n}",
|
|
499
|
+
"description": "",
|
|
500
|
+
"kind": "interface",
|
|
501
|
+
"name": "CTreeSelectProps",
|
|
502
|
+
"owner": "c-tree-select"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"declaration": "export interface CTreeSelectSelection {\n /** The committed item's code, when it has one. */\n code?: string;\n /** The committed item's label. */\n name: string;\n /** The committed item's ancestors, root-first. */\n path: Array<{ code?: string; name: string; value: number | string }>;\n /** The committed item's value. */\n value: number | string;\n}",
|
|
506
|
+
"description": "The committed item as emitted with `return-object`: a fresh object — never\nthe `items` entry itself — with its ancestors root-first and without\n`children`.",
|
|
507
|
+
"kind": "interface",
|
|
508
|
+
"name": "CTreeSelectSelection",
|
|
509
|
+
"owner": "c-tree-select"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"declaration": "export interface CTreeSelectTexts {\n /** Accessible label of the breadcrumb navigation in the panel. */\n breadcrumb?: string;\n /**\n * Label of the \"Browse instead\" control shown in the header while a query\n * is typed.\n */\n browse?: string;\n /** Meta text on a branch row; receives its number of children. */\n children?: (count: number) => string;\n /**\n * Header text in browse mode; receives the label of the level being\n * listed.\n */\n choose?: (levelLabel: string) => string;\n /** Accessible label of the clear button. */\n clearSelection?: string;\n /** Accessible label of the close button in the fullscreen panel (narrow viewports). */\n closePanel?: string;\n /** Accessible label of the search input inside the panel. */\n filterOptions?: string;\n /**\n * Header text of a level whose rows are all leaves in an unevenly deep\n * tree (an evenly deep tree shows the step counter instead).\n */\n final?: string;\n /**\n * Default label of level `n` (1 = the top level) when `level-labels` gives\n * none.\n */\n level?: (n: number) => string;\n /** Header text in search mode; receives the number of matches. */\n matches?: (count: number) => string;\n /** Text of the row shown when nothing is listed. */\n noResults?: string;\n /** Label of the root crumb. */\n root?: string;\n /** Placeholder of the search input when the `placeholder` prop is empty. */\n searchPlaceholder?: string;\n /**\n * Label of the pinned select-branch row; receives the current branch's\n * name.\n */\n select?: (name: string) => string;\n /**\n * Header step counter shown while the tree is evenly deep (every leaf at\n * one level); receives the step and the total number of levels.\n */\n step?: (n: number, total: number) => string;\n /** Accessible label of the chevron button that opens and closes the panel. */\n toggleOptions?: string;\n}",
|
|
513
|
+
"description": "UI texts of `c-tree-select`, shallow-merged over the English defaults.\nStatic labels are strings; interpolated ones are functions.",
|
|
514
|
+
"kind": "interface",
|
|
515
|
+
"name": "CTreeSelectTexts",
|
|
516
|
+
"owner": "c-tree-select"
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"declaration": "export type CTreeSelectValue = CTreeSelectSelection | null | number | string;",
|
|
520
|
+
"description": "Selection value of `c-tree-select`: the committed item's value — or a\n with `return-object` — and `null` when\ncleared.",
|
|
521
|
+
"kind": "type-alias",
|
|
522
|
+
"name": "CTreeSelectValue",
|
|
523
|
+
"owner": "c-tree-select"
|
|
482
524
|
}
|
|
483
525
|
]
|
|
484
526
|
},
|
|
@@ -1019,7 +1061,10 @@
|
|
|
1019
1061
|
"type": {
|
|
1020
1062
|
"text": "boolean"
|
|
1021
1063
|
},
|
|
1022
|
-
"default": "false"
|
|
1064
|
+
"default": "false",
|
|
1065
|
+
"csc": {
|
|
1066
|
+
"defaultable": true
|
|
1067
|
+
}
|
|
1023
1068
|
},
|
|
1024
1069
|
{
|
|
1025
1070
|
"fieldName": "hint",
|
|
@@ -1052,7 +1097,10 @@
|
|
|
1052
1097
|
"type": {
|
|
1053
1098
|
"text": "number"
|
|
1054
1099
|
},
|
|
1055
|
-
"default": "6"
|
|
1100
|
+
"default": "6",
|
|
1101
|
+
"csc": {
|
|
1102
|
+
"defaultable": true
|
|
1103
|
+
}
|
|
1056
1104
|
},
|
|
1057
1105
|
{
|
|
1058
1106
|
"fieldName": "label",
|
|
@@ -1073,7 +1121,10 @@
|
|
|
1073
1121
|
"type": {
|
|
1074
1122
|
"text": "boolean"
|
|
1075
1123
|
},
|
|
1076
|
-
"default": "false"
|
|
1124
|
+
"default": "false",
|
|
1125
|
+
"csc": {
|
|
1126
|
+
"defaultable": true
|
|
1127
|
+
}
|
|
1077
1128
|
},
|
|
1078
1129
|
{
|
|
1079
1130
|
"fieldName": "loading",
|
|
@@ -1159,7 +1210,10 @@
|
|
|
1159
1210
|
"type": {
|
|
1160
1211
|
"text": "boolean"
|
|
1161
1212
|
},
|
|
1162
|
-
"default": "false"
|
|
1213
|
+
"default": "false",
|
|
1214
|
+
"csc": {
|
|
1215
|
+
"defaultable": true
|
|
1216
|
+
}
|
|
1163
1217
|
},
|
|
1164
1218
|
{
|
|
1165
1219
|
"fieldName": "size",
|
|
@@ -1170,7 +1224,8 @@
|
|
|
1170
1224
|
},
|
|
1171
1225
|
"default": "'default'",
|
|
1172
1226
|
"csc": {
|
|
1173
|
-
"typeAlias": "CFieldSize"
|
|
1227
|
+
"typeAlias": "CFieldSize",
|
|
1228
|
+
"defaultable": true
|
|
1174
1229
|
}
|
|
1175
1230
|
},
|
|
1176
1231
|
{
|
|
@@ -1192,6 +1247,18 @@
|
|
|
1192
1247
|
"name": "card",
|
|
1193
1248
|
"description": "The elevated surface inside the panel holding the search row and the list"
|
|
1194
1249
|
},
|
|
1250
|
+
{
|
|
1251
|
+
"name": "heading-row",
|
|
1252
|
+
"description": "The top row of the fullscreen panel (narrow viewports): the field label as heading and the close button"
|
|
1253
|
+
},
|
|
1254
|
+
{
|
|
1255
|
+
"name": "heading",
|
|
1256
|
+
"description": "The field label naming the fullscreen panel"
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
"name": "close",
|
|
1260
|
+
"description": "The close button of the fullscreen panel"
|
|
1261
|
+
},
|
|
1195
1262
|
{
|
|
1196
1263
|
"name": "search",
|
|
1197
1264
|
"description": "The search-input row at the top of the panel"
|
|
@@ -1337,7 +1404,10 @@
|
|
|
1337
1404
|
"type": {
|
|
1338
1405
|
"text": "boolean"
|
|
1339
1406
|
},
|
|
1340
|
-
"default": "false"
|
|
1407
|
+
"default": "false",
|
|
1408
|
+
"csc": {
|
|
1409
|
+
"defaultable": true
|
|
1410
|
+
}
|
|
1341
1411
|
},
|
|
1342
1412
|
{
|
|
1343
1413
|
"kind": "field",
|
|
@@ -1383,7 +1453,10 @@
|
|
|
1383
1453
|
"type": {
|
|
1384
1454
|
"text": "number"
|
|
1385
1455
|
},
|
|
1386
|
-
"default": "6"
|
|
1456
|
+
"default": "6",
|
|
1457
|
+
"csc": {
|
|
1458
|
+
"defaultable": true
|
|
1459
|
+
}
|
|
1387
1460
|
},
|
|
1388
1461
|
{
|
|
1389
1462
|
"kind": "field",
|
|
@@ -1406,7 +1479,10 @@
|
|
|
1406
1479
|
"type": {
|
|
1407
1480
|
"text": "boolean"
|
|
1408
1481
|
},
|
|
1409
|
-
"default": "false"
|
|
1482
|
+
"default": "false",
|
|
1483
|
+
"csc": {
|
|
1484
|
+
"defaultable": true
|
|
1485
|
+
}
|
|
1410
1486
|
},
|
|
1411
1487
|
{
|
|
1412
1488
|
"kind": "field",
|
|
@@ -1501,7 +1577,10 @@
|
|
|
1501
1577
|
"type": {
|
|
1502
1578
|
"text": "boolean"
|
|
1503
1579
|
},
|
|
1504
|
-
"default": "false"
|
|
1580
|
+
"default": "false",
|
|
1581
|
+
"csc": {
|
|
1582
|
+
"defaultable": true
|
|
1583
|
+
}
|
|
1505
1584
|
},
|
|
1506
1585
|
{
|
|
1507
1586
|
"kind": "field",
|
|
@@ -1513,7 +1592,8 @@
|
|
|
1513
1592
|
},
|
|
1514
1593
|
"default": "'default'",
|
|
1515
1594
|
"csc": {
|
|
1516
|
-
"typeAlias": "CFieldSize"
|
|
1595
|
+
"typeAlias": "CFieldSize",
|
|
1596
|
+
"defaultable": true
|
|
1517
1597
|
}
|
|
1518
1598
|
},
|
|
1519
1599
|
{
|
|
@@ -1524,7 +1604,10 @@
|
|
|
1524
1604
|
"type": {
|
|
1525
1605
|
"text": "CAutocompleteTexts"
|
|
1526
1606
|
},
|
|
1527
|
-
"default": "
|
|
1607
|
+
"default": "{}",
|
|
1608
|
+
"csc": {
|
|
1609
|
+
"defaultable": true
|
|
1610
|
+
}
|
|
1528
1611
|
},
|
|
1529
1612
|
{
|
|
1530
1613
|
"kind": "field",
|
|
@@ -3473,7 +3556,10 @@
|
|
|
3473
3556
|
"type": {
|
|
3474
3557
|
"text": "CDataTableTexts"
|
|
3475
3558
|
},
|
|
3476
|
-
"default": "
|
|
3559
|
+
"default": "{}",
|
|
3560
|
+
"csc": {
|
|
3561
|
+
"defaultable": true
|
|
3562
|
+
}
|
|
3477
3563
|
}
|
|
3478
3564
|
],
|
|
3479
3565
|
"slots": [
|
|
@@ -3580,6 +3666,18 @@
|
|
|
3580
3666
|
"name": "CDropdown",
|
|
3581
3667
|
"tagName": "c-dropdown",
|
|
3582
3668
|
"attributes": [
|
|
3669
|
+
{
|
|
3670
|
+
"fieldName": "closeLabel",
|
|
3671
|
+
"name": "close-label",
|
|
3672
|
+
"description": "Accessible label of the fullscreen panel's close button (narrow viewports)",
|
|
3673
|
+
"type": {
|
|
3674
|
+
"text": "string"
|
|
3675
|
+
},
|
|
3676
|
+
"default": "'Close'",
|
|
3677
|
+
"csc": {
|
|
3678
|
+
"freeform": true
|
|
3679
|
+
}
|
|
3680
|
+
},
|
|
3583
3681
|
{
|
|
3584
3682
|
"fieldName": "dropdownItemType",
|
|
3585
3683
|
"name": "dropdown-item-type",
|
|
@@ -3631,6 +3729,18 @@
|
|
|
3631
3729
|
},
|
|
3632
3730
|
"default": "0"
|
|
3633
3731
|
},
|
|
3732
|
+
{
|
|
3733
|
+
"fieldName": "label",
|
|
3734
|
+
"name": "label",
|
|
3735
|
+
"description": "The parent field's label, shown as the fullscreen panel's heading (narrow viewports)",
|
|
3736
|
+
"type": {
|
|
3737
|
+
"text": "string"
|
|
3738
|
+
},
|
|
3739
|
+
"default": "''",
|
|
3740
|
+
"csc": {
|
|
3741
|
+
"freeform": true
|
|
3742
|
+
}
|
|
3743
|
+
},
|
|
3634
3744
|
{
|
|
3635
3745
|
"fieldName": "multiple",
|
|
3636
3746
|
"name": "multiple",
|
|
@@ -3676,6 +3786,18 @@
|
|
|
3676
3786
|
"name": "menu",
|
|
3677
3787
|
"description": "The positioned dialog surface holding the field and the list"
|
|
3678
3788
|
},
|
|
3789
|
+
{
|
|
3790
|
+
"name": "heading-row",
|
|
3791
|
+
"description": "The top row of the fullscreen panel (narrow viewports): the field label as heading and the close button"
|
|
3792
|
+
},
|
|
3793
|
+
{
|
|
3794
|
+
"name": "heading",
|
|
3795
|
+
"description": "The field label naming the fullscreen panel"
|
|
3796
|
+
},
|
|
3797
|
+
{
|
|
3798
|
+
"name": "close",
|
|
3799
|
+
"description": "The close button of the fullscreen panel"
|
|
3800
|
+
},
|
|
3679
3801
|
{
|
|
3680
3802
|
"name": "list",
|
|
3681
3803
|
"description": "The scrolling listbox"
|
|
@@ -3708,21 +3830,34 @@
|
|
|
3708
3830
|
"description": "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."
|
|
3709
3831
|
},
|
|
3710
3832
|
{
|
|
3711
|
-
"name": "
|
|
3833
|
+
"name": "selectall",
|
|
3712
3834
|
"type": {
|
|
3713
|
-
"text": "CustomEvent<
|
|
3835
|
+
"text": "CustomEvent<void>"
|
|
3714
3836
|
},
|
|
3715
|
-
"description": "Fired when the
|
|
3837
|
+
"description": "Fired when the select-all row is activated; the parent (c-select) toggles\nevery listed enabled option."
|
|
3716
3838
|
},
|
|
3717
3839
|
{
|
|
3718
|
-
"name": "
|
|
3840
|
+
"name": "selectOption",
|
|
3719
3841
|
"type": {
|
|
3720
|
-
"text": "CustomEvent<
|
|
3842
|
+
"text": "CustomEvent<{ name: string; value: number | string }>"
|
|
3721
3843
|
},
|
|
3722
|
-
"description": "Fired when the
|
|
3844
|
+
"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."
|
|
3723
3845
|
}
|
|
3724
3846
|
],
|
|
3725
3847
|
"members": [
|
|
3848
|
+
{
|
|
3849
|
+
"kind": "field",
|
|
3850
|
+
"name": "closeLabel",
|
|
3851
|
+
"privacy": "public",
|
|
3852
|
+
"description": "Accessible label of the fullscreen panel's close button (narrow viewports)",
|
|
3853
|
+
"type": {
|
|
3854
|
+
"text": "string"
|
|
3855
|
+
},
|
|
3856
|
+
"default": "'Close'",
|
|
3857
|
+
"csc": {
|
|
3858
|
+
"freeform": true
|
|
3859
|
+
}
|
|
3860
|
+
},
|
|
3726
3861
|
{
|
|
3727
3862
|
"kind": "field",
|
|
3728
3863
|
"name": "dropdownItemType",
|
|
@@ -3779,6 +3914,19 @@
|
|
|
3779
3914
|
},
|
|
3780
3915
|
"default": "0"
|
|
3781
3916
|
},
|
|
3917
|
+
{
|
|
3918
|
+
"kind": "field",
|
|
3919
|
+
"name": "label",
|
|
3920
|
+
"privacy": "public",
|
|
3921
|
+
"description": "The parent field's label, shown as the fullscreen panel's heading (narrow viewports)",
|
|
3922
|
+
"type": {
|
|
3923
|
+
"text": "string"
|
|
3924
|
+
},
|
|
3925
|
+
"default": "''",
|
|
3926
|
+
"csc": {
|
|
3927
|
+
"freeform": true
|
|
3928
|
+
}
|
|
3929
|
+
},
|
|
3782
3930
|
{
|
|
3783
3931
|
"kind": "field",
|
|
3784
3932
|
"name": "multiple",
|
|
@@ -3813,7 +3961,7 @@
|
|
|
3813
3961
|
"kind": "field",
|
|
3814
3962
|
"name": "selected",
|
|
3815
3963
|
"privacy": "public",
|
|
3816
|
-
"description": "Values of the currently selected items in `multiple
|
|
3964
|
+
"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",
|
|
3817
3965
|
"type": {
|
|
3818
3966
|
"text": "(number | string)[]"
|
|
3819
3967
|
},
|
|
@@ -8363,7 +8511,10 @@
|
|
|
8363
8511
|
"type": {
|
|
8364
8512
|
"text": "boolean"
|
|
8365
8513
|
},
|
|
8366
|
-
"default": "false"
|
|
8514
|
+
"default": "false",
|
|
8515
|
+
"csc": {
|
|
8516
|
+
"defaultable": true
|
|
8517
|
+
}
|
|
8367
8518
|
},
|
|
8368
8519
|
{
|
|
8369
8520
|
"fieldName": "hint",
|
|
@@ -8396,7 +8547,10 @@
|
|
|
8396
8547
|
"type": {
|
|
8397
8548
|
"text": "number"
|
|
8398
8549
|
},
|
|
8399
|
-
"default": "6"
|
|
8550
|
+
"default": "6",
|
|
8551
|
+
"csc": {
|
|
8552
|
+
"defaultable": true
|
|
8553
|
+
}
|
|
8400
8554
|
},
|
|
8401
8555
|
{
|
|
8402
8556
|
"fieldName": "label",
|
|
@@ -8417,7 +8571,10 @@
|
|
|
8417
8571
|
"type": {
|
|
8418
8572
|
"text": "boolean"
|
|
8419
8573
|
},
|
|
8420
|
-
"default": "false"
|
|
8574
|
+
"default": "false",
|
|
8575
|
+
"csc": {
|
|
8576
|
+
"defaultable": true
|
|
8577
|
+
}
|
|
8421
8578
|
},
|
|
8422
8579
|
{
|
|
8423
8580
|
"fieldName": "loading",
|
|
@@ -8512,7 +8669,10 @@
|
|
|
8512
8669
|
"type": {
|
|
8513
8670
|
"text": "boolean"
|
|
8514
8671
|
},
|
|
8515
|
-
"default": "false"
|
|
8672
|
+
"default": "false",
|
|
8673
|
+
"csc": {
|
|
8674
|
+
"defaultable": true
|
|
8675
|
+
}
|
|
8516
8676
|
},
|
|
8517
8677
|
{
|
|
8518
8678
|
"fieldName": "size",
|
|
@@ -8523,7 +8683,8 @@
|
|
|
8523
8683
|
},
|
|
8524
8684
|
"default": "'default'",
|
|
8525
8685
|
"csc": {
|
|
8526
|
-
"typeAlias": "CFieldSize"
|
|
8686
|
+
"typeAlias": "CFieldSize",
|
|
8687
|
+
"defaultable": true
|
|
8527
8688
|
}
|
|
8528
8689
|
},
|
|
8529
8690
|
{
|
|
@@ -8541,6 +8702,18 @@
|
|
|
8541
8702
|
"name": "menu",
|
|
8542
8703
|
"description": "The dropdown surface (the positioned dialog) holding the field and the list"
|
|
8543
8704
|
},
|
|
8705
|
+
{
|
|
8706
|
+
"name": "heading-row",
|
|
8707
|
+
"description": "The top row of the fullscreen panel (narrow viewports): the field label as heading and the close button"
|
|
8708
|
+
},
|
|
8709
|
+
{
|
|
8710
|
+
"name": "heading",
|
|
8711
|
+
"description": "The field label naming the fullscreen panel"
|
|
8712
|
+
},
|
|
8713
|
+
{
|
|
8714
|
+
"name": "close",
|
|
8715
|
+
"description": "The close button of the fullscreen panel"
|
|
8716
|
+
},
|
|
8544
8717
|
{
|
|
8545
8718
|
"name": "list",
|
|
8546
8719
|
"description": "The scrolling listbox of options"
|
|
@@ -8641,7 +8814,10 @@
|
|
|
8641
8814
|
"type": {
|
|
8642
8815
|
"text": "boolean"
|
|
8643
8816
|
},
|
|
8644
|
-
"default": "false"
|
|
8817
|
+
"default": "false",
|
|
8818
|
+
"csc": {
|
|
8819
|
+
"defaultable": true
|
|
8820
|
+
}
|
|
8645
8821
|
},
|
|
8646
8822
|
{
|
|
8647
8823
|
"kind": "field",
|
|
@@ -8687,7 +8863,10 @@
|
|
|
8687
8863
|
"type": {
|
|
8688
8864
|
"text": "number"
|
|
8689
8865
|
},
|
|
8690
|
-
"default": "6"
|
|
8866
|
+
"default": "6",
|
|
8867
|
+
"csc": {
|
|
8868
|
+
"defaultable": true
|
|
8869
|
+
}
|
|
8691
8870
|
},
|
|
8692
8871
|
{
|
|
8693
8872
|
"kind": "field",
|
|
@@ -8710,7 +8889,10 @@
|
|
|
8710
8889
|
"type": {
|
|
8711
8890
|
"text": "boolean"
|
|
8712
8891
|
},
|
|
8713
|
-
"default": "false"
|
|
8892
|
+
"default": "false",
|
|
8893
|
+
"csc": {
|
|
8894
|
+
"defaultable": true
|
|
8895
|
+
}
|
|
8714
8896
|
},
|
|
8715
8897
|
{
|
|
8716
8898
|
"kind": "field",
|
|
@@ -8815,7 +8997,10 @@
|
|
|
8815
8997
|
"type": {
|
|
8816
8998
|
"text": "boolean"
|
|
8817
8999
|
},
|
|
8818
|
-
"default": "false"
|
|
9000
|
+
"default": "false",
|
|
9001
|
+
"csc": {
|
|
9002
|
+
"defaultable": true
|
|
9003
|
+
}
|
|
8819
9004
|
},
|
|
8820
9005
|
{
|
|
8821
9006
|
"kind": "field",
|
|
@@ -8827,7 +9012,8 @@
|
|
|
8827
9012
|
},
|
|
8828
9013
|
"default": "'default'",
|
|
8829
9014
|
"csc": {
|
|
8830
|
-
"typeAlias": "CFieldSize"
|
|
9015
|
+
"typeAlias": "CFieldSize",
|
|
9016
|
+
"defaultable": true
|
|
8831
9017
|
}
|
|
8832
9018
|
},
|
|
8833
9019
|
{
|
|
@@ -8838,7 +9024,10 @@
|
|
|
8838
9024
|
"type": {
|
|
8839
9025
|
"text": "CSelectTexts"
|
|
8840
9026
|
},
|
|
8841
|
-
"default": "
|
|
9027
|
+
"default": "{}",
|
|
9028
|
+
"csc": {
|
|
9029
|
+
"defaultable": true
|
|
9030
|
+
}
|
|
8842
9031
|
},
|
|
8843
9032
|
{
|
|
8844
9033
|
"kind": "field",
|
|
@@ -11595,7 +11784,10 @@
|
|
|
11595
11784
|
"type": {
|
|
11596
11785
|
"text": "boolean"
|
|
11597
11786
|
},
|
|
11598
|
-
"default": "false"
|
|
11787
|
+
"default": "false",
|
|
11788
|
+
"csc": {
|
|
11789
|
+
"defaultable": true
|
|
11790
|
+
}
|
|
11599
11791
|
},
|
|
11600
11792
|
{
|
|
11601
11793
|
"fieldName": "hint",
|
|
@@ -11640,7 +11832,10 @@
|
|
|
11640
11832
|
"type": {
|
|
11641
11833
|
"text": "boolean"
|
|
11642
11834
|
},
|
|
11643
|
-
"default": "false"
|
|
11835
|
+
"default": "false",
|
|
11836
|
+
"csc": {
|
|
11837
|
+
"defaultable": true
|
|
11838
|
+
}
|
|
11644
11839
|
},
|
|
11645
11840
|
{
|
|
11646
11841
|
"fieldName": "max",
|
|
@@ -11718,7 +11913,10 @@
|
|
|
11718
11913
|
"type": {
|
|
11719
11914
|
"text": "boolean"
|
|
11720
11915
|
},
|
|
11721
|
-
"default": "false"
|
|
11916
|
+
"default": "false",
|
|
11917
|
+
"csc": {
|
|
11918
|
+
"defaultable": true
|
|
11919
|
+
}
|
|
11722
11920
|
},
|
|
11723
11921
|
{
|
|
11724
11922
|
"fieldName": "size",
|
|
@@ -11729,7 +11927,8 @@
|
|
|
11729
11927
|
},
|
|
11730
11928
|
"default": "'default'",
|
|
11731
11929
|
"csc": {
|
|
11732
|
-
"typeAlias": "CFieldSize"
|
|
11930
|
+
"typeAlias": "CFieldSize",
|
|
11931
|
+
"defaultable": true
|
|
11733
11932
|
}
|
|
11734
11933
|
},
|
|
11735
11934
|
{
|
|
@@ -11883,7 +12082,10 @@
|
|
|
11883
12082
|
"type": {
|
|
11884
12083
|
"text": "boolean"
|
|
11885
12084
|
},
|
|
11886
|
-
"default": "false"
|
|
12085
|
+
"default": "false",
|
|
12086
|
+
"csc": {
|
|
12087
|
+
"defaultable": true
|
|
12088
|
+
}
|
|
11887
12089
|
},
|
|
11888
12090
|
{
|
|
11889
12091
|
"kind": "field",
|
|
@@ -11932,7 +12134,10 @@
|
|
|
11932
12134
|
"type": {
|
|
11933
12135
|
"text": "boolean"
|
|
11934
12136
|
},
|
|
11935
|
-
"default": "false"
|
|
12137
|
+
"default": "false",
|
|
12138
|
+
"csc": {
|
|
12139
|
+
"defaultable": true
|
|
12140
|
+
}
|
|
11936
12141
|
},
|
|
11937
12142
|
{
|
|
11938
12143
|
"kind": "field",
|
|
@@ -12018,7 +12223,10 @@
|
|
|
12018
12223
|
"type": {
|
|
12019
12224
|
"text": "boolean"
|
|
12020
12225
|
},
|
|
12021
|
-
"default": "false"
|
|
12226
|
+
"default": "false",
|
|
12227
|
+
"csc": {
|
|
12228
|
+
"defaultable": true
|
|
12229
|
+
}
|
|
12022
12230
|
},
|
|
12023
12231
|
{
|
|
12024
12232
|
"kind": "field",
|
|
@@ -12030,7 +12238,8 @@
|
|
|
12030
12238
|
},
|
|
12031
12239
|
"default": "'default'",
|
|
12032
12240
|
"csc": {
|
|
12033
|
-
"typeAlias": "CFieldSize"
|
|
12241
|
+
"typeAlias": "CFieldSize",
|
|
12242
|
+
"defaultable": true
|
|
12034
12243
|
}
|
|
12035
12244
|
},
|
|
12036
12245
|
{
|
|
@@ -12614,6 +12823,594 @@
|
|
|
12614
12823
|
],
|
|
12615
12824
|
"kind": "javascript-module",
|
|
12616
12825
|
"path": "src/components/c-tooltip/CTooltip.vue"
|
|
12826
|
+
},
|
|
12827
|
+
{
|
|
12828
|
+
"declarations": [
|
|
12829
|
+
{
|
|
12830
|
+
"customElement": true,
|
|
12831
|
+
"kind": "class",
|
|
12832
|
+
"name": "CTreeSelect",
|
|
12833
|
+
"tagName": "c-tree-select",
|
|
12834
|
+
"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.",
|
|
12835
|
+
"csc": {
|
|
12836
|
+
"usage": "docs/c-tree-select/usage.md"
|
|
12837
|
+
},
|
|
12838
|
+
"attributes": [
|
|
12839
|
+
{
|
|
12840
|
+
"fieldName": "allowBranch",
|
|
12841
|
+
"name": "allow-branch",
|
|
12842
|
+
"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",
|
|
12843
|
+
"type": {
|
|
12844
|
+
"text": "boolean"
|
|
12845
|
+
},
|
|
12846
|
+
"default": "false"
|
|
12847
|
+
},
|
|
12848
|
+
{
|
|
12849
|
+
"fieldName": "clearable",
|
|
12850
|
+
"name": "clearable",
|
|
12851
|
+
"description": "Make the selected value clearable",
|
|
12852
|
+
"type": {
|
|
12853
|
+
"text": "boolean"
|
|
12854
|
+
},
|
|
12855
|
+
"default": "false"
|
|
12856
|
+
},
|
|
12857
|
+
{
|
|
12858
|
+
"fieldName": "disabled",
|
|
12859
|
+
"name": "disabled",
|
|
12860
|
+
"description": "Disable the field",
|
|
12861
|
+
"type": {
|
|
12862
|
+
"text": "boolean"
|
|
12863
|
+
},
|
|
12864
|
+
"default": "false"
|
|
12865
|
+
},
|
|
12866
|
+
{
|
|
12867
|
+
"fieldName": "errorMessage",
|
|
12868
|
+
"name": "error-message",
|
|
12869
|
+
"description": "Error message shown in place of the hint while the field is invalid",
|
|
12870
|
+
"type": {
|
|
12871
|
+
"text": "string"
|
|
12872
|
+
},
|
|
12873
|
+
"default": "''",
|
|
12874
|
+
"csc": {
|
|
12875
|
+
"freeform": true
|
|
12876
|
+
}
|
|
12877
|
+
},
|
|
12878
|
+
{
|
|
12879
|
+
"fieldName": "hideDetails",
|
|
12880
|
+
"name": "hide-details",
|
|
12881
|
+
"description": "Hide the hint and error messages",
|
|
12882
|
+
"type": {
|
|
12883
|
+
"text": "boolean"
|
|
12884
|
+
},
|
|
12885
|
+
"default": "false",
|
|
12886
|
+
"csc": {
|
|
12887
|
+
"defaultable": true
|
|
12888
|
+
}
|
|
12889
|
+
},
|
|
12890
|
+
{
|
|
12891
|
+
"fieldName": "hint",
|
|
12892
|
+
"name": "hint",
|
|
12893
|
+
"description": "Hint text for the field",
|
|
12894
|
+
"type": {
|
|
12895
|
+
"text": "string"
|
|
12896
|
+
},
|
|
12897
|
+
"default": "''",
|
|
12898
|
+
"csc": {
|
|
12899
|
+
"freeform": true
|
|
12900
|
+
}
|
|
12901
|
+
},
|
|
12902
|
+
{
|
|
12903
|
+
"fieldName": "hostId",
|
|
12904
|
+
"name": "host-id",
|
|
12905
|
+
"description": "Id of the element",
|
|
12906
|
+
"type": {
|
|
12907
|
+
"text": "string"
|
|
12908
|
+
},
|
|
12909
|
+
"default": "''",
|
|
12910
|
+
"csc": {
|
|
12911
|
+
"freeform": true
|
|
12912
|
+
}
|
|
12913
|
+
},
|
|
12914
|
+
{
|
|
12915
|
+
"fieldName": "itemsPerPage",
|
|
12916
|
+
"name": "items-per-page",
|
|
12917
|
+
"description": "Items per page before the list scrolls",
|
|
12918
|
+
"type": {
|
|
12919
|
+
"text": "number"
|
|
12920
|
+
},
|
|
12921
|
+
"default": "6",
|
|
12922
|
+
"csc": {
|
|
12923
|
+
"defaultable": true
|
|
12924
|
+
}
|
|
12925
|
+
},
|
|
12926
|
+
{
|
|
12927
|
+
"fieldName": "label",
|
|
12928
|
+
"name": "label",
|
|
12929
|
+
"description": "Element label",
|
|
12930
|
+
"type": {
|
|
12931
|
+
"text": "string"
|
|
12932
|
+
},
|
|
12933
|
+
"default": "''",
|
|
12934
|
+
"csc": {
|
|
12935
|
+
"freeform": true
|
|
12936
|
+
}
|
|
12937
|
+
},
|
|
12938
|
+
{
|
|
12939
|
+
"fieldName": "labelOnTop",
|
|
12940
|
+
"name": "label-on-top",
|
|
12941
|
+
"description": "Label on top of the field",
|
|
12942
|
+
"type": {
|
|
12943
|
+
"text": "boolean"
|
|
12944
|
+
},
|
|
12945
|
+
"default": "false",
|
|
12946
|
+
"csc": {
|
|
12947
|
+
"defaultable": true
|
|
12948
|
+
}
|
|
12949
|
+
},
|
|
12950
|
+
{
|
|
12951
|
+
"fieldName": "name",
|
|
12952
|
+
"name": "name",
|
|
12953
|
+
"description": "Input field name",
|
|
12954
|
+
"type": {
|
|
12955
|
+
"text": "string"
|
|
12956
|
+
},
|
|
12957
|
+
"default": "''",
|
|
12958
|
+
"csc": {
|
|
12959
|
+
"freeform": true
|
|
12960
|
+
}
|
|
12961
|
+
},
|
|
12962
|
+
{
|
|
12963
|
+
"fieldName": "placeholder",
|
|
12964
|
+
"name": "placeholder",
|
|
12965
|
+
"description": "Placeholder for the search input inside the panel",
|
|
12966
|
+
"type": {
|
|
12967
|
+
"text": "string"
|
|
12968
|
+
},
|
|
12969
|
+
"default": "''",
|
|
12970
|
+
"csc": {
|
|
12971
|
+
"freeform": true
|
|
12972
|
+
}
|
|
12973
|
+
},
|
|
12974
|
+
{
|
|
12975
|
+
"fieldName": "required",
|
|
12976
|
+
"name": "required",
|
|
12977
|
+
"description": "Set the field as required",
|
|
12978
|
+
"type": {
|
|
12979
|
+
"text": "boolean"
|
|
12980
|
+
},
|
|
12981
|
+
"default": "false"
|
|
12982
|
+
},
|
|
12983
|
+
{
|
|
12984
|
+
"fieldName": "returnObject",
|
|
12985
|
+
"name": "return-object",
|
|
12986
|
+
"description": "Emit the committed item with its path as a `CTreeSelectSelection` instead\nof its value",
|
|
12987
|
+
"type": {
|
|
12988
|
+
"text": "boolean"
|
|
12989
|
+
},
|
|
12990
|
+
"default": "false"
|
|
12991
|
+
},
|
|
12992
|
+
{
|
|
12993
|
+
"fieldName": "shadow",
|
|
12994
|
+
"name": "shadow",
|
|
12995
|
+
"description": "Shadow variant",
|
|
12996
|
+
"type": {
|
|
12997
|
+
"text": "boolean"
|
|
12998
|
+
},
|
|
12999
|
+
"default": "false",
|
|
13000
|
+
"csc": {
|
|
13001
|
+
"defaultable": true
|
|
13002
|
+
}
|
|
13003
|
+
},
|
|
13004
|
+
{
|
|
13005
|
+
"fieldName": "size",
|
|
13006
|
+
"name": "size",
|
|
13007
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
13008
|
+
"type": {
|
|
13009
|
+
"text": "'default' | 'small'"
|
|
13010
|
+
},
|
|
13011
|
+
"default": "'default'",
|
|
13012
|
+
"csc": {
|
|
13013
|
+
"typeAlias": "CFieldSize",
|
|
13014
|
+
"defaultable": true
|
|
13015
|
+
}
|
|
13016
|
+
},
|
|
13017
|
+
{
|
|
13018
|
+
"fieldName": "valid",
|
|
13019
|
+
"name": "valid",
|
|
13020
|
+
"description": "Set the validity of the field",
|
|
13021
|
+
"type": {
|
|
13022
|
+
"text": "boolean"
|
|
13023
|
+
},
|
|
13024
|
+
"default": "true"
|
|
13025
|
+
},
|
|
13026
|
+
{
|
|
13027
|
+
"fieldName": "value",
|
|
13028
|
+
"name": "value",
|
|
13029
|
+
"description": "Selected value: the committed item's value, or the `CTreeSelectSelection`\nwith `return-object`; `null` when nothing is selected",
|
|
13030
|
+
"type": {
|
|
13031
|
+
"text": "CTreeSelectValue"
|
|
13032
|
+
},
|
|
13033
|
+
"default": "null"
|
|
13034
|
+
}
|
|
13035
|
+
],
|
|
13036
|
+
"cssParts": [
|
|
13037
|
+
{
|
|
13038
|
+
"name": "panel",
|
|
13039
|
+
"description": "The top-layer popover container anchored below the field"
|
|
13040
|
+
},
|
|
13041
|
+
{
|
|
13042
|
+
"name": "card",
|
|
13043
|
+
"description": "The elevated surface inside the panel holding the search row, the breadcrumb, the header and the list"
|
|
13044
|
+
},
|
|
13045
|
+
{
|
|
13046
|
+
"name": "heading-row",
|
|
13047
|
+
"description": "The top row of the fullscreen panel (narrow viewports): the field label as heading and the close button"
|
|
13048
|
+
},
|
|
13049
|
+
{
|
|
13050
|
+
"name": "heading",
|
|
13051
|
+
"description": "The field label naming the fullscreen panel"
|
|
13052
|
+
},
|
|
13053
|
+
{
|
|
13054
|
+
"name": "close",
|
|
13055
|
+
"description": "The close button of the fullscreen panel"
|
|
13056
|
+
},
|
|
13057
|
+
{
|
|
13058
|
+
"name": "search",
|
|
13059
|
+
"description": "The search-input row at the top of the panel"
|
|
13060
|
+
},
|
|
13061
|
+
{
|
|
13062
|
+
"name": "breadcrumb",
|
|
13063
|
+
"description": "The breadcrumb navigation naming the browsed level's path"
|
|
13064
|
+
},
|
|
13065
|
+
{
|
|
13066
|
+
"name": "crumb",
|
|
13067
|
+
"description": "One crumb in the breadcrumb: the root crumb, an ancestor, or the collapsed \"…\" crumb"
|
|
13068
|
+
},
|
|
13069
|
+
{
|
|
13070
|
+
"name": "header",
|
|
13071
|
+
"description": "The header line under the breadcrumb: the level to choose and its step counter, or the match count and the \"Browse instead\" control"
|
|
13072
|
+
},
|
|
13073
|
+
{
|
|
13074
|
+
"name": "list",
|
|
13075
|
+
"description": "The scrollable listbox: the level list while browsing, the results while searching"
|
|
13076
|
+
},
|
|
13077
|
+
{
|
|
13078
|
+
"name": "item",
|
|
13079
|
+
"description": "One item row in the list"
|
|
13080
|
+
},
|
|
13081
|
+
{
|
|
13082
|
+
"name": "select-branch",
|
|
13083
|
+
"description": "The pinned select-branch row at the top of a level list inside a branch (`allow-branch`)"
|
|
13084
|
+
},
|
|
13085
|
+
{
|
|
13086
|
+
"name": "code",
|
|
13087
|
+
"description": "An item's code column, in a row and in the closed field"
|
|
13088
|
+
},
|
|
13089
|
+
{
|
|
13090
|
+
"name": "path",
|
|
13091
|
+
"description": "The ancestor path line under a search result's label"
|
|
13092
|
+
},
|
|
13093
|
+
{
|
|
13094
|
+
"name": "match",
|
|
13095
|
+
"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"
|
|
13096
|
+
},
|
|
13097
|
+
{
|
|
13098
|
+
"name": "info",
|
|
13099
|
+
"description": "The no-results row shown when nothing is listed"
|
|
13100
|
+
}
|
|
13101
|
+
],
|
|
13102
|
+
"cssProperties": [],
|
|
13103
|
+
"cssStates": [],
|
|
13104
|
+
"events": [
|
|
13105
|
+
{
|
|
13106
|
+
"name": "change",
|
|
13107
|
+
"type": {
|
|
13108
|
+
"text": "CustomEvent<CTreeSelectValue>"
|
|
13109
|
+
},
|
|
13110
|
+
"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."
|
|
13111
|
+
},
|
|
13112
|
+
{
|
|
13113
|
+
"name": "change:query",
|
|
13114
|
+
"type": {
|
|
13115
|
+
"text": "CustomEvent<string>"
|
|
13116
|
+
},
|
|
13117
|
+
"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."
|
|
13118
|
+
},
|
|
13119
|
+
{
|
|
13120
|
+
"name": "input",
|
|
13121
|
+
"type": {
|
|
13122
|
+
"text": "CustomEvent<void>"
|
|
13123
|
+
},
|
|
13124
|
+
"description": "Native bubbling input event dispatched alongside every value change so a\nplain `v-model` stays in sync. Carries no detail."
|
|
13125
|
+
},
|
|
13126
|
+
{
|
|
13127
|
+
"name": "update:value",
|
|
13128
|
+
"type": {
|
|
13129
|
+
"text": "CustomEvent<CTreeSelectValue>"
|
|
13130
|
+
},
|
|
13131
|
+
"description": "Fired alongside `change` with the same detail — the `v-model` contract."
|
|
13132
|
+
}
|
|
13133
|
+
],
|
|
13134
|
+
"members": [
|
|
13135
|
+
{
|
|
13136
|
+
"kind": "field",
|
|
13137
|
+
"name": "allowBranch",
|
|
13138
|
+
"privacy": "public",
|
|
13139
|
+
"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",
|
|
13140
|
+
"type": {
|
|
13141
|
+
"text": "boolean"
|
|
13142
|
+
},
|
|
13143
|
+
"default": "false"
|
|
13144
|
+
},
|
|
13145
|
+
{
|
|
13146
|
+
"kind": "field",
|
|
13147
|
+
"name": "clearable",
|
|
13148
|
+
"privacy": "public",
|
|
13149
|
+
"description": "Make the selected value clearable",
|
|
13150
|
+
"type": {
|
|
13151
|
+
"text": "boolean"
|
|
13152
|
+
},
|
|
13153
|
+
"default": "false"
|
|
13154
|
+
},
|
|
13155
|
+
{
|
|
13156
|
+
"kind": "field",
|
|
13157
|
+
"name": "disabled",
|
|
13158
|
+
"privacy": "public",
|
|
13159
|
+
"description": "Disable the field",
|
|
13160
|
+
"type": {
|
|
13161
|
+
"text": "boolean"
|
|
13162
|
+
},
|
|
13163
|
+
"default": "false"
|
|
13164
|
+
},
|
|
13165
|
+
{
|
|
13166
|
+
"kind": "field",
|
|
13167
|
+
"name": "errorMessage",
|
|
13168
|
+
"privacy": "public",
|
|
13169
|
+
"description": "Error message shown in place of the hint while the field is invalid",
|
|
13170
|
+
"type": {
|
|
13171
|
+
"text": "string"
|
|
13172
|
+
},
|
|
13173
|
+
"default": "''",
|
|
13174
|
+
"csc": {
|
|
13175
|
+
"freeform": true
|
|
13176
|
+
}
|
|
13177
|
+
},
|
|
13178
|
+
{
|
|
13179
|
+
"kind": "field",
|
|
13180
|
+
"name": "filter",
|
|
13181
|
+
"privacy": "public",
|
|
13182
|
+
"description": "Custom search predicate; receives the item, the query and the item's\nancestors. Functions have no attribute form — bind as a DOM property",
|
|
13183
|
+
"type": {
|
|
13184
|
+
"text": "CTreeSelectFilter"
|
|
13185
|
+
}
|
|
13186
|
+
},
|
|
13187
|
+
{
|
|
13188
|
+
"kind": "field",
|
|
13189
|
+
"name": "hideDetails",
|
|
13190
|
+
"privacy": "public",
|
|
13191
|
+
"description": "Hide the hint and error messages",
|
|
13192
|
+
"type": {
|
|
13193
|
+
"text": "boolean"
|
|
13194
|
+
},
|
|
13195
|
+
"default": "false",
|
|
13196
|
+
"csc": {
|
|
13197
|
+
"defaultable": true
|
|
13198
|
+
}
|
|
13199
|
+
},
|
|
13200
|
+
{
|
|
13201
|
+
"kind": "field",
|
|
13202
|
+
"name": "hint",
|
|
13203
|
+
"privacy": "public",
|
|
13204
|
+
"description": "Hint text for the field",
|
|
13205
|
+
"type": {
|
|
13206
|
+
"text": "string"
|
|
13207
|
+
},
|
|
13208
|
+
"default": "''",
|
|
13209
|
+
"csc": {
|
|
13210
|
+
"freeform": true
|
|
13211
|
+
}
|
|
13212
|
+
},
|
|
13213
|
+
{
|
|
13214
|
+
"kind": "field",
|
|
13215
|
+
"name": "hostId",
|
|
13216
|
+
"privacy": "public",
|
|
13217
|
+
"description": "Id of the element",
|
|
13218
|
+
"type": {
|
|
13219
|
+
"text": "string"
|
|
13220
|
+
},
|
|
13221
|
+
"default": "''",
|
|
13222
|
+
"csc": {
|
|
13223
|
+
"freeform": true
|
|
13224
|
+
}
|
|
13225
|
+
},
|
|
13226
|
+
{
|
|
13227
|
+
"kind": "field",
|
|
13228
|
+
"name": "items",
|
|
13229
|
+
"privacy": "public",
|
|
13230
|
+
"description": "The tree to pick from. Arrays have no attribute form — bind as a DOM\nproperty (`:items.prop` in Vue)",
|
|
13231
|
+
"type": {
|
|
13232
|
+
"text": "CTreeSelectItem[]"
|
|
13233
|
+
},
|
|
13234
|
+
"default": "() => []"
|
|
13235
|
+
},
|
|
13236
|
+
{
|
|
13237
|
+
"kind": "field",
|
|
13238
|
+
"name": "itemsPerPage",
|
|
13239
|
+
"privacy": "public",
|
|
13240
|
+
"description": "Items per page before the list scrolls",
|
|
13241
|
+
"type": {
|
|
13242
|
+
"text": "number"
|
|
13243
|
+
},
|
|
13244
|
+
"default": "6",
|
|
13245
|
+
"csc": {
|
|
13246
|
+
"defaultable": true
|
|
13247
|
+
}
|
|
13248
|
+
},
|
|
13249
|
+
{
|
|
13250
|
+
"kind": "field",
|
|
13251
|
+
"name": "label",
|
|
13252
|
+
"privacy": "public",
|
|
13253
|
+
"description": "Element label",
|
|
13254
|
+
"type": {
|
|
13255
|
+
"text": "string"
|
|
13256
|
+
},
|
|
13257
|
+
"default": "''",
|
|
13258
|
+
"csc": {
|
|
13259
|
+
"freeform": true
|
|
13260
|
+
}
|
|
13261
|
+
},
|
|
13262
|
+
{
|
|
13263
|
+
"kind": "field",
|
|
13264
|
+
"name": "labelOnTop",
|
|
13265
|
+
"privacy": "public",
|
|
13266
|
+
"description": "Label on top of the field",
|
|
13267
|
+
"type": {
|
|
13268
|
+
"text": "boolean"
|
|
13269
|
+
},
|
|
13270
|
+
"default": "false",
|
|
13271
|
+
"csc": {
|
|
13272
|
+
"defaultable": true
|
|
13273
|
+
}
|
|
13274
|
+
},
|
|
13275
|
+
{
|
|
13276
|
+
"kind": "field",
|
|
13277
|
+
"name": "levelLabels",
|
|
13278
|
+
"privacy": "public",
|
|
13279
|
+
"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",
|
|
13280
|
+
"type": {
|
|
13281
|
+
"text": "string[]"
|
|
13282
|
+
}
|
|
13283
|
+
},
|
|
13284
|
+
{
|
|
13285
|
+
"kind": "field",
|
|
13286
|
+
"name": "name",
|
|
13287
|
+
"privacy": "public",
|
|
13288
|
+
"description": "Input field name",
|
|
13289
|
+
"type": {
|
|
13290
|
+
"text": "string"
|
|
13291
|
+
},
|
|
13292
|
+
"default": "''",
|
|
13293
|
+
"csc": {
|
|
13294
|
+
"freeform": true
|
|
13295
|
+
}
|
|
13296
|
+
},
|
|
13297
|
+
{
|
|
13298
|
+
"kind": "field",
|
|
13299
|
+
"name": "placeholder",
|
|
13300
|
+
"privacy": "public",
|
|
13301
|
+
"description": "Placeholder for the search input inside the panel",
|
|
13302
|
+
"type": {
|
|
13303
|
+
"text": "string"
|
|
13304
|
+
},
|
|
13305
|
+
"default": "''",
|
|
13306
|
+
"csc": {
|
|
13307
|
+
"freeform": true
|
|
13308
|
+
}
|
|
13309
|
+
},
|
|
13310
|
+
{
|
|
13311
|
+
"kind": "field",
|
|
13312
|
+
"name": "required",
|
|
13313
|
+
"privacy": "public",
|
|
13314
|
+
"description": "Set the field as required",
|
|
13315
|
+
"type": {
|
|
13316
|
+
"text": "boolean"
|
|
13317
|
+
},
|
|
13318
|
+
"default": "false"
|
|
13319
|
+
},
|
|
13320
|
+
{
|
|
13321
|
+
"kind": "field",
|
|
13322
|
+
"name": "returnObject",
|
|
13323
|
+
"privacy": "public",
|
|
13324
|
+
"description": "Emit the committed item with its path as a `CTreeSelectSelection` instead\nof its value",
|
|
13325
|
+
"type": {
|
|
13326
|
+
"text": "boolean"
|
|
13327
|
+
},
|
|
13328
|
+
"default": "false"
|
|
13329
|
+
},
|
|
13330
|
+
{
|
|
13331
|
+
"kind": "field",
|
|
13332
|
+
"name": "shadow",
|
|
13333
|
+
"privacy": "public",
|
|
13334
|
+
"description": "Shadow variant",
|
|
13335
|
+
"type": {
|
|
13336
|
+
"text": "boolean"
|
|
13337
|
+
},
|
|
13338
|
+
"default": "false",
|
|
13339
|
+
"csc": {
|
|
13340
|
+
"defaultable": true
|
|
13341
|
+
}
|
|
13342
|
+
},
|
|
13343
|
+
{
|
|
13344
|
+
"kind": "field",
|
|
13345
|
+
"name": "size",
|
|
13346
|
+
"privacy": "public",
|
|
13347
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
13348
|
+
"type": {
|
|
13349
|
+
"text": "'default' | 'small'"
|
|
13350
|
+
},
|
|
13351
|
+
"default": "'default'",
|
|
13352
|
+
"csc": {
|
|
13353
|
+
"typeAlias": "CFieldSize",
|
|
13354
|
+
"defaultable": true
|
|
13355
|
+
}
|
|
13356
|
+
},
|
|
13357
|
+
{
|
|
13358
|
+
"kind": "field",
|
|
13359
|
+
"name": "texts",
|
|
13360
|
+
"privacy": "public",
|
|
13361
|
+
"description": "UI text overrides (i18n), merged over the English defaults. Objects have\nno attribute form — bind as a DOM property (`:texts.prop` in Vue)",
|
|
13362
|
+
"type": {
|
|
13363
|
+
"text": "CTreeSelectTexts"
|
|
13364
|
+
},
|
|
13365
|
+
"default": "{}",
|
|
13366
|
+
"csc": {
|
|
13367
|
+
"defaultable": true
|
|
13368
|
+
}
|
|
13369
|
+
},
|
|
13370
|
+
{
|
|
13371
|
+
"kind": "field",
|
|
13372
|
+
"name": "valid",
|
|
13373
|
+
"privacy": "public",
|
|
13374
|
+
"description": "Set the validity of the field",
|
|
13375
|
+
"type": {
|
|
13376
|
+
"text": "boolean"
|
|
13377
|
+
},
|
|
13378
|
+
"default": "true"
|
|
13379
|
+
},
|
|
13380
|
+
{
|
|
13381
|
+
"kind": "field",
|
|
13382
|
+
"name": "value",
|
|
13383
|
+
"privacy": "public",
|
|
13384
|
+
"description": "Selected value: the committed item's value, or the `CTreeSelectSelection`\nwith `return-object`; `null` when nothing is selected",
|
|
13385
|
+
"type": {
|
|
13386
|
+
"text": "CTreeSelectValue"
|
|
13387
|
+
},
|
|
13388
|
+
"default": "null"
|
|
13389
|
+
}
|
|
13390
|
+
],
|
|
13391
|
+
"slots": []
|
|
13392
|
+
}
|
|
13393
|
+
],
|
|
13394
|
+
"exports": [
|
|
13395
|
+
{
|
|
13396
|
+
"declaration": {
|
|
13397
|
+
"module": "src/components/c-tree-select/CTreeSelect.vue",
|
|
13398
|
+
"name": "CTreeSelect"
|
|
13399
|
+
},
|
|
13400
|
+
"kind": "js",
|
|
13401
|
+
"name": "CTreeSelect"
|
|
13402
|
+
},
|
|
13403
|
+
{
|
|
13404
|
+
"declaration": {
|
|
13405
|
+
"module": "src/components/c-tree-select/CTreeSelect.vue",
|
|
13406
|
+
"name": "CTreeSelect"
|
|
13407
|
+
},
|
|
13408
|
+
"kind": "custom-element-definition",
|
|
13409
|
+
"name": "c-tree-select"
|
|
13410
|
+
}
|
|
13411
|
+
],
|
|
13412
|
+
"kind": "javascript-module",
|
|
13413
|
+
"path": "src/components/c-tree-select/CTreeSelect.vue"
|
|
12617
13414
|
}
|
|
12618
13415
|
]
|
|
12619
13416
|
}
|