@treeui/vue 0.6.0 → 0.6.1
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/README.md +23 -0
- package/dist/components/TreeAccordion.vue.d.ts +36 -0
- package/dist/components/TreeAccordion.vue.d.ts.map +1 -0
- package/dist/components/TreeAccordionItem.vue.d.ts +31 -0
- package/dist/components/TreeAccordionItem.vue.d.ts.map +1 -0
- package/dist/components/TreeAlert.vue.d.ts +35 -0
- package/dist/components/TreeAlert.vue.d.ts.map +1 -0
- package/dist/components/TreeAvatar.vue.d.ts +33 -0
- package/dist/components/TreeAvatar.vue.d.ts.map +1 -0
- package/dist/components/TreeBadge.vue.d.ts +31 -0
- package/dist/components/TreeBadge.vue.d.ts.map +1 -0
- package/dist/components/TreeBreadcrumb.vue.d.ts +26 -0
- package/dist/components/TreeBreadcrumb.vue.d.ts.map +1 -0
- package/dist/components/TreeBreadcrumbItem.vue.d.ts +37 -0
- package/dist/components/TreeBreadcrumbItem.vue.d.ts.map +1 -0
- package/dist/components/TreeButton.vue.d.ts +39 -0
- package/dist/components/TreeButton.vue.d.ts.map +1 -0
- package/dist/components/TreeCard.vue.d.ts +33 -0
- package/dist/components/TreeCard.vue.d.ts.map +1 -0
- package/dist/components/TreeCheckbox.vue.d.ts +40 -0
- package/dist/components/TreeCheckbox.vue.d.ts.map +1 -0
- package/dist/components/TreeCombobox.vue.d.ts +81 -0
- package/dist/components/TreeCombobox.vue.d.ts.map +1 -0
- package/dist/components/TreeConfirmDialog.vue.d.ts +84 -0
- package/dist/components/TreeConfirmDialog.vue.d.ts.map +1 -0
- package/dist/components/TreeContainer.vue.d.ts +31 -0
- package/dist/components/TreeContainer.vue.d.ts.map +1 -0
- package/dist/components/TreeContextMenu.vue.d.ts +59 -0
- package/dist/components/TreeContextMenu.vue.d.ts.map +1 -0
- package/dist/components/TreeDatePicker.vue.d.ts +63 -0
- package/dist/components/TreeDatePicker.vue.d.ts.map +1 -0
- package/dist/components/TreeDateTimePicker.vue.d.ts +69 -0
- package/dist/components/TreeDateTimePicker.vue.d.ts.map +1 -0
- package/dist/components/TreeDivider.vue.d.ts +12 -0
- package/dist/components/TreeDivider.vue.d.ts.map +1 -0
- package/dist/components/TreeDrawer.vue.d.ts +68 -0
- package/dist/components/TreeDrawer.vue.d.ts.map +1 -0
- package/dist/components/TreeDropdown.vue.d.ts +67 -0
- package/dist/components/TreeDropdown.vue.d.ts.map +1 -0
- package/dist/components/TreeEmptyState.vue.d.ts +40 -0
- package/dist/components/TreeEmptyState.vue.d.ts.map +1 -0
- package/dist/components/TreeFileUpload.vue.d.ts +108 -0
- package/dist/components/TreeFileUpload.vue.d.ts.map +1 -0
- package/dist/components/TreeFormField.vue.d.ts +44 -0
- package/dist/components/TreeFormField.vue.d.ts.map +1 -0
- package/dist/components/TreeGrid.vue.d.ts +37 -0
- package/dist/components/TreeGrid.vue.d.ts.map +1 -0
- package/dist/components/TreeInput.vue.d.ts +41 -0
- package/dist/components/TreeInput.vue.d.ts.map +1 -0
- package/dist/components/TreeLink.vue.d.ts +32 -0
- package/dist/components/TreeLink.vue.d.ts.map +1 -0
- package/dist/components/TreeMarkdownEditor.vue.d.ts +46 -0
- package/dist/components/TreeMarkdownEditor.vue.d.ts.map +1 -0
- package/dist/components/TreeModal.vue.d.ts +66 -0
- package/dist/components/TreeModal.vue.d.ts.map +1 -0
- package/dist/components/TreeMultiSelect.vue.d.ts +93 -0
- package/dist/components/TreeMultiSelect.vue.d.ts.map +1 -0
- package/dist/components/TreeNavMenu.vue.d.ts +65 -0
- package/dist/components/TreeNavMenu.vue.d.ts.map +1 -0
- package/dist/components/TreeNavbar.vue.d.ts +35 -0
- package/dist/components/TreeNavbar.vue.d.ts.map +1 -0
- package/dist/components/TreeNumberInput.vue.d.ts +29 -0
- package/dist/components/TreeNumberInput.vue.d.ts.map +1 -0
- package/dist/components/TreePagination.vue.d.ts +47 -0
- package/dist/components/TreePagination.vue.d.ts.map +1 -0
- package/dist/components/TreePopover.vue.d.ts +56 -0
- package/dist/components/TreePopover.vue.d.ts.map +1 -0
- package/dist/components/TreePricing.vue.d.ts +47 -0
- package/dist/components/TreePricing.vue.d.ts.map +1 -0
- package/dist/components/TreePricingCard.vue.d.ts +60 -0
- package/dist/components/TreePricingCard.vue.d.ts.map +1 -0
- package/dist/components/TreeProgress.vue.d.ts +19 -0
- package/dist/components/TreeProgress.vue.d.ts.map +1 -0
- package/dist/components/TreeRadio.vue.d.ts +29 -0
- package/dist/components/TreeRadio.vue.d.ts.map +1 -0
- package/dist/components/TreeRadioGroup.vue.d.ts +36 -0
- package/dist/components/TreeRadioGroup.vue.d.ts.map +1 -0
- package/dist/components/TreeSelect.vue.d.ts +59 -0
- package/dist/components/TreeSelect.vue.d.ts.map +1 -0
- package/dist/components/TreeSelectableList.vue.d.ts +57 -0
- package/dist/components/TreeSelectableList.vue.d.ts.map +1 -0
- package/dist/components/TreeSidebar.vue.d.ts +78 -0
- package/dist/components/TreeSidebar.vue.d.ts.map +1 -0
- package/dist/components/TreeSkeleton.vue.d.ts +27 -0
- package/dist/components/TreeSkeleton.vue.d.ts.map +1 -0
- package/dist/components/TreeSpinner.vue.d.ts +11 -0
- package/dist/components/TreeSpinner.vue.d.ts.map +1 -0
- package/dist/components/TreeStack.vue.d.ts +37 -0
- package/dist/components/TreeStack.vue.d.ts.map +1 -0
- package/dist/components/TreeStat.vue.d.ts +49 -0
- package/dist/components/TreeStat.vue.d.ts.map +1 -0
- package/dist/components/TreeSteps.vue.d.ts +62 -0
- package/dist/components/TreeSteps.vue.d.ts.map +1 -0
- package/dist/components/TreeSwitch.vue.d.ts +34 -0
- package/dist/components/TreeSwitch.vue.d.ts.map +1 -0
- package/dist/components/TreeTab.vue.d.ts +24 -0
- package/dist/components/TreeTab.vue.d.ts.map +1 -0
- package/dist/components/TreeTabList.vue.d.ts +22 -0
- package/dist/components/TreeTabList.vue.d.ts.map +1 -0
- package/dist/components/TreeTabPanel.vue.d.ts +21 -0
- package/dist/components/TreeTabPanel.vue.d.ts.map +1 -0
- package/dist/components/TreeTable.vue.d.ts +60 -0
- package/dist/components/TreeTable.vue.d.ts.map +1 -0
- package/dist/components/TreeTabs.vue.d.ts +37 -0
- package/dist/components/TreeTabs.vue.d.ts.map +1 -0
- package/dist/components/TreeTag.vue.d.ts +36 -0
- package/dist/components/TreeTag.vue.d.ts.map +1 -0
- package/dist/components/TreeTextarea.vue.d.ts +29 -0
- package/dist/components/TreeTextarea.vue.d.ts.map +1 -0
- package/dist/components/TreeTimeline.vue.d.ts +52 -0
- package/dist/components/TreeTimeline.vue.d.ts.map +1 -0
- package/dist/components/TreeToast.vue.d.ts +11 -0
- package/dist/components/TreeToast.vue.d.ts.map +1 -0
- package/dist/components/TreeToastProvider.vue.d.ts +26 -0
- package/dist/components/TreeToastProvider.vue.d.ts.map +1 -0
- package/dist/components/TreeToggleGroup.vue.d.ts +55 -0
- package/dist/components/TreeToggleGroup.vue.d.ts.map +1 -0
- package/dist/components/TreeTooltip.vue.d.ts +43 -0
- package/dist/components/TreeTooltip.vue.d.ts.map +1 -0
- package/dist/components/TreeTreeView.vue.d.ts +33 -0
- package/dist/components/TreeTreeView.vue.d.ts.map +1 -0
- package/dist/components/TreeTreeViewItem.vue.d.ts +8 -0
- package/dist/components/TreeTreeViewItem.vue.d.ts.map +1 -0
- package/dist/components/accordion.d.ts +17 -0
- package/dist/components/accordion.d.ts.map +1 -0
- package/dist/components/index.d.ts +141 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/sidebar.d.ts +6 -0
- package/dist/components/sidebar.d.ts.map +1 -0
- package/dist/components/tabs-context.d.ts +18 -0
- package/dist/components/tabs-context.d.ts.map +1 -0
- package/dist/components/tree-view.d.ts +32 -0
- package/dist/components/tree-view.d.ts.map +1 -0
- package/dist/composables/useControllableOpen.d.ts +6 -0
- package/dist/composables/useControllableOpen.d.ts.map +1 -0
- package/dist/composables/useToast.d.ts +38 -0
- package/dist/composables/useToast.d.ts.map +1 -0
- package/dist/index.cjs +12 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6562 -0
- package/dist/index.js.map +1 -0
- package/dist/plugin.d.ts +4 -0
- package/dist/plugin.d.ts.map +1 -0
- package/dist/style.css +1 -0
- package/dist/types/contracts.d.ts +11 -0
- package/dist/types/contracts.d.ts.map +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,6 +10,8 @@ pnpm add @treeui/vue
|
|
|
10
10
|
npm install @treeui/vue
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
+
Install `@treeui/tokens` only when you need direct access to the token package or want to use the theme CSS outside the Vue component layer.
|
|
14
|
+
|
|
13
15
|
## Setup
|
|
14
16
|
|
|
15
17
|
```ts
|
|
@@ -22,6 +24,8 @@ app.use(TreeUI)
|
|
|
22
24
|
app.mount('#app')
|
|
23
25
|
```
|
|
24
26
|
|
|
27
|
+
If your app uses toasts, mount `TToastProvider` once near the root before calling `useToast()`.
|
|
28
|
+
|
|
25
29
|
Or import components individually:
|
|
26
30
|
|
|
27
31
|
```ts
|
|
@@ -29,6 +33,14 @@ import { TButton, TInput, TModal } from '@treeui/vue'
|
|
|
29
33
|
import '@treeui/vue/style.css'
|
|
30
34
|
```
|
|
31
35
|
|
|
36
|
+
## Consumer checklist
|
|
37
|
+
|
|
38
|
+
- Install `@treeui/vue`
|
|
39
|
+
- Import `@treeui/vue/style.css` once
|
|
40
|
+
- Use `app.use(TreeUI)` or named imports
|
|
41
|
+
- Mount `TToastProvider` once near the app root if you use `useToast()`
|
|
42
|
+
- Use `TFormField` as the wrapper for labels, hints, and errors
|
|
43
|
+
|
|
32
44
|
## Components
|
|
33
45
|
|
|
34
46
|
### Form
|
|
@@ -51,6 +63,8 @@ import '@treeui/vue/style.css'
|
|
|
51
63
|
|
|
52
64
|
`TTable` stays focused on structured listing. Filters, toolbars, bulk actions, and pagination are intended to be composed around it, with `TPagination` used separately when needed.
|
|
53
65
|
|
|
66
|
+
Use `#cell-<key>` and `#header-<key>` slots when a column needs derived content or custom markup.
|
|
67
|
+
|
|
54
68
|
## Theming
|
|
55
69
|
|
|
56
70
|
TreeUI uses CSS custom properties (`--tree-*`) for all styling. Light theme is applied by default.
|
|
@@ -84,6 +98,11 @@ All components are also exported with the `Tree` prefix (e.g. `TreeButton`, `Tre
|
|
|
84
98
|
- `Tree<Name>` aliases remain available for migration and compatibility.
|
|
85
99
|
- `TNavbar` / `TAppBar` and `TSteps` / `TStepper` are alias pairs for the same implementations.
|
|
86
100
|
- Page-level assemblies that are mostly layout stay documented as recipes until they need a dedicated semantic API.
|
|
101
|
+
- Overlays such as `TModal`, `TDrawer`, and `TPopover` support controlled open state; `TModal` works with `v-model:open`.
|
|
102
|
+
- `TSelect` accepts `string` or `number` values.
|
|
103
|
+
- `TBreadcrumbItem` accepts `href` for anchors and `to` for vue-router projects.
|
|
104
|
+
- `TBadge` keeps visual variants and can add semantic meaning with `tone`.
|
|
105
|
+
- `TStat` includes a `loading` state for built-in placeholders.
|
|
87
106
|
|
|
88
107
|
## Semantic aliases in docs
|
|
89
108
|
|
|
@@ -107,6 +126,10 @@ Some repeated app UI intentionally stays documented as composition guidance inst
|
|
|
107
126
|
- Form stacks: `TStack` + `TGrid` + `TFormField`
|
|
108
127
|
- Rankings: `TTable` or `TSelectableList`
|
|
109
128
|
- Action panels: `TAlert` + `TCard` + `TButton`
|
|
129
|
+
- Color fields: `TFormField` + native `input[type="color"]`
|
|
130
|
+
- Tag inputs: `TFormField` + `TInput` + removable `TTag`
|
|
131
|
+
- Router-backed tabs: `TTabs` + app route state
|
|
132
|
+
- Charts: `TCard` + `TStack` + your preferred chart library
|
|
110
133
|
|
|
111
134
|
## TypeScript
|
|
112
135
|
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { AccordionType } from './accordion';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
type?: AccordionType;
|
|
4
|
+
modelValue?: string | string[];
|
|
5
|
+
defaultValue?: string | string[];
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
collapsible?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {};
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
19
|
+
"update:modelValue": (value: string | string[] | undefined) => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
+
"onUpdate:modelValue"?: ((value: string | string[] | undefined) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
type: AccordionType;
|
|
24
|
+
modelValue: string | string[];
|
|
25
|
+
defaultValue: string | string[];
|
|
26
|
+
disabled: boolean;
|
|
27
|
+
collapsible: boolean;
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=TreeAccordion.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreeAccordion.vue.d.ts","sourceRoot":"","sources":["../../src/components/TreeAccordion.vue"],"names":[],"mappings":"AAqKA,OAAO,EAAE,KAAK,aAAa,EAAyB,MAAM,aAAa,CAAC;AAExE,KAAK,WAAW,GAAG;IACf,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC/B,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AA6JJ,iBAAS,cAAc;WAwBT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;UA1MV,aAAa;gBACP,MAAM,GAAG,MAAM,EAAE;kBACf,MAAM,GAAG,MAAM,EAAE;cACrB,OAAO;iBACJ,OAAO;wFA+MvB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value: string;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
trigger?(_: {
|
|
9
|
+
open: boolean;
|
|
10
|
+
}): any;
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {
|
|
14
|
+
triggerRef: HTMLButtonElement;
|
|
15
|
+
};
|
|
16
|
+
rootEl: HTMLDivElement;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
22
|
+
triggerRef: HTMLButtonElement;
|
|
23
|
+
}, HTMLDivElement>;
|
|
24
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=TreeAccordionItem.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreeAccordionItem.vue.d.ts","sourceRoot":"","sources":["../../src/components/TreeAccordionItem.vue"],"names":[],"mappings":"AAoIA,KAAK,WAAW,GAAG;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AA0EJ,iBAAS,cAAc;WA0ET,OAAO,IAA6B;;;;YAZrB,GAAG;yBACH,GAAG;;;;;;EAgB/B;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;cA5KN,OAAO;;;kBAqLpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { TreeSize } from '../types/contracts';
|
|
2
|
+
export type TreeAlertVariant = 'info' | 'success' | 'warning' | 'danger';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
variant?: TreeAlertVariant;
|
|
5
|
+
size?: TreeSize;
|
|
6
|
+
dismissible?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
icon?(_: {}): any;
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
'dismiss-icon'?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {};
|
|
16
|
+
rootEl: HTMLDivElement;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
20
|
+
dismiss: () => any;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
+
onDismiss?: (() => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
size: TreeSize;
|
|
25
|
+
variant: TreeAlertVariant;
|
|
26
|
+
dismissible: boolean;
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=TreeAlert.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreeAlert.vue.d.ts","sourceRoot":"","sources":["../../src/components/TreeAlert.vue"],"names":[],"mappings":"AA+EA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEzE,KAAK,WAAW,GAAG;IACf,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAgCJ,iBAAS,cAAc;WAkET,OAAO,IAA6B;;sBAZxB,GAAG;yBACA,GAAG;gCACI,GAAG;;;;EAetC;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;UAtHV,QAAQ;aADL,gBAAgB;iBAEZ,OAAO;wFA8HvB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { TreeSize } from '../types/contracts';
|
|
2
|
+
export type TreeAvatarStatus = 'online' | 'offline' | 'busy' | 'away';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
src?: string;
|
|
5
|
+
alt?: string;
|
|
6
|
+
initials?: string;
|
|
7
|
+
size?: TreeSize;
|
|
8
|
+
status?: TreeAvatarStatus;
|
|
9
|
+
};
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
12
|
+
slots: {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {};
|
|
16
|
+
rootEl: HTMLSpanElement;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
20
|
+
size: TreeSize;
|
|
21
|
+
status: TreeAvatarStatus;
|
|
22
|
+
src: string;
|
|
23
|
+
alt: string;
|
|
24
|
+
initials: string;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=TreeAvatar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreeAvatar.vue.d.ts","sourceRoot":"","sources":["../../src/components/TreeAvatar.vue"],"names":[],"mappings":"AAgFA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAEtE,KAAK,WAAW,GAAG;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,MAAM,CAAC,EAAE,gBAAgB,CAAC;CAC3B,CAAC;AA6CJ,iBAAS,cAAc;WAgDT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;UAjHV,QAAQ;YACN,gBAAgB;SAJnB,MAAM;SACN,MAAM;cACD,MAAM;yFA0HnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { TreeSize, TreeVariant } from '../types/contracts';
|
|
2
|
+
declare const _treeBadgeTones: readonly ["neutral", "success", "warning", "danger", "info"];
|
|
3
|
+
export type TreeBadgeTone = (typeof _treeBadgeTones)[number];
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
variant?: TreeVariant;
|
|
6
|
+
size?: TreeSize;
|
|
7
|
+
tone?: TreeBadgeTone;
|
|
8
|
+
};
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: {
|
|
12
|
+
icon?(_: {}): any;
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {};
|
|
16
|
+
rootEl: HTMLSpanElement;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
20
|
+
size: TreeSize;
|
|
21
|
+
variant: TreeVariant;
|
|
22
|
+
tone: TreeBadgeTone;
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
24
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=TreeBadge.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreeBadge.vue.d.ts","sourceRoot":"","sources":["../../src/components/TreeBadge.vue"],"names":[],"mappings":"AA4CA,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEhE,QAAA,MAAM,eAAe,8DAA+D,CAAC;AAErF,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAE7D,KAAK,WAAW,GAAG;IACf,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB,CAAC;AAwBJ,iBAAS,cAAc;WAiCT,OAAO,IAA6B;;sBAXxB,GAAG;yBACA,GAAG;;;;EAe/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;UA3EV,QAAQ;aADL,WAAW;UAEd,aAAa;yFAkFtB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/**
|
|
3
|
+
* Character or string used to visually separate breadcrumb items.
|
|
4
|
+
*/
|
|
5
|
+
separator?: string;
|
|
6
|
+
};
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: HTMLElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
17
|
+
separator: string;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=TreeBreadcrumb.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreeBreadcrumb.vue.d.ts","sourceRoot":"","sources":["../../src/components/TreeBreadcrumb.vue"],"names":[],"mappings":"AA6BA,KAAK,WAAW,GAAG;IACf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAaJ,iBAAS,cAAc;WA6BT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;eA1DL,MAAM;qFAkEpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/**
|
|
3
|
+
* URL the breadcrumb item links to. Omit for the current/last item.
|
|
4
|
+
*/
|
|
5
|
+
href?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Route target. When provided and vue-router is available, renders RouterLink.
|
|
8
|
+
*/
|
|
9
|
+
to?: string | Record<string, unknown>;
|
|
10
|
+
/**
|
|
11
|
+
* Marks this item as the current page. Automatically set if it's the last item without href.
|
|
12
|
+
*/
|
|
13
|
+
current?: boolean;
|
|
14
|
+
};
|
|
15
|
+
declare function __VLS_template(): {
|
|
16
|
+
attrs: Partial<{}>;
|
|
17
|
+
slots: {
|
|
18
|
+
default?(_: {}): any;
|
|
19
|
+
default?(_: {}): any;
|
|
20
|
+
};
|
|
21
|
+
refs: {};
|
|
22
|
+
rootEl: HTMLLIElement;
|
|
23
|
+
};
|
|
24
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
25
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
26
|
+
href: string;
|
|
27
|
+
to: string | Record<string, unknown>;
|
|
28
|
+
current: boolean;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=TreeBreadcrumbItem.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreeBreadcrumbItem.vue.d.ts","sourceRoot":"","sources":["../../src/components/TreeBreadcrumbItem.vue"],"names":[],"mappings":"AAuFA,KAAK,WAAW,GAAG;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAuDJ,iBAAS,cAAc;WA+CT,OAAO,IAA6B;;yBAXrB,GAAG;yBACH,GAAG;;;;EAe/B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;UAjIV,MAAM;QAIR,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;aAI3B,OAAO;uFAiInB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { TreeSize, TreeVariant } from '../types/contracts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
as?: string;
|
|
4
|
+
variant?: TreeVariant;
|
|
5
|
+
size?: TreeSize;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
type?: 'button' | 'submit' | 'reset';
|
|
9
|
+
};
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
12
|
+
slots: {
|
|
13
|
+
icon?(_: {}): any;
|
|
14
|
+
default?(_: {}): any;
|
|
15
|
+
};
|
|
16
|
+
refs: {};
|
|
17
|
+
rootEl: any;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
click: (event: MouseEvent) => any;
|
|
22
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
type: "button" | "submit" | "reset";
|
|
26
|
+
disabled: boolean;
|
|
27
|
+
size: TreeSize;
|
|
28
|
+
variant: TreeVariant;
|
|
29
|
+
as: string;
|
|
30
|
+
loading: boolean;
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=TreeButton.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreeButton.vue.d.ts","sourceRoot":"","sources":["../../src/components/TreeButton.vue"],"names":[],"mappings":"AAsFA,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGhE,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;CACtC,CAAC;AAkDJ,iBAAS,cAAc;WA6ET,OAAO,IAA6B;;sBAXvB,GAAG;yBACA,GAAG;;;;EAehC;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;UArJV,QAAQ,GAAG,QAAQ,GAAG,OAAO;cAFzB,OAAO;UADX,QAAQ;aADL,WAAW;QADhB,MAAM;aAID,OAAO;6EA+JnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { TreeCardVariant, TreeSize } from '../types/contracts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
as?: string;
|
|
4
|
+
variant?: TreeCardVariant;
|
|
5
|
+
size?: TreeSize;
|
|
6
|
+
title?: string;
|
|
7
|
+
};
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
header?(_: {}): any;
|
|
12
|
+
actions?(_: {}): any;
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
footer?(_: {}): any;
|
|
15
|
+
};
|
|
16
|
+
refs: {};
|
|
17
|
+
rootEl: any;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
21
|
+
size: TreeSize;
|
|
22
|
+
title: string;
|
|
23
|
+
variant: TreeCardVariant;
|
|
24
|
+
as: string;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=TreeCard.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreeCard.vue.d.ts","sourceRoot":"","sources":["../../src/components/TreeCard.vue"],"names":[],"mappings":"AAkEA,OAAO,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEpE,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AA2BJ,iBAAS,cAAc;WAkET,OAAO,IAA6B;;wBAbtB,GAAG;yBACF,GAAG;yBACH,GAAG;wBACH,GAAG;;;;EAe/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;UAhHV,QAAQ;WACP,MAAM;aAFJ,eAAe;QADpB,MAAM;6EA0Hb,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { TreeSize } from '../types/contracts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelValue?: boolean;
|
|
4
|
+
size?: TreeSize;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
indeterminate?: boolean;
|
|
7
|
+
invalid?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {
|
|
15
|
+
inputRef: HTMLInputElement;
|
|
16
|
+
};
|
|
17
|
+
rootEl: any;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
"update:modelValue": (value: boolean) => any;
|
|
22
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
modelValue: boolean;
|
|
26
|
+
disabled: boolean;
|
|
27
|
+
size: TreeSize;
|
|
28
|
+
indeterminate: boolean;
|
|
29
|
+
invalid: boolean;
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
31
|
+
inputRef: HTMLInputElement;
|
|
32
|
+
}, any>;
|
|
33
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=TreeCheckbox.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreeCheckbox.vue.d.ts","sourceRoot":"","sources":["../../src/components/TreeCheckbox.vue"],"names":[],"mappings":"AAmIA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAMnD,KAAK,WAAW,GAAG;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAmEJ,iBAAS,cAAc;WA8ET,OAAO,IAA6B;;yBAXrB,GAAG;;;;;;EAgB/B;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;gBA3KJ,OAAO;cAET,OAAO;UADX,QAAQ;mBAEC,OAAO;aACb,OAAO;;;OAgLnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { TreeSize } from '../types/contracts';
|
|
2
|
+
export interface TreeComboboxOption {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
keywords?: string[];
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
type __VLS_Props = {
|
|
10
|
+
modelValue?: string;
|
|
11
|
+
options?: TreeComboboxOption[];
|
|
12
|
+
open?: boolean;
|
|
13
|
+
defaultOpen?: boolean;
|
|
14
|
+
size?: TreeSize;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
loading?: boolean;
|
|
17
|
+
invalid?: boolean;
|
|
18
|
+
placeholder?: string;
|
|
19
|
+
emptyText?: string;
|
|
20
|
+
};
|
|
21
|
+
declare function __VLS_template(): {
|
|
22
|
+
attrs: Partial<{}>;
|
|
23
|
+
slots: Readonly<{
|
|
24
|
+
prefix?: () => unknown;
|
|
25
|
+
option?: (props: {
|
|
26
|
+
option: TreeComboboxOption;
|
|
27
|
+
selected: boolean;
|
|
28
|
+
active: boolean;
|
|
29
|
+
}) => unknown;
|
|
30
|
+
empty?: (props: {
|
|
31
|
+
query: string;
|
|
32
|
+
}) => unknown;
|
|
33
|
+
}> & {
|
|
34
|
+
prefix?: () => unknown;
|
|
35
|
+
option?: (props: {
|
|
36
|
+
option: TreeComboboxOption;
|
|
37
|
+
selected: boolean;
|
|
38
|
+
active: boolean;
|
|
39
|
+
}) => unknown;
|
|
40
|
+
empty?: (props: {
|
|
41
|
+
query: string;
|
|
42
|
+
}) => unknown;
|
|
43
|
+
};
|
|
44
|
+
refs: {
|
|
45
|
+
rootRef: HTMLDivElement;
|
|
46
|
+
};
|
|
47
|
+
rootEl: any;
|
|
48
|
+
};
|
|
49
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
50
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
51
|
+
"update:modelValue": (value: string) => any;
|
|
52
|
+
"update:open": (value: boolean) => any;
|
|
53
|
+
"open-change": (value: boolean) => any;
|
|
54
|
+
"input-change": (value: string) => any;
|
|
55
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
56
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
57
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
58
|
+
"onOpen-change"?: ((value: boolean) => any) | undefined;
|
|
59
|
+
"onInput-change"?: ((value: string) => any) | undefined;
|
|
60
|
+
}>, {
|
|
61
|
+
modelValue: string;
|
|
62
|
+
disabled: boolean;
|
|
63
|
+
size: TreeSize;
|
|
64
|
+
loading: boolean;
|
|
65
|
+
invalid: boolean;
|
|
66
|
+
options: TreeComboboxOption[];
|
|
67
|
+
open: boolean;
|
|
68
|
+
defaultOpen: boolean;
|
|
69
|
+
placeholder: string;
|
|
70
|
+
emptyText: string;
|
|
71
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
72
|
+
rootRef: HTMLDivElement;
|
|
73
|
+
}, any>;
|
|
74
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
75
|
+
export default _default;
|
|
76
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
77
|
+
new (): {
|
|
78
|
+
$slots: S;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
//# sourceMappingURL=TreeCombobox.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreeCombobox.vue.d.ts","sourceRoot":"","sources":["../../src/components/TreeCombobox.vue"],"names":[],"mappings":"AAohBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAOnD,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,KAAK,WAAW,GAAG;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC/B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAiYJ,iBAAS,cAAc;WA8KT,OAAO,IAA6B;;iBArhBvC,MAAM,OAAO;iBACb,CAAC,KAAK,EAAE;YACf,MAAM,EAAE,kBAAkB,CAAC;YAC3B,QAAQ,EAAE,OAAO,CAAC;YAClB,MAAM,EAAE,OAAO,CAAC;SACjB,KAAK,OAAO;gBACL,CAAC,KAAK,EAAE;YAAE,KAAK,EAAE,MAAM,CAAA;SAAE,KAAK,OAAO;;iBANpC,MAAM,OAAO;iBACb,CAAC,KAAK,EAAE;YACf,MAAM,EAAE,kBAAkB,CAAC;YAC3B,QAAQ,EAAE,OAAO,CAAC;YAClB,MAAM,EAAE,OAAO,CAAC;SACjB,KAAK,OAAO;gBACL,CAAC,KAAK,EAAE;YAAE,KAAK,EAAE,MAAM,CAAA;SAAE,KAAK,OAAO;;;;;;EAohB9C;AA8BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;gBA7lBJ,MAAM;cAKR,OAAO;UADX,QAAQ;aAEL,OAAO;aACP,OAAO;aANP,kBAAkB,EAAE;UACvB,OAAO;iBACA,OAAO;iBAKP,MAAM;eACR,MAAM;;;OA6lBpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { TreeSize, TreeVariant } from '../types/contracts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
open?: boolean;
|
|
4
|
+
defaultOpen?: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
size?: TreeSize;
|
|
7
|
+
title?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
confirmLabel?: string;
|
|
10
|
+
cancelLabel?: string;
|
|
11
|
+
confirmVariant?: TreeVariant;
|
|
12
|
+
confirmDisabled?: boolean;
|
|
13
|
+
cancelDisabled?: boolean;
|
|
14
|
+
loading?: boolean;
|
|
15
|
+
closeOnEscape?: boolean;
|
|
16
|
+
closeOnOverlay?: boolean;
|
|
17
|
+
showCloseButton?: boolean;
|
|
18
|
+
closeLabel?: string;
|
|
19
|
+
closeOnConfirm?: boolean;
|
|
20
|
+
closeOnCancel?: boolean;
|
|
21
|
+
};
|
|
22
|
+
declare function __VLS_template(): {
|
|
23
|
+
attrs: Partial<{}>;
|
|
24
|
+
slots: Readonly<{
|
|
25
|
+
trigger?: () => unknown;
|
|
26
|
+
icon?: () => unknown;
|
|
27
|
+
default?: () => unknown;
|
|
28
|
+
actions?: (props: {
|
|
29
|
+
confirm: () => void;
|
|
30
|
+
cancel: () => void;
|
|
31
|
+
loading: boolean;
|
|
32
|
+
}) => unknown;
|
|
33
|
+
}> & {
|
|
34
|
+
trigger?: () => unknown;
|
|
35
|
+
icon?: () => unknown;
|
|
36
|
+
default?: () => unknown;
|
|
37
|
+
actions?: (props: {
|
|
38
|
+
confirm: () => void;
|
|
39
|
+
cancel: () => void;
|
|
40
|
+
loading: boolean;
|
|
41
|
+
}) => unknown;
|
|
42
|
+
};
|
|
43
|
+
refs: {};
|
|
44
|
+
rootEl: any;
|
|
45
|
+
};
|
|
46
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
47
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
48
|
+
"update:open": (value: boolean) => any;
|
|
49
|
+
"open-change": (value: boolean) => any;
|
|
50
|
+
cancel: () => any;
|
|
51
|
+
confirm: () => any;
|
|
52
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
53
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
54
|
+
"onOpen-change"?: ((value: boolean) => any) | undefined;
|
|
55
|
+
onCancel?: (() => any) | undefined;
|
|
56
|
+
onConfirm?: (() => any) | undefined;
|
|
57
|
+
}>, {
|
|
58
|
+
disabled: boolean;
|
|
59
|
+
size: TreeSize;
|
|
60
|
+
title: string;
|
|
61
|
+
loading: boolean;
|
|
62
|
+
open: boolean;
|
|
63
|
+
defaultOpen: boolean;
|
|
64
|
+
description: string;
|
|
65
|
+
closeOnEscape: boolean;
|
|
66
|
+
closeOnOverlay: boolean;
|
|
67
|
+
showCloseButton: boolean;
|
|
68
|
+
closeLabel: string;
|
|
69
|
+
confirmLabel: string;
|
|
70
|
+
cancelLabel: string;
|
|
71
|
+
confirmVariant: TreeVariant;
|
|
72
|
+
confirmDisabled: boolean;
|
|
73
|
+
cancelDisabled: boolean;
|
|
74
|
+
closeOnConfirm: boolean;
|
|
75
|
+
closeOnCancel: boolean;
|
|
76
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
77
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
78
|
+
export default _default;
|
|
79
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
80
|
+
new (): {
|
|
81
|
+
$slots: S;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
//# sourceMappingURL=TreeConfirmDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreeConfirmDialog.vue.d.ts","sourceRoot":"","sources":["../../src/components/TreeConfirmDialog.vue"],"names":[],"mappings":"AAmMA,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAmBhE,KAAK,WAAW,GAAG;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,WAAW,CAAC;IAC7B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AA2GJ,iBAAS,cAAc;WA0IT,OAAO,IAA6B;;kBAlRtC,MAAM,OAAO;eAChB,MAAM,OAAO;kBACV,MAAM,OAAO;kBACb,CAAC,KAAK,EAAE;YAChB,OAAO,EAAE,MAAM,IAAI,CAAC;YACpB,MAAM,EAAE,MAAM,IAAI,CAAC;YACnB,OAAO,EAAE,OAAO,CAAC;SAClB,KAAK,OAAO;;kBAPH,MAAM,OAAO;eAChB,MAAM,OAAO;kBACV,MAAM,OAAO;kBACb,CAAC,KAAK,EAAE;YAChB,OAAO,EAAE,MAAM,IAAI,CAAC;YACpB,MAAM,EAAE,MAAM,IAAI,CAAC;YACnB,OAAO,EAAE,OAAO,CAAC;SAClB,KAAK,OAAO;;;;EAgRd;AAmBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;cA9RN,OAAO;UACX,QAAQ;WACP,MAAM;aAOJ,OAAO;UAXV,OAAO;iBACA,OAAO;iBAIP,MAAM;mBAOJ,OAAO;oBACN,OAAO;qBACN,OAAO;gBACZ,MAAM;kBATJ,MAAM;iBACP,MAAM;oBACH,WAAW;qBACV,OAAO;oBACR,OAAO;oBAMP,OAAO;mBACR,OAAO;6EAuRzB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|