@hostlink/nuxt-light 1.28.1 → 1.28.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +2 -4
  3. package/dist/runtime/components/L/CustomField/Add.vue.d.ts +7 -1
  4. package/dist/runtime/components/L/CustomField/List.vue.d.ts +12 -1
  5. package/dist/runtime/components/L/Database/create-table-dialog.vue.d.ts +4 -1
  6. package/dist/runtime/components/L/Fieldset.vue.d.ts +15 -1
  7. package/dist/runtime/components/L/ForgetPasswordDialog.vue.d.ts +1 -1
  8. package/dist/runtime/components/L/Revision.vue.d.ts +8 -1
  9. package/dist/runtime/components/L/Storage.vue.d.ts +6 -1
  10. package/dist/runtime/components/L/System/Setting/authentication.vue.d.ts +18 -1
  11. package/dist/runtime/components/L/System/Setting/developer.vue.d.ts +12 -1
  12. package/dist/runtime/components/L/System/Setting/forget-password.vue.d.ts +13 -1
  13. package/dist/runtime/components/L/System/Setting/general.vue.d.ts +23 -1
  14. package/dist/runtime/components/L/System/Setting/mail.vue.d.ts +19 -1
  15. package/dist/runtime/components/L/System/Setting/modules.vue.d.ts +8 -1
  16. package/dist/runtime/components/L/System/Setting/security.vue.d.ts +32 -1
  17. package/dist/runtime/components/L/User/eventlog.vue.d.ts +5 -1
  18. package/dist/runtime/components/L/User/overview.vue.d.ts +11 -1
  19. package/dist/runtime/components/L/User/userlog.vue.d.ts +5 -1
  20. package/dist/runtime/components/L/ValidationInput.vue.d.ts +6 -1
  21. package/dist/runtime/components/MyTest.vue.d.ts +6 -1
  22. package/dist/runtime/components/l-add-btn.vue.d.ts +10 -1
  23. package/dist/runtime/components/l-alert.vue.d.ts +13 -1
  24. package/dist/runtime/components/l-app-main.vue.d.ts +700 -1
  25. package/dist/runtime/components/l-app.vue.d.ts +8 -1
  26. package/dist/runtime/components/l-audit-card.vue.d.ts +23 -1
  27. package/dist/runtime/components/l-back-btn.vue.d.ts +1 -1
  28. package/dist/runtime/components/l-banner.vue.d.ts +33 -1
  29. package/dist/runtime/components/l-bar.vue.d.ts +29 -1
  30. package/dist/runtime/components/l-btn.vue.d.ts +72 -1
  31. package/dist/runtime/components/l-card.vue.d.ts +82 -1
  32. package/dist/runtime/components/l-checkbox.vue.d.ts +14 -1
  33. package/dist/runtime/components/l-col.vue.d.ts +35 -1
  34. package/dist/runtime/components/l-customizer.vue.d.ts +19 -1
  35. package/dist/runtime/components/l-date-picker.vue +1 -1
  36. package/dist/runtime/components/l-date-picker.vue.d.ts +83 -1
  37. package/dist/runtime/components/l-delete-btn.vue.d.ts +7 -1
  38. package/dist/runtime/components/l-dialog-database-field-add.vue.d.ts +4 -1
  39. package/dist/runtime/components/l-drag-drop-container.vue.d.ts +6 -1
  40. package/dist/runtime/components/l-drag-drop-group.vue.d.ts +13 -1
  41. package/dist/runtime/components/l-drag-drop.vue.d.ts +12 -1
  42. package/dist/runtime/components/l-edit-btn.vue.d.ts +1 -1
  43. package/dist/runtime/components/l-editor.vue.d.ts +14 -1
  44. package/dist/runtime/components/l-facebook-button.vue.d.ts +3 -1
  45. package/dist/runtime/components/l-fav-menu.vue.d.ts +8 -1
  46. package/dist/runtime/components/l-field.vue.d.ts +34 -1
  47. package/dist/runtime/components/l-file-manager-labels.vue.d.ts +3 -1
  48. package/dist/runtime/components/l-file-manager-move.vue.d.ts +7 -1
  49. package/dist/runtime/components/l-file-manager-preview.vue.d.ts +8 -1
  50. package/dist/runtime/components/l-file-manager.vue.d.ts +15 -1
  51. package/dist/runtime/components/l-file-upload.vue.d.ts +129 -1
  52. package/dist/runtime/components/l-file.vue.d.ts +24 -1
  53. package/dist/runtime/components/l-form-dialog.vue.d.ts +24 -1
  54. package/dist/runtime/components/l-form.vue.d.ts +146 -1
  55. package/dist/runtime/components/l-group-select.vue.d.ts +10 -1
  56. package/dist/runtime/components/l-icon-picker.vue.d.ts +19 -1
  57. package/dist/runtime/components/l-input-xlsx.vue.d.ts +9 -1
  58. package/dist/runtime/components/l-input.vue.d.ts +50 -1
  59. package/dist/runtime/components/l-item.vue.d.ts +33 -1
  60. package/dist/runtime/components/l-link.vue.d.ts +15 -1
  61. package/dist/runtime/components/l-list.vue.d.ts +29 -1
  62. package/dist/runtime/components/l-login.vue.d.ts +16 -1
  63. package/dist/runtime/components/l-menu.vue.d.ts +8 -1
  64. package/dist/runtime/components/l-microsoft-button.vue.d.ts +17 -1
  65. package/dist/runtime/components/l-page.vue.d.ts +44 -1
  66. package/dist/runtime/components/l-row.vue.d.ts +20 -1
  67. package/dist/runtime/components/l-save-btn.vue.d.ts +1 -1
  68. package/dist/runtime/components/l-select.vue.d.ts +16 -1
  69. package/dist/runtime/components/l-small-box.vue.d.ts +12 -1
  70. package/dist/runtime/components/l-statistic.vue.d.ts +8 -1
  71. package/dist/runtime/components/l-tab.vue.d.ts +17 -1
  72. package/dist/runtime/components/l-table.vue +10 -10
  73. package/dist/runtime/components/l-table.vue.d.ts +234 -1
  74. package/dist/runtime/components/l-tabs.vue +5 -5
  75. package/dist/runtime/components/l-tabs.vue.d.ts +33 -1
  76. package/dist/runtime/components/l-test2.vue.d.ts +1 -1
  77. package/dist/runtime/components/l-time-picker.vue +1 -1
  78. package/dist/runtime/components/l-time-picker.vue.d.ts +55 -1
  79. package/dist/runtime/components/l-view-btn.vue.d.ts +1 -1
  80. package/dist/runtime/formkit/Checkbox.vue.d.ts +14 -1
  81. package/dist/runtime/formkit/DatePicker.vue.d.ts +14 -1
  82. package/dist/runtime/formkit/Editor.vue.d.ts +13 -1
  83. package/dist/runtime/formkit/File.vue.d.ts +14 -1
  84. package/dist/runtime/formkit/FilePicker.vue.d.ts +14 -1
  85. package/dist/runtime/formkit/FileUpload.vue.d.ts +14 -1
  86. package/dist/runtime/formkit/Form.vue.d.ts +44 -1
  87. package/dist/runtime/formkit/GroupSelect.vue.d.ts +14 -1
  88. package/dist/runtime/formkit/Input.vue.d.ts +43 -1
  89. package/dist/runtime/formkit/InputXlsx.vue.d.ts +13 -1
  90. package/dist/runtime/formkit/OptionGroup.vue.d.ts +6 -1
  91. package/dist/runtime/formkit/Radio.vue.d.ts +13 -1
  92. package/dist/runtime/formkit/Repeater.vue.d.ts +17 -1
  93. package/dist/runtime/formkit/Select.vue.d.ts +14 -1
  94. package/dist/runtime/formkit/TimePicker.vue.d.ts +14 -1
  95. package/dist/runtime/formkit/Toggle.vue.d.ts +24 -1
  96. package/dist/runtime/light.d.ts +46 -46
  97. package/dist/runtime/pages/CustomField/[custom_field_id]/edit.vue.d.ts +1 -1
  98. package/dist/runtime/pages/CustomField/index.vue.d.ts +1 -1
  99. package/dist/runtime/pages/EventLog/_eventlog_id/view.vue.d.ts +1 -1
  100. package/dist/runtime/pages/EventLog/index.vue.d.ts +1 -1
  101. package/dist/runtime/pages/FileManager/index.vue.d.ts +1 -1
  102. package/dist/runtime/pages/MailLog/index.vue.d.ts +1 -1
  103. package/dist/runtime/pages/Permission/add.vue.d.ts +1 -1
  104. package/dist/runtime/pages/Permission/all.vue.d.ts +1 -1
  105. package/dist/runtime/pages/Permission/export.vue.d.ts +1 -1
  106. package/dist/runtime/pages/Permission/index.vue.d.ts +1 -1
  107. package/dist/runtime/pages/Role/_name/update-child.vue.d.ts +1 -1
  108. package/dist/runtime/pages/Role/add.vue.d.ts +1 -1
  109. package/dist/runtime/pages/Role/add2.vue.d.ts +1 -1
  110. package/dist/runtime/pages/Role/index.vue.d.ts +1 -1
  111. package/dist/runtime/pages/System/database/backup.vue.d.ts +1 -1
  112. package/dist/runtime/pages/System/database/process.vue.d.ts +1 -1
  113. package/dist/runtime/pages/System/database/table.vue.d.ts +1 -1
  114. package/dist/runtime/pages/System/fs.vue.d.ts +1 -1
  115. package/dist/runtime/pages/System/index.vue.d.ts +1 -1
  116. package/dist/runtime/pages/System/mailtest.vue.d.ts +1 -1
  117. package/dist/runtime/pages/System/menu/index.vue.d.ts +1 -1
  118. package/dist/runtime/pages/System/package.vue.d.ts +1 -1
  119. package/dist/runtime/pages/System/phpinfo.vue.d.ts +1 -1
  120. package/dist/runtime/pages/System/setting.vue.d.ts +1 -1
  121. package/dist/runtime/pages/System/test.vue.d.ts +1 -1
  122. package/dist/runtime/pages/System/view_as.vue.d.ts +1 -1
  123. package/dist/runtime/pages/SystemValue/_systemvalue_id/edit.vue.d.ts +1 -1
  124. package/dist/runtime/pages/SystemValue/add.vue.d.ts +1 -1
  125. package/dist/runtime/pages/SystemValue/index.vue.d.ts +1 -1
  126. package/dist/runtime/pages/Translate/index.vue.d.ts +1 -1
  127. package/dist/runtime/pages/User/_user_id/change-password.vue.d.ts +1 -1
  128. package/dist/runtime/pages/User/_user_id/edit.vue.d.ts +1 -1
  129. package/dist/runtime/pages/User/_user_id/update-role.vue.d.ts +1 -1
  130. package/dist/runtime/pages/User/_user_id/view.vue.d.ts +1 -1
  131. package/dist/runtime/pages/User/add.vue.d.ts +1 -1
  132. package/dist/runtime/pages/User/index.vue.d.ts +1 -1
  133. package/dist/runtime/pages/User/profile.vue.d.ts +1 -1
  134. package/dist/runtime/pages/User/setting/bio-auth.vue.d.ts +1 -1
  135. package/dist/runtime/pages/User/setting/index.vue.d.ts +1 -1
  136. package/dist/runtime/pages/User/setting/information.vue.d.ts +1 -1
  137. package/dist/runtime/pages/User/setting/my_favorite.vue.d.ts +1 -1
  138. package/dist/runtime/pages/User/setting/open_id.vue.d.ts +1 -1
  139. package/dist/runtime/pages/User/setting/password.vue.d.ts +1 -1
  140. package/dist/runtime/pages/User/setting/style.vue.d.ts +1 -1
  141. package/dist/runtime/pages/User/setting/two-factor-auth.vue.d.ts +1 -1
  142. package/dist/runtime/pages/User/setting.vue.d.ts +1 -1
  143. package/dist/runtime/pages/UserLog/index.vue.d.ts +1 -1
  144. package/package.json +5 -3
