@winchsa/ui 0.1.33 → 0.1.35

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 (300) hide show
  1. package/dist/components/Breadcrumbs.d.vue.ts +7 -0
  2. package/dist/components/Breadcrumbs.vue +46 -0
  3. package/dist/components/Breadcrumbs.vue.d.ts +7 -0
  4. package/dist/components/CustomizerSection.d.vue.ts +17 -0
  5. package/dist/components/CustomizerSection.vue +19 -0
  6. package/dist/components/CustomizerSection.vue.d.ts +17 -0
  7. package/dist/components/DialogCloseBtn.d.vue.ts +7 -0
  8. package/dist/components/DialogCloseBtn.vue +20 -0
  9. package/dist/components/DialogCloseBtn.vue.d.ts +7 -0
  10. package/dist/components/Drawer.d.vue.ts +28 -0
  11. package/dist/components/Drawer.vue +60 -0
  12. package/dist/components/Drawer.vue.d.ts +28 -0
  13. package/dist/components/IconBtn.d.vue.ts +18 -0
  14. package/dist/components/IconBtn.vue +24 -0
  15. package/dist/components/IconBtn.vue.d.ts +18 -0
  16. package/dist/components/LoadingBar.d.vue.ts +6 -0
  17. package/dist/components/LoadingBar.vue +31 -0
  18. package/dist/components/LoadingBar.vue.d.ts +6 -0
  19. package/dist/components/LoadingDialog.d.vue.ts +12 -0
  20. package/dist/components/LoadingDialog.vue +41 -0
  21. package/dist/components/LoadingDialog.vue.d.ts +12 -0
  22. package/dist/components/LoadingItem.d.vue.ts +25 -0
  23. package/dist/components/LoadingItem.vue +66 -0
  24. package/dist/components/LoadingItem.vue.d.ts +25 -0
  25. package/dist/components/Modal.d.vue.ts +50 -0
  26. package/dist/components/Modal.vue +155 -0
  27. package/dist/components/Modal.vue.d.ts +50 -0
  28. package/dist/components/MoreBtn.d.vue.ts +17 -0
  29. package/dist/components/MoreBtn.vue +28 -0
  30. package/dist/components/MoreBtn.vue.d.ts +17 -0
  31. package/dist/components/ScrollToTop.d.vue.ts +3 -0
  32. package/dist/components/ScrollToTop.vue +39 -0
  33. package/dist/components/ScrollToTop.vue.d.ts +3 -0
  34. package/dist/components/SiteTitle.d.vue.ts +3 -0
  35. package/dist/components/SiteTitle.vue +14 -0
  36. package/dist/components/SiteTitle.vue.d.ts +3 -0
  37. package/dist/components/Toaster.d.vue.ts +6 -0
  38. package/dist/components/Toaster.vue +19 -0
  39. package/dist/components/Toaster.vue.d.ts +6 -0
  40. package/dist/components/cards/AppCard.d.vue.ts +18 -0
  41. package/dist/components/cards/AppCard.vue +45 -0
  42. package/dist/components/cards/AppCard.vue.d.ts +18 -0
  43. package/dist/components/cards/AppCardActions.d.vue.ts +33 -0
  44. package/dist/components/cards/AppCardActions.vue +126 -0
  45. package/dist/components/cards/AppCardActions.vue.d.ts +33 -0
  46. package/dist/components/cards/CardStatisticsHorizontal.d.vue.ts +9 -0
  47. package/dist/components/cards/CardStatisticsHorizontal.vue +29 -0
  48. package/dist/components/cards/CardStatisticsHorizontal.vue.d.ts +9 -0
  49. package/dist/components/cards/CheckboxesCard.d.vue.ts +18 -0
  50. package/dist/components/cards/CheckboxesCard.vue +108 -0
  51. package/dist/components/cards/CheckboxesCard.vue.d.ts +18 -0
  52. package/dist/components/cards/HeaderCard.d.vue.ts +9 -0
  53. package/dist/components/cards/HeaderCard.vue +31 -0
  54. package/dist/components/cards/HeaderCard.vue.d.ts +9 -0
  55. package/dist/components/cards/ImageCard.d.vue.ts +33 -0
  56. package/dist/components/cards/ImageCard.vue +73 -0
  57. package/dist/components/cards/ImageCard.vue.d.ts +33 -0
  58. package/dist/components/cards/InputCard.d.vue.ts +21 -0
  59. package/dist/components/cards/InputCard.vue +60 -0
  60. package/dist/components/cards/InputCard.vue.d.ts +21 -0
  61. package/dist/components/cards/StaticCard.d.vue.ts +21 -0
  62. package/dist/components/cards/StaticCard.vue +37 -0
  63. package/dist/components/cards/StaticCard.vue.d.ts +21 -0
  64. package/dist/components/forms/Accordion.d.vue.ts +19 -0
  65. package/dist/components/forms/Accordion.vue +43 -0
  66. package/dist/components/forms/Accordion.vue.d.ts +19 -0
  67. package/dist/components/forms/AppBarSearch.d.vue.ts +43 -0
  68. package/dist/components/forms/AppBarSearch.vue +345 -0
  69. package/dist/components/forms/AppBarSearch.vue.d.ts +43 -0
  70. package/dist/components/forms/AppCombobox.d.vue.ts +13 -0
  71. package/dist/components/forms/AppCombobox.vue +60 -0
  72. package/dist/components/forms/AppCombobox.vue.d.ts +13 -0
  73. package/dist/components/forms/AppDrawerHeaderSection.d.vue.ts +20 -0
  74. package/dist/components/forms/AppDrawerHeaderSection.vue +21 -0
  75. package/dist/components/forms/AppDrawerHeaderSection.vue.d.ts +20 -0
  76. package/dist/components/forms/AppLabel.d.vue.ts +24 -0
  77. package/dist/components/forms/AppLabel.vue +47 -0
  78. package/dist/components/forms/AppLabel.vue.d.ts +24 -0
  79. package/dist/components/forms/AppLink.d.vue.ts +19 -0
  80. package/dist/components/forms/AppLink.vue +50 -0
  81. package/dist/components/forms/AppLink.vue.d.ts +19 -0
  82. package/dist/components/forms/AppNumberField.d.vue.ts +20 -0
  83. package/dist/components/forms/AppNumberField.vue +79 -0
  84. package/dist/components/forms/AppNumberField.vue.d.ts +20 -0
  85. package/dist/components/forms/AppOtpInput.d.vue.ts +13 -0
  86. package/dist/components/forms/AppOtpInput.vue +84 -0
  87. package/dist/components/forms/AppOtpInput.vue.d.ts +13 -0
  88. package/dist/components/forms/AppSearchHeader.d.vue.ts +8 -0
  89. package/dist/components/forms/AppSearchHeader.vue +72 -0
  90. package/dist/components/forms/AppSearchHeader.vue.d.ts +8 -0
  91. package/dist/components/forms/AppSelect.d.vue.ts +21 -0
  92. package/dist/components/forms/AppSelect.vue +94 -0
  93. package/dist/components/forms/AppSelect.vue.d.ts +21 -0
  94. package/dist/components/forms/AppStepper.d.vue.ts +21 -0
  95. package/dist/components/forms/AppStepper.vue +232 -0
  96. package/dist/components/forms/AppStepper.vue.d.ts +21 -0
  97. package/dist/components/forms/AppSwitch.d.vue.ts +18 -0
  98. package/dist/components/forms/AppSwitch.vue +60 -0
  99. package/dist/components/forms/AppSwitch.vue.d.ts +18 -0
  100. package/dist/components/forms/AppTextField.d.vue.ts +17 -0
  101. package/dist/components/forms/AppTextField.vue +62 -0
  102. package/dist/components/forms/AppTextField.vue.d.ts +17 -0
  103. package/dist/components/forms/AppTextarea.d.vue.ts +17 -0
  104. package/dist/components/forms/AppTextarea.vue +65 -0
  105. package/dist/components/forms/AppTextarea.vue.d.ts +17 -0
  106. package/dist/components/forms/AttachmentCropperInput.d.vue.ts +18 -0
  107. package/dist/components/forms/AttachmentCropperInput.vue +227 -0
  108. package/dist/components/forms/AttachmentCropperInput.vue.d.ts +18 -0
  109. package/dist/components/forms/AttachmentInput.d.vue.ts +16 -0
  110. package/dist/components/forms/AttachmentInput.vue +116 -0
  111. package/dist/components/forms/AttachmentInput.vue.d.ts +16 -0
  112. package/dist/components/forms/AutocompleteInput.d.vue.ts +86 -0
  113. package/dist/components/forms/AutocompleteInput.vue +778 -0
  114. package/dist/components/forms/AutocompleteInput.vue.d.ts +86 -0
  115. package/dist/components/forms/BankSelect.d.vue.ts +21 -0
  116. package/dist/components/forms/BankSelect.vue +43 -0
  117. package/dist/components/forms/BankSelect.vue.d.ts +21 -0
  118. package/dist/components/forms/BaseButton.d.vue.ts +20 -0
  119. package/dist/components/forms/BaseButton.vue +42 -0
  120. package/dist/components/forms/BaseButton.vue.d.ts +20 -0
  121. package/dist/components/forms/CounterInput.d.vue.ts +13 -0
  122. package/dist/components/forms/CounterInput.vue +71 -0
  123. package/dist/components/forms/CounterInput.vue.d.ts +13 -0
  124. package/dist/components/forms/CustomCheckboxes.d.vue.ts +25 -0
  125. package/dist/components/forms/CustomCheckboxes.vue +69 -0
  126. package/dist/components/forms/CustomCheckboxes.vue.d.ts +25 -0
  127. package/dist/components/forms/CustomCheckboxesWithIcon.d.vue.ts +25 -0
  128. package/dist/components/forms/CustomCheckboxesWithIcon.vue +80 -0
  129. package/dist/components/forms/CustomCheckboxesWithIcon.vue.d.ts +25 -0
  130. package/dist/components/forms/CustomCheckboxesWithImage.d.vue.ts +16 -0
  131. package/dist/components/forms/CustomCheckboxesWithImage.vue +67 -0
  132. package/dist/components/forms/CustomCheckboxesWithImage.vue.d.ts +16 -0
  133. package/dist/components/forms/CustomRadios.d.vue.ts +25 -0
  134. package/dist/components/forms/CustomRadios.vue +69 -0
  135. package/dist/components/forms/CustomRadios.vue.d.ts +25 -0
  136. package/dist/components/forms/CustomRadiosWithIcon.d.vue.ts +28 -0
  137. package/dist/components/forms/CustomRadiosWithIcon.vue +98 -0
  138. package/dist/components/forms/CustomRadiosWithIcon.vue.d.ts +28 -0
  139. package/dist/components/forms/CustomRadiosWithImage.d.vue.ts +35 -0
  140. package/dist/components/forms/CustomRadiosWithImage.vue +69 -0
  141. package/dist/components/forms/CustomRadiosWithImage.vue.d.ts +35 -0
  142. package/dist/components/forms/DatePicker.d.vue.ts +29 -0
  143. package/dist/components/forms/DatePicker.vue +392 -0
  144. package/dist/components/forms/DatePicker.vue.d.ts +29 -0
  145. package/dist/components/forms/DatePickerRange.d.vue.ts +24 -0
  146. package/dist/components/forms/DatePickerRange.vue +127 -0
  147. package/dist/components/forms/DatePickerRange.vue.d.ts +24 -0
  148. package/dist/components/forms/DraggedUploadFile.d.vue.ts +11 -0
  149. package/dist/components/forms/DraggedUploadFile.vue +120 -0
  150. package/dist/components/forms/DraggedUploadFile.vue.d.ts +11 -0
  151. package/dist/components/forms/ImageCardInput.d.vue.ts +35 -0
  152. package/dist/components/forms/ImageCardInput.vue +234 -0
  153. package/dist/components/forms/ImageCardInput.vue.d.ts +35 -0
  154. package/dist/components/forms/InputValidationWrapper.d.vue.ts +26 -0
  155. package/dist/components/forms/InputValidationWrapper.vue +24 -0
  156. package/dist/components/forms/InputValidationWrapper.vue.d.ts +26 -0
  157. package/dist/components/forms/LicensePlateInput.d.vue.ts +21 -0
  158. package/dist/components/forms/LicensePlateInput.vue +175 -0
  159. package/dist/components/forms/LicensePlateInput.vue.d.ts +21 -0
  160. package/dist/components/forms/ManualDate.d.vue.ts +20 -0
  161. package/dist/components/forms/ManualDate.vue +264 -0
  162. package/dist/components/forms/ManualDate.vue.d.ts +20 -0
  163. package/dist/components/forms/MobileInput.d.vue.ts +25 -0
  164. package/dist/components/forms/MobileInput.vue +118 -0
  165. package/dist/components/forms/MobileInput.vue.d.ts +25 -0
  166. package/dist/components/forms/PasswordInput.d.vue.ts +11 -0
  167. package/dist/components/forms/PasswordInput.vue +29 -0
  168. package/dist/components/forms/PasswordInput.vue.d.ts +11 -0
  169. package/dist/components/forms/RangeInput.d.vue.ts +10 -0
  170. package/dist/components/forms/RangeInput.vue +48 -0
  171. package/dist/components/forms/RangeInput.vue.d.ts +10 -0
  172. package/dist/components/forms/Tabs.d.vue.ts +23 -0
  173. package/dist/components/forms/Tabs.vue +35 -0
  174. package/dist/components/forms/Tabs.vue.d.ts +23 -0
  175. package/dist/components/forms/TimePicker.d.vue.ts +18 -0
  176. package/dist/components/forms/TimePicker.vue +370 -0
  177. package/dist/components/forms/TimePicker.vue.d.ts +18 -0
  178. package/dist/components/table/DataTable.d.vue.ts +70 -0
  179. package/dist/components/table/DataTable.vue +361 -0
  180. package/dist/components/table/DataTable.vue.d.ts +70 -0
  181. package/dist/components/table/EditableDataTable.d.vue.ts +21 -0
  182. package/dist/components/table/EditableDataTable.vue +330 -0
  183. package/dist/components/table/EditableDataTable.vue.d.ts +21 -0
  184. package/dist/components/table/EditableDataTableRow.d.vue.ts +20 -0
  185. package/dist/components/table/EditableDataTableRow.vue +252 -0
  186. package/dist/components/table/EditableDataTableRow.vue.d.ts +20 -0
  187. package/dist/components/table/FilterGenerator.d.vue.ts +13 -0
  188. package/dist/components/table/FilterGenerator.vue +231 -0
  189. package/dist/components/table/FilterGenerator.vue.d.ts +13 -0
  190. package/dist/components/table/StaticTable.d.vue.ts +34 -0
  191. package/dist/components/table/StaticTable.vue +152 -0
  192. package/dist/components/table/StaticTable.vue.d.ts +34 -0
  193. package/dist/components/table/TablePagination.d.vue.ts +15 -0
  194. package/dist/components/table/TablePagination.vue +73 -0
  195. package/dist/components/table/TablePagination.vue.d.ts +15 -0
  196. package/dist/composables/useIsMobile.d.ts +1 -0
  197. package/dist/composables/useIsMobile.js +10 -0
  198. package/dist/composables/useIsMobile.mjs +4 -0
  199. package/dist/composables/useTableFilters.d.ts +23 -0
  200. package/dist/composables/useTableFilters.js +197 -0
  201. package/dist/composables/useTableFilters.mjs +184 -0
  202. package/dist/images/avatar.png +0 -0
  203. package/dist/images/sa.svg +1 -0
  204. package/dist/index.d.ts +65 -0
  205. package/dist/index.js +454 -0
  206. package/dist/index.mjs +130 -0
  207. package/dist/lang/ar.json +54 -0
  208. package/dist/lang/en.json +54 -0
  209. package/dist/styles/assets/scss/variables/_template.scss +1 -0
  210. package/dist/styles/assets/scss/variables/_vuetify.scss +1 -0
  211. package/dist/styles/core/base/_components.scss +164 -0
  212. package/dist/styles/core/base/_dark.scss +16 -0
  213. package/dist/styles/core/base/_default-layout-w-vertical-nav.scss +106 -0
  214. package/dist/styles/core/base/_default-layout.scss +16 -0
  215. package/dist/styles/core/base/_index.scss +47 -0
  216. package/dist/styles/core/base/_layouts.scss +63 -0
  217. package/dist/styles/core/base/_misc.scss +20 -0
  218. package/dist/styles/core/base/_mixins.scss +84 -0
  219. package/dist/styles/core/base/_route-transitions.scss +70 -0
  220. package/dist/styles/core/base/_utilities.scss +418 -0
  221. package/dist/styles/core/base/_utils.scss +100 -0
  222. package/dist/styles/core/base/_variables.scss +190 -0
  223. package/dist/styles/core/base/_vertical-nav.scss +264 -0
  224. package/dist/styles/core/base/libs/_perfect-scrollbar.scss +35 -0
  225. package/dist/styles/core/base/libs/vuetify/_index.scss +1 -0
  226. package/dist/styles/core/base/libs/vuetify/_overrides.scss +380 -0
  227. package/dist/styles/core/base/libs/vuetify/_variables.scss +48 -0
  228. package/dist/styles/core/base/placeholders/_default-layout-vertical-nav.scss +48 -0
  229. package/dist/styles/core/base/placeholders/_default-layout.scss +3 -0
  230. package/dist/styles/core/base/placeholders/_index.scss +5 -0
  231. package/dist/styles/core/base/placeholders/_misc.scss +7 -0
  232. package/dist/styles/core/base/placeholders/_nav.scss +26 -0
  233. package/dist/styles/core/base/placeholders/_vertical-nav.scss +84 -0
  234. package/dist/styles/core/base/skins/_bordered.scss +60 -0
  235. package/dist/styles/core/base/skins/_index.scss +1 -0
  236. package/dist/styles/core/template/_components.scss +1044 -0
  237. package/dist/styles/core/template/_default-layout-w-vertical-nav.scss +20 -0
  238. package/dist/styles/core/template/_utilities.scss +20 -0
  239. package/dist/styles/core/template/_variables.scss +67 -0
  240. package/dist/styles/core/template/_vertical-nav.scss +41 -0
  241. package/dist/styles/core/template/index.css +18786 -0
  242. package/dist/styles/core/template/index.scss +15 -0
  243. package/dist/styles/core/template/libs/vuetify/_variables.scss +464 -0
  244. package/dist/styles/core/template/libs/vuetify/index.css +739 -0
  245. package/dist/styles/core/template/libs/vuetify/index.scss +1 -0
  246. package/dist/styles/core/template/pages/misc.css +16 -0
  247. package/dist/styles/core/template/pages/misc.scss +20 -0
  248. package/dist/styles/core/template/placeholders/_default-layout-vertical-nav.scss +9 -0
  249. package/dist/styles/core/template/placeholders/_index.scss +3 -0
  250. package/dist/styles/core/template/placeholders/_nav.scss +15 -0
  251. package/dist/styles/core/template/placeholders/_vertical-nav.scss +18 -0
  252. package/dist/styles/core/template/skins/_bordered.scss +36 -0
  253. package/dist/styles/core/template/skins/_index.scss +1 -0
  254. package/dist/styles/layouts/_classes.scss +3 -0
  255. package/dist/styles/layouts/_dashboard-layout.scss +43 -0
  256. package/dist/styles/layouts/_global.scss +10 -0
  257. package/dist/styles/layouts/_mixins.scss +28 -0
  258. package/dist/styles/layouts/_placeholders.scss +53 -0
  259. package/dist/styles/layouts/_rtl.scss +7 -0
  260. package/dist/styles/layouts/_variables.scss +22 -0
  261. package/dist/styles/layouts/index.css +14 -0
  262. package/dist/styles/layouts/index.scss +2 -0
  263. package/dist/types.d.ts +218 -0
  264. package/dist/utils/apiUrl.d.ts +1 -0
  265. package/dist/utils/apiUrl.js +15 -0
  266. package/dist/utils/apiUrl.mjs +8 -0
  267. package/dist/utils/client.d.ts +9 -0
  268. package/dist/utils/client.js +53 -0
  269. package/dist/utils/client.mjs +39 -0
  270. package/dist/utils/files.d.ts +2 -0
  271. package/dist/utils/files.js +35 -0
  272. package/dist/utils/files.mjs +22 -0
  273. package/dist/utils/formValidation.d.ts +7 -0
  274. package/dist/utils/formValidation.js +20 -0
  275. package/dist/utils/formValidation.mjs +13 -0
  276. package/dist/utils/formatters.d.ts +12 -0
  277. package/dist/utils/formatters.js +84 -0
  278. package/dist/utils/formatters.mjs +56 -0
  279. package/dist/utils/hijriDate.d.ts +58 -0
  280. package/dist/utils/hijriDate.js +168 -0
  281. package/dist/utils/hijriDate.mjs +1951 -0
  282. package/dist/utils/i18n.d.ts +8 -0
  283. package/dist/utils/i18n.js +36 -0
  284. package/dist/utils/i18n.mjs +27 -0
  285. package/dist/utils/index.d.ts +10 -0
  286. package/dist/utils/index.js +115 -0
  287. package/dist/utils/index.mjs +10 -0
  288. package/dist/utils/queryParams.d.ts +4 -0
  289. package/dist/utils/queryParams.js +26 -0
  290. package/dist/utils/queryParams.mjs +18 -0
  291. package/dist/utils/ruleValidator.d.ts +41 -0
  292. package/dist/utils/ruleValidator.js +210 -0
  293. package/dist/utils/ruleValidator.mjs +195 -0
  294. package/dist/utils/toaster.d.ts +12 -0
  295. package/dist/utils/toaster.js +68 -0
  296. package/dist/utils/toaster.mjs +58 -0
  297. package/dist/utils/utils.d.ts +9 -0
  298. package/dist/utils/utils.js +84 -0
  299. package/dist/utils/utils.mjs +67 -0
  300. package/package.json +67 -67
