@ghentcdh/ui 3.0.0 → 3.0.2

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 (50) hide show
  1. package/ControlWrapper-Ckzwap0M.js +1 -0
  2. package/{Markdown-Dj1gzJJq.js → Markdown-BjFpy32Y.js} +3 -3
  3. package/{Markdown-DcpBYoNe.js → Markdown-DRCEgDfZ.js} +1 -1
  4. package/alert/alert.vue.d.ts +7 -11
  5. package/button/btn-badge.vue.d.ts +8 -12
  6. package/button/btn.vue.d.ts +7 -11
  7. package/card/card.vue.d.ts +13 -14
  8. package/collapse/Collapse.vue.d.ts +12 -14
  9. package/collapse/CollapseRow.vue.d.ts +8 -12
  10. package/drawer/drawer.vue.d.ts +12 -14
  11. package/filter/filter.vue.d.ts +3 -2
  12. package/form/Checkbox.vue.d.ts +5 -4
  13. package/form/Input.vue.d.ts +5 -4
  14. package/form/InputNumber.vue.d.ts +5 -4
  15. package/form/Textarea.vue.d.ts +6 -5
  16. package/form/core/ControlWrapper.vue.d.ts +11 -14
  17. package/form/index.d.ts +3 -3
  18. package/form/select/AutoComplete.vue.d.ts +4 -5
  19. package/form/select/ListResults.vue.d.ts +4 -5
  20. package/form/select/MultiSelect.vue.d.ts +4 -3
  21. package/form/select/SelectComponent.vue.d.ts +4 -3
  22. package/form/select/SelectWrapper.vue.d.ts +9 -151
  23. package/form/text/Markdown.vue.d.ts +5 -4
  24. package/form/text/MarkdownFallback.vue.d.ts +5 -4
  25. package/icons/icon.vue.d.ts +2 -1
  26. package/index.css +2 -2
  27. package/index.js +1 -1
  28. package/index.mjs +21 -23
  29. package/loading/loading.vue.d.ts +2 -1
  30. package/menu/dropdown.vue.d.ts +2 -1
  31. package/menu/menu-item.vue.d.ts +2 -1
  32. package/menu/menu.vue.d.ts +2 -1
  33. package/menu/sub-menu.vue.d.ts +2 -1
  34. package/modal/confirmModal.vue.d.ts +3 -2
  35. package/modal/modal.vue.d.ts +12 -18
  36. package/modal/modalWrapper.vue.d.ts +2 -1
  37. package/package.json +9 -9
  38. package/shell/shell.component.vue.d.ts +7 -11
  39. package/table/cells/boolean.cell.vue.d.ts +3 -2
  40. package/table/cells/text.cell.vue.d.ts +3 -2
  41. package/table/header/sort.header.vue.d.ts +3 -2
  42. package/table/pagination-button.component.vue.d.ts +2 -1
  43. package/table/pagination.component.vue.d.ts +3 -2
  44. package/table/table.component.vue.d.ts +3 -2
  45. package/toast/notification-message.vue.d.ts +2 -1
  46. package/toast/notifications.vue.d.ts +2 -1
  47. package/tree/TreeItem.vue.d.ts +3 -2
  48. package/tree/TreeView.vue.d.ts +3 -2
  49. package/ControlWrapper-DejmeYzV.js +0 -1
  50. /package/{ControlWrapper-DqO2d36v.js → ControlWrapper-C7br-nwU.js} +0 -0
@@ -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}});
@@ -1,4 +1,4 @@
1
- import { a as e, o as t, t as n } from "./ControlWrapper-DqO2d36v.js";
1
+ import { a as e, o as t, t as n } from "./ControlWrapper-C7br-nwU.js";
2
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
3
  import y from "@tiptap/starter-kit";
4
4
  import { EditorContent as b, useEditor as x } from "@tiptap/vue-3";
@@ -6,11 +6,11 @@ import { Markdown as S } from "tiptap-markdown";
6
6
  //#region src/form/text/Markdown.vue?vue&type=script&setup=true&lang.ts
7
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
8
  __name: "Markdown",
