@pequity/squirrel 5.4.1 → 5.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/dist/cjs/chunks/p-action-bar.js +10 -11
  2. package/dist/cjs/chunks/p-date-picker.js +108 -0
  3. package/dist/cjs/chunks/p-dropdown-select.js +7 -8
  4. package/dist/cjs/chunks/p-inline-date-picker.js +112 -0
  5. package/dist/cjs/chunks/p-input-percent.js +3 -5
  6. package/dist/cjs/chunks/p-pagination-info.js +1 -1
  7. package/dist/cjs/chunks/p-pagination.js +12 -16
  8. package/dist/cjs/index.js +55 -53
  9. package/dist/cjs/p-btn.js +8 -5
  10. package/dist/cjs/p-chips.js +3 -5
  11. package/dist/cjs/p-date-picker.js +2 -138
  12. package/dist/cjs/p-info-icon.js +1 -3
  13. package/dist/cjs/p-inline-date-picker.js +2 -143
  14. package/dist/cjs/p-table-td.js +3 -5
  15. package/dist/es/chunks/p-action-bar.js +10 -11
  16. package/dist/es/chunks/p-date-picker.js +109 -0
  17. package/dist/es/chunks/p-dropdown-select.js +7 -8
  18. package/dist/es/chunks/p-inline-date-picker.js +113 -0
  19. package/dist/es/chunks/p-input-percent.js +3 -5
  20. package/dist/es/chunks/p-pagination-info.js +1 -1
  21. package/dist/es/chunks/p-pagination.js +12 -16
  22. package/dist/es/index.js +104 -102
  23. package/dist/es/p-btn.js +8 -5
  24. package/dist/es/p-chips.js +4 -6
  25. package/dist/es/p-date-picker.js +2 -138
  26. package/dist/es/p-info-icon.js +2 -4
  27. package/dist/es/p-inline-date-picker.js +2 -143
  28. package/dist/es/p-table-td.js +4 -6
  29. package/dist/squirrel/components/p-action-bar/p-action-bar.vue.d.ts +5 -14
  30. package/dist/squirrel/components/p-alert/p-alert.vue.d.ts +4 -4
  31. package/dist/squirrel/components/p-avatar/p-avatar.vue.d.ts +5 -5
  32. package/dist/squirrel/components/p-btn/p-btn.vue.d.ts +40 -5
  33. package/dist/squirrel/components/p-card/p-card.vue.d.ts +4 -4
  34. package/dist/squirrel/components/p-checkbox/p-checkbox.vue.d.ts +5 -5
  35. package/dist/squirrel/components/p-chips/p-chips.vue.d.ts +5 -5
  36. package/dist/squirrel/components/p-close-btn/p-close-btn.vue.d.ts +4 -4
  37. package/dist/squirrel/components/p-date-picker/p-date-picker.vue.d.ts +35 -128
  38. package/dist/squirrel/components/p-drawer/p-drawer.vue.d.ts +37 -5
  39. package/dist/squirrel/components/p-dropdown/p-dropdown.vue.d.ts +5 -5
  40. package/dist/squirrel/components/p-dropdown-select/p-dropdown-select.vue.d.ts +128 -29
  41. package/dist/squirrel/components/p-file-upload/p-file-upload.vue.d.ts +5 -5
  42. package/dist/squirrel/components/p-icon/p-icon.vue.d.ts +1 -10
  43. package/dist/squirrel/components/p-info-icon/p-info-icon.vue.d.ts +2 -23
  44. package/dist/squirrel/components/p-input/p-input.vue.d.ts +9 -9
  45. package/dist/squirrel/components/p-input-number/p-input-number.vue.d.ts +40 -10
  46. package/dist/squirrel/components/p-input-percent/p-input-percent.vue.d.ts +5 -5
  47. package/dist/squirrel/components/p-input-search/p-input-search.vue.d.ts +121 -5
  48. package/dist/squirrel/components/p-link/p-link.vue.d.ts +1 -10
  49. package/dist/squirrel/components/p-loading/p-loading.vue.d.ts +1 -1
  50. package/dist/squirrel/components/p-modal/p-modal.vue.d.ts +5 -5
  51. package/dist/squirrel/components/p-pagination/p-pagination.vue.d.ts +5 -5
  52. package/dist/squirrel/components/p-pagination-info/p-pagination-info.vue.d.ts +4 -4
  53. package/dist/squirrel/components/p-progress-bar/p-progress-bar.vue.d.ts +3 -3
  54. package/dist/squirrel/components/p-ring-loader/p-ring-loader.vue.d.ts +4 -4
  55. package/dist/squirrel/components/p-select/p-select.vue.d.ts +5 -5
  56. package/dist/squirrel/components/p-select-btn/p-select-btn.vue.d.ts +4 -45
  57. package/dist/squirrel/components/p-select-list/p-select-list.vue.d.ts +143 -29
  58. package/dist/squirrel/components/p-select-list/useSelectList.d.ts +4 -4
  59. package/dist/squirrel/components/p-select-pill/p-select-pill.vue.d.ts +5 -5
  60. package/dist/squirrel/components/p-skeleton-loader/p-skeleton-loader.vue.d.ts +4 -4
  61. package/dist/squirrel/components/p-table/p-table.vue.d.ts +10 -47
  62. package/dist/squirrel/components/p-table/usePTableColResize.d.ts +4 -4
  63. package/dist/squirrel/components/p-table/usePTableRowVirtualizer.d.ts +10 -4
  64. package/dist/squirrel/components/p-table-header-cell/p-table-filter-icon.vue.d.ts +4 -4
  65. package/dist/squirrel/components/p-table-header-cell/p-table-header-cell.vue.d.ts +48 -5
  66. package/dist/squirrel/components/p-table-loader/p-table-loader.vue.d.ts +4 -4
  67. package/dist/squirrel/components/p-table-sort/p-table-sort.vue.d.ts +5 -5
  68. package/dist/squirrel/components/p-table-td/p-table-td.vue.d.ts +2 -25
  69. package/dist/squirrel/components/p-tabs/p-tabs.vue.d.ts +5 -5
  70. package/dist/squirrel/components/p-textarea/p-textarea.vue.d.ts +9 -9
  71. package/dist/squirrel/components/p-toggle/p-toggle.vue.d.ts +9 -9
  72. package/dist/squirrel/composables/useInputClasses.d.ts +1 -1
  73. package/dist/squirrel/utils/inputClassesMixin.d.ts +4 -4
  74. package/package.json +25 -25
  75. package/squirrel/components/p-btn/p-btn.spec.js +33 -4
  76. package/squirrel/components/p-btn/p-btn.vue +5 -2
  77. package/squirrel/components/p-date-picker/p-date-picker.vue +79 -86
  78. package/squirrel/components/p-inline-date-picker/p-inline-date-picker.spec.js +12 -14
  79. package/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue +87 -99
  80. package/squirrel/components/p-select-list/p-select-list.spec.js +26 -0
  81. package/squirrel/components/p-select-list/p-select-list.vue +8 -1
  82. package/dist/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue.d.ts +0 -154
