@pequity/squirrel 4.1.2 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/p-drawer.js +2 -6
- package/dist/cjs/p-inline-date-picker.js +6 -4
- package/dist/cjs/p-loading.js +3 -3
- package/dist/es/p-drawer.js +2 -6
- package/dist/es/p-inline-date-picker.js +6 -4
- package/dist/es/p-loading.js +4 -4
- package/dist/squirrel/components/p-action-bar/p-action-bar.vue.d.ts +0 -1
- package/dist/squirrel/components/p-card/p-card.vue.d.ts +14 -6
- package/dist/squirrel/components/p-checkbox/p-checkbox.vue.d.ts +12 -4
- package/dist/squirrel/components/p-drawer/p-drawer.vue.d.ts +1 -2
- package/dist/squirrel/components/p-dropdown-select/p-dropdown-select.vue.d.ts +119 -21
- package/dist/squirrel/components/p-info-icon/p-info-icon.vue.d.ts +9 -3
- package/dist/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue.d.ts +14 -1
- package/dist/squirrel/components/p-link/p-link.vue.d.ts +15 -9
- package/dist/squirrel/components/p-modal/p-modal.vue.d.ts +17 -8
- package/dist/squirrel/components/p-pagination-info/p-pagination-info.vue.d.ts +9 -3
- package/dist/squirrel/components/p-select/p-select.vue.d.ts +13 -6
- package/dist/squirrel/components/p-select-btn/p-select-btn.vue.d.ts +21 -15
- package/dist/squirrel/components/p-select-list/p-select-list.vue.d.ts +118 -21
- package/dist/squirrel/components/p-table/p-table.vue.d.ts +23 -14
- package/dist/squirrel/components/p-table-td/p-table-td.vue.d.ts +19 -12
- package/dist/style.css +34 -34
- package/package.json +10 -10
- package/squirrel/components/p-drawer/p-drawer.vue +4 -7
- package/squirrel/components/p-inline-date-picker/p-inline-date-picker.spec.js +176 -0
- package/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue +7 -7
- package/squirrel/components/p-input-number/p-input-number.spec.js +0 -1
- package/squirrel/components/p-loading/p-loading.spec.js +36 -25
- package/squirrel/components/p-loading/p-loading.vue +22 -15
package/dist/cjs/p-drawer.js
CHANGED
|
@@ -92,9 +92,6 @@ const __default__ = vue.defineComponent({
|
|
|
92
92
|
},
|
|
93
93
|
transitionOutClass() {
|
|
94
94
|
return this.outClass || this.position === "right" ? "slideOutRight" : "slideOutLeft";
|
|
95
|
-
},
|
|
96
|
-
animationDuration() {
|
|
97
|
-
return (parseInt(this.width, 10) / 1200).toFixed(2) + "s";
|
|
98
95
|
}
|
|
99
96
|
},
|
|
100
97
|
created() {
|
|
@@ -152,8 +149,7 @@ const __default__ = vue.defineComponent({
|
|
|
152
149
|
});
|
|
153
150
|
const __injectCSSVars__ = () => {
|
|
154
151
|
vue.useCssVars((_ctx) => ({
|
|
155
|
-
"
|
|
156
|
-
"59cfae08": _ctx.animationDuration
|
|
152
|
+
"3e3927a8": _ctx.width
|
|
157
153
|
}));
|
|
158
154
|
};
|
|
159
155
|
const __setup__ = __default__.setup;
|
|
@@ -270,5 +266,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
270
266
|
}, 8, ["enter-active-class", "leave-active-class", "onBeforeEnter", "onEnter", "onAfterEnter", "onBeforeLeave", "onLeave", "onAfterLeave"])
|
|
271
267
|
], 8, ["to"])) : vue.createCommentVNode("", true);
|
|
272
268
|
}
|
|
273
|
-
const pDrawer = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(__default__, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
269
|
+
const pDrawer = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(__default__, [["render", _sfc_render], ["__scopeId", "data-v-a1affdb7"]]);
|
|
274
270
|
module.exports = pDrawer;
|
|
@@ -4,7 +4,9 @@ const inputClassesMixin = require("./inputClassesMixin.js");
|
|
|
4
4
|
const vCalendar = require("v-calendar");
|
|
5
5
|
const vue = require("vue");
|
|
6
6
|
const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
|
|
7
|
-
const selectAttribute = {
|
|
7
|
+
const selectAttribute = {
|
|
8
|
+
highlight: { class: "bg-primary", contentClass: "text-white" }
|
|
9
|
+
};
|
|
8
10
|
const DEFAULT_MASKS = {
|
|
9
11
|
// The mask for the input
|
|
10
12
|
input: "DD-MMM-YYYY",
|
|
@@ -82,7 +84,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
82
84
|
},
|
|
83
85
|
watch: {
|
|
84
86
|
modelValue: {
|
|
85
|
-
handler(nV) {
|
|
87
|
+
async handler(nV) {
|
|
86
88
|
const date = dayjs(nV, this.masks.data).toDate();
|
|
87
89
|
if (nV && date.toString() === "Invalid Date") {
|
|
88
90
|
this.$emit("update:modelValue", null);
|
|
@@ -90,8 +92,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
90
92
|
}
|
|
91
93
|
this.innerValue = nV ? dayjs(nV, this.masks.data).toDate() : null;
|
|
92
94
|
const datepicker = this.$refs.datepicker;
|
|
93
|
-
if (datepicker && this.innerValue) {
|
|
94
|
-
datepicker.move(this.innerValue);
|
|
95
|
+
if (datepicker && typeof datepicker.move === "function" && this.innerValue) {
|
|
96
|
+
await datepicker.move(this.innerValue);
|
|
95
97
|
}
|
|
96
98
|
},
|
|
97
99
|
immediate: true
|
package/dist/cjs/p-loading.js
CHANGED
|
@@ -38,7 +38,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
38
38
|
return isComponent2;
|
|
39
39
|
};
|
|
40
40
|
return (_ctx, _cache) => {
|
|
41
|
-
return vue.openBlock(), vue.
|
|
41
|
+
return vue.openBlock(), vue.createBlock(vue.Teleport, { to: "body" }, [
|
|
42
42
|
vue.createVNode(vue.Transition, {
|
|
43
43
|
name: "pm-backdrop-transition",
|
|
44
44
|
"enter-active-class": "fadeInDown",
|
|
@@ -78,9 +78,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
78
78
|
}, vue.toDisplayString(vue.unref(content)), 1))
|
|
79
79
|
], 512)
|
|
80
80
|
])) : vue.createCommentVNode("", true)
|
|
81
|
-
]
|
|
81
|
+
]);
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
84
|
});
|
|
85
|
-
const pLoading = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
85
|
+
const pLoading = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-7af44c7f"]]);
|
|
86
86
|
module.exports = pLoading;
|
package/dist/es/p-drawer.js
CHANGED
|
@@ -91,9 +91,6 @@ const __default__ = defineComponent({
|
|
|
91
91
|
},
|
|
92
92
|
transitionOutClass() {
|
|
93
93
|
return this.outClass || this.position === "right" ? "slideOutRight" : "slideOutLeft";
|
|
94
|
-
},
|
|
95
|
-
animationDuration() {
|
|
96
|
-
return (parseInt(this.width, 10) / 1200).toFixed(2) + "s";
|
|
97
94
|
}
|
|
98
95
|
},
|
|
99
96
|
created() {
|
|
@@ -151,8 +148,7 @@ const __default__ = defineComponent({
|
|
|
151
148
|
});
|
|
152
149
|
const __injectCSSVars__ = () => {
|
|
153
150
|
useCssVars((_ctx) => ({
|
|
154
|
-
"
|
|
155
|
-
"59cfae08": _ctx.animationDuration
|
|
151
|
+
"3e3927a8": _ctx.width
|
|
156
152
|
}));
|
|
157
153
|
};
|
|
158
154
|
const __setup__ = __default__.setup;
|
|
@@ -269,7 +265,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
269
265
|
}, 8, ["enter-active-class", "leave-active-class", "onBeforeEnter", "onEnter", "onAfterEnter", "onBeforeLeave", "onLeave", "onAfterLeave"])
|
|
270
266
|
], 8, ["to"])) : createCommentVNode("", true);
|
|
271
267
|
}
|
|
272
|
-
const pDrawer = /* @__PURE__ */ _export_sfc(__default__, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
268
|
+
const pDrawer = /* @__PURE__ */ _export_sfc(__default__, [["render", _sfc_render], ["__scopeId", "data-v-a1affdb7"]]);
|
|
273
269
|
export {
|
|
274
270
|
pDrawer as default
|
|
275
271
|
};
|
|
@@ -3,7 +3,9 @@ import inputClassesMixin from "./inputClassesMixin.js";
|
|
|
3
3
|
import { DatePicker } from "v-calendar";
|
|
4
4
|
import { defineComponent, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, toDisplayString, createCommentVNode, createVNode, mergeProps, withDirectives, createElementVNode, vShow } from "vue";
|
|
5
5
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
|
-
const selectAttribute = {
|
|
6
|
+
const selectAttribute = {
|
|
7
|
+
highlight: { class: "bg-primary", contentClass: "text-white" }
|
|
8
|
+
};
|
|
7
9
|
const DEFAULT_MASKS = {
|
|
8
10
|
// The mask for the input
|
|
9
11
|
input: "DD-MMM-YYYY",
|
|
@@ -81,7 +83,7 @@ const _sfc_main = defineComponent({
|
|
|
81
83
|
},
|
|
82
84
|
watch: {
|
|
83
85
|
modelValue: {
|
|
84
|
-
handler(nV) {
|
|
86
|
+
async handler(nV) {
|
|
85
87
|
const date = dayjs(nV, this.masks.data).toDate();
|
|
86
88
|
if (nV && date.toString() === "Invalid Date") {
|
|
87
89
|
this.$emit("update:modelValue", null);
|
|
@@ -89,8 +91,8 @@ const _sfc_main = defineComponent({
|
|
|
89
91
|
}
|
|
90
92
|
this.innerValue = nV ? dayjs(nV, this.masks.data).toDate() : null;
|
|
91
93
|
const datepicker = this.$refs.datepicker;
|
|
92
|
-
if (datepicker && this.innerValue) {
|
|
93
|
-
datepicker.move(this.innerValue);
|
|
94
|
+
if (datepicker && typeof datepicker.move === "function" && this.innerValue) {
|
|
95
|
+
await datepicker.move(this.innerValue);
|
|
94
96
|
}
|
|
95
97
|
},
|
|
96
98
|
immediate: true
|
package/dist/es/p-loading.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, toValue, openBlock,
|
|
1
|
+
import { defineComponent, ref, watch, toValue, openBlock, createBlock, Teleport, createVNode, Transition, withCtx, unref, createElementBlock, createElementVNode, normalizeStyle, resolveDynamicComponent, normalizeProps, mergeProps, normalizeClass, toDisplayString, createCommentVNode } from "vue";
|
|
2
2
|
import { usePLoading } from "./usePLoading.js";
|
|
3
3
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
4
4
|
const _hoisted_1 = {
|
|
@@ -37,7 +37,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
37
37
|
return isComponent2;
|
|
38
38
|
};
|
|
39
39
|
return (_ctx, _cache) => {
|
|
40
|
-
return openBlock(),
|
|
40
|
+
return openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
41
41
|
createVNode(Transition, {
|
|
42
42
|
name: "pm-backdrop-transition",
|
|
43
43
|
"enter-active-class": "fadeInDown",
|
|
@@ -77,11 +77,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
77
77
|
}, toDisplayString(unref(content)), 1))
|
|
78
78
|
], 512)
|
|
79
79
|
])) : createCommentVNode("", true)
|
|
80
|
-
]
|
|
80
|
+
]);
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
83
|
});
|
|
84
|
-
const pLoading = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
84
|
+
const pLoading = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7af44c7f"]]);
|
|
85
85
|
export {
|
|
86
86
|
pLoading as default
|
|
87
87
|
};
|
|
@@ -12,7 +12,6 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Pr
|
|
|
12
12
|
"onClick:action"?: ((args_0: string | undefined) => any) | undefined;
|
|
13
13
|
}, {}, {}>;
|
|
14
14
|
export default _default;
|
|
15
|
-
|
|
16
15
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
16
|
type __VLS_TypePropsToOption<T> = {
|
|
18
17
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -1,9 +1,17 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
titleClass: "text-xl font-medium leading-none text-p-purple-60";
|
|
4
|
-
}): any;
|
|
5
|
-
default?(_: {}): any;
|
|
1
|
+
declare var __VLS_0: {
|
|
2
|
+
titleClass: "text-xl font-medium leading-none text-p-purple-60";
|
|
6
3
|
};
|
|
4
|
+
declare var __VLS_1: {};
|
|
5
|
+
declare var __VLS_inheritedAttrs: {};
|
|
6
|
+
declare const __VLS_templateResult: {
|
|
7
|
+
slots: {
|
|
8
|
+
title?(_: typeof __VLS_0): any;
|
|
9
|
+
default?(_: typeof __VLS_1): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
attrs: Partial<typeof __VLS_inheritedAttrs>;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_Slots = typeof __VLS_templateResult['slots'];
|
|
7
15
|
declare const __VLS_component: import("vue").DefineComponent<{
|
|
8
16
|
title: {
|
|
9
17
|
type: StringConstructor;
|
|
@@ -17,7 +25,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
17
25
|
}>>, {
|
|
18
26
|
title: string;
|
|
19
27
|
}, {}>;
|
|
20
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
|
|
21
29
|
export default _default;
|
|
22
30
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
31
|
new (): {
|
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare var __VLS_0: {};
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
declare var __VLS_inheritedAttrs: {};
|
|
4
|
+
declare const __VLS_templateResult: {
|
|
5
|
+
slots: {
|
|
6
|
+
"label-before"?(_: typeof __VLS_0): any;
|
|
7
|
+
label?(_: typeof __VLS_1): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
attrs: Partial<typeof __VLS_inheritedAttrs>;
|
|
4
11
|
};
|
|
12
|
+
type __VLS_Slots = typeof __VLS_templateResult['slots'];
|
|
5
13
|
declare const __VLS_component: import("vue").DefineComponent<{
|
|
6
14
|
modelValue: {
|
|
7
15
|
type: BooleanConstructor;
|
|
@@ -28,7 +36,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
28
36
|
label: string;
|
|
29
37
|
modelValue: boolean;
|
|
30
38
|
}, {}>;
|
|
31
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
39
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
|
|
32
40
|
export default _default;
|
|
33
41
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
42
|
new (): {
|
|
@@ -71,7 +71,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
71
71
|
}, {
|
|
72
72
|
transitionInClass(): "slideInRight" | "slideInLeft";
|
|
73
73
|
transitionOutClass(): "slideOutRight" | "slideOutLeft";
|
|
74
|
-
animationDuration(): string;
|
|
75
74
|
}, {
|
|
76
75
|
close(): void;
|
|
77
76
|
beforeOpen(): void;
|
|
@@ -158,8 +157,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
158
157
|
zIndex: number;
|
|
159
158
|
width: string;
|
|
160
159
|
title: string;
|
|
161
|
-
disabled: boolean;
|
|
162
160
|
position: string;
|
|
161
|
+
disabled: boolean;
|
|
163
162
|
modelValue: boolean;
|
|
164
163
|
errorMsg: string;
|
|
165
164
|
appendTo: string;
|
|
@@ -2,27 +2,125 @@ import { type PropType } from 'vue';
|
|
|
2
2
|
import { type ModelValue, type Size } from '../p-select-list/p-select-list.types';
|
|
3
3
|
type AnyValue = string | number | boolean | null | undefined | Record<string, unknown>;
|
|
4
4
|
type AnyObject = Record<string, AnyValue>;
|
|
5
|
-
declare
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
5
|
+
declare var __VLS_inheritedAttrs: {};
|
|
6
|
+
declare const __VLS_templateResult: {
|
|
7
|
+
slots: Readonly<{
|
|
8
|
+
'selected-item'(props: {
|
|
9
|
+
item: any;
|
|
10
|
+
}): unknown;
|
|
11
|
+
'no-items'(): unknown;
|
|
12
|
+
item(props: {
|
|
13
|
+
item: any;
|
|
14
|
+
isItemSelected: boolean;
|
|
15
|
+
itemTextSplit: string[];
|
|
16
|
+
}): unknown;
|
|
17
|
+
}> & {
|
|
18
|
+
'selected-item'(props: {
|
|
19
|
+
item: any;
|
|
20
|
+
}): unknown;
|
|
21
|
+
'no-items'(): unknown;
|
|
22
|
+
item(props: {
|
|
23
|
+
item: any;
|
|
24
|
+
isItemSelected: boolean;
|
|
25
|
+
itemTextSplit: string[];
|
|
26
|
+
}): unknown;
|
|
27
|
+
};
|
|
28
|
+
refs: {
|
|
29
|
+
formControl: import("vue").HTMLAttributes & import("vue").ReservedProps;
|
|
30
|
+
button: import("vue").ButtonHTMLAttributes & import("vue").ReservedProps;
|
|
31
|
+
actionsContainer: import("vue").HTMLAttributes & import("vue").ReservedProps;
|
|
32
|
+
inputSearch: import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
+
modelValue: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
size: {
|
|
38
|
+
type: PropType<import("../..").InputSize>;
|
|
39
|
+
default: string;
|
|
40
|
+
validator(value: import("../..").InputSize): boolean;
|
|
41
|
+
};
|
|
42
|
+
showEnterIcon: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
}>> & {
|
|
47
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
48
|
+
onEnter?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
}, unknown, {
|
|
50
|
+
query: string;
|
|
51
|
+
showEnterIconOnFocus: boolean;
|
|
52
|
+
}, {
|
|
53
|
+
searchIconClasses(): string;
|
|
54
|
+
enterIconClasses(): string;
|
|
55
|
+
clearIconClasses(): string;
|
|
56
|
+
}, {
|
|
57
|
+
clearSearch(): void;
|
|
58
|
+
keydownEnter(): void;
|
|
59
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "enter")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
60
|
+
modelValue: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
size: {
|
|
65
|
+
type: PropType<import("../..").InputSize>;
|
|
66
|
+
default: string;
|
|
67
|
+
validator(value: import("../..").InputSize): boolean;
|
|
68
|
+
};
|
|
69
|
+
showEnterIcon: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
}>> & {
|
|
74
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
75
|
+
onEnter?: ((...args: any[]) => any) | undefined;
|
|
76
|
+
}, {
|
|
77
|
+
size: "sm" | "lg" | "md";
|
|
78
|
+
modelValue: string;
|
|
79
|
+
showEnterIcon: boolean;
|
|
80
|
+
}, true, {}, {}, {
|
|
81
|
+
P: {};
|
|
82
|
+
B: {};
|
|
83
|
+
D: {};
|
|
84
|
+
C: {};
|
|
85
|
+
M: {};
|
|
86
|
+
Defaults: {};
|
|
87
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
88
|
+
modelValue: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
size: {
|
|
93
|
+
type: PropType<import("../..").InputSize>;
|
|
94
|
+
default: string;
|
|
95
|
+
validator(value: import("../..").InputSize): boolean;
|
|
96
|
+
};
|
|
97
|
+
showEnterIcon: {
|
|
98
|
+
type: BooleanConstructor;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
}>> & {
|
|
102
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
103
|
+
onEnter?: ((...args: any[]) => any) | undefined;
|
|
104
|
+
}, {}, {
|
|
105
|
+
query: string;
|
|
106
|
+
showEnterIconOnFocus: boolean;
|
|
107
|
+
}, {
|
|
108
|
+
searchIconClasses(): string;
|
|
109
|
+
enterIconClasses(): string;
|
|
110
|
+
clearIconClasses(): string;
|
|
111
|
+
}, {
|
|
112
|
+
clearSearch(): void;
|
|
113
|
+
keydownEnter(): void;
|
|
114
|
+
}, {
|
|
115
|
+
size: "sm" | "lg" | "md";
|
|
116
|
+
modelValue: string;
|
|
117
|
+
showEnterIcon: boolean;
|
|
118
|
+
}> | null;
|
|
119
|
+
virtualizerRef: import("vue").HTMLAttributes & import("vue").ReservedProps;
|
|
120
|
+
};
|
|
121
|
+
attrs: Partial<typeof __VLS_inheritedAttrs>;
|
|
25
122
|
};
|
|
123
|
+
type __VLS_Slots = typeof __VLS_templateResult['slots'];
|
|
26
124
|
declare const __VLS_component: import("vue").DefineComponent<{
|
|
27
125
|
modelValue: {
|
|
28
126
|
type: PropType<ModelValue>;
|
|
@@ -283,7 +381,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
283
381
|
placeholderSearch: string;
|
|
284
382
|
selectedTopShown: boolean;
|
|
285
383
|
}, {}>;
|
|
286
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
384
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
|
|
287
385
|
export default _default;
|
|
288
386
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
289
387
|
new (): {
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
1
|
+
declare var __VLS_inheritedAttrs: {};
|
|
2
|
+
declare const __VLS_templateResult: {
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
attrs: Partial<typeof __VLS_inheritedAttrs>;
|
|
3
8
|
};
|
|
9
|
+
type __VLS_Slots = typeof __VLS_templateResult['slots'];
|
|
4
10
|
declare const __VLS_component: import("vue").DefineComponent<{
|
|
5
11
|
text: {
|
|
6
12
|
type: StringConstructor;
|
|
@@ -14,7 +20,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
14
20
|
}>>, {
|
|
15
21
|
text: string;
|
|
16
22
|
}, {}>;
|
|
17
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
|
|
18
24
|
export default _default;
|
|
19
25
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
26
|
new (): {
|
|
@@ -30,7 +30,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
};
|
|
31
31
|
}, unknown, {
|
|
32
32
|
innerValue: Date | null;
|
|
33
|
-
selectAttribute:
|
|
33
|
+
selectAttribute: Partial<{
|
|
34
|
+
key: string | number;
|
|
35
|
+
hashcode: string;
|
|
36
|
+
content: import("v-calendar/dist/types/src/utils/glyph.js").ContentConfig;
|
|
37
|
+
highlight: import("v-calendar/dist/types/src/utils/glyph.js").HighlightConfig;
|
|
38
|
+
dot: import("v-calendar/dist/types/src/utils/glyph.js").DotConfig;
|
|
39
|
+
bar: import("v-calendar/dist/types/src/utils/glyph.js").BarConfig;
|
|
40
|
+
popover: import("v-calendar/dist/types/src/utils/attribute.js").PopoverConfig;
|
|
41
|
+
event: import("v-calendar/dist/types/src/utils/attribute.js").EventConfig;
|
|
42
|
+
dates: import("v-calendar/dist/types/src/utils/date/range.js").DateRangeSource[];
|
|
43
|
+
customData: any;
|
|
44
|
+
order: number;
|
|
45
|
+
pinPage: boolean;
|
|
46
|
+
}>;
|
|
34
47
|
}, {
|
|
35
48
|
masks(): {
|
|
36
49
|
input: string;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { type RouterLinkProps } from 'vue-router';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
declare var __VLS_inheritedAttrs: {};
|
|
3
|
+
declare const __VLS_templateResult: {
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
attrs: Partial<typeof __VLS_inheritedAttrs>;
|
|
5
10
|
};
|
|
11
|
+
type __VLS_Slots = typeof __VLS_templateResult['slots'];
|
|
6
12
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<RouterLinkProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<RouterLinkProps>>>, {}, {}>;
|
|
7
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
|
|
8
14
|
export default _default;
|
|
9
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
10
|
-
new (): {
|
|
11
|
-
$slots: S;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
15
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
16
|
type __VLS_TypePropsToOption<T> = {
|
|
16
17
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -20,3 +21,8 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
20
21
|
required: true;
|
|
21
22
|
};
|
|
22
23
|
};
|
|
24
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
import { type PropType, type StyleValue } from 'vue';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
declare var __VLS_inheritedAttrs: {};
|
|
3
|
+
declare const __VLS_templateResult: {
|
|
4
|
+
slots: {
|
|
5
|
+
"title-wrapper"?(_: {}): any;
|
|
6
|
+
"content-wrapper"?(_: {}): any;
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
"footer-wrapper"?(_: {}): any;
|
|
9
|
+
footer?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {
|
|
12
|
+
pmWrapper: import("vue").HTMLAttributes & import("vue").ReservedProps;
|
|
13
|
+
pm: import("vue").HTMLAttributes & import("vue").ReservedProps;
|
|
14
|
+
};
|
|
15
|
+
attrs: Partial<typeof __VLS_inheritedAttrs>;
|
|
8
16
|
};
|
|
17
|
+
type __VLS_Slots = typeof __VLS_templateResult['slots'];
|
|
9
18
|
declare const __VLS_component: import("vue").DefineComponent<{
|
|
10
19
|
name: {
|
|
11
20
|
type: StringConstructor;
|
|
@@ -189,15 +198,15 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
189
198
|
live: boolean;
|
|
190
199
|
closeLabel: string;
|
|
191
200
|
enableClose: boolean;
|
|
201
|
+
wrapperClass: StyleValue;
|
|
192
202
|
baseZindex: number;
|
|
193
203
|
bgClass: StyleValue;
|
|
194
|
-
wrapperClass: StyleValue;
|
|
195
204
|
modalClass: StyleValue;
|
|
196
205
|
modalStyle: StyleValue;
|
|
197
206
|
bgInClass: string;
|
|
198
207
|
bgOutClass: string;
|
|
199
208
|
}, {}>;
|
|
200
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
209
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
|
|
201
210
|
export default _default;
|
|
202
211
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
203
212
|
new (): {
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
1
|
+
declare var __VLS_inheritedAttrs: {};
|
|
2
|
+
declare const __VLS_templateResult: {
|
|
3
|
+
slots: {
|
|
4
|
+
"no-results"?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
attrs: Partial<typeof __VLS_inheritedAttrs>;
|
|
3
8
|
};
|
|
9
|
+
type __VLS_Slots = typeof __VLS_templateResult['slots'];
|
|
4
10
|
declare const __VLS_component: import("vue").DefineComponent<{
|
|
5
11
|
/**
|
|
6
12
|
* The current page.
|
|
@@ -65,7 +71,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
65
71
|
pageSize: number;
|
|
66
72
|
currentPage: number;
|
|
67
73
|
}, {}>;
|
|
68
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
74
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
|
|
69
75
|
export default _default;
|
|
70
76
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
71
77
|
new (): {
|
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
import { type InputSize } from '../../utils/inputClassesShared';
|
|
2
2
|
import { type PropType } from 'vue';
|
|
3
|
-
declare
|
|
4
|
-
label
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
declare var __VLS_0: {
|
|
4
|
+
label: string;
|
|
5
|
+
labelClasses: string;
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_inheritedAttrs: {};
|
|
8
|
+
declare const __VLS_templateResult: {
|
|
9
|
+
slots: {
|
|
10
|
+
label?(_: typeof __VLS_0): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
attrs: Partial<typeof __VLS_inheritedAttrs>;
|
|
8
14
|
};
|
|
15
|
+
type __VLS_Slots = typeof __VLS_templateResult['slots'];
|
|
9
16
|
declare const __VLS_component: import("vue").DefineComponent<{
|
|
10
17
|
modelValue: {
|
|
11
18
|
type: PropType<string | number | boolean | null>;
|
|
@@ -88,7 +95,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
88
95
|
errorMsg: string;
|
|
89
96
|
itemValue: string | number | boolean | null;
|
|
90
97
|
}, {}>;
|
|
91
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
98
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
|
|
92
99
|
export default _default;
|
|
93
100
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
94
101
|
new (): {
|