@cnamts/synapse 1.0.25 → 1.0.26

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 (211) hide show
  1. package/dist/{AutocompleteFilter-D7qBuCAP.js → AutocompleteFilter-BPR-a55G.js} +1 -1
  2. package/dist/{DateFilter-BitMWrMU.js → DateFilter-CknrJWs2.js} +2 -2
  3. package/dist/{NumberFilter-BTLUxw0a.js → NumberFilter-DJ-yNlzv.js} +1 -1
  4. package/dist/{PeriodFilter-B5rUIPAC.js → PeriodFilter-CiB5Oa9Z.js} +1 -1
  5. package/dist/{SelectFilter-l4QnRcuk.js → SelectFilter-EiafX97M.js} +1 -1
  6. package/dist/{TextFilter-C9hj6Qrp.js → TextFilter-BzOmpdxj.js} +1 -1
  7. package/dist/{apLightTheme-DnIM24Lv.js → apLightTheme-DS0Uy44H.js} +20 -16
  8. package/dist/components/Customs/Selects/SyAutocomplete/SyAutocomplete.d.ts +4 -2
  9. package/dist/components/Customs/Selects/SySelect/SySelect.d.ts +60 -289
  10. package/dist/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.d.ts +1 -0
  11. package/dist/components/Customs/SyCheckbox/SyCheckbox.d.ts +1 -0
  12. package/dist/components/Customs/SyRadioGroup/SyRadioGroup.d.ts +1 -0
  13. package/dist/components/Customs/SyTextField/SyTextField.d.ts +2 -4
  14. package/dist/components/DatePicker/CalendarMode/DatePicker.d.ts +50 -49
  15. package/dist/components/DatePicker/ComplexDatePicker/ComplexDatePicker.d.ts +29 -28
  16. package/dist/components/DatePicker/DateTextInput/DateTextInput.d.ts +8 -8
  17. package/dist/components/DatePicker/composables/useDatePickerState.d.ts +3 -3
  18. package/dist/components/DatePicker/composables/useDateTextField.d.ts +2 -2
  19. package/dist/components/DatePicker/composables/useInputBlurHandler.d.ts +2 -2
  20. package/dist/components/DatePicker/types.d.ts +1 -2
  21. package/dist/components/LunarCalendar/useLunarCalendarValidation.d.ts +1 -0
  22. package/dist/components/MonthPicker/MonthPicker.d.ts +1 -1
  23. package/dist/components/MonthPicker/MonthPickerText/MonthPickerInput.d.ts +1 -1
  24. package/dist/components/NirField/NirField.d.ts +8 -4
  25. package/dist/components/NirField/useNirValidation.d.ts +6 -2
  26. package/dist/components/PeriodField/PeriodField.d.ts +102 -102
  27. package/dist/components/PhoneField/PhoneField.d.ts +11 -1
  28. package/dist/components/RangeField/RangeSlider/RangeSlider.d.ts +0 -3
  29. package/dist/components/RatingPicker/EmotionPicker/EmotionPicker.d.ts +3 -1
  30. package/dist/components/RatingPicker/NumberPicker/NumberPicker.d.ts +4 -3
  31. package/dist/components/RatingPicker/RatingPicker.d.ts +18 -5
  32. package/dist/components/RatingPicker/StarsPicker/StarsPicker.d.ts +3 -1
  33. package/dist/components/RatingPicker/tests/RatingPicker.a11y.spect.d.ts +1 -0
  34. package/dist/components/RatingPicker/useRatingFocus.d.ts +18 -0
  35. package/dist/components/Tables/SyServerTable/SyServerTable.d.ts +4 -4
  36. package/dist/components/Tables/SyTable/SyTable.d.ts +4 -4
  37. package/dist/components/Tables/common/SyTablePagination.d.ts +152 -364
  38. package/dist/components/Tables/common/TableHeader.d.ts +1 -1
  39. package/dist/components/Tables/common/filters/DateFilter.d.ts +4 -4
  40. package/dist/composables/date/useDateInitializationDayjs.d.ts +3 -1
  41. package/dist/composables/unifyValidation/useCustomValidation.d.ts +3 -1
  42. package/dist/composables/unifyValidation/useValidation.d.ts +12 -6
  43. package/dist/composables/unifyValidation/useVuetifyValidation.d.ts +1 -1
  44. package/dist/composables/validation/useValidation.d.ts +1 -0
  45. package/dist/design-system-v3.js +2 -2
  46. package/dist/designTokens/tokens/amelipro/apLightTheme.d.ts +2 -0
  47. package/dist/designTokens/tokens/cnam/cnamLightTheme.d.ts +2 -0
  48. package/dist/{main-Cpx8Co6H.js → main-BsJ9ec3i.js} +9103 -9018
  49. package/dist/synapse.css +1 -1
  50. package/dist/vuetifyConfig.js +1 -1
  51. package/package.json +8 -7
  52. package/src/assets/overrides/_icons.scss +0 -13
  53. package/src/assets/overrides/_otp.scss +0 -1
  54. package/src/components/Accordion/Accordion.vue +2 -0
  55. package/src/components/CookiesSelection/CookiesInformation/CookiesInformation.vue +2 -1
  56. package/src/components/CookiesSelection/CookiesSelection.vue +2 -1
  57. package/src/components/CopyBtn/CopyBtn.vue +9 -0
  58. package/src/components/Customs/Selects/SyAutocomplete/SyAutocomplete.vue +1 -1
  59. package/src/components/Customs/Selects/SySelect/SySelect.stories.ts +413 -96
  60. package/src/components/Customs/Selects/SySelect/SySelect.vue +270 -225
  61. package/src/components/Customs/Selects/SySelect/tests/SySelect.spec.ts +245 -6
  62. package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.vue +3 -3
  63. package/src/components/Customs/SyCheckbox/SyCheckbox.vue +23 -2
  64. package/src/components/Customs/SyRadioGroup/SyRadioGroup.vue +23 -5
  65. package/src/components/Customs/SyTabs/SyTabs.stories.ts +5 -5
  66. package/src/components/Customs/SyTabs/config.ts +3 -3
  67. package/src/components/Customs/SyTextField/SyTextField.vue +31 -4
  68. package/src/components/DatePicker/CalendarMode/DatePicker.stories.ts +1 -1
  69. package/src/components/DatePicker/CalendarMode/DatePicker.vue +17 -14
  70. package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.stories.ts +1 -1
  71. package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.vue +8 -7
  72. package/src/components/DatePicker/ComplexDatePicker/tests/ComplexDatePicker.spec.ts +1 -1
  73. package/src/components/DatePicker/DatePickerValidationExample/DatePickerValidation.stories.ts +1 -1
  74. package/src/components/DatePicker/DateTextInput/DateTextInput.vue +57 -23
  75. package/src/components/DatePicker/DateTextInput/NoCalendar.stories.ts +1 -1
  76. package/src/components/DatePicker/composables/useDatePickerState.ts +33 -14
  77. package/src/components/DatePicker/composables/useDateRangeInput.ts +2 -1
  78. package/src/components/DatePicker/composables/useDateSelection.ts +2 -1
  79. package/src/components/DatePicker/composables/useDateTextField.ts +2 -2
  80. package/src/components/DatePicker/composables/useInputBlurHandler.ts +2 -2
  81. package/src/components/DatePicker/types.ts +1 -2
  82. package/src/components/DialogBox/DialogBox.stories.ts +8 -8
  83. package/src/components/DialogBox/accessibilite/Accessibility.mdx +86 -22
  84. package/src/components/FilterSideBar/FilterSideBar.vue +2 -1
  85. package/src/components/LangBtn/LangBtn.vue +2 -1
  86. package/src/components/NotificationBar/Notification/Notification.vue +2 -2
  87. package/src/components/PaginatedTable/PaginatedTable.vue +1 -1
  88. package/src/components/PaginatedTable/Pagination.vue +1 -1
  89. package/src/components/PasswordField/PasswordField.vue +7 -3
  90. package/src/components/PhoneField/PhoneField.vue +4 -2
  91. package/src/components/RangeField/RangeSlider/RangeSlider.vue +11 -18
  92. package/src/components/RatingPicker/EmotionPicker/EmotionPicker.vue +32 -48
  93. package/src/components/RatingPicker/EmotionPicker/tests/__snapshots__/EmotionPicker.spec.ts.snap +5 -0
  94. package/src/components/RatingPicker/NumberPicker/NumberPicker.vue +48 -53
  95. package/src/components/RatingPicker/NumberPicker/tests/NumberPicker.spec.ts +2 -1
  96. package/src/components/RatingPicker/NumberPicker/tests/__snapshots__/NumberPicker.spec.ts.snap +40 -13
  97. package/src/components/RatingPicker/RatingPicker.stories.ts +65 -88
  98. package/src/components/RatingPicker/RatingPicker.vue +71 -15
  99. package/src/components/RatingPicker/StarsPicker/StarsPicker.vue +28 -37
  100. package/src/components/RatingPicker/StarsPicker/tests/StarsPicker.spec.ts +1 -1
  101. package/src/components/RatingPicker/StarsPicker/tests/__snapshots__/StarsPicker.spec.ts.snap +5 -0
  102. package/src/components/RatingPicker/accessibilite/Accessibility.mdx +137 -9
  103. package/src/components/RatingPicker/tests/RatingPicker.a11y.spect.ts +123 -0
  104. package/src/components/RatingPicker/tests/RatingPicker.spec.ts +3 -2
  105. package/src/components/RatingPicker/tests/__snapshots__/RatingPicker.spec.ts.snap +40 -11
  106. package/src/components/RatingPicker/useRatingFocus.ts +97 -0
  107. package/src/components/SyTextArea/SyTextArea.vue +32 -1
  108. package/src/components/Tables/SyServerTable/SyServerTable.vue +1 -1
  109. package/src/components/Tables/SyTable/SyTable.vue +1 -1
  110. package/src/components/Tables/common/SyTableFilter.vue +4 -4
  111. package/src/components/Tables/common/SyTablePagination.vue +1 -0
  112. package/src/components/Tables/common/TableHeader.vue +1 -1
  113. package/src/components/Tables/common/filters/DateFilter.vue +2 -2
  114. package/src/composables/date/tests/useDateFormatDayjs.spec.ts +81 -0
  115. package/src/composables/date/tests/{useDateInitialization.spec.ts → useDateInitializationDayjs.spec.ts} +39 -3
  116. package/src/composables/date/useDateInitializationDayjs.ts +4 -1
  117. package/src/composables/unifyValidation/documentationValidationProps.ts +7 -7
  118. package/src/composables/unifyValidation/tests/useCustomValidation.spec.ts +2 -1
  119. package/src/composables/unifyValidation/tests/useValidation.spec.ts +22 -0
  120. package/src/composables/unifyValidation/useCustomValidation.ts +16 -4
  121. package/src/composables/unifyValidation/useValidation.ts +46 -15
  122. package/src/composables/unifyValidation/useVuetifyValidation.ts +2 -2
  123. package/src/composables/useFormFieldErrorHandling.ts +4 -1
  124. package/src/composables/validation/tests/useValidation.spec.ts +2 -2
  125. package/src/composables/validation/useValidation.ts +15 -3
  126. package/src/composantsVuetify/VCard/VCard.mdx +59 -0
  127. package/src/composantsVuetify/VCard/v-card.stories.ts +279 -0
  128. package/src/designTokens/tokens/amelipro/apColors2026.ts +1 -1
  129. package/src/designTokens/tokens/amelipro/apLightTheme.ts +3 -0
  130. package/src/designTokens/tokens/cnam/cnamLightTheme.ts +3 -0
  131. package/src/stories/Accessibilite/Aculturation/SensibilisationAccessibilite.mdx +61 -91
  132. package/src/stories/Accessibilite/AuditDesignSystem.mdx +5 -8
  133. package/src/stories/Accessibilite/AuditEtContreAudit/Exemptions-derogations.mdx +1 -1
  134. package/src/stories/Accessibilite/AuditEtContreAudit/Introduction.mdx +11 -8
  135. package/src/stories/Accessibilite/AuditEtContreAudit/RGAA.mdx +6 -7
  136. package/src/stories/Accessibilite/Introduction.mdx +30 -30
  137. package/src/stories/Accessibilite/KitDePreAudit/Echantillonnage.mdx +168 -78
  138. package/src/stories/Accessibilite/KitDePreAudit/Introduction.mdx +13 -6
  139. package/src/stories/Accessibilite/KitDePreAudit/Outils/Introduction.mdx +66 -45
  140. package/src/stories/Accessibilite/KitDePreAudit/Outils/LecteursDEcran.mdx +23 -49
  141. package/src/stories/Accessibilite/KitDePreAudit/Outils/Tanaguru/FauxPositifs.stories.ts +6 -0
  142. package/src/stories/Accessibilite/KitDePreAudit/Outils/Tanaguru/Utilisation.mdx +7 -19
  143. package/src/stories/Accessibilite/KitDePreAudit/Preaudit.mdx +18 -20
  144. package/src/stories/Components/Components.stories.ts +52 -3
  145. package/dist/AutocompleteFilter-Df9i5mAl.cjs +0 -1
  146. package/dist/DateFilter-BJD6FMev.cjs +0 -1
  147. package/dist/NumberFilter-DGCzCXzI.cjs +0 -1
  148. package/dist/PeriodFilter-DO_ecTZW.cjs +0 -1
  149. package/dist/SelectFilter-CGwcKWLm.cjs +0 -1
  150. package/dist/TextFilter-B8nf7xoK.cjs +0 -1
  151. package/dist/apLightTheme-CEK4iY3f.cjs +0 -1
  152. package/dist/composables/date/useDateFormat.d.ts +0 -26
  153. package/dist/composables/date/useDateInitialization.d.ts +0 -18
  154. package/dist/design-system-v3.umd.cjs +0 -1
  155. package/dist/main-ByDPHpae.cjs +0 -1067
  156. package/dist/tooth-11-D3sLWv2n.cjs +0 -1
  157. package/dist/tooth-12-CXrLuH03.cjs +0 -1
  158. package/dist/tooth-13-BSfo5fpT.cjs +0 -1
  159. package/dist/tooth-14-DMzulx0h.cjs +0 -1
  160. package/dist/tooth-15-BKRFVi-9.cjs +0 -1
  161. package/dist/tooth-16-CpuxAbuM.cjs +0 -1
  162. package/dist/tooth-17-BPoahUdg.cjs +0 -1
  163. package/dist/tooth-18-DhHJz8sy.cjs +0 -1
  164. package/dist/tooth-21-Dgd5hn_X.cjs +0 -1
  165. package/dist/tooth-22-C2Tn19sB.cjs +0 -1
  166. package/dist/tooth-23-C9uaaSGb.cjs +0 -1
  167. package/dist/tooth-24-BrK9UGpf.cjs +0 -1
  168. package/dist/tooth-25-CE_EfGNp.cjs +0 -1
  169. package/dist/tooth-26-Ctv4i9Fy.cjs +0 -1
  170. package/dist/tooth-27-C5J7JkWM.cjs +0 -1
  171. package/dist/tooth-28-Z9oWqjo0.cjs +0 -1
  172. package/dist/tooth-31-BrYqmkTi.cjs +0 -1
  173. package/dist/tooth-32-BNNR0oCZ.cjs +0 -1
  174. package/dist/tooth-33-DuxvqO2J.cjs +0 -1
  175. package/dist/tooth-34-BCSCXMB6.cjs +0 -1
  176. package/dist/tooth-35-BLUXkX88.cjs +0 -1
  177. package/dist/tooth-36-IrKHYqlA.cjs +0 -1
  178. package/dist/tooth-37-BYqpdMwo.cjs +0 -1
  179. package/dist/tooth-38-B_eNXXdu.cjs +0 -1
  180. package/dist/tooth-41-Ddva4Ot8.cjs +0 -1
  181. package/dist/tooth-42-szcDqlM0.cjs +0 -1
  182. package/dist/tooth-43-B3ka6rQm.cjs +0 -1
  183. package/dist/tooth-44-CazyQucj.cjs +0 -1
  184. package/dist/tooth-45-B4HQtc8n.cjs +0 -1
  185. package/dist/tooth-46-BPM40gbG.cjs +0 -1
  186. package/dist/tooth-47-Dvr20dlh.cjs +0 -1
  187. package/dist/tooth-48-Bd8ljGsF.cjs +0 -1
  188. package/dist/tooth-51-OBpwCOF3.cjs +0 -1
  189. package/dist/tooth-52-aKxyHcmq.cjs +0 -1
  190. package/dist/tooth-53-vCwJjTOc.cjs +0 -1
  191. package/dist/tooth-54-DsWu2iFy.cjs +0 -1
  192. package/dist/tooth-55-BxC1X2Dn.cjs +0 -1
  193. package/dist/tooth-61-BbLvxMQi.cjs +0 -1
  194. package/dist/tooth-62-CmTkWczP.cjs +0 -1
  195. package/dist/tooth-63-DI7l_2qI.cjs +0 -1
  196. package/dist/tooth-64-B21sOsJh.cjs +0 -1
  197. package/dist/tooth-65-D2ZC2VEr.cjs +0 -1
  198. package/dist/tooth-71-D473PPO5.cjs +0 -1
  199. package/dist/tooth-72-Drh1wnNu.cjs +0 -1
  200. package/dist/tooth-73-DzlwYI23.cjs +0 -1
  201. package/dist/tooth-74-8aGvcZPg.cjs +0 -1
  202. package/dist/tooth-75-BFK7At_r.cjs +0 -1
  203. package/dist/tooth-81-BZmR-I0M.cjs +0 -1
  204. package/dist/tooth-82-euVfUUZV.cjs +0 -1
  205. package/dist/tooth-83-KV010j64.cjs +0 -1
  206. package/dist/tooth-84-BBg1RjhZ.cjs +0 -1
  207. package/dist/tooth-85-Cr-kc1wM.cjs +0 -1
  208. package/dist/vuetifyConfig.umd.cjs +0 -1
  209. package/src/composables/date/tests/useDateFormat.spec.ts +0 -67
  210. package/src/composables/date/useDateFormat.ts +0 -110
  211. package/src/composables/date/useDateInitialization.ts +0 -92
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as g, computed as p, openBlock as b, createBlock as v } from "vue";
2
- import { S as k, _ as C } from "./main-Cpx8Co6H.js";
2
+ import { S as k, _ as C } from "./main-BsJ9ec3i.js";
3
3
  const F = /* @__PURE__ */ g({
4
4
  __name: "AutocompleteFilter",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as b, computed as D, openBlock as k, createBlock as C } from "vue";
2
- import { D as p, u as v, _ as F } from "./main-Cpx8Co6H.js";
2
+ import { D as p, u as v, _ as F } from "./main-BsJ9ec3i.js";
3
3
  const V = /* @__PURE__ */ b({
4
4
  __name: "DateFilter",
5
5
  props: {
@@ -97,7 +97,7 @@ const V = /* @__PURE__ */ b({
97
97
  }, null, 8, ["modelValue", "label", "heading-level", "clearable", "density", "hide-details", "hide-messages", "variant", "disable-error-handling", "bg-color", "format"]);
98
98
  };
99
99
  }
100
- }), w = /* @__PURE__ */ F(V, [["__scopeId", "data-v-66734b93"]]);
100
+ }), w = /* @__PURE__ */ F(V, [["__scopeId", "data-v-d78d05fe"]]);
101
101
  export {
102
102
  w as default
103
103
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as k, ref as h, watch as x, computed as T, openBlock as V, createElementBlock as F, createVNode as w } from "vue";
2
- import { b as S, _ as D } from "./main-Cpx8Co6H.js";
2
+ import { b as S, _ as D } from "./main-BsJ9ec3i.js";
3
3
  const E = { class: "number-filter-container" }, B = /* @__PURE__ */ k({
4
4
  __name: "NumberFilter",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as b, computed as h, openBlock as p, createBlock as k } from "vue";
2
- import { P as C, _ as F } from "./main-Cpx8Co6H.js";
2
+ import { P as C, _ as F } from "./main-BsJ9ec3i.js";
3
3
  const V = /* @__PURE__ */ b({
4
4
  __name: "PeriodFilter",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as C, computed as c, ref as F, openBlock as S, createElementBlock as A, createVNode as O } from "vue";
2
- import { a as B, _ as E } from "./main-Cpx8Co6H.js";
2
+ import { a as B, _ as E } from "./main-BsJ9ec3i.js";
3
3
  const D = {
4
4
  emptyValue: "(vide)"
5
5
  }, p = {}, I = { class: "select-filter-wrapper" }, N = /* @__PURE__ */ C({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as C, ref as y, watch as k, computed as T, openBlock as x, createElementBlock as w, createVNode as F } from "vue";
2
- import { b as V, _ as E } from "./main-Cpx8Co6H.js";
2
+ import { b as V, _ as E } from "./main-BsJ9ec3i.js";
3
3
  const S = { class: "text-filter-container" }, B = /* @__PURE__ */ C({
4
4
  __name: "TextFilter",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- const s = {
1
+ const t = {
2
2
  yellow: {
3
3
  darken80: "#302407",
4
4
  darken60: "#60480e",
@@ -125,7 +125,7 @@ const s = {
125
125
  base: "#ffffff"
126
126
  }
127
127
  }, e = {
128
- ...s,
128
+ ...t,
129
129
  orange: {
130
130
  darken80: "#2d100b",
131
131
  darken60: "#5a2017",
@@ -357,7 +357,9 @@ const s = {
357
357
  iconError: n.colors.icon.error,
358
358
  iconOnDark: n.colors.icon.onDark,
359
359
  iconDisabled: n.colors.icon.disabled,
360
- iconDisabledOnDark: n.colors.icon.disabledOnDark
360
+ iconDisabledOnDark: n.colors.icon.disabledOnDark,
361
+ feedbackOnSuccess: t.grey.darken60,
362
+ colorPrimary: t.blue.base
361
363
  }, k = {
362
364
  gap: {
363
365
  0: "0",
@@ -517,7 +519,7 @@ const s = {
517
519
  selectionDisabled: e.white.base
518
520
  }
519
521
  }
520
- }, x = {
522
+ }, m = {
521
523
  primary: e.blue.base,
522
524
  secondary: e.cyan.darken40,
523
525
  accentPrimaryLight: e.blue.lighten20,
@@ -615,20 +617,20 @@ const s = {
615
617
  iconOnDark: a.colors.icon.onDark,
616
618
  iconDisabled: a.colors.icon.disabled,
617
619
  iconDisabledOnDark: a.colors.icon.disabledOnDark
618
- }, m = {
620
+ }, x = {
619
621
  backgroundSurface: e.parma.darken60
620
622
  };
621
- function h(t) {
622
- return t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/([a-zA-Z])(\d)/g, "$1-$2").replace(/_/g, "-").toLowerCase();
623
+ function h(d) {
624
+ return d.replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/([a-zA-Z])(\d)/g, "$1-$2").replace(/_/g, "-").toLowerCase();
623
625
  }
624
- function y(t) {
625
- const d = {};
626
- for (const [l, i] of Object.entries(t))
626
+ function y(d) {
627
+ const s = {};
628
+ for (const [l, i] of Object.entries(d))
627
629
  for (const [b, g] of Object.entries(i)) {
628
630
  const u = `${l}-${b}`.replace(/(\d+)/, "-$1").replace("-base", "");
629
- d[h(u)] = g.toLowerCase();
631
+ s[h(u)] = g.toLowerCase();
630
632
  }
631
- return d;
633
+ return s;
632
634
  }
633
635
  const c = {
634
636
  apBlack: { base: "#000000" },
@@ -694,7 +696,7 @@ const c = {
694
696
  lighten5: "#FCF0D3"
695
697
  }
696
698
  }, f = y(c), r = {
697
- ...s,
699
+ ...t,
698
700
  amber: {
699
701
  darken80: "#502C01",
700
702
  darken60: "#784201",
@@ -932,7 +934,9 @@ const c = {
932
934
  iconError: o.colors.icon.error,
933
935
  iconOnDark: o.colors.icon.onDark,
934
936
  iconDisabled: o.colors.icon.disabled,
935
- iconDisabledOnDark: o.colors.icon.disabledOnDark
937
+ iconDisabledOnDark: o.colors.icon.disabledOnDark,
938
+ feedbackOnSuccess: t.white.base,
939
+ colorPrimary: t.cyan.base
936
940
  };
937
941
  export {
938
942
  e as a,
@@ -943,8 +947,8 @@ export {
943
947
  w as f,
944
948
  k as g,
945
949
  p as h,
946
- x as i,
950
+ m as i,
947
951
  C as j,
948
952
  r as k,
949
- m as p
953
+ x as p
950
954
  };
@@ -155,6 +155,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
155
155
  errors: import('vue').Ref<string[], string[]>;
156
156
  warnings: import('vue').Ref<string[], string[]>;
157
157
  successes: import('vue').Ref<string[], string[]>;
158
+ displaySuccesses: import('vue').ComputedRef<string[]>;
158
159
  hasError: import('vue').ComputedRef<boolean>;
159
160
  hasWarning: import('vue').ComputedRef<boolean>;
160
161
  hasSuccess: import('vue').ComputedRef<boolean>;
@@ -377,7 +378,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
377
378
  readonly color?: import('../../../../types/vuetifyTypes').ColorType | undefined;
378
379
  readonly isClearable?: boolean | undefined;
379
380
  readonly showDivider?: boolean | undefined;
380
- readonly label: string;
381
+ readonly label?: string | undefined;
381
382
  readonly readonly?: boolean | undefined;
382
383
  readonly isActive?: boolean | undefined;
383
384
  readonly baseColor?: string | undefined;
@@ -617,7 +618,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
617
618
  errorMessages: string | readonly string[] | null;
618
619
  maxErrors: string | number;
619
620
  name?: string | undefined;
620
- label?: string | undefined;
621
+ label
622
+ /** @type { [typeof SyIcon, ] } */ ?: string | undefined;
621
623
  readonly: boolean | null;
622
624
  rules: readonly (string | boolean | PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult> | ((value: any) => import('vuetify/lib/composables/validation.mjs').ValidationResult) | ((value: any) => PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult>) | [string, any, (string | undefined)?])[];
623
625
  validateOn?: ("blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit")) | undefined;
@@ -1,10 +1,43 @@
1
- import { nextTick, PropType } from 'vue';
1
+ import { nextTick, Ref } from 'vue';
2
2
  import { ColorType, IconType, VariantStyle } from '@/types/vuetifyTypes';
3
+ import { ValidationRule } from '../../../../composables/validation/useValidation';
4
+ import { FieldValidationProps } from '../../../../composables/unifyValidation/useValidation';
3
5
  export type ItemType = {
4
6
  [key: string]: unknown;
5
7
  };
6
8
  export type SelectItemValueType = Record<string, unknown> | string | number | null | undefined;
7
9
  export type SelectItemArrayType = Array<Record<string, unknown> | string | number>;
10
+ type __VLS_Props = {
11
+ modelValue?: Record<string, unknown> | string | number | null | SelectItemArrayType;
12
+ items?: ItemType[];
13
+ label?: string;
14
+ menuId?: string;
15
+ outlined?: boolean;
16
+ variantStyle?: VariantStyle;
17
+ color?: ColorType;
18
+ textKey?: string;
19
+ plainTextKey?: string;
20
+ valueKey?: string;
21
+ displayAsterisk?: boolean;
22
+ returnObject?: boolean;
23
+ density?: 'default' | 'comfortable' | 'compact';
24
+ bgColor?: string;
25
+ clearable?: boolean;
26
+ hideDetails?: boolean;
27
+ width?: string;
28
+ multiple?: boolean;
29
+ chips?: boolean;
30
+ helpText?: string;
31
+ allowHtml?: boolean;
32
+ autocomplete?: 'on' | 'off' | string;
33
+ prependIcon?: IconType;
34
+ appendIcon?: IconType;
35
+ prependTooltip?: string;
36
+ appendTooltip?: string;
37
+ tooltipLocation?: 'top' | 'bottom' | 'start' | 'end';
38
+ noIcon?: boolean;
39
+ disableClickButton?: boolean;
40
+ } & FieldValidationProps;
8
41
  declare function __VLS_template(): {
9
42
  attrs: Partial<{}>;
10
43
  slots: {
@@ -455,289 +488,15 @@ declare function __VLS_template(): {
455
488
  rootEl: any;
456
489
  };
457
490
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
458
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
459
- modelValue: {
460
- type: PropType<Record<string, unknown> | string | number | null | SelectItemArrayType>;
461
- default: null;
462
- };
463
- items: {
464
- type: PropType<ItemType[]>;
465
- default: () => never[];
466
- };
467
- label: {
468
- type: StringConstructor;
469
- default: string;
470
- };
471
- errorMessages: {
472
- type: PropType<string | readonly string[]>;
473
- default: () => never[];
474
- };
475
- required: {
476
- type: BooleanConstructor;
477
- default: boolean;
478
- };
479
- disabled: {
480
- type: BooleanConstructor;
481
- default: boolean;
482
- };
483
- menuId: {
484
- type: StringConstructor;
485
- default: string;
486
- };
487
- outlined: {
488
- type: BooleanConstructor;
489
- default: boolean;
490
- };
491
- variantStyle: {
492
- type: PropType<VariantStyle | undefined>;
493
- default: undefined;
494
- };
495
- color: {
496
- type: PropType<ColorType>;
497
- default: string;
498
- };
499
- textKey: {
500
- type: StringConstructor;
501
- default: string;
502
- };
503
- plainTextKey: {
504
- type: StringConstructor;
505
- default: string;
506
- };
507
- valueKey: {
508
- type: StringConstructor;
509
- default: string;
510
- };
511
- displayAsterisk: {
512
- type: BooleanConstructor;
513
- default: boolean;
514
- };
515
- returnObject: {
516
- type: BooleanConstructor;
517
- default: boolean;
518
- };
519
- disableErrorHandling: {
520
- type: BooleanConstructor;
521
- default: boolean;
522
- };
523
- density: {
524
- type: PropType<"default" | "comfortable" | "compact" | undefined>;
525
- default: string;
526
- };
527
- bgColor: {
528
- type: StringConstructor;
529
- default: string;
530
- };
531
- readonly: {
532
- type: BooleanConstructor;
533
- default: boolean;
534
- };
535
- clearable: {
536
- type: BooleanConstructor;
537
- default: boolean;
538
- };
539
- hideMessages: {
540
- type: BooleanConstructor;
541
- default: boolean;
542
- };
543
- width: {
544
- type: StringConstructor;
545
- default: string;
546
- };
547
- multiple: {
548
- type: BooleanConstructor;
549
- default: boolean;
550
- };
551
- chips: {
552
- type: BooleanConstructor;
553
- default: boolean;
554
- };
555
- helpText: {
556
- type: StringConstructor;
557
- default: string;
558
- };
559
- allowHtml: {
560
- type: BooleanConstructor;
561
- default: boolean;
562
- };
563
- autocomplete: {
564
- type: PropType<"on" | "off" | undefined | string>;
565
- default: string;
566
- };
567
- prependIcon: {
568
- type: PropType<IconType>;
569
- default: undefined;
570
- };
571
- appendIcon: {
572
- type: PropType<IconType>;
573
- default: undefined;
574
- };
575
- prependTooltip: {
576
- type: StringConstructor;
577
- default: undefined;
578
- };
579
- appendTooltip: {
580
- type: StringConstructor;
581
- default: undefined;
582
- };
583
- tooltipLocation: {
584
- type: PropType<"top" | "bottom" | "start" | "end">;
585
- default: string;
586
- };
587
- noIcon: {
588
- type: BooleanConstructor;
589
- default: boolean;
590
- };
591
- disableClickButton: {
592
- type: BooleanConstructor;
593
- default: boolean;
594
- };
595
- }>, {
596
- isOpen: import('vue').Ref<boolean, boolean>;
491
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
492
+ isOpen: Ref<boolean, boolean>;
597
493
  closeList: (event?: Event) => void;
598
- validateOnSubmit: () => boolean;
494
+ validateOnSubmit: (() => Promise<boolean>) | (() => Promise<boolean>);
599
495
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
600
496
  "update:modelValue": (...args: any[]) => void;
601
497
  "prepend-icon-click": (...args: any[]) => void;
602
498
  "append-icon-click": (...args: any[]) => void;
603
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
604
- modelValue: {
605
- type: PropType<Record<string, unknown> | string | number | null | SelectItemArrayType>;
606
- default: null;
607
- };
608
- items: {
609
- type: PropType<ItemType[]>;
610
- default: () => never[];
611
- };
612
- label: {
613
- type: StringConstructor;
614
- default: string;
615
- };
616
- errorMessages: {
617
- type: PropType<string | readonly string[]>;
618
- default: () => never[];
619
- };
620
- required: {
621
- type: BooleanConstructor;
622
- default: boolean;
623
- };
624
- disabled: {
625
- type: BooleanConstructor;
626
- default: boolean;
627
- };
628
- menuId: {
629
- type: StringConstructor;
630
- default: string;
631
- };
632
- outlined: {
633
- type: BooleanConstructor;
634
- default: boolean;
635
- };
636
- variantStyle: {
637
- type: PropType<VariantStyle | undefined>;
638
- default: undefined;
639
- };
640
- color: {
641
- type: PropType<ColorType>;
642
- default: string;
643
- };
644
- textKey: {
645
- type: StringConstructor;
646
- default: string;
647
- };
648
- plainTextKey: {
649
- type: StringConstructor;
650
- default: string;
651
- };
652
- valueKey: {
653
- type: StringConstructor;
654
- default: string;
655
- };
656
- displayAsterisk: {
657
- type: BooleanConstructor;
658
- default: boolean;
659
- };
660
- returnObject: {
661
- type: BooleanConstructor;
662
- default: boolean;
663
- };
664
- disableErrorHandling: {
665
- type: BooleanConstructor;
666
- default: boolean;
667
- };
668
- density: {
669
- type: PropType<"default" | "comfortable" | "compact" | undefined>;
670
- default: string;
671
- };
672
- bgColor: {
673
- type: StringConstructor;
674
- default: string;
675
- };
676
- readonly: {
677
- type: BooleanConstructor;
678
- default: boolean;
679
- };
680
- clearable: {
681
- type: BooleanConstructor;
682
- default: boolean;
683
- };
684
- hideMessages: {
685
- type: BooleanConstructor;
686
- default: boolean;
687
- };
688
- width: {
689
- type: StringConstructor;
690
- default: string;
691
- };
692
- multiple: {
693
- type: BooleanConstructor;
694
- default: boolean;
695
- };
696
- chips: {
697
- type: BooleanConstructor;
698
- default: boolean;
699
- };
700
- helpText: {
701
- type: StringConstructor;
702
- default: string;
703
- };
704
- allowHtml: {
705
- type: BooleanConstructor;
706
- default: boolean;
707
- };
708
- autocomplete: {
709
- type: PropType<"on" | "off" | undefined | string>;
710
- default: string;
711
- };
712
- prependIcon: {
713
- type: PropType<IconType>;
714
- default: undefined;
715
- };
716
- appendIcon: {
717
- type: PropType<IconType>;
718
- default: undefined;
719
- };
720
- prependTooltip: {
721
- type: StringConstructor;
722
- default: undefined;
723
- };
724
- appendTooltip: {
725
- type: StringConstructor;
726
- default: undefined;
727
- };
728
- tooltipLocation: {
729
- type: PropType<"top" | "bottom" | "start" | "end">;
730
- default: string;
731
- };
732
- noIcon: {
733
- type: BooleanConstructor;
734
- default: boolean;
735
- };
736
- disableClickButton: {
737
- type: BooleanConstructor;
738
- default: boolean;
739
- };
740
- }>> & Readonly<{
499
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
741
500
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
742
501
  "onPrepend-icon-click"?: ((...args: any[]) => any) | undefined;
743
502
  "onAppend-icon-click"?: ((...args: any[]) => any) | undefined;
@@ -746,13 +505,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
746
505
  width: string;
747
506
  color: ColorType;
748
507
  disabled: boolean;
749
- density: "default" | "comfortable" | "compact" | undefined;
750
- prependIcon: IconType;
751
- appendIcon: IconType;
508
+ density: "default" | "comfortable" | "compact";
509
+ prependIcon: "info" | "success" | "warning" | "error" | "close" | "calendar";
510
+ appendIcon: "info" | "success" | "warning" | "error" | "close" | "calendar";
752
511
  readonly: boolean;
753
512
  outlined: boolean;
754
513
  items: ItemType[];
755
- modelValue: string | number | Record<string, unknown> | SelectItemArrayType | null;
514
+ modelValue: Record<string, unknown> | string | number | null | SelectItemArrayType;
756
515
  returnObject: boolean;
757
516
  bgColor: string;
758
517
  multiple: boolean;
@@ -760,23 +519,35 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
760
519
  menuId: string;
761
520
  textKey: string;
762
521
  valueKey: string;
522
+ showSuccessMessages: boolean;
763
523
  disableErrorHandling: boolean;
764
- errorMessages: string | readonly string[];
524
+ errorMessages: string[] | null;
525
+ maxErrors: number;
765
526
  prependTooltip: string;
766
527
  appendTooltip: string;
767
- tooltipLocation: "start" | "end" | "top" | "bottom";
768
- variantStyle: VariantStyle | undefined;
528
+ tooltipLocation: "top" | "bottom" | "start" | "end";
529
+ variantStyle: VariantStyle;
769
530
  displayAsterisk: boolean;
770
531
  noIcon: boolean;
771
532
  disableClickButton: boolean;
772
- autocomplete: string | undefined;
533
+ autocomplete: "on" | "off" | string;
773
534
  helpText: string;
535
+ isValidateOnBlur: boolean;
536
+ useVuetifyValidation: boolean;
537
+ customRules: ValidationRule[];
538
+ customWarningRules: ValidationRule[];
539
+ customSuccessRules: ValidationRule[];
540
+ warningMessages: string[] | null;
541
+ successMessages: string[] | null;
542
+ hasError: boolean;
543
+ hasWarning: boolean;
544
+ hasSuccess: boolean;
545
+ hideDetails: boolean;
774
546
  clearable: boolean;
775
547
  plainTextKey: string;
776
- hideMessages: boolean;
777
548
  chips: boolean;
778
549
  allowHtml: boolean;
779
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
550
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
780
551
  labelRef: HTMLSpanElement;
781
552
  list: ({
782
553
  $: import('vue').ComponentInternalInstance;
@@ -32,6 +32,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
32
32
  errors: import('vue').Ref<string[], string[]>;
33
33
  warnings: import('vue').Ref<string[], string[]>;
34
34
  successes: import('vue').Ref<string[], string[]>;
35
+ displaySuccesses: import('vue').ComputedRef<string[]>;
35
36
  hasError: import('vue').ComputedRef<boolean>;
36
37
  hasWarning: import('vue').ComputedRef<boolean>;
37
38
  hasSuccess: import('vue').ComputedRef<boolean>;
@@ -639,6 +639,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
639
639
  errors: import('vue').Ref<string[], string[]>;
640
640
  warnings: import('vue').Ref<string[], string[]>;
641
641
  successes: import('vue').Ref<string[], string[]>;
642
+ displaySuccesses: import('vue').ComputedRef<string[]>;
642
643
  hasError: import('vue').ComputedRef<boolean>;
643
644
  hasWarning: import('vue').ComputedRef<boolean>;
644
645
  hasSuccess: import('vue').ComputedRef<boolean>;
@@ -607,6 +607,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
607
607
  errors: import('vue').Ref<string[], string[]>;
608
608
  warnings: import('vue').Ref<string[], string[]>;
609
609
  successes: import('vue').Ref<string[], string[]>;
610
+ displaySuccesses: import('vue').ComputedRef<string[]>;
610
611
  hasError: import('vue').ComputedRef<boolean>;
611
612
  hasWarning: import('vue').ComputedRef<boolean>;
612
613
  hasSuccess: import('vue').ComputedRef<boolean>;
@@ -533,8 +533,7 @@ declare function __VLS_template(): {
533
533
  }) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
534
534
  [key: string]: any;
535
535
  }>[]) | undefined;
536
- loader
537
- /** @type { [typeof SyIcon, ] } */ ?: ((arg: import('vuetify/lib/composables/loader.mjs').LoaderSlotProps) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
536
+ loader?: ((arg: import('vuetify/lib/composables/loader.mjs').LoaderSlotProps) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
538
537
  [key: string]: any;
539
538
  }>[]) | undefined;
540
539
  default?: ((arg: import('vuetify/lib/components/VField/VField.mjs').VFieldSlot) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
@@ -2053,8 +2052,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
2053
2052
  }) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
2054
2053
  [key: string]: any;
2055
2054
  }>[]) | undefined;
2056
- loader
2057
- /** @type { [typeof SyIcon, ] } */ ?: ((arg: import('vuetify/lib/composables/loader.mjs').LoaderSlotProps) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
2055
+ loader?: ((arg: import('vuetify/lib/composables/loader.mjs').LoaderSlotProps) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
2058
2056
  [key: string]: any;
2059
2057
  }>[]) | undefined;
2060
2058
  default?: ((arg: import('vuetify/lib/components/VField/VField.mjs').VFieldSlot) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {