@c3labsbr/vuetify-elements 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/components/molecules/ActionBtn.vue.d.ts +20 -0
  2. package/dist/components/molecules/ActionBtn.vue.d.ts.map +1 -0
  3. package/dist/components/molecules/AdjustColumnsDialog.vue.d.ts +25 -0
  4. package/dist/components/molecules/AdjustColumnsDialog.vue.d.ts.map +1 -0
  5. package/dist/components/organisms/GenericDataTable.vue.d.ts +45 -0
  6. package/dist/components/organisms/GenericDataTable.vue.d.ts.map +1 -0
  7. package/dist/components/organisms/GenericHeaderActions.spec.d.ts +2 -0
  8. package/dist/components/organisms/GenericHeaderActions.spec.d.ts.map +1 -0
  9. package/dist/components/{table → organisms}/GenericHeaderActions.vue.d.ts +1 -0
  10. package/dist/components/organisms/GenericHeaderActions.vue.d.ts.map +1 -0
  11. package/dist/components/organisms/GenericItemActions.spec.d.ts +2 -0
  12. package/dist/components/organisms/GenericItemActions.spec.d.ts.map +1 -0
  13. package/dist/components/{table → organisms}/GenericItemActions.vue.d.ts +1 -0
  14. package/dist/components/organisms/GenericItemActions.vue.d.ts.map +1 -0
  15. package/dist/components/organisms/GenericTableHeader.spec.d.ts +2 -0
  16. package/dist/components/organisms/GenericTableHeader.spec.d.ts.map +1 -0
  17. package/dist/components/organisms/GenericTableHeader.vue.d.ts +44 -0
  18. package/dist/components/organisms/GenericTableHeader.vue.d.ts.map +1 -0
  19. package/dist/components/{table → organisms}/GenericTablePagination.vue.d.ts +1 -0
  20. package/dist/components/organisms/GenericTablePagination.vue.d.ts.map +1 -0
  21. package/dist/components/organisms/TableCell.vue.d.ts +17 -0
  22. package/dist/components/organisms/TableCell.vue.d.ts.map +1 -0
  23. package/dist/components/organisms/TableColumnFilterMenu.vue.d.ts +17 -0
  24. package/dist/components/organisms/TableColumnFilterMenu.vue.d.ts.map +1 -0
  25. package/dist/components/organisms/TableHeader.vue.d.ts +22 -0
  26. package/dist/components/organisms/TableHeader.vue.d.ts.map +1 -0
  27. package/dist/components/{table → templates}/GenericTable.vue.d.ts +6 -17
  28. package/dist/components/templates/GenericTable.vue.d.ts.map +1 -0
  29. package/dist/composables/useDebounce.d.ts +5 -0
  30. package/dist/composables/useDebounce.d.ts.map +1 -0
  31. package/dist/helpers/formatters.d.ts +2 -2
  32. package/dist/helpers/formatters.d.ts.map +1 -0
  33. package/dist/helpers/formatters.spec.d.ts +2 -0
  34. package/dist/helpers/formatters.spec.d.ts.map +1 -0
  35. package/dist/helpers/masks.d.ts +1 -0
  36. package/dist/helpers/masks.d.ts.map +1 -0
  37. package/dist/helpers/masks.spec.d.ts +2 -0
  38. package/dist/helpers/masks.spec.d.ts.map +1 -0
  39. package/dist/index.d.ts +7 -3
  40. package/dist/index.d.ts.map +1 -0
  41. package/dist/infra/i18n/adapter.d.ts +4 -0
  42. package/dist/infra/i18n/adapter.d.ts.map +1 -0
  43. package/dist/infra/i18n/en_us/words.json.d.ts +23 -0
  44. package/dist/infra/i18n/fallback.d.ts +6 -0
  45. package/dist/infra/i18n/fallback.d.ts.map +1 -0
  46. package/dist/infra/i18n/interfaces.d.ts +23 -0
  47. package/dist/infra/i18n/interfaces.d.ts.map +1 -0
  48. package/dist/infra/i18n/messages.d.ts +3 -0
  49. package/dist/infra/i18n/messages.d.ts.map +1 -0
  50. package/dist/infra/i18n/pt_br/words.json.d.ts +23 -0
  51. package/dist/interfaces/app.d.ts +10 -0
  52. package/dist/interfaces/app.d.ts.map +1 -0
  53. package/dist/plugin.d.ts +13 -0
  54. package/dist/plugin.d.ts.map +1 -0
  55. package/dist/utils/export.d.ts +1 -0
  56. package/dist/utils/export.d.ts.map +1 -0
  57. package/dist/utils/t.d.ts +4 -0
  58. package/dist/utils/t.d.ts.map +1 -0
  59. package/dist/vuetify-elements.cjs.js +3 -3
  60. package/dist/vuetify-elements.css +1 -1
  61. package/dist/vuetify-elements.es.js +10533 -10308
  62. package/package.json +33 -16
  63. package/dist/components/dialogs/ConfirmDialog.vue.d.ts +0 -25
