quasar-factory-lib 0.0.53 → 0.0.55

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 (39) hide show
  1. package/dist/components/ConfirmedTask/ConfirmedTask.vue.d.ts +34 -0
  2. package/dist/components/ConfirmedTask/index.d.ts +8 -0
  3. package/dist/components/TaskNavBar/SideBar.vue.d.ts +2 -0
  4. package/dist/components/index.d.ts +1 -0
  5. package/dist/components/plugins.d.ts +2 -1
  6. package/dist/i18n/en/index.d.ts +30 -0
  7. package/dist/i18n/es/index.d.ts +30 -0
  8. package/dist/i18n/index.d.ts +60 -0
  9. package/dist/index.d.ts +1 -1
  10. package/dist/layouts/PdaLayout.vue.d.ts +23 -12
  11. package/dist/pages/ConfirmedTaskPage.vue.d.ts +39 -0
  12. package/dist/pages/SideBarPage.vue.d.ts +4 -0
  13. package/dist/pages/TablePage.vue.d.ts +1 -1
  14. package/dist/quasar-factory-lib.js +3563 -3384
  15. package/dist/quasar-factory-lib.umd.cjs +11 -11
  16. package/dist/store/table.d.ts +1 -0
  17. package/dist/style.css +1 -1
  18. package/package.json +1 -1
  19. package/src/assets/icons/Checked.svg +9 -0
  20. package/src/components/ConfirmedTask/ConfirmedTask.vue +122 -0
  21. package/src/components/ConfirmedTask/index.ts +19 -0
  22. package/src/components/Table/components/TableFilter.vue +1 -0
  23. package/src/components/Table/components/TableSlotGrid.vue +3 -4
  24. package/src/components/TaskNavBar/SideBar.vue +3 -0
  25. package/src/components/TaskNavBar/TaskNavBar.vue +3 -2
  26. package/src/components/index.ts +2 -1
  27. package/src/components/plugins.ts +2 -1
  28. package/src/css/app.css +6 -0
  29. package/src/i18n/en/index.ts +31 -1
  30. package/src/i18n/es/index.ts +31 -1
  31. package/src/index.ts +3 -2
  32. package/src/layouts/MenuLayout.vue +12 -0
  33. package/src/layouts/PdaLayout.vue +56 -31
  34. package/src/pages/ConfirmPage.vue +1 -0
  35. package/src/pages/ConfirmedTaskPage.vue +50 -0
  36. package/src/pages/SideBarPage.vue +33 -0
  37. package/src/pages/TablePage.vue +3 -4
  38. package/src/router/routes.ts +8 -0
  39. package/src/store/table.js +1 -0