@@ -1,145 +1,4 @@
1
- import dayjs from "dayjs";
2
- import inputClassesMixin from "./inputClassesMixin.js";
3
- import { DatePicker } from "v-calendar";
4
- import { defineComponent, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, toDisplayString, createCommentVNode, createVNode, mergeProps, withDirectives, createElementVNode, vShow } from "vue";
5
- import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
6
- const selectAttribute = {
7
- highlight: { class: "bg-primary", contentClass: "text-white" }
8
- };
9
- const DEFAULT_MASKS = {
10
- // The mask for the input
11
- input: "DD-MMM-YYYY",
12
- // The mask for the model value
13
- data: "YYYY-MM-DD"
14
- };
15
- const _sfc_main = defineComponent({
16
- name: "PInlineDatePicker",
17
- components: {
18
- DatePicker
19
- },
20
- mixins: [inputClassesMixin],
21
- inheritAttrs: false,
22
- props: {
23
- modelValue: {
24
- type: String,
25
- default: ""
26
- },
27
- label: {
28
- type: String,
29
- default: ""
30
- },
31
- errorMsg: {
32
- type: String,
33
- default: ""
34
- },
35
- required: {
36
- type: Boolean,
37
- default: false
38
- },
39
- minDate: {
40
- type: Date,
41
- default: null
42
- },
43
- maxDate: {
44
- type: Date,
45
- default: null
46
- },
47
- timezone: {
48
- type: String,
49
- default: ""
50
- }
51
- },
52
- emits: ["update:modelValue"],
53
- data() {
54
- return {
55
- // innerValue is a Date object
56
- innerValue: null,
57
- selectAttribute
58
- };
59
- },
60
- computed: {
61
- masks() {
62
- return Object.assign(DEFAULT_MASKS, this.$attrs.masks);
63
- },
64
- attrs() {
65
- const { class: classes, style, ...rest } = this.$attrs;
66
- return rest;
67
- },
68
- listeners() {
69
- return Object.keys(this.$attrs).reduce((acc, curr) => {
70
- if (curr.startsWith("on")) {
71
- return { ...acc, [curr]: this.$attrs[curr] };
72
- } else {
73
- return acc;
74
- }
75
- }, {});
76
- },
77
- style() {
78
- return this.$attrs.style;
79
- },
80
- styleDatepicker() {
81
- return this.errorMsg ? { border: "1px solid var(--color-on-error)" } : {};
82
- }
83
- },
84
- watch: {
85
- modelValue: {
86
- async handler(nV) {
87
- const date = dayjs(nV, this.masks.data).toDate();
88
- if (nV && date.toString() === "Invalid Date") {
89
- this.$emit("update:modelValue", null);
90
- return;
91
- }
92
- this.innerValue = nV ? dayjs(nV, this.masks.data).toDate() : null;
93
- const datepicker = this.$refs.datepicker;
94
- if (datepicker && typeof datepicker.move === "function" && this.innerValue) {
95
- await datepicker.move(this.innerValue);
96
- }
97
- },
98
- immediate: true
99
- }
100
- },
101
- methods: {
102
- dayclick(e) {
103
- this.$emit("update:modelValue", e.id);
104
- }
105
- }
106
- });
107
- const _hoisted_1 = ["data-has-error"];
108
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
109
- const _component_DatePicker = resolveComponent("DatePicker");
110
- return openBlock(), createElementBlock("div", {
111
- class: normalizeClass([{ hidden: _ctx.$attrs.hidden }, _ctx.$attrs.class]),
112
- "data-has-error": !!_ctx.errorMsg,
113
- style: normalizeStyle(_ctx.style)
114
- }, [
115
- renderSlot(_ctx.$slots, "label", {
116
- label: _ctx.label,
117
- labelClasses: _ctx.labelClasses
118
- }, () => [
119
- _ctx.label ? (openBlock(), createElementBlock("label", {
120
- key: 0,
121
- class: normalizeClass(_ctx.labelClasses)
122
- }, toDisplayString(_ctx.label), 3)) : createCommentVNode("", true)
123
- ]),
124
- createVNode(_component_DatePicker, mergeProps({
125
- ref: "datepicker",
126
- class: { "pointer-events-none opacity-70": _ctx.$attrs.disabled },
127
- "model-value": _ctx.innerValue,
128
- "select-attribute": _ctx.selectAttribute,
129
- "min-date": _ctx.minDate || null,
130
- "max-date": _ctx.maxDate || null,
131
- masks: _ctx.masks,
132
- style: _ctx.styleDatepicker,
133
- timezone: _ctx.timezone
134
- }, _ctx.listeners, { onDayclick: _ctx.dayclick }), null, 16, ["class", "model-value", "select-attribute", "min-date", "max-date", "masks", "style", "timezone", "onDayclick"]),
135
- withDirectives(createElementVNode("div", {
136
- class: normalizeClass(_ctx.errorMsgClasses)
137
- }, toDisplayString(_ctx.errorMsg), 3), [
138
- [vShow, _ctx.errorMsg]
139
- ])
140
- ], 14, _hoisted_1);
141
- }
142
- const pInlineDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
1
+ import { _ as _sfc_main } from "./chunks/p-inline-date-picker.js";
143
2
  export {
144
- pInlineDatePicker as default
3
+ _sfc_main as default
145
4
  };