@@ -0,0 +1,20 @@
1
+ interface IProps {
2
+ icon: string;
3
+ tooltip?: string;
4
+ size?: string | number;
5
+ location?: 'top' | 'bottom' | 'left' | 'right';
6
+ variant?: 'text' | 'outlined' | 'flat' | 'elevated' | 'tonal' | 'plain';
7
+ color?: string;
8
+ }
9
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<IProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<IProps>>>, {}, {}>;
10
+ export default _default;
11
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
+ type __VLS_TypePropsToOption<T> = {
13
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
14
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
15
+ } : {
16
+ type: import('vue').PropType<T[K]>;
17
+ required: true;
18
+ };
19
+ };
20
+ //# sourceMappingURL=ActionBtn.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionBtn.vue.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/ActionBtn.vue"],"names":[],"mappings":"AA6BA,UAAU,MAAM;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAA;IAC9C,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,CAAA;IACvE,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;;AA6FD,wBAMG;AAEH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { IHeader } from '../../interfaces/app';
2
+ type __VLS_Props = {
3
+ showAdjustColumns: boolean;
4
+ };
5
+ type __VLS_PublicProps = {
6
+ "sortedHeaders"?: IHeader[];
7
+ } & __VLS_Props;
8
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ "update:showAdjustColumns": (value: boolean) => void;
10
+ "update:sortedHeaders": (value: IHeader[]) => void;
11
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
12
+ "onUpdate:showAdjustColumns"?: ((value: boolean) => any) | undefined;
13
+ "onUpdate:sortedHeaders"?: ((value: IHeader[]) => any) | undefined;
14
+ }, {}, {}>;
15
+ export default _default;
16
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
+ type __VLS_TypePropsToOption<T> = {
18
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
19
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
+ } : {
21
+ type: import('vue').PropType<T[K]>;
22
+ required: true;
23
+ };
24
+ };
25
+ //# sourceMappingURL=AdjustColumnsDialog.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AdjustColumnsDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/AdjustColumnsDialog.vue"],"names":[],"mappings":"AAsIA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAS/C,KAAK,WAAW,GAAG;IACjB,iBAAiB,EAAE,OAAO,CAAA;CAC3B,CAAC;AAkEF,KAAK,iBAAiB,GAAG;IACzB,eAAe,CAAC,EAAE,OAAO,EAAE,CAAC;CAC3B,GAAG,WAAW,CAAC;;;;;;;;AAmLhB,wBAUG;AAEH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -0,0 +1,45 @@
1
+ import { FilterType, IHeader, IPagination } from '../../interfaces/app';
2
+ type __VLS_Props = {
3
+ loading?: boolean;
4
+ items: any[];
5
+ headers: IHeader[];
6
+ filterFn?: (filters: Array<FilterType>) => void;
7
+ };
8
+ type __VLS_PublicProps = {
9
+ "pagination"?: IPagination;
10
+ } & __VLS_Props;
11
+ declare function __VLS_template(): {
12
+ attrs: Partial<{}>;
13
+ slots: Partial<Record<string, (_: {
14
+ item: any;
15
+ }) => any>> & {
16
+ actions?(_: {
17
+ item: any;
18
+ }): any;
19
+ };
20
+ refs: {};
21
+ rootEl: any;
22
+ };
23
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
+ "update:pagination": (value: IPagination) => void;
26
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
27
+ "onUpdate:pagination"?: ((value: IPagination) => any) | undefined;
28
+ }, {}, {}>;
29
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
30
+ export default _default;
31
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
+ type __VLS_TypePropsToOption<T> = {
33
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
34
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
+ } : {
36
+ type: import('vue').PropType<T[K]>;
37
+ required: true;
38
+ };
39
+ };
40
+ type __VLS_WithTemplateSlots<T, S> = T & {
41
+ new (): {
42
+ $slots: S;
43
+ };
44
+ };
45
+ //# sourceMappingURL=GenericDataTable.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenericDataTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/organisms/GenericDataTable.vue"],"names":[],"mappings":"AAiDA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAOxE,KAAK,WAAW,GAAG;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,OAAO,EAAE,OAAO,EAAE,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;CACnD,CAAC;AAaF,KAAK,iBAAiB,GAAG;IACzB,YAAY,CAAC,EAAE,WAAW,CAAC;CAC1B,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WA4HT,OAAO,IAA6B;;;UAZqC,GAAG;;;YAE5D,GAAG;;;;EAehC;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;UAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC;AACF,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=GenericHeaderActions.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenericHeaderActions.spec.d.ts","sourceRoot":"","sources":["../../../src/components/organisms/GenericHeaderActions.spec.ts"],"names":[],"mappings":""}
@@ -13,3 +13,4 @@ type __VLS_TypePropsToOption<T> = {
13
13
  required: true;
14
14
  };
