@ghentcdh/ui 1.1.0 → 2.0.0
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/Markdown-C7ZNnPQB.js +1 -0
- package/Markdown-OZGmR-pI.js +76 -0
- package/button/Btn.properties.d.ts +6 -2
- package/button/btn.vue.d.ts +15 -5
- package/const/colors.d.ts +2 -1
- package/drawer/drawer.properties.d.ts +4 -0
- package/drawer/drawer.vue.d.ts +9 -0
- package/form/Checkbox.properties.d.ts +14 -1
- package/form/Checkbox.vue.d.ts +37 -4
- package/form/Input.properties.d.ts +18 -1
- package/form/Input.vue.d.ts +46 -4
- package/form/InputNumber.properties.d.ts +14 -1
- package/form/InputNumber.vue.d.ts +37 -4
- package/form/Textarea.properties.d.ts +26 -1
- package/form/Textarea.vue.d.ts +64 -4
- package/form/core/ControlWrapper.properties.d.ts +54 -1
- package/form/core/ControlWrapper.vue.d.ts +38 -4
- package/form/core/properties.d.ts +2 -16
- package/form/core/styles.d.ts +1 -1
- package/form/core/utils/style.d.ts +3 -3
- package/form/index.d.ts +273 -1
- package/form/select/AutoComplete.properties.d.ts +27 -2
- package/form/select/AutoComplete.vue.d.ts +67 -7
- package/form/select/ListResults.properties.d.ts +7 -1
- package/form/select/ListResults.vue.d.ts +12 -3
- package/form/select/MultiSelect.vue.d.ts +67 -7
- package/form/select/SelectComponent.vue.d.ts +55 -4
- package/form/select/SelectWrapper.properties.d.ts +57 -9
- package/form/select/SelectWrapper.vue.d.ts +93 -11
- package/form/text/Markdown.vue.d.ts +37 -4
- package/form/text/MarkdownComponent.properties.d.ts +14 -1
- package/form/text/MarkdownFallback.vue.d.ts +267 -0
- package/icons/icon-list.d.ts +3 -1
- package/index-NGeplssl.js +2 -0
- package/index-WrdKkd9c.js +2633 -0
- package/index.css +1 -1
- package/index.d.ts +1 -0
- package/index.js +1 -2
- package/index.mjs +66 -2370
- package/modal/modal.vue.d.ts +1 -0
- package/package.json +14 -7
- package/table/cells/text.cell.vue.d.ts +1 -1
- package/table/column.model.d.ts +6 -0
- package/table/header/sort.header.properties.d.ts +1 -1
- package/table/header/sort.header.vue.d.ts +2 -2
- package/table/index.d.ts +2 -0
- package/table/pagination.component.properties.d.ts +5 -0
- package/table/pagination.component.vue.d.ts +9 -0
- package/table/table.component.properties.d.ts +4 -0
- package/table/table.component.vue.d.ts +9 -0
- package/table/table.model.d.ts +4 -1
- package/test-utils/withSetup.d.ts +0 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),m=require("@tiptap/starter-kit"),i=require("@tiptap/vue-3"),b=require("tiptap-markdown"),a=require("./index-NGeplssl.js"),f=["aria-label"],p={class:"flex items-center gap-1 px-3 py-2 border-b border-base-300 bg-base-200"},k=["title","onClick"],g=["innerHTML"],h={class:"card-body p-3"},_=e.defineComponent({__name:"Markdown",props:e.mergeModels(a.MarkdownComponentProperties,{modelValue:{},modelModifiers:{}}),emits:e.mergeModels(a.MarkdownEmits,["update:modelValue"]),setup(s,{emit:d}){const c=s,u=d,l=e.useModel(s,"modelValue"),r=i.useEditor({content:l.value??"",extensions:[m.configure({heading:!1,blockquote:!1,bulletList:!1,orderedList:!1,listItem:!1,code:!1,codeBlock:!1,horizontalRule:!1,hardBreak:!1}),b.Markdown.configure({html:!1,transformPastedText:!0})],onUpdate({editor:t}){const n=t.storage.markdown.getMarkdown();l.value=n,u("change",n)}});return e.onBeforeUnmount(()=>{r.value?.destroy()}),(t,n)=>(e.openBlock(),e.createBlock(a._sfc_main,e.normalizeProps(e.guardReactiveProps(c)),{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass([[t.minHeight],"card bg-base-100 border border-base-300 w-full"]),"aria-label":t.id,role:"textbox"},[e.createElementVNode("div",p,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.actions,o=>(e.openBlock(),e.createElementBlock("button",{key:o.name,tabindex:"-1",type:"button",class:e.normalizeClass(["btn btn-sm btn-ghost",{"btn-active":e.unref(r)?.isActive(o.name)}]),title:o.label,onClick:v=>o.action(e.unref(r))},[e.createElementVNode("span",{innerHTML:o.label},null,8,g)],10,k))),128))]),e.createElementVNode("div",h,[e.createVNode(e.unref(i.EditorContent),{editor:e.unref(r),class:"prose prose-sm max-w-none h-full"},null,8,["editor"])])],10,f)]),_:1},16))}});exports.default=_;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { defineComponent as p, useModel as k, onBeforeUnmount as h, openBlock as n, createBlock as _, normalizeProps as g, guardReactiveProps as v, withCtx as w, createElementVNode as r, normalizeClass as d, createElementBlock as m, Fragment as M, renderList as x, unref as a, createVNode as C, mergeModels as c } from "vue";
|
|
2
|
+
import B from "@tiptap/starter-kit";
|
|
3
|
+
import { useEditor as y, EditorContent as E } from "@tiptap/vue-3";
|
|
4
|
+
import { Markdown as L } from "tiptap-markdown";
|
|
5
|
+
import { _ as V, n as P, m as z } from "./index-WrdKkd9c.js";
|
|
6
|
+
const H = ["aria-label"], T = { class: "flex items-center gap-1 px-3 py-2 border-b border-base-300 bg-base-200" }, N = ["title", "onClick"], R = ["innerHTML"], U = { class: "card-body p-3" }, S = /* @__PURE__ */ p({
|
|
7
|
+
__name: "Markdown",
|
|
8
|
+
props: /* @__PURE__ */ c(z, {
|
|
9
|
+
modelValue: {},
|
|
10
|
+
modelModifiers: {}
|
|
11
|
+
}),
|
|
12
|
+
emits: /* @__PURE__ */ c(P, ["update:modelValue"]),
|
|
13
|
+
setup(l, { emit: u }) {
|
|
14
|
+
const f = l, b = u, i = k(l, "modelValue"), o = y({
|
|
15
|
+
content: i.value ?? "",
|
|
16
|
+
extensions: [
|
|
17
|
+
B.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
|
+
}),
|
|
28
|
+
L.configure({
|
|
29
|
+
html: !1,
|
|
30
|
+
transformPastedText: !0
|
|
31
|
+
// parse markdown on paste
|
|
32
|
+
})
|
|
33
|
+
],
|
|
34
|
+
onUpdate({ editor: e }) {
|
|
35
|
+
const s = e.storage.markdown.getMarkdown();
|
|
36
|
+
i.value = s, b("change", s);
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
return h(() => {
|
|
40
|
+
o.value?.destroy();
|
|
41
|
+
}), (e, s) => (n(), _(V, g(v(f)), {
|
|
42
|
+
default: w(() => [
|
|
43
|
+
r("div", {
|
|
44
|
+
class: d([[e.minHeight], "card bg-base-100 border border-base-300 w-full"]),
|
|
45
|
+
"aria-label": e.id,
|
|
46
|
+
role: "textbox"
|
|
47
|
+
}, [
|
|
48
|
+
r("div", T, [
|
|
49
|
+
(n(!0), m(M, null, x(e.actions, (t) => (n(), m("button", {
|
|
50
|
+
key: t.name,
|
|
51
|
+
tabindex: "-1",
|
|
52
|
+
type: "button",
|
|
53
|
+
class: d(["btn btn-sm btn-ghost", { "btn-active": a(o)?.isActive(t.name) }]),
|
|
54
|
+
title: t.label,
|
|
55
|
+
onClick: ($) => t.action(a(o))
|
|
56
|
+
}, [
|
|
57
|
+
r("span", {
|
|
58
|
+
innerHTML: t.label
|
|
59
|
+
}, null, 8, R)
|
|
60
|
+
], 10, N))), 128))
|
|
61
|
+
]),
|
|
62
|
+
r("div", U, [
|
|
63
|
+
C(a(E), {
|
|
64
|
+
editor: a(o),
|
|
65
|
+
class: "prose prose-sm max-w-none h-full"
|
|
66
|
+
}, null, 8, ["editor"])
|
|
67
|
+
])
|
|
68
|
+
], 10, H)
|
|
69
|
+
]),
|
|
70
|
+
_: 1
|
|
71
|
+
}, 16));
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
export {
|
|
75
|
+
S as default
|
|
76
|
+
};
|
|
@@ -30,8 +30,8 @@ export declare const BtnProperties: {
|
|
|
30
30
|
default: boolean;
|
|
31
31
|
};
|
|
32
32
|
color: {
|
|
33
|
-
type: PropType
|
|
34
|
-
default: Color
|
|
33
|
+
type: PropType<`${Color}`>;
|
|
34
|
+
default: `${Color}`;
|
|
35
35
|
};
|
|
36
36
|
size: {
|
|
37
37
|
type: PropType<Size>;
|
|
@@ -41,5 +41,9 @@ export declare const BtnProperties: {
|
|
|
41
41
|
type: BooleanConstructor;
|
|
42
42
|
default: boolean;
|
|
43
43
|
};
|
|
44
|
+
noBorder: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
44
48
|
};
|
|
45
49
|
export declare const BtnEmits: string[];
|
package/button/btn.vue.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Color } from '../const/colors';
|
|
1
2
|
declare function __VLS_template(): {
|
|
2
3
|
attrs: Partial<{}>;
|
|
3
4
|
slots: {
|
|
@@ -34,8 +35,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
34
35
|
default: boolean;
|
|
35
36
|
};
|
|
36
37
|
color: {
|
|
37
|
-
type: import('vue').PropType
|
|
38
|
-
default:
|
|
38
|
+
type: import('vue').PropType<`${Color}`>;
|
|
39
|
+
default: `${Color}`;
|
|
39
40
|
};
|
|
40
41
|
size: {
|
|
41
42
|
type: import('vue').PropType<import('../const/size').Size>;
|
|
@@ -45,6 +46,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
45
46
|
type: BooleanConstructor;
|
|
46
47
|
default: boolean;
|
|
47
48
|
};
|
|
49
|
+
noBorder: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
48
53
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
49
54
|
href: {
|
|
50
55
|
type: StringConstructor;
|
|
@@ -72,8 +77,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
72
77
|
default: boolean;
|
|
73
78
|
};
|
|
74
79
|
color: {
|
|
75
|
-
type: import('vue').PropType
|
|
76
|
-
default:
|
|
80
|
+
type: import('vue').PropType<`${Color}`>;
|
|
81
|
+
default: `${Color}`;
|
|
77
82
|
};
|
|
78
83
|
size: {
|
|
79
84
|
type: import('vue').PropType<import('../const/size').Size>;
|
|
@@ -83,14 +88,19 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
83
88
|
type: BooleanConstructor;
|
|
84
89
|
default: boolean;
|
|
85
90
|
};
|
|
91
|
+
noBorder: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
86
95
|
}>> & Readonly<{}>, {
|
|
87
96
|
size: import('../const/size').Size;
|
|
88
97
|
type: import('./const').ButtonType;
|
|
89
98
|
disabled: boolean;
|
|
90
|
-
color:
|
|
99
|
+
color: "error" | "blank" | "primary" | "secondary" | "ghost";
|
|
91
100
|
as: import('./const').ButtonTag;
|
|
92
101
|
outline: boolean;
|
|
93
102
|
square: boolean;
|
|
103
|
+
noBorder: boolean;
|
|
94
104
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
95
105
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
96
106
|
export default _default;
|
package/const/colors.d.ts
CHANGED
|
@@ -2,7 +2,8 @@ export declare enum Color {
|
|
|
2
2
|
blank = "blank",
|
|
3
3
|
primary = "primary",
|
|
4
4
|
secondary = "secondary",
|
|
5
|
-
error = "error"
|
|
5
|
+
error = "error",
|
|
6
|
+
ghost = "ghost"
|
|
6
7
|
}
|
|
7
8
|
export declare const ButtonColor: Record<Color, string>;
|
|
8
9
|
export declare const BadgeColor: Record<Color, string>;
|
package/drawer/drawer.vue.d.ts
CHANGED
|
@@ -26,6 +26,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
26
26
|
type: BooleanConstructor;
|
|
27
27
|
default: boolean;
|
|
28
28
|
};
|
|
29
|
+
drawerColor: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
29
33
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
30
34
|
widthLeft: {
|
|
31
35
|
type: NumberConstructor;
|
|
@@ -43,11 +47,16 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
43
47
|
type: BooleanConstructor;
|
|
44
48
|
default: boolean;
|
|
45
49
|
};
|
|
50
|
+
drawerColor: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
46
54
|
}>> & Readonly<{}>, {
|
|
47
55
|
widthLeft: number;
|
|
48
56
|
widthRight: number;
|
|
49
57
|
initialLeftOpen: boolean;
|
|
50
58
|
initialRightOpen: boolean;
|
|
59
|
+
drawerColor: string;
|
|
51
60
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
|
|
52
61
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
53
62
|
export default _default;
|
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
export declare const CheckboxProperties: {
|
|
2
2
|
id: {
|
|
3
3
|
type: StringConstructor;
|
|
4
|
+
default: undefined;
|
|
4
5
|
};
|
|
5
6
|
placeholder: {
|
|
6
7
|
type: StringConstructor;
|
|
8
|
+
default: undefined;
|
|
7
9
|
};
|
|
8
10
|
description: {
|
|
9
11
|
type: StringConstructor;
|
|
12
|
+
default: undefined;
|
|
10
13
|
};
|
|
11
14
|
errors: {
|
|
12
15
|
type: StringConstructor;
|
|
16
|
+
default: undefined;
|
|
13
17
|
};
|
|
14
18
|
label: {
|
|
15
19
|
type: StringConstructor;
|
|
20
|
+
default: undefined;
|
|
16
21
|
};
|
|
17
22
|
visible: {
|
|
18
23
|
type: BooleanConstructor;
|
|
@@ -64,7 +69,7 @@ export declare const CheckboxProperties: {
|
|
|
64
69
|
readonly label: "fieldset-legend";
|
|
65
70
|
readonly error: "";
|
|
66
71
|
readonly input: "input";
|
|
67
|
-
readonly textarea: "
|
|
72
|
+
readonly textarea: "textarea h-32";
|
|
68
73
|
readonly checkbox: "checkbox";
|
|
69
74
|
readonly select: "input pr-14";
|
|
70
75
|
readonly description: "form-control--description label text-xs text-gray-500";
|
|
@@ -79,5 +84,13 @@ export declare const CheckboxProperties: {
|
|
|
79
84
|
type: StringConstructor;
|
|
80
85
|
default: string;
|
|
81
86
|
};
|
|
87
|
+
size: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
default: undefined;
|
|
90
|
+
};
|
|
91
|
+
hideErrors: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
82
95
|
};
|
|
83
96
|
export declare const CheckboxEmits: string[];
|
package/form/Checkbox.vue.d.ts
CHANGED
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
id: {
|
|
3
3
|
type: StringConstructor;
|
|
4
|
+
default: undefined;
|
|
4
5
|
};
|
|
5
6
|
placeholder: {
|
|
6
7
|
type: StringConstructor;
|
|
8
|
+
default: undefined;
|
|
7
9
|
};
|
|
8
10
|
description: {
|
|
9
11
|
type: StringConstructor;
|
|
12
|
+
default: undefined;
|
|
10
13
|
};
|
|
11
14
|
errors: {
|
|
12
15
|
type: StringConstructor;
|
|
16
|
+
default: undefined;
|
|
13
17
|
};
|
|
14
18
|
label: {
|
|
15
19
|
type: StringConstructor;
|
|
20
|
+
default: undefined;
|
|
16
21
|
};
|
|
17
22
|
visible: {
|
|
18
23
|
type: BooleanConstructor;
|
|
@@ -64,7 +69,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
64
69
|
readonly label: "fieldset-legend";
|
|
65
70
|
readonly error: "";
|
|
66
71
|
readonly input: "input";
|
|
67
|
-
readonly textarea: "
|
|
72
|
+
readonly textarea: "textarea h-32";
|
|
68
73
|
readonly checkbox: "checkbox";
|
|
69
74
|
readonly select: "input pr-14";
|
|
70
75
|
readonly description: "form-control--description label text-xs text-gray-500";
|
|
@@ -79,6 +84,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
79
84
|
type: StringConstructor;
|
|
80
85
|
default: string;
|
|
81
86
|
};
|
|
87
|
+
size: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
default: undefined;
|
|
90
|
+
};
|
|
91
|
+
hideErrors: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
82
95
|
modelValue: {
|
|
83
96
|
type: import('vue').PropType<any>;
|
|
84
97
|
};
|
|
@@ -87,18 +100,23 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
87
100
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
88
101
|
id: {
|
|
89
102
|
type: StringConstructor;
|
|
103
|
+
default: undefined;
|
|
90
104
|
};
|
|
91
105
|
placeholder: {
|
|
92
106
|
type: StringConstructor;
|
|
107
|
+
default: undefined;
|
|
93
108
|
};
|
|
94
109
|
description: {
|
|
95
110
|
type: StringConstructor;
|
|
111
|
+
default: undefined;
|
|
96
112
|
};
|
|
97
113
|
errors: {
|
|
98
114
|
type: StringConstructor;
|
|
115
|
+
default: undefined;
|
|
99
116
|
};
|
|
100
117
|
label: {
|
|
101
118
|
type: StringConstructor;
|
|
119
|
+
default: undefined;
|
|
102
120
|
};
|
|
103
121
|
visible: {
|
|
104
122
|
type: BooleanConstructor;
|
|
@@ -150,7 +168,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
150
168
|
readonly label: "fieldset-legend";
|
|
151
169
|
readonly error: "";
|
|
152
170
|
readonly input: "input";
|
|
153
|
-
readonly textarea: "
|
|
171
|
+
readonly textarea: "textarea h-32";
|
|
154
172
|
readonly checkbox: "checkbox";
|
|
155
173
|
readonly select: "input pr-14";
|
|
156
174
|
readonly description: "form-control--description label text-xs text-gray-500";
|
|
@@ -165,13 +183,25 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
165
183
|
type: StringConstructor;
|
|
166
184
|
default: string;
|
|
167
185
|
};
|
|
186
|
+
size: {
|
|
187
|
+
type: StringConstructor;
|
|
188
|
+
default: undefined;
|
|
189
|
+
};
|
|
190
|
+
hideErrors: {
|
|
191
|
+
type: BooleanConstructor;
|
|
192
|
+
default: boolean;
|
|
193
|
+
};
|
|
168
194
|
modelValue: {
|
|
169
195
|
type: import('vue').PropType<any>;
|
|
170
196
|
};
|
|
171
197
|
}>> & Readonly<{
|
|
172
198
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
173
199
|
}>, {
|
|
200
|
+
size: string;
|
|
201
|
+
label: string;
|
|
174
202
|
required: boolean;
|
|
203
|
+
id: string;
|
|
204
|
+
placeholder: string;
|
|
175
205
|
width: string;
|
|
176
206
|
styles: {
|
|
177
207
|
readonly group: {
|
|
@@ -197,7 +227,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
197
227
|
readonly label: "fieldset-legend";
|
|
198
228
|
readonly error: "";
|
|
199
229
|
readonly input: "input";
|
|
200
|
-
readonly textarea: "
|
|
230
|
+
readonly textarea: "textarea h-32";
|
|
201
231
|
readonly checkbox: "checkbox";
|
|
202
232
|
readonly select: "input pr-14";
|
|
203
233
|
readonly description: "form-control--description label text-xs text-gray-500";
|
|
@@ -208,9 +238,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
208
238
|
};
|
|
209
239
|
};
|
|
210
240
|
hideLabel: boolean;
|
|
211
|
-
isTouched: boolean;
|
|
212
241
|
visible: boolean;
|
|
242
|
+
errors: string;
|
|
243
|
+
isTouched: boolean;
|
|
244
|
+
description: string;
|
|
213
245
|
enabled: boolean;
|
|
214
246
|
isFocused: boolean;
|
|
247
|
+
hideErrors: boolean;
|
|
215
248
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
216
249
|
export default _default;
|
|
@@ -3,20 +3,29 @@ export declare const InputProperties: {
|
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
default: string;
|
|
5
5
|
};
|
|
6
|
+
clearable: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
6
10
|
id: {
|
|
7
11
|
type: StringConstructor;
|
|
12
|
+
default: undefined;
|
|
8
13
|
};
|
|
9
14
|
placeholder: {
|
|
10
15
|
type: StringConstructor;
|
|
16
|
+
default: undefined;
|
|
11
17
|
};
|
|
12
18
|
description: {
|
|
13
19
|
type: StringConstructor;
|
|
20
|
+
default: undefined;
|
|
14
21
|
};
|
|
15
22
|
errors: {
|
|
16
23
|
type: StringConstructor;
|
|
24
|
+
default: undefined;
|
|
17
25
|
};
|
|
18
26
|
label: {
|
|
19
27
|
type: StringConstructor;
|
|
28
|
+
default: undefined;
|
|
20
29
|
};
|
|
21
30
|
visible: {
|
|
22
31
|
type: BooleanConstructor;
|
|
@@ -68,7 +77,7 @@ export declare const InputProperties: {
|
|
|
68
77
|
readonly label: "fieldset-legend";
|
|
69
78
|
readonly error: "";
|
|
70
79
|
readonly input: "input";
|
|
71
|
-
readonly textarea: "
|
|
80
|
+
readonly textarea: "textarea h-32";
|
|
72
81
|
readonly checkbox: "checkbox";
|
|
73
82
|
readonly select: "input pr-14";
|
|
74
83
|
readonly description: "form-control--description label text-xs text-gray-500";
|
|
@@ -83,5 +92,13 @@ export declare const InputProperties: {
|
|
|
83
92
|
type: StringConstructor;
|
|
84
93
|
default: string;
|
|
85
94
|
};
|
|
95
|
+
size: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: undefined;
|
|
98
|
+
};
|
|
99
|
+
hideErrors: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
86
103
|
};
|
|
87
104
|
export declare const InputEmits: string[];
|
package/form/Input.vue.d.ts
CHANGED
|
@@ -3,20 +3,29 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
default: string;
|
|
5
5
|
};
|
|
6
|
+
clearable: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
6
10
|
id: {
|
|
7
11
|
type: StringConstructor;
|
|
12
|
+
default: undefined;
|
|
8
13
|
};
|
|
9
14
|
placeholder: {
|
|
10
15
|
type: StringConstructor;
|
|
16
|
+
default: undefined;
|
|
11
17
|
};
|
|
12
18
|
description: {
|
|
13
19
|
type: StringConstructor;
|
|
20
|
+
default: undefined;
|
|
14
21
|
};
|
|
15
22
|
errors: {
|
|
16
23
|
type: StringConstructor;
|
|
24
|
+
default: undefined;
|
|
17
25
|
};
|
|
18
26
|
label: {
|
|
19
27
|
type: StringConstructor;
|
|
28
|
+
default: undefined;
|
|
20
29
|
};
|
|
21
30
|
visible: {
|
|
22
31
|
type: BooleanConstructor;
|
|
@@ -68,7 +77,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
68
77
|
readonly label: "fieldset-legend";
|
|
69
78
|
readonly error: "";
|
|
70
79
|
readonly input: "input";
|
|
71
|
-
readonly textarea: "
|
|
80
|
+
readonly textarea: "textarea h-32";
|
|
72
81
|
readonly checkbox: "checkbox";
|
|
73
82
|
readonly select: "input pr-14";
|
|
74
83
|
readonly description: "form-control--description label text-xs text-gray-500";
|
|
@@ -83,6 +92,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
83
92
|
type: StringConstructor;
|
|
84
93
|
default: string;
|
|
85
94
|
};
|
|
95
|
+
size: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: undefined;
|
|
98
|
+
};
|
|
99
|
+
hideErrors: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
86
103
|
modelValue: {
|
|
87
104
|
type: import('vue').PropType<any>;
|
|
88
105
|
};
|
|
@@ -93,20 +110,29 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
93
110
|
type: StringConstructor;
|
|
94
111
|
default: string;
|
|
95
112
|
};
|
|
113
|
+
clearable: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
96
117
|
id: {
|
|
97
118
|
type: StringConstructor;
|
|
119
|
+
default: undefined;
|
|
98
120
|
};
|
|
99
121
|
placeholder: {
|
|
100
122
|
type: StringConstructor;
|
|
123
|
+
default: undefined;
|
|
101
124
|
};
|
|
102
125
|
description: {
|
|
103
126
|
type: StringConstructor;
|
|
127
|
+
default: undefined;
|
|
104
128
|
};
|
|
105
129
|
errors: {
|
|
106
130
|
type: StringConstructor;
|
|
131
|
+
default: undefined;
|
|
107
132
|
};
|
|
108
133
|
label: {
|
|
109
134
|
type: StringConstructor;
|
|
135
|
+
default: undefined;
|
|
110
136
|
};
|
|
111
137
|
visible: {
|
|
112
138
|
type: BooleanConstructor;
|
|
@@ -158,7 +184,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
158
184
|
readonly label: "fieldset-legend";
|
|
159
185
|
readonly error: "";
|
|
160
186
|
readonly input: "input";
|
|
161
|
-
readonly textarea: "
|
|
187
|
+
readonly textarea: "textarea h-32";
|
|
162
188
|
readonly checkbox: "checkbox";
|
|
163
189
|
readonly select: "input pr-14";
|
|
164
190
|
readonly description: "form-control--description label text-xs text-gray-500";
|
|
@@ -173,14 +199,26 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
173
199
|
type: StringConstructor;
|
|
174
200
|
default: string;
|
|
175
201
|
};
|
|
202
|
+
size: {
|
|
203
|
+
type: StringConstructor;
|
|
204
|
+
default: undefined;
|
|
205
|
+
};
|
|
206
|
+
hideErrors: {
|
|
207
|
+
type: BooleanConstructor;
|
|
208
|
+
default: boolean;
|
|
209
|
+
};
|
|
176
210
|
modelValue: {
|
|
177
211
|
type: import('vue').PropType<any>;
|
|
178
212
|
};
|
|
179
213
|
}>> & Readonly<{
|
|
180
214
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
181
215
|
}>, {
|
|
216
|
+
size: string;
|
|
217
|
+
label: string;
|
|
182
218
|
type: string;
|
|
183
219
|
required: boolean;
|
|
220
|
+
id: string;
|
|
221
|
+
placeholder: string;
|
|
184
222
|
width: string;
|
|
185
223
|
styles: {
|
|
186
224
|
readonly group: {
|
|
@@ -206,7 +244,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
206
244
|
readonly label: "fieldset-legend";
|
|
207
245
|
readonly error: "";
|
|
208
246
|
readonly input: "input";
|
|
209
|
-
readonly textarea: "
|
|
247
|
+
readonly textarea: "textarea h-32";
|
|
210
248
|
readonly checkbox: "checkbox";
|
|
211
249
|
readonly select: "input pr-14";
|
|
212
250
|
readonly description: "form-control--description label text-xs text-gray-500";
|
|
@@ -217,9 +255,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
217
255
|
};
|
|
218
256
|
};
|
|
219
257
|
hideLabel: boolean;
|
|
220
|
-
isTouched: boolean;
|
|
221
258
|
visible: boolean;
|
|
259
|
+
errors: string;
|
|
260
|
+
isTouched: boolean;
|
|
261
|
+
description: string;
|
|
222
262
|
enabled: boolean;
|
|
223
263
|
isFocused: boolean;
|
|
264
|
+
hideErrors: boolean;
|
|
265
|
+
clearable: boolean;
|
|
224
266
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLFieldSetElement>;
|
|
225
267
|
export default _default;
|
|
@@ -5,18 +5,23 @@ export declare const InputNumberProperties: {
|
|
|
5
5
|
};
|
|
6
6
|
id: {
|
|
7
7
|
type: StringConstructor;
|
|
8
|
+
default: undefined;
|
|
8
9
|
};
|
|
9
10
|
placeholder: {
|
|
10
11
|
type: StringConstructor;
|
|
12
|
+
default: undefined;
|
|
11
13
|
};
|
|
12
14
|
description: {
|
|
13
15
|
type: StringConstructor;
|
|
16
|
+
default: undefined;
|
|
14
17
|
};
|
|
15
18
|
errors: {
|
|
16
19
|
type: StringConstructor;
|
|
20
|
+
default: undefined;
|
|
17
21
|
};
|
|
18
22
|
label: {
|
|
19
23
|
type: StringConstructor;
|
|
24
|
+
default: undefined;
|
|
20
25
|
};
|
|
21
26
|
visible: {
|
|
22
27
|
type: BooleanConstructor;
|
|
@@ -68,7 +73,7 @@ export declare const InputNumberProperties: {
|
|
|
68
73
|
readonly label: "fieldset-legend";
|
|
69
74
|
readonly error: "";
|
|
70
75
|
readonly input: "input";
|
|
71
|
-
readonly textarea: "
|
|
76
|
+
readonly textarea: "textarea h-32";
|
|
72
77
|
readonly checkbox: "checkbox";
|
|
73
78
|
readonly select: "input pr-14";
|
|
74
79
|
readonly description: "form-control--description label text-xs text-gray-500";
|
|
@@ -83,5 +88,13 @@ export declare const InputNumberProperties: {
|
|
|
83
88
|
type: StringConstructor;
|
|
84
89
|
default: string;
|
|
85
90
|
};
|
|
91
|
+
size: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: undefined;
|
|
94
|
+
};
|
|
95
|
+
hideErrors: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
86
99
|
};
|
|
87
100
|
export declare const InputNumberEmits: string[];
|