@ghentcdh/ui 2.0.0 → 3.0.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.
Files changed (55) hide show
  1. package/ControlWrapper-C7br-nwU.js +152 -0
  2. package/ControlWrapper-Ckzwap0M.js +1 -0
  3. package/Markdown-BjFpy32Y.js +59 -0
  4. package/Markdown-DRCEgDfZ.js +1 -0
  5. package/alert/alert.vue.d.ts +7 -11
  6. package/button/btn-badge.vue.d.ts +8 -12
  7. package/button/btn.vue.d.ts +7 -11
  8. package/card/card.vue.d.ts +13 -14
  9. package/collapse/Collapse.vue.d.ts +12 -14
  10. package/collapse/CollapseRow.vue.d.ts +8 -12
  11. package/drawer/drawer.vue.d.ts +12 -14
  12. package/filter/filter.vue.d.ts +4 -3
  13. package/form/Checkbox.vue.d.ts +11 -10
  14. package/form/Input.vue.d.ts +11 -10
  15. package/form/InputNumber.vue.d.ts +11 -10
  16. package/form/Textarea.vue.d.ts +13 -12
  17. package/form/core/ControlWrapper.vue.d.ts +17 -20
  18. package/form/index.d.ts +10 -10
  19. package/form/select/AutoComplete.vue.d.ts +14 -15
  20. package/form/select/ListResults.vue.d.ts +4 -5
  21. package/form/select/MultiSelect.vue.d.ts +13 -12
  22. package/form/select/SelectComponent.vue.d.ts +13 -12
  23. package/form/select/SelectWrapper.vue.d.ts +18 -160
  24. package/form/text/Markdown.vue.d.ts +12 -11
  25. package/form/text/MarkdownFallback.vue.d.ts +12 -11
  26. package/icons/icon.vue.d.ts +2 -1
  27. package/index.css +3 -1
  28. package/index.js +2 -1
  29. package/index.mjs +2330 -67
  30. package/loading/loading.vue.d.ts +2 -1
  31. package/menu/dropdown.vue.d.ts +2 -1
  32. package/menu/menu-item.vue.d.ts +2 -1
  33. package/menu/menu.vue.d.ts +2 -1
  34. package/menu/sub-menu.vue.d.ts +2 -1
  35. package/modal/confirmModal.vue.d.ts +3 -2
  36. package/modal/modal.vue.d.ts +12 -18
  37. package/modal/modalWrapper.vue.d.ts +2 -1
  38. package/package.json +9 -9
  39. package/shell/shell.component.vue.d.ts +7 -11
  40. package/table/cells/boolean.cell.vue.d.ts +3 -2
  41. package/table/cells/text.cell.vue.d.ts +3 -2
  42. package/table/header/sort.header.vue.d.ts +3 -2
  43. package/table/pagination-button.component.vue.d.ts +2 -1
  44. package/table/pagination.component.vue.d.ts +3 -2
  45. package/table/table.component.vue.d.ts +4 -3
  46. package/testing.js +1 -1
  47. package/testing.mjs +338 -419
  48. package/toast/notification-message.vue.d.ts +2 -1
  49. package/toast/notifications.vue.d.ts +2 -1
  50. package/tree/TreeItem.vue.d.ts +3 -2
  51. package/tree/TreeView.vue.d.ts +3 -2
  52. package/Markdown-C7ZNnPQB.js +0 -1
  53. package/Markdown-OZGmR-pI.js +0 -76
  54. package/index-NGeplssl.js +0 -2
  55. package/index-WrdKkd9c.js +0 -2633