15
15
  };
16
+ //# sourceMappingURL=GenericHeaderActions.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenericHeaderActions.vue.d.ts","sourceRoot":"","sources":["../../../src/components/organisms/GenericHeaderActions.vue"],"names":[],"mappings":"AAwBA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE/C,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,OAAO,EAAE,CAAC;CACpB,CAAC;;AAmDF,wBAMG;AAEH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=GenericItemActions.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenericItemActions.spec.d.ts","sourceRoot":"","sources":["../../../src/components/organisms/GenericItemActions.spec.ts"],"names":[],"mappings":""}
@@ -28,3 +28,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
28
28
  $slots: S;
29
29
  };
30
30
  };
31
+ //# sourceMappingURL=GenericItemActions.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenericItemActions.vue.d.ts","sourceRoot":"","sources":["../../../src/components/organisms/GenericItemActions.vue"],"names":[],"mappings":"AAyBA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE/C,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,OAAO,EAAE,CAAC;CACpB,CAAC;AAaF,iBAAS,cAAc;WAyBT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,mSAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC;AACF,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=GenericTableHeader.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenericTableHeader.spec.d.ts","sourceRoot":"","sources":["../../../src/components/organisms/GenericTableHeader.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1,44 @@
1
+ type __VLS_Props = {
2
+ keyWord: string;
3
+ hideSearch?: boolean;
4
+ hideHeader?: boolean;
5
+ hideCreate?: boolean;
6
+ };
7
+ type __VLS_PublicProps = {
8
+ "search"?: any;
9
+ } & __VLS_Props;
10
+ declare function __VLS_template(): {
11
+ attrs: Partial<{}>;
12
+ slots: {
13
+ 'custom-btn'?(_: {}): any;
14
+ };
15
+ refs: {};
16
+ rootEl: any;
17
+ };
18
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ createItem: (...args: any[]) => void;
21
+ "update:search": (...args: any[]) => void;
22
+ showAdjustColumns: (...args: any[]) => void;
23
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
24
+ onCreateItem?: ((...args: any[]) => any) | undefined;
25
+ "onUpdate:search"?: ((...args: any[]) => any) | undefined;
26
+ onShowAdjustColumns?: ((...args: any[]) => any) | undefined;
27
+ }, {}, {}>;
28
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
29
+ export default _default;
30
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
31
+ type __VLS_TypePropsToOption<T> = {
32
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
33
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
34
+ } : {
35
+ type: import('vue').PropType<T[K]>;
36
+ required: true;
37
+ };
38
+ };
39
+ type __VLS_WithTemplateSlots<T, S> = T & {
40
+ new (): {
41
+ $slots: S;
42
+ };
43
+ };
44
+ //# sourceMappingURL=GenericTableHeader.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenericTableHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/organisms/GenericTableHeader.vue"],"names":[],"mappings":"AAuEA,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAyBF,KAAK,iBAAiB,GAAG;IACzB,QAAQ,CAAC,EAAE,GAAG,CAAC;CACd,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAyKT,OAAO,IAA6B;;8BAVf,GAAG;;;;EAerC;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;UAUnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC;AACF,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -19,3 +19,4 @@ declare const _default: import('vue').DefineComponent<{
19
19
  "onUpdate:pagination"?: ((value: IPagination) => any) | undefined;
