@nside/wefa 0.4.4 → 0.4.6

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 (231) hide show
  1. package/README.md +3 -1
  2. package/dist/LegalConsent-BxOWAO0s.js +126 -0
  3. package/dist/LegalConsent-ChW-GYBv.cjs +1 -0
  4. package/dist/LegalDocument-BM4HLw9A.js +1580 -0
  5. package/dist/LegalDocument-hhYW9BBO.cjs +114 -0
  6. package/dist/LoginView-BpDNpbMQ.cjs +1 -0
  7. package/dist/LoginView-bUKvV6JV.js +17 -0
  8. package/dist/LogoutView-BrAt0b2J.js +16 -0
  9. package/dist/LogoutView-D7D3LcfL.cjs +1 -0
  10. package/dist/angledown-DgMf_Vjv.cjs +2 -0
  11. package/dist/angledown-igq2UW-u.js +46 -0
  12. package/dist/badge-2r_VjcsG.js +102 -0
  13. package/dist/badge-DPwocFJ8.cjs +76 -0
  14. package/dist/basecomponent-CGerMr_k.cjs +146 -0
  15. package/dist/basecomponent-CRTLSsqZ.js +1278 -0
  16. package/dist/baseeditableholder-BEn83TQE.js +126 -0
  17. package/dist/baseeditableholder-Q1_XheNU.cjs +1 -0
  18. package/dist/baseicon-Ct8wtBEp.cjs +34 -0
  19. package/dist/baseicon-DdvhP0UT.js +90 -0
  20. package/dist/baseinput-B6KUYtrd.js +37 -0
  21. package/dist/baseinput-D8710HSg.cjs +1 -0
  22. package/dist/bff/openapi.yaml +7 -0
  23. package/dist/button-M3QREAcT.cjs +651 -0
  24. package/dist/button-xI3Wu15Z.js +311 -0
  25. package/dist/calendar-B8nJAQne.js +2891 -0
  26. package/dist/calendar-CW9WbT3C.cjs +477 -0
  27. package/dist/card-BXosepCe.js +57 -0
  28. package/dist/card-Db30JagR.cjs +32 -0
  29. package/dist/check-BYTdkWQh.js +46 -0
  30. package/dist/check-D4kxzECF.cjs +2 -0
  31. package/dist/checkbox-BIDoCr_X.cjs +142 -0
  32. package/dist/checkbox-TAWN7HJG.js +323 -0
  33. package/dist/chevrondown-DLIH6sRy.cjs +2 -0
  34. package/dist/chevrondown-v3qKRLEG.js +46 -0
  35. package/dist/chevronleft-DMbyAEgw.cjs +2 -0
  36. package/dist/chevronleft-dQlHS1Vs.js +46 -0
  37. package/dist/chevronright-B3qtGWZb.js +46 -0
  38. package/dist/chevronright-BisalZVe.cjs +2 -0
  39. package/dist/chip-CBoKYRL5.js +107 -0
  40. package/dist/chip-CLwNi1p_.cjs +54 -0
  41. package/dist/chunk-BK-Lzi7j.cjs +1 -0
  42. package/dist/chunk-DgQ9yJBH.js +17 -0
  43. package/dist/classnames-4RuV7Ryo.js +19 -0
  44. package/dist/classnames-DqVQ5xbt.cjs +1 -0
  45. package/dist/containers.cjs +23 -26
  46. package/dist/containers.d.ts +1 -136
  47. package/dist/containers.js +4476 -5541
  48. package/dist/focustrap-BhHF6zvb.js +558 -0
  49. package/dist/focustrap-C_v0dFmU.cjs +152 -0
  50. package/dist/inputnumber-CvuB8fHc.cjs +195 -0
  51. package/dist/inputnumber-UfGZdwk2.js +983 -0
  52. package/dist/inputtext-B-iUN1cV.js +108 -0
  53. package/dist/inputtext-D2Ay4aYr.cjs +79 -0
  54. package/dist/legalConsent-B3erdrHX.cjs +1 -0
  55. package/dist/legalConsent-kc_KWyR6.js +66 -0
  56. package/dist/lib.cjs +1331 -1
  57. package/dist/lib.d.ts +2 -748
  58. package/dist/lib.js +22977 -35
  59. package/dist/locales-4eL4-K7f.js +3168 -0
  60. package/dist/locales-DzyBr_JU.cjs +5 -0
  61. package/dist/markdown-Cb6J3R4j.js +28 -0
  62. package/dist/markdown-Dxqg6Ggd.cjs +1 -0
  63. package/dist/network-DD_yGfK6.js +2404 -0
  64. package/dist/network-uPe9-HeS.cjs +9 -0
  65. package/dist/network.cjs +1 -1
  66. package/dist/network.d.ts +3 -123
  67. package/dist/network.js +2 -48
  68. package/dist/portal-BbZw4bN9.js +265 -0
  69. package/dist/portal-pIcEXWz1.cjs +2 -0
  70. package/dist/{index-EDm9-cRY.cjs → progressbar-BPR5tRX7.cjs} +2 -2
  71. package/dist/progressbar-CzckKCUr.js +96 -0
  72. package/dist/rating-DsIxcJXU.js +332 -0
  73. package/dist/rating-HfRWRXuI.cjs +61 -0
  74. package/dist/ripple-CoTE8rF8.js +501 -0
  75. package/dist/ripple-UYfqtU0m.cjs +24 -0
  76. package/dist/router-CR-sxf1q.js +34 -0
  77. package/dist/router-qXH6kffG.cjs +1 -0
  78. package/dist/router.cjs +1 -1
  79. package/dist/router.d.ts +1 -74
  80. package/dist/router.js +2 -16
  81. package/dist/select-C05BBcmi.js +2357 -0
  82. package/dist/select-CZouTpLB.cjs +360 -0
  83. package/dist/src/components/AutoroutedBreadcrumb/AutoroutedBreadcrumb.vue.d.ts +9 -0
  84. package/dist/src/components/AutoroutedBreadcrumb/index.d.ts +1 -0
  85. package/dist/src/components/ControlBarComponent/ConfiguredControlBarComponent.vue.d.ts +30 -0
  86. package/dist/src/components/ControlBarComponent/ControlBarComponent.vue.d.ts +17 -0
  87. package/dist/src/components/ControlBarComponent/ControlBarItemComponent.vue.d.ts +20 -0
  88. package/dist/src/components/ControlBarComponent/index.d.ts +3 -0
  89. package/dist/src/components/DashboardComponent/DashboardComponent.vue.d.ts +21 -0
  90. package/dist/src/components/DashboardComponent/DashboardGroupComponent.vue.d.ts +25 -0
  91. package/dist/src/components/DashboardComponent/DashboardPanelComponent.vue.d.ts +26 -0
  92. package/dist/src/components/DashboardComponent/index.d.ts +3 -0
  93. package/dist/src/components/FormComponent/FormComponent.vue.d.ts +32 -0
  94. package/dist/src/components/FormComponent/index.d.ts +1 -0
  95. package/dist/src/components/GanttChartComponent/GanttChartComponent.vue.d.ts +26 -0
  96. package/dist/src/components/GanttChartComponent/GanttChartGrid.vue.d.ts +34 -0
  97. package/dist/src/components/GanttChartComponent/GanttChartHeaderGrid.vue.d.ts +7 -0
  98. package/dist/src/components/GanttChartComponent/GanttChartHeaderLabel.vue.d.ts +6 -0
  99. package/dist/src/components/GanttChartComponent/GanttChartLinksOverlay.vue.d.ts +12 -0
  100. package/dist/src/components/GanttChartComponent/GanttChartRowGrid.vue.d.ts +55 -0
  101. package/dist/src/components/GanttChartComponent/GanttChartRowLabel.vue.d.ts +7 -0
  102. package/dist/src/components/GanttChartComponent/composables/useGanttLinks.d.ts +37 -0
  103. package/dist/src/components/GanttChartComponent/composables/useGanttSizing.d.ts +9 -0
  104. package/dist/src/components/GanttChartComponent/ganttChartLayout.d.ts +42 -0
  105. package/dist/src/components/GanttChartComponent/ganttChartTypes.d.ts +22 -0
  106. package/dist/src/components/GanttChartComponent/index.d.ts +1 -0
  107. package/dist/src/components/NetworkButton/ApiMutationButton.vue.d.ts +3 -0
  108. package/dist/src/components/NetworkButton/ApiQueryButton.vue.d.ts +3 -0
  109. package/dist/src/components/NetworkButton/index.d.ts +3 -0
  110. package/dist/src/components/NetworkButton/types.d.ts +39 -0
  111. package/dist/src/components/NotFound/NotFound.vue.d.ts +26 -0
  112. package/dist/src/components/NotFound/index.d.ts +1 -0
  113. package/dist/src/components/PageComponent/PageComponent.vue.d.ts +22 -0
  114. package/dist/src/components/PageComponent/index.d.ts +1 -0
  115. package/dist/src/components/PlotlyComponent/PlotlyComponent.vue.d.ts +14 -0
  116. package/dist/src/components/PlotlyComponent/PlotlyFromTableComponent.vue.d.ts +16 -0
  117. package/dist/src/components/PlotlyComponent/index.d.ts +2 -0
  118. package/dist/src/components/TableComponent/TableComponent.vue.d.ts +29 -0
  119. package/dist/src/components/TableComponent/index.d.ts +1 -0
  120. package/dist/src/composables/useComponentResolver.d.ts +9 -0
  121. package/dist/src/composables/useValidatorResolver.d.ts +9 -0
  122. package/dist/src/containers/BareContainer/BareContainer.vue.d.ts +8 -0
  123. package/dist/src/containers/BareContainer/index.d.ts +2 -0
  124. package/dist/src/containers/LayoutContainer/LayoutContainer.vue.d.ts +13 -0
  125. package/dist/src/containers/LayoutContainer/MobileNavigationComponent/MobileNavigationComponent.vue.d.ts +7 -0
  126. package/dist/src/containers/LayoutContainer/SideNavigationComponent/MainComponent/MainComponent.vue.d.ts +6 -0
  127. package/dist/src/containers/LayoutContainer/SideNavigationComponent/MainComponent/NavigationLinkComponent.vue.d.ts +11 -0
  128. package/dist/src/containers/LayoutContainer/SideNavigationComponent/SideNavigationComponent.vue.d.ts +7 -0
  129. package/dist/src/containers/LayoutContainer/SideNavigationComponent/TopComponent/TopComponent.vue.d.ts +7 -0
  130. package/dist/src/containers/LayoutContainer/index.d.ts +1 -0
  131. package/dist/src/containers/NavbarContainer/NavbarContainer.vue.d.ts +6 -0
  132. package/dist/src/containers/NavbarContainer/index.d.ts +2 -0
  133. package/dist/src/containers/RoutedTabsComponent/RoutedTabsComponent.vue.d.ts +12 -0
  134. package/dist/src/containers/RoutedTabsComponent/index.d.ts +1 -0
  135. package/dist/src/containers/SideMenuContainer/SideMenuContainer.vue.d.ts +7 -0
  136. package/dist/src/containers/SideMenuContainer/index.d.ts +2 -0
  137. package/dist/src/containers/helpers.d.ts +47 -0
  138. package/dist/src/containers/index.d.ts +6 -0
  139. package/dist/src/lib.d.ts +24 -0
  140. package/dist/src/locales/index.d.ts +30 -0
  141. package/dist/src/network/apiClient.d.ts +32 -0
  142. package/dist/src/network/axios.d.ts +4 -0
  143. package/dist/src/network/index.d.ts +3 -0
  144. package/dist/src/network/typedApiClient.d.ts +58 -0
  145. package/dist/src/plugins/cookies/index.d.ts +51 -0
  146. package/dist/src/plugins/cookies/views/CookieBar.vue.d.ts +2 -0
  147. package/dist/src/plugins/cookies/views/CookiesConsent.vue.d.ts +2 -0
  148. package/dist/src/plugins/index.d.ts +1 -0
  149. package/dist/src/plugins/legalConsent/index.d.ts +89 -0
  150. package/dist/src/plugins/legalConsent/views/LegalConsent.vue.d.ts +2 -0
  151. package/dist/src/plugins/legalConsent/views/LegalDocument.vue.d.ts +8 -0
  152. package/dist/src/router/guards.d.ts +28 -0
  153. package/dist/src/router/index.d.ts +3 -0
  154. package/dist/src/router/libRoutes.d.ts +2 -0
  155. package/dist/src/router/types.d.ts +31 -0
  156. package/dist/src/stores/backend/common.d.ts +17 -0
  157. package/dist/src/stores/backend/constants.d.ts +19 -0
  158. package/dist/src/stores/backend/schemes/jwt.d.ts +22 -0
  159. package/dist/src/stores/backend/schemes/oauth.d.ts +14 -0
  160. package/dist/src/stores/backend/schemes/token.d.ts +20 -0
  161. package/dist/src/stores/backend/types.d.ts +88 -0
  162. package/dist/src/stores/backend.d.ts +5 -0
  163. package/dist/src/stores/darkMode.d.ts +29 -0
  164. package/dist/src/stores/index.d.ts +2 -0
  165. package/dist/src/theme/index.d.ts +2 -0
  166. package/dist/src/theme/nside.d.ts +2 -0
  167. package/dist/src/utils/color.d.ts +33 -0
  168. package/dist/src/utils/componentRegistry.d.ts +15 -0
  169. package/dist/src/utils/markdown.d.ts +24 -0
  170. package/dist/src/utils/translations.d.ts +8 -0
  171. package/dist/src/utils/validatorRegistry.d.ts +8 -0
  172. package/dist/src/views/LoginView.vue.d.ts +5 -0
  173. package/dist/src/views/LogoutView.vue.d.ts +2 -0
  174. package/dist/stores-BAbCgIKW.cjs +1 -0
  175. package/dist/stores-C5CUNzM_.js +203 -0
  176. package/dist/textarea-DUmMHVXf.cjs +84 -0
  177. package/dist/textarea-f6-j7m1N.js +131 -0
  178. package/dist/times--t6-zeg6.js +46 -0
  179. package/dist/times-GcOHYs3E.cjs +2 -0
  180. package/dist/timescircle-CHGzPrwL.cjs +2 -0
  181. package/dist/timescircle-_NJIsGD1.js +48 -0
  182. package/dist/wefa.css +2 -1
  183. package/package.json +42 -35
  184. package/scripts/verify-package-types.mjs +103 -0
  185. package/src/components/DashboardComponent/DashboardGroupComponent.vue +1 -1
  186. package/src/components/NetworkButton/__tests__/ApiMutationButton.test.ts +12 -3
  187. package/src/components/NetworkButton/__tests__/ApiQueryButton.test.ts +12 -3
  188. package/src/containers/LayoutContainer/SideNavigationComponent/MainComponent/NavigationLinkComponent.vue +1 -1
  189. package/src/containers/SideMenuContainer/SideMenuContainer.vue +14 -3
  190. package/src/containers/helpers.ts +1 -1
  191. package/src/router/guards.ts +2 -2
  192. package/src/stores/__tests__/backend/jwt.test.ts +6 -6
  193. package/src/stores/__tests__/backend/oauth.test.ts +1 -1
  194. package/src/stores/__tests__/backend/token.test.ts +5 -5
  195. package/src/stores/backend/schemes/jwt.ts +3 -3
  196. package/src/stores/backend/schemes/token.ts +6 -7
  197. package/dist/LegalConsent-DQ7fkgVc.cjs +0 -1
  198. package/dist/LegalConsent-OLyvuzRY.js +0 -151
  199. package/dist/LegalDocument-B-nntRW7.cjs +0 -109
  200. package/dist/LegalDocument-BKebNzIK.js +0 -1330
  201. package/dist/LoginView-DUPa_PsC.js +0 -24
  202. package/dist/LoginView-Dihs8n_X.cjs +0 -1
  203. package/dist/LogoutView-DAh7MrFi.js +0 -19
  204. package/dist/LogoutView-Fl3nfeJ0.cjs +0 -1
  205. package/dist/apiClient-BHDjT0dU.js +0 -928
  206. package/dist/apiClient-Cr0IvG5Z.cjs +0 -1
  207. package/dist/axios-CZvsFspN.js +0 -1887
  208. package/dist/axios-DMqeKDaq.cjs +0 -6
  209. package/dist/index--_rUTrqU.js +0 -1414
  210. package/dist/index-05ASaj7N.cjs +0 -477
  211. package/dist/index-B7hJ2pku.cjs +0 -61
  212. package/dist/index-BHSxFTgZ.js +0 -49
  213. package/dist/index-BaA_oL1s.cjs +0 -32
  214. package/dist/index-Be5h48vc.js +0 -3530
  215. package/dist/index-Becfy0pF.cjs +0 -2
  216. package/dist/index-CPv4agmV.js +0 -400
  217. package/dist/index-CgAb-gZi.js +0 -89
  218. package/dist/index-DFSkcsx-.cjs +0 -943
  219. package/dist/index-DGUVQqZw.js +0 -208
  220. package/dist/index-DRozw3P8.js +0 -167
  221. package/dist/index-DfCQoHSf.cjs +0 -146
  222. package/dist/index-DkuJMEY1.js +0 -6731
  223. package/dist/index-Dv6jyKbT.js +0 -47
  224. package/dist/index-IGN7_cyg.cjs +0 -2
  225. package/dist/index-lFl6UsTa.js +0 -212
  226. package/dist/index-lQmq7gxp.cjs +0 -54
  227. package/dist/index-t0sdL3f2.cjs +0 -84
  228. package/dist/lib-DZzubLGt.js +0 -26376
  229. package/dist/lib-lTzD7ltX.cjs +0 -2104
  230. package/dist/libRoutes-B-H3e9wZ.js +0 -22
  231. package/dist/libRoutes-Cl3TklhN.cjs +0 -1