@@ -0,0 +1,152 @@
1
+ import { computed as e, createCommentVNode as t, createElementBlock as n, createElementVNode as r, defineComponent as i, normalizeClass as a, openBlock as o, renderSlot as s, toDisplayString as c } from "vue";
2
+ //#region src/form/core/styles.ts
3
+ var l = {
4
+ group: {
5
+ root: "group",
6
+ label: "text-primary text-lg font-bold",
7
+ item: "group-item"
8
+ },
9
+ verticalLayout: {
10
+ root: "flex flex-col gap-x-2",
11
+ item: "w-full"
12
+ },
13
+ horizontalLayout: {
14
+ root: "flex flex-row gap-x-2",
15
+ item: "w-full"
16
+ },
17
+ arrayList: {
18
+ root: "fieldset",
19
+ legend: "fieldset-legend text-xl capitalize"
20
+ },
21
+ control: {
22
+ root: "fieldset",
23
+ wrapper: "fieldset",
24
+ label: "fieldset-legend",
25
+ error: "",
26
+ input: "input",
27
+ textarea: "textarea h-32",
28
+ checkbox: "checkbox",
29
+ select: "input pr-14",
30
+ description: "form-control--description label text-xs text-gray-500"
31
+ },
32
+ fixedArrayList: {
33
+ root: "flex flex-row gap-x-2",
34
+ item: "w-full"
35
+ }
36
+ }, u = (e) => {
37
+ if (!e) return { ...l };
38
+ let t = { ...l };
39
+ for (let n of Object.keys(e)) {
40
+ let r = e[n];
41
+ r && typeof r == "object" && (t[n] = {
42
+ ...l[n],
43
+ ...r
44
+ });
45
+ }
46
+ return t;
47
+ }, d = {
48
+ id: {
49
+ type: String,
50
+ default: void 0
51
+ },
52
+ placeholder: {
53
+ type: String,
54
+ default: void 0
55
+ },
56
+ description: {
57
+ type: String,
58
+ default: void 0
59
+ },
60
+ errors: {
61
+ type: String,
62
+ default: void 0
63
+ },
64
+ label: {
65
+ type: String,
66
+ default: void 0
67
+ },
68
+ visible: {
69
+ type: Boolean,
70
+ default: !1
71
+ },
72
+ required: {
73
+ type: Boolean,
74
+ default: !1
75
+ },
76
+ enabled: {
77
+ type: Boolean,
78
+ default: !0
79
+ },
80
+ isFocused: {
81
+ type: Boolean,
82
+ default: !1
83
+ },
84
+ isTouched: {
85
+ type: Boolean,
86
+ default: !1
87
+ },
88
+ hideLabel: {
89
+ type: Boolean,
90
+ default: !1
91
+ },
92
+ styles: {
93
+ type: Object,
94
+ default: () => l
95
+ },
96
+ width: {
97
+ type: String,
98
+ default: "!w-48"
99
+ },
100
+ size: {
101
+ type: String,
102
+ default: void 0
103
+ },
104
+ hideErrors: {
105
+ type: Boolean,
106
+ default: !1
107
+ }
108
+ }, f = ["change"], p = {
109
+ ...d,
110
+ width: {
111
+ type: String,
112
+ default: "w-48"
113
+ },
114
+ minHeight: {
115
+ type: String,
116
+ default: "min-h-[50vh]"
117
+ },
118
+ actions: {
119
+ type: Object,
120
+ default: () => [{
121
+ label: "<strong>B</strong>",
122
+ name: "bold",
123
+ action: (e) => e?.chain().focus().toggleBold().run()
124
+ }, {
125
+ label: "<em>I</em>",
126
+ name: "italic",
127
+ action: (e) => e?.chain().focus().toggleItalic().run()
128
+ }]
129
+ }
130
+ }, m = ({ isTouched: e, errors: t }) => !!(e && t), h = (e, t, n, r) => t === void 0 || t !== void 0 && !e || !r && !n, g = (e, t) => [e, {
131
+ "input-sm": t.size === "sm",
132
+ "input-error": m(t)
133
+ }], _ = {
134
+ key: 0,
135
+ class: "flex items-center justify-between mb-2"
136
+ }, v = { key: 0 }, y = /* @__PURE__ */ i({
137
+ __name: "ControlWrapper",
138
+ props: d,
139
+ setup(i) {
140
+ let l = i, d = e(() => !h(l.visible, l.description, l.isFocused, !0)), f = e(() => l.required), p = e(() => m(l)), g = e(() => u(l.styles));
141
+ return (e, i) => (o(), n("fieldset", { class: a(["fieldset", [e.width, g.value.control.wrapper]]) }, [
142
+ r("legend", { class: a(["w-full inline-block", [g.value.control.label, { "p-0 h-0 leading-none": e.hideLabel }]]) }, [e.hideLabel ? t("", !0) : (o(), n("div", _, [r("div", null, [r("span", null, c(e.label), 1), f.value ? (o(), n("span", v, "*")) : t("", !0)]), s(e.$slots, "label-action")]))], 2),
143
+ s(e.$slots, "default"),
144
+ e.hideErrors ? t("", !0) : (o(), n("p", {
145
+ key: 0,
146
+ class: a(["fieldset-label h-4", { "text-error": p.value }])
147
+ }, c(p.value ? e.errors : d.value ? e.description : null), 3))
148
+ ], 2));
149
+ }
150
+ });
151
+ //#endregion
152
+ export { p as a, u as c, m as i, l, g as n, f as o, h as r, d as s, y as t };
@@ -0,0 +1 @@
1
+ let e=require("vue");var t={group:{root:`group`,label:`text-primary text-lg font-bold`,item:`group-item`},verticalLayout:{root:`flex flex-col gap-x-2`,item:`w-full`},horizontalLayout:{root:`flex flex-row gap-x-2`,item:`w-full`},arrayList:{root:`fieldset`,legend:`fieldset-legend text-xl capitalize`},control:{root:`fieldset`,wrapper:`fieldset`,label:`fieldset-legend`,error:``,input:`input`,textarea:`textarea h-32`,checkbox:`checkbox`,select:`input pr-14`,description:`form-control--description label text-xs text-gray-500`},fixedArrayList:{root:`flex flex-row gap-x-2`,item:`w-full`}},n=e=>{if(!e)return{...t};let n={...t};for(let r of Object.keys(e)){let i=e[r];i&&typeof i==`object`&&(n[r]={...t[r],...i})}return n},r={id:{type:String,default:void 0},placeholder:{type:String,default:void 0},description:{type:String,default:void 0},errors:{type:String,default:void 0},label:{type:String,default:void 0},visible:{type:Boolean,default:!1},required:{type:Boolean,default:!1},enabled:{type:Boolean,default:!0},isFocused:{type:Boolean,default:!1},isTouched:{type:Boolean,default:!1},hideLabel:{type:Boolean,default:!1},styles:{type:Object,default:()=>t},width:{type:String,default:`!w-48`},size:{type:String,default:void 0},hideErrors:{type:Boolean,default:!1}},i=[`change`],a={...r,width:{type:String,default:`w-48`},minHeight:{type:String,default:`min-h-[50vh]`},actions:{type:Object,default:()=>[{label:`<strong>B</strong>`,name:`bold`,action:e=>e?.chain().focus().toggleBold().run()},{label:`<em>I</em>`,name:`italic`,action:e=>e?.chain().focus().toggleItalic().run()}]}},o=({isTouched:e,errors:t})=>!!(e&&t),s=(e,t,n,r)=>t===void 0||t!==void 0&&!e||!r&&!n,c=(e,t)=>[e,{"input-sm":t.size===`sm`,"input-error":o(t)}],l={key:0,class:`flex items-center justify-between mb-2`},u={key:0},d=(0,e.defineComponent)({__name:`ControlWrapper`,props:r,setup(t){let r=t,i=(0,e.computed)(()=>!s(r.visible,r.description,r.isFocused,!0)),a=(0,e.computed)(()=>r.required),c=(0,e.computed)(()=>o(r)),d=(0,e.computed)(()=>n(r.styles));return(t,n)=>((0,e.openBlock)(),(0,e.createElementBlock)(`fieldset`,{class:(0,e.normalizeClass)([`fieldset`,[t.width,d.value.control.wrapper]])},[(0,e.createElementVNode)(`legend`,{class:(0,e.normalizeClass)([`w-full inline-block`,[d.value.control.label,{"p-0 h-0 leading-none":t.hideLabel}]])},[t.hideLabel?(0,e.createCommentVNode)(``,!0):((0,e.openBlock)(),(0,e.createElementBlock)(`div`,l,[(0,e.createElementVNode)(`div`,null,[(0,e.createElementVNode)(`span`,null,(0,e.toDisplayString)(t.label),1),a.value?((0,e.openBlock)(),(0,e.createElementBlock)(`span`,u,`*`)):(0,e.createCommentVNode)(``,!0)]),(0,e.renderSlot)(t.$slots,`label-action`)]))],2),(0,e.renderSlot)(t.$slots,`default`),t.hideErrors?(0,e.createCommentVNode)(``,!0):((0,e.openBlock)(),(0,e.createElementBlock)(`p`,{key:0,class:(0,e.normalizeClass)([`fieldset-label h-4`,{"text-error":c.value}])},(0,e.toDisplayString)(c.value?t.errors:i.value?t.description:null),3))],2))}});Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return t}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return d}});
@@ -0,0 +1,59 @@
1
+ import { a as e, o as t, t as n } from "./ControlWrapper-C7br-nwU.js";
2
+ import { Fragment as r, createBlock as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, guardReactiveProps as l, mergeModels as u, normalizeClass as d, normalizeProps as f, onBeforeUnmount as p, openBlock as m, renderList as h, unref as g, useModel as _, withCtx as v } from "vue";
3
+ import y from "@tiptap/starter-kit";
4
+ import { EditorContent as b, useEditor as x } from "@tiptap/vue-3";
5
+ import { Markdown as S } from "tiptap-markdown";
6
+ //#region src/form/text/Markdown.vue?vue&type=script&setup=true&lang.ts
7
+ var C = ["aria-label"], w = { class: "flex items-center gap-1 px-3 py-2 border-b border-base-300 bg-base-200" }, T = ["title", "onClick"], E = ["innerHTML"], D = { class: "card-body p-3" }, O = /* @__PURE__ */ c({
8
+ __name: "Markdown",
9
+ props: /*@__PURE__*/ u(e, {
10
+ modelValue: {},
11
+ modelModifiers: {}
12
+ }),
13
+ emits: /*@__PURE__*/ u(t, ["update:modelValue"]),
14
+ setup(e, { emit: t }) {
15
+ let c = e, u = t, O = _(e, "modelValue"), k = x({
16
+ content: O.value ?? "",
17
+ extensions: [y.configure({
18
+ heading: !1,
19
+ blockquote: !1,
20
+ bulletList: !1,
21
+ orderedList: !1,
22
+ listItem: !1,
23
+ code: !1,
24
+ codeBlock: !1,
25
+ horizontalRule: !1,
26
+ hardBreak: !1
27
+ }), S.configure({
28
+ html: !1,
29
+ transformPastedText: !0
30
+ })],
31
+ onUpdate({ editor: e }) {
32
+ let t = e.storage.markdown.getMarkdown();
33
+ O.value = t, u("change", t);
34
+ }
35
+ });
36
+ return p(() => {
37
+ k.value?.destroy();
38
+ }), (e, t) => (m(), i(n, f(l(c)), {
39
+ default: v(() => [o("div", {
40
+ class: d([[e.minHeight], "card bg-base-100 border border-base-300 w-full"]),
41
+ "aria-label": e.id,
42
+ role: "textbox"
43
+ }, [o("div", w, [(m(!0), a(r, null, h(e.actions, (e) => (m(), a("button", {
44
+ key: e.name,
45
+ tabindex: "-1",
46
+ type: "button",
47
+ class: d(["btn btn-sm btn-ghost", { "btn-active": g(k)?.isActive(e.name) }]),
48
+ title: e.label,
49
+ onClick: (t) => e.action(g(k))
50
+ }, [o("span", { innerHTML: e.label }, null, 8, E)], 10, T))), 128))]), o("div", D, [s(g(b), {
51
+ editor: g(k),
52
+ class: "prose prose-sm max-w-none h-full"
53
+ }, null, 8, ["editor"])])], 10, C)]),
54
+ _: 1
55
+ }, 16));
56
+ }
57
+ });
58
+ //#endregion
59
+ export { O as default };
@@ -0,0 +1 @@
1
+ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));const c=require("./ControlWrapper-Ckzwap0M.js");let l=require("vue"),u=require("@tiptap/starter-kit");u=s(u);let d=require("@tiptap/vue-3"),f=require("tiptap-markdown");var p=[`aria-label`],m={class:`flex items-center gap-1 px-3 py-2 border-b border-base-300 bg-base-200`},h=[`title`,`onClick`],g=[`innerHTML`],_={class:`card-body p-3`},v=(0,l.defineComponent)({__name:`Markdown`,props:(0,l.mergeModels)(c.a,{modelValue:{},modelModifiers:{}}),emits:(0,l.mergeModels)(c.o,[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=(0,l.useModel)(e,`modelValue`),a=(0,d.useEditor)({content:i.value??``,extensions:[u.default.configure({heading:!1,blockquote:!1,bulletList:!1,orderedList:!1,listItem:!1,code:!1,codeBlock:!1,horizontalRule:!1,hardBreak:!1}),f.Markdown.configure({html:!1,transformPastedText:!0})],onUpdate({editor:e}){let t=e.storage.markdown.getMarkdown();i.value=t,r(`change`,t)}});return(0,l.onBeforeUnmount)(()=>{a.value?.destroy()}),(e,t)=>((0,l.openBlock)(),(0,l.createBlock)(c.t,(0,l.normalizeProps)((0,l.guardReactiveProps)(n)),{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)(`div`,{class:(0,l.normalizeClass)([[e.minHeight],`card bg-base-100 border border-base-300 w-full`]),"aria-label":e.id,role:`textbox`},[(0,l.createElementVNode)(`div`,m,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e.actions,e=>((0,l.openBlock)(),(0,l.createElementBlock)(`button`,{key:e.name,tabindex:`-1`,type:`button`,class:(0,l.normalizeClass)([`btn btn-sm btn-ghost`,{"btn-active":(0,l.unref)(a)?.isActive(e.name)}]),title:e.label,onClick:t=>e.action((0,l.unref)(a))},[(0,l.createElementVNode)(`span`,{innerHTML:e.label},null,8,g)],10,h))),128))]),(0,l.createElementVNode)(`div`,_,[(0,l.createVNode)((0,l.unref)(d.EditorContent),{editor:(0,l.unref)(a),class:`prose prose-sm max-w-none h-full`},null,8,[`editor`])])],10,p)]),_:1},16))}});exports.default=v;
@@ -3,19 +3,15 @@ type __VLS_Props = {
3
3
  message: string;
4
4
  type: AlertType;
5
5
  };
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: {
9
- default?(_: {}): any;
10
- };
11
- refs: {};
12
- rootEl: HTMLDivElement;
6
+ declare var __VLS_1: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_1) => any;
13
9
  };