20
20
  }, {}, {}>;
21
21
  export default _default;
22
+ //# sourceMappingURL=GenericTablePagination.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenericTablePagination.vue.d.ts","sourceRoot":"","sources":["../../../src/components/organisms/GenericTablePagination.vue"],"names":[],"mappings":"AA6EA,OAAO,EAAW,WAAW,EAAE,MAAM,sBAAsB,CAAC;;;;;;;;;;;;;;;;;;;;AAmV5D,wBAgBG"}
@@ -0,0 +1,17 @@
1
+ import { IHeader } from '../../interfaces/app';
2
+ type __VLS_Props = {
3
+ header: IHeader;
4
+ item: any;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<__VLS_Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>>, {}, {}>;
7
+ export default _default;
8
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
+ type __VLS_TypePropsToOption<T> = {
10
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
11
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
+ } : {
13
+ type: import('vue').PropType<T[K]>;
14
+ required: true;
15
+ };
16
+ };
17
+ //# sourceMappingURL=TableCell.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableCell.vue.d.ts","sourceRoot":"","sources":["../../../src/components/organisms/TableCell.vue"],"names":[],"mappings":"AAiGA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAM/C,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,GAAG,CAAC;CACX,CAAC;;AAyMF,wBAMG;AAEH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { FilterType, IHeader } from '../../interfaces/app';
2
+ type __VLS_Props = {
3
+ column: IHeader;
4
+ filterFn?: (filters: Array<FilterType>) => void;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<__VLS_Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>>, {}, {}>;
7
+ export default _default;
8
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
+ type __VLS_TypePropsToOption<T> = {
10
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
11
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
+ } : {
13
+ type: import('vue').PropType<T[K]>;
14
+ required: true;
15
+ };
16
+ };
17
+ //# sourceMappingURL=TableColumnFilterMenu.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableColumnFilterMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/organisms/TableColumnFilterMenu.vue"],"names":[],"mappings":"AAgEA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAK3D,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;CACjD,CAAC;;AA+MF,wBAMG;AAEH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { JSXComponent } from 'vuetify';
2
+ import { FilterType, IHeader } from '../../interfaces/app';
3
+ type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
4
+ type __VLS_Props = {
5
+ columns: Array<IHeader>;
6
+ isSorted: (column: any) => boolean;
7
+ getSortIcon: (column: any) => IconValue;
8
+ toggleSort: (column: any) => void;
9
+ filterFn?: (filters: Array<FilterType>) => void;
10
+ };
11
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<__VLS_Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>>, {}, {}>;
12
+ export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToOption<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
22
+ //# sourceMappingURL=TableHeader.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/organisms/TableHeader.vue"],"names":[],"mappings":"AA4CA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAG3D,KAAK,SAAS,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,EAAE,GAAG,YAAY,CAAC;AAEtF,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IACxB,QAAQ,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,OAAO,CAAC;IACnC,WAAW,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,SAAS,CAAC;IACxC,UAAU,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;CACjD,CAAC;;AA4FF,wBAMG;AAEH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,11 +1,12 @@
1
- import { IPagination, IHeader } from '../../interfaces/app';
2
- declare const loading: import('vue').ModelRef<boolean, string>;
1
+ import { IPagination, IHeader, FilterType } from '../../interfaces/app';
3
2
  type __VLS_Props = {
4
3
  keyWord: string;
5
4
  noItemsText: any;
6
5
  hideCreate?: boolean;
7
6
  hideSearch?: boolean;
8
7
  hideHeader?: boolean;
8
+ loading?: boolean;
9
+ filterFn?: (filters: Array<FilterType>) => void;
9
10
  variant?: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain" | undefined;
10
11
  };
