@winchsa/ui 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (305) hide show
  1. package/README.md +166 -0
  2. package/dist/components/Breadcrumbs.vue +46 -0
  3. package/dist/components/Breadcrumbs.vue.d.ts +6 -0
  4. package/dist/components/Drawer.vue +60 -0
  5. package/dist/components/Drawer.vue.d.ts +44 -0
  6. package/dist/components/IconBtn.vue +18 -0
  7. package/dist/components/IconBtn.vue.d.ts +30 -0
  8. package/dist/components/Modal.vue +155 -0
  9. package/dist/components/Modal.vue.d.ts +0 -0
  10. package/dist/components/SiteTitle.vue +14 -0
  11. package/dist/components/SiteTitle.vue.d.ts +2 -0
  12. package/dist/components/Toaster.vue +19 -0
  13. package/dist/components/Toaster.vue.d.ts +5 -0
  14. package/dist/components/cards/CheckboxesCard.vue +76 -0
  15. package/dist/components/cards/CheckboxesCard.vue.d.ts +20 -0
  16. package/dist/components/cards/HeaderCard.vue +31 -0
  17. package/dist/components/cards/HeaderCard.vue.d.ts +8 -0
  18. package/dist/components/cards/ImageCard.vue +73 -0
  19. package/dist/components/cards/ImageCard.vue.d.ts +63 -0
  20. package/dist/components/cards/InputCard.vue +60 -0
  21. package/dist/components/cards/InputCard.vue.d.ts +41 -0
  22. package/dist/components/cards/StaticCard.vue +37 -0
  23. package/dist/components/cards/StaticCard.vue.d.ts +33 -0
  24. package/dist/components/core/AppBarSearch.vue +345 -0
  25. package/dist/components/core/AppBarSearch.vue.d.ts +1587 -0
  26. package/dist/components/core/AppDrawerHeaderSection.vue +21 -0
  27. package/dist/components/core/AppDrawerHeaderSection.vue.d.ts +30 -0
  28. package/dist/components/core/AppSearchHeader.vue +72 -0
  29. package/dist/components/core/AppSearchHeader.vue.d.ts +7 -0
  30. package/dist/components/core/AppStepper.vue +232 -0
  31. package/dist/components/core/AppStepper.vue.d.ts +25 -0
  32. package/dist/components/core/CustomizerSection.vue +19 -0
  33. package/dist/components/core/CustomizerSection.vue.d.ts +25 -0
  34. package/dist/components/core/DialogCloseBtn.vue +20 -0
  35. package/dist/components/core/DialogCloseBtn.vue.d.ts +9 -0
  36. package/dist/components/core/MoreBtn.vue +27 -0
  37. package/dist/components/core/MoreBtn.vue.d.ts +25 -0
  38. package/dist/components/core/ScrollToTop.vue +39 -0
  39. package/dist/components/core/ScrollToTop.vue.d.ts +2 -0
  40. package/dist/components/core/app-form-elements/AppCombobox.vue +67 -0
  41. package/dist/components/core/app-form-elements/AppCombobox.vue.d.ts +0 -0
  42. package/dist/components/core/app-form-elements/AppSelect.vue +98 -0
  43. package/dist/components/core/app-form-elements/AppSelect.vue.d.ts +0 -0
  44. package/dist/components/core/app-form-elements/AppSwitch.vue +59 -0
  45. package/dist/components/core/app-form-elements/AppSwitch.vue.d.ts +27 -0
  46. package/dist/components/core/app-form-elements/AppTextField.vue +66 -0
  47. package/dist/components/core/app-form-elements/AppTextField.vue.d.ts +26 -0
  48. package/dist/components/core/app-form-elements/AppTextarea.vue +69 -0
  49. package/dist/components/core/app-form-elements/AppTextarea.vue.d.ts +26 -0
  50. package/dist/components/core/app-form-elements/CustomCheckboxes.vue +69 -0
  51. package/dist/components/core/app-form-elements/CustomCheckboxes.vue.d.ts +39 -0
  52. package/dist/components/core/app-form-elements/CustomCheckboxesWithIcon.vue +80 -0
  53. package/dist/components/core/app-form-elements/CustomCheckboxesWithIcon.vue.d.ts +39 -0
  54. package/dist/components/core/app-form-elements/CustomCheckboxesWithImage.vue +67 -0
  55. package/dist/components/core/app-form-elements/CustomCheckboxesWithImage.vue.d.ts +15 -0
  56. package/dist/components/core/app-form-elements/CustomRadios.vue +69 -0
  57. package/dist/components/core/app-form-elements/CustomRadios.vue.d.ts +40 -0
  58. package/dist/components/core/app-form-elements/CustomRadiosWithIcon.vue +98 -0
  59. package/dist/components/core/app-form-elements/CustomRadiosWithIcon.vue.d.ts +45 -0
  60. package/dist/components/core/app-form-elements/CustomRadiosWithImage.vue +69 -0
  61. package/dist/components/core/app-form-elements/CustomRadiosWithImage.vue.d.ts +53 -0
  62. package/dist/components/core/cards/AppCard.vue +45 -0
  63. package/dist/components/core/cards/AppCard.vue.d.ts +26 -0
  64. package/dist/components/core/cards/AppCardActions.vue +126 -0
  65. package/dist/components/core/cards/AppCardActions.vue.d.ts +79 -0
  66. package/dist/components/core/cards/CardStatisticsHorizontal.vue +29 -0
  67. package/dist/components/core/cards/CardStatisticsHorizontal.vue.d.ts +10 -0
  68. package/dist/components/forms/Accordion.vue +43 -0
  69. package/dist/components/forms/Accordion.vue.d.ts +35 -0
  70. package/dist/components/forms/AppLabel.vue +47 -0
  71. package/dist/components/forms/AppLabel.vue.d.ts +36 -0
  72. package/dist/components/forms/AppLink.vue +50 -0
  73. package/dist/components/forms/AppLink.vue.d.ts +27 -0
  74. package/dist/components/forms/AppNumberField.vue +85 -0
  75. package/dist/components/forms/AppNumberField.vue.d.ts +45 -0
  76. package/dist/components/forms/AppOtpInput.vue +84 -0
  77. package/dist/components/forms/AppOtpInput.vue.d.ts +16 -0
  78. package/dist/components/forms/AttachmentCropperInput.vue +228 -0
  79. package/dist/components/forms/AttachmentCropperInput.vue.d.ts +25 -0
  80. package/dist/components/forms/AttachmentInput.vue +116 -0
  81. package/dist/components/forms/AttachmentInput.vue.d.ts +20 -0
  82. package/dist/components/forms/AutocompleteInput.vue +759 -0
  83. package/dist/components/forms/AutocompleteInput.vue.d.ts +0 -0
  84. package/dist/components/forms/BankSelect.vue +43 -0
  85. package/dist/components/forms/BankSelect.vue.d.ts +19 -0
  86. package/dist/components/forms/BaseButton.vue +42 -0
  87. package/dist/components/forms/BaseButton.vue.d.ts +31 -0
  88. package/dist/components/forms/CounterInput.vue +71 -0
  89. package/dist/components/forms/CounterInput.vue.d.ts +15 -0
  90. package/dist/components/forms/DatePicker.vue +400 -0
  91. package/dist/components/forms/DatePicker.vue.d.ts +34 -0
  92. package/dist/components/forms/DatePickerRange.vue +129 -0
  93. package/dist/components/forms/DatePickerRange.vue.d.ts +23 -0
  94. package/dist/components/forms/DraggedUploadFile.vue +120 -0
  95. package/dist/components/forms/DraggedUploadFile.vue.d.ts +10 -0
  96. package/dist/components/forms/ImageCardInput.vue +234 -0
  97. package/dist/components/forms/ImageCardInput.vue.d.ts +0 -0
  98. package/dist/components/forms/InputValidationWrapper.vue +24 -0
  99. package/dist/components/forms/InputValidationWrapper.vue.d.ts +33 -0
  100. package/dist/components/forms/LicensePlateInput.vue +159 -0
  101. package/dist/components/forms/LicensePlateInput.vue.d.ts +16 -0
  102. package/dist/components/forms/ManualDate.vue +262 -0
  103. package/dist/components/forms/ManualDate.vue.d.ts +17 -0
  104. package/dist/components/forms/MobileInput.vue +118 -0
  105. package/dist/components/forms/MobileInput.vue.d.ts +49 -0
  106. package/dist/components/forms/PasswordInput.vue +29 -0
  107. package/dist/components/forms/PasswordInput.vue.d.ts +13 -0
  108. package/dist/components/forms/RangeInput.vue +48 -0
  109. package/dist/components/forms/RangeInput.vue.d.ts +5 -0
  110. package/dist/components/forms/Tabs.vue +35 -0
  111. package/dist/components/forms/Tabs.vue.d.ts +42 -0
  112. package/dist/components/forms/TimePicker.vue +370 -0
  113. package/dist/components/forms/TimePicker.vue.d.ts +23 -0
  114. package/dist/components/icons/EndMarker.vue +25 -0
  115. package/dist/components/icons/EndMarker.vue.d.ts +17 -0
  116. package/dist/components/icons/RedXIcon.vue +36 -0
  117. package/dist/components/icons/RedXIcon.vue.d.ts +2 -0
  118. package/dist/components/icons/StarFillIcon.vue +28 -0
  119. package/dist/components/icons/StarFillIcon.vue.d.ts +2 -0
  120. package/dist/components/icons/StartMarker.vue +25 -0
  121. package/dist/components/icons/StartMarker.vue.d.ts +17 -0
  122. package/dist/components/icons/WorkerIcon.vue +39 -0
  123. package/dist/components/icons/WorkerIcon.vue.d.ts +2 -0
  124. package/dist/components/loading/LoadingBar.vue +31 -0
  125. package/dist/components/loading/LoadingBar.vue.d.ts +5 -0
  126. package/dist/components/loading/LoadingDialog.vue +41 -0
  127. package/dist/components/loading/LoadingDialog.vue.d.ts +11 -0
  128. package/dist/components/loading/LoadingItem.vue +66 -0
  129. package/dist/components/loading/LoadingItem.vue.d.ts +47 -0
  130. package/dist/components/table/DataTable.vue +319 -0
  131. package/dist/components/table/DataTable.vue.d.ts +0 -0
  132. package/dist/components/table/EditableDataTable.vue +329 -0
  133. package/dist/components/table/EditableDataTable.vue.d.ts +73 -0
  134. package/dist/components/table/EditableDataTableRow.vue +243 -0
  135. package/dist/components/table/EditableDataTableRow.vue.d.ts +18 -0
  136. package/dist/components/table/FilterGenerator.vue +232 -0
  137. package/dist/components/table/FilterGenerator.vue.d.ts +14 -0
  138. package/dist/components/table/StaticTable.vue +152 -0
  139. package/dist/components/table/StaticTable.vue.d.ts +25 -0
  140. package/dist/components/table/TablePagination.vue +73 -0
  141. package/dist/components/table/TablePagination.vue.d.ts +13 -0
  142. package/dist/composables/use-is-mobile.d.ts +1 -0
  143. package/dist/composables/use-is-mobile.js +10 -0
  144. package/dist/composables/use-is-mobile.mjs +4 -0
  145. package/dist/composables/use-table-filters.d.ts +23 -0
  146. package/dist/composables/use-table-filters.js +196 -0
  147. package/dist/composables/use-table-filters.mjs +183 -0
  148. package/dist/fonts/NotoSans-Medium.ttf +0 -0
  149. package/dist/fonts/NotoSansArabic-Medium.ttf +0 -0
  150. package/dist/fonts/saudi_riyal_symbol/saudi_riyal_symbol.eot +0 -0
  151. package/dist/fonts/saudi_riyal_symbol/saudi_riyal_symbol.svg +9 -0
  152. package/dist/fonts/saudi_riyal_symbol/saudi_riyal_symbol.ttf +0 -0
  153. package/dist/fonts/saudi_riyal_symbol/saudi_riyal_symbol.woff +0 -0
  154. package/dist/fonts/saudi_riyal_symbol/saudi_riyal_symbol.woff2 +0 -0
  155. package/dist/images/avatar.png +0 -0
  156. package/dist/images/sa.svg +1 -0
  157. package/dist/images/successful-registration.svg +15 -0
  158. package/dist/index.d.ts +66 -0
  159. package/dist/index.js +447 -0
  160. package/dist/index.mjs +128 -0
  161. package/dist/styles/@core/scss/base/_components.scss +164 -0
  162. package/dist/styles/@core/scss/base/_dark.scss +16 -0
  163. package/dist/styles/@core/scss/base/_default-layout-w-vertical-nav.scss +106 -0
  164. package/dist/styles/@core/scss/base/_default-layout.scss +16 -0
  165. package/dist/styles/@core/scss/base/_index.scss +47 -0
  166. package/dist/styles/@core/scss/base/_layouts.scss +63 -0
  167. package/dist/styles/@core/scss/base/_misc.scss +20 -0
  168. package/dist/styles/@core/scss/base/_mixins.scss +84 -0
  169. package/dist/styles/@core/scss/base/_route-transitions.scss +70 -0
  170. package/dist/styles/@core/scss/base/_utilities.scss +418 -0
  171. package/dist/styles/@core/scss/base/_utils.scss +100 -0
  172. package/dist/styles/@core/scss/base/_variables.scss +190 -0
  173. package/dist/styles/@core/scss/base/_vertical-nav.scss +264 -0
  174. package/dist/styles/@core/scss/base/libs/_perfect-scrollbar.scss +35 -0
  175. package/dist/styles/@core/scss/base/libs/vuetify/_index.scss +1 -0
  176. package/dist/styles/@core/scss/base/libs/vuetify/_overrides.scss +385 -0
  177. package/dist/styles/@core/scss/base/libs/vuetify/_variables.scss +48 -0
  178. package/dist/styles/@core/scss/base/placeholders/_default-layout-vertical-nav.scss +48 -0
  179. package/dist/styles/@core/scss/base/placeholders/_default-layout.scss +3 -0
  180. package/dist/styles/@core/scss/base/placeholders/_index.scss +5 -0
  181. package/dist/styles/@core/scss/base/placeholders/_misc.scss +7 -0
  182. package/dist/styles/@core/scss/base/placeholders/_nav.scss +26 -0
  183. package/dist/styles/@core/scss/base/placeholders/_vertical-nav.scss +84 -0
  184. package/dist/styles/@core/scss/base/skins/_bordered.scss +60 -0
  185. package/dist/styles/@core/scss/base/skins/_index.scss +1 -0
  186. package/dist/styles/@core/scss/template/_components.scss +1035 -0
  187. package/dist/styles/@core/scss/template/_default-layout-w-vertical-nav.scss +20 -0
  188. package/dist/styles/@core/scss/template/_utilities.scss +20 -0
  189. package/dist/styles/@core/scss/template/_variables.scss +67 -0
  190. package/dist/styles/@core/scss/template/_vertical-nav.scss +41 -0
  191. package/dist/styles/@core/scss/template/index.css +18764 -0
  192. package/dist/styles/@core/scss/template/index.scss +15 -0
  193. package/dist/styles/@core/scss/template/libs/apex-chart.css +90 -0
  194. package/dist/styles/@core/scss/template/libs/apex-chart.scss +99 -0
  195. package/dist/styles/@core/scss/template/libs/shepherd.css +82 -0
  196. package/dist/styles/@core/scss/template/libs/shepherd.scss +88 -0
  197. package/dist/styles/@core/scss/template/libs/vuetify/_variables.scss +461 -0
  198. package/dist/styles/@core/scss/template/libs/vuetify/index.css +741 -0
  199. package/dist/styles/@core/scss/template/libs/vuetify/index.scss +1 -0
  200. package/dist/styles/@core/scss/template/pages/misc.css +16 -0
  201. package/dist/styles/@core/scss/template/pages/misc.scss +20 -0
  202. package/dist/styles/@core/scss/template/placeholders/_default-layout-vertical-nav.scss +9 -0
  203. package/dist/styles/@core/scss/template/placeholders/_index.scss +3 -0
  204. package/dist/styles/@core/scss/template/placeholders/_nav.scss +15 -0
  205. package/dist/styles/@core/scss/template/placeholders/_vertical-nav.scss +18 -0
  206. package/dist/styles/@core/scss/template/skins/_bordered.scss +36 -0
  207. package/dist/styles/@core/scss/template/skins/_index.scss +1 -0
  208. package/dist/styles/@layouts/styles/_classes.scss +3 -0
  209. package/dist/styles/@layouts/styles/_dashboard-layout.scss +43 -0
  210. package/dist/styles/@layouts/styles/_global.scss +10 -0
  211. package/dist/styles/@layouts/styles/_mixins.scss +28 -0
  212. package/dist/styles/@layouts/styles/_placeholders.scss +53 -0
  213. package/dist/styles/@layouts/styles/_rtl.scss +7 -0
  214. package/dist/styles/@layouts/styles/_variables.scss +22 -0
  215. package/dist/styles/@layouts/styles/index.css +14 -0
  216. package/dist/styles/@layouts/styles/index.scss +2 -0
  217. package/dist/styles/assets/scss/styles.css +16099 -0
  218. package/dist/styles/assets/scss/styles.scss +246 -0
  219. package/dist/styles/assets/scss/variables/_template.scss +1 -0
  220. package/dist/styles/assets/scss/variables/_vuetify.scss +1 -0
  221. package/dist/types.d.ts +226 -0
  222. package/dist/utils/apiUrl.d.ts +1 -0
  223. package/dist/utils/apiUrl.js +15 -0
  224. package/dist/utils/apiUrl.mjs +8 -0
  225. package/dist/utils/client.d.ts +9 -0
  226. package/dist/utils/client.js +39 -0
  227. package/dist/utils/client.mjs +25 -0
  228. package/dist/utils/files.d.ts +2 -0
  229. package/dist/utils/files.js +35 -0
  230. package/dist/utils/files.mjs +22 -0
  231. package/dist/utils/formValidation.d.ts +7 -0
  232. package/dist/utils/formValidation.js +20 -0
  233. package/dist/utils/formValidation.mjs +13 -0
  234. package/dist/utils/formatters.d.ts +12 -0
  235. package/dist/utils/formatters.js +84 -0
  236. package/dist/utils/formatters.mjs +56 -0
  237. package/dist/utils/index.d.ts +9 -0
  238. package/dist/utils/index.js +104 -0
  239. package/dist/utils/index.mjs +9 -0
  240. package/dist/utils/queryParams.d.ts +4 -0
  241. package/dist/utils/queryParams.js +26 -0
  242. package/dist/utils/queryParams.mjs +18 -0
  243. package/dist/utils/ruleValidator.d.ts +28 -0
  244. package/dist/utils/ruleValidator.js +158 -0
  245. package/dist/utils/ruleValidator.mjs +144 -0
  246. package/dist/utils/toaster.d.ts +12 -0
  247. package/dist/utils/toaster.js +71 -0
  248. package/dist/utils/toaster.mjs +59 -0
  249. package/dist/utils/utils.d.ts +8 -0
  250. package/dist/utils/utils.js +70 -0
  251. package/dist/utils/utils.mjs +56 -0
  252. package/package.json +79 -0
  253. package/src/styles/@core/scss/base/_components.scss +164 -0
  254. package/src/styles/@core/scss/base/_dark.scss +16 -0
  255. package/src/styles/@core/scss/base/_default-layout-w-vertical-nav.scss +106 -0
  256. package/src/styles/@core/scss/base/_default-layout.scss +16 -0
  257. package/src/styles/@core/scss/base/_index.scss +47 -0
  258. package/src/styles/@core/scss/base/_layouts.scss +63 -0
  259. package/src/styles/@core/scss/base/_misc.scss +20 -0
  260. package/src/styles/@core/scss/base/_mixins.scss +84 -0
  261. package/src/styles/@core/scss/base/_route-transitions.scss +70 -0
  262. package/src/styles/@core/scss/base/_utilities.scss +418 -0
  263. package/src/styles/@core/scss/base/_utils.scss +100 -0
  264. package/src/styles/@core/scss/base/_variables.scss +190 -0
  265. package/src/styles/@core/scss/base/_vertical-nav.scss +264 -0
  266. package/src/styles/@core/scss/base/libs/_perfect-scrollbar.scss +35 -0
  267. package/src/styles/@core/scss/base/libs/vuetify/_index.scss +1 -0
  268. package/src/styles/@core/scss/base/libs/vuetify/_overrides.scss +385 -0
  269. package/src/styles/@core/scss/base/libs/vuetify/_variables.scss +48 -0
  270. package/src/styles/@core/scss/base/placeholders/_default-layout-vertical-nav.scss +48 -0
  271. package/src/styles/@core/scss/base/placeholders/_default-layout.scss +3 -0
  272. package/src/styles/@core/scss/base/placeholders/_index.scss +5 -0
  273. package/src/styles/@core/scss/base/placeholders/_misc.scss +7 -0
  274. package/src/styles/@core/scss/base/placeholders/_nav.scss +26 -0
  275. package/src/styles/@core/scss/base/placeholders/_vertical-nav.scss +84 -0
  276. package/src/styles/@core/scss/base/skins/_bordered.scss +60 -0
  277. package/src/styles/@core/scss/base/skins/_index.scss +1 -0
  278. package/src/styles/@core/scss/template/_components.scss +1035 -0
  279. package/src/styles/@core/scss/template/_default-layout-w-vertical-nav.scss +20 -0
  280. package/src/styles/@core/scss/template/_utilities.scss +20 -0
  281. package/src/styles/@core/scss/template/_variables.scss +67 -0
  282. package/src/styles/@core/scss/template/_vertical-nav.scss +41 -0
  283. package/src/styles/@core/scss/template/index.scss +15 -0
  284. package/src/styles/@core/scss/template/libs/apex-chart.scss +99 -0
  285. package/src/styles/@core/scss/template/libs/shepherd.scss +88 -0
  286. package/src/styles/@core/scss/template/libs/vuetify/_variables.scss +461 -0
  287. package/src/styles/@core/scss/template/libs/vuetify/index.scss +1 -0
  288. package/src/styles/@core/scss/template/pages/misc.scss +20 -0
  289. package/src/styles/@core/scss/template/placeholders/_default-layout-vertical-nav.scss +9 -0
  290. package/src/styles/@core/scss/template/placeholders/_index.scss +3 -0
  291. package/src/styles/@core/scss/template/placeholders/_nav.scss +15 -0
  292. package/src/styles/@core/scss/template/placeholders/_vertical-nav.scss +18 -0
  293. package/src/styles/@core/scss/template/skins/_bordered.scss +36 -0
  294. package/src/styles/@core/scss/template/skins/_index.scss +1 -0
  295. package/src/styles/@layouts/styles/_classes.scss +3 -0
  296. package/src/styles/@layouts/styles/_dashboard-layout.scss +43 -0
  297. package/src/styles/@layouts/styles/_global.scss +10 -0
  298. package/src/styles/@layouts/styles/_mixins.scss +28 -0
  299. package/src/styles/@layouts/styles/_placeholders.scss +53 -0
  300. package/src/styles/@layouts/styles/_rtl.scss +7 -0
  301. package/src/styles/@layouts/styles/_variables.scss +22 -0
  302. package/src/styles/@layouts/styles/index.scss +2 -0
  303. package/src/styles/assets/scss/styles.scss +246 -0
  304. package/src/styles/assets/scss/variables/_template.scss +1 -0
  305. package/src/styles/assets/scss/variables/_vuetify.scss +1 -0