14
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
16
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
10
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
+ declare const _default: typeof __VLS_export;
17
13
  export default _default;
18
- type __VLS_WithTemplateSlots<T, S> = T & {
14
+ type __VLS_WithSlots<T, S> = T & {
19
15
  new (): {
20
16
  $slots: S;
21
17
  };
@@ -1,13 +1,8 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- default?(_: {}): any;
5
- };
6
- refs: {};
7
- rootEl: HTMLButtonElement;
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
8
4
  };
9
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
11
6
  icon: {
12
7
  type: import('vue').PropType<import('../icons').IconProp>;
13
8
  };
@@ -52,10 +47,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
52
47
  type: import('./const').ButtonType;
53
48
  disabled: boolean;
54
49
  color: import('../const/colors').Color;
55
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>;
56
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
50
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
51
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
52
+ declare const _default: typeof __VLS_export;
57
53
  export default _default;
58
- type __VLS_WithTemplateSlots<T, S> = T & {
54
+ type __VLS_WithSlots<T, S> = T & {
59
55
  new (): {
60
56
  $slots: S;
61
57
  };
@@ -1,14 +1,9 @@
1
1
  import { Color } from '../const/colors';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- default?(_: {}): any;
6
- };
7
- refs: {};
8
- rootEl: any;
2
+ declare var __VLS_15: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_15) => any;
9
5
  };