@@ -0,0 +1,29 @@
1
+ <script setup>
2
+ import { computed, ref } from "vue";
3
+ import AppTextField from "./AppTextField.vue";
4
+ const props = defineProps({
5
+ modelValue: { type: [String, null], required: false, default: null },
6
+ label: { type: String, required: false, default: "" }
7
+ });
8
+ const emit = defineEmits(["update:modelValue"]);
9
+ const value = computed({
10
+ get() {
11
+ return props.modelValue;
12
+ },
13
+ set(value2) {
14
+ emit("update:modelValue", value2 || "");
15
+ }
16
+ });
17
+ const isPasswordVisible = ref(false);
18
+ </script>
19
+
20
+ <template>
21
+ <AppTextField
22
+ v-bind="$attrs"
23
+ v-model="value"
24
+ :label="label"
25
+ :type="isPasswordVisible ? 'text' : 'password'"
26
+ :append-inner-icon="isPasswordVisible ? 'tabler-eye-off' : 'tabler-eye'"
27
+ @click:append-inner="isPasswordVisible = !isPasswordVisible"
28
+ />
29
+ </template>
@@ -0,0 +1,11 @@
1
+ type __VLS_Props = {
2
+ modelValue?: string | null;
3
+ label?: string;
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
+ "update:modelValue": (value: string | number) => any;
7
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
8
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ modelValue: [number | string, number | string] | undefined;
3
+ };
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ "update:modelValue": (...args: any[]) => void;
6
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
7
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,48 @@
1
+ <script setup>
2
+ import { ref, watch } from "vue";
3
+ import { useI18n } from "vue-i18n";
4
+ import AppTextField from "./AppTextField.vue";
5
+ import AppLabel from "./AppLabel.vue";
6
+ const { t } = useI18n();
7
+ const props = defineProps({
8
+ modelValue: { type: null, required: true }
9
+ });
10
+ const emits = defineEmits(["update:modelValue"]);
11
+ const from = ref();
12
+ const to = ref();
13
+ watch(
14
+ () => props.modelValue,
15
+ (value) => {
16
+ if (value) {
17
+ from.value = value[0] !== void 0 ? value[0] : void 0;
18
+ to.value = value[1] !== void 0 ? value[1] : void 0;
19
+ } else {
20
+ from.value = void 0;
21
+ to.value = void 0;
22
+ }
23
+ },
24
+ { immediate: true }
25
+ );
26
+ </script>
27
+
28
+ <template>
29
+ <AppLabel
30
+ :class="$attrs.class"
31
+ :label="$attrs.label"
32
+ >
33
+ <div class="d-flex gap-2" style="margin-top: 0.125rem;">
34
+ <AppTextField
35
+ v-model="from"
36
+ :placeholder="t('inputs.from')"
37
+ class="app-font-size-13"
38
+ @input="emits('update:modelValue', [from, to])"
39
+ />
40
+ <AppTextField
41
+ v-model="to"
42
+ class="app-font-size-13"
43
+ :placeholder="t('inputs.to')"
44
+ @input="emits('update:modelValue', [from, to])"
45
+ />
46
+ </div>
47
+ </AppLabel>
48
+ </template>
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ modelValue: [number | string, number | string] | undefined;
3
+ };
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ "update:modelValue": (...args: any[]) => void;
6
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
7
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,23 @@
1
+ type __VLS_Props = {
2
+ tabs: {
3
+ title: string;
4
+ key: string;
5
+ color?: string;
6
+ icon?: string;
7
+ leadingIcon?: string;
8
+ trailingIcon?: string;
9
+ }[];
10
+ };
11
+ declare var __VLS_21: string, __VLS_22: {};
12
+ type __VLS_Slots = {} & {
13
+ [K in NonNullable<typeof __VLS_21>]?: (props: typeof __VLS_22) => any;
14
+ };
15
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
19
+ type __VLS_WithSlots<T, S> = T & {
20
+ new (): {
21
+ $slots: S;
22
+ };
23
+ };
@@ -0,0 +1,35 @@
1
+ <script setup>
2
+ import { ref } from "vue";
3
+ import { VCol, VRow } from "vuetify/components";
4
+ import BaseButton from "./BaseButton.vue";
5
+ defineProps({
6
+ tabs: { type: Array, required: true }
7
+ });
8
+ const activeTab = ref(0);
9
+ const getColor = (index, originalColor) => {
10
+ return index === activeTab.value ? { color: originalColor } : { variant: "plain", color: "secondary" };
11
+ };
12
+ const setActiveTab = (index) => {
13
+ activeTab.value = index;
14
+ };
15
+ </script>
16
+
17
+ <template>
18
+ <div>
19
+ <VRow>
20
+ <VCol v-for="(tab, index) in tabs" :key="`btn-${index}`">
21
+ <BaseButton
22
+ v-bind="{ ...tab, ...getColor(index, tab.color) }"
23
+ class="w-100 h-100 py-2 px-5"
24
+ @click="setActiveTab(index)"
25
+ />
26
+ </VCol>
27
+ </VRow>
28
+
29
+ <div class="h-100 mt-4 w-100">
30
+ <div v-if="activeTab !== null" :key="tabs[activeTab].key" class="h-100 w-100">
31
+ <slot :name="tabs[activeTab].key" />
32
+ </div>
33
+ </div>
34
+ </div>
35
+ </template>
@@ -0,0 +1,23 @@
1
+ type __VLS_Props = {
2
+ tabs: {
3
+ title: string;
4
+ key: string;
5
+ color?: string;
6
+ icon?: string;
7
+ leadingIcon?: string;
8
+ trailingIcon?: string;
9
+ }[];
10
+ };
11
+ declare var __VLS_21: string, __VLS_22: {};
12
+ type __VLS_Slots = {} & {
13
+ [K in NonNullable<typeof __VLS_21>]?: (props: typeof __VLS_22) => any;
14
+ };
15
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
19
+ type __VLS_WithSlots<T, S> = T & {
20
+ new (): {
21
+ $slots: S;
22
+ };
23
+ };
@@ -0,0 +1,18 @@
1
+ import '@vuepic/vue-datepicker/dist/main.css';
2
+ type __VLS_Props = {
3
+ errorMessages?: string | string[];
4
+ showIcon?: boolean;
5
+ hasDefaults?: boolean;
6
+ placeholder?: string;
7
+ valueIn24?: boolean;
8
+ fillInFocus?: boolean;
9
+ hideErrorMessage?: boolean;
10
+ isAppRtl?: boolean;
11
+ };
12
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
+ "update:model-value": (value: string | null) => any;
14
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ "onUpdate:model-value"?: ((value: string | null) => any) | undefined;
16
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
@@ -0,0 +1,370 @@
1
+ <script setup>
2
+ import VueDatePicker from "@vuepic/vue-datepicker";
3
+ import "@vuepic/vue-datepicker/dist/main.css";
4
+ import { computed, onBeforeUnmount, onMounted, ref, watch, useAttrs } from "vue";
5
+ import { VTextField, VMessages } from "vuetify/components";
6
+ import { useI18n } from "vue-i18n";
7
+ import { watchOnce } from "@vueuse/core";
8
+ import { generateUniqueId } from "../../utils/utils";
9
+ const { t } = useI18n();
10
+ const props = defineProps({
11
+ errorMessages: { type: [String, Array], required: false, default: "" },
12
+ showIcon: { type: Boolean, required: false, default: true },
13
+ hasDefaults: { type: Boolean, required: false, default: true },
14
+ placeholder: { type: String, required: false },
15
+ valueIn24: { type: Boolean, required: false, default: true },
16
+ fillInFocus: { type: Boolean, required: false, default: true },
17
+ hideErrorMessage: { type: Boolean, required: false },
18
+ isAppRtl: { type: Boolean, required: false }
19
+ });
20
+ const errors = ref([]);
21
+ const hasError = computed(() => errors.value.length > 0);
22
+ watch(() => props.errorMessages, () => {
23
+ errors.value = props.errorMessages === "object" ? [...props.errorMessages] : props.errorMessages;
24
+ });
25
+ const emit = defineEmits(["update:model-value"]);
26
+ const attrs = useAttrs();
27
+ const time = ref(props.hasDefaults ? {
28
+ hours: (/* @__PURE__ */ new Date()).getHours(),
29
+ minutes: (/* @__PURE__ */ new Date()).getMinutes()
30
+ } : null);
31
+ const inputValue = ref("");
32
+ const ampm = ref("am");
33
+ const resetTime = () => {
34
+ time.value = {};
35
+ };
36
+ const formatTime = (value) => {
37
+ ampm.value = (value?.hours || 0) >= 12 ? "PM" : "AM";
38
+ let adjustedHours = (value?.hours || 0) % 12;
39
+ adjustedHours = adjustedHours === 0 ? 12 : adjustedHours;
40
+ const paddedHours = adjustedHours.toString().padStart(2, "0");
41
+ const paddedMinutes = value?.minutes?.toString().padStart(2, "0");
42
+ inputValue.value = `${paddedHours}:${paddedMinutes} ${ampm.value}`;
43
+ emit("update:model-value", props.valueIn24 ? `${value?.hours?.toString().padStart(2, "0")}:${value?.minutes?.toString().padStart(2, "0")}` : inputValue.value);
44
+ };
45
+ const changeAmPm = (value) => {
46
+ ampm.value = value;
47
+ };
48
+ const guid = generateUniqueId();
49
+ const elementId = computed(() => {
50
+ const attrs2 = useAttrs();
51
+ const _elementIdToken = attrs2.id || attrs2.label;
52
+ return _elementIdToken ? `AppTextField-${_elementIdToken}-${guid}` : `timepicker-${guid}`;
53
+ });
54
+ const initializeTime = (value) => {
55
+ if (value) {
56
+ const initAmPm = value.split(" ")[1]?.toLowerCase();
57
+ const [hours, minutes] = value.split(" ")[0]?.split(":") || [];
58
+ ampm.value = initAmPm;
59
+ time.value = {
60
+ hours: initAmPm === "pm" ? parseInt(hours + 12) : parseInt(hours),
61
+ minutes: parseInt(minutes)
62
+ };
63
+ formatTime(time.value);
64
+ } else {
65
+ formatTime(time.value);
66
+ }
67
+ };
68
+ watchOnce(() => attrs.modelValue, (value) => {
69
+ initializeTime(value);
70
+ }, {
71
+ immediate: true
72
+ });
73
+ const timePicker = ref();
74
+ const isFocus = ref(false);
75
+ const clear = () => {
76
+ timePicker.value.closeMenu();
77
+ };
78
+ const customPosition = () => {
79
+ const timepickerInputElement = document.querySelector(`#${elementId.value}`);
80
+ const rect = timepickerInputElement?.getBoundingClientRect();
81
+ return {
82
+ top: (rect?.top || 0) + window.pageYOffset + (rect?.height || 100) / 2 + 46 / 2,
83
+ left: rect?.left + timepickerInputElement?.offsetWidth / 2 - 120
84
+ };
85
+ };
86
+ const closeMenu = (event) => {
87
+ const vCalendarMenu = document.getElementById(`vc-calendar-container-${elementId.value}`);
88
+ const vCalendarInput = document.getElementById(`${elementId.value}`);
89
+ if (!vCalendarMenu?.contains(event.target) && !vCalendarInput?.contains(event.target)) {
90
+ isFocus.value = false;
91
+ }
92
+ };
93
+ const focusInputField = () => {
94
+ isFocus.value = true;
95
+ if (props.fillInFocus && !inputValue.value) {
96
+ formatTime({
97
+ hours: (/* @__PURE__ */ new Date()).getHours(),
98
+ minutes: (/* @__PURE__ */ new Date()).getMinutes()
99
+ });
100
+ }
101
+ };
102
+ onMounted(() => {
103
+ document.addEventListener("click", closeMenu);
104
+ });
105
+ onBeforeUnmount(() => {
106
+ document.removeEventListener("click", closeMenu);
107
+ });
108
+ </script>
109
+
110
+ <template>
111
+ <div class="d-flex flex-column">
112
+ <div dir="ltr" class="h-100">
113
+ <div dir="ltr" class="d-flex justify-center align-center gap-2 h-100" :class="{
114
+ 'rtl-input': isAppRtl
115
+ }">
116
+ <VTextField
117
+ v-bind="{ ...$attrs }"
118
+ :id="elementId"
119
+ v-model="inputValue"
120
+ :placeholder="placeholder || t('inputs.time')"
121
+ :append-inner-icon="$attrs['append-inner-icon'] || 'tabler-clock'"
122
+ style="padding-block: 0.125rem;"
123
+ dir="ltr"
124
+ hide-details
125
+ maxlength="5"
126
+ :error-messages="errorMessages"
127
+ readonly
128
+ @click="isFocus = true"
129
+ @click:clear="resetTime"
130
+ @focus="focusInputField"
131
+ >
132
+ <template #details>
133
+ <span class="app-h-1" />
134
+ </template>
135
+ </VTextField>
136
+ </div>
137
+ <Teleport to="body">
138
+ <div
139
+ v-if="isFocus"
140
+ :id="`vc-calendar-container-${elementId}`"
141
+ class="position-absolute app-z-1000"
142
+ :style="{
143
+ left: `${customPosition().left - 20}px`,
144
+ top: `${customPosition().top + 10}px`
145
+ }"
146
+ >
147
+ <div class="position-relative">
148
+ <div class="dp-custom-arrow" />
149
+ <VueDatePicker
150
+ :id="`timepicker-${elementId}`"
151
+ ref="timePicker"
152
+ v-model="time"
153
+ time-picker
154
+ class="app-w-150px"
155
+ :auto-position="false"
156
+ auto-apply
157
+ :is-24="false"
158
+ no-hours-overlay
159
+ inline
160
+ no-minutes-overlay
161
+ :hide-input-icon="!showIcon"
162
+ :teleport="true"
163
+ :ui="{
164
+ menu: 'app-dir-ltr'
165
+ }"
166
+ @update:model-value="formatTime"
167
+ @cleared="clear"
168
+ @am-pm-change="changeAmPm"
169
+ >
170
+ <template #am-pm-button="{ toggle, value }">
171
+ <div class="dp__time_col dp__time_col_block dp__time_col_reg_with_button dp__am_bm_col">
172
+ <button
173
+ type="button"
174
+ class="dp__btn dp__inc_dec_button"
175
+ data-test="minutes-time-inc-btn-0"
176
+ aria-label="Change Time"
177
+ tabindex="0"
178
+ @click="toggle"
179
+ >
180
+ <svg
181
+ xmlns="http://www.w3.org/2000/svg"
182
+ width="24"
183
+ height="24"
184
+ viewBox="0 0 24 24"
185
+ fill="none"
186
+ stroke="currentColor"
187
+ stroke-width="2"
188
+ stroke-linecap="round"
189
+ stroke-linejoin="round"
190
+ class="icon icon-tabler icons-tabler-outline icon-tabler-chevron-up"
191
+ ><path stroke="none" d="M0 0h24v24H0z" fill="none" /><path d="M6 15l6 -6l6 6" /></svg>
192
+ </button>
193
+ <button>
194
+ {{ value }}
195
+ </button>
196
+ <button
197
+ type="button"
198
+ class="dp__btn dp__inc_dec_button"
199
+ data-test="minutes-time-dec-btn-0"
200
+ aria-label="Change Time"
201
+ tabindex="0"
202
+ @click="toggle"
203
+ >
204
+ <svg
205
+ xmlns="http://www.w3.org/2000/svg"
206
+ width="24"
207
+ height="24"
208
+ viewBox="0 0 24 24"
209
+ fill="none"
210
+ stroke="currentColor"
211
+ stroke-width="2"
212
+ stroke-linecap="round"
213
+ stroke-linejoin="round"
214
+ class="icon icon-tabler icons-tabler-outline icon-tabler-chevron-down"
215
+ ><path stroke="none" d="M0 0h24v24H0z" fill="none" /><path d="M6 9l6 6l6 -6" /></svg>
216
+ </button>
217
+ </div>
218
+ </template>
219
+ <template #arrow-up>
220
+ <svg
221
+ xmlns="http://www.w3.org/2000/svg"
222
+ width="24"
223
+ height="24"
224
+ viewBox="0 0 24 24"
225
+ fill="none"
226
+ stroke="currentColor"
227
+ stroke-width="2"
228
+ stroke-linecap="round"
229
+ stroke-linejoin="round"
230
+ class="icon icon-tabler icons-tabler-outline icon-tabler-chevron-up"
231
+ ><path stroke="none" d="M0 0h24v24H0z" fill="none" /><path d="M6 15l6 -6l6 6" /></svg>
232
+ </template>
233
+ <template #arrow-down>
234
+ <svg
235
+ xmlns="http://www.w3.org/2000/svg"
236
+ width="24"
237
+ height="24"
238
+ viewBox="0 0 24 24"
239
+ fill="none"
240
+ stroke="currentColor"
241
+ stroke-width="2"
242
+ stroke-linecap="round"
243
+ stroke-linejoin="round"
244
+ class="icon icon-tabler icons-tabler-outline icon-tabler-chevron-down"
245
+ ><path stroke="none" d="M0 0h24v24H0z" fill="none" /><path d="M6 9l6 6l6 -6" /></svg>
246
+ </template>
247
+ </VueDatePicker>
248
+ </div>
249
+ </div>
250
+ </Teleport>
251
+ </div>
252
+
253
+ <VMessages
254
+ v-if="!hideErrorMessage"
255
+ :messages="typeof errors === 'object' ? errors.join(', ') : errors"
256
+ :active="hasError"
257
+ :class="isAppRtl ? 'text-right mr-2' : 'text-left ml-2'"
258
+ />
259
+ </div>
260
+ </template>
261
+
262
+ <style scoped>
263
+ :deep(.v-field__append-inner) {
264
+ color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity));
265
+ }
266
+
267
+ :deep(.v-field__input input) {
268
+ text-align: start !important;
269
+ }
270
+
271
+ /* Apply text-align: end when RTL using the :deep modifier */
272
+ .rtl-input :deep(.v-field__input input) {
273
+ text-align: end !important;
274
+ }
275
+
276
+ :deep(.v-input__control .v-field .v-field__clearable) {
277
+ inset-inline-start: -5px !important;
278
+ }
279
+
280
+ .icon {
281
+ background-color: transparent !important;
282
+ }
283
+ </style>
284
+
285
+ <style>
286
+ .dp-custom-arrow {
287
+ width: 15px;
288
+ height: 15px;
289
+ background: rgba(var(--v-theme-surface));
290
+ position: absolute;
291
+ z-index: 999999;
292
+ border-top: 1px solid rgba(var(--v-theme-gray-300));
293
+ border-left: 1px solid rgba(var(--v-theme-gray-300));
294
+ left: 50%;
295
+ top: -7px;
296
+ transform: translateX(-50%) rotate(45deg);
297
+ }
298
+
299
+ .dp--menu-wrapper {
300
+ box-shadow: var(--vc-shadow-lg) !important;
301
+ }
302
+
303
+ .dp__overlay {
304
+ height: 100px !important;
305
+ }
306
+
307
+ .dp__time_col {
308
+ font-size: 15px !important;
309
+ padding: 0 8px !important;
310
+ }
311
+
312
+ .dp__am_bm_col {
313
+ padding-inline-start: 35px !important;
314
+ padding-inline-end: 5px !important;
315
+ }
316
+
317
+ .dp__time_col_reg_block {
318
+ padding: 0 5px !important;
319
+ }
320
+
321
+ .dp__input_wrap {
322
+ padding: 2px 0 !important;
323
+ }
324
+
325
+ .dp__input {
326
+ --dp-border-color-hover: #000 !important;
327
+ --dp-border-color-focus: rgb(var(--v-theme-primary)) !important;
328
+ height: 44px !important;
329
+ padding-top: 7px;
330
+ padding-bottom: 7px;
331
+ padding-right: 10px;
332
+ padding-left: 10px;
333
+ font-size: 13px !important;
334
+ border-radius: 6px !important;
335
+ border-width: 1px;
336
+ border-style: solid;
337
+ border-color: rgba(var(--v-border-color), 0.35);
338
+ text-align: end !important;
339
+ }
340
+
341
+ .dp__input_focus {
342
+ --dp-border-color-focus: rgb(var(--v-theme-primary)) !important;
343
+ border-color: var(--dp-border-color-focus) !important;
344
+ }
345
+
346
+ .dp--clear-btn {
347
+ opacity: 0;
348
+ inset-inline-end: unset !important;
349
+ inset-inline-start: 2px !important;
350
+ background-color: rgb(var(--v-theme-surface));
351
+ transition: all 0.5s;
352
+ }
353
+ .dp--clear-btn .dp__input_icons {
354
+ padding-left: 6px !important;
355
+ padding-right: 6px !important;
356
+ }
357
+
358
+ .dp__main:active .dp--clear-btn, .dp__main:focus .dp--clear-btn, .dp__main:focus-within .dp--clear-btn {
359
+ opacity: 1 !important;
360
+ transition: all 0.5s;
361
+ }
362
+
363
+ .dp__btn:hover {
364
+ color: rgb(var(--v-theme-on-surface)) !important;
365
+ }
366
+
367
+ .dp__overlay {
368
+ height: fit-content !important;
369
+ }
370
+ </style>
@@ -0,0 +1,18 @@
1
+ import '@vuepic/vue-datepicker/dist/main.css';
2
+ type __VLS_Props = {
3
+ errorMessages?: string | string[];
4
+ showIcon?: boolean;
5
+ hasDefaults?: boolean;
6
+ placeholder?: string;
7
+ valueIn24?: boolean;
8
+ fillInFocus?: boolean;
9
+ hideErrorMessage?: boolean;
10
+ isAppRtl?: boolean;
11
+ };
12
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
+ "update:model-value": (value: string | null) => any;
14
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ "onUpdate:model-value"?: ((value: string | null) => any) | undefined;
16
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
@@ -0,0 +1,70 @@
1
+ import type { FormFilter, Header, ErrorResponseFiled, Pagination, ReplaceableItem } from '../../types';
2
+ type __VLS_Props = {
3
+ headers: Header[];
4
+ formFilters?: FormFilter[];
5
+ url?: string;
6
+ queryParams?: Record<string, string>;
7
+ enableButtons?: boolean;
8
+ enableButtonsFilter?: boolean;
9
+ enablePageSizeOptions?: boolean;
10
+ enableActionButtons?: boolean;
11
+ enableBaseButtons?: boolean;
12
+ secondaryStyle?: boolean;
13
+ replaceNullWithDash?: boolean;
14
+ withoutQueryParams?: boolean;
15
+ showSelect?: boolean;
16
+ returnObject?: boolean;
17
+ stickyActions?: boolean;
18
+ };
19
+ type __VLS_ModelProps = {
20
+ modelValue?: string[];
21
+ };
22
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
23
+ declare var __VLS_19: {}, __VLS_27: {}, __VLS_59: {}, __VLS_101: string | number, __VLS_102: any, __VLS_115: {
24
+ totals: {
25
+ [key: string]: number;
26
+ } | undefined;
27
+ };
28
+ type __VLS_Slots = {} & {
29
+ [K in NonNullable<typeof __VLS_101>]?: (props: typeof __VLS_102) => any;
30
+ } & {
31
+ buttons?: (props: typeof __VLS_19) => any;
32
+ } & {
33
+ filters?: (props: typeof __VLS_27) => any;
34
+ } & {
35
+ 'action-buttons'?: (props: typeof __VLS_59) => any;
36
+ } & {
37
+ 'inside-bottom'?: (props: typeof __VLS_115) => any;
38
+ };
39
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
40
+ filterQueryString: import("vue").ComputedRef<string>;
41
+ isLoading: import("vue").Ref<boolean, boolean> | import("vue").Ref<false, false> | import("vue").Ref<true, true>;
42
+ filters: import("vue").Ref<Record<string, string | number | string[] | [] | number[] | object[] | (string | number | null)[] | null | undefined>, Record<string, string | number | string[] | [] | number[] | object[] | (string | number | null)[] | null | undefined>>;
43
+ refresh: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<{
44
+ status: {
45
+ success: boolean;
46
+ code: number;
47
+ message: string;
48
+ error_key: string;
49
+ errors_list?: ErrorResponseFiled[];
50
+ };
51
+ totals?: {
52
+ [key: string]: number;
53
+ };
54
+ pagination: Pagination;
55
+ rows: ReplaceableItem[];
56
+ }, Error>>;
57
+ totals: import("vue").Ref<Record<string, number>, Record<string, number>>;
58
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
59
+ "update:modelValue": (value: string[]) => any;
60
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
61
+ "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
62
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
63
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
64
+ declare const _default: typeof __VLS_export;
65
+ export default _default;
66
+ type __VLS_WithSlots<T, S> = T & {
67
+ new (): {
68
+ $slots: S;
69
+ };
70
+ };