11
12
  type __VLS_PublicProps = {
@@ -13,22 +14,13 @@ type __VLS_PublicProps = {
13
14
  "headers"?: IHeader[];
14
15
  "items"?: any;
15
16
  "pagination"?: IPagination;
16
- "loading"?: typeof loading['value'];
17
- "confirmDeleteDialog"?: boolean;
18
17
  } & __VLS_Props;
19
18
  declare function __VLS_template(): {
20
19
  attrs: Partial<{}>;
21
20
  slots: Partial<Record<string, (_: {
22
21
  item: any;
23
- }) => any>> & {
24
- 'custom-btn'?(_: {}): any;
25
- actions?(_: {
26
- item: unknown;
27
- }): any;
28
- };
29
- refs: {
30
- refHeadersBoard: HTMLDivElement;
31
- };
22
+ }) => any>>;
23
+ refs: {};
32
24
  rootEl: any;
33
25
  };
34
26
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
@@ -39,8 +31,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOp
39
31
  "update:pagination": (value: IPagination) => void;
40
32
  "update:headers": (value: IHeader[]) => void;
41
33
  "update:items": (value: any) => void;
42
- "update:loading": (value: boolean) => void;
43
- "update:confirmDeleteDialog": (value: boolean) => void;
44
34
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
45
35
  "onUpdate:options"?: ((...args: any[]) => any) | undefined;
46
36
  "onUpdate:pagination"?: ((value: IPagination) => any) | undefined;
@@ -48,8 +38,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOp
48
38
  "onUpdate:search"?: ((...args: any[]) => any) | undefined;
49
39
  "onUpdate:headers"?: ((value: IHeader[]) => any) | undefined;
50
40
  "onUpdate:items"?: ((value: any) => any) | undefined;
51
- "onUpdate:loading"?: ((value: boolean) => any) | undefined;
52
- "onUpdate:confirmDeleteDialog"?: ((value: boolean) => any) | undefined;
53
41
  }, {}, {}>;
54
42
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
55
43
  export default _default;
@@ -67,3 +55,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
67
55
  $slots: S;
68
56
  };
69
57
  };