@@ -0,0 +1,15 @@
1
+ import type { GridColumn } from '../../../types/core';
2
+ type __VLS_Props = {
3
+ selectedCheckbox: string[];
4
+ checkboxContent: {
5
+ bgImage: string;
6
+ value: string;
7
+ }[];
8
+ gridColumn?: GridColumn;
9
+ };
10
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
11
+ "update:selectedCheckbox": (value: string[]) => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
13
+ "onUpdate:selectedCheckbox"?: ((value: string[]) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ export default _default;
@@ -0,0 +1,69 @@
1
+ <script setup>
2
+ import { ref, watch, toRaw } from "vue";
3
+ import { VLabel, VRadio, VSpacer, VRadioGroup, VCol, VRow } from "vuetify/components";
4
+ const props = defineProps({
5
+ selectedRadio: { type: String, required: true },
6
+ radioContent: { type: Array, required: true },
7
+ gridColumn: { type: null, required: false }
8
+ });
9
+ const emit = defineEmits(["update:selectedRadio"]);
10
+ const selectedOption = ref(structuredClone(toRaw(props.selectedRadio)));
11
+ watch(selectedOption, () => {
12
+ emit("update:selectedRadio", selectedOption.value);
13
+ });
14
+ </script>
15
+
16
+ <template>
17
+ <VRadioGroup
18
+ v-if="radioContent"
19
+ v-model="selectedOption"
20
+ >
21
+ <VRow>
22
+ <VCol
23
+ v-for="item in radioContent"
24
+ :key="item.title"
25
+ v-bind="gridColumn"
26
+ >
27
+ <VLabel
28
+ class="custom-input custom-radio rounded cursor-pointer"
29
+ :class="selectedOption === item.value ? 'active' : ''"
30
+ >
31
+ <div>
32
+ <VRadio :value="item.value" />
33
+ </div>
34
+ <slot :item="item">
35
+ <div class="flex-grow-1">
36
+ <div class="d-flex align-center mb-1">
37
+ <h6 class="cr-title text-base">
38
+ {{ item.title }}
39
+ </h6>
40
+ <VSpacer />
41
+ <span
42
+ v-if="item.subtitle"
43
+ class="text-disabled text-base"
44
+ >{{ item.subtitle }}</span>
45
+ </div>
46
+ <p class="text-sm mb-0">
47
+ {{ item.desc }}
48
+ </p>
49
+ </div>
50
+ </slot>
51
+ </VLabel>
52
+ </VCol>
53
+ </VRow>
54
+ </VRadioGroup>
55
+ </template>
56
+
57
+ <style scoped>
58
+ .custom-radio {
59
+ display: flex;
60
+ align-items: flex-start;
61
+ gap: 0.375rem;
62
+ }
63
+ .custom-radio .v-radio {
64
+ margin-block-start: -0.25rem;
65
+ }
66
+ .custom-radio .cr-title {
67
+ font-weight: 500;
68
+ }
69
+ </style>
@@ -0,0 +1,40 @@
1
+ import { VLabel, VRadio, VSpacer, VRadioGroup, VCol, VRow } from 'vuetify/components';
2
+ import type { CustomInputContent, GridColumn } from '../../../types/core';
3
+ type __VLS_Props = {
4
+ selectedRadio: string;
5
+ radioContent: CustomInputContent[];
6
+ gridColumn?: GridColumn;
7
+ };
8
+ declare const selectedOption: import("vue").Ref<string, string>;
9
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
10
+ declare var __VLS_22: {
11
+ item: any;
12
+ };
13
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
14
+ default?: (props: typeof __VLS_22) => any;
15
+ }>;
16
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
17
+ VLabel: typeof VLabel;
18
+ VRadio: typeof VRadio;
19
+ VSpacer: typeof VSpacer;
20
+ VRadioGroup: typeof VRadioGroup;
21
+ VCol: typeof VCol;
22
+ VRow: typeof VRow;
23
+ selectedOption: typeof selectedOption;
24
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
25
+ "update:selectedRadio": (value: string) => any;
26
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
27
+ "onUpdate:selectedRadio"?: ((value: string) => any) | undefined;
28
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
30
+ "update:selectedRadio": (value: string) => any;
31
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
32
+ "onUpdate:selectedRadio"?: ((value: string) => any) | undefined;
33
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
35
+ export default _default;
36
+ type __VLS_WithSlots<T, S> = T & {
37
+ new (): {
38
+ $slots: S;
39
+ };
40
+ };
@@ -0,0 +1,98 @@
1
+ <script setup>
2
+ import { ref, watch, toRaw, computed } from "vue";
3
+ import { VLabel, VRadio, VRadioGroup, VCol, VRow, VIcon } from "vuetify/components";
4
+ import { useI18n } from "vue-i18n";
5
+ const { t } = useI18n();
6
+ const props = defineProps({
7
+ selectedRadio: { type: [String, Number], required: true },
8
+ label: { type: String, required: false },
9
+ radioContent: { type: Array, required: true },
10
+ gridColumn: { type: Object, required: false },
11
+ errorMessages: { type: String, required: false },
12
+ rules: { type: Array, required: false }
13
+ });
14
+ const emit = defineEmits(["update:selectedRadio"]);
15
+ const selectedOption = ref(structuredClone(toRaw(props.selectedRadio)));
16
+ watch(selectedOption, () => {
17
+ emit("update:selectedRadio", selectedOption.value);
18
+ });
19
+ watch(() => props.selectedRadio, () => {
20
+ selectedOption.value = props.selectedRadio;
21
+ }, { immediate: true });
22
+ const labelLang = computed(() => props.label ? t("inputs.placeholder_select", { name: t(props.label) }) : "");
23
+ </script>
24
+
25
+ <template>
26
+ <div v-if="radioContent">
27
+ <VLabel
28
+ class="font-weight-bold mb-4 text-body-2 text-high-emphasis"
29
+ :text="labelLang"
30
+ />
31
+
32
+ <VRadioGroup v-model="selectedOption" :rules="rules" :error-messages="errorMessages">
33
+ <VRow>
34
+ <VCol
35
+ v-for="item in radioContent"
36
+ :key="item.title"
37
+ v-bind="gridColumn"
38
+ >
39
+ <VLabel
40
+ class="custom-input custom-radio-icon app-rounded-6 cursor-pointer"
41
+ :class="[selectedOption === item.value ? 'active' : '', errorMessages ? 'border-error' : '']"
42
+ >
43
+ <slot :item="item">
44
+ <div class="d-flex flex-column align-center text-center gap-2">
45
+ <VIcon
46
+ v-bind="item.icon"
47
+ class="text-high-emphasis"
48
+ />
49
+ <img
50
+ :src="item.image"
51
+ alt="radio image"
52
+ class="img-fluid"
53
+ >
54
+ <h6 class="cr-title text-base">
55
+ {{ item.title }}
56
+ </h6>
57
+
58
+ <p v-if="item.desc" class="text-sm mb-0 clamp-text">
59
+ {{ item.desc }}
60
+ </p>
61
+ </div>
62
+ </slot>
63
+
64
+ <div>
65
+ <VRadio :value="item.value" />
66
+ </div>
67
+ </VLabel>
68
+ </VCol>
69
+ </VRow>
70
+ </VRadioGroup>
71
+ </div>
72
+ </template>
73
+
74
+ <style scoped>
75
+ .custom-radio-icon {
76
+ display: flex;
77
+ flex-direction: column;
78
+ gap: 0.375rem;
79
+ }
80
+ .custom-radio-icon .v-radio {
81
+ margin-block-end: -0.25rem;
82
+ }
83
+ .custom-radio-icon .cr-title {
84
+ font-weight: 500;
85
+ }
86
+ .custom-radio-icon img {
87
+ height: 70px;
88
+ }
89
+ </style>
90
+
91
+ <style>
92
+ .custom-radio-icon .v-radio {
93
+ margin-block-end: -0.25rem;
94
+ }
95
+ .custom-radio-icon .v-radio .v-selection-control__wrapper {
96
+ margin-inline-start: 0;
97
+ }
98
+ </style>
@@ -0,0 +1,45 @@
1
+ import { VLabel, VRadio, VRadioGroup, VCol, VRow, VIcon } from 'vuetify/components';
2
+ import type { CustomInputContent, GridColumn } from '../../../types';
3
+ type __VLS_Props = {
4
+ selectedRadio: string | number;
5
+ label?: string;
6
+ radioContent: CustomInputContent[];
7
+ gridColumn?: GridColumn;
8
+ errorMessages?: string;
9
+ rules?: ((value: unknown) => typeof value | string)[];
10
+ };
11
+ declare const selectedOption: import("vue").Ref<string | number, string | number>;
12
+ declare const labelLang: import("vue").ComputedRef<string>;
13
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
14
+ declare var __VLS_21: {
15
+ item: any;
16
+ };
17
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
18
+ default?: (props: typeof __VLS_21) => any;
19
+ }>;
20
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
21
+ VLabel: typeof VLabel;
22
+ VRadio: typeof VRadio;
23
+ VRadioGroup: typeof VRadioGroup;
24
+ VCol: typeof VCol;
25
+ VRow: typeof VRow;
26
+ VIcon: typeof VIcon;
27
+ selectedOption: typeof selectedOption;
28
+ labelLang: typeof labelLang;
29
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
30
+ "update:selectedRadio": (value: string | number) => any;
31
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
32
+ "onUpdate:selectedRadio"?: ((value: string | number) => any) | undefined;
33
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
35
+ "update:selectedRadio": (value: string | number) => any;
36
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
37
+ "onUpdate:selectedRadio"?: ((value: string | number) => any) | undefined;
38
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
39
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
40
+ export default _default;
41
+ type __VLS_WithSlots<T, S> = T & {
42
+ new (): {
43
+ $slots: S;
44
+ };
45
+ };
@@ -0,0 +1,69 @@
1
+ <script setup>
2
+ import { ref, watch, toRaw } from "vue";
3
+ import { VRadioGroup, VRow, VCol, VLabel, VRadio } from "vuetify/components";
4
+ const props = defineProps({
5
+ selectedRadio: { type: String, required: true },
6
+ radioContent: { type: Array, required: true },
7
+ gridColumn: { type: Object, required: false }
8
+ });
9
+ const emit = defineEmits(["update:selectedRadio", "clicked-custom"]);
10
+ const selectedOption = ref(structuredClone(toRaw(props.selectedRadio)));
11
+ watch(selectedOption, () => {
12
+ emit("update:selectedRadio", selectedOption.value);
13
+ });
14
+ watch(() => props.selectedRadio, (val) => {
15
+ selectedOption.value = val;
16
+ });
17
+ </script>
18
+
19
+ <template>
20
+ <VRadioGroup
21
+ v-if="radioContent"
22
+ v-model="selectedOption"
23
+ >
24
+ <VRow>
25
+ <VCol
26
+ v-for="(item, index) in radioContent"
27
+ :key="item.bgImage"
28
+ v-bind="gridColumn"
29
+ :style="{
30
+ maxWidth: $attrs?.['max-width']
31
+ }"
32
+ >
33
+ <VLabel
34
+ class="custom-input custom-radio rounded cursor-pointer w-100"
35
+ :class="selectedOption === item.value ? 'active' : ''"
36
+ @click="item?.type === 'custom' ? emit('clicked-custom') : ''"
37
+ >
38
+ <img
39
+ v-if="item.bgImage"
40
+ :src="item.bgImage"
41
+ alt="bg-img"
42
+ class="custom-radio-image"
43
+ >
44
+ <slot v-else :item="item" :name="index" />
45
+ <VRadio
46
+ v-show="item.bgImage"
47
+ :value="item.value"
48
+ :disabled="item?.type === 'custom'"
49
+ />
50
+ </VLabel>
51
+ </VCol>
52
+ </VRow>
53
+ </VRadioGroup>
54
+ </template>
55
+
56
+ <style scoped>
57
+ .custom-radio {
58
+ padding: 0 !important;
59
+ border-width: 2px !important;
60
+ }
61
+ .custom-radio .custom-radio-image {
62
+ block-size: 100%;
63
+ inline-size: 100%;
64
+ min-inline-size: 100%;
65
+ }
66
+ .custom-radio .v-radio {
67
+ visibility: hidden;
68
+ }
69
+ </style>
@@ -0,0 +1,53 @@
1
+ import { VRadioGroup, VRow, VCol, VLabel, VRadio } from 'vuetify/components';
2
+ import type { GridColumn } from '../../../types';
3
+ type __VLS_Props = {
4
+ selectedRadio: string;
5
+ radioContent: {
6
+ bgImage?: string;
7
+ value: string;
8
+ type?: string;
9
+ }[];
10
+ gridColumn?: GridColumn;
11
+ };
12
+ type __VLS_Emit = {
13
+ (e: 'update:selectedRadio', value: string): void;
14
+ (e: 'clicked-custom'): void;
15
+ };
16
+ declare const emit: __VLS_Emit;
17
+ declare const selectedOption: import("vue").Ref<string, string>;
18
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
19
+ declare var __VLS_23: any, __VLS_24: {
20
+ item: any;
21
+ };
22
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
23
+ [K in NonNullable<typeof __VLS_23>]?: (props: typeof __VLS_24) => any;
24
+ }>;
25
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
26
+ VRadioGroup: typeof VRadioGroup;
27
+ VRow: typeof VRow;
28
+ VCol: typeof VCol;
29
+ VLabel: typeof VLabel;
30
+ VRadio: typeof VRadio;
31
+ emit: typeof emit;
32
+ selectedOption: typeof selectedOption;
33
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
34
+ "update:selectedRadio": (value: string) => any;
35
+ "clicked-custom": () => any;
36
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
37
+ "onUpdate:selectedRadio"?: ((value: string) => any) | undefined;
38
+ "onClicked-custom"?: (() => any) | undefined;
39
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
40
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
41
+ "update:selectedRadio": (value: string) => any;
42
+ "clicked-custom": () => any;
43
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
44
+ "onUpdate:selectedRadio"?: ((value: string) => any) | undefined;
45
+ "onClicked-custom"?: (() => any) | undefined;
46
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
47
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
48
+ export default _default;
49
+ type __VLS_WithSlots<T, S> = T & {
50
+ new (): {
51
+ $slots: S;
52
+ };
53
+ };
@@ -0,0 +1,45 @@
1
+ <script setup>
2
+ import { computed, useSlots } from "vue";
3
+ import { VCard } from "vuetify/components";
4
+ import LoadingBar from "../../loading/LoadingBar.vue";
5
+ defineProps({
6
+ isLoading: { type: Boolean, required: false }
7
+ });
8
+ defineOptions({
9
+ name: "AppCard",
10
+ inheritAttrs: false
11
+ });
12
+ const slots = computed(() => {
13
+ const slots2 = useSlots();
14
+ return Object.keys(slots2).reduce((item, key) => {
15
+ if (key !== "default") {
16
+ item[key] = slots2[key];
17
+ }
18
+ return item;
19
+ }, {});
20
+ });
21
+ </script>
22
+
23
+ <template>
24
+ <VCard v-bind="$attrs">
25
+ <template #default>
26
+ <!-- card content -->
27
+ <slot />
28
+
29
+ <LoadingBar
30
+ v-if="isLoading"
31
+ :is-loading="isLoading"
32
+ />
33
+ </template>
34
+
35
+ <template
36
+ v-for="(_, name) in slots"
37
+ #[name]="slotProps"
38
+ >
39
+ <slot
40
+ :name="name"
41
+ v-bind="slotProps || {}"
42
+ />
43
+ </template>
44
+ </VCard>
45
+ </template>
@@ -0,0 +1,26 @@
1
+ import { VCard } from 'vuetify/components';
2
+ import LoadingBar from '../../loading/LoadingBar.vue';
3
+ type __VLS_Props = {
4
+ isLoading?: boolean;
5
+ };
6
+ declare const slots: import("vue").ComputedRef<Record<string, any>>;
7
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
8
+ declare var __VLS_6: {}, __VLS_12: any, __VLS_13: any;
9
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
10
+ [K in NonNullable<typeof __VLS_12>]?: (props: typeof __VLS_13) => any;
11
+ } & {
12
+ default?: (props: typeof __VLS_6) => any;
13
+ }>;
14
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
15
+ VCard: typeof VCard;
16
+ LoadingBar: typeof LoadingBar;
17
+ slots: typeof slots;
18
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const __VLS_component: 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>;
20
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
21
+ export default _default;
22
+ type __VLS_WithSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,126 @@
1
+ <script setup>
2
+ import { ref } from "vue";
3
+ import { VCard, VCardItem, VIcon, VOverlay, VExpandTransition, VProgressCircular, VCardTitle, VBtn } from "vuetify/components";
4
+ import IconBtn from "../../IconBtn.vue";
5
+ const props = defineProps({
6
+ collapsed: { type: Boolean, required: false, default: false },
7
+ noActions: { type: Boolean, required: false, default: false },
8
+ actionCollapsed: { type: Boolean, required: false, default: false },
9
+ actionRefresh: { type: Boolean, required: false, default: false },
10
+ actionRemove: { type: Boolean, required: false, default: false },
11
+ title: { type: String, required: false, default: void 0 }
12
+ });
13
+ const emit = defineEmits(["collapsed", "refresh", "trash"]);
14
+ defineOptions({
15
+ inheritAttrs: false
16
+ });
17
+ const isContentCollapsed = ref(props.collapsed);
18
+ const isCardRemoved = ref(false);
19
+ const isOverlayVisible = ref(false);
20
+ const hideOverlay = () => {
21
+ isOverlayVisible.value = false;
22
+ };
23
+ const triggerCollapse = () => {
24
+ isContentCollapsed.value = !isContentCollapsed.value;
25
+ emit("collapsed", isContentCollapsed.value);
26
+ };
27
+ const triggerRefresh = () => {
28
+ isOverlayVisible.value = true;
29
+ emit("refresh", hideOverlay);
30
+ };
31
+ const triggeredRemove = () => {
32
+ isCardRemoved.value = true;
33
+ emit("trash");
34
+ };
35
+ </script>
36
+
37
+ <template>
38
+ <VExpandTransition>
39
+ <!-- TODO remove div when transition work with v-card components: https://github.com/vuetifyjs/vuetify/issues/15111 -->
40
+ <div v-if="!isCardRemoved">
41
+ <VCard v-bind="$attrs">
42
+ <VCardItem>
43
+ <VCardTitle v-if="props.title || $slots.title">
44
+ <!-- Title slot and prop -->
45
+ <slot name="title">
46
+ {{ props.title }}
47
+ </slot>
48
+ </VCardTitle>
49
+
50
+ <template #append>
51
+ <!-- Before actions slot -->
52
+ <div>
53
+ <slot name="before-actions" />
54
+
55
+ <!-- SECTION Actions buttons -->
56
+
57
+ <!-- Collapse button -->
58
+ <IconBtn
59
+ v-if="(!(actionRemove || actionRefresh) || actionCollapsed) && !noActions"
60
+ @click="triggerCollapse"
61
+ >
62
+ <VIcon
63
+ size="20"
64
+ icon="tabler-chevron-up"
65
+ :style="{
66
+ transform: isContentCollapsed ? 'rotate(-180deg)' : null
67
+ }"
68
+ style="transition-duration: 0.28s"
69
+ />
70
+ </IconBtn>
71
+
72
+ <!-- Overlay button -->
73
+ <IconBtn
74
+ v-if="(!(actionRemove || actionCollapsed) || actionRefresh) && !noActions"
75
+ @click="triggerRefresh"
76
+ >
77
+ <VIcon
78
+ size="20"
79
+ icon="tabler-refresh"
80
+ />
81
+ </IconBtn>
82
+
83
+ <!-- Close button -->
84
+ <IconBtn
85
+ v-if="(!(actionRefresh || actionCollapsed) || actionRemove) && !noActions"
86
+ @click="triggeredRemove"
87
+ >
88
+ <VIcon
89
+ size="20"
90
+ icon="tabler-x"
91
+ />
92
+ </IconBtn>
93
+ </div>
94
+ <!-- !SECTION -->
95
+ </template>
96
+ </VCardItem>
97
+
98
+ <!-- card content -->
99
+ <VExpandTransition>
100
+ <div
101
+ v-show="!isContentCollapsed"
102
+ class="v-card-content"
103
+ >
104
+ <slot />
105
+ </div>
106
+ </VExpandTransition>
107
+
108
+ <!-- Overlay -->
109
+ <VOverlay
110
+ v-model="isOverlayVisible"
111
+ contained
112
+ persistent
113
+ class="align-center justify-center"
114
+ >
115
+ <VProgressCircular indeterminate />
116
+ </VOverlay>
117
+ </VCard>
118
+ </div>
119
+ </VExpandTransition>
120
+ </template>
121
+
122
+ <style>
123
+ .v-card-item + .v-card-content .v-card-text:first-child {
124
+ padding-block-start: 0;
125
+ }
126
+ </style>
@@ -0,0 +1,79 @@
1
+ import { VCard, VCardItem, VIcon, VOverlay, VExpandTransition, VProgressCircular, VCardTitle } from 'vuetify/components';
2
+ import IconBtn from '../../IconBtn.vue';
3
+ type __VLS_Props = {
4
+ collapsed?: boolean;
5
+ noActions?: boolean;
6
+ actionCollapsed?: boolean;
7
+ actionRefresh?: boolean;
8
+ actionRemove?: boolean;
9
+ title?: string;
10
+ };
11
+ declare const isContentCollapsed: import("vue").Ref<boolean, boolean>;
12
+ declare const isCardRemoved: import("vue").Ref<boolean, boolean>;
13
+ declare const isOverlayVisible: import("vue").Ref<boolean, boolean>;
14
+ declare const triggerCollapse: () => void;
15
+ declare const triggerRefresh: () => void;
16
+ declare const triggeredRemove: () => void;
17
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
18
+ declare var __VLS_18: {}, __VLS_20: {}, __VLS_59: {};
19
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
20
+ title?: (props: typeof __VLS_18) => any;
21
+ } & {
22
+ 'before-actions'?: (props: typeof __VLS_20) => any;
23
+ } & {
24
+ default?: (props: typeof __VLS_59) => any;
25
+ }>;
26
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
27
+ VCard: typeof VCard;
28
+ VCardItem: typeof VCardItem;
29
+ VIcon: typeof VIcon;
30
+ VOverlay: typeof VOverlay;
31
+ VExpandTransition: typeof VExpandTransition;
32
+ VProgressCircular: typeof VProgressCircular;
33
+ VCardTitle: typeof VCardTitle;
34
+ IconBtn: typeof IconBtn;
35
+ isContentCollapsed: typeof isContentCollapsed;
36
+ isCardRemoved: typeof isCardRemoved;
37
+ isOverlayVisible: typeof isOverlayVisible;
38
+ triggerCollapse: typeof triggerCollapse;
39
+ triggerRefresh: typeof triggerRefresh;
40
+ triggeredRemove: typeof triggeredRemove;
41
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
42
+ refresh: (hideOverlay: () => void) => any;
43
+ collapsed: (isContentCollapsed: boolean) => any;
44
+ trash: () => any;
45
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
46
+ onRefresh?: ((hideOverlay: () => void) => any) | undefined;
47
+ onCollapsed?: ((isContentCollapsed: boolean) => any) | undefined;
48
+ onTrash?: (() => any) | undefined;
49
+ }>, {
50
+ title: string;
51
+ collapsed: boolean;
52
+ noActions: boolean;
53
+ actionCollapsed: boolean;
54
+ actionRefresh: boolean;
55
+ actionRemove: boolean;
56
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
57
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
58
+ refresh: (hideOverlay: () => void) => any;
59
+ collapsed: (isContentCollapsed: boolean) => any;
60
+ trash: () => any;
61
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
62
+ onRefresh?: ((hideOverlay: () => void) => any) | undefined;
63
+ onCollapsed?: ((isContentCollapsed: boolean) => any) | undefined;
64
+ onTrash?: (() => any) | undefined;
65
+ }>, {
66
+ title: string;
67
+ collapsed: boolean;
68
+ noActions: boolean;
69
+ actionCollapsed: boolean;
70
+ actionRefresh: boolean;
71
+ actionRemove: boolean;
72
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
73
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
74
+ export default _default;
75
+ type __VLS_WithSlots<T, S> = T & {
76
+ new (): {
77
+ $slots: S;
78
+ };
79
+ };