@c3labsbr/vuetify-elements 1.2.6 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/dist/components/atoms/CInput/CInput.vue.d.ts +336 -0
  2. package/dist/components/atoms/CInput/CInput.vue.d.ts.map +1 -0
  3. package/dist/components/atoms/CInput/CInputNumber.vue.d.ts +266 -0
  4. package/dist/components/atoms/CInput/CInputNumber.vue.d.ts.map +1 -0
  5. package/dist/components/atoms/CInput/CInputSelect.vue.d.ts +335 -0
  6. package/dist/components/atoms/CInput/CInputSelect.vue.d.ts.map +1 -0
  7. package/dist/components/atoms/CInput/CInputText.vue.d.ts +266 -0
  8. package/dist/components/atoms/CInput/CInputText.vue.d.ts.map +1 -0
  9. package/dist/components/atoms/CInput/props.d.ts +181 -0
  10. package/dist/components/atoms/CInput/props.d.ts.map +1 -0
  11. package/dist/components/atoms/CInput/select-props.d.ts +53 -0
  12. package/dist/components/atoms/CInput/select-props.d.ts.map +1 -0
  13. package/dist/components/atoms/CircularLoading.vue.d.ts +3 -0
  14. package/dist/components/atoms/CircularLoading.vue.d.ts.map +1 -0
  15. package/dist/components/atoms/FormCardTitle.vue.d.ts +15 -0
  16. package/dist/components/atoms/FormCardTitle.vue.d.ts.map +1 -0
  17. package/dist/components/molecules/AdjustColumnsDialog.vue.d.ts +3 -3
  18. package/dist/components/molecules/AdjustColumnsDialog.vue.d.ts.map +1 -1
  19. package/dist/components/molecules/FormTitle.vue.d.ts +34 -0
  20. package/dist/components/molecules/FormTitle.vue.d.ts.map +1 -0
  21. package/dist/components/organisms/FormActionsButtons.vue.d.ts +24 -0
  22. package/dist/components/organisms/FormActionsButtons.vue.d.ts.map +1 -0
  23. package/dist/components/organisms/FormButtonOptionsField.vue.d.ts +20 -0
  24. package/dist/components/organisms/FormButtonOptionsField.vue.d.ts.map +1 -0
  25. package/dist/components/organisms/FormFields.vue.d.ts +47 -0
  26. package/dist/components/organisms/FormFields.vue.d.ts.map +1 -0
  27. package/dist/components/organisms/GenericHeaderActions.vue.d.ts +1 -1
  28. package/dist/components/organisms/GenericHeaderActions.vue.d.ts.map +1 -1
  29. package/dist/components/organisms/GenericItemActions.vue.d.ts +1 -1
  30. package/dist/components/organisms/GenericItemActions.vue.d.ts.map +1 -1
  31. package/dist/components/organisms/GenericTableHeader.vue.d.ts +3 -3
  32. package/dist/components/organisms/GenericTablePagination.vue.d.ts +3 -3
  33. package/dist/components/organisms/GenericTablePagination.vue.d.ts.map +1 -1
  34. package/dist/components/organisms/TableCell.vue.d.ts +1 -1
  35. package/dist/components/organisms/TableCell.vue.d.ts.map +1 -1
  36. package/dist/components/organisms/TableColumnActionsMenu.vue.d.ts +28 -0
  37. package/dist/components/organisms/TableColumnActionsMenu.vue.d.ts.map +1 -0
  38. package/dist/components/organisms/TableColumnFilterMenu.vue.d.ts +1 -1
  39. package/dist/components/organisms/TableColumnFilterMenu.vue.d.ts.map +1 -1
  40. package/dist/components/organisms/TableHeader.vue.d.ts +9 -4
  41. package/dist/components/organisms/TableHeader.vue.d.ts.map +1 -1
  42. package/dist/components/organisms/__tests__/GenericDataTable.spec.d.ts +2 -0
  43. package/dist/components/organisms/__tests__/GenericDataTable.spec.d.ts.map +1 -0
  44. package/dist/components/organisms/__tests__/GenericHeaderActions.spec.d.ts.map +1 -0
  45. package/dist/components/organisms/__tests__/GenericItemActions.spec.d.ts.map +1 -0
  46. package/dist/components/organisms/__tests__/GenericTableHeader.spec.d.ts.map +1 -0
  47. package/dist/components/templates/GenericForm.vue.d.ts +159 -0
  48. package/dist/components/templates/GenericForm.vue.d.ts.map +1 -0
  49. package/dist/components/templates/GenericFormFlat.vue.d.ts +149 -0
  50. package/dist/components/templates/GenericFormFlat.vue.d.ts.map +1 -0
  51. package/dist/components/templates/GenericTable.vue.d.ts +7 -7
  52. package/dist/components/templates/GenericTable.vue.d.ts.map +1 -1
  53. package/dist/components/templates/form-props.d.ts +102 -0
  54. package/dist/components/templates/form-props.d.ts.map +1 -0
  55. package/dist/composables/useAutoTableResize.d.ts +24 -0
  56. package/dist/composables/useAutoTableResize.d.ts.map +1 -0
  57. package/dist/helpers/__tests__/currency-formatters.spec.d.ts +2 -0
  58. package/dist/helpers/__tests__/currency-formatters.spec.d.ts.map +1 -0
  59. package/dist/helpers/__tests__/format-hour.spec.d.ts +2 -0
  60. package/dist/helpers/__tests__/format-hour.spec.d.ts.map +1 -0
  61. package/dist/helpers/__tests__/formatters.spec.d.ts.map +1 -0
  62. package/dist/helpers/__tests__/masks.spec.d.ts.map +1 -0
  63. package/dist/helpers/currency-formatters.d.ts +31 -0
  64. package/dist/helpers/currency-formatters.d.ts.map +1 -0
  65. package/dist/helpers/exceptions.d.ts +6 -0
  66. package/dist/helpers/exceptions.d.ts.map +1 -0
  67. package/dist/helpers/format-hour.d.ts +2 -0
  68. package/dist/helpers/format-hour.d.ts.map +1 -0
  69. package/dist/helpers/formatters.d.ts +22 -35
  70. package/dist/helpers/formatters.d.ts.map +1 -1
  71. package/dist/helpers/masks.d.ts.map +1 -1
  72. package/dist/helpers/string-utils.d.ts +7 -0
  73. package/dist/helpers/string-utils.d.ts.map +1 -0
  74. package/dist/helpers/toastify.d.ts +17 -0
  75. package/dist/helpers/toastify.d.ts.map +1 -0
  76. package/dist/helpers/useFieldHelpers.d.ts +11 -0
  77. package/dist/helpers/useFieldHelpers.d.ts.map +1 -0
  78. package/dist/index.d.ts +4 -1
  79. package/dist/index.d.ts.map +1 -1
  80. package/dist/infra/i18n/en_us/words.json.d.ts +8 -1
  81. package/dist/infra/i18n/interfaces.d.ts +7 -0
  82. package/dist/infra/i18n/interfaces.d.ts.map +1 -1
  83. package/dist/infra/i18n/pt_br/words.json.d.ts +8 -1
  84. package/dist/interfaces/genericForm.d.ts +72 -0
  85. package/dist/interfaces/genericForm.d.ts.map +1 -0
  86. package/dist/interfaces/{app.d.ts → genericTable.d.ts} +3 -1
  87. package/dist/interfaces/genericTable.d.ts.map +1 -0
  88. package/dist/plugin.d.ts.map +1 -1
  89. package/dist/utils/export.d.ts +1 -1
  90. package/dist/utils/export.d.ts.map +1 -1
  91. package/dist/vuetify-elements.cjs.js +4 -4
  92. package/dist/vuetify-elements.css +1 -1
  93. package/dist/vuetify-elements.es.js +5755 -4506
  94. package/package.json +8 -3
  95. package/dist/components/organisms/GenericHeaderActions.spec.d.ts.map +0 -1
  96. package/dist/components/organisms/GenericItemActions.spec.d.ts.map +0 -1
  97. package/dist/components/organisms/GenericTableHeader.spec.d.ts.map +0 -1
  98. package/dist/helpers/formatters.spec.d.ts.map +0 -1
  99. package/dist/helpers/masks.spec.d.ts.map +0 -1
  100. package/dist/interfaces/app.d.ts.map +0 -1
  101. /package/dist/components/organisms/{GenericHeaderActions.spec.d.ts → __tests__/GenericHeaderActions.spec.d.ts} +0 -0
  102. /package/dist/components/organisms/{GenericItemActions.spec.d.ts → __tests__/GenericItemActions.spec.d.ts} +0 -0
  103. /package/dist/components/organisms/{GenericTableHeader.spec.d.ts → __tests__/GenericTableHeader.spec.d.ts} +0 -0
  104. /package/dist/helpers/{formatters.spec.d.ts → __tests__/formatters.spec.d.ts} +0 -0
  105. /package/dist/helpers/{masks.spec.d.ts → __tests__/masks.spec.d.ts} +0 -0
@@ -0,0 +1,17 @@
1
+ import { ToastPosition, ToastTheme, ToastType } from 'vue3-toastify';
2
+ /**
3
+ * Displays a toast notification with specified options.
4
+ *
5
+ * @param {string} message - The message to be displayed in the toast notification. It can contain HTML.
6
+ * @param {'success'|'error'|'info'|'warning'} type - The type of the toast notification. Defaults to 'default'.
7
+ * @param {number} time - The duration (in milliseconds) for which the toast should be visible.
8
+ * @param {'top-left'|'top-center'|'top-right'|'bottom-left'|'bottom-center'|'bottom-right'} position - The position of the toast notification on the screen. Defaults to 'top-right'.
9
+ * @param {'auto'|'light'|'dark'|'colored'} theme - The theme of the toast notification. Defaults to 'auto'.
10
+ * @param {boolean} bar - Determines if the progress bar should be visible. Defaults to false.
11
+ *
12
+ * @example
13
+ * showMessage('This is a success message', 'success', 3000, 'top-right', 'light', true);
14
+ */
15
+ declare function showMessage(message: string, type: ToastType, time?: number, position?: ToastPosition, theme?: ToastTheme, bar?: boolean): Promise<void>;
16
+ export { showMessage };
17
+ //# sourceMappingURL=toastify.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toastify.d.ts","sourceRoot":"","sources":["../../src/helpers/toastify.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,aAAa,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE5E;;;;;;;;;;;;GAYG;AACH,iBAAe,WAAW,CACxB,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,SAAS,EACf,IAAI,CAAC,EAAE,MAAM,EACb,QAAQ,CAAC,EAAE,aAAa,EACxB,KAAK,CAAC,EAAE,UAAU,EAClB,GAAG,CAAC,EAAE,OAAO,iBAWd;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { IField } from '../interfaces/genericForm';
2
+ export declare const shouldShowField: (field: IField) => boolean;
3
+ export declare const validateField: (field: IField, value: any) => string | true;
4
+ /**
5
+ * Compute the number of columns that a field should occupy in a 12-column grid.
6
+ *
7
+ * @param field - IField object corresponding the column field
8
+ * @returns Number of columns (minimum 2)
9
+ */
10
+ export declare const getFieldCols: (field: IField) => number;
11
+ //# sourceMappingURL=useFieldHelpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFieldHelpers.d.ts","sourceRoot":"","sources":["../../src/helpers/useFieldHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAExD,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,KAAG,OAK/C,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAO,MAAM,EAAE,OAAO,GAAG,KAAG,MAAM,GAAG,IAOlE,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,GAAI,OAAO,MAAM,KAAG,MAe5C,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,6 +1,9 @@
1
1
  export { default as ActionBtn } from './components/molecules/ActionBtn.vue';
2
2
  export { default as GenericTable } from './components/templates/GenericTable.vue';
3
- export * from './interfaces/app';
3
+ export { default as GenericForm } from './components/templates/GenericForm.vue';
4
+ export { default as GenericFormFlat } from './components/templates/GenericFormFlat.vue';
5
+ export * from './interfaces/genericTable';
6
+ export * from './interfaces/genericForm';
4
7
  export { default as VuetifyElements } from './plugin';
5
8
  export { default } from './plugin';
6
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,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,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,yCAAyC,CAAC;AAClF,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAChF,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,4CAA4C,CAAC;AACxF,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,UAAU,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC"}
@@ -7,6 +7,7 @@ declare const _default: {
7
7
  "delete": "Delete",
8
8
  "deleted": "Deleted",
9
9
  "cancel": "Cancel",
10
+ "save": "Save",
10
11
  "ok": "OK",
11
12
  "this": "This",
12
13
  "was_deleted": "was deleted.",
@@ -15,7 +16,13 @@ declare const _default: {
15
16
  "errorGettingHeaderValue": "Error getting item value for header",
16
17
  "filterFnNotDefined": "Filter function not defined. Please provide a filterFn in the component props.",
17
18
  "filterColumn": "Filter column",
18
- "filterBy": "Filter by..."
19
+ "filterBy": "Filter by...",
20
+ "classify": "Classify",
21
+ "hideColumn": "Hide column",
22
+ "moveLeft": "Move left",
23
+ "moveRight": "Move right",
24
+ "all": "All",
25
+ "unexpectedError": "Unexpected error. Please, try again or contact the support team."
19
26
  }
20
27
  }
