@winchsa/ui 0.1.17 → 0.1.19

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 (67) hide show
  1. package/dist/components/Breadcrumbs.d.vue.ts +6 -0
  2. package/dist/components/CustomizerSection.d.vue.ts +25 -0
  3. package/dist/components/DialogCloseBtn.d.vue.ts +9 -0
  4. package/dist/components/Drawer.d.vue.ts +44 -0
  5. package/dist/components/IconBtn.d.vue.ts +30 -0
  6. package/dist/components/LoadingBar.d.vue.ts +5 -0
  7. package/dist/components/LoadingDialog.d.vue.ts +11 -0
  8. package/dist/components/LoadingItem.d.vue.ts +47 -0
  9. package/dist/components/Modal.d.vue.ts +0 -0
  10. package/dist/components/MoreBtn.d.vue.ts +25 -0
  11. package/dist/components/ScrollToTop.d.vue.ts +2 -0
  12. package/dist/components/SiteTitle.d.vue.ts +2 -0
  13. package/dist/components/Toaster.d.vue.ts +5 -0
  14. package/dist/components/cards/AppCard.d.vue.ts +26 -0
  15. package/dist/components/cards/AppCardActions.d.vue.ts +79 -0
  16. package/dist/components/cards/CardStatisticsHorizontal.d.vue.ts +10 -0
  17. package/dist/components/cards/CheckboxesCard.d.vue.ts +20 -0
  18. package/dist/components/cards/HeaderCard.d.vue.ts +8 -0
  19. package/dist/components/cards/ImageCard.d.vue.ts +63 -0
  20. package/dist/components/cards/InputCard.d.vue.ts +41 -0
  21. package/dist/components/cards/StaticCard.d.vue.ts +33 -0
  22. package/dist/components/forms/Accordion.d.vue.ts +35 -0
  23. package/dist/components/forms/AppBarSearch.d.vue.ts +1587 -0
  24. package/dist/components/forms/AppCombobox.d.vue.ts +0 -0
  25. package/dist/components/forms/AppDrawerHeaderSection.d.vue.ts +30 -0
  26. package/dist/components/forms/AppLabel.d.vue.ts +36 -0
  27. package/dist/components/forms/AppLink.d.vue.ts +27 -0
  28. package/dist/components/forms/AppNumberField.d.vue.ts +45 -0
  29. package/dist/components/forms/AppOtpInput.d.vue.ts +16 -0
  30. package/dist/components/forms/AppSearchHeader.d.vue.ts +7 -0
  31. package/dist/components/forms/AppSelect.d.vue.ts +0 -0
  32. package/dist/components/forms/AppStepper.d.vue.ts +25 -0
  33. package/dist/components/forms/AppSwitch.d.vue.ts +27 -0
  34. package/dist/components/forms/AppTextField.d.vue.ts +26 -0
  35. package/dist/components/forms/AppTextarea.d.vue.ts +26 -0
  36. package/dist/components/forms/AttachmentCropperInput.d.vue.ts +25 -0
  37. package/dist/components/forms/AttachmentInput.d.vue.ts +20 -0
  38. package/dist/components/forms/AutocompleteInput.d.vue.ts +0 -0
  39. package/dist/components/forms/AutocompleteInput.vue +4 -3
  40. package/dist/components/forms/BankSelect.d.vue.ts +19 -0
  41. package/dist/components/forms/BaseButton.d.vue.ts +31 -0
  42. package/dist/components/forms/CounterInput.d.vue.ts +15 -0
  43. package/dist/components/forms/CustomCheckboxes.d.vue.ts +39 -0
  44. package/dist/components/forms/CustomCheckboxesWithIcon.d.vue.ts +39 -0
  45. package/dist/components/forms/CustomCheckboxesWithImage.d.vue.ts +15 -0
  46. package/dist/components/forms/CustomRadios.d.vue.ts +40 -0
  47. package/dist/components/forms/CustomRadiosWithIcon.d.vue.ts +45 -0
  48. package/dist/components/forms/CustomRadiosWithImage.d.vue.ts +53 -0
  49. package/dist/components/forms/DatePicker.d.vue.ts +34 -0
  50. package/dist/components/forms/DatePickerRange.d.vue.ts +23 -0
  51. package/dist/components/forms/DraggedUploadFile.d.vue.ts +10 -0
  52. package/dist/components/forms/ImageCardInput.d.vue.ts +0 -0
  53. package/dist/components/forms/InputValidationWrapper.d.vue.ts +33 -0
  54. package/dist/components/forms/LicensePlateInput.d.vue.ts +21 -0
  55. package/dist/components/forms/ManualDate.d.vue.ts +22 -0
  56. package/dist/components/forms/MobileInput.d.vue.ts +49 -0
  57. package/dist/components/forms/PasswordInput.d.vue.ts +13 -0
  58. package/dist/components/forms/RangeInput.d.vue.ts +5 -0
  59. package/dist/components/forms/Tabs.d.vue.ts +42 -0
  60. package/dist/components/forms/TimePicker.d.vue.ts +23 -0
  61. package/dist/components/table/DataTable.d.vue.ts +0 -0
  62. package/dist/components/table/EditableDataTable.d.vue.ts +76 -0
  63. package/dist/components/table/EditableDataTableRow.d.vue.ts +18 -0
  64. package/dist/components/table/FilterGenerator.d.vue.ts +14 -0
  65. package/dist/components/table/StaticTable.d.vue.ts +23 -0
  66. package/dist/components/table/TablePagination.d.vue.ts +13 -0
  67. package/package.json +1 -1