9
- props: /* @__PURE__ */ u(e, {
9
+ props: /*@__PURE__*/ u(e, {
10
10
  modelValue: {},
11
11
  modelModifiers: {}
12
12
  }),
13
- emits: /* @__PURE__ */ u(t, ["update:modelValue"]),
13
+ emits: /*@__PURE__*/ u(t, ["update:modelValue"]),
14
14
  setup(e, { emit: t }) {
15
15
  let c = e, u = t, O = _(e, "modelValue"), k = x({
16
16
  content: O.value ?? "",
@@ -1 +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-DejmeYzV.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,exports.t=s;
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;
@@ -80,5 +80,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
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,10 +203,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
203
203
  id: string;
204
204
  placeholder: string;
205
205
  width: string;
206
- visible: boolean;
207
206
  errors: string;
208
207
  isTouched: boolean;
209
208
  description: string;
209
+ visible: boolean;
210
210
  enabled: boolean;
211
211
  isFocused: boolean;
212
212
  hideLabel: boolean;
@@ -245,5 +245,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
245
245
  };
246
246
  };
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,10 +220,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
220
220
  id: string;
221
221
  placeholder: string;
222
222
  width: string;
223
- visible: boolean;
224
223
  errors: string;
225
224
  isTouched: boolean;
226
225
  description: string;
226
+ visible: boolean;
227
227
  enabled: boolean;
228
228
  isFocused: boolean;
229
229
  hideLabel: boolean;
@@ -263,5 +263,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
263
263
  };
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,10 +211,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
211
211
  id: string;
212
212
  placeholder: string;
213
213
  width: string;
214
- visible: boolean;
215
214
  errors: string;
216
215
  isTouched: boolean;
217
216
  description: string;
217
+ visible: boolean;
218
218
  enabled: boolean;
219
219
  isFocused: boolean;
220
220
  hideLabel: boolean;
@@ -254,5 +254,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
254
254
  };
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;
@@ -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
  rows: {
3
3
  type: NumberConstructor;
4
4
  default: number;
@@ -112,7 +112,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
112
112
  type: import('vue').PropType<string>;
113
113
  };
114
114
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
115
- "update:modelValue": (value: string) => void;
115
+ "update:modelValue": (value: string | undefined) => any;
116
116
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
117
117
  rows: {
118
118
  type: NumberConstructor;
@@ -227,7 +227,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
227
227
  type: import('vue').PropType<string>;
228
228
  };
229
229
  }>> & Readonly<{
230
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
230
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
231
231
  }>, {
232
232
  size: string;
233
233
  label: string;
@@ -236,10 +236,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
236
236
  id: string;
237
237
  placeholder: string;
238
238
  width: string;
239
- visible: boolean;
240
239
  errors: string;
241
240
  isTouched: boolean;
242
241
  description: string;
242
+ visible: boolean;
243
243
  enabled: boolean;
244
244
  isFocused: boolean;
245
245
  hideLabel: boolean;
@@ -281,5 +281,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
281
281
  minHeight: string;
282
282
  rows: number;
283
283
  height: string;
284
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLFieldSetElement>;
284
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
285
+ declare const _default: typeof __VLS_export;
285
286
  export default _default;
@@ -1,14 +1,10 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- 'label-action'?(_: {}): any;
5
- default?(_: {}): any;
6
- };
7
- refs: {};
8
- rootEl: HTMLFieldSetElement;
1
+ declare var __VLS_1: {}, __VLS_3: {};
2
+ type __VLS_Slots = {} & {
3
+ 'label-action'?: (props: typeof __VLS_1) => any;
4
+ } & {
5
+ default?: (props: typeof __VLS_3) => any;
9
6
  };
10
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
12
8
  id: {
13
9
  type: StringConstructor;
14
10
  default: undefined;
@@ -203,10 +199,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
203
199
  id: string;
204
200
  placeholder: string;
205
201
  width: string;
206
- visible: boolean;
207
202
  errors: string;
208
203
  isTouched: boolean;
209
204
  description: string;
205
+ visible: boolean;
210
206
  enabled: boolean;
211
207
  isFocused: boolean;
212
208
  hideLabel: boolean;
@@ -245,10 +241,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
245
241
  };
246
242
  };
247
243
  hideErrors: boolean;
248
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLFieldSetElement>;
249
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
244
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
245
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
246
+ declare const _default: typeof __VLS_export;
250
247
  export default _default;