@@ -1,9 +1,7 @@
1
- import { defineComponent, inject, ref, computed, openBlock, createElementBlock, Fragment, createElementVNode, mergeProps, normalizeClass, renderSlot, unref, createCommentVNode, pushScopeId, popScopeId } from "vue";
1
+ import { defineComponent, inject, ref, computed, openBlock, createElementBlock, Fragment, createElementVNode, mergeProps, normalizeClass, renderSlot, unref, createCommentVNode } from "vue";
2
2
  import { colsInjectionKey, isFirstColFixedInjectionKey, isLastColFixedInjectionKey, isColsResizableInjectionKey } from "./p-table.js";
3
3
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
4
- const _withScopeId = (n) => (pushScopeId("data-v-09e6d191"), n = n(), popScopeId(), n);
5
- const _hoisted_1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "dropdown-anchor" }, null, -1));
6
- const _hoisted_2 = {
4
+ const _hoisted_1 = {
7
5
  key: 0,
8
6
  class: "min-w-[80px] border-l border-p-gray-30 bg-gradient-to-r from-white via-p-gray-10 to-p-gray-10"
9
7
  };
@@ -71,14 +69,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
71
69
  return (_ctx, _cache) => {
72
70
  return openBlock(), createElementBlock(Fragment, null, [
73
71
  createElementVNode("td", mergeProps({ class: tdClass.value }, _ctx.$attrs), [
74
- _hoisted_1,
72
+ _cache[0] || (_cache[0] = createElementVNode("div", { class: "dropdown-anchor" }, null, -1)),
75
73
  createElementVNode("div", {
76
74
  class: normalizeClass(innerDivClass.value)
77
75
  }, [
78
76
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
79
77
  ], 2)
80
78
  ], 16),
81
- unref(isColsResizable) && isLastCol.value && !unref(isLastColFixed) ? (openBlock(), createElementBlock("td", _hoisted_2)) : createCommentVNode("", true)
79
+ unref(isColsResizable) && isLastCol.value && !unref(isLastColFixed) ? (openBlock(), createElementBlock("td", _hoisted_1)) : createCommentVNode("", true)
82
80
  ], 64);
83
81
  };
84
82
  }