@@ -0,0 +1,34 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ values: {
3
+ type: ObjectConstructor;
4
+ required: true;
5
+ default: {
6
+ selected: number;
7
+ total: number;
8
+ message: string;
9
+ class: string;
10
+ };
11
+ };
12
+ }>, {}, {
13
+ alert: boolean;
14
+ }, {}, {
15
+ repeatTask(): void;
16
+ endTask(): void;
17
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("repeatTask" | "endTask")[], "repeatTask" | "endTask", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
+ values: {
19
+ type: ObjectConstructor;
20
+ required: true;
21
+ default: {
22
+ selected: number;
23
+ total: number;
24
+ message: string;
25
+ class: string;
26
+ };
27
+ };
28
+ }>> & Readonly<{
29
+ onRepeatTask?: ((...args: any[]) => any) | undefined;
30
+ onEndTask?: ((...args: any[]) => any) | undefined;
31
+ }>, {
32
+ values: Record<string, any>;
33
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
34
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import type { Plugin } from 'vue';
2
+ import ConfirmedTask from './ConfirmedTask.vue';
3
+ /** export button specific types */
4
+ /** export button plugin */
5
+ declare const _default: Plugin;
6
+ export default _default;
7
+ /** export button components */
8
+ export { ConfirmedTask as ConfirmedTask };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -2,3 +2,4 @@ export * from './Table';
2
2
  export * from './Alert';
3
3
  export * from './Confirm';
4
4
  export * from './TaskNavBar';
5
+ export * from './ConfirmedTask';
@@ -2,4 +2,5 @@ import MyTable from './Table';
2
2
  import AlertDialog from './Alert';
3
3
  import ConfirmDialog from './Confirm';
4
4
  import TaskNavBar from './TaskNavBar';
5
- export { MyTable, AlertDialog, ConfirmDialog, TaskNavBar };
5
+ import ConfirmedTask from './ConfirmedTask';
6
+ export { MyTable, AlertDialog, ConfirmDialog, TaskNavBar, ConfirmedTask };
@@ -22,5 +22,35 @@ declare const en: {
22
22
  global: {
23
23
  total: string;
24
24
  };
25
+ taskConfirmed: {
26
+ repeatTask: string;
27
+ repeat: string;
28
+ finish: string;
29
+ };
30
+ menu: {
31
+ logout: string;
32
+ home: string;
33
+ areas: string;
34
+ filters: string;
35
+ seeOnlyChecked: string;
36
+ seeManufacturing: string;
37
+ seeSubcontractor: string;
38
+ confirmRelocation: string;
39
+ deleteAll: string;
40
+ activateLoading: string;
41
+ showExpeditionLines: string;
42
+ showOrderLines: string;
43
+ endTransaction: string;
44
+ translate: string;
45
+ labelSelectLanguage: string;
46
+ selectLanguageLabelOptions: string[];
47
+ deleteSelectedLine: string;
48
+ seeMap: string;
49
+ recordReceiptPurchase: string;
50
+ addContainerNumber: string;
51
+ showColumnsSelector: string;
52
+ hideColumnsSelector: string;
53
+ sorting: string;
54
+ };
25
55
  };
26
56
  export default en;
@@ -22,5 +22,35 @@ declare const es: {
22
22
  global: {
23
23
  total: string;
24
24
  };
25
+ taskConfirmed: {
26
+ repeatTask: string;
27
+ repeat: string;
28
+ finish: string;
29
+ };
30
+ menu: {
31
+ logout: string;
32
+ home: string;
33
+ areas: string;
34
+ filters: string;
35
+ seeOnlyChecked: string;
36
+ seeManufacturing: string;
37
+ seeSubcontractor: string;
38
+ confirmRelocation: string;
39
+ deleteAll: string;
40
+ activateLoading: string;
41
+ showExpeditionLines: string;
42
+ showOrderLines: string;
43
+ endTransaction: string;
44
+ translate: string;
45
+ labelSelectLanguage: string;
46
+ selectLanguageLabelOptions: string[];
47
+ deleteSelectedLine: string;
48
+ seeMap: string;
49
+ recordReceiptPurchase: string;
50
+ addContainerNumber: string;
51
+ showColumnsSelector: string;
52
+ hideColumnsSelector: string;
53
+ sorting: string;
54
+ };
25
55
  };
26
56
  export default es;
@@ -24,6 +24,36 @@ declare const i18n: import("vue-i18n").I18n<{
24
24
  global: {
25
25
  total: string;
26
26
  };
27
+ taskConfirmed: {
28
+ repeatTask: string;
29
+ repeat: string;
30
+ finish: string;
31
+ };
32
+ menu: {
33
+ logout: string;
34
+ home: string;
35
+ areas: string;
36
+ filters: string;
37
+ seeOnlyChecked: string;
38
+ seeManufacturing: string;
39
+ seeSubcontractor: string;
40
+ confirmRelocation: string;
41
+ deleteAll: string;
42
+ activateLoading: string;
43
+ showExpeditionLines: string;
44
+ showOrderLines: string;
45
+ endTransaction: string;
46
+ translate: string;
47
+ labelSelectLanguage: string;
48
+ selectLanguageLabelOptions: string[];
49
+ deleteSelectedLine: string;
50
+ seeMap: string;
51
+ recordReceiptPurchase: string;
52
+ addContainerNumber: string;
53
+ showColumnsSelector: string;
54
+ hideColumnsSelector: string;
55
+ sorting: string;
56
+ };
27
57
  };
28
58
  es: {
29
59
  table: {
@@ -49,5 +79,35 @@ declare const i18n: import("vue-i18n").I18n<{
49
79
  global: {
50
80
  total: string;
51
81
  };
82
+ taskConfirmed: {
83
+ repeatTask: string;
84
+ repeat: string;
85
+ finish: string;
86
+ };
87
+ menu: {
88
+ logout: string;
89
+ home: string;
90
+ areas: string;
91
+ filters: string;
92
+ seeOnlyChecked: string;
93
+ seeManufacturing: string;
94
+ seeSubcontractor: string;
95
+ confirmRelocation: string;
96
+ deleteAll: string;
97
+ activateLoading: string;
98
+ showExpeditionLines: string;
99
+ showOrderLines: string;
100
+ endTransaction: string;
101
+ translate: string;
102
+ labelSelectLanguage: string;
103
+ selectLanguageLabelOptions: string[];
104
+ deleteSelectedLine: string;
105
+ seeMap: string;
106
+ recordReceiptPurchase: string;
107
+ addContainerNumber: string;
108
+ showColumnsSelector: string;
109
+ hideColumnsSelector: string;
110
+ sorting: string;
111
+ };
52
112
  };
53
113
  }, {}, {}, string, true>;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import '@quasar/extras/material-icons/material-icons.css';
2
2
  import { Plugin } from 'vue';
3
3
  import TranslateKeys from './i18n/translateKeys.ts';
4
- export { MyTable, AlertDialog, ConfirmDialog, TaskNavBar } from './components/index.ts';
4
+ export { MyTable, AlertDialog, ConfirmDialog, TaskNavBar, ConfirmedTask } from './components/index.ts';
5
5
  export type { TranslateKeys };
6
6
  export * from './i18n/messages.js';
7
7
  export * from './utils';
@@ -1,12 +1,13 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {}, {
2
- smallDevice: boolean;
3
2
  showDialog: boolean;
3
+ tabletMaxWidth: number;
4
4
  store: import("pinia").Store<"tableStore", {
5
5
  disableScannerButtons: import("@vueuse/shared").RemovableRef<boolean>;
6
6
  filterValue: import("@vueuse/shared").RemovableRef<string>;
7
7
  lastFilterValue: import("@vueuse/shared").RemovableRef<string>;
8
8
  visiblecolumns: import("@vueuse/shared").RemovableRef<never[]>;
9
9
  prepared: import("@vueuse/shared").RemovableRef<boolean>;
10
+ user: import("@vueuse/shared").RemovableRef<{}>;
10
11
  }, {}, {
11
12
  setFilterValue(val: any): void;
12
13
  cleanTableFilter(): void;
@@ -40,6 +41,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
40
41
  checkBoxColorCaseTrue?: undefined;
41
42
  checkBoxColorCaseFalse?: undefined;
42
43
  checkBoxDataCy?: undefined;
44
+ showInputPopupEdit?: undefined;
43
45
  } | {
44
46
  name: string;
45
47
  required: boolean;
@@ -68,6 +70,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
68
70
  checkBoxColorCaseTrue?: undefined;
69
71
  checkBoxColorCaseFalse?: undefined;
70
72
  checkBoxDataCy?: undefined;
73
+ showInputPopupEdit?: undefined;
71
74
  } | {
72
75
  name: string;
73
76
  required: boolean;
@@ -96,6 +99,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
96
99
  checkBoxColorCaseTrue?: undefined;
97
100
  checkBoxColorCaseFalse?: undefined;
98
101
  checkBoxDataCy?: undefined;
102
+ showInputPopupEdit?: undefined;
99
103
  } | {
100
104
  name: string;
101
105
  align: string;
@@ -124,6 +128,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
124
128
  checkBoxColorCaseTrue?: undefined;
125
129
  checkBoxColorCaseFalse?: undefined;
126
130
  checkBoxDataCy?: undefined;
131
+ showInputPopupEdit?: undefined;
127
132
  } | {
128
133
  name: string;
129
134
  label: string;
@@ -152,6 +157,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
152
157
  checkBoxColorCaseTrue?: undefined;
153
158
  checkBoxColorCaseFalse?: undefined;
154
159
  checkBoxDataCy?: undefined;
160
+ showInputPopupEdit?: undefined;
155
161
  } | {
156
162
  name: string;
157
163
  label: string;
@@ -180,6 +186,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
180
186
  checkBoxColorCaseTrue?: undefined;
181
187
  checkBoxColorCaseFalse?: undefined;
182
188
  checkBoxDataCy?: undefined;
189
+ showInputPopupEdit?: undefined;
183
190
  } | {
184
191
  name: string;
185
192
  label: string;
@@ -208,22 +215,24 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
208
215
  dataCy?: undefined;
209
216
  btnColor?: undefined;
210
217
  inputMaxLength?: undefined;
218
+ showInputPopupEdit?: undefined;
211
219
  } | {
212
220
  name: string;
213
221
  label: string;
214
222
  field: string;
215
223
  sortable: boolean;
216
224
  required: boolean;
225
+ editable: boolean;
226
+ showEditIcon: boolean;
227
+ popupEditEmit: string;
228
+ popupEditInputtype: string;
229
+ popupEditDataCy: string;
230
+ showInputPopupEdit: boolean;
217
231
  align?: undefined;
218
232
  showBasicCheckbox?: undefined;
219
233
  showCustomizedIcon?: undefined;
220
- editable?: undefined;
221
- showEditIcon?: undefined;
222
- popupEditEmit?: undefined;
223
- popupEditDataCy?: undefined;
224
234
  mask?: undefined;
225
235
  showSelectNumberOptions?: undefined;
226
- popupEditInputtype?: undefined;
227
236
  showCustomizedButton?: undefined;
228
237
  btnIcon?: undefined;
229
238
  btnEmit?: undefined;
@@ -264,6 +273,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
264
273
  checkBoxColorCaseTrue?: undefined;
265
274
  checkBoxColorCaseFalse?: undefined;
266
275
  checkBoxDataCy?: undefined;
276
+ showInputPopupEdit?: undefined;
267
277
  } | {
268
278
  name: string;
269
279
  label: string;
@@ -292,6 +302,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
292
302
  checkBoxColorCaseTrue?: undefined;
293
303
  checkBoxColorCaseFalse?: undefined;
294
304
  checkBoxDataCy?: undefined;
305
+ showInputPopupEdit?: undefined;
295
306
  })[];
296
307
  rows: never[];
297
308
  rowsData: {
@@ -308,20 +319,19 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
308
319
  calcium: string;
309
320
  iron: string;
310
321
  }[];
311
- visibleColumns: never[];
312
322
  showSkeleton: boolean;
313
- }, {}, {
323
+ buttonsList: never[];
324
+ }, {
325
+ smallDevice(): boolean;
326
+ }, {
314
327
  getRows(): void;
315
- saveSelectedColumns(columns: string[]): void;
316
- filterMethod(rows: string | [], terms: {
317
- search: string;
318
- }): object[] | [];
319
328
  onUpdateBasicCheckboxValue(rows: object[]): void;
320
329
  onUpdateCustomizedCheckboxValue(rows: object[]): void;
321
330
  setItemNotFound(rows: object[]): void;
322
331
  toggleSearchVisibility(): void;
323
332
  toggleRightDrawer(): void;
324
333
  toogleColumnsSelectorVisibility(): void;
334
+ onClickBtnMenu(): void;
325
335
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
326
336
  TaskNavBar: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
327
337
  logo: {
@@ -375,6 +385,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
375
385
  showBtnBack: boolean;
376
386
  showBtnSearch: boolean;
377
387
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
388
+ SideBar: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
378
389
  Table: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
379
390
  columns: {
380
391
  type: () => object[];
@@ -0,0 +1,39 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {
2
+ repeatTask(): void;
3
+ endTask(): void;
4
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
5
+ ConfirmedTask: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
+ values: {
7
+ type: ObjectConstructor;
8
+ required: true;
9
+ default: {
10
+ selected: number;
11
+ total: number;
12
+ message: string;
13
+ class: string;
14
+ };
15
+ };
16
+ }>, {}, {
17
+ alert: boolean;
18
+ }, {}, {
19
+ repeatTask(): void;
20
+ endTask(): void;
21
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("repeatTask" | "endTask")[], "repeatTask" | "endTask", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
+ values: {
23
+ type: ObjectConstructor;
24
+ required: true;
25
+ default: {
26
+ selected: number;
27
+ total: number;
28
+ message: string;
29
+ class: string;
30
+ };
31
+ };
32
+ }>> & Readonly<{
33
+ onRepeatTask?: ((...args: any[]) => any) | undefined;
34
+ onEndTask?: ((...args: any[]) => any) | undefined;
35
+ }>, {
36
+ values: Record<string, any>;
37
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
38
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
39
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
2
+ SideBar: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
3
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4
+ export default _default;
@@ -7,6 +7,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
7
7
  lastFilterValue: import("@vueuse/shared").RemovableRef<string>;
8
8
  visiblecolumns: import("@vueuse/shared").RemovableRef<never[]>;
9
9
  prepared: import("@vueuse/shared").RemovableRef<boolean>;
10
+ user: import("@vueuse/shared").RemovableRef<{}>;
10
11
  }, {}, {
11
12
  setFilterValue(val: any): void;
12
13
  cleanTableFilter(): void;
@@ -283,7 +284,6 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
283
284
  }[];
284
285
  }, {}, {
285
286
  getRows(): void;
286
- saveSelectedColumns(columns: string[]): void;
287
287
  onUpdateBasicCheckboxValue(rows: object[]): void;
288
288
  onUpdateCustomizedCheckboxValue(rows: object[]): void;
289
289
  setItemNotFound(rows: object[]): void;