@@ -0,0 +1,53 @@
1
+ import { VRadioGroup, VRow, VCol, VLabel, VRadio } from 'vuetify/components';
2
+ import type { GridColumn } from '../../types';
3
+ type __VLS_Props = {
4
+ selectedRadio: string;
5
+ radioContent: {
6
+ bgImage?: string;
7
+ value: string;
8
+ type?: string;
9
+ }[];
10
+ gridColumn?: GridColumn;
11
+ };
12
+ type __VLS_Emit = {
13
+ (e: 'update:selectedRadio', value: string): void;
14
+ (e: 'clicked-custom'): void;
15
+ };
16
+ declare const emit: __VLS_Emit;
17
+ declare const selectedOption: import("vue").Ref<string, string>;
18
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
19
+ declare var __VLS_23: any, __VLS_24: {
20
+ item: any;
21
+ };
22
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
23
+ [K in NonNullable<typeof __VLS_23>]?: (props: typeof __VLS_24) => any;
24
+ }>;
25
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
26
+ VRadioGroup: typeof VRadioGroup;
27
+ VRow: typeof VRow;
28
+ VCol: typeof VCol;
29
+ VLabel: typeof VLabel;
30
+ VRadio: typeof VRadio;
31
+ emit: typeof emit;
32
+ selectedOption: typeof selectedOption;
33
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
34
+ "update:selectedRadio": (value: string) => any;
35
+ "clicked-custom": () => any;
36
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
37
+ "onUpdate:selectedRadio"?: ((value: string) => any) | undefined;
38
+ "onClicked-custom"?: (() => any) | undefined;
39
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
40
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
41
+ "update:selectedRadio": (value: string) => any;
42
+ "clicked-custom": () => any;
43
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
44
+ "onUpdate:selectedRadio"?: ((value: string) => any) | undefined;
45
+ "onClicked-custom"?: (() => any) | undefined;
46
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
47
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
48
+ export default _default;
49
+ type __VLS_WithSlots<T, S> = T & {
50
+ new (): {
51
+ $slots: S;
52
+ };
53
+ };
@@ -0,0 +1,34 @@
1
+ import 'v-calendar/style.css';
2
+ type __VLS_Props = {
3
+ modelValue?: string | Date;
4
+ format?: string;
5
+ displayFormat?: string;
6
+ label?: string;
7
+ forcedLabel?: string;
8
+ minDate?: string | Date | null;
9
+ maxDate?: string | Date | null;
10
+ placeholder?: string;
11
+ disabled?: boolean | undefined;
12
+ errorMessages?: string | string[];
13
+ clearable?: boolean;
14
+ clearIcon?: string;
15
+ required?: boolean;
16
+ rules?: ((value: unknown) => typeof value | string)[];
17
+ showToday?: boolean;
18
+ hideErrorMessage?: boolean;
19
+ inTable?: boolean;
20
+ };
21
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
22
+ "update:modelValue": (value: string | Date) => any;
23
+ resetSelectedDate: () => any;
24
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
25
+ "onUpdate:modelValue"?: ((value: string | Date) => any) | undefined;
26
+ onResetSelectedDate?: (() => any) | undefined;
27
+ }>, {
28
+ modelValue: string | Date;
29
+ errorMessages: string | string[];
30
+ format: string;
31
+ showToday: boolean;
32
+ hideErrorMessage: boolean;
33
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
+ export default _default;
@@ -0,0 +1,23 @@
1
+ type __VLS_Props = {
2
+ modelValue: [Date | string, Date | string] | [] | undefined;
3
+ waitTo?: boolean;
4
+ label?: string;
5
+ rules?: ((value: unknown) => typeof value | string)[];
6
+ fromErrorMessages?: string;
7
+ toErrorMessages?: string;
8
+ fromLabel?: string;
9
+ toLabel?: string;
10
+ fromPlaceholder?: string;
11
+ toPlaceholder?: string;
12
+ clearable?: boolean;
13
+ fromMinDate?: Date | null;
14
+ toMinDate?: Date | null;
15
+ fromMaxDate?: Date | null;
16
+ toMaxDate?: Date | null;
17
+ };
18
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
19
+ "update:modelValue": (value: [string | Date | null, string | Date | null] | null) => any;
20
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
21
+ "onUpdate:modelValue"?: ((value: [string | Date | null, string | Date | null] | null) => any) | undefined;
22
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ export default _default;
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ modelValue: FileList[];
3
+ loading?: boolean;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
+ "update:model-value": (value: FileList[]) => any;
7
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
8
+ "onUpdate:model-value"?: ((value: FileList[]) => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ export default _default;
File without changes
@@ -0,0 +1,33 @@
1
+ type __VLS_Props = {
2
+ errorMessages?: string | string[];
3
+ };
4
+ declare const internalErrorMessages: import("vue").Ref<string | string[] | undefined, string | string[] | undefined>;
5
+ type __VLS_PublicProps = {
6
+ modelValue?: unknown;
7
+ } & __VLS_Props;
8
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
9
+ declare var __VLS_1: {
10
+ internalErrorMessages: any;
11
+ };
12
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
13
+ default?: (props: typeof __VLS_1) => any;
14
+ }>;
15
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_PublicProps, {
16
+ internalErrorMessages: typeof internalErrorMessages;
17
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ "update:modelValue": (value: unknown) => any;
19
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
20
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
21
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
+ "update:modelValue": (value: unknown) => any;
24
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
25
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
26
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
28
+ export default _default;
29
+ type __VLS_WithSlots<T, S> = T & {
30
+ new (): {
31
+ $slots: S;
32
+ };
33
+ };
@@ -0,0 +1,21 @@
1
+ import type { ValidateOn } from '../../types';
2
+ type __VLS_Props = {
3
+ hideDetails?: boolean;
4
+ label?: string;
5
+ customId?: string;
6
+ errorMessages?: string[] | string;
7
+ validateOn?: ValidateOn;
8
+ error?: boolean;
9
+ rules?: ((value: unknown) => string)[];
10
+ };
11
+ type __VLS_PublicProps = {
12
+ modelValue?: string[] | null;
13
+ } & __VLS_Props;
14
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ "update:modelValue": (value: string[] | null) => any;
16
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
17
+ "onUpdate:modelValue"?: ((value: string[] | null) => any) | undefined;
18
+ }>, {
19
+ validateOn: "submit" | "lazy" | "input" | "blur" | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit";
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ export default _default;
@@ -0,0 +1,22 @@
1
+ import type { ValidateOn } from '../../types';
2
+ type __VLS_Props = {
3
+ hideDetails?: boolean;
4
+ label?: string;
5
+ customId?: string;
6
+ modelValue?: string;
7
+ errorMessages?: string[] | string;
8
+ type?: 'gregorian' | 'hijri' | string | undefined;
9
+ disabled?: boolean;
10
+ validateOn?: ValidateOn;
11
+ error?: boolean;
12
+ rules?: ((value: unknown) => string)[];
13
+ };
14
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
15
+ "update:model-value": (value: string) => any;
16
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
17
+ "onUpdate:model-value"?: ((value: string) => any) | undefined;
18
+ }>, {
19
+ validateOn: "submit" | "lazy" | "input" | "blur" | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit";
20
+ customId: string;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ export default _default;
@@ -0,0 +1,49 @@
1
+ import { VTextField, VLabel } from 'vuetify/components';
2
+ declare const numberValidator: (value: unknown) => string | true;
3
+ type __VLS_Props = {
4
+ label?: string;
5
+ rules?: ((value: unknown) => string | true)[];
6
+ };
7
+ declare const mobileValue: import("vue").ModelRef<string | number | undefined, string, string | number | undefined, string | number | undefined>;
8
+ declare const elementId: import("vue").ComputedRef<string | undefined>;
9
+ declare const LangLabel: import("vue").ComputedRef<string>;
10
+ declare const validateInput: (event: InputEvent) => void;
11
+ type __VLS_PublicProps = {
12
+ modelValue?: number | string;
13
+ } & __VLS_Props;
14
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
15
+ declare var __VLS_14: any, __VLS_15: any;
16
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
17
+ [K in NonNullable<typeof __VLS_14>]?: (props: typeof __VLS_15) => any;
18
+ }>;
19
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_PublicProps, {
20
+ VTextField: typeof VTextField;
21
+ VLabel: typeof VLabel;
22
+ numberValidator: typeof numberValidator;
23
+ mobileValue: typeof mobileValue;
24
+ elementId: typeof elementId;
25
+ LangLabel: typeof LangLabel;
26
+ validateInput: typeof validateInput;
27
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
+ "update:modelValue": (value: string | number | undefined) => any;
29
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
30
+ "onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
31
+ }>, {
32
+ modelValue: number | string;
33
+ label: string;
34
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
36
+ "update:modelValue": (value: string | number | undefined) => any;
37
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
38
+ "onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
39
+ }>, {
40
+ modelValue: number | string;
41
+ label: string;
42
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
43
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
44
+ export default _default;
45
+ type __VLS_WithSlots<T, S> = T & {
46
+ new (): {
47
+ $slots: S;
48
+ };
49
+ };
@@ -0,0 +1,13 @@
1
+ type __VLS_Props = {
2
+ modelValue?: string | null;
3
+ label?: string;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
+ "update:modelValue": (value: string | number) => any;
7
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
8
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
9
+ }>, {
10
+ modelValue: string | null;
11
+ label: string;
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ export default _default;
@@ -0,0 +1,5 @@
1
+ type __VLS_Props = {
2
+ modelValue: [number | string, number | string] | undefined;
3
+ };
4
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
+ export default _default;
@@ -0,0 +1,42 @@
1
+ import { VCol, VRow } from 'vuetify/components';
2
+ import BaseButton from './BaseButton.vue';
3
+ type __VLS_Props = {
4
+ tabs: {
5
+ title: string;
6
+ key: string;
7
+ color?: string;
8
+ icon?: string;
9
+ leadingIcon?: string;
10
+ trailingIcon?: string;
11
+ }[];
12
+ };
13
+ declare const activeTab: import("vue").Ref<number, number>;
14
+ declare const getColor: (index: number, originalColor?: string) => {
15
+ color: string | undefined;
16
+ variant?: undefined;
17
+ } | {
18
+ variant: string;
19
+ color: string;
20
+ };
21
+ declare const setActiveTab: (index: number) => void;
22
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
23
+ declare var __VLS_17: any, __VLS_18: {};
24
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
25
+ [K in NonNullable<typeof __VLS_17>]?: (props: typeof __VLS_18) => any;
26
+ }>;
27
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
28
+ VCol: typeof VCol;
29
+ VRow: typeof VRow;
30
+ BaseButton: typeof BaseButton;
31
+ activeTab: typeof activeTab;
32
+ getColor: typeof getColor;
33
+ setActiveTab: typeof setActiveTab;
34
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
36
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
37
+ export default _default;
38
+ type __VLS_WithSlots<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
@@ -0,0 +1,23 @@
1
+ import '@vuepic/vue-datepicker/dist/main.css';
2
+ type __VLS_Props = {
3
+ errorMessages?: string | string[];
4
+ showIcon?: boolean;
5
+ hasDefaults?: boolean;
6
+ placeholder?: string;
7
+ valueIn24?: boolean;
8
+ fillInFocus?: boolean;
9
+ hideErrorMessage?: boolean;
10
+ isAppRtl?: boolean;
11
+ };
12
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
+ "update:model-value": (value: string | null) => any;
14
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ "onUpdate:model-value"?: ((value: string | null) => any) | undefined;
16
+ }>, {
17
+ errorMessages: string | string[];
18
+ showIcon: boolean;
19
+ hasDefaults: boolean;
20
+ valueIn24: boolean;
21
+ fillInFocus: boolean;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ export default _default;
File without changes
@@ -0,0 +1,76 @@
1
+ import { VTooltip, VIcon } from 'vuetify/components';
2
+ import { VDataTableVirtual } from 'vuetify/labs/VDataTable';
3
+ import type { EditableDataTableItem, ErrorResponseFiled } from '../../types';
4
+ import LoadingBar from '../LoadingBar.vue';
5
+ import EditableDataTableRow from './EditableDataTableRow.vue';
6
+ type __VLS_Props = {
7
+ headers: EditableDataTableItem[];
8
+ items: [];
9
+ errors?: ErrorResponseFiled[];
10
+ loading?: boolean;
11
+ module?: string;
12
+ };
13
+ declare const headers: import("vue").ComputedRef<{
14
+ title: string;
15
+ sortable: boolean;
16
+ internalIndex?: number;
17
+ key: string;
18
+ width?: string;
19
+ text?: string | undefined;
20
+ placeholder?: string;
21
+ type?: import("../../types").EditableDataTableItemType;
22
+ required?: boolean;
23
+ rules?: ((value: unknown) => string)[];
24
+ renderDataOnMounted?: boolean;
25
+ renderDataOnBeforeMount?: boolean;
26
+ showDescription?: boolean;
27
+ tooltip?: string;
28
+ clearable?: boolean;
29
+ disabled?: boolean;
30
+ maxlength?: number;
31
+ dependsOn?: string;
32
+ nestedDependsOnKey?: string;
33
+ fields?: EditableDataTableItem[];
34
+ errorKey?: string | string[];
35
+ useDependsOnAsParams?: boolean;
36
+ dependsOnFunction?: (...args: unknown[]) => boolean;
37
+ closableChips?: boolean;
38
+ urlSearch?: string | ((...args: unknown[]) => string);
39
+ params?: Record<string, string | number | null>;
40
+ menuIcon?: string;
41
+ searchable?: boolean;
42
+ searchInternally?: boolean;
43
+ trackBy?: string;
44
+ itemLabel?: string;
45
+ multiple?: boolean;
46
+ groupLabel?: string;
47
+ groupValues?: string;
48
+ options?: Record<string, unknown>[] | import("../../types").OptionItem[] | import("vue").Ref<import("../../types").OptionItem[]>;
49
+ disableIfEmpty?: boolean;
50
+ maxDate?: Date | null;
51
+ validateOn?: import("../../types").ValidateOn;
52
+ isAppRtl?: boolean;
53
+ }[]>;
54
+ declare const moduleIdentifier: import("vue").ComputedRef<string>;
55
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
56
+ declare var __VLS_23: any, __VLS_24: any;
57
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
58
+ [K in NonNullable<typeof __VLS_23>]?: (props: typeof __VLS_24) => any;
59
+ }>;
60
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
61
+ VTooltip: typeof VTooltip;
62
+ VIcon: typeof VIcon;
63
+ VDataTableVirtual: typeof VDataTableVirtual;
64
+ LoadingBar: typeof LoadingBar;
65
+ EditableDataTableRow: typeof EditableDataTableRow;
66
+ headers: typeof headers;
67
+ moduleIdentifier: typeof moduleIdentifier;
68
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
69
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
70
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
71
+ export default _default;
72
+ type __VLS_WithSlots<T, S> = T & {
73
+ new (): {
74
+ $slots: S;
75
+ };
76
+ };
@@ -0,0 +1,18 @@
1
+ import type { ErrorResponseFiled, EditableDataTableItem } from '../../types';
2
+ declare const item: import("vue").ModelRef<any, string, any, any>;
3
+ type __VLS_Props = {
4
+ index: number;
5
+ header: EditableDataTableItem;
6
+ moduleIdentifier: string;
7
+ errors?: ErrorResponseFiled[];
8
+ errorKey?: string | string[];
9
+ };
10
+ type __VLS_PublicProps = {
11
+ modelValue: typeof item['value'];
12
+ } & __VLS_Props;
13
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ "update:modelValue": (value: any) => any;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
17
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import type { FormFilter, ErrorResponseFiled } from '../../types';
2
+ type __VLS_Props = {
3
+ modelValue: any;
4
+ forms: FormFilter[];
5
+ errors?: ErrorResponseFiled[];
6
+ };
7
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
8
+ "update:modelValue": (value: unknown) => any;
9
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
10
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
11
+ }>, {
12
+ errors: ErrorResponseFiled[];
13
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ export default _default;
@@ -0,0 +1,23 @@
1
+ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, never> & {
3
+ items: T[];
4
+ subItemsKey?: string;
5
+ headers: {
6
+ key: string;
7
+ label?: string;
8
+ grayColorWhenNull?: boolean;
9
+ type?: "number" | "string";
10
+ dashedWhenNull?: boolean;
11
+ }[];
12
+ } & Partial<{}>> & import("vue").PublicProps;
13
+ expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
14
+ attrs: any;
15
+ slots: __VLS_PrettifyGlobal<any>;
16
+ emit: {};
17
+ }>) => import("vue").VNode & {
18
+ __ctx?: Awaited<typeof __VLS_setup>;
19
+ };
20
+ export default _default;
21
+ type __VLS_PrettifyLocal<T> = {
22
+ [K in keyof T]: T[K];
23
+ } & {};
@@ -0,0 +1,13 @@
1
+ import type { Pagination } from '../../types';
2
+ type __VLS_Props = {
3
+ pagination: Pagination;
4
+ };
5
+ type __VLS_PublicProps = {
6
+ modelValue?: number;
7
+ } & __VLS_Props;
8
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:modelValue": (value: number) => any;
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
11
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@winchsa/ui",
3
- "version": "0.1.17",
3
+ "version": "0.1.19",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "publishConfig": {