@razaman2/reactive-view 0.1.0-beta.9 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +1 -1
- package/dist/Editor-DMCekNFl.mjs +364 -0
- package/dist/Editor-JraAPAuW.js +1 -0
- package/dist/Label-CkJjlfli.js +1 -0
- package/dist/Label-DD9yGa7V.mjs +49 -0
- package/dist/ReactiveView.d.mts +20 -0
- package/dist/ReactiveView.d.ts +20 -0
- package/dist/Select-D8LFsK4R.js +1 -0
- package/dist/Select-x96YoTl5.mjs +238 -0
- package/dist/Subscription.d.mts +17 -0
- package/dist/Subscription.d.ts +17 -0
- package/dist/Subscriptions.d.mts +5 -0
- package/dist/Subscriptions.d.ts +5 -0
- package/dist/Types.d.mts +28 -0
- package/dist/Types.d.ts +28 -0
- package/dist/components/Button.vue.d.mts +3 -0
- package/dist/components/Button.vue.d.ts +3 -0
- package/dist/components/ConfirmationModal.vue.d.mts +3 -0
- package/dist/components/ConfirmationModal.vue.d.ts +3 -0
- package/dist/components/CustomAlert.vue.d.mts +69 -0
- package/dist/components/CustomAlert.vue.d.ts +69 -0
- package/dist/components/CustomButton.vue.d.mts +3 -0
- package/dist/components/CustomButton.vue.d.ts +3 -0
- package/dist/components/CustomModal.vue.d.mts +3 -0
- package/dist/components/CustomModal.vue.d.ts +3 -0
- package/dist/components/CustomTable.vue.d.mts +3 -0
- package/dist/components/CustomTable.vue.d.ts +3 -0
- package/dist/components/CustomTableRow.vue.d.mts +3 -0
- package/dist/components/CustomTableRow.vue.d.ts +3 -0
- package/dist/components/Datetime.vue.d.mts +3 -0
- package/dist/components/Datetime.vue.d.ts +3 -0
- package/dist/components/DraggableList.vue.d.mts +3 -0
- package/dist/components/DraggableList.vue.d.ts +3 -0
- package/dist/components/Editor.vue.d.mts +3 -0
- package/dist/components/Editor.vue.d.ts +3 -0
- package/dist/components/Input.vue.d.mts +3 -0
- package/dist/components/Input.vue.d.ts +3 -0
- package/dist/components/ItemsList.vue.d.mts +3 -0
- package/dist/components/ItemsList.vue.d.ts +3 -0
- package/dist/components/Label.vue.d.mts +3 -0
- package/dist/components/Label.vue.d.ts +3 -0
- package/dist/components/ListPagination.vue.d.mts +3 -0
- package/dist/components/ListPagination.vue.d.ts +3 -0
- package/dist/components/Popover.vue.d.mts +3 -0
- package/dist/components/Popover.vue.d.ts +3 -0
- package/dist/components/Select.vue.d.mts +3 -0
- package/dist/components/Select.vue.d.ts +3 -0
- package/dist/components/drag.d.mts +1 -0
- package/dist/components/drag.d.ts +1 -0
- package/dist/components/index.d.mts +17 -0
- package/dist/components/index.d.ts +17 -0
- package/dist/components/masks.d.mts +22 -0
- package/dist/components/masks.d.ts +22 -0
- package/dist/components.js +1 -0
- package/dist/components.mjs +1660 -0
- package/dist/index.d.mts +43 -121
- package/dist/index.d.ts +43 -121
- package/dist/index.js +1 -963
- package/dist/index.mjs +2 -916
- package/dist/reactive-view.css +2 -0
- package/dist/rolldown-runtime-C-QNzSnW.mjs +11 -0
- package/dist/src-BJaQUsvj.js +1 -0
- package/dist/src-DwXft6y4.mjs +528 -0
- package/package.json +126 -48
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-C-QNzSnW.mjs";
|
|
2
|
+
import { c as t, f as n, i as r, m as i, n as a, o, t as s } from "./src-DwXft6y4.mjs";
|
|
3
|
+
import { t as c } from "./Label-DD9yGa7V.mjs";
|
|
4
|
+
import { computed as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, isVNode as m, markRaw as h, mergeProps as g, onBeforeUnmount as _, openBlock as v, reactive as y, ref as b, unref as x, watch as S } from "vue";
|
|
5
|
+
import { twMerge as C } from "tailwind-merge";
|
|
6
|
+
import { MultiSelect as w, Select as T } from "primevue";
|
|
7
|
+
import { v4 as E } from "uuid";
|
|
8
|
+
//#region ~icons/mdi/check
|
|
9
|
+
var D = {
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
width: "1.2em",
|
|
12
|
+
height: "1.2em"
|
|
13
|
+
};
|
|
14
|
+
function O(e, t) {
|
|
15
|
+
return v(), u("svg", D, [...t[0] ||= [d("path", {
|
|
16
|
+
fill: "currentColor",
|
|
17
|
+
d: "M21 7L9 19l-5.5-5.5l1.41-1.41L9 16.17L19.59 5.59z"
|
|
18
|
+
}, null, -1)]]);
|
|
19
|
+
}
|
|
20
|
+
var k = h({
|
|
21
|
+
name: "mdi-check",
|
|
22
|
+
render: O
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region src/components/Select.vue?vue&type=script&lang.jsx
|
|
26
|
+
function A(e) {
|
|
27
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !m(e);
|
|
28
|
+
}
|
|
29
|
+
var j = t({
|
|
30
|
+
modelName: "Select",
|
|
31
|
+
props: {
|
|
32
|
+
data: {},
|
|
33
|
+
defaultData: a(),
|
|
34
|
+
onShow: a({ type: Function }),
|
|
35
|
+
onFilter: a({ type: Function }),
|
|
36
|
+
multiple: a({ type: Boolean }),
|
|
37
|
+
filled: a({ type: Boolean }),
|
|
38
|
+
sorted: a({
|
|
39
|
+
type: Boolean,
|
|
40
|
+
default: !0
|
|
41
|
+
}),
|
|
42
|
+
debounce: a({
|
|
43
|
+
type: [Number, String],
|
|
44
|
+
default: 200,
|
|
45
|
+
validator: (e) => /^\d+$/.test(e)
|
|
46
|
+
}),
|
|
47
|
+
placeholder: a({
|
|
48
|
+
type: [
|
|
49
|
+
Boolean,
|
|
50
|
+
Number,
|
|
51
|
+
String
|
|
52
|
+
],
|
|
53
|
+
default: "None"
|
|
54
|
+
}),
|
|
55
|
+
dropdown: a({
|
|
56
|
+
type: Boolean,
|
|
57
|
+
default: !0
|
|
58
|
+
}),
|
|
59
|
+
type: a({
|
|
60
|
+
type: String,
|
|
61
|
+
default: "select"
|
|
62
|
+
}),
|
|
63
|
+
options: a({
|
|
64
|
+
type: Array,
|
|
65
|
+
default: []
|
|
66
|
+
}),
|
|
67
|
+
optionLabel: a({ type: [
|
|
68
|
+
Function,
|
|
69
|
+
Number,
|
|
70
|
+
String
|
|
71
|
+
] }),
|
|
72
|
+
optionValue: a({ type: [
|
|
73
|
+
Function,
|
|
74
|
+
Number,
|
|
75
|
+
String
|
|
76
|
+
] }),
|
|
77
|
+
optionProperty: a({ type: [
|
|
78
|
+
Function,
|
|
79
|
+
Number,
|
|
80
|
+
String
|
|
81
|
+
] }),
|
|
82
|
+
filterInputClass: a(),
|
|
83
|
+
inputClass: a(),
|
|
84
|
+
class: a()
|
|
85
|
+
},
|
|
86
|
+
data: (e) => {
|
|
87
|
+
let t = x(e.data);
|
|
88
|
+
return o(t === void 0 ? x(e.defaultData) ?? (x(e.multiple) ? [] : {}) : t);
|
|
89
|
+
},
|
|
90
|
+
defaultData: (e) => x(e.defaultData) ?? (x(e.multiple) ? [] : {}),
|
|
91
|
+
setup(e, t, a) {
|
|
92
|
+
let o = `component_${E()}`, u = b(), d = b(), m = b([]), h = y({ status: !1 }), v = l(() => x(a.placeholder) === !1 || ["number", "string"].includes(typeof x(a.placeholder)) ? x(a.placeholder) : ["number", "string"].includes(typeof x(a.$attrs.label)) ? x(a.$attrs.label) : void 0), D = l(() => x(a.multiple) ? w : T), O = (t) => (x(m) ?? []).find((n) => r(e).getValue(n) === r(e).getValue(t)), j = l(() => {
|
|
93
|
+
try {
|
|
94
|
+
if (x(a.sorted) === !1) return x(m);
|
|
95
|
+
let t = r(e).model.getData();
|
|
96
|
+
if (!t || Array.isArray(t) && t.length === 0) return x(m);
|
|
97
|
+
let n = new Set((Array.isArray(t) ? t : [t]).map((t) => {
|
|
98
|
+
let n = O(t);
|
|
99
|
+
return n ? r(e).getValue(n) : r(e).getValue(t);
|
|
100
|
+
})), i = new Map(x(m).map((e, t) => [e, t]));
|
|
101
|
+
return x(m).toSorted((t, a) => {
|
|
102
|
+
let o = n.has(r(e).getValue(t)), s = n.has(r(e).getValue(a));
|
|
103
|
+
return o && !s ? -1 : !o && s ? 1 : o && s ? (i.get(a) ?? 0) - (i.get(t) ?? 0) : 0;
|
|
104
|
+
});
|
|
105
|
+
} catch {
|
|
106
|
+
return x(m);
|
|
107
|
+
}
|
|
108
|
+
}), M = l(() => {
|
|
109
|
+
let t = r(e).model.getData();
|
|
110
|
+
return (x(a.multiple) ? (Array.isArray(t) ? t : []).map((t) => r(e).getProperty(O(t))) : r(e).getProperty(O(t))) ?? t;
|
|
111
|
+
}), N = l(() => {
|
|
112
|
+
if (x(m).some((e) => typeof e == "object" && !!e)) return (t) => r(e).getLabel(t);
|
|
113
|
+
}), P = (e) => {
|
|
114
|
+
try {
|
|
115
|
+
return typeof a.optionValue == "function" ? a.optionValue(e) : ["Object"].includes(e.constructor.name) ? e[x(a.optionValue) ?? "id"] : e;
|
|
116
|
+
} catch {
|
|
117
|
+
return e;
|
|
118
|
+
}
|
|
119
|
+
}, F = (e) => {
|
|
120
|
+
try {
|
|
121
|
+
return typeof a.optionLabel == "function" ? a.optionLabel(e) : ["Object"].includes(e.constructor.name) ? e[x(a.optionLabel) ?? "name"] : e;
|
|
122
|
+
} catch {
|
|
123
|
+
return e;
|
|
124
|
+
}
|
|
125
|
+
}, I = (e) => {
|
|
126
|
+
try {
|
|
127
|
+
return typeof a.optionProperty == "function" ? a.optionProperty(e) : ["Object"].includes(e.constructor.name) && x(a.optionProperty) ? e[x(a.optionProperty)] : e;
|
|
128
|
+
} catch {
|
|
129
|
+
return e;
|
|
130
|
+
}
|
|
131
|
+
}, L = () => {
|
|
132
|
+
let t;
|
|
133
|
+
return x(a.$attrs.label) ? p(c, g(a.$attrs, { class: x(a.class) }), A(t = r(e).input()) ? t : { default: () => [t] }) : r(e).input();
|
|
134
|
+
}, R = () => p(D.value, g({
|
|
135
|
+
fluid: !0,
|
|
136
|
+
size: "small",
|
|
137
|
+
appendTo: "self",
|
|
138
|
+
autoFilterFocus: x(a.$attrs.filter),
|
|
139
|
+
resetFilterOnHide: !0,
|
|
140
|
+
resetFilterOnClear: !0,
|
|
141
|
+
loading: h.status,
|
|
142
|
+
options: x(j)
|
|
143
|
+
}, n(a.$attrs, "class"), ["number", "string"].includes(typeof x(v)) ? { placeholder: String(x(v)) } : {}, {
|
|
144
|
+
id: o,
|
|
145
|
+
ref: u,
|
|
146
|
+
class: C(s({ "bg-(--colors-F5F6F8)!": x(a.filled) }).string, s(x(a.inputClass)).string, x(a.$attrs.label) ? "" : s(x(a.class)).string),
|
|
147
|
+
modelValue: x(M),
|
|
148
|
+
onFilter: ({ value: e }) => {
|
|
149
|
+
typeof a.onFilter == "function" && H(() => {
|
|
150
|
+
i({
|
|
151
|
+
loading: h,
|
|
152
|
+
try: async () => {
|
|
153
|
+
let t = await a.onFilter({ query: e });
|
|
154
|
+
Array.isArray(t) ? m.value = t : typeof t == "function" && (m.value = t());
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
});
|
|
158
|
+
},
|
|
159
|
+
onShow: () => {
|
|
160
|
+
typeof a.onShow == "function" && H(() => {
|
|
161
|
+
i({
|
|
162
|
+
loading: h,
|
|
163
|
+
try: async () => {
|
|
164
|
+
let e = await a.onShow();
|
|
165
|
+
Array.isArray(e) ? m.value = e : typeof e == "function" && (m.value = e());
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
});
|
|
169
|
+
},
|
|
170
|
+
optionLabel: x(N),
|
|
171
|
+
pt: {
|
|
172
|
+
...x(a.$attrs.pt),
|
|
173
|
+
...x(a.multiple) ? { header: r(e).allRow() } : {},
|
|
174
|
+
pcFilter: {
|
|
175
|
+
...x(a.$attrs.pt)?.pcFilter,
|
|
176
|
+
root: {
|
|
177
|
+
...x(a.$attrs.pt)?.pcFilter?.root,
|
|
178
|
+
class: C(x(a.$attrs.pt)?.pcFilter?.root?.class, s(x(a.filterInputClass)).string)
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}, x(a.optionProperty) ? { optionValue: (t) => r(e).getProperty(t) } : {}, { "onUpdate:modelValue": (t) => {
|
|
183
|
+
H(() => {
|
|
184
|
+
r(e).model.replaceData(r(e).getProperty(t));
|
|
185
|
+
});
|
|
186
|
+
} }), {
|
|
187
|
+
...a.$slots,
|
|
188
|
+
...x(a.dropdown) ? {} : { dropdownicon: () => "" },
|
|
189
|
+
...x(a.multiple) ? { headercheckboxicon: (...t) => (a.$slots.headercheckboxicon || r(e).headerCheckboxIconSlot)(...t) } : {},
|
|
190
|
+
...r(e).valueSlot ? { value: (t, ...n) => a.$slots.value({
|
|
191
|
+
...t,
|
|
192
|
+
value: r(e).valueSlot(t, ...n)
|
|
193
|
+
}, ...n) } : {},
|
|
194
|
+
...r(e).optionSlot ? { option: (t, ...n) => a.$slots.option({
|
|
195
|
+
...t,
|
|
196
|
+
option: r(e).optionSlot(t, ...n)
|
|
197
|
+
}, ...n) } : {}
|
|
198
|
+
}), z = ({ class: t, checked: n }) => p("div", { class: "absolute flex items-center" }, [p(k, { class: {
|
|
199
|
+
[t]: !0,
|
|
200
|
+
invisible: !n,
|
|
201
|
+
"relative left-1/2 -translate-x-1/2": !0
|
|
202
|
+
} }, null), r(e).selectAllOptionText()]), B = () => ({
|
|
203
|
+
class: "m-(--p-multiselect-list-padding)! mb-0! p-(--p-multiselect-option-padding)! rounded-(--p-multiselect-option-border-radius)! cursor-pointer hover:bg-(--p-multiselect-option-focus-background)! hover:text-(--p-multiselect-option-focus-color)!",
|
|
204
|
+
onMouseenter: () => {
|
|
205
|
+
x(u) && (x(u).focusedOptionIndex = -1);
|
|
206
|
+
},
|
|
207
|
+
onClick: (e) => {
|
|
208
|
+
e.target.closest(".p-checkbox-input, .p-multiselect-filter-container") || e.currentTarget.querySelector(".p-checkbox-input")?.click();
|
|
209
|
+
}
|
|
210
|
+
}), V = () => p("div", { class: "relative left-5 text-(--p-multiselect-option-color)" }, [f("All")]), H = (e) => {
|
|
211
|
+
clearTimeout(d.value), d.value = setTimeout(e, x(a.debounce));
|
|
212
|
+
};
|
|
213
|
+
return S(() => x(a.options), (e) => {
|
|
214
|
+
m.value = e;
|
|
215
|
+
}, { immediate: !0 }), _(() => {
|
|
216
|
+
clearTimeout(d.value);
|
|
217
|
+
}), {
|
|
218
|
+
template: L,
|
|
219
|
+
input: R,
|
|
220
|
+
getLabel: F,
|
|
221
|
+
getValue: P,
|
|
222
|
+
getProperty: I,
|
|
223
|
+
getOption: O,
|
|
224
|
+
headerCheckboxIconSlot: z,
|
|
225
|
+
allRow: B,
|
|
226
|
+
selectAllOptionText: V,
|
|
227
|
+
debounce: H,
|
|
228
|
+
inputRef: u,
|
|
229
|
+
timeoutRef: d,
|
|
230
|
+
optionsRef: m,
|
|
231
|
+
computedOptionsRef: j,
|
|
232
|
+
computedSelectionsRef: M,
|
|
233
|
+
loadingRef: h
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
}), M = /* @__PURE__ */ e({ default: () => N }), N = j;
|
|
237
|
+
//#endregion
|
|
238
|
+
export { M as n, N as t };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { SubscriptionItem } from "./Types.mjs";
|
|
2
|
+
export default class Subscription {
|
|
3
|
+
private subscriptions;
|
|
4
|
+
private data;
|
|
5
|
+
static create(): Subscription;
|
|
6
|
+
subscribe(name: string, handler: () => void, data?: any): Subscription;
|
|
7
|
+
replace(name: string, handler: () => void, data?: any): Subscription;
|
|
8
|
+
unsubscribe(subscription?: string): Subscription;
|
|
9
|
+
unsubscribe(subscriptions?: Array<string>): Subscription;
|
|
10
|
+
size(): number;
|
|
11
|
+
hasSubscription(name: string): boolean;
|
|
12
|
+
private remove;
|
|
13
|
+
private find;
|
|
14
|
+
private isNameAvailable;
|
|
15
|
+
registrations(): Array<SubscriptionItem>;
|
|
16
|
+
get(name: string): SubscriptionItem;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { SubscriptionItem } from "./Types";
|
|
2
|
+
export default class Subscription {
|
|
3
|
+
private subscriptions;
|
|
4
|
+
private data;
|
|
5
|
+
static create(): Subscription;
|
|
6
|
+
subscribe(name: string, handler: () => void, data?: any): Subscription;
|
|
7
|
+
replace(name: string, handler: () => void, data?: any): Subscription;
|
|
8
|
+
unsubscribe(subscription?: string): Subscription;
|
|
9
|
+
unsubscribe(subscriptions?: Array<string>): Subscription;
|
|
10
|
+
size(): number;
|
|
11
|
+
hasSubscription(name: string): boolean;
|
|
12
|
+
private remove;
|
|
13
|
+
private find;
|
|
14
|
+
private isNameAvailable;
|
|
15
|
+
registrations(): Array<SubscriptionItem>;
|
|
16
|
+
get(name: string): SubscriptionItem;
|
|
17
|
+
}
|
package/dist/Types.d.mts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { WatchOptions } from "vue";
|
|
2
|
+
export type StateUpdate = {
|
|
3
|
+
callback: (...args: any[]) => any;
|
|
4
|
+
beforeStateUpdate?: (...args: any[]) => any;
|
|
5
|
+
options?: WatchOptions;
|
|
6
|
+
};
|
|
7
|
+
export type ComponentExtension = {
|
|
8
|
+
parent?: ComponentExtension;
|
|
9
|
+
self?: Record<string | symbol, any>;
|
|
10
|
+
access?: () => ComponentExtension;
|
|
11
|
+
value?: ComponentExtension;
|
|
12
|
+
};
|
|
13
|
+
export type PropOptions = {
|
|
14
|
+
exclude: string | Array<string>;
|
|
15
|
+
include: Record<string, any>;
|
|
16
|
+
};
|
|
17
|
+
export type SubscriptionItem = {
|
|
18
|
+
name: string;
|
|
19
|
+
handler: () => void;
|
|
20
|
+
data?: any;
|
|
21
|
+
};
|
|
22
|
+
export type PropType = {
|
|
23
|
+
default: any;
|
|
24
|
+
required: boolean;
|
|
25
|
+
validator: (value: any) => boolean;
|
|
26
|
+
type: any | Array<any>;
|
|
27
|
+
};
|
|
28
|
+
export type PropExclusions = Array<string> | string;
|
package/dist/Types.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { WatchOptions } from "vue";
|
|
2
|
+
export type StateUpdate = {
|
|
3
|
+
callback: (...args: any[]) => any;
|
|
4
|
+
beforeStateUpdate?: (...args: any[]) => any;
|
|
5
|
+
options?: WatchOptions;
|
|
6
|
+
};
|
|
7
|
+
export type ComponentExtension = {
|
|
8
|
+
parent?: ComponentExtension;
|
|
9
|
+
self?: Record<string | symbol, any>;
|
|
10
|
+
access?: () => ComponentExtension;
|
|
11
|
+
value?: ComponentExtension;
|
|
12
|
+
};
|
|
13
|
+
export type PropOptions = {
|
|
14
|
+
exclude: string | Array<string>;
|
|
15
|
+
include: Record<string, any>;
|
|
16
|
+
};
|
|
17
|
+
export type SubscriptionItem = {
|
|
18
|
+
name: string;
|
|
19
|
+
handler: () => void;
|
|
20
|
+
data?: any;
|
|
21
|
+
};
|
|
22
|
+
export type PropType = {
|
|
23
|
+
default: any;
|
|
24
|
+
required: boolean;
|
|
25
|
+
validator: (value: any) => boolean;
|
|
26
|
+
type: any | Array<any>;
|
|
27
|
+
};
|
|
28
|
+
export type PropExclusions = Array<string> | string;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
setup: {
|
|
5
|
+
type: FunctionConstructor;
|
|
6
|
+
default: (_parent?: {}, self?: {}) => {};
|
|
7
|
+
ReactiveView: boolean;
|
|
8
|
+
};
|
|
9
|
+
title: {
|
|
10
|
+
default: any;
|
|
11
|
+
validator: (value: any) => boolean;
|
|
12
|
+
required?: boolean | undefined;
|
|
13
|
+
type?: any[] | undefined;
|
|
14
|
+
};
|
|
15
|
+
description: {
|
|
16
|
+
default: any;
|
|
17
|
+
validator: (value: any) => boolean;
|
|
18
|
+
required?: boolean | undefined;
|
|
19
|
+
type?: any[] | undefined;
|
|
20
|
+
};
|
|
21
|
+
close: {
|
|
22
|
+
default: any;
|
|
23
|
+
validator: (value: any) => boolean;
|
|
24
|
+
required?: boolean | undefined;
|
|
25
|
+
type?: any[] | undefined;
|
|
26
|
+
};
|
|
27
|
+
timeout: {
|
|
28
|
+
default: any;
|
|
29
|
+
validator: (value: any) => boolean;
|
|
30
|
+
required?: boolean | undefined;
|
|
31
|
+
type?: any[] | undefined;
|
|
32
|
+
};
|
|
33
|
+
}>, ($vue: any) => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
setup: {
|
|
35
|
+
type: FunctionConstructor;
|
|
36
|
+
default: (_parent?: {}, self?: {}) => {};
|
|
37
|
+
ReactiveView: boolean;
|
|
38
|
+
};
|
|
39
|
+
title: {
|
|
40
|
+
default: any;
|
|
41
|
+
validator: (value: any) => boolean;
|
|
42
|
+
required?: boolean | undefined;
|
|
43
|
+
type?: any[] | undefined;
|
|
44
|
+
};
|
|
45
|
+
description: {
|
|
46
|
+
default: any;
|
|
47
|
+
validator: (value: any) => boolean;
|
|
48
|
+
required?: boolean | undefined;
|
|
49
|
+
type?: any[] | undefined;
|
|
50
|
+
};
|
|
51
|
+
close: {
|
|
52
|
+
default: any;
|
|
53
|
+
validator: (value: any) => boolean;
|
|
54
|
+
required?: boolean | undefined;
|
|
55
|
+
type?: any[] | undefined;
|
|
56
|
+
};
|
|
57
|
+
timeout: {
|
|
58
|
+
default: any;
|
|
59
|
+
validator: (value: any) => boolean;
|
|
60
|
+
required?: boolean | undefined;
|
|
61
|
+
type?: any[] | undefined;
|
|
62
|
+
};
|
|
63
|
+
}>> & Readonly<{}>, {
|
|
64
|
+
setup: Function;
|
|
65
|
+
title: any;
|
|
66
|
+
description: any;
|
|
67
|
+
close: any;
|
|
68
|
+
timeout: any;
|
|
69
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
setup: {
|
|
5
|
+
type: FunctionConstructor;
|
|
6
|
+
default: (_parent?: {}, self?: {}) => {};
|
|
7
|
+
ReactiveView: boolean;
|
|
8
|
+
};
|
|
9
|
+
title: {
|
|
10
|
+
default: any;
|
|
11
|
+
validator: (value: any) => boolean;
|
|
12
|
+
required?: boolean | undefined;
|
|
13
|
+
type?: any[] | undefined;
|
|
14
|
+
};
|
|
15
|
+
description: {
|
|
16
|
+
default: any;
|
|
17
|
+
validator: (value: any) => boolean;
|
|
18
|
+
required?: boolean | undefined;
|
|
19
|
+
type?: any[] | undefined;
|
|
20
|
+
};
|
|
21
|
+
close: {
|
|
22
|
+
default: any;
|
|
23
|
+
validator: (value: any) => boolean;
|
|
24
|
+
required?: boolean | undefined;
|
|
25
|
+
type?: any[] | undefined;
|
|
26
|
+
};
|
|
27
|
+
timeout: {
|
|
28
|
+
default: any;
|
|
29
|
+
validator: (value: any) => boolean;
|
|
30
|
+
required?: boolean | undefined;
|
|
31
|
+
type?: any[] | undefined;
|
|
32
|
+
};
|
|
33
|
+
}>, ($vue: any) => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
setup: {
|
|
35
|
+
type: FunctionConstructor;
|
|
36
|
+
default: (_parent?: {}, self?: {}) => {};
|
|
37
|
+
ReactiveView: boolean;
|
|
38
|
+
};
|
|
39
|
+
title: {
|
|
40
|
+
default: any;
|
|
41
|
+
validator: (value: any) => boolean;
|
|
42
|
+
required?: boolean | undefined;
|
|
43
|
+
type?: any[] | undefined;
|
|
44
|
+
};
|
|
45
|
+
description: {
|
|
46
|
+
default: any;
|
|
47
|
+
validator: (value: any) => boolean;
|
|
48
|
+
required?: boolean | undefined;
|
|
49
|
+
type?: any[] | undefined;
|
|
50
|
+
};
|
|
51
|
+
close: {
|
|
52
|
+
default: any;
|
|
53
|
+
validator: (value: any) => boolean;
|
|
54
|
+
required?: boolean | undefined;
|
|
55
|
+
type?: any[] | undefined;
|
|
56
|
+
};
|
|
57
|
+
timeout: {
|
|
58
|
+
default: any;
|
|
59
|
+
validator: (value: any) => boolean;
|
|
60
|
+
required?: boolean | undefined;
|
|
61
|
+
type?: any[] | undefined;
|
|
62
|
+
};
|
|
63
|
+
}>> & Readonly<{}>, {
|
|
64
|
+
setup: Function;
|
|
65
|
+
title: any;
|
|
66
|
+
description: any;
|
|
67
|
+
close: any;
|
|
68
|
+
timeout: any;
|
|
69
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const hideDragImage: (dataTransfer?: DataTransfer | null) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const hideDragImage: (dataTransfer?: DataTransfer | null) => void;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export { default as Button } from "./Button.vue.mjs";
|
|
2
|
+
export { default as ConfirmationModal } from "./ConfirmationModal.vue.mjs";
|
|
3
|
+
export { default as CustomAlert } from "./CustomAlert.vue.mjs";
|
|
4
|
+
export { default as CustomButton } from "./CustomButton.vue.mjs";
|
|
5
|
+
export { default as CustomModal } from "./CustomModal.vue.mjs";
|
|
6
|
+
export { default as CustomTable } from "./CustomTable.vue.mjs";
|
|
7
|
+
export { default as CustomTableRow } from "./CustomTableRow.vue.mjs";
|
|
8
|
+
export { default as Datetime } from "./Datetime.vue.mjs";
|
|
9
|
+
export { default as DraggableList } from "./DraggableList.vue.mjs";
|
|
10
|
+
export { default as Editor } from "./Editor.vue.mjs";
|
|
11
|
+
export { default as Input } from "./Input.vue.mjs";
|
|
12
|
+
export { default as ItemsList } from "./ItemsList.vue.mjs";
|
|
13
|
+
export { default as Label } from "./Label.vue.mjs";
|
|
14
|
+
export { default as ListPagination } from "./ListPagination.vue.mjs";
|
|
15
|
+
export { default as Popover } from "./Popover.vue.mjs";
|
|
16
|
+
export { default as Select } from "./Select.vue.mjs";
|
|
17
|
+
export { Masks } from "./masks.mjs";
|