58
+ //# sourceMappingURL=GenericTable.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenericTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/templates/GenericTable.vue"],"names":[],"mappings":"AAyFA,OAAO,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAgB7E,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,GAAG,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;IAChD,OAAO,CAAC,EACN,MAAM,GACN,MAAM,GACN,UAAU,GACV,OAAO,GACP,UAAU,GACV,OAAO,GACP,SAAS,CAAC;CACb,CAAC;AAsBF,KAAK,iBAAiB,GAAG;IACzB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,EAAE,CAAC;IACtB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,YAAY,CAAC,EAAE,WAAW,CAAC;CAC1B,GAAG,WAAW,CAAC;AAQhB,iBAAS,cAAc;WAiKT,OAAO,IAA6B;;;UAXqC,GAAG;;;EAgBzF;AAuBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;UAUnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC;AACF,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare function useDebounceFn(): {
2
+ debounce: (fn: (...args: any[]) => void, delay: number) => (...args: any[]) => void;
3
+ clearDebounce: () => void;
4
+ };
5
+ //# sourceMappingURL=useDebounce.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDebounce.d.ts","sourceRoot":"","sources":["../../src/composables/useDebounce.ts"],"names":[],"mappings":"AAAA,wBAAgB,aAAa;mBAGL,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,SAAS,MAAM,MACnD,GAAG,MAAM,GAAG,EAAE;;EAYzB"}
@@ -1,6 +1,5 @@
1
1
  export declare const isToday: (date: Date) => boolean;
2
2
  export declare const avatarText: (value: string) => string;
3
- export declare const kFormatter: (num: number) => string;
4
3
  export declare const formatDateToYearMonthDay: (date: string | Date) => string;
5
4
  /**
6
5
  * Format and return date in Humanize format
@@ -9,7 +8,7 @@ export declare const formatDateToYearMonthDay: (date: string | Date) => string;
9
8
  * @param {string} value date to format
10
9
  * @param {Intl.DateTimeFormatOptions} formatting Intl object to format with
11
10
  */
12
- export declare const formatDate: (value: string, formatting?: Intl.DateTimeFormatOptions) => string;
11
+ export declare const formatDate: (value: string) => string;
13
12
  export declare const formatDateNotString: (date: string | Date) => string;
14
13
  export declare function parseLocalDate(dateStr: string): Date | string;
15
14
  export declare const formatPhone: (phone: string) => string;
@@ -40,3 +39,4 @@ export declare function formatToBrazilian(valueString: string): string;
40
39
  export declare function formatLicensePlate(licensePlate: string): string;
41
40
  export declare const formatStringToDate: (date: string) => Date;
42
41
  export declare const formatDateToConditionalYear: (isoString: Date | string) => string;
42
+ //# sourceMappingURL=formatters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../src/helpers/formatters.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,GAAI,MAAM,IAAI,YAQjC,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,OAAO,MAAM,WAKvC,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,MAAM,MAAM,GAAG,IAAI,WAM3D,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,GAAI,OAAO,MAAM,WAUvC,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,MAAM,MAAM,GAAG,IAAI,WAQtD,CAAC;AAEF,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAI7D;AAED,eAAO,MAAM,WAAW,GAAI,OAAO,MAAM,KAAG,MAgB3C,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,KAAK,MAAM,KAAG,MAQrC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,GACjC,OAAO,MAAM,EACb,6BAA0B,WAS3B,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,MAAM,oBACX,CAAC;AAElC,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,UAWpC;AAED,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,UAYpC;AAED,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,UAQlC;AAED,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,UASlC;AAED,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,UAKlC;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,UAqBpD;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,UAsB/C;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAa/D;AAED,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAwBzE;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,UAerC;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAWlD;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAchD;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAUzD;AAED,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAUvE;AAED,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,MAAM,UAWpD;AAED,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,MAAM,UAOtD;AAED,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,KAAG,IAGjD,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,WAAW,IAAI,GAAG,MAAM,WAkBnE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=formatters.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatters.spec.d.ts","sourceRoot":"","sources":["../../src/helpers/formatters.spec.ts"],"names":[],"mappings":""}
@@ -1 +1,2 @@
1
1
  export declare const getMask: (mask: string | undefined, value: any) => any;
2
+ //# sourceMappingURL=masks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"masks.d.ts","sourceRoot":"","sources":["../../src/helpers/masks.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,OAAO,GAAI,MAAM,MAAM,GAAG,SAAS,EAAE,OAAO,GAAG,QAK3D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=masks.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"masks.spec.d.ts","sourceRoot":"","sources":["../../src/helpers/masks.spec.ts"],"names":[],"mappings":""}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,7 @@
1
- import { Plugin } from 'vue';
2
- declare const _default: Plugin;
3
- export default _default;
1
+ import { default as Plugin } from './plugin';
2
+ export { default as ActionBtn } from './components/molecules/ActionBtn.vue';
3
+ export { default as GenericTable } from './components/templates/GenericTable.vue';
4
+ export * from './interfaces/app';
5
+ export { default as VuetifyElements } from './plugin';
6
+ export default Plugin;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,yCAAyC,CAAC;AAClF,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,UAAU,CAAC;AACtD,eAAe,MAAM,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { I18n } from 'vue-i18n';
2
+ import { LibLocales, MessageKeys } from './interfaces';
3
+ export declare function setupVueI18n(i18n: I18n, messages?: Partial<Record<LibLocales, any>>): (key: keyof MessageKeys) => string;
4
+ //# sourceMappingURL=adapter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../src/infra/i18n/adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAErC,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEvD,wBAAgB,YAAY,CAC1B,IAAI,EAAE,IAAI,EACV,QAAQ,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC,IAOnC,KAAK,MAAM,WAAW,KACyB,MAAM,CAC9D"}
@@ -0,0 +1,23 @@
1
+ declare const _default: {
2
+ "vuetify-elements": {
3
+ "actions": "Actions",
4
+ "search": "Search",
5
+ "add": "Add",
6
+ "adjust_columns": "Adjust view columns",
7
+ "delete": "Delete",
8
+ "deleted": "Deleted",
9
+ "cancel": "Cancel",
10
+ "ok": "OK",
11
+ "this": "This",
12
+ "was_deleted": "was deleted.",
13
+ "confirm_delete": "Are you sure you want to delete",
14
+ "editFnNotDefined": "Edit function not defined. Please provide an editFn in the header definition.",
15
+ "errorGettingHeaderValue": "Error getting item value for header",
16
+ "filterFnNotDefined": "Filter function not defined. Please provide a filterFn in the component props.",
17
+ "filterColumn": "Filter column",
18
+ "filterBy": "Filter by..."
19
+ }
20
+ }
21
+ ;
22
+
23
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { LibLocales, MessageKeys } from './interfaces';
2
+ declare let fallbackMessages: import('./interfaces').LibMessages;
3
+ export declare function setFallbackMessages(locale: LibLocales, messages?: Partial<typeof fallbackMessages>): void;
4
+ export declare function fallbackTranslate(key: keyof MessageKeys): string;
5
+ export {};
6
+ //# sourceMappingURL=fallback.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fallback.d.ts","sourceRoot":"","sources":["../../../src/infra/i18n/fallback.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAGvD,QAAA,IAAI,gBAAgB,oCAA2B,CAAC;AAEhD,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,UAAU,EAClB,QAAQ,CAAC,EAAE,OAAO,CAAC,OAAO,gBAAgB,CAAC,QAI5C;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,WAAW,GAAG,MAAM,CAEhE"}
@@ -0,0 +1,23 @@
1
+ export interface MessageKeys {
2
+ actions: string;
3
+ search: string;
4
+ add: string;
5
+ adjust_columns: string;
6
+ delete: string;
7
+ deleted: string;
8
+ cancel: string;
9
+ ok: string;
10
+ this: string;
11
+ was_deleted: string;
12
+ confirm_delete: string;
13
+ editFnNotDefined: string;
14
+ errorGettingHeaderValue: string;
15
+ filterFnNotDefined: string;
16
+ filterColumn: string;
17
+ filterBy: string;
18
+ }
19
+ export interface LibMessages {
20
+ 'vuetify-elements': MessageKeys;
21
+ }
22
+ export type LibLocales = 'en-US' | 'pt-BR';
23
+ //# sourceMappingURL=interfaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/infra/i18n/interfaces.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,uBAAuB,EAAE,MAAM,CAAC;IAChC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,WAAW;IAC1B,kBAAkB,EAAE,WAAW,CAAC;CACjC;AAED,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { LibLocales, LibMessages } from './interfaces';
2
+ export declare const defaultMessages: Record<LibLocales, LibMessages>;
3
+ //# sourceMappingURL=messages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../src/infra/i18n/messages.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEvD,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,UAAU,EAAE,WAAW,CAG3D,CAAC"}
@@ -0,0 +1,23 @@
1
+ declare const _default: {
2
+ "vuetify-elements": {
3
+ "actions": "Ações",
4
+ "search": "Pesquisar",
5
+ "add": "Adicionar",
6
+ "adjust_columns": "Ajustar colunas de visualização",
7
+ "delete": "Excluir",
8
+ "deleted": "Excluído",
9
+ "cancel": "Cancelar",
10
+ "ok": "OK",
11
+ "this": "Esse",
12
+ "was_deleted": "foi deletado.",
13
+ "confirm_delete": "Tem certeza que deseja excluir",
14
+ "editFnNotDefined": "Função de edição não definida. Por favor, forneça uma editFn na definição do cabeçalho (header).",
15
+ "errorGettingHeaderValue": "Erro ao obter o valor do item para o cabeçalho",
16
+ "filterFnNotDefined": "Função de filtro não definida. Por favor, forneça uma filterFn nas propriedades do componente.",
17
+ "filterColumn": "Filtrar coluna",
18
+ "filterBy": "Filtrar por..."
19
+ }
20
+ }
21
+ ;
22
+
23
+ export default _default;
@@ -13,6 +13,16 @@ export interface IHeader {
13
13
  sequence: number;
14
14
  isVisible: boolean;
15
15
  sortable: boolean;
16
+ type?: string;
17
+ editable?: boolean;
18
+ filterable?: boolean;
19
+ isEditing?: boolean;
20
+ editFn?: (field: string, value: any) => void;
16
21
  rules?: Array<(v: string) => boolean | string>;
17
22
  mask?: string;
18
23
  }