10
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
12
7
  href: {
13
8
  type: StringConstructor;
14
9
  };
@@ -102,9 +97,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
102
97
  square: boolean;
103
98
  noBorder: boolean;
104
99
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
105
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
100
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
101
+ declare const _default: typeof __VLS_export;
106
102
  export default _default;
107
- type __VLS_WithTemplateSlots<T, S> = T & {
103
+ type __VLS_WithSlots<T, S> = T & {
108
104
  new (): {
109
105
  $slots: S;
110
106
  };
@@ -1,19 +1,18 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- title?(_: {}): any;
5
- default?(_: {}): any;
6
- content?(_: {}): any;
7
- actions?(_: {}): any;
8
- };
9
- refs: {};
10
- rootEl: HTMLDivElement;
1
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {};
2
+ type __VLS_Slots = {} & {
3
+ title?: (props: typeof __VLS_1) => any;
4
+ } & {
5
+ default?: (props: typeof __VLS_3) => any;
6
+ } & {
7
+ content?: (props: typeof __VLS_5) => any;
8
+ } & {
9
+ actions?: (props: typeof __VLS_7) => any;
11
10
  };
12
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
14
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
11
+ declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
+ declare const _default: typeof __VLS_export;
15
14
  export default _default;
16
- type __VLS_WithTemplateSlots<T, S> = T & {
15
+ type __VLS_WithSlots<T, S> = T & {
17
16
  new (): {
18
17
  $slots: S;
19
18
  };
@@ -1,15 +1,12 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- default?(_: {}): any;
5
- list?(_: {}): any;
6
- footer?(_: {}): any;
7
- };
8
- refs: {};
9
- rootEl: HTMLDivElement;
1
+ declare var __VLS_9: {}, __VLS_11: {}, __VLS_13: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_9) => any;
4
+ } & {
5
+ list?: (props: typeof __VLS_11) => any;
6
+ } & {
7
+ footer?: (props: typeof __VLS_13) => any;
10
8
  };