@@ -4,20 +4,11 @@ type Props = {
4
4
  label: string;
5
5
  actions: PActionBarAction[];
6
6
  };
7
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
- "click:dismiss": () => void;
9
- "click:action": (args_0: string | undefined) => void;
10
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
7
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ "click:dismiss": () => any;
9
+ "click:action": (args_0: string | undefined) => any;
10
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
11
11
  "onClick:dismiss"?: (() => any) | undefined;
12
12
  "onClick:action"?: ((args_0: string | undefined) => any) | undefined;
13
- }, {}, {}>;
13
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
14
  export default _default;
15
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
- type __VLS_TypePropsToOption<T> = {
17
- [K in keyof T]-?: {} extends Pick<T, K> ? {
18
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
- } : {
20
- type: import('vue').PropType<T[K]>;
21
- required: true;
22
- };
23
- };
@@ -5,13 +5,13 @@ declare const ALERT_TYPES: {
5
5
  error: string;
6
6
  success: string;
7
7
  };
8
- declare const _default: import("vue").DefineComponent<{
8
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
9
9
  type: {
10
10
  type: PropType<keyof typeof ALERT_TYPES>;
11
11
  default: string;
12
12
  validator(value: keyof typeof ALERT_TYPES): boolean;
13
13
  };
14
- }, unknown, unknown, {
14
+ }>, {}, {}, {
15
15
  classes(): string;
16
16
  svgColor(): undefined;
17
17
  }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<{
20
20
  default: string;
21
21
  validator(value: keyof typeof ALERT_TYPES): boolean;
22
22
  };