@@ -1,2 +1,17 @@
1
- declare const _default: {};
1
+ import type { QSelectProps } from "quasar";
2
+ declare const _default: import("vue").DefineComponent<QSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<QSelectProps> & Readonly<{}>, {
3
+ dense: boolean;
4
+ square: boolean;
5
+ rounded: boolean;
6
+ outlined: boolean;
7
+ filled: boolean;
8
+ stackLabel: boolean;
9
+ standout: string | boolean;
10
+ hideBottomSpace: boolean;
11
+ emitValue: boolean;
12
+ mapOptions: boolean;
13
+ optionValue: string | ((option: string | any) => any);
14
+ optionLabel: string | ((option: string | any) => string);
15
+ inputDebounce: string | number;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
2
17
  export default _default;
@@ -1,2 +1,13 @@
1
- declare const _default: {};
1
+ export interface LSmallBoxProps {
2
+ title?: string;
3
+ subtitle?: string;
4
+ icon?: string;
5
+ color?: 'red' | 'pink' | 'purple' | 'deep-purple' | 'indigo' | 'blue' | 'light-blue' | 'cyan' | 'teal' | 'green' | 'light-green' | 'lime' | 'yellow' | 'amber' | 'orange' | 'deep-orange' | 'brown' | 'grey' | 'blue-grey';
6
+ }
7
+ declare const _default: import("vue").DefineComponent<LSmallBoxProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LSmallBoxProps> & Readonly<{}>, {
8
+ color: "red" | "pink" | "purple" | "deep-purple" | "indigo" | "blue" | "light-blue" | "cyan" | "teal" | "green" | "light-green" | "lime" | "yellow" | "amber" | "orange" | "deep-orange" | "brown" | "grey" | "blue-grey";
9
+ icon: string;
10
+ title: string;
11
+ subtitle: string;
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
2
13
  export default _default;
@@ -1,2 +1,9 @@
1
- declare const _default: {};
1
+ declare const _default: import("vue").DefineComponent<{}, {
2
+ title: string;
3
+ value?: unknown;
4
+ $props: {
5
+ readonly title?: string | undefined;
6
+ readonly value?: unknown;
7
+ };
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
9
  export default _default;
@@ -1,2 +1,18 @@
1
- declare const _default: {};
1
+ import type { QTabPanelProps, QTabProps } from 'quasar';
2
+ declare const parent_type: string | undefined;
3
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
4
+ declare var __VLS_5: {};
5
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
6
+ default?: (props: typeof __VLS_5) => any;
7
+ }>;
8
+ declare const __VLS_self: import("vue").DefineComponent<QTabPanelProps | QTabProps, {
9
+ parent_type: typeof parent_type;
10
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<QTabPanelProps | QTabProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_component: import("vue").DefineComponent<QTabPanelProps | QTabProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<QTabPanelProps | QTabProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
2
13
  export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -1,6 +1,6 @@
1
1
  <script setup>
2
2
  import { useQuasar, QTable, Dialog } from "quasar";
3
- import { ref, computed, onMounted, useSlots, watch } from "vue";
3
+ import { ref, computed, onMounted, useSlots, watch, reactive } from "vue";
4
4
  import { useLight, GQLFieldBuilder, model } from "../";
5
5
  import { toQuery } from "@hostlink/light";
6
6
  import { collect } from "#imports";
@@ -93,7 +93,7 @@ const props = defineProps({
93
93
  actions: { type: Array, required: false, default: () => [] },
94
94
  sortBy: { type: null, required: false },
95
95
  modelName: { type: null, required: false },
96
- searchable: { type: [Boolean, null], required: false, skipCheck: true, default: false },
96
+ searchable: { type: null, required: false, default: false },
97
97
  maximizable: { type: Boolean, required: false, default: false },
98
98
  minimizable: { type: Boolean, required: false, default: false },
99
99
  onRequestData: { type: Function, required: false },
@@ -146,7 +146,7 @@ const hasSearch = computed(() => {
146
146
  });
147
147
  });
148
148
  const table = ref();
149
- const filters = ref({});
149
+ const filters = reactive({});
150
150
  const rows = ref(props.rows);
151
151
  if (rows.value == void 0) {
152
152
  rows.value = [];
@@ -303,23 +303,23 @@ const getFilterValue = () => {
303
303
  let f = {};
304
304
  props.columns?.forEach((col) => {
305
305
  if (col.searchable) {
306
- if (filters.value[col.name] !== null && filters.value[col.name] !== "" && filters.value[col.name] !== void 0) {
306
+ if (filters[col.name] !== null && filters[col.name] !== "" && filters[col.name] !== void 0) {
307
307
  if (col.searchType == "number") {
308
- f[col.name] = filters.value[col.name];
308
+ f[col.name] = filters[col.name];
309
309
  } else if (col.searchType == "date") {
310
- if (filters.value[col.name].from) {
310
+ if (filters[col.name].from) {
311
311
  f[col.name] = {
312
- between: [filters.value[col.name].from, filters.value[col.name].to]
312
+ between: [filters[col.name].from, filters[col.name].to]
313
313
  };
314
314
  }
315
315
  } else if (col.searchType == "select") {
316
- f[col.name] = filters.value[col.name];
316
+ f[col.name] = filters[col.name];
317
317
  } else {
318
318
  if (col.searchMethod == "equals") {
319
- f[col.name] = filters.value[col.name];
319
+ f[col.name] = filters[col.name];
320
320
  } else {
321
321
  f[col.name] = {
322
- contains: filters.value[col.name]
322
+ contains: filters[col.name]
323
323
  };
324
324
  }
325
325
  }
@@ -1,2 +1,235 @@
1
- declare const _default: {};
1
+ import { QTable, Dialog } from 'quasar';
2
+ import type { QTableColumn, QTableProps } from 'quasar';
3
+ declare const minimized: import("vue").ModelRef<boolean, string, boolean, boolean>;
4
+ declare const maximized: import("vue").ModelRef<boolean, string, boolean, boolean>;
5
+ export interface LTableColumn extends QTableColumn {
6
+ searchable?: boolean;
7
+ searchType?: string;
8
+ searchOptions?: Array<any> | Function;
9
+ searchMultiple?: boolean;
10
+ gqlField?: string | Array<string> | Object;
11
+ backgroundColor?: string | Function;
12
+ searchMethod?: string;
13
+ }
14
+ declare const errors: import("vue").Ref<any, any>;
15
+ export type LTableProps = QTableProps & {
16
+ columns?: Array<LTableColumn>;
17
+ actions?: Array<string>;
18
+ sortBy?: any;
19
+ rowKey?: string;
20
+ modelName?: any;
21
+ searchable?: any;
22
+ selected?: Array<any>;
23
+ maximizable?: boolean;
24
+ minimizable?: boolean;
25
+ onRequestData?: (request: LTableRequest) => void;
26
+ addComponent?: Dialog;
27
+ addComponentProps?: any;
28
+ rows?: Array<any>;
29
+ };
30
+ type __VLS_Props = LTableProps;
31
+ declare const isServerSide: boolean;
32
+ declare const pagination: import("vue").Ref<{
33
+ sortBy?: string | null | undefined;
34
+ descending?: boolean | undefined;
35
+ page?: number | undefined;
36
+ rowsPerPage?: number | undefined;
37
+ rowsNumber?: number | undefined;
38
+ }, {
39
+ sortBy?: string | null;
40
+ descending?: boolean;
41
+ page?: number;
42
+ rowsPerPage?: number;
43
+ rowsNumber?: number;
44
+ } | {
45
+ sortBy?: string | null | undefined;
46
+ descending?: boolean | undefined;
47
+ page?: number | undefined;
48
+ rowsPerPage?: number | undefined;
49
+ rowsNumber?: number | undefined;
50
+ }>;
51
+ export interface LTableRequest {
52
+ sort: string;
53
+ fields: Array<string>;
54
+ gql: {
55
+ __args: {
56
+ filters: any;
57
+ sort: string;
58
+ };
59
+ data: {
60
+ __args: {
61
+ limit: number;
62
+ };
63
+ [key: string]: any;
64
+ };
65
+ meta: {
66
+ total: boolean;
67
+ key: boolean;
68
+ name: boolean;
69
+ };
70
+ };
71
+ offset: number;
72
+ limit: number;
73
+ loadData: (model: string, filters: any, fields: Array<any>) => void;
74
+ loadObjects: (model: string, filters: any, fields: Array<any>) => void;
75
+ setData: (data: {
76
+ data: Array<{
77
+ data: any;
78
+ }>;
79
+ meta: {
80
+ total: Number;
81
+ key: string;
82
+ name: string;
83
+ };
84
+ }) => void;
85
+ }
86
+ declare const loading: import("vue").Ref<boolean, boolean>;
87
+ declare let activeEdit: boolean;
88
+ declare let actionView: boolean;
89
+ declare let actionDelete: boolean;
90
+ declare const hasSearch: import("vue").ComputedRef<boolean | undefined>;
91
+ declare const table: import("vue").Ref<QTable | undefined, QTable | undefined>;
92
+ declare const filters: any;
93
+ declare const rows: import("vue").Ref<any, any>;
94
+ declare let primaryKey: import("vue").Ref<string | (((row: any) => any) & string) | undefined, string | (((row: any) => any) & string) | undefined>;
95
+ declare const modelName: import("vue").Ref<any, any>;
96
+ declare const onLocalRequest: (p: any) => Promise<void>;
97
+ declare const onFilters: () => void;
98
+ declare const ss: string[];
99
+ declare const onDelete: (id: any) => Promise<void>;
100
+ declare const attrs: import("vue").ComputedRef<any>;
101
+ declare const filter: import("vue").Ref<string, string>;
102
+ declare const isDark: import("vue").ComputedRef<boolean>;
103
+ declare const hasRowExpand: import("vue").ComputedRef<boolean>;
104
+ declare const hasActions: import("vue").ComputedRef<boolean>;
105
+ declare const getCellStyle: (col: any, row: any) => any;
106
+ declare const getCellClass: (col: any, row: any) => any;
107
+ declare const localSelected: import("vue").WritableComputedRef<any[], any[]>;
108
+ declare function requestServerInteraction(): void;
109
+ declare const onAdd: () => void;
110
+ type __VLS_PublicProps = __VLS_Props & {
111
+ "minimized"?: boolean;
112
+ "maximized"?: boolean;
113
+ };
114
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
115
+ declare var __VLS_100: any, __VLS_103: string, __VLS_104: any, __VLS_126: any, __VLS_192: string, __VLS_193: any;
116
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
117
+ [K in NonNullable<typeof __VLS_103>]?: (props: typeof __VLS_104) => any;
118
+ } & {
119
+ [K in NonNullable<typeof __VLS_192>]?: (props: typeof __VLS_193) => any;
120
+ } & {
121
+ actions?: (props: typeof __VLS_100) => any;
122
+ } & {
123
+ 'row-expand'?: (props: typeof __VLS_126) => any;
124
+ }>;
125
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_PublicProps, {
126
+ QTable: typeof QTable;
127
+ minimized: typeof minimized;
128
+ maximized: typeof maximized;
129
+ errors: typeof errors;
130
+ isServerSide: typeof isServerSide;
131
+ pagination: typeof pagination;
132
+ loading: typeof loading;
133
+ activeEdit: typeof activeEdit;
134
+ actionView: typeof actionView;
135
+ actionDelete: typeof actionDelete;
136
+ hasSearch: typeof hasSearch;
137
+ table: typeof table;
138
+ filters: typeof filters;
139
+ rows: typeof rows;
140
+ primaryKey: typeof primaryKey;
141
+ modelName: typeof modelName;
142
+ onLocalRequest: typeof onLocalRequest;
143
+ onFilters: typeof onFilters;
144
+ ss: typeof ss;
145
+ onDelete: typeof onDelete;
146
+ attrs: typeof attrs;
147
+ filter: typeof filter;
148
+ isDark: typeof isDark;
149
+ hasRowExpand: typeof hasRowExpand;
150
+ hasActions: typeof hasActions;
151
+ getCellStyle: typeof getCellStyle;
152
+ getCellClass: typeof getCellClass;
153
+ localSelected: typeof localSelected;
154
+ onAdd: typeof onAdd;
155
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
156
+ delete: (p: any) => any;
157
+ "request-data": (p: LTableRequest) => any;
158
+ "update:selected": (p: any[]) => any;
159
+ "update:minimized": (value: boolean) => any;
160
+ "update:maximized": (value: boolean) => any;
161
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
162
+ onDelete?: ((p: any) => any) | undefined;
163
+ "onRequest-data"?: ((p: LTableRequest) => any) | undefined;
164
+ "onUpdate:selected"?: ((p: any[]) => any) | undefined;
165
+ "onUpdate:minimized"?: ((value: boolean) => any) | undefined;
166
+ "onUpdate:maximized"?: ((value: boolean) => any) | undefined;
167
+ }>, {
168
+ flat: boolean;
169
+ fullscreen: boolean;
170
+ dense: boolean;
171
+ dark: boolean | null;
172
+ bordered: boolean;
173
+ noDataLabel: string;
174
+ loadingLabel: string;
175
+ rowsPerPageLabel: string;
176
+ pagination: {
177
+ sortBy?: string | null;
178
+ descending?: boolean;
179
+ page?: number;
180
+ rowsPerPage?: number;
181
+ rowsNumber?: number;
182
+ };
183
+ rowsPerPageOptions: readonly any[];
184
+ selection: "none" | "single" | "multiple";
185
+ selected: any[];
186
+ actions: Array<string>;
187
+ searchable: any;
188
+ maximizable: boolean;
189
+ minimizable: boolean;
190
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
191
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {
192
+ requestServerInteraction: typeof requestServerInteraction;
193
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
194
+ delete: (p: any) => any;
195
+ "request-data": (p: LTableRequest) => any;
196
+ "update:selected": (p: any[]) => any;
197
+ "update:minimized": (value: boolean) => any;
198
+ "update:maximized": (value: boolean) => any;
199
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
200
+ onDelete?: ((p: any) => any) | undefined;
201
+ "onRequest-data"?: ((p: LTableRequest) => any) | undefined;
202
+ "onUpdate:selected"?: ((p: any[]) => any) | undefined;
203
+ "onUpdate:minimized"?: ((value: boolean) => any) | undefined;
204
+ "onUpdate:maximized"?: ((value: boolean) => any) | undefined;
205
+ }>, {
206
+ flat: boolean;
207
+ fullscreen: boolean;
208
+ dense: boolean;
209
+ dark: boolean | null;
210
+ bordered: boolean;
211
+ noDataLabel: string;
212
+ loadingLabel: string;
213
+ rowsPerPageLabel: string;
214
+ pagination: {
215
+ sortBy?: string | null;
216
+ descending?: boolean;
217
+ page?: number;
218
+ rowsPerPage?: number;
219
+ rowsNumber?: number;
220
+ };
221
+ rowsPerPageOptions: readonly any[];
222
+ selection: "none" | "single" | "multiple";
223
+ selected: any[];
224
+ actions: Array<string>;
225
+ searchable: any;
226
+ maximizable: boolean;
227
+ minimizable: boolean;
228
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
229
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
2
230
  export default _default;
231
+ type __VLS_WithSlots<T, S> = T & {
232
+ new (): {
233
+ $slots: S;
234
+ };
235
+ };
@@ -1,6 +1,5 @@
1
1
  <script setup>
2
2
  import { useSlots } from "#imports";
3
- const model = defineModel({ type: [String, Number, null, Unknown] });
4
3
  defineProps({
5
4
  modelValue: { type: null, required: false },
6
5
  vertical: { type: Boolean, required: false, skipCheck: true },
@@ -25,18 +24,19 @@ defineProps({
25
24
  "onUpdate:modelValue": { type: Function, required: false }
26
25
  });
27
26
  const slots = useSlots();
28
- if (model.value === void 0) {
29
- model.value = slots.default?.()[0]?.props?.name;
27
+ const modelValue = defineModel();
28
+ if (modelValue.value === void 0) {
29
+ modelValue.value = slots.default?.()[0]?.props?.name;
30
30
  }
31
31
  </script>
32
32
 
33
33
  <template>
34
34
  <l-card>
35
35
  <q-tabs class="text-grey" :active-color="$light.color" :indicator-color="$light.color" align="justify"
36
- v-model="model">
36
+ v-model="modelValue">
37
37
  <slot></slot>
38
38
  </q-tabs>
39
- <q-tab-panels v-model="model">
39
+ <q-tab-panels v-model="modelValue">
40
40
  <slot></slot>
41
41
  </q-tab-panels>
42
42
  </l-card>
@@ -1,2 +1,34 @@
1
- declare const _default: {};
1
+ import type { QTabsProps } from 'quasar';
2
+ export interface LTabsProps extends QTabsProps {
3
+ }
4
+ type __VLS_Props = LTabsProps;
5
+ declare const modelValue: import("vue").ModelRef<any, string, any, any>;
6
+ type __VLS_PublicProps = __VLS_Props & {
7
+ modelValue?: any;
8
+ };
9
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
10
+ declare var __VLS_10: {}, __VLS_16: {};
11
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
12
+ default?: (props: typeof __VLS_10) => any;
13
+ } & {
14
+ default?: (props: typeof __VLS_16) => any;
15
+ }>;
16
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_PublicProps, {
17
+ modelValue: typeof modelValue;
18
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ "update:modelValue": (value: any) => any;
20
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
21
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
22
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
+ "update:modelValue": (value: any) => any;
25
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
26
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
27
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
2
29
  export default _default;
30
+ type __VLS_WithSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
@@ -1,2 +1,2 @@
1
- declare const _default: {};
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
2
  export default _default;
@@ -4,7 +4,7 @@ import { useLight } from "#imports";
4
4
  import { useI18n } from "vue-i18n";
5
5
  const light = useLight();
6
6
  const { t } = useI18n();
7
- const modelValue = defineModel({ type: [String, null, Unknown] });
7
+ const modelValue = defineModel();
8
8
  const props = defineProps({
9
9
  modelValue: { type: null, required: false },
10
10
  required: { type: Boolean, required: false, default: false },
@@ -1,2 +1,56 @@
1
- declare const _default: {};
1
+ import type { ValidationRule } from "quasar";
2
+ export interface LTimePickerProps {
3
+ modelValue?: any;
4
+ required?: boolean;
5
+ label?: string;
6
+ hint?: string;
7
+ nowBtn?: boolean;
8
+ withSeconds?: boolean;
9
+ format24h?: boolean;
10
+ mask?: string;
11
+ hideBottomSpace?: boolean;
12
+ color?: string;
13
+ }
14
+ type __VLS_Props = LTimePickerProps;
15
+ declare const popup: import("vue").Ref<null, null>;
16
+ declare const localValue: import("vue").WritableComputedRef<any, any>;
17
+ declare const rules: ValidationRule[];
18
+ type __VLS_PublicProps = __VLS_Props & {
19
+ modelValue?: any;
20
+ };
21
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
22
+ declare var __VLS_25: string | number, __VLS_26: any;
23
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
24
+ [K in NonNullable<typeof __VLS_25>]?: (props: typeof __VLS_26) => any;
25
+ }>;
26
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_PublicProps, {
27
+ popup: typeof popup;
28
+ localValue: typeof localValue;
29
+ rules: typeof rules;
30
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
31
+ "update:modelValue": (value: any) => any;
32
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
33
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
34
+ }>, {
35
+ required: boolean;
36
+ mask: string;
37
+ hideBottomSpace: boolean;
38
+ format24h: boolean;
39
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
40
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
41
+ "update:modelValue": (value: any) => any;
42
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
43
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
44
+ }>, {
45
+ required: boolean;
46
+ mask: string;
47
+ hideBottomSpace: boolean;
48
+ format24h: boolean;
49
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
50
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
2
51
  export default _default;
52
+ type __VLS_WithSlots<T, S> = T & {
53
+ new (): {
54
+ $slots: S;
55
+ };
56
+ };
@@ -1,2 +1,2 @@
1
- declare const _default: {};
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
2
  export default _default;
@@ -1,2 +1,15 @@
1
- declare const _default: {};
1
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
2
2
  export default _default;
3
+ type __VLS_WithSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import("vue").DefineComponent<{}, {
7
+ context?: Record<string, any> | undefined;
8
+ $props: {
9
+ readonly context?: Record<string, any> | undefined;
10
+ };
11
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ type __VLS_Slots = {
13
+ [x: string]: ((props: any) => any) | undefined;
14
+ [x: number]: ((props: any) => any) | undefined;
15
+ };
@@ -1,2 +1,15 @@
1
- declare const _default: {};
1
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
2
2
  export default _default;
3
+ type __VLS_WithSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import("vue").DefineComponent<{}, {
7
+ context?: Record<string, any> | undefined;
8
+ $props: {
9
+ readonly context?: Record<string, any> | undefined;
10
+ };
11
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ type __VLS_Slots = {
13
+ [x: string]: ((props: any) => any) | undefined;
14
+ [x: number]: ((props: any) => any) | undefined;
15
+ };
@@ -1,2 +1,14 @@
1
- declare const _default: {};
1
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
2
2
  export default _default;
3
+ type __VLS_WithSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import("vue").DefineComponent<{}, {
7
+ context?: Record<string, any> | undefined;
8
+ $props: {
9
+ readonly context?: Record<string, any> | undefined;
10
+ };
11
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ type __VLS_Slots = {
13
+ default?: ((props: {}) => any) | undefined;
14
+ };
@@ -1,2 +1,15 @@
1
- declare const _default: {};
1
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
2
2
  export default _default;
3
+ type __VLS_WithSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import("vue").DefineComponent<{}, {
7
+ context?: Record<string, any> | undefined;
8
+ $props: {
9
+ readonly context?: Record<string, any> | undefined;
10
+ };
11
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ type __VLS_Slots = {
13
+ [x: string]: ((props: any) => any) | undefined;
14
+ [x: number]: ((props: any) => any) | undefined;
15
+ };
@@ -1,2 +1,15 @@
1
- declare const _default: {};
1
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
2
2
  export default _default;
3
+ type __VLS_WithSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import("vue").DefineComponent<{}, {
7
+ context?: Record<string, any> | undefined;
8
+ $props: {
9
+ readonly context?: Record<string, any> | undefined;
10
+ };
11
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ type __VLS_Slots = {
13
+ [x: string]: ((props: any) => any) | undefined;
14
+ [x: number]: ((props: any) => any) | undefined;
15
+ };
@@ -1,2 +1,15 @@
1
- declare const _default: {};
1
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
2
2
  export default _default;
3
+ type __VLS_WithSlots<T, S> = T & (new () => {
4
+ $slots: S;
5
+ });
6
+ declare const __VLS_component: import("vue").DefineComponent<{}, {
7
+ context?: Record<string, any> | undefined;
8
+ $props: {
9
+ readonly context?: Record<string, any> | undefined;
10
+ };
11
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ type __VLS_Slots = {
13
+ [x: string]: ((props: any) => any) | undefined;
14
+ [x: number]: ((props: any) => any) | undefined;
15
+ };
@@ -1,2 +1,45 @@
1
- declare const _default: {};
1
+ declare let onSubmit: () => Promise<void>;
2
+ declare const gutter: any;
3
+ declare let bordered: boolean;
4
+ declare const isNoDirtyCheck: import("vue").ComputedRef<boolean>;
5
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
6
+ declare var __VLS_9: {
7
+ [x: string]: any;
8
+ };
9
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
10
+ default?: (props: typeof __VLS_9) => any;
11
+ }>;
12
+ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
13
+ context: {
14
+ type: ObjectConstructor;
15
+ required: true;
16
+ };
17
+ }>, {
18
+ onSubmit: typeof onSubmit;
19
+ gutter: typeof gutter;
20
+ bordered: typeof bordered;
21
+ isNoDirtyCheck: typeof isNoDirtyCheck;
22
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
+ context: {
24
+ type: ObjectConstructor;
25
+ required: true;
26
+ };
27
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
28
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
29
+ context: {
30
+ type: ObjectConstructor;
31
+ required: true;
32
+ };
33
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
34
+ context: {
35
+ type: ObjectConstructor;
36
+ required: true;
37
+ };
38
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
39
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
2
40
  export default _default;
41
+ type __VLS_WithSlots<T, S> = T & {
42
+ new (): {
43
+ $slots: S;
44
+ };
45
+ };