11
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
9
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
13
10
  title: {
14
11
  type: StringConstructor;
15
12
  required: true;
@@ -65,10 +62,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
65
62
  opened: boolean;
66
63
  heightFull: boolean;
67
64
  scrollable: boolean;
68
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
69
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
65
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
66
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
67
+ declare const _default: typeof __VLS_export;
70
68
  export default _default;
71
- type __VLS_WithTemplateSlots<T, S> = T & {
69
+ type __VLS_WithSlots<T, S> = T & {
72
70
  new (): {
73
71
  $slots: S;
74
72
  };
@@ -1,13 +1,8 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- default?(_: {}): any;
5
- };
6
- refs: {};
7
- rootEl: HTMLLIElement;
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
8
4
  };
9
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
11
6
  title: {
12
7
  type: StringConstructor;
13
8
  };
@@ -39,10 +34,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
39
34
  descriptionLink: {
40
35
  type: StringConstructor;
41
36
  };
42
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLLIElement>;
43
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
37
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
38
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
39
+ declare const _default: typeof __VLS_export;
44
40
  export default _default;
45
- type __VLS_WithTemplateSlots<T, S> = T & {
41
+ type __VLS_WithSlots<T, S> = T & {
46
42
  new (): {
47
43
  $slots: S;
48
44
  };
@@ -1,15 +1,12 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- 'left-drawer'?(_: {}): any;
5
- default?(_: {}): any;
6
- 'right-drawer'?(_: {}): any;
7
- };
8
- refs: {};
9
- rootEl: HTMLElement;
1
+ declare var __VLS_1: {}, __VLS_8: {}, __VLS_15: {};
2
+ type __VLS_Slots = {} & {
3
+ 'left-drawer'?: (props: typeof __VLS_1) => any;
4
+ } & {
5
+ default?: (props: typeof __VLS_8) => any;
6
+ } & {
7
+ 'right-drawer'?: (props: typeof __VLS_15) => any;
10
8
  };
11
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
9
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
13
10
  widthLeft: {
14
11
  type: NumberConstructor;
15
12
  default: number;
@@ -57,10 +54,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
57
54
  initialLeftOpen: boolean;
58
55
  initialRightOpen: boolean;
59
56
  drawerColor: string;
60
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
61
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
57
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
58
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
59
+ declare const _default: typeof __VLS_export;
62
60
  export default _default;
63
- type __VLS_WithTemplateSlots<T, S> = T & {
61
+ type __VLS_WithSlots<T, S> = T & {
64
62
  new (): {
65
63
  $slots: S;
66
64
  };
@@ -1,4 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
1
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  title: {
3
3
  type: StringConstructor;
4
4
  required: true;
@@ -73,12 +73,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
73
73
  default: boolean;
74
74
  };
75
75
  }>> & Readonly<{}>, {
76
+ modelValue: any[];
76
77
  labelKey: string;
77
78
  valueKey: string;
78
- modelValue: any[];
79
79
  opened: boolean;
80
80
  colorKey: string;
81
81
  countKey: string;
82
82
  counts: Record<string, number>;
83
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
83
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
84
+ declare const _default: typeof __VLS_export;
84
85
  export default _default;
@@ -1,4 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
1
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  id: {
3
3
  type: StringConstructor;
4
4
  default: undefined;
@@ -96,7 +96,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
96
96
  type: import('vue').PropType<any>;
97
97
  };
98
98
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
99
- "update:modelValue": (value: any) => void;
99
+ "update:modelValue": (value: any) => any;
100
100
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
101
101
  id: {
102
102
  type: StringConstructor;
@@ -203,6 +203,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
203
203
  id: string;
204
204
  placeholder: string;
205
205
  width: string;
206
+ errors: string;
207
+ isTouched: boolean;
208
+ description: string;
209
+ visible: boolean;
210
+ enabled: boolean;
211
+ isFocused: boolean;
212
+ hideLabel: boolean;
206
213
  styles: {
207
214
  readonly group: {
208
215
  readonly root: "group";
@@ -237,13 +244,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
237
244
  readonly item: "w-full";
238
245
  };
239
246
  };
240
- hideLabel: boolean;
241
- visible: boolean;
242
- errors: string;
243
- isTouched: boolean;
244
- description: string;
245
- enabled: boolean;
246
- isFocused: boolean;
247
247
  hideErrors: boolean;
248
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
248
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
249
+ declare const _default: typeof __VLS_export;
249
250
  export default _default;
@@ -1,4 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
1
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  type: {
3
3
  type: StringConstructor;
4
4
  default: string;
@@ -104,7 +104,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
104
104
  type: import('vue').PropType<any>;
105
105
  };
106
106
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
107
- "update:modelValue": (value: any) => void;
107
+ "update:modelValue": (value: any) => any;
108
108
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
109
109
  type: {
110
110
  type: StringConstructor;
@@ -220,6 +220,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
220
220
  id: string;
221
221
  placeholder: string;
222
222
  width: string;
223
+ errors: string;
224
+ isTouched: boolean;
225
+ description: string;
226
+ visible: boolean;
227
+ enabled: boolean;
228
+ isFocused: boolean;
229
+ hideLabel: boolean;
223
230
  styles: {
224
231
  readonly group: {
225
232
  readonly root: "group";
@@ -254,14 +261,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
254
261
  readonly item: "w-full";
255
262
  };
256
263
  };
257
- hideLabel: boolean;
258
- visible: boolean;
259
- errors: string;
260
- isTouched: boolean;
261
- description: string;
262
- enabled: boolean;
263
- isFocused: boolean;
264
264
  hideErrors: boolean;
265
265
  clearable: boolean;
266
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLFieldSetElement>;
266
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
267
+ declare const _default: typeof __VLS_export;
267
268
  export default _default;
@@ -1,4 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
1
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  steps: {
3
3
  type: NumberConstructor;
4
4
  default: number;
@@ -100,7 +100,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
100
100
  type: import('vue').PropType<any>;
101
101
  };
102
102
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
103
- "update:modelValue": (value: any) => void;
103
+ "update:modelValue": (value: any) => any;
104
104
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
105
105
  steps: {
106
106
  type: NumberConstructor;
@@ -211,6 +211,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
211
211
  id: string;
212
212
  placeholder: string;
213
213
  width: string;
214
+ errors: string;
215
+ isTouched: boolean;
216
+ description: string;
217
+ visible: boolean;
218
+ enabled: boolean;
219
+ isFocused: boolean;
220
+ hideLabel: boolean;
214
221
  styles: {
215
222
  readonly group: {
216
223
  readonly root: "group";
@@ -245,14 +252,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
245
252
  readonly item: "w-full";
246
253
  };
247
254
  };
248
- hideLabel: boolean;
249
- visible: boolean;
250
- errors: string;
251
- isTouched: boolean;
252
- description: string;
253
- enabled: boolean;
254
- isFocused: boolean;
255
255
  hideErrors: boolean;
256
256
  steps: number;
257
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLFieldSetElement>;
257
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
258
+ declare const _default: typeof __VLS_export;
258
259
  export default _default;