23
- }>>, {
23
+ }>> & Readonly<{}>, {
24
24
  type: "error" | "info" | "success" | "warning";
25
- }, {}>;
25
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
26
26
  export default _default;
@@ -1,4 +1,4 @@
1
- declare const _default: import("vue").DefineComponent<{
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  shape: {
3
3
  type: StringConstructor;
4
4
  default: string;
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<{
20
20
  type: StringConstructor;
21
21
  default: string;
22
22
  };
23
- }, unknown, {
23
+ }>, {}, {
24
24
  imageBroken: boolean;
25
25
  }, {
26
26
  shapeClass(): string;
@@ -46,10 +46,10 @@ declare const _default: import("vue").DefineComponent<{
46
46
  type: StringConstructor;
47
47
  default: string;
48
48
  };
49
- }>>, {
50
- imageSrc: string;
49
+ }>> & Readonly<{}>, {
51
50
  shape: string;
51
+ imageSrc: string;
52
52
  imageClass: string;
53
53
  labelClass: string;
54
- }, {}>;
54
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
55
55
  export default _default;
@@ -17,7 +17,7 @@ declare const BUTTON_NATIVE_TYPES: readonly ["button", "submit", "reset"];
17
17
  type ButtonNativeType = (typeof BUTTON_NATIVE_TYPES)[number];
18
18
  type ButtonTypeKeys = keyof typeof BUTTON_TYPES;
19
19
  type ButtonType = (typeof BUTTON_TYPES)[ButtonTypeKeys];
20
- declare const _default: import("vue").DefineComponent<{
20
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
21
21
  /**
22
22
  * The button style e.g primary, secondary, primary-outline, secondary-outline, error, success, primary-link
23
23
  */
@@ -64,7 +64,7 @@ declare const _default: import("vue").DefineComponent<{
64
64
  type: PropType<RouteLocationRaw>;
65
65
  default: string;
66
66
  };
67
- }, unknown, {
67
+ }>, {}, {
68
68
  loaderStyle: {
69
69
  position: string;
70
70
  };
@@ -122,12 +122,47 @@ declare const _default: import("vue").DefineComponent<{
122
122
  type: PropType<RouteLocationRaw>;
123
123
  default: string;
124
124
  };
125
- }>>, {
125
+ }>> & Readonly<{}>, {
126
126
  size: Size;
127
127
  type: ButtonType;
128
- nativeType: "button" | "submit" | "reset";
128
+ nativeType: "reset" | "submit" | "button";
129
129
  loading: boolean;
130
130
  selected: boolean;
131
131
  to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
132
- }, {}>;
132
+ }, {}, {
133
+ PRingLoader: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
134
+ size: {
135
+ type: NumberConstructor;
136
+ default: number;
137
+ };
138
+ color: {
139
+ type: StringConstructor;
140
+ default: undefined;
141
+ };
142
+ duration: {
143
+ type: StringConstructor;
144
+ default: string;
145
+ validator(value: string): boolean;
146
+ };
147
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
148
+ size: {
149
+ type: NumberConstructor;
150
+ default: number;
151
+ };
152
+ color: {
153
+ type: StringConstructor;
154
+ default: undefined;
155
+ };
156
+ duration: {
157
+ type: StringConstructor;
158
+ default: string;
159
+ validator(value: string): boolean;
160
+ };
161
+ }>> & Readonly<{}>, {
162
+ size: number;
163
+ color: string;
164
+ duration: string;
165
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
166
+ RouterLink: import("vue-router")._RouterLinkI;
167
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
133
168
  export default _default;
@@ -9,19 +9,19 @@ declare function __VLS_template(): {
9
9
  attrs: Partial<{}>;
10
10
  };
11
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: import("vue").DefineComponent<{
12
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
13
13
  title: {
14
14
  type: StringConstructor;
15
15
  default: string;
16
16
  };
17
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
18
  title: {
19
19
  type: StringConstructor;
20
20
  default: string;
21
21
  };
22
- }>>, {
22
+ }>> & Readonly<{}>, {
23
23
  title: string;
24
- }, {}>;
24
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
25
25
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
26
  export default _default;
27
27
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -7,7 +7,7 @@ declare function __VLS_template(): {
7
7
  attrs: Partial<{}>;
8
8
  };
9
9
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import("vue").DefineComponent<{
10
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
11
11
  modelValue: {
12
12
  type: BooleanConstructor;
13
13
  default: boolean;
@@ -16,7 +16,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
16
16
  type: StringConstructor;
17
17
  default: string;
18
18
  };
19
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
20
  "update:modelValue": (...args: any[]) => void;
21
21
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
22
  modelValue: {
@@ -27,12 +27,12 @@ declare const __VLS_component: import("vue").DefineComponent<{
27
27
  type: StringConstructor;
28
28
  default: string;
29
29
  };
30
- }>> & {
30
+ }>> & Readonly<{
31
31
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
32
- }, {
32
+ }>, {
33
33
  label: string;
34
34
  modelValue: boolean;
35
- }, {}>;
35
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
36
36
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
37
37
  export default _default;
38
38
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,4 +1,4 @@
1
- declare const _default: import("vue").DefineComponent<{
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  items: {
3
3
  type: ArrayConstructor;
4
4
  default: () => never[];
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<{
8
8
  type: StringConstructor;
9
9
  default: string;
10
10
  };
11
- }, unknown, {
11
+ }>, {}, {
12
12
  maxChipsDisplayed: number;
13
13
  }, {}, {
14
14
  resizeFilterChips(): void;
@@ -23,11 +23,11 @@ declare const _default: import("vue").DefineComponent<{
23
23
  type: StringConstructor;
24
24
  default: string;
25
25
  };
26
- }>> & {
26
+ }>> & Readonly<{
27
27
  "onClick:chip"?: ((...args: any[]) => any) | undefined;
28
28
  "onClick:overflow"?: ((...args: any[]) => any) | undefined;
29
- }, {
29
+ }>, {
30
30
  items: unknown[];
31
31
  itemText: string;
32
- }, {}>;
32
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
33
33
  export default _default;
@@ -1,16 +1,16 @@
1
1
  import { type PropType } from 'vue';
2
2
  type Variant = 'transparent' | 'gray' | 'dark';
3
- declare const _default: import("vue").DefineComponent<{
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  variant: {
5
5
  type: PropType<Variant>;
6
6
  default: string;
7
7
  };
8
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
8
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
9
9
  variant: {
10
10
  type: PropType<Variant>;
11
11
  default: string;
12
12
  };
13
- }>>, {
13
+ }>> & Readonly<{}>, {
14
14
  variant: Variant;
15
- }, {}>;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
16
  export default _default;
@@ -1,133 +1,40 @@
1
- import { type PropType, type StyleValue } from 'vue';
2
- declare const _default: import("vue").DefineComponent<{
3
- modelValue: {
4
- type: PropType<string | null | undefined>;
5
- default: string;
6
- };
7
- label: {
8
- type: StringConstructor;
9
- default: string;
10
- };
11
- errorMsg: {
12
- type: StringConstructor;
13
- default: string;
14
- };
15
- required: {
16
- type: BooleanConstructor;
17
- default: boolean;
18
- };
19
- minDate: {
20
- type: DateConstructor;
21
- default: null;
22
- };
23
- maxDate: {
24
- type: DateConstructor;
25
- default: null;
26
- };
27
- timezone: {
28
- type: StringConstructor;
29
- default: string;
30
- };
31
- }, unknown, {
32
- innerValue: Date | null;
33
- stopWatch: boolean;
34
- selectAttribute: any;
35
- }, {
36
- displayPlaceholder(): string;
37
- masks(): {
38
- input: string;
39
- data: string;
40
- };
41
- attrs(): {
42
- [x: string]: unknown;
43
- };
44
- style(): StyleValue;
45
- }, {}, import("vue").DefineComponent<{
46
- size: {
47
- type: PropType<import("../../index.js").InputSize>;
48
- default: string;
49
- validator(value: import("../../index.js").InputSize): boolean;
50
- };
51
- errorMsg: {
52
- type: StringConstructor;
53
- default: string;
54
- };
55
- required: {
56
- type: BooleanConstructor;
57
- default: boolean;
58
- };
59
- rounded: {
60
- type: BooleanConstructor;
61
- default: boolean;
62
- };
63
- }, unknown, {
64
- errorMsgClasses: string;
65
- }, {
66
- inputClasses(): string;
67
- labelClasses(): string;
68
- selectClasses(): string;
69
- textareaClasses(): string;
70
- }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
71
- size: {
72
- type: PropType<import("../../index.js").InputSize>;
73
- default: string;
74
- validator(value: import("../../index.js").InputSize): boolean;
75
- };
76
- errorMsg: {
77
- type: StringConstructor;
78
- default: string;
79
- };
80
- required: {
81
- type: BooleanConstructor;
82
- default: boolean;
83
- };
84
- rounded: {
85
- type: BooleanConstructor;
86
- default: boolean;
87
- };
88
- }>>, {
89
- size: "sm" | "lg" | "md";
90
- rounded: boolean;
91
- required: boolean;
92
- errorMsg: string;
93
- }, {}>, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
94
- modelValue: {
95
- type: PropType<string | null | undefined>;
96
- default: string;
97
- };
98
- label: {
99
- type: StringConstructor;
100
- default: string;
101
- };
102
- errorMsg: {
103
- type: StringConstructor;
104
- default: string;
105
- };
106
- required: {
107
- type: BooleanConstructor;
108
- default: boolean;
109
- };
110
- minDate: {
111
- type: DateConstructor;
112
- default: null;
113
- };
114
- maxDate: {
115
- type: DateConstructor;
116
- default: null;
117
- };
118
- timezone: {
119
- type: StringConstructor;
120
- default: string;
121
- };
122
- }>> & {
123
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
124
- }, {
1
+ type Props = {
2
+ modelValue?: string | null;
3
+ label?: string;
4
+ errorMsg?: string;
5
+ required?: boolean;
6
+ minDate?: Date | null;
7
+ maxDate?: Date | null;
8
+ timezone?: string;
9
+ };
10
+ declare function __VLS_template(): {
11
+ slots: {
12
+ label?(_: {
13
+ label: string;
14
+ labelClasses: string;
15
+ }): any;
16
+ };
17
+ refs: {};
18
+ attrs: Partial<{}>;
19
+ };
20
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
+ "update:modelValue": (value: string | null) => any;
23
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
24
+ "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
25
+ }>, {
125
26
  label: string;
126
27
  required: boolean;
127
- modelValue: string | null | undefined;
28
+ modelValue: string | null;
128
29
  errorMsg: string;
30
+ minDate: Date | null;
31
+ maxDate: Date | null;
129
32
  timezone: string;
130
- minDate: Date;
131
- maxDate: Date;
132
- }, {}>;
33
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
133
35
  export default _default;
36
+ type __VLS_WithTemplateSlots<T, S> = T & {
37
+ new (): {
38
+ $slots: S;
39
+ };
40
+ };