21
28
  ;
@@ -6,6 +6,7 @@ export interface MessageKeys {
6
6
  delete: string;
7
7
  deleted: string;
8
8
  cancel: string;
9
+ save: string;
9
10
  ok: string;
10
11
  this: string;
11
12
  was_deleted: string;
@@ -15,6 +16,12 @@ export interface MessageKeys {
15
16
  filterFnNotDefined: string;
16
17
  filterColumn: string;
17
18
  filterBy: string;
19
+ classify: string;
20
+ hideColumn: string;
21
+ moveLeft: string;
22
+ moveRight: string;
23
+ all: string;
24
+ unexpectedError: string;
18
25
  }
19
26
  export interface LibMessages {
20
27
  'vuetify-elements': MessageKeys;
@@ -1 +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,E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,OAAO,GAAG,OAAO,CAAC"}
@@ -7,6 +7,7 @@ declare const _default: {
7
7
  "delete": "Excluir",
8
8
  "deleted": "Excluído",
9
9
  "cancel": "Cancelar",
10
+ "save": "Salvar",
10
11
  "ok": "OK",
11
12
  "this": "Esse",
12
13
  "was_deleted": "foi deletado.",
@@ -15,7 +16,13 @@ declare const _default: {
15
16
  "errorGettingHeaderValue": "Erro ao obter o valor do item para o cabeçalho",
16
17
  "filterFnNotDefined": "Função de filtro não definida. Por favor, forneça uma filterFn nas propriedades do componente.",
17
18
  "filterColumn": "Filtrar coluna",
18
- "filterBy": "Filtrar por..."
19
+ "filterBy": "Filtrar por...",
20
+ "classify": "Classificar",
21
+ "hideColumn": "Esconder coluna",
22
+ "moveLeft": "Mover para esquerda",
23
+ "moveRight": "Mover para direita",
24
+ "all": "Todos",
25
+ "unexpectedError": "Ocorreu um erro inesperado. Por favor, tente novamente ou contate o suporte."
19
26
  }
20
27
  }
21
28
  ;
@@ -0,0 +1,72 @@
1
+ import { Component } from 'vue';
2
+ type FieldOption = {
3
+ text: string;
4
+ icon?: string;
5
+ value?: any;
6
+ };
7
+ type ISecondField = Omit<IField, 'secondField'>;
8
+ export type IField = {
9
+ label: string;
10
+ model: string;
11
+ value?: any;
12
+ additionalValue?: any;
13
+ type: 'number' | 'select' | 'text' | 'file' | 'info' | string;
14
+ md?: number;
15
+ cols?: number;
16
+ placeholder?: string;
17
+ error?: string;
18
+ rules?: any | ((v: any) => true | string)[];
19
+ items?: any[];
20
+ maxLength?: number;
21
+ minLength?: number;
22
+ maxNumber?: number;
23
+ minNumber?: number;
24
+ autofocus?: boolean;
25
+ itemTitle?: string;
26
+ itemValue?: string;
27
+ maskType?: 'cpf' | 'cnpj' | 'phone' | 'brl' | 'hour' | 'cep' | 'weight' | 'brlfivehouses' | 'ncm' | null;
28
+ search?: string | null;
29
+ noDataText?: string;
30
+ options?: FieldOption[];
31
+ condition?: ((v: any) => boolean)[];
32
+ disabled?: boolean | any;
33
+ showPassword?: boolean;
34
+ chips?: boolean;
35
+ slotItem?: Component;
36
+ prependInnerIcon?: string;
37
+ defaultColors?: string[];
38
+ prefix?: string;
39
+ suffix?: string;
40
+ multiple?: boolean;
41
+ itemComponent?: Component;
42
+ searchFunction?: Function;
43
+ count?: number;
44
+ hasCountBtn?: boolean;
45
+ secondField?: ISecondField;
46
+ component?: Component;
47
+ inputs?: IField[];
48
+ filterByAgreement?: boolean;
49
+ getMaskType?: () => 'cpf' | 'cnpj' | 'phone' | 'brl' | 'hour' | 'cep' | 'weight' | 'brlfivehouses' | 'ncm' | null;
50
+ show?: boolean;
51
+ returnObject?: boolean;
52
+ info?: any;
53
+ secondSearchParam?: any;
54
+ removeFunction?: Function;
55
+ action?: Function;
56
+ allowedDates?: any[];
57
+ prependComponent?: Component;
58
+ prependClickFunction?: Function;
59
+ disabledOnlyField?: boolean;
60
+ createComponent?: Component;
61
+ createData?: any;
62
+ config?: any;
63
+ allDay?: boolean;
64
+ minDate?: Date | string;
65
+ onChange?: (event: Event, model: any, step: any) => void;
66
+ exclude?: Function;
67
+ description?: string;
68
+ modelProp?: any;
69
+ notClearOnUnmounted?: boolean;
70
+ };
71
+ export {};
72
+ //# sourceMappingURL=genericForm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"genericForm.d.ts","sourceRoot":"","sources":["../../src/interfaces/genericForm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAEhC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,GAAG,CAAC;CACb,CAAC;AAEF,KAAK,YAAY,GAAG,IAAI,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;AAEhD,MAAM,MAAM,MAAM,GAAG;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,GAA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,EAAE,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IACzD,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { JSXComponent } from 'vuetify';
1
2
  export interface IPagination {
2
3
  page: number;
3
4
  pageSize: number;
@@ -25,5 +26,6 @@ export type FilterType = {
25
26
  field: string;
26
27
  value: string;
27
28
  };
29
+ export type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
28
30
  export type IEditFn = (id: string, field: string, value: any) => void;
29
- //# sourceMappingURL=app.d.ts.map
31
+ //# sourceMappingURL=genericTable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"genericTable.d.ts","sourceRoot":"","sources":["../../src/interfaces/genericTable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,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,OAAO,CAAC;IACjB,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;AAEF,MAAM,MAAM,SAAS,GACjB,MAAM,GACN,CAAC,MAAM,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,EAAE,GAC5C,YAAY,CAAC;AAEjB,MAAM,MAAM,OAAO,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC"}
@@ -1 +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
+ {"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;AAMlE,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,wBAkBE"}
@@ -1,3 +1,3 @@
1
- import { IHeader } from '../interfaces/app';
1
+ import { IHeader } from '../interfaces/genericTable';
2
2
  export declare function handleExport(type: string, data: any[], headers: IHeader[]): void;
3
3
  //# sourceMappingURL=export.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../src/utils/export.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAuIrD,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,QAMzE"}