@cscfi/csc-ui 4.0.0-alpha.3 → 4.0.0-alpha.31

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.
Files changed (115) hide show
  1. package/dist/csc-ui.js +14305 -8019
  2. package/dist/custom-elements.json +8952 -4605
  3. package/dist/docs/c-alert/usage.md +24 -0
  4. package/dist/docs/c-autocomplete/usage.md +152 -0
  5. package/dist/docs/c-breadcrumb/usage.md +104 -0
  6. package/dist/docs/c-breadcrumb-item/usage.md +1 -0
  7. package/dist/docs/c-button-group/usage.md +14 -1
  8. package/dist/docs/c-checkbox/usage.md +53 -0
  9. package/dist/docs/c-date-picker/usage.md +224 -0
  10. package/dist/docs/c-main/usage.md +21 -1
  11. package/dist/docs/c-menu/usage.md +15 -0
  12. package/dist/docs/c-menu-item/usage.md +6 -0
  13. package/dist/docs/c-number-field/usage.md +112 -0
  14. package/dist/docs/c-option-value/usage.md +1 -0
  15. package/dist/docs/c-popover/usage.md +33 -0
  16. package/dist/docs/c-progress-bar/usage.md +23 -0
  17. package/dist/docs/c-progress-circle/usage.md +25 -0
  18. package/dist/docs/c-radio/usage.md +45 -0
  19. package/dist/docs/c-radio-group/usage.md +67 -0
  20. package/dist/docs/c-select/usage.md +127 -0
  21. package/dist/docs/c-side-navigation/usage.md +21 -0
  22. package/dist/docs/c-spinner/usage.md +21 -0
  23. package/dist/docs/c-switch/usage.md +36 -0
  24. package/dist/docs/c-tab-buttons/usage.md +7 -0
  25. package/dist/docs/c-table/usage.md +14 -0
  26. package/dist/docs/c-text-field/usage.md +106 -0
  27. package/dist/docs/c-time-picker/usage.md +170 -0
  28. package/dist/docs/c-toolbar/usage.md +17 -0
  29. package/dist/docs/c-tooltip/usage.md +30 -0
  30. package/dist/docs/c-tree-select/usage.md +156 -0
  31. package/dist/floating-ui.dom-DvzxEaDJ.js +1292 -0
  32. package/dist/styles/css/tailwind-theme.css +33 -0
  33. package/dist/styles/css/tokens.css +719 -197
  34. package/dist/vscode.css-custom-data.json +474 -20
  35. package/dist/vscode.html-custom-data.json +659 -57
  36. package/dist/web-types.json +2813 -697
  37. package/dist-types/components/c-alert/CAlert.vue.d.ts +18 -4
  38. package/dist-types/components/c-autocomplete/CAutocomplete.vue.d.ts +118 -21
  39. package/dist-types/components/c-breadcrumb/CBreadcrumb.vue.d.ts +35 -0
  40. package/dist-types/components/c-breadcrumb/fit.d.ts +29 -0
  41. package/dist-types/components/c-breadcrumb-item/CBreadcrumbItem.vue.d.ts +31 -0
  42. package/dist-types/components/c-button/CButton.vue.d.ts +4 -4
  43. package/dist-types/components/c-button-group/CButtonGroup.vue.d.ts +1 -1
  44. package/dist-types/components/c-checkbox/CCheckbox.vue.d.ts +3 -3
  45. package/dist-types/components/c-data-table/CDataTable.vue.d.ts +6 -2
  46. package/dist-types/components/c-date-picker/CDatePicker.vue.d.ts +282 -0
  47. package/dist-types/components/c-date-picker/dates.d.ts +119 -0
  48. package/dist-types/components/c-dropdown/CDropdown.vue.d.ts +50 -7
  49. package/dist-types/components/c-icon-button/CIconButton.vue.d.ts +1 -1
  50. package/dist-types/components/c-input/CInput.vue.d.ts +6 -6
  51. package/dist-types/components/c-list-item/CListItem.vue.d.ts +1 -1
  52. package/dist-types/components/c-main/CMain.vue.d.ts +10 -2
  53. package/dist-types/components/c-menu/CMenu.vue.d.ts +13 -3
  54. package/dist-types/components/c-menu-item/CMenuItem.vue.d.ts +30 -3
  55. package/dist-types/components/c-number-field/CNumberField.vue.d.ts +174 -0
  56. package/dist-types/components/c-number-field/numbers.d.ts +58 -0
  57. package/dist-types/components/c-otp-input/COtpInput.vue.d.ts +1 -1
  58. package/dist-types/components/c-pagination/CPagination.vue.d.ts +1 -1
  59. package/dist-types/components/c-popover/CPopover.vue.d.ts +43 -0
  60. package/dist-types/components/c-progress-circle/CProgressCircle.vue.d.ts +32 -0
  61. package/dist-types/components/c-radio/CRadio.vue.d.ts +7 -11
  62. package/dist-types/components/c-radio-group/CRadioGroup.vue.d.ts +10 -48
  63. package/dist-types/components/c-select/CSelect.vue.d.ts +115 -27
  64. package/dist-types/components/c-side-navigation/CSideNavigation.vue.d.ts +1 -1
  65. package/dist-types/components/c-side-navigation-item/CSideNavigationItem.vue.d.ts +1 -1
  66. package/dist-types/components/c-slider/CSlider.vue.d.ts +3 -3
  67. package/dist-types/components/c-sub-navigation-item/CSubNavigationItem.vue.d.ts +1 -1
  68. package/dist-types/components/c-tab-buttons/CTabButtons.vue.d.ts +1 -1
  69. package/dist-types/components/c-table/CTable.vue.d.ts +11 -1
  70. package/dist-types/components/c-table/injectTableStyles.d.ts +1 -0
  71. package/dist-types/components/c-tag/CTag.vue.d.ts +7 -0
  72. package/dist-types/components/c-tags/CTags.vue.d.ts +1 -1
  73. package/dist-types/components/c-text-field/CTextField.vue.d.ts +27 -10
  74. package/dist-types/components/c-time-picker/CTimePicker.vue.d.ts +210 -0
  75. package/dist-types/components/c-time-picker/times.d.ts +82 -0
  76. package/dist-types/components/c-toasts/CToasts.vue.d.ts +1 -1
  77. package/dist-types/components/c-toolbar/CToolbar.vue.d.ts +10 -1
  78. package/dist-types/components/c-tooltip/CTooltip.vue.d.ts +49 -0
  79. package/dist-types/components/c-tree-select/CTreeSelect.vue.d.ts +261 -0
  80. package/dist-types/index.d.ts +19 -2
  81. package/dist-types/shared/FieldMessage.vue.d.ts +21 -0
  82. package/dist-types/shared/PanelHeadingRow.vue.d.ts +13 -0
  83. package/dist-types/shared/SelectionIndicator.vue.d.ts +21 -0
  84. package/dist-types/shared/TypedField.vue.d.ts +46 -0
  85. package/dist-types/shared/appDefaults.d.ts +75 -0
  86. package/dist-types/shared/defineElement.d.ts +1 -0
  87. package/dist-types/shared/inputMask.d.ts +106 -0
  88. package/dist-types/shared/lightDismiss.d.ts +35 -0
  89. package/dist-types/shared/modalStack.d.ts +4 -3
  90. package/dist-types/shared/optionLabel.d.ts +18 -0
  91. package/dist-types/shared/pageLock.d.ts +26 -0
  92. package/dist-types/shared/peekCap.d.ts +35 -0
  93. package/dist-types/shared/popoverChain.d.ts +65 -0
  94. package/dist-types/shared/positionArea.d.ts +13 -0
  95. package/dist-types/shared/reducedMotion.d.ts +10 -0
  96. package/dist-types/shared/selectAll.d.ts +29 -0
  97. package/dist-types/shared/splitMatches.d.ts +18 -0
  98. package/dist-types/shared/useAnchoredPanel.d.ts +102 -0
  99. package/dist-types/shared/useDesignatedTrigger.d.ts +41 -0
  100. package/dist-types/shared/useFallbackPosition.d.ts +63 -0
  101. package/dist-types/shared/useHostStates.d.ts +25 -0
  102. package/dist-types/shared/useKeyboardModality.d.ts +7 -0
  103. package/dist-types/shared/useNarrowViewport.d.ts +19 -0
  104. package/dist-types/shared/useScrollStrip.d.ts +39 -0
  105. package/dist-types/shared/useStatusAnnouncer.d.ts +33 -0
  106. package/dist-types/shared/useTypedField.d.ts +103 -0
  107. package/dist-types/shared/visualViewport.d.ts +51 -0
  108. package/dist-types/tag-name-map.d.ts +769 -54
  109. package/dist-types/theme/chart-data.d.ts +51 -0
  110. package/dist-types/theme/ramp.d.ts +38 -0
  111. package/dist-types/theme/themeMode.d.ts +51 -0
  112. package/dist-types/types.d.ts +7 -0
  113. package/package.json +21 -9
  114. package/dist/css-anchor-positioning-fn-RTxo68pt.js +0 -6447
  115. package/dist-types/shared/anchorPolyfill.d.ts +0 -24