@@ -0,0 +1,96 @@
1
+ import { t as e } from "./classnames-4RuV7Ryo.js";
2
+ import { r as t, t as n } from "./basecomponent-CRTLSsqZ.js";
3
+ import { createCommentVNode as r, createElementBlock as i, createTextVNode as a, mergeProps as o, openBlock as s, renderSlot as c, toDisplayString as l } from "vue";
4
+ //#endregion
5
+ //#region node_modules/primevue/progressbar/style/index.mjs
6
+ var u = t.extend({
7
+ name: "progressbar",
8
+ style: "\n .p-progressbar {\n display: block;\n position: relative;\n overflow: hidden;\n height: dt('progressbar.height');\n background: dt('progressbar.background');\n border-radius: dt('progressbar.border.radius');\n }\n\n .p-progressbar-value {\n margin: 0;\n background: dt('progressbar.value.background');\n }\n\n .p-progressbar-label {\n color: dt('progressbar.label.color');\n font-size: dt('progressbar.label.font.size');\n font-weight: dt('progressbar.label.font.weight');\n }\n\n .p-progressbar-determinate .p-progressbar-value {\n height: 100%;\n width: 0%;\n position: absolute;\n display: none;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n transition: width 1s ease-in-out;\n }\n\n .p-progressbar-determinate .p-progressbar-label {\n display: inline-flex;\n }\n\n .p-progressbar-indeterminate .p-progressbar-value::before {\n content: '';\n position: absolute;\n background: inherit;\n inset-block-start: 0;\n inset-inline-start: 0;\n inset-block-end: 0;\n will-change: inset-inline-start, inset-inline-end;\n animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n }\n\n .p-progressbar-indeterminate .p-progressbar-value::after {\n content: '';\n position: absolute;\n background: inherit;\n inset-block-start: 0;\n inset-inline-start: 0;\n inset-block-end: 0;\n will-change: inset-inline-start, inset-inline-end;\n animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;\n animation-delay: 1.15s;\n }\n\n @keyframes p-progressbar-indeterminate-anim {\n 0% {\n inset-inline-start: -35%;\n inset-inline-end: 100%;\n }\n 60% {\n inset-inline-start: 100%;\n inset-inline-end: -90%;\n }\n 100% {\n inset-inline-start: 100%;\n inset-inline-end: -90%;\n }\n }\n @-webkit-keyframes p-progressbar-indeterminate-anim {\n 0% {\n inset-inline-start: -35%;\n inset-inline-end: 100%;\n }\n 60% {\n inset-inline-start: 100%;\n inset-inline-end: -90%;\n }\n 100% {\n inset-inline-start: 100%;\n inset-inline-end: -90%;\n }\n }\n\n @keyframes p-progressbar-indeterminate-anim-short {\n 0% {\n inset-inline-start: -200%;\n inset-inline-end: 100%;\n }\n 60% {\n inset-inline-start: 107%;\n inset-inline-end: -8%;\n }\n 100% {\n inset-inline-start: 107%;\n inset-inline-end: -8%;\n }\n }\n @-webkit-keyframes p-progressbar-indeterminate-anim-short {\n 0% {\n inset-inline-start: -200%;\n inset-inline-end: 100%;\n }\n 60% {\n inset-inline-start: 107%;\n inset-inline-end: -8%;\n }\n 100% {\n inset-inline-start: 107%;\n inset-inline-end: -8%;\n }\n }\n",
9
+ classes: {
10
+ root: function(e) {
11
+ var t = e.instance;
12
+ return ["p-progressbar p-component", {
13
+ "p-progressbar-determinate": t.determinate,
14
+ "p-progressbar-indeterminate": t.indeterminate
15
+ }];
16
+ },
17
+ value: "p-progressbar-value",
18
+ label: "p-progressbar-label"
19
+ }
20
+ }), d = {
21
+ name: "ProgressBar",
22
+ extends: {
23
+ name: "BaseProgressBar",
24
+ extends: n,
25
+ props: {
26
+ value: {
27
+ type: Number,
28
+ default: null
29
+ },
30
+ mode: {
31
+ type: String,
32
+ default: "determinate"
33
+ },
34
+ showValue: {
35
+ type: Boolean,
36
+ default: !0
37
+ }
38
+ },
39
+ style: u,
40
+ provide: function() {
41
+ return {
42
+ $pcProgressBar: this,
43
+ $parentInstance: this
44
+ };
45
+ }
46
+ },
47
+ inheritAttrs: !1,
48
+ computed: {
49
+ progressStyle: function() {
50
+ return {
51
+ width: this.value + "%",
52
+ display: "flex"
53
+ };
54
+ },
55
+ indeterminate: function() {
56
+ return this.mode === "indeterminate";
57
+ },
58
+ determinate: function() {
59
+ return this.mode === "determinate";
60
+ },
61
+ dataP: function() {
62
+ return e({
63
+ determinate: this.determinate,
64
+ indeterminate: this.indeterminate
65
+ });
66
+ }
67
+ }
68
+ }, f = ["aria-valuenow", "data-p"], p = ["data-p"], m = ["data-p"], h = ["data-p"];
69
+ function g(e, t, n, u, d, g) {
70
+ return s(), i("div", o({
71
+ role: "progressbar",
72
+ class: e.cx("root"),
73
+ "aria-valuemin": "0",
74
+ "aria-valuenow": e.value,
75
+ "aria-valuemax": "100",
76
+ "data-p": g.dataP
77
+ }, e.ptmi("root")), [g.determinate ? (s(), i("div", o({
78
+ key: 0,
79
+ class: e.cx("value"),
80
+ style: g.progressStyle,
81
+ "data-p": g.dataP
82
+ }, e.ptm("value")), [e.value != null && e.value !== 0 && e.showValue ? (s(), i("div", o({
83
+ key: 0,
84
+ class: e.cx("label"),
85
+ "data-p": g.dataP
86
+ }, e.ptm("label")), [c(e.$slots, "default", {}, function() {
87
+ return [a(l(e.value + "%"), 1)];
88
+ })], 16, m)) : r("", !0)], 16, p)) : g.indeterminate ? (s(), i("div", o({
89
+ key: 1,
90
+ class: e.cx("value"),
91
+ "data-p": g.dataP
92
+ }, e.ptm("value")), null, 16, h)) : r("", !0)], 16, f);
93
+ }
94
+ d.render = g;
95
+ //#endregion
96
+ export { d as default };
@@ -0,0 +1,332 @@
1
+ import { t as e } from "./classnames-4RuV7Ryo.js";
2
+ import { ht as t, it as n, r } from "./basecomponent-CRTLSsqZ.js";
3
+ import { t as i } from "./baseicon-DdvhP0UT.js";
4
+ import { t as a } from "./baseeditableholder-BEn83TQE.js";
5
+ import { Fragment as o, createBlock as s, createElementBlock as c, createElementVNode as l, mergeProps as u, normalizeClass as d, openBlock as f, renderList as p, renderSlot as m, resolveDynamicComponent as h } from "vue";
6
+ //#region node_modules/@primevue/icons/ban/index.mjs
7
+ var g = {
8
+ name: "BanIcon",
9
+ extends: i
10
+ };
11
+ function _(e) {
12
+ return x(e) || b(e) || y(e) || v();
13
+ }
14
+ function v() {
15
+ throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
16
+ }
17
+ function y(e, t) {
18
+ if (e) {
19
+ if (typeof e == "string") return S(e, t);
20
+ var n = {}.toString.call(e).slice(8, -1);
21
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? S(e, t) : void 0;
22
+ }
23
+ }
24
+ function b(e) {
25
+ if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
26
+ }
27
+ function x(e) {
28
+ if (Array.isArray(e)) return S(e);
29
+ }
30
+ function S(e, t) {
31
+ (t == null || t > e.length) && (t = e.length);
32
+ for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
33
+ return r;
34
+ }
35
+ function C(e, t, n, r, i, a) {
36
+ return f(), c("svg", u({
37
+ width: "14",
38
+ height: "14",
39
+ viewBox: "0 0 14 14",
40
+ fill: "none",
41
+ xmlns: "http://www.w3.org/2000/svg"
42
+ }, e.pti()), _(t[0] ||= [l("path", {
43
+ d: "M7 0C5.61553 0 4.26215 0.410543 3.11101 1.17971C1.95987 1.94888 1.06266 3.04213 0.532846 4.32122C0.00303296 5.6003 -0.13559 7.00776 0.134506 8.36563C0.404603 9.7235 1.07129 10.9708 2.05026 11.9497C3.02922 12.9287 4.2765 13.5954 5.63437 13.8655C6.99224 14.1356 8.3997 13.997 9.67879 13.4672C10.9579 12.9373 12.0511 12.0401 12.8203 10.889C13.5895 9.73785 14 8.38447 14 7C14 5.14348 13.2625 3.36301 11.9497 2.05025C10.637 0.737498 8.85652 0 7 0ZM1.16667 7C1.16549 5.65478 1.63303 4.35118 2.48889 3.31333L10.6867 11.5111C9.83309 12.2112 8.79816 12.6544 7.70243 12.789C6.60669 12.9236 5.49527 12.744 4.49764 12.2713C3.50001 11.7986 2.65724 11.0521 2.06751 10.1188C1.47778 9.18558 1.16537 8.10397 1.16667 7ZM11.5111 10.6867L3.31334 2.48889C4.43144 1.57388 5.84966 1.10701 7.29265 1.1789C8.73565 1.2508 10.1004 1.85633 11.1221 2.87795C12.1437 3.89956 12.7492 5.26435 12.8211 6.70735C12.893 8.15034 12.4261 9.56856 11.5111 10.6867Z",
44
+ fill: "currentColor"
45
+ }, null, -1)]), 16);
46
+ }
47
+ g.render = C;
48
+ //#endregion
49
+ //#region node_modules/@primevue/icons/star/index.mjs
50
+ var w = {
51
+ name: "StarIcon",
52
+ extends: i
53
+ };
54
+ function T(e) {
55
+ return k(e) || O(e) || D(e) || E();
56
+ }
57
+ function E() {
58
+ throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
59
+ }
60
+ function D(e, t) {
61
+ if (e) {
62
+ if (typeof e == "string") return A(e, t);
63
+ var n = {}.toString.call(e).slice(8, -1);
64
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? A(e, t) : void 0;
65
+ }
66
+ }
67
+ function O(e) {
68
+ if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
69
+ }
70
+ function k(e) {
71
+ if (Array.isArray(e)) return A(e);
72
+ }
73
+ function A(e, t) {
74
+ (t == null || t > e.length) && (t = e.length);
75
+ for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
76
+ return r;
77
+ }
78
+ function j(e, t, n, r, i, a) {
79
+ return f(), c("svg", u({
80
+ width: "14",
81
+ height: "14",
82
+ viewBox: "0 0 14 14",
83
+ fill: "none",
84
+ xmlns: "http://www.w3.org/2000/svg"
85
+ }, e.pti()), T(t[0] ||= [l("path", {
86
+ d: "M10.9741 13.6721C10.8806 13.6719 10.7886 13.6483 10.7066 13.6033L7.00002 11.6545L3.29345 13.6033C3.19926 13.6539 3.09281 13.6771 2.98612 13.6703C2.87943 13.6636 2.77676 13.6271 2.6897 13.5651C2.60277 13.5014 2.53529 13.4147 2.4948 13.3148C2.45431 13.215 2.44241 13.1058 2.46042 12.9995L3.17881 8.87264L0.167699 5.95324C0.0922333 5.8777 0.039368 5.78258 0.0150625 5.67861C-0.00924303 5.57463 -0.00402231 5.46594 0.030136 5.36477C0.0621323 5.26323 0.122141 5.17278 0.203259 5.10383C0.284377 5.03488 0.383311 4.99023 0.488681 4.97501L4.63087 4.37126L6.48797 0.618832C6.54083 0.530159 6.61581 0.456732 6.70556 0.405741C6.79532 0.35475 6.89678 0.327942 7.00002 0.327942C7.10325 0.327942 7.20471 0.35475 7.29447 0.405741C7.38422 0.456732 7.4592 0.530159 7.51206 0.618832L9.36916 4.37126L13.5114 4.97501C13.6167 4.99023 13.7157 5.03488 13.7968 5.10383C13.8779 5.17278 13.9379 5.26323 13.9699 5.36477C14.0041 5.46594 14.0093 5.57463 13.985 5.67861C13.9607 5.78258 13.9078 5.8777 13.8323 5.95324L10.8212 8.87264L11.532 12.9995C11.55 13.1058 11.5381 13.215 11.4976 13.3148C11.4571 13.4147 11.3896 13.5014 11.3027 13.5651C11.2059 13.632 11.0917 13.6692 10.9741 13.6721ZM7.00002 10.4393C7.09251 10.4404 7.18371 10.4613 7.2675 10.5005L10.2098 12.029L9.65193 8.75036C9.6368 8.6584 9.64343 8.56418 9.6713 8.47526C9.69918 8.38633 9.74751 8.30518 9.81242 8.23832L12.1969 5.94559L8.90298 5.45648C8.81188 5.44198 8.72555 5.406 8.65113 5.35152C8.57671 5.29703 8.51633 5.2256 8.475 5.14314L7.00002 2.1626L5.52503 5.15078C5.4837 5.23324 5.42332 5.30467 5.3489 5.35916C5.27448 5.41365 5.18815 5.44963 5.09705 5.46412L1.80318 5.94559L4.18761 8.23832C4.25252 8.30518 4.30085 8.38633 4.32873 8.47526C4.3566 8.56418 4.36323 8.6584 4.3481 8.75036L3.7902 12.0519L6.73253 10.5234C6.81451 10.4762 6.9058 10.4475 7.00002 10.4393Z",
87
+ fill: "currentColor"
88
+ }, null, -1)]), 16);
89
+ }
90
+ w.render = j;
91
+ //#endregion
92
+ //#region node_modules/@primevue/icons/starfill/index.mjs
93
+ var M = {
94
+ name: "StarFillIcon",
95
+ extends: i
96
+ };
97
+ function N(e) {
98
+ return L(e) || I(e) || F(e) || P();
99
+ }
100
+ function P() {
101
+ throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
102
+ }
103
+ function F(e, t) {
104
+ if (e) {
105
+ if (typeof e == "string") return R(e, t);
106
+ var n = {}.toString.call(e).slice(8, -1);
107
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? R(e, t) : void 0;
108
+ }
109
+ }
110
+ function I(e) {
111
+ if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
112
+ }
113
+ function L(e) {
114
+ if (Array.isArray(e)) return R(e);
115
+ }
116
+ function R(e, t) {
117
+ (t == null || t > e.length) && (t = e.length);
118
+ for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
119
+ return r;
120
+ }
121
+ function z(e, t, n, r, i, a) {
122
+ return f(), c("svg", u({
123
+ width: "14",
124
+ height: "14",
125
+ viewBox: "0 0 14 14",
126
+ fill: "none",
127
+ xmlns: "http://www.w3.org/2000/svg"
128
+ }, e.pti()), N(t[0] ||= [l("path", {
129
+ d: "M13.9718 5.36453C13.9398 5.26298 13.8798 5.17252 13.7986 5.10356C13.7175 5.0346 13.6186 4.98994 13.5132 4.97472L9.37043 4.37088L7.51307 0.617955C7.46021 0.529271 7.38522 0.455834 7.29545 0.404836C7.20568 0.353838 7.1042 0.327026 7.00096 0.327026C6.89771 0.327026 6.79624 0.353838 6.70647 0.404836C6.6167 0.455834 6.54171 0.529271 6.48885 0.617955L4.63149 4.37088L0.488746 4.97472C0.383363 4.98994 0.284416 5.0346 0.203286 5.10356C0.122157 5.17252 0.0621407 5.26298 0.03014 5.36453C-0.00402286 5.46571 -0.00924428 5.57442 0.0150645 5.67841C0.0393733 5.7824 0.0922457 5.87753 0.167722 5.95308L3.17924 8.87287L2.4684 13.0003C2.45038 13.1066 2.46229 13.2158 2.50278 13.3157C2.54328 13.4156 2.61077 13.5022 2.6977 13.5659C2.78477 13.628 2.88746 13.6644 2.99416 13.6712C3.10087 13.678 3.20733 13.6547 3.30153 13.6042L7.00096 11.6551L10.708 13.6042C10.79 13.6491 10.882 13.6728 10.9755 13.673C11.0958 13.6716 11.2129 13.6343 11.3119 13.5659C11.3988 13.5022 11.4663 13.4156 11.5068 13.3157C11.5473 13.2158 11.5592 13.1066 11.5412 13.0003L10.8227 8.87287L13.8266 5.95308C13.9033 5.87835 13.9577 5.7836 13.9833 5.67957C14.009 5.57554 14.005 5.4664 13.9718 5.36453Z",
130
+ fill: "currentColor"
131
+ }, null, -1)]), 16);
132
+ }
133
+ M.render = z;
134
+ //#endregion
135
+ //#region node_modules/primevue/rating/style/index.mjs
136
+ var B = r.extend({
137
+ name: "rating",
138
+ style: "\n .p-rating {\n position: relative;\n display: inline-flex;\n align-items: center;\n gap: dt('rating.gap');\n }\n\n .p-rating-option {\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n outline-color: transparent;\n border-radius: 50%;\n transition:\n background dt('rating.transition.duration'),\n color dt('rating.transition.duration'),\n border-color dt('rating.transition.duration'),\n outline-color dt('rating.transition.duration'),\n box-shadow dt('rating.transition.duration');\n }\n\n .p-rating-option.p-focus-visible {\n box-shadow: dt('rating.focus.ring.shadow');\n outline: dt('rating.focus.ring.width') dt('rating.focus.ring.style') dt('rating.focus.ring.color');\n outline-offset: dt('rating.focus.ring.offset');\n }\n\n .p-rating-icon {\n color: dt('rating.icon.color');\n transition:\n background dt('rating.transition.duration'),\n color dt('rating.transition.duration'),\n border-color dt('rating.transition.duration'),\n outline-color dt('rating.transition.duration'),\n box-shadow dt('rating.transition.duration');\n font-size: dt('rating.icon.size');\n width: dt('rating.icon.size');\n height: dt('rating.icon.size');\n }\n\n .p-rating:not(.p-disabled):not(.p-readonly) .p-rating-option:hover .p-rating-icon {\n color: dt('rating.icon.hover.color');\n }\n\n .p-rating-option-active .p-rating-icon {\n color: dt('rating.icon.active.color');\n }\n\n .p-rating-icon.p-invalid {\n /* @todo */\n stroke: dt('rating.invalid.icon.color');\n }\n\n .p-rating.p-readonly .p-rating-option {\n cursor: not-allowed;\n }\n",
139
+ classes: {
140
+ root: function(e) {
141
+ var t = e.props;
142
+ return ["p-rating", {
143
+ "p-readonly": t.readonly,
144
+ "p-disabled": t.disabled
145
+ }];
146
+ },
147
+ option: function(e) {
148
+ var t = e.instance, n = e.value;
149
+ return ["p-rating-option", {
150
+ "p-rating-option-active": n <= t.d_value,
151
+ "p-focus-visible": n === t.focusedOptionIndex && t.isFocusVisibleItem
152
+ }];
153
+ },
154
+ onIcon: function(e) {
155
+ return ["p-rating-icon p-rating-on-icon", { "p-invalid": e.instance.$invalid }];
156
+ },
157
+ offIcon: function(e) {
158
+ return ["p-rating-icon p-rating-off-icon", { "p-invalid": e.instance.$invalid }];
159
+ }
160
+ }
161
+ }), V = {
162
+ name: "Rating",
163
+ extends: {
164
+ name: "BaseRating",
165
+ extends: a,
166
+ props: {
167
+ readonly: {
168
+ type: Boolean,
169
+ default: !1
170
+ },
171
+ stars: {
172
+ type: Number,
173
+ default: 5
174
+ },
175
+ onIcon: {
176
+ type: String,
177
+ default: void 0
178
+ },
179
+ offIcon: {
180
+ type: String,
181
+ default: void 0
182
+ }
183
+ },
184
+ style: B,
185
+ provide: function() {
186
+ return {
187
+ $pcRating: this,
188
+ $parentInstance: this
189
+ };
190
+ }
191
+ },
192
+ inheritAttrs: !1,
193
+ emits: [
194
+ "change",
195
+ "focus",
196
+ "blur"
197
+ ],
198
+ data: function() {
199
+ return {
200
+ focusedOptionIndex: -1,
201
+ isFocusVisibleItem: !0
202
+ };
203
+ },
204
+ methods: {
205
+ getPTOptions: function(e, t) {
206
+ return this.ptm(e, { context: {
207
+ active: t <= this.d_value,
208
+ focused: t === this.focusedOptionIndex
209
+ } });
210
+ },
211
+ onOptionClick: function(e, r) {
212
+ if (!this.readonly && !this.disabled) {
213
+ this.onOptionSelect(e, r), this.isFocusVisibleItem = !1;
214
+ var i = t(e.currentTarget);
215
+ i && n(i);
216
+ }
217
+ },
218
+ onFocus: function(e, t) {
219
+ this.focusedOptionIndex = t, this.isFocusVisibleItem = e.sourceCapabilities?.firesTouchEvents === !1, this.$emit("focus", e);
220
+ },
221
+ onBlur: function(e) {
222
+ var t, n;
223
+ this.focusedOptionIndex = -1, this.$emit("blur", e), (t = (n = this.formField).onBlur) == null || t.call(n);
224
+ },
225
+ onChange: function(e, t) {
226
+ this.onOptionSelect(e, t), this.isFocusVisibleItem = !0;
227
+ },
228
+ onOptionSelect: function(e, t) {
229
+ this.focusedOptionIndex === t || this.d_value === t ? (this.focusedOptionIndex = -1, this.updateModel(e, null)) : (this.focusedOptionIndex = t, this.updateModel(e, t || null));
230
+ },
231
+ updateModel: function(e, t) {
232
+ this.writeValue(t, e), this.$emit("change", {
233
+ originalEvent: e,
234
+ value: t
235
+ });
236
+ },
237
+ starAriaLabel: function(e) {
238
+ return e === 1 ? this.$primevue.config.locale.aria.star : this.$primevue.config.locale.aria.stars.replace(/{star}/g, e);
239
+ },
240
+ dataOption: function(t) {
241
+ return e({
242
+ readonly: this.readonly,
243
+ disabled: this.disabled,
244
+ active: t <= this.d_value,
245
+ "focus-visible": t === this.focusedOptionIndex && this.isFocusVisibleItem
246
+ });
247
+ }
248
+ },
249
+ computed: {
250
+ namex: function() {
251
+ return this.name || `${this.$attrSelector}_name`;
252
+ },
253
+ dataP: function() {
254
+ return e({
255
+ readonly: this.readonly,
256
+ disabled: this.disabled
257
+ });
258
+ }
259
+ },
260
+ components: {
261
+ StarFillIcon: M,
262
+ StarIcon: w,
263
+ BanIcon: g
264
+ }
265
+ }, H = ["data-p"], U = [
266
+ "onClick",
267
+ "data-p-active",
268
+ "data-p-focused",
269
+ "data-p"
270
+ ], W = [
271
+ "value",
272
+ "name",
273
+ "checked",
274
+ "disabled",
275
+ "readonly",
276
+ "aria-label",
277
+ "onFocus",
278
+ "onChange"
279
+ ];
280
+ function G(e, t, n, r, i, a) {
281
+ return f(), c("div", u({ class: e.cx("root") }, e.ptmi("root"), { "data-p": a.dataP }), [(f(!0), c(o, null, p(e.stars, function(n) {
282
+ return f(), c("div", u({
283
+ key: n,
284
+ class: e.cx("option", { value: n }),
285
+ onClick: function(e) {
286
+ return a.onOptionClick(e, n);
287
+ }
288
+ }, { ref_for: !0 }, a.getPTOptions("option", n), {
289
+ "data-p-active": n <= e.d_value,
290
+ "data-p-focused": n === i.focusedOptionIndex,
291
+ "data-p": a.dataOption(n)
292
+ }), [l("span", u({ class: "p-hidden-accessible" }, { ref_for: !0 }, e.ptm("hiddenOptionInputContainer"), { "data-p-hidden-accessible": !0 }), [l("input", u({
293
+ type: "radio",
294
+ value: n,
295
+ name: a.namex,
296
+ checked: e.d_value === n,
297
+ disabled: e.disabled,
298
+ readonly: e.readonly,
299
+ "aria-label": a.starAriaLabel(n),
300
+ onFocus: function(e) {
301
+ return a.onFocus(e, n);
302
+ },
303
+ onBlur: t[0] ||= function() {
304
+ return a.onBlur && a.onBlur.apply(a, arguments);
305
+ },
306
+ onChange: function(e) {
307
+ return a.onChange(e, n);
308
+ }
309
+ }, { ref_for: !0 }, e.ptm("hiddenOptionInput")), null, 16, W)], 16), n <= e.d_value ? m(e.$slots, "onicon", {
310
+ key: 0,
311
+ value: n,
312
+ toggleCallback: function(e) {
313
+ return a.onChange(e, n);
314
+ },
315
+ class: d(e.cx("onIcon"))
316
+ }, function() {
317
+ return [(f(), s(h(e.onIcon ? "span" : "StarFillIcon"), u({ class: [e.cx("onIcon"), e.onIcon] }, { ref_for: !0 }, e.ptm("onIcon")), null, 16, ["class"]))];
318
+ }) : m(e.$slots, "officon", {
319
+ key: 1,
320
+ value: n,
321
+ class: d(e.cx("offIcon")),
322
+ toggleCallback: function(e) {
323
+ return a.onChange(e, n);
324
+ }
325
+ }, function() {
326
+ return [(f(), s(h(e.offIcon ? "span" : "StarIcon"), u({ class: [e.cx("offIcon"), e.offIcon] }, { ref_for: !0 }, e.ptm("offIcon")), null, 16, ["class"]))];
327
+ })], 16, U);
328
+ }), 128))], 16, H);
329
+ }
330
+ V.render = G;
331
+ //#endregion
332
+ export { V as default };
@@ -0,0 +1,61 @@
1
+ require(`./chunk-BK-Lzi7j.cjs`);const e=require(`./classnames-DqVQ5xbt.cjs`),t=require(`./basecomponent-CGerMr_k.cjs`),n=require(`./baseicon-Ct8wtBEp.cjs`),r=require(`./baseeditableholder-Q1_XheNU.cjs`);let i=require(`vue`);var a={name:`BanIcon`,extends:n.t};function o(e){return u(e)||l(e)||c(e)||s()}function s(){throw TypeError(`Invalid attempt to spread non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c(e,t){if(e){if(typeof e==`string`)return d(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}function l(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function u(e){if(Array.isArray(e))return d(e)}function d(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t,n,r,a,s){return(0,i.openBlock)(),(0,i.createElementBlock)(`svg`,(0,i.mergeProps)({width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},e.pti()),o(t[0]||=[(0,i.createElementVNode)(`path`,{d:`M7 0C5.61553 0 4.26215 0.410543 3.11101 1.17971C1.95987 1.94888 1.06266 3.04213 0.532846 4.32122C0.00303296 5.6003 -0.13559 7.00776 0.134506 8.36563C0.404603 9.7235 1.07129 10.9708 2.05026 11.9497C3.02922 12.9287 4.2765 13.5954 5.63437 13.8655C6.99224 14.1356 8.3997 13.997 9.67879 13.4672C10.9579 12.9373 12.0511 12.0401 12.8203 10.889C13.5895 9.73785 14 8.38447 14 7C14 5.14348 13.2625 3.36301 11.9497 2.05025C10.637 0.737498 8.85652 0 7 0ZM1.16667 7C1.16549 5.65478 1.63303 4.35118 2.48889 3.31333L10.6867 11.5111C9.83309 12.2112 8.79816 12.6544 7.70243 12.789C6.60669 12.9236 5.49527 12.744 4.49764 12.2713C3.50001 11.7986 2.65724 11.0521 2.06751 10.1188C1.47778 9.18558 1.16537 8.10397 1.16667 7ZM11.5111 10.6867L3.31334 2.48889C4.43144 1.57388 5.84966 1.10701 7.29265 1.1789C8.73565 1.2508 10.1004 1.85633 11.1221 2.87795C12.1437 3.89956 12.7492 5.26435 12.8211 6.70735C12.893 8.15034 12.4261 9.56856 11.5111 10.6867Z`,fill:`currentColor`},null,-1)]),16)}a.render=f;var p={name:`StarIcon`,extends:n.t};function m(e){return v(e)||_(e)||g(e)||h()}function h(){throw TypeError(`Invalid attempt to spread non-iterable instance.
3
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function g(e,t){if(e){if(typeof e==`string`)return y(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function _(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function v(e){if(Array.isArray(e))return y(e)}function y(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function b(e,t,n,r,a,o){return(0,i.openBlock)(),(0,i.createElementBlock)(`svg`,(0,i.mergeProps)({width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},e.pti()),m(t[0]||=[(0,i.createElementVNode)(`path`,{d:`M10.9741 13.6721C10.8806 13.6719 10.7886 13.6483 10.7066 13.6033L7.00002 11.6545L3.29345 13.6033C3.19926 13.6539 3.09281 13.6771 2.98612 13.6703C2.87943 13.6636 2.77676 13.6271 2.6897 13.5651C2.60277 13.5014 2.53529 13.4147 2.4948 13.3148C2.45431 13.215 2.44241 13.1058 2.46042 12.9995L3.17881 8.87264L0.167699 5.95324C0.0922333 5.8777 0.039368 5.78258 0.0150625 5.67861C-0.00924303 5.57463 -0.00402231 5.46594 0.030136 5.36477C0.0621323 5.26323 0.122141 5.17278 0.203259 5.10383C0.284377 5.03488 0.383311 4.99023 0.488681 4.97501L4.63087 4.37126L6.48797 0.618832C6.54083 0.530159 6.61581 0.456732 6.70556 0.405741C6.79532 0.35475 6.89678 0.327942 7.00002 0.327942C7.10325 0.327942 7.20471 0.35475 7.29447 0.405741C7.38422 0.456732 7.4592 0.530159 7.51206 0.618832L9.36916 4.37126L13.5114 4.97501C13.6167 4.99023 13.7157 5.03488 13.7968 5.10383C13.8779 5.17278 13.9379 5.26323 13.9699 5.36477C14.0041 5.46594 14.0093 5.57463 13.985 5.67861C13.9607 5.78258 13.9078 5.8777 13.8323 5.95324L10.8212 8.87264L11.532 12.9995C11.55 13.1058 11.5381 13.215 11.4976 13.3148C11.4571 13.4147 11.3896 13.5014 11.3027 13.5651C11.2059 13.632 11.0917 13.6692 10.9741 13.6721ZM7.00002 10.4393C7.09251 10.4404 7.18371 10.4613 7.2675 10.5005L10.2098 12.029L9.65193 8.75036C9.6368 8.6584 9.64343 8.56418 9.6713 8.47526C9.69918 8.38633 9.74751 8.30518 9.81242 8.23832L12.1969 5.94559L8.90298 5.45648C8.81188 5.44198 8.72555 5.406 8.65113 5.35152C8.57671 5.29703 8.51633 5.2256 8.475 5.14314L7.00002 2.1626L5.52503 5.15078C5.4837 5.23324 5.42332 5.30467 5.3489 5.35916C5.27448 5.41365 5.18815 5.44963 5.09705 5.46412L1.80318 5.94559L4.18761 8.23832C4.25252 8.30518 4.30085 8.38633 4.32873 8.47526C4.3566 8.56418 4.36323 8.6584 4.3481 8.75036L3.7902 12.0519L6.73253 10.5234C6.81451 10.4762 6.9058 10.4475 7.00002 10.4393Z`,fill:`currentColor`},null,-1)]),16)}p.render=b;var x={name:`StarFillIcon`,extends:n.t};function S(e){return E(e)||T(e)||w(e)||C()}function C(){throw TypeError(`Invalid attempt to spread non-iterable instance.
4
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function w(e,t){if(e){if(typeof e==`string`)return D(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?D(e,t):void 0}}function T(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function E(e){if(Array.isArray(e))return D(e)}function D(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function O(e,t,n,r,a,o){return(0,i.openBlock)(),(0,i.createElementBlock)(`svg`,(0,i.mergeProps)({width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},e.pti()),S(t[0]||=[(0,i.createElementVNode)(`path`,{d:`M13.9718 5.36453C13.9398 5.26298 13.8798 5.17252 13.7986 5.10356C13.7175 5.0346 13.6186 4.98994 13.5132 4.97472L9.37043 4.37088L7.51307 0.617955C7.46021 0.529271 7.38522 0.455834 7.29545 0.404836C7.20568 0.353838 7.1042 0.327026 7.00096 0.327026C6.89771 0.327026 6.79624 0.353838 6.70647 0.404836C6.6167 0.455834 6.54171 0.529271 6.48885 0.617955L4.63149 4.37088L0.488746 4.97472C0.383363 4.98994 0.284416 5.0346 0.203286 5.10356C0.122157 5.17252 0.0621407 5.26298 0.03014 5.36453C-0.00402286 5.46571 -0.00924428 5.57442 0.0150645 5.67841C0.0393733 5.7824 0.0922457 5.87753 0.167722 5.95308L3.17924 8.87287L2.4684 13.0003C2.45038 13.1066 2.46229 13.2158 2.50278 13.3157C2.54328 13.4156 2.61077 13.5022 2.6977 13.5659C2.78477 13.628 2.88746 13.6644 2.99416 13.6712C3.10087 13.678 3.20733 13.6547 3.30153 13.6042L7.00096 11.6551L10.708 13.6042C10.79 13.6491 10.882 13.6728 10.9755 13.673C11.0958 13.6716 11.2129 13.6343 11.3119 13.5659C11.3988 13.5022 11.4663 13.4156 11.5068 13.3157C11.5473 13.2158 11.5592 13.1066 11.5412 13.0003L10.8227 8.87287L13.8266 5.95308C13.9033 5.87835 13.9577 5.7836 13.9833 5.67957C14.009 5.57554 14.005 5.4664 13.9718 5.36453Z`,fill:`currentColor`},null,-1)]),16)}x.render=O;var k=t.r.extend({name:`rating`,style:`
5
+ .p-rating {
6
+ position: relative;
7
+ display: inline-flex;
8
+ align-items: center;
9
+ gap: dt('rating.gap');
10
+ }
11
+
12
+ .p-rating-option {
13
+ display: inline-flex;
14
+ align-items: center;
15
+ cursor: pointer;
16
+ outline-color: transparent;
17
+ border-radius: 50%;
18
+ transition:
19
+ background dt('rating.transition.duration'),
20
+ color dt('rating.transition.duration'),
21
+ border-color dt('rating.transition.duration'),
22
+ outline-color dt('rating.transition.duration'),
23
+ box-shadow dt('rating.transition.duration');
24
+ }
25
+
26
+ .p-rating-option.p-focus-visible {
27
+ box-shadow: dt('rating.focus.ring.shadow');
28
+ outline: dt('rating.focus.ring.width') dt('rating.focus.ring.style') dt('rating.focus.ring.color');
29
+ outline-offset: dt('rating.focus.ring.offset');
30
+ }
31
+
32
+ .p-rating-icon {
33
+ color: dt('rating.icon.color');
34
+ transition:
35
+ background dt('rating.transition.duration'),
36
+ color dt('rating.transition.duration'),
37
+ border-color dt('rating.transition.duration'),
38
+ outline-color dt('rating.transition.duration'),
39
+ box-shadow dt('rating.transition.duration');
40
+ font-size: dt('rating.icon.size');
41
+ width: dt('rating.icon.size');
42
+ height: dt('rating.icon.size');
43
+ }
44
+
45
+ .p-rating:not(.p-disabled):not(.p-readonly) .p-rating-option:hover .p-rating-icon {
46
+ color: dt('rating.icon.hover.color');
47
+ }
48
+
49
+ .p-rating-option-active .p-rating-icon {
50
+ color: dt('rating.icon.active.color');
51
+ }
52
+
53
+ .p-rating-icon.p-invalid {
54
+ /* @todo */
55
+ stroke: dt('rating.invalid.icon.color');
56
+ }
57
+
58
+ .p-rating.p-readonly .p-rating-option {
59
+ cursor: not-allowed;
60
+ }
61
+ `,classes:{root:function(e){var t=e.props;return[`p-rating`,{"p-readonly":t.readonly,"p-disabled":t.disabled}]},option:function(e){var t=e.instance,n=e.value;return[`p-rating-option`,{"p-rating-option-active":n<=t.d_value,"p-focus-visible":n===t.focusedOptionIndex&&t.isFocusVisibleItem}]},onIcon:function(e){return[`p-rating-icon p-rating-on-icon`,{"p-invalid":e.instance.$invalid}]},offIcon:function(e){return[`p-rating-icon p-rating-off-icon`,{"p-invalid":e.instance.$invalid}]}}}),A={name:`Rating`,extends:{name:`BaseRating`,extends:r.t,props:{readonly:{type:Boolean,default:!1},stars:{type:Number,default:5},onIcon:{type:String,default:void 0},offIcon:{type:String,default:void 0}},style:k,provide:function(){return{$pcRating:this,$parentInstance:this}}},inheritAttrs:!1,emits:[`change`,`focus`,`blur`],data:function(){return{focusedOptionIndex:-1,isFocusVisibleItem:!0}},methods:{getPTOptions:function(e,t){return this.ptm(e,{context:{active:t<=this.d_value,focused:t===this.focusedOptionIndex}})},onOptionClick:function(e,n){if(!this.readonly&&!this.disabled){this.onOptionSelect(e,n),this.isFocusVisibleItem=!1;var r=t.ht(e.currentTarget);r&&t.it(r)}},onFocus:function(e,t){this.focusedOptionIndex=t,this.isFocusVisibleItem=e.sourceCapabilities?.firesTouchEvents===!1,this.$emit(`focus`,e)},onBlur:function(e){var t,n;this.focusedOptionIndex=-1,this.$emit(`blur`,e),(t=(n=this.formField).onBlur)==null||t.call(n)},onChange:function(e,t){this.onOptionSelect(e,t),this.isFocusVisibleItem=!0},onOptionSelect:function(e,t){this.focusedOptionIndex===t||this.d_value===t?(this.focusedOptionIndex=-1,this.updateModel(e,null)):(this.focusedOptionIndex=t,this.updateModel(e,t||null))},updateModel:function(e,t){this.writeValue(t,e),this.$emit(`change`,{originalEvent:e,value:t})},starAriaLabel:function(e){return e===1?this.$primevue.config.locale.aria.star:this.$primevue.config.locale.aria.stars.replace(/{star}/g,e)},dataOption:function(t){return e.t({readonly:this.readonly,disabled:this.disabled,active:t<=this.d_value,"focus-visible":t===this.focusedOptionIndex&&this.isFocusVisibleItem})}},computed:{namex:function(){return this.name||`${this.$attrSelector}_name`},dataP:function(){return e.t({readonly:this.readonly,disabled:this.disabled})}},components:{StarFillIcon:x,StarIcon:p,BanIcon:a}},j=[`data-p`],M=[`onClick`,`data-p-active`,`data-p-focused`,`data-p`],N=[`value`,`name`,`checked`,`disabled`,`readonly`,`aria-label`,`onFocus`,`onChange`];function P(e,t,n,r,a,o){return(0,i.openBlock)(),(0,i.createElementBlock)(`div`,(0,i.mergeProps)({class:e.cx(`root`)},e.ptmi(`root`),{"data-p":o.dataP}),[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.stars,function(n){return(0,i.openBlock)(),(0,i.createElementBlock)(`div`,(0,i.mergeProps)({key:n,class:e.cx(`option`,{value:n}),onClick:function(e){return o.onOptionClick(e,n)}},{ref_for:!0},o.getPTOptions(`option`,n),{"data-p-active":n<=e.d_value,"data-p-focused":n===a.focusedOptionIndex,"data-p":o.dataOption(n)}),[(0,i.createElementVNode)(`span`,(0,i.mergeProps)({class:`p-hidden-accessible`},{ref_for:!0},e.ptm(`hiddenOptionInputContainer`),{"data-p-hidden-accessible":!0}),[(0,i.createElementVNode)(`input`,(0,i.mergeProps)({type:`radio`,value:n,name:o.namex,checked:e.d_value===n,disabled:e.disabled,readonly:e.readonly,"aria-label":o.starAriaLabel(n),onFocus:function(e){return o.onFocus(e,n)},onBlur:t[0]||=function(){return o.onBlur&&o.onBlur.apply(o,arguments)},onChange:function(e){return o.onChange(e,n)}},{ref_for:!0},e.ptm(`hiddenOptionInput`)),null,16,N)],16),n<=e.d_value?(0,i.renderSlot)(e.$slots,`onicon`,{key:0,value:n,toggleCallback:function(e){return o.onChange(e,n)},class:(0,i.normalizeClass)(e.cx(`onIcon`))},function(){return[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.onIcon?`span`:`StarFillIcon`),(0,i.mergeProps)({class:[e.cx(`onIcon`),e.onIcon]},{ref_for:!0},e.ptm(`onIcon`)),null,16,[`class`]))]}):(0,i.renderSlot)(e.$slots,`officon`,{key:1,value:n,class:(0,i.normalizeClass)(e.cx(`offIcon`)),toggleCallback:function(e){return o.onChange(e,n)}},function(){return[((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.offIcon?`span`:`StarIcon`),(0,i.mergeProps)({class:[e.cx(`offIcon`),e.offIcon]},{ref_for:!0},e.ptm(`offIcon`)),null,16,[`class`]))]})],16,M)}),128))],16,j)}A.render=P,exports.default=A;