@xleddyl/443-components-vue 0.16.61 → 0.16.63
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/CATALOG.md +153 -152
- package/README.md +54 -17
- package/dist/chart/ChartLegend.vue.d.ts +4 -4
- package/dist/components/core/Form.vue +4 -1
- package/dist/components/core/Form.vue.d.ts +1 -0
- package/dist/components/core/FormField.vue +5 -2
- package/dist/components/core/Input.vue.d.ts +4 -4
- package/dist/components/core/Root.vue.d.ts +6 -6
- package/dist/components/core/Textarea.vue.d.ts +4 -4
- package/dist/components/core/VisuallyHidden.vue.d.ts +6 -6
- package/dist/components/data/Pagination.vue.d.ts +4 -4
- package/dist/components/data/RecordList.vue +1 -1
- package/dist/components/data/Stat.vue.d.ts +4 -4
- package/dist/components/data/Tag.vue.d.ts +4 -4
- package/dist/components/data/Tree.vue +26 -4
- package/dist/components/data/Tree.vue.d.ts +13 -3
- package/dist/components/feedback/Alert.vue.d.ts +4 -4
- package/dist/components/forms/Calendar.vue.d.ts +2 -2
- package/dist/components/forms/ColorInput.vue.d.ts +4 -4
- package/dist/components/forms/Combobox.vue +5 -1
- package/dist/components/forms/DateInput.vue.d.ts +4 -4
- package/dist/components/forms/DatePicker.vue.d.ts +4 -4
- package/dist/components/forms/FileInput.vue.d.ts +4 -4
- package/dist/components/forms/NumberInput.vue +2 -2
- package/dist/components/forms/NumberInput.vue.d.ts +5 -5
- package/dist/components/forms/PaletteSelect.vue.d.ts +4 -4
- package/dist/components/forms/PasswordInput.vue.d.ts +4 -4
- package/dist/components/forms/PinInput.vue.d.ts +4 -4
- package/dist/components/forms/Slider.vue.d.ts +4 -4
- package/dist/components/forms/Switch.vue.d.ts +5 -5
- package/dist/components/forms/TimeInput.vue.d.ts +4 -4
- package/dist/components/forms/TreeSelect.vue.d.ts +4 -4
- package/dist/components/layout/Accordion.vue.d.ts +4 -4
- package/dist/components/layout/AppShell.vue.d.ts +5 -5
- package/dist/components/layout/Card.vue.d.ts +4 -4
- package/dist/components/layout/CopyButton.vue.d.ts +4 -4
- package/dist/components/layout/NavLink.vue.d.ts +4 -4
- package/dist/components/layout/PageHeader.vue.d.ts +1 -1
- package/dist/components/layout/Separator.vue.d.ts +1 -1
- package/dist/components/layout/Stack.vue.d.ts +6 -6
- package/dist/components/layout/Stepper.vue.d.ts +3 -3
- package/dist/components/layout/Tabs.vue +12 -2
- package/dist/components/layout/Tabs.vue.d.ts +4 -4
- package/dist/components/layout/types.d.ts +3 -1
- package/dist/components/overlays/CommandPalette.vue.d.ts +2 -2
- package/dist/components/overlays/ConfirmDialog.vue.d.ts +4 -4
- package/dist/components/overlays/ConfirmHost.vue.d.ts +4 -4
- package/dist/components/overlays/ContextMenu.vue.d.ts +2 -2
- package/dist/components/overlays/Drawer.vue.d.ts +5 -5
- package/dist/components/overlays/DropdownMenu.vue.d.ts +2 -2
- package/dist/components/overlays/HoverCard.vue.d.ts +4 -4
- package/dist/components/overlays/Modal.vue.d.ts +4 -4
- package/dist/components/overlays/Popover.vue.d.ts +4 -4
- package/dist/components/overlays/Toaster.vue.d.ts +4 -4
- package/dist/components/templates/AccountMenu.vue.d.ts +4 -4
- package/dist/components/templates/Brand.vue.d.ts +4 -4
- package/dist/components/templates/DashboardLayout.vue.d.ts +2 -2
- package/dist/components/templates/DetailPage.vue.d.ts +4 -4
- package/dist/components/templates/FormDrawer.vue +7 -2
- package/dist/components/templates/FormDrawer.vue.d.ts +2 -2
- package/dist/components/templates/SaveBar.vue.d.ts +4 -4
- package/dist/components/templates/SettingsModal.vue.d.ts +4 -4
- package/dist/components/templates/SettingsPage.vue.d.ts +4 -4
- package/dist/components/templates/SettingsSection.vue.d.ts +10 -10
- package/dist/components/templates/types.d.ts +1 -0
- package/dist/composables/data.d.ts +1 -0
- package/dist/composables/data.mjs +1 -0
- package/dist/composables/useField.mjs +5 -1
- package/dist/composables/useGridConfig.d.ts +14 -0
- package/dist/composables/useGridConfig.mjs +16 -0
- package/dist/composables/useRouteRecord.d.ts +1 -0
- package/dist/composables/useRouteRecord.mjs +29 -2
- package/dist/editor/RichTextEditor.vue.d.ts +4 -4
- package/dist/grid/DataGrid.vue +18 -12
- package/dist/grid/GridToolbar.vue.d.ts +4 -4
- package/dist/grid/cells/ButtonCell.vue +18 -1
- package/dist/grid/cells/ButtonCell.vue.d.ts +62 -24
- package/dist/grid/data-grid.css +4 -0
- package/dist/grid/types.d.ts +6 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -0
- package/dist/internal/forms/disabled.d.ts +3 -0
- package/dist/internal/forms/disabled.mjs +11 -0
- package/dist/internal/keys.d.ts +2 -0
- package/dist/internal/keys.mjs +1 -0
- package/dist/internal/layout/CollapsedTrail.vue.d.ts +4 -4
- package/dist/internal/layout/NavGroup.vue.d.ts +4 -4
- package/dist/internal/overlays/DialogFrame.vue.d.ts +4 -4
- package/dist/internal/overlays/DialogTrail.vue.d.ts +4 -4
- package/dist/internal/overlays/OverlayView.vue.d.ts +6 -6
- package/dist/nuxt/module.d.ts +3 -1
- package/dist/nuxt/module.mjs +3 -1
- package/dist/nuxt/runtime/grid.d.ts +2 -0
- package/dist/nuxt/runtime/grid.mjs +9 -0
- package/dist/nuxt/runtime/layouts/auth.vue.d.ts +6 -6
- package/dist/nuxt/runtime/layouts/dashboard.vue.d.ts +6 -6
- package/dist/styles/core/input.css +2 -2
- package/dist/styles/data/tree.css +11 -7
- package/dist/styles/forms/combobox.css +1 -0
- package/dist/styles/forms/number-input.css +4 -0
- package/dist/styles/layout/tabs.css +11 -3
- package/package.json +1 -1
|
@@ -14,6 +14,9 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
14
14
|
placeholder?: string | undefined;
|
|
15
15
|
description?: string;
|
|
16
16
|
flush?: boolean;
|
|
17
|
+
side?: import("../../index.ts").DrawerSide;
|
|
18
|
+
id?: string | undefined;
|
|
19
|
+
onSelect?: ((payload: Event) => void) | undefined;
|
|
17
20
|
dir?: string | undefined;
|
|
18
21
|
contextmenu?: string | undefined;
|
|
19
22
|
hidden?: (boolean | "true" | "false") | "" | "hidden" | "until-found" | undefined;
|
|
@@ -83,7 +86,6 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
83
86
|
onTimeupdate?: ((payload: Event) => void) | undefined;
|
|
84
87
|
onVolumechange?: ((payload: Event) => void) | undefined;
|
|
85
88
|
onWaiting?: ((payload: Event) => void) | undefined;
|
|
86
|
-
onSelect?: ((payload: Event) => void) | undefined;
|
|
87
89
|
onScroll?: ((payload: Event) => void) | undefined;
|
|
88
90
|
onScrollend?: ((payload: Event) => void) | undefined;
|
|
89
91
|
onTouchcancel?: ((payload: TouchEvent) => void) | undefined;
|
|
@@ -117,7 +119,6 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
117
119
|
onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
|
|
118
120
|
innerHTML?: string | undefined;
|
|
119
121
|
color?: string | undefined;
|
|
120
|
-
id?: string | undefined;
|
|
121
122
|
lang?: string | undefined;
|
|
122
123
|
width?: string;
|
|
123
124
|
tabindex?: (string | number) | undefined;
|
|
@@ -213,7 +214,6 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
213
214
|
sheet?: boolean;
|
|
214
215
|
tab?: import("../../index.ts").TabItem["value"];
|
|
215
216
|
onCancel?: ((payload: Event) => void) | undefined;
|
|
216
|
-
side?: import("../../index.ts").DrawerSide;
|
|
217
217
|
onOpen?: ((() => any) & (() => any)) | undefined;
|
|
218
218
|
backLabel?: string;
|
|
219
219
|
closeLabel?: string;
|
|
@@ -244,6 +244,9 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
244
244
|
placeholder?: string | undefined;
|
|
245
245
|
description?: string;
|
|
246
246
|
flush?: boolean;
|
|
247
|
+
side?: import("../../index.ts").DrawerSide;
|
|
248
|
+
id?: string | undefined;
|
|
249
|
+
onSelect?: ((payload: Event) => void) | undefined;
|
|
247
250
|
dir?: string | undefined;
|
|
248
251
|
contextmenu?: string | undefined;
|
|
249
252
|
hidden?: (boolean | "true" | "false") | "" | "hidden" | "until-found" | undefined;
|
|
@@ -313,7 +316,6 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
313
316
|
onTimeupdate?: ((payload: Event) => void) | undefined;
|
|
314
317
|
onVolumechange?: ((payload: Event) => void) | undefined;
|
|
315
318
|
onWaiting?: ((payload: Event) => void) | undefined;
|
|
316
|
-
onSelect?: ((payload: Event) => void) | undefined;
|
|
317
319
|
onScroll?: ((payload: Event) => void) | undefined;
|
|
318
320
|
onScrollend?: ((payload: Event) => void) | undefined;
|
|
319
321
|
onTouchcancel?: ((payload: TouchEvent) => void) | undefined;
|
|
@@ -347,7 +349,6 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
347
349
|
onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
|
|
348
350
|
innerHTML?: string | undefined;
|
|
349
351
|
color?: string | undefined;
|
|
350
|
-
id?: string | undefined;
|
|
351
352
|
lang?: string | undefined;
|
|
352
353
|
width?: string;
|
|
353
354
|
tabindex?: (string | number) | undefined;
|
|
@@ -443,7 +444,6 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
443
444
|
sheet?: boolean;
|
|
444
445
|
tab?: import("../../index.ts").TabItem["value"];
|
|
445
446
|
onCancel?: ((payload: Event) => void) | undefined;
|
|
446
|
-
side?: import("../../index.ts").DrawerSide;
|
|
447
447
|
onOpen?: ((() => any) & (() => any)) | undefined;
|
|
448
448
|
backLabel?: string;
|
|
449
449
|
closeLabel?: string;
|
package/dist/nuxt/module.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { KAppConfig } from '../components/templates/types';
|
|
2
|
+
import type { GridConfig } from '../composables/useGridConfig';
|
|
2
3
|
import type { ThemePreference } from '../composables/useTheme';
|
|
3
4
|
import type { ThemePreset } from '../internal/core/preset-data';
|
|
4
5
|
import type { DeepPartial, KMessages } from '../locale/types';
|
|
@@ -19,7 +20,7 @@ export interface ModuleOptions {
|
|
|
19
20
|
css: boolean;
|
|
20
21
|
cssLayers: string | false;
|
|
21
22
|
composables: boolean;
|
|
22
|
-
grid: boolean;
|
|
23
|
+
grid: boolean | GridConfig;
|
|
23
24
|
editor: boolean;
|
|
24
25
|
chart: boolean;
|
|
25
26
|
layouts: boolean | LayoutsOption;
|
|
@@ -56,6 +57,7 @@ export interface KRuntimeConfig {
|
|
|
56
57
|
messages: Record<string, DeepPartial<KMessages>>;
|
|
57
58
|
decimalSeparator?: '.' | ',';
|
|
58
59
|
routeLocation: 'query' | 'hash';
|
|
60
|
+
grid?: GridConfig;
|
|
59
61
|
}
|
|
60
62
|
declare module '@nuxt/schema' {
|
|
61
63
|
interface PublicRuntimeConfig {
|
package/dist/nuxt/module.mjs
CHANGED
|
@@ -120,13 +120,15 @@ export default defineNuxtModule({
|
|
|
120
120
|
locale: options.locale,
|
|
121
121
|
messages: options.messages,
|
|
122
122
|
decimalSeparator: options.decimalSeparator,
|
|
123
|
-
routeLocation: options.routeState.location === "hash" ? "hash" : "query"
|
|
123
|
+
routeLocation: options.routeState.location === "hash" ? "hash" : "query",
|
|
124
|
+
grid: typeof options.grid === "object" ? options.grid : void 0
|
|
124
125
|
};
|
|
125
126
|
Object.assign(nuxt.options.runtimeConfig.public, { k: runtimeConfig });
|
|
126
127
|
addPlugin(resolver.resolve("./runtime/theme"));
|
|
127
128
|
addPlugin(resolver.resolve("./runtime/storage"));
|
|
128
129
|
addPlugin(resolver.resolve("./runtime/locale"));
|
|
129
130
|
addPlugin(resolver.resolve("./runtime/route-state"));
|
|
131
|
+
if (typeof options.grid === "object") addPlugin(resolver.resolve("./runtime/grid"));
|
|
130
132
|
if (options.composables)
|
|
131
133
|
addImports({ name: "useDashboard", from: resolver.resolve("./runtime/dashboard") });
|
|
132
134
|
const layouts = resolveLayouts(options.layouts);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { defineNuxtPlugin, useRuntimeConfig } from "nuxt/app";
|
|
2
|
+
import { GRID_CONFIG_KEY } from "../../internal/keys.mjs";
|
|
3
|
+
export default defineNuxtPlugin({
|
|
4
|
+
name: "k:grid",
|
|
5
|
+
setup(nuxtApp) {
|
|
6
|
+
const config = useRuntimeConfig().public.k ?? {};
|
|
7
|
+
if (config.grid) nuxtApp.vueApp.provide(GRID_CONFIG_KEY, config.grid);
|
|
8
|
+
}
|
|
9
|
+
});
|
|
@@ -21,6 +21,9 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
|
|
|
21
21
|
readonly results?: (string | number) | undefined;
|
|
22
22
|
readonly placeholder?: string | undefined | undefined;
|
|
23
23
|
readonly bind?: Record<string, unknown> | undefined;
|
|
24
|
+
readonly id?: string | undefined | undefined;
|
|
25
|
+
readonly href?: string | undefined | undefined;
|
|
26
|
+
readonly onSelect?: ((payload: Event) => void) | undefined;
|
|
24
27
|
readonly dir?: string | undefined | undefined;
|
|
25
28
|
readonly contextmenu?: string | undefined | undefined;
|
|
26
29
|
readonly hidden?: "" | "hidden" | (boolean | "true" | "false") | "until-found" | undefined;
|
|
@@ -90,7 +93,6 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
|
|
|
90
93
|
readonly onTimeupdate?: ((payload: Event) => void) | undefined;
|
|
91
94
|
readonly onVolumechange?: ((payload: Event) => void) | undefined;
|
|
92
95
|
readonly onWaiting?: ((payload: Event) => void) | undefined;
|
|
93
|
-
readonly onSelect?: ((payload: Event) => void) | undefined;
|
|
94
96
|
readonly onScroll?: ((payload: Event) => void) | undefined;
|
|
95
97
|
readonly onScrollend?: ((payload: Event) => void) | undefined;
|
|
96
98
|
readonly onTouchcancel?: ((payload: TouchEvent) => void) | undefined;
|
|
@@ -124,13 +126,11 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
|
|
|
124
126
|
readonly onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
|
|
125
127
|
readonly innerHTML?: string | undefined | undefined;
|
|
126
128
|
readonly color?: string | undefined | undefined;
|
|
127
|
-
readonly id?: string | undefined | undefined;
|
|
128
129
|
readonly lang?: string | undefined | undefined;
|
|
129
130
|
readonly media?: string | undefined | undefined;
|
|
130
131
|
readonly target?: string | undefined | undefined;
|
|
131
132
|
readonly type?: string | undefined | undefined;
|
|
132
133
|
readonly tabindex?: (string | number) | undefined;
|
|
133
|
-
readonly href?: string | undefined | undefined;
|
|
134
134
|
readonly 'aria-activedescendant'?: string | undefined | undefined;
|
|
135
135
|
readonly 'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
136
136
|
readonly 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
@@ -239,6 +239,9 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
|
|
|
239
239
|
readonly results?: (string | number) | undefined;
|
|
240
240
|
readonly placeholder?: string | undefined | undefined;
|
|
241
241
|
readonly bind?: Record<string, unknown> | undefined;
|
|
242
|
+
readonly id?: string | undefined | undefined;
|
|
243
|
+
readonly href?: string | undefined | undefined;
|
|
244
|
+
readonly onSelect?: ((payload: Event) => void) | undefined;
|
|
242
245
|
readonly dir?: string | undefined | undefined;
|
|
243
246
|
readonly contextmenu?: string | undefined | undefined;
|
|
244
247
|
readonly hidden?: "" | "hidden" | (boolean | "true" | "false") | "until-found" | undefined;
|
|
@@ -308,7 +311,6 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
|
|
|
308
311
|
readonly onTimeupdate?: ((payload: Event) => void) | undefined;
|
|
309
312
|
readonly onVolumechange?: ((payload: Event) => void) | undefined;
|
|
310
313
|
readonly onWaiting?: ((payload: Event) => void) | undefined;
|
|
311
|
-
readonly onSelect?: ((payload: Event) => void) | undefined;
|
|
312
314
|
readonly onScroll?: ((payload: Event) => void) | undefined;
|
|
313
315
|
readonly onScrollend?: ((payload: Event) => void) | undefined;
|
|
314
316
|
readonly onTouchcancel?: ((payload: TouchEvent) => void) | undefined;
|
|
@@ -342,13 +344,11 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
|
|
|
342
344
|
readonly onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
|
|
343
345
|
readonly innerHTML?: string | undefined | undefined;
|
|
344
346
|
readonly color?: string | undefined | undefined;
|
|
345
|
-
readonly id?: string | undefined | undefined;
|
|
346
347
|
readonly lang?: string | undefined | undefined;
|
|
347
348
|
readonly media?: string | undefined | undefined;
|
|
348
349
|
readonly target?: string | undefined | undefined;
|
|
349
350
|
readonly type?: string | undefined | undefined;
|
|
350
351
|
readonly tabindex?: (string | number) | undefined;
|
|
351
|
-
readonly href?: string | undefined | undefined;
|
|
352
352
|
readonly 'aria-activedescendant'?: string | undefined | undefined;
|
|
353
353
|
readonly 'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
354
354
|
readonly 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
@@ -21,6 +21,9 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
|
|
|
21
21
|
readonly results?: (string | number) | undefined;
|
|
22
22
|
readonly placeholder?: string | undefined | undefined;
|
|
23
23
|
readonly bind?: Record<string, unknown> | undefined;
|
|
24
|
+
readonly id?: string | undefined | undefined;
|
|
25
|
+
readonly href?: string | undefined | undefined;
|
|
26
|
+
readonly onSelect?: ((payload: Event) => void) | undefined;
|
|
24
27
|
readonly dir?: string | undefined | undefined;
|
|
25
28
|
readonly contextmenu?: string | undefined | undefined;
|
|
26
29
|
readonly hidden?: "" | "hidden" | (boolean | "true" | "false") | "until-found" | undefined;
|
|
@@ -90,7 +93,6 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
|
|
|
90
93
|
readonly onTimeupdate?: ((payload: Event) => void) | undefined;
|
|
91
94
|
readonly onVolumechange?: ((payload: Event) => void) | undefined;
|
|
92
95
|
readonly onWaiting?: ((payload: Event) => void) | undefined;
|
|
93
|
-
readonly onSelect?: ((payload: Event) => void) | undefined;
|
|
94
96
|
readonly onScroll?: ((payload: Event) => void) | undefined;
|
|
95
97
|
readonly onScrollend?: ((payload: Event) => void) | undefined;
|
|
96
98
|
readonly onTouchcancel?: ((payload: TouchEvent) => void) | undefined;
|
|
@@ -124,13 +126,11 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
|
|
|
124
126
|
readonly onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
|
|
125
127
|
readonly innerHTML?: string | undefined | undefined;
|
|
126
128
|
readonly color?: string | undefined | undefined;
|
|
127
|
-
readonly id?: string | undefined | undefined;
|
|
128
129
|
readonly lang?: string | undefined | undefined;
|
|
129
130
|
readonly media?: string | undefined | undefined;
|
|
130
131
|
readonly target?: string | undefined | undefined;
|
|
131
132
|
readonly type?: string | undefined | undefined;
|
|
132
133
|
readonly tabindex?: (string | number) | undefined;
|
|
133
|
-
readonly href?: string | undefined | undefined;
|
|
134
134
|
readonly 'aria-activedescendant'?: string | undefined | undefined;
|
|
135
135
|
readonly 'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
136
136
|
readonly 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
@@ -239,6 +239,9 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
|
|
|
239
239
|
readonly results?: (string | number) | undefined;
|
|
240
240
|
readonly placeholder?: string | undefined | undefined;
|
|
241
241
|
readonly bind?: Record<string, unknown> | undefined;
|
|
242
|
+
readonly id?: string | undefined | undefined;
|
|
243
|
+
readonly href?: string | undefined | undefined;
|
|
244
|
+
readonly onSelect?: ((payload: Event) => void) | undefined;
|
|
242
245
|
readonly dir?: string | undefined | undefined;
|
|
243
246
|
readonly contextmenu?: string | undefined | undefined;
|
|
244
247
|
readonly hidden?: "" | "hidden" | (boolean | "true" | "false") | "until-found" | undefined;
|
|
@@ -308,7 +311,6 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
|
|
|
308
311
|
readonly onTimeupdate?: ((payload: Event) => void) | undefined;
|
|
309
312
|
readonly onVolumechange?: ((payload: Event) => void) | undefined;
|
|
310
313
|
readonly onWaiting?: ((payload: Event) => void) | undefined;
|
|
311
|
-
readonly onSelect?: ((payload: Event) => void) | undefined;
|
|
312
314
|
readonly onScroll?: ((payload: Event) => void) | undefined;
|
|
313
315
|
readonly onScrollend?: ((payload: Event) => void) | undefined;
|
|
314
316
|
readonly onTouchcancel?: ((payload: TouchEvent) => void) | undefined;
|
|
@@ -342,13 +344,11 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
|
|
|
342
344
|
readonly onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
|
|
343
345
|
readonly innerHTML?: string | undefined | undefined;
|
|
344
346
|
readonly color?: string | undefined | undefined;
|
|
345
|
-
readonly id?: string | undefined | undefined;
|
|
346
347
|
readonly lang?: string | undefined | undefined;
|
|
347
348
|
readonly media?: string | undefined | undefined;
|
|
348
349
|
readonly target?: string | undefined | undefined;
|
|
349
350
|
readonly type?: string | undefined | undefined;
|
|
350
351
|
readonly tabindex?: (string | number) | undefined;
|
|
351
|
-
readonly href?: string | undefined | undefined;
|
|
352
352
|
readonly 'aria-activedescendant'?: string | undefined | undefined;
|
|
353
353
|
readonly 'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
354
354
|
readonly 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
@@ -141,9 +141,17 @@
|
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
.k-tree-empty {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
144
|
+
display: flex;
|
|
145
|
+
flex-direction: column;
|
|
146
|
+
min-width: 0;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.k-tree-empty.is-invalid .k-empty-card {
|
|
150
|
+
border-color: var(--k-danger);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.k-tree-empty.is-disabled {
|
|
154
|
+
opacity: 0.6;
|
|
147
155
|
}
|
|
148
156
|
|
|
149
157
|
.k-tree-handle {
|
|
@@ -265,10 +273,6 @@
|
|
|
265
273
|
color: var(--k-accent-text);
|
|
266
274
|
}
|
|
267
275
|
|
|
268
|
-
.k-tree-sm .k-tree-empty {
|
|
269
|
-
padding: 0.375rem 0.5rem;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
276
|
.k-tree-sm .k-tree-row[data-drop='inside'] {
|
|
273
277
|
background: var(--k-accent-soft);
|
|
274
278
|
}
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
outline-offset: -2px;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.k-tab:hover:not(
|
|
72
|
+
.k-tab:hover:not([aria-disabled='true']) {
|
|
73
73
|
color: var(--k-text);
|
|
74
74
|
}
|
|
75
75
|
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
color: var(--k-text);
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
.k-tab
|
|
80
|
+
.k-tab[aria-disabled='true'] {
|
|
81
81
|
opacity: 0.45;
|
|
82
82
|
cursor: not-allowed;
|
|
83
83
|
}
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
transition: background-color var(--k-duration) var(--k-ease);
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
.k-tabs-underline .k-tab:hover:not(
|
|
174
|
+
.k-tabs-underline .k-tab:hover:not([aria-disabled='true'])::before {
|
|
175
175
|
background: var(--k-hover);
|
|
176
176
|
}
|
|
177
177
|
|
|
@@ -248,6 +248,14 @@
|
|
|
248
248
|
--k-tab-badge-text: var(--k-danger-text);
|
|
249
249
|
}
|
|
250
250
|
|
|
251
|
+
.k-tab-color {
|
|
252
|
+
width: 0.5rem;
|
|
253
|
+
height: 0.5rem;
|
|
254
|
+
flex: none;
|
|
255
|
+
border-radius: var(--k-radius-full);
|
|
256
|
+
background: var(--k-palette);
|
|
257
|
+
}
|
|
258
|
+
|
|
251
259
|
.k-tab-dot {
|
|
252
260
|
--k-tab-dot-tone: var(--k-danger);
|
|
253
261
|
width: 0.4375rem;
|
package/package.json
CHANGED