@@ -1,9 +1,21 @@
1
1
  /**
2
- * The alert types that render a status icon and carry that status's accent
3
- * colour.
2
+ * The alert types that carry a status family's accent colour; `default` uses
3
+ * the brand primary. Every type renders its status icon.
4
4
  */
5
5
  export type CAlertIconType = 'error' | 'info' | 'success' | 'warning';
6
6
  export interface CAlertProps {
7
+ /**
8
+ * Show a dismiss button. The alert only emits `dismiss` — removing it from
9
+ * the page stays the consumer's job.
10
+ */
11
+ dismissible?: boolean;
12
+ /**
13
+ * Heading rendered above the message. The `heading` slot overrides it for
14
+ * rich content.
15
+ *
16
+ * @freeform
17
+ */
18
+ heading?: string;
7
19
  /**
8
20
  * Type of the alert
9
21
  *
@@ -13,15 +25,17 @@ export interface CAlertProps {
13
25
  }
14
26
  /**
15
27
  * Type of the alert. `default` — equivalently, omitting the attribute —
16
- * renders the neutral box without a status icon.
28
+ * renders the brand-primary look; the four status types carry their status
29
+ * family's colours.
17
30
  */
18
31
  export type CAlertType = 'default' | CAlertIconType;
19
32
  declare const _default: typeof __VLS_export;
20
33
  export default _default;
21
34
  declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CAlertProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CAlertProps> & Readonly<{}>, {
22
35
  type: CAlertType;
36
+ dismissible: boolean;
23
37
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
24
- title?: (props: {}) => any;
38
+ heading?: (props: {}) => any;
25
39
  } & {
26
40
  default?: (props: {}) => any;
27
41
  }>;
@@ -17,7 +17,10 @@ export type CAutocompleteItem = CSelectItem;
17
17
  export interface CAutocompleteOption {
18
18
  /** Whether the option is disabled. */
19
19
  disabled: boolean;
20
- /** The option's display label. */
20
+ /**
21
+ * The option's label: its `name`, else the text of its `c-option-value`,
22
+ * else its whole text content (for an `items` entry, its `name`).
23
+ */
21
24
  label: string;
22
25
  /** The option's value. */
23
26
  value: number | string;
@@ -41,7 +44,11 @@ export interface CAutocompleteProps {
41
44
  external?: boolean;
42
45
  /** Custom filter predicate; receives a normalized option + the query. Ignored when `external` is set */
43
46
  filter?: CAutocompleteFilter;
44
- /** Hide the hint and error messages */
47
+ /**
48
+ * Hide the hint and error messages
49
+ *
50
+ * @defaultable false
51
+ */
45
52
  hideDetails?: boolean;
46
53
  /**
47
54
  * Hint text for the input
@@ -57,7 +64,11 @@ export interface CAutocompleteProps {
57
64
  hostId?: string;
58
65
  /** Dropdown items (when not using <c-option> elements) */
59
66
  items?: CAutocompleteItem[];
60
- /** Items per page before the list scrolls */
67
+ /**
68
+ * Items per page before the list scrolls
69
+ *
70
+ * @defaultable 6
71
+ */
61
72
  itemsPerPage?: number;
62
73
  /**
63
74
  * Element label
@@ -65,22 +76,34 @@ export interface CAutocompleteProps {
65
76
  * @freeform
66
77
  */
67
78
  label?: string;
68
- /** Label on top of the input */
79
+ /**
80
+ * Label on top of the input
81
+ *
82
+ * @defaultable false
83
+ */
69
84
  labelOnTop?: boolean;
70
85
  /** Show loading state */
71
86
  loading?: boolean;
72
87
  /**
73
- * Input field name
74
- *
75
- * @freeform
88
+ * In `multiple` mode, show at most this many selected-value tags and fold
89
+ * the rest into one "+N more" tag; `0` shows no tags and reads "N selected"
90
+ * instead; unset shows every tag
76
91
  */
77
- name?: string;
92
+ maxTags?: number;
93
+ /**
94
+ * Allow selecting several options: rows toggle, the panel stays open and
95
+ * keeps its query, `value` becomes an array of the selected values (items
96
+ * with `return-object`) in the order they were picked, and the picks show
97
+ * as tags inside the field. Arrays have no attribute form — bind `value` as
98
+ * a DOM property
99
+ */
100
+ multiple?: boolean;
78
101
  /**
79
- * Message shown when the query matches no options
102
+ * Input field name
80
103
  *
81
104
  * @freeform
82
105
  */
83
- noResultsText?: string;
106
+ name?: string;
84
107
  /**
85
108
  * Placeholder for the in-panel search input
86
109
  *
@@ -91,15 +114,86 @@ export interface CAutocompleteProps {
91
114
  required?: boolean;
92
115
  /** Return object instead of value */
93
116
  returnObject?: boolean;
94
- /** Shadow variant */
117
+ /**
118
+ * In `multiple` mode, pin a select-all row at the top of the list. Its
119
+ * checkbox shows whether none, some or all enabled options currently listed
120
+ * — the matches while a query is typed, the given `items` with `external` —
121
+ * are selected; activating it selects them all, or, when all are selected,
122
+ * unselects them. Ignored in single mode
123
+ */
124
+ selectAll?: boolean;
125
+ /**
126
+ * Shadow variant
127
+ *
128
+ * @defaultable false
129
+ */
95
130
  shadow?: boolean;
96
- /** Field height: the 44px default or the 36px `small` box */
131
+ /**
132
+ * Field height: the 52px default (the shared control height) or the 36px `small` box
133
+ *
134
+ * @defaultable 'default'
135
+ */
97
136
  size?: CFieldSize;
137
+ /**
138
+ * UI text overrides (i18n), merged over the English defaults. Objects have
139
+ * no attribute form — bind as a DOM property (`:texts.prop` in Vue)
140
+ *
141
+ * @defaultable {}
142
+ */
143
+ texts?: CAutocompleteTexts;
98
144
  /** Set the validity of the input */
99
145
  valid?: boolean;
100
- /** Selected value (scalar, or object when return-object is set) */
101
- value?: CAutocompleteItem | null | number | string;
146
+ /**
147
+ * Selected value: the option's value, or the whole item with
148
+ * `return-object`; an array of them in `multiple` mode
149
+ */
150
+ value?: CAutocompleteValue;
151
+ }
152
+ /**
153
+ * UI texts of `c-autocomplete`, shallow-merged over the English defaults.
154
+ * Static labels are strings; count- or label-interpolated ones are
155
+ * functions.
156
+ */
157
+ export interface CAutocompleteTexts {
158
+ /** Accessible label of the clear button. */
159
+ clearSelection?: string;
160
+ /** Accessible label of the close button in the fullscreen panel (narrow viewports). */
161
+ closePanel?: string;
162
+ /** Accessible label of the search input inside the panel. */
163
+ filterOptions?: string;
164
+ /** Text of the loading row shown while `loading` with nothing to list. */
165
+ loading?: string;
166
+ /**
167
+ * Text of the overflow tag when `max-tags` folds the selection; receives the
168
+ * number of hidden tags.
169
+ */
170
+ more?: (count: number) => string;
171
+ /** Text of the row shown when the query matches no options. */
172
+ noResults?: string;
173
+ /** Accessible label of a tag's remove button; receives the option label. */
174
+ remove?: (label: string) => string;
175
+ /** Placeholder of the search input when the `placeholder` prop is empty. */
176
+ searchPlaceholder?: string;
177
+ /**
178
+ * Label of the select-all row; receives the number of enabled options
179
+ * listed.
180
+ */
181
+ selectAll?: (count: number) => string;
182
+ /**
183
+ * Field text when `max-tags="0"` shows no tags; receives the selection
184
+ * count.
185
+ */
186
+ selected?: (count: number) => string;
187
+ /** Accessible label of the chevron button that opens and closes the panel. */
188
+ toggleOptions?: string;
102
189
  }
190
+ /**
191
+ * Selection value of `c-autocomplete`: the committed option's value — or the
192
+ * whole `{ name, value }` item with `return-object` — and `null` when
193
+ * cleared. In `multiple` mode an array of them in the order they were
194
+ * picked, `[]` when empty.
195
+ */
196
+ export type CAutocompleteValue = (number | string)[] | CAutocompleteItem | CAutocompleteItem[] | null | number | string;
103
197
  declare const _default: typeof __VLS_export;
104
198
  export default _default;
105
199
  declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CAutocompleteProps, {
@@ -107,25 +201,28 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CAutoc
107
201
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CAutocompleteProps> & Readonly<{}>, {
108
202
  label: string;
109
203
  filter: CAutocompleteFilter;
110
- value: CAutocompleteItem | null | number | string;
204
+ value: CAutocompleteValue;
111
205
  name: string;
206
+ multiple: boolean;
207
+ itemsPerPage: number;
208
+ size: CFieldSize;
209
+ texts: CAutocompleteTexts;
210
+ hideDetails: boolean;
211
+ labelOnTop: boolean;
212
+ shadow: boolean;
112
213
  clearable: boolean;
113
214
  disabled: boolean;
114
215
  errorMessage: string;
115
216
  external: boolean;
116
- hideDetails: boolean;
117
217
  hint: string;
118
218
  hostId: string;
119
219
  items: CAutocompleteItem[];
120
- itemsPerPage: number;
121
- labelOnTop: boolean;
122
220
  loading: boolean;
123
- noResultsText: string;
221
+ maxTags: number;
124
222
  placeholder: string;
125
223
  required: boolean;
126
224
  returnObject: boolean;
127
- shadow: boolean;
128
- size: CFieldSize;
225
+ selectAll: boolean;
129
226
  valid: boolean;
130
227
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
131
228
  pre?: (props: {}) => any;
@@ -0,0 +1,35 @@
1
+ export interface CBreadcrumbProps {
2
+ /**
3
+ * UI text overrides (i18n), merged over the English defaults. Objects have
4
+ * no attribute form — set it as a property
5
+ *
6
+ * @defaultable {}
7
+ */
8
+ texts?: CBreadcrumbTexts;
9
+ }
10
+ /**
11
+ * UI texts of `c-breadcrumb`, shallow-merged over the English defaults.
12
+ * Static labels are strings; interpolated ones are functions.
13
+ */
14
+ export interface CBreadcrumbTexts {
15
+ /** Accessible name of the breadcrumb navigation. */
16
+ breadcrumb?: string;
17
+ /** Accessible name of the fold button; receives the number of folded crumbs. */
18
+ fold?: (count: number) => string;
19
+ }
20
+ declare const _default: typeof __VLS_export;
21
+ export default _default;
22
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CBreadcrumbProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CBreadcrumbProps> & Readonly<{}>, {
23
+ texts: CBreadcrumbTexts;
24
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
25
+ first?: (props: {}) => any;
26
+ } & {
27
+ folded?: (props: {}) => any;
28
+ } & {
29
+ default?: (props: {}) => any;
30
+ }>;
31
+ type __VLS_WithSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -0,0 +1,29 @@
1
+ /**
2
+ * The breadcrumb's fold arithmetic (ADR-0067), kept free of the DOM so the
3
+ * node project can pin it down. The component measures each crumb once, in
4
+ * the row and untruncated, and asks `fitCrumbs` how to lay out the current
5
+ * width.
6
+ */
7
+ /** One crumb's widths in px, measured in the row: its whole item, separator included. */
8
+ export interface CBreadcrumbCrumbWidth {
9
+ /** The narrowest the crumb may get when its label truncates. */
10
+ floor: number;
11
+ /** The untruncated width. */
12
+ natural: number;
13
+ }
14
+ export interface CBreadcrumbFit {
15
+ /** Width cap for the current (last) crumb, or `null` when it keeps its natural width. */
16
+ currentMax: null | number;
17
+ /** Width cap for the first crumb, or `null` when it keeps its natural width. */
18
+ firstMax: null | number;
19
+ /** How many crumbs fold, counted from the second one. */
20
+ folded: number;
21
+ }
22
+ /**
23
+ * Lay the crumbs out in `available` px: fold middle crumbs, the one nearest
24
+ * the first crumb first, until the row fits — the fold button joining it at
25
+ * `foldWidth` — never the first or the current (last) crumb. When nothing
26
+ * more can fold, truncate the current crumb down to its floor, then the
27
+ * first one.
28
+ */
29
+ export declare const fitCrumbs: (crumbs: readonly CBreadcrumbCrumbWidth[], foldWidth: number, available: number) => CBreadcrumbFit;
@@ -0,0 +1,31 @@
1
+ export interface CBreadcrumbItemProps {
2
+ /**
3
+ * URL of the page the crumb leads to. Ignored on the current crumb (the
4
+ * last one); a crumb without it names a level that has no page and renders
5
+ * as plain text
6
+ *
7
+ * @freeform any URL
8
+ */
9
+ href?: string;
10
+ /**
11
+ * Browsing context the link opens in; the same tab when unset
12
+ *
13
+ * @freeform any browsing-context name (e.g. _blank, _self)
14
+ */
15
+ target?: string;
16
+ }
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
19
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CBreadcrumbItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CBreadcrumbItemProps> & Readonly<{}>, {
20
+ href: string;
21
+ target: string;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
23
+ icon?: (props: {}) => any;
24
+ } & {
25
+ default?: (props: {}) => any;
26
+ }>;
27
+ type __VLS_WithSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
@@ -119,19 +119,19 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CButto
119
119
  outlined: boolean;
120
120
  value: number | string;
121
121
  type: CButtonType;
122
+ size: CButtonSize;
123
+ fit: boolean;
122
124
  disabled: boolean;
123
125
  hostId: string;
124
126
  loading: boolean;
125
- size: CButtonSize;
127
+ href: string;
128
+ target: string;
126
129
  active: boolean;
127
130
  danger: boolean;
128
- fit: boolean;
129
131
  ghost: boolean;
130
- href: string;
131
132
  inverted: boolean;
132
133
  noRadius: boolean;
133
134
  noRipple: boolean;
134
- target: string;
135
135
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
136
136
  icon?: (props: {}) => any;
137
137
  } & {
@@ -53,9 +53,9 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CButto
53
53
  value: CButtonGroupValue;
54
54
  mandatory: boolean;
55
55
  multiple: boolean;
56
+ size: CButtonGroupSize;
56
57
  disabled: boolean;
57
58
  required: boolean;
58
- size: CButtonGroupSize;
59
59
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
60
60
  default?: (props: {}) => any;
61
61
  }>;
@@ -90,16 +90,16 @@ interface CCheckboxProps {
90
90
  */
91
91
  value?: boolean | number | string;
92
92
  }
93
- declare var __VLS_7: {};
93
+ declare var __VLS_12: {};
94
94
  type __VLS_Slots = {} & {
95
- default?: (props: typeof __VLS_7) => any;
95
+ default?: (props: typeof __VLS_12) => any;
96
96
  };
97
97
  declare const __VLS_base: import("vue").DefineComponent<CCheckboxProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CCheckboxProps> & Readonly<{}>, {
98
98
  label: string;
99
99
  value: boolean | number | string;
100
+ hideDetails: boolean;
100
101
  disabled: boolean;
101
102
  errorMessage: string;
102
- hideDetails: boolean;
103
103
  hint: string;
104
104
  hostId: string;
105
105
  required: boolean;
@@ -147,7 +147,11 @@ export interface CDataTableProps {
147
147
  stickyFooter?: boolean;
148
148
  /** Keep the header row visible while the table scrolls vertically. */
149
149
  stickyHeader?: boolean;
150
- /** UI text overrides (i18n), merged over the English defaults. */
150
+ /**
151
+ * UI text overrides (i18n), merged over the English defaults.
152
+ *
153
+ * @defaultable {}
154
+ */
151
155
  texts?: CDataTableTexts;
152
156
  }
153
157
  /** A single data row — the consumer's own plain domain object. */
@@ -194,6 +198,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CDataT
194
198
  filter: string;
195
199
  expanded: string[];
196
200
  sort: CDataTableSort | null;
201
+ texts: CDataTableTexts;
197
202
  external: boolean;
198
203
  loading: boolean;
199
204
  autohide: boolean;
@@ -209,7 +214,6 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<CDataT
209
214
  singleExpansion: boolean;
210
215
  stickyFooter: boolean;
211
216
  stickyHeader: boolean;
212
- texts: CDataTableTexts;
213
217
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
214
218
  caption?: (props: {}) => any;
215
219
  } & {