251
- type __VLS_WithTemplateSlots<T, S> = T & {
248
+ type __VLS_WithSlots<T, S> = T & {
252
249
  new (): {
253
250
  $slots: S;
254
251
  };
package/form/index.d.ts CHANGED
@@ -118,7 +118,7 @@ export declare const Markdown: import('vue').DefineComponent<import('vue').Extra
118
118
  type: import('vue').PropType<any>;
119
119
  };
120
120
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
121
- "update:modelValue": (value: any) => void;
121
+ "update:modelValue": (value: any) => any;
122
122
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
123
123
  width: {
124
124
  type: StringConstructor;
@@ -234,10 +234,10 @@ export declare const Markdown: import('vue').DefineComponent<import('vue').Extra
234
234
  placeholder: string;
235
235
  width: string;
236
236
  actions: import('./text/MarkdownComponent.properties').ToolbarAction[];
237
- visible: boolean;
238
237
  errors: string;
239
238
  isTouched: boolean;
240
239
  description: string;
240
+ visible: boolean;
241
241
  enabled: boolean;
242
242
  isFocused: boolean;
243
243
  hideLabel: boolean;
@@ -277,7 +277,7 @@ export declare const Markdown: import('vue').DefineComponent<import('vue').Extra
277
277
  };
278
278
  hideErrors: boolean;
279
279
  minHeight: string;
280
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLFieldSetElement>;
280
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
281
281
  export { default as Checkbox } from './Checkbox.vue';
282
282
  export { default as Input } from './Input.vue';
283
283
  export { default as InputNumber } from './InputNumber.vue';
@@ -1,5 +1,5 @@
1
1
  import { OptionValue } from './ListResults.properties';
2
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
3
  modelValue: {
4
4
  type: (StringConstructor | ObjectConstructor)[];
5
5
  default: string;
@@ -329,10 +329,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
329
329
  query: string;
330
330
  width: string;
331
331
  value: any;
332
- visible: boolean;
333
332
  errors: string;
334
333
  isTouched: boolean;
335
334
  description: string;
335
+ visible: boolean;
336
336
  enabled: boolean;
337
337
  isFocused: boolean;
338
338
  hideLabel: boolean;
@@ -382,7 +382,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
382
382
  debounceMs: number;
383
383
  maxResults: number;
384
384
  freeText: boolean;
385
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
386
- inputRef: HTMLInputElement;
387
- }, HTMLDivElement>;
385
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
386
+ declare const _default: typeof __VLS_export;
388
387
  export default _default;
@@ -1,6 +1,8 @@
1
1
  import { OptionValue } from './ListResults.properties';
2
2
  export declare function highlight(isActive: boolean, text: string, query: string): string;
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ declare const _default: typeof __VLS_export;
4
+ export default _default;
5
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
6
  options: {
5
7
  type: import('vue').PropType<Array<OptionValue>>;
6
8
  required: false;
@@ -49,7 +51,4 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
49
51
  query: string;
50
52
  isLoading: boolean;
51
53
  teleported: boolean;
52
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
53
- listRef: HTMLUListElement;
54
- }, HTMLUListElement>;
55
- export default _default;
54
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -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
  isOpen: {
3
3
  type: BooleanConstructor;
4
4
  default: boolean;
@@ -302,10 +302,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
302
302
  query: string;
303
303
  width: string;
304
304
  value: any;
305
- visible: boolean;
306
305
  errors: string;
307
306
  isTouched: boolean;
308
307
  description: string;
308
+ visible: boolean;
309
309
  enabled: boolean;
310
310
  isFocused: boolean;
311
311
  hideLabel: boolean;
@@ -351,5 +351,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
351
351
  valueKey: string;
352
352
  enableCreate: boolean;
353
353
  clearable: boolean;
354
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
354
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
355
+ declare const _default: typeof __VLS_export;
355
356
  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
  options: {
3
3
  type: import('vue').PropType<Array<any>>;
4
4
  required: true;
@@ -260,10 +260,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
260
260
  placeholder: string;
261
261
  width: string;
262
262
  value: any;
263
- visible: boolean;
264
263
  errors: string;
265
264
  isTouched: boolean;
266
265
  description: string;
266
+ visible: boolean;
267
267
  enabled: boolean;
268
268
  isFocused: boolean;
269
269
  hideLabel: boolean;
@@ -306,5 +306,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
306
306
  valueKey: string;
307
307
  enableCreate: boolean;
308
308
  clearable: boolean;
309
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
309
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
310
+ declare const _default: typeof __VLS_export;
310
311
  export default _default;