24
+ export type FilterType = {
25
+ field: string;
26
+ value: string;
27
+ };
28
+ //# sourceMappingURL=app.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/interfaces/app.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;CAC1B;AAED,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IAC7C,KAAK,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,MAAM,KAAK,OAAO,GAAG,MAAM,CAAC,CAAC;IAC/C,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { App } from 'vue';
2
+ import { I18n } from 'vue-i18n';
3
+ import { LibLocales } from './infra/i18n/interfaces';
4
+ interface PluginOptions {
5
+ i18n?: I18n;
6
+ locale?: LibLocales;
7
+ messages?: Record<string, any>;
8
+ }
9
+ declare const _default: {
10
+ install(app: App, options?: PluginOptions): void;
11
+ };
12
+ export default _default;
13
+ //# sourceMappingURL=plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAIrC,OAAO,EAAE,UAAU,EAAe,MAAM,yBAAyB,CAAC;AAIlE,UAAU,aAAa;IACrB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC;;iBAGc,GAAG,YAAY,aAAa;;AAD3C,wBAgBE"}
@@ -1,2 +1,3 @@
1
1
  import { IHeader } from '../interfaces/app';
2
2
  export declare function handleExport(type: string, data: any[], headers: IHeader[]): void;
3
+ //# sourceMappingURL=export.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../src/utils/export.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAuI5C,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,QAMzE"}
@@ -0,0 +1,4 @@
1
+ import { MessageKeys } from '../infra/i18n/interfaces';
2
+ export declare const TRANSLATOR_KEY = "vuetifyElementsI18n";
3
+ export declare function useT(): (key: keyof MessageKeys) => string;
4
+ //# sourceMappingURL=t.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"t.d.ts","sourceRoot":"","sources":["../../src/utils/t.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,eAAO,MAAM,cAAc,wBAAwB,CAAC;AAEpD,wBAAgB,IAAI,UACK,MAAM,WAAW,KAAK,MAAM,CAOpD"}