@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.
- package/ControlWrapper-Ckzwap0M.js +1 -0
- package/{Markdown-Dj1gzJJq.js → Markdown-BjFpy32Y.js} +3 -3
- package/{Markdown-DcpBYoNe.js → Markdown-DRCEgDfZ.js} +1 -1
- package/alert/alert.vue.d.ts +7 -11
- package/button/btn-badge.vue.d.ts +8 -12
- package/button/btn.vue.d.ts +7 -11
- package/card/card.vue.d.ts +13 -14
- package/collapse/Collapse.vue.d.ts +12 -14
- package/collapse/CollapseRow.vue.d.ts +8 -12
- package/drawer/drawer.vue.d.ts +12 -14
- package/filter/filter.vue.d.ts +3 -2
- package/form/Checkbox.vue.d.ts +5 -4
- package/form/Input.vue.d.ts +5 -4
- package/form/InputNumber.vue.d.ts +5 -4
- package/form/Textarea.vue.d.ts +6 -5
- package/form/core/ControlWrapper.vue.d.ts +11 -14
- package/form/index.d.ts +3 -3
- package/form/select/AutoComplete.vue.d.ts +4 -5
- package/form/select/ListResults.vue.d.ts +4 -5
- package/form/select/MultiSelect.vue.d.ts +4 -3
- package/form/select/SelectComponent.vue.d.ts +4 -3
- package/form/select/SelectWrapper.vue.d.ts +9 -151
- package/form/text/Markdown.vue.d.ts +5 -4
- package/form/text/MarkdownFallback.vue.d.ts +5 -4
- package/icons/icon.vue.d.ts +2 -1
- package/index.css +2 -2
- package/index.js +1 -1
- package/index.mjs +21 -23
- package/loading/loading.vue.d.ts +2 -1
- package/menu/dropdown.vue.d.ts +2 -1
- package/menu/menu-item.vue.d.ts +2 -1
- package/menu/menu.vue.d.ts +2 -1
- package/menu/sub-menu.vue.d.ts +2 -1
- package/modal/confirmModal.vue.d.ts +3 -2
- package/modal/modal.vue.d.ts +12 -18
- package/modal/modalWrapper.vue.d.ts +2 -1
- package/package.json +9 -9
- package/shell/shell.component.vue.d.ts +7 -11
- package/table/cells/boolean.cell.vue.d.ts +3 -2
- package/table/cells/text.cell.vue.d.ts +3 -2
- package/table/header/sort.header.vue.d.ts +3 -2
- package/table/pagination-button.component.vue.d.ts +2 -1
- package/table/pagination.component.vue.d.ts +3 -2
- package/table/table.component.vue.d.ts +3 -2
- package/toast/notification-message.vue.d.ts +2 -1
- package/toast/notifications.vue.d.ts +2 -1
- package/tree/TreeItem.vue.d.ts +3 -2
- package/tree/TreeView.vue.d.ts +3 -2
- package/ControlWrapper-DejmeYzV.js +0 -1
- /package/{ControlWrapper-DqO2d36v.js → ControlWrapper-C7br-nwU.js} +0 -0
|
@@ -6,25 +6,21 @@ type __VLS_Props = {
|
|
|
6
6
|
version: string;
|
|
7
7
|
widthSidebar?: number;
|
|
8
8
|
};
|
|
9
|
-
declare
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
default?(_: {}): any;
|
|
13
|
-
};
|
|
14
|
-
refs: {};
|
|
15
|
-
rootEl: any;
|
|
9
|
+
declare var __VLS_21: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
default?: (props: typeof __VLS_21) => any;
|
|
16
12
|
};
|
|
17
|
-
|
|
18
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
14
|
logout: () => any;
|
|
20
15
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
16
|
onLogout?: (() => any) | undefined;
|
|
22
17
|
}>, {
|
|
23
18
|
widthSidebar: number;
|
|
24
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
-
declare const
|
|
20
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
26
22
|
export default _default;
|
|
27
|
-
type
|
|
23
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
28
24
|
new (): {
|
|
29
25
|
$slots: S;
|
|
30
26
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
data: {
|
|
3
3
|
type: ObjectConstructor;
|
|
4
4
|
required: true;
|
|
@@ -22,5 +22,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
22
22
|
options: {
|
|
23
23
|
type: ObjectConstructor;
|
|
24
24
|
};
|
|
25
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
25
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
26
27
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
data: {
|
|
3
3
|
type: ObjectConstructor;
|
|
4
4
|
required: true;
|
|
@@ -22,5 +22,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
22
22
|
options: {
|
|
23
23
|
type: ObjectConstructor;
|
|
24
24
|
};
|
|
25
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
25
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
26
27
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
column: {
|
|
3
3
|
type: import('vue').PropType<import('..').ColumnDef>;
|
|
4
4
|
required: true;
|
|
@@ -20,5 +20,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
20
20
|
sortDirection: {
|
|
21
21
|
type: import('vue').PropType<"asc" | "desc">;
|
|
22
22
|
};
|
|
23
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
23
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
24
25
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
currentPage: {
|
|
3
3
|
type: NumberConstructor;
|
|
4
4
|
required: true;
|
|
@@ -44,4 +44,5 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
44
44
|
disabled: boolean;
|
|
45
45
|
neverActive: boolean;
|
|
46
46
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
47
|
+
declare const _default: typeof __VLS_export;
|
|
47
48
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
totalItems: {
|
|
3
3
|
type: NumberConstructor;
|
|
4
4
|
default: number;
|
|
@@ -37,5 +37,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
37
37
|
totalItems: number;
|
|
38
38
|
itemsPerPage: number;
|
|
39
39
|
pageSizeOptions: number[];
|
|
40
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
40
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
41
|
+
declare const _default: typeof __VLS_export;
|
|
41
42
|
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
4
|
loading: {
|
|
3
5
|
type: BooleanConstructor;
|
|
4
6
|
default: false;
|
|
@@ -52,4 +54,3 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
52
54
|
loading: boolean;
|
|
53
55
|
multiselect: boolean;
|
|
54
56
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
55
|
-
export default _default;
|
|
@@ -3,5 +3,6 @@ type __VLS_Props = {
|
|
|
3
3
|
message: string;
|
|
4
4
|
type: NotificationType;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const __VLS_export: 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>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
package/tree/TreeItem.vue.d.ts
CHANGED
|
@@ -5,11 +5,12 @@ type __VLS_Props = {
|
|
|
5
5
|
expanded: Set<string>;
|
|
6
6
|
isExpanded: (id: string) => boolean;
|
|
7
7
|
};
|
|
8
|
-
declare const
|
|
8
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
9
9
|
select: (node: TreeNode) => any;
|
|
10
10
|
toggle: (node: TreeNode) => any;
|
|
11
11
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
12
|
onSelect?: ((node: TreeNode) => any) | undefined;
|
|
13
13
|
onToggle?: ((node: TreeNode) => any) | undefined;
|
|
14
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
15
16
|
export default _default;
|
package/tree/TreeView.vue.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { TreeNode, TreeProps } from './props';
|
|
2
|
-
declare const
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<TreeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
3
|
select: (node: TreeNode) => any;
|
|
4
4
|
}, string, import('vue').PublicProps, Readonly<TreeProps> & Readonly<{
|
|
5
5
|
onSelect?: ((node: TreeNode) => any) | undefined;
|
|
6
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
6
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./Markdown-DcpBYoNe.js`);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}});
|
|
File without changes
|