@nside/wefa 0.4.4 → 0.4.5

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 (139) hide show
  1. package/README.md +1 -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 +0 -116
  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 +0 -728
  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 +0 -103
  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 +0 -54
  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/stores-BAbCgIKW.cjs +1 -0
  84. package/dist/stores-C5CUNzM_.js +203 -0
  85. package/dist/textarea-DUmMHVXf.cjs +84 -0
  86. package/dist/textarea-f6-j7m1N.js +131 -0
  87. package/dist/times--t6-zeg6.js +46 -0
  88. package/dist/times-GcOHYs3E.cjs +2 -0
  89. package/dist/timescircle-CHGzPrwL.cjs +2 -0
  90. package/dist/timescircle-_NJIsGD1.js +48 -0
  91. package/dist/wefa.css +2 -1
  92. package/package.json +36 -34
  93. package/src/components/DashboardComponent/DashboardGroupComponent.vue +1 -1
  94. package/src/components/NetworkButton/__tests__/ApiMutationButton.test.ts +12 -3
  95. package/src/components/NetworkButton/__tests__/ApiQueryButton.test.ts +12 -3
  96. package/src/containers/LayoutContainer/SideNavigationComponent/MainComponent/NavigationLinkComponent.vue +1 -1
  97. package/src/containers/SideMenuContainer/SideMenuContainer.vue +14 -3
  98. package/src/containers/helpers.ts +1 -1
  99. package/src/router/guards.ts +2 -2
  100. package/src/stores/__tests__/backend/jwt.test.ts +6 -6
  101. package/src/stores/__tests__/backend/oauth.test.ts +1 -1
  102. package/src/stores/__tests__/backend/token.test.ts +5 -5
  103. package/src/stores/backend/schemes/jwt.ts +3 -3
  104. package/src/stores/backend/schemes/token.ts +6 -7
  105. package/dist/LegalConsent-DQ7fkgVc.cjs +0 -1
  106. package/dist/LegalConsent-OLyvuzRY.js +0 -151
  107. package/dist/LegalDocument-B-nntRW7.cjs +0 -109
  108. package/dist/LegalDocument-BKebNzIK.js +0 -1330
  109. package/dist/LoginView-DUPa_PsC.js +0 -24
  110. package/dist/LoginView-Dihs8n_X.cjs +0 -1
  111. package/dist/LogoutView-DAh7MrFi.js +0 -19
  112. package/dist/LogoutView-Fl3nfeJ0.cjs +0 -1
  113. package/dist/apiClient-BHDjT0dU.js +0 -928
  114. package/dist/apiClient-Cr0IvG5Z.cjs +0 -1
  115. package/dist/axios-CZvsFspN.js +0 -1887
  116. package/dist/axios-DMqeKDaq.cjs +0 -6
  117. package/dist/index--_rUTrqU.js +0 -1414
  118. package/dist/index-05ASaj7N.cjs +0 -477
  119. package/dist/index-B7hJ2pku.cjs +0 -61
  120. package/dist/index-BHSxFTgZ.js +0 -49
  121. package/dist/index-BaA_oL1s.cjs +0 -32
  122. package/dist/index-Be5h48vc.js +0 -3530
  123. package/dist/index-Becfy0pF.cjs +0 -2
  124. package/dist/index-CPv4agmV.js +0 -400
  125. package/dist/index-CgAb-gZi.js +0 -89
  126. package/dist/index-DFSkcsx-.cjs +0 -943
  127. package/dist/index-DGUVQqZw.js +0 -208
  128. package/dist/index-DRozw3P8.js +0 -167
  129. package/dist/index-DfCQoHSf.cjs +0 -146
  130. package/dist/index-DkuJMEY1.js +0 -6731
  131. package/dist/index-Dv6jyKbT.js +0 -47
  132. package/dist/index-IGN7_cyg.cjs +0 -2
  133. package/dist/index-lFl6UsTa.js +0 -212
  134. package/dist/index-lQmq7gxp.cjs +0 -54
  135. package/dist/index-t0sdL3f2.cjs +0 -84
  136. package/dist/lib-DZzubLGt.js +0 -26376
  137. package/dist/lib-lTzD7ltX.cjs +0 -2104
  138. package/dist/libRoutes-B-H3e9wZ.js +0 -22
  139. package/dist/libRoutes-Cl3TklhN.cjs +0 -1
@@ -1,47 +0,0 @@
1
- import { e as a } from "./index-DkuJMEY1.js";
2
- import { openBlock as i, createElementBlock as l, mergeProps as u, createElementVNode as s } from "vue";
3
- var p = {
4
- name: "ChevronLeftIcon",
5
- extends: a
6
- };
7
- function c(r) {
8
- return d(r) || y(r) || m(r) || f();
9
- }
10
- function f() {
11
- throw new TypeError(`Invalid attempt to spread non-iterable instance.
12
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
13
- }
14
- function m(r, t) {
15
- if (r) {
16
- if (typeof r == "string") return o(r, t);
17
- var e = {}.toString.call(r).slice(8, -1);
18
- return e === "Object" && r.constructor && (e = r.constructor.name), e === "Map" || e === "Set" ? Array.from(r) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? o(r, t) : void 0;
19
- }
20
- }
21
- function y(r) {
22
- if (typeof Symbol < "u" && r[Symbol.iterator] != null || r["@@iterator"] != null) return Array.from(r);
23
- }
24
- function d(r) {
25
- if (Array.isArray(r)) return o(r);
26
- }
27
- function o(r, t) {
28
- (t == null || t > r.length) && (t = r.length);
29
- for (var e = 0, n = Array(t); e < t; e++) n[e] = r[e];
30
- return n;
31
- }
32
- function C(r, t, e, n, b, h) {
33
- return i(), l("svg", u({
34
- width: "14",
35
- height: "14",
36
- viewBox: "0 0 14 14",
37
- fill: "none",
38
- xmlns: "http://www.w3.org/2000/svg"
39
- }, r.pti()), c(t[0] || (t[0] = [s("path", {
40
- d: "M9.61296 13C9.50997 13.0005 9.40792 12.9804 9.3128 12.9409C9.21767 12.9014 9.13139 12.8433 9.05902 12.7701L3.83313 7.54416C3.68634 7.39718 3.60388 7.19795 3.60388 6.99022C3.60388 6.78249 3.68634 6.58325 3.83313 6.43628L9.05902 1.21039C9.20762 1.07192 9.40416 0.996539 9.60724 1.00012C9.81032 1.00371 10.0041 1.08597 10.1477 1.22959C10.2913 1.37322 10.3736 1.56698 10.3772 1.77005C10.3808 1.97313 10.3054 2.16968 10.1669 2.31827L5.49496 6.99022L10.1669 11.6622C10.3137 11.8091 10.3962 12.0084 10.3962 12.2161C10.3962 12.4238 10.3137 12.6231 10.1669 12.7701C10.0945 12.8433 10.0083 12.9014 9.91313 12.9409C9.81801 12.9804 9.71596 13.0005 9.61296 13Z",
41
- fill: "currentColor"
42
- }, null, -1)])), 16);
43
- }
44
- p.render = C;
45
- export {
46
- p as s
47
- };
@@ -1,2 +0,0 @@
1
- "use strict";const l=require("./index-DFSkcsx-.cjs"),n=require("vue");var C={name:"TimesCircleIcon",extends:l.script$3};function a(e){return p(e)||c(e)||s(e)||u()}function u(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s(e,t){if(e){if(typeof e=="string")return i(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}function c(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function p(e){if(Array.isArray(e))return i(e)}function i(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function d(e,t,r,o,f,y){return n.openBlock(),n.createElementBlock("svg",n.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),a(t[0]||(t[0]=[n.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 14C5.61553 14 4.26215 13.5895 3.11101 12.8203C1.95987 12.0511 1.06266 10.9579 0.532846 9.67879C0.00303296 8.3997 -0.13559 6.99224 0.134506 5.63437C0.404603 4.2765 1.07129 3.02922 2.05026 2.05026C3.02922 1.07129 4.2765 0.404603 5.63437 0.134506C6.99224 -0.13559 8.3997 0.00303296 9.67879 0.532846C10.9579 1.06266 12.0511 1.95987 12.8203 3.11101C13.5895 4.26215 14 5.61553 14 7C14 8.85652 13.2625 10.637 11.9497 11.9497C10.637 13.2625 8.85652 14 7 14ZM7 1.16667C5.84628 1.16667 4.71846 1.50879 3.75918 2.14976C2.79989 2.79074 2.05222 3.70178 1.61071 4.76768C1.16919 5.83358 1.05367 7.00647 1.27876 8.13803C1.50384 9.26958 2.05941 10.309 2.87521 11.1248C3.69102 11.9406 4.73042 12.4962 5.86198 12.7212C6.99353 12.9463 8.16642 12.8308 9.23232 12.3893C10.2982 11.9478 11.2093 11.2001 11.8502 10.2408C12.4912 9.28154 12.8333 8.15373 12.8333 7C12.8333 5.45291 12.2188 3.96918 11.1248 2.87521C10.0308 1.78125 8.5471 1.16667 7 1.16667ZM4.66662 9.91668C4.58998 9.91704 4.51404 9.90209 4.44325 9.87271C4.37246 9.84333 4.30826 9.8001 4.2544 9.74557C4.14516 9.6362 4.0838 9.48793 4.0838 9.33335C4.0838 9.17876 4.14516 9.0305 4.2544 8.92113L6.17553 7L4.25443 5.07891C4.15139 4.96832 4.09529 4.82207 4.09796 4.67094C4.10063 4.51982 4.16185 4.37563 4.26872 4.26876C4.3756 4.16188 4.51979 4.10066 4.67091 4.09799C4.82204 4.09532 4.96829 4.15142 5.07887 4.25446L6.99997 6.17556L8.92106 4.25446C9.03164 4.15142 9.1779 4.09532 9.32903 4.09799C9.48015 4.10066 9.62434 4.16188 9.73121 4.26876C9.83809 4.37563 9.89931 4.51982 9.90198 4.67094C9.90464 4.82207 9.84855 4.96832 9.74551 5.07891L7.82441 7L9.74554 8.92113C9.85478 9.0305 9.91614 9.17876 9.91614 9.33335C9.91614 9.48793 9.85478 9.6362 9.74554 9.74557C9.69168 9.8001 9.62748 9.84333 9.55669 9.87271C9.4859 9.90209 9.40996 9.91704 9.33332 9.91668C9.25668 9.91704 9.18073 9.90209 9.10995 9.87271C9.03916 9.84333 8.97495 9.8001 8.9211 9.74557L6.99997 7.82444L5.07884 9.74557C5.02499 9.8001 4.96078 9.84333 4.88999 9.87271C4.81921 9.90209 4.74326 9.91704 4.66662 9.91668Z",fill:"currentColor"},null,-1)])),16)}C.render=d;exports.script=C;
@@ -1,212 +0,0 @@
1
- import { B as o, d } from "./index--_rUTrqU.js";
2
- import { openBlock as r, createElementBlock as t, mergeProps as i, renderSlot as p, createTextVNode as u, toDisplayString as m, createCommentVNode as l } from "vue";
3
- import { f as b } from "./index-DkuJMEY1.js";
4
- var g = `
5
- .p-progressbar {
6
- display: block;
7
- position: relative;
8
- overflow: hidden;
9
- height: dt('progressbar.height');
10
- background: dt('progressbar.background');
11
- border-radius: dt('progressbar.border.radius');
12
- }
13
-
14
- .p-progressbar-value {
15
- margin: 0;
16
- background: dt('progressbar.value.background');
17
- }
18
-
19
- .p-progressbar-label {
20
- color: dt('progressbar.label.color');
21
- font-size: dt('progressbar.label.font.size');
22
- font-weight: dt('progressbar.label.font.weight');
23
- }
24
-
25
- .p-progressbar-determinate .p-progressbar-value {
26
- height: 100%;
27
- width: 0%;
28
- position: absolute;
29
- display: none;
30
- display: flex;
31
- align-items: center;
32
- justify-content: center;
33
- overflow: hidden;
34
- transition: width 1s ease-in-out;
35
- }
36
-
37
- .p-progressbar-determinate .p-progressbar-label {
38
- display: inline-flex;
39
- }
40
-
41
- .p-progressbar-indeterminate .p-progressbar-value::before {
42
- content: '';
43
- position: absolute;
44
- background: inherit;
45
- inset-block-start: 0;
46
- inset-inline-start: 0;
47
- inset-block-end: 0;
48
- will-change: inset-inline-start, inset-inline-end;
49
- animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
50
- }
51
-
52
- .p-progressbar-indeterminate .p-progressbar-value::after {
53
- content: '';
54
- position: absolute;
55
- background: inherit;
56
- inset-block-start: 0;
57
- inset-inline-start: 0;
58
- inset-block-end: 0;
59
- will-change: inset-inline-start, inset-inline-end;
60
- animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
61
- animation-delay: 1.15s;
62
- }
63
-
64
- @keyframes p-progressbar-indeterminate-anim {
65
- 0% {
66
- inset-inline-start: -35%;
67
- inset-inline-end: 100%;
68
- }
69
- 60% {
70
- inset-inline-start: 100%;
71
- inset-inline-end: -90%;
72
- }
73
- 100% {
74
- inset-inline-start: 100%;
75
- inset-inline-end: -90%;
76
- }
77
- }
78
- @-webkit-keyframes p-progressbar-indeterminate-anim {
79
- 0% {
80
- inset-inline-start: -35%;
81
- inset-inline-end: 100%;
82
- }
83
- 60% {
84
- inset-inline-start: 100%;
85
- inset-inline-end: -90%;
86
- }
87
- 100% {
88
- inset-inline-start: 100%;
89
- inset-inline-end: -90%;
90
- }
91
- }
92
-
93
- @keyframes p-progressbar-indeterminate-anim-short {
94
- 0% {
95
- inset-inline-start: -200%;
96
- inset-inline-end: 100%;
97
- }
98
- 60% {
99
- inset-inline-start: 107%;
100
- inset-inline-end: -8%;
101
- }
102
- 100% {
103
- inset-inline-start: 107%;
104
- inset-inline-end: -8%;
105
- }
106
- }
107
- @-webkit-keyframes p-progressbar-indeterminate-anim-short {
108
- 0% {
109
- inset-inline-start: -200%;
110
- inset-inline-end: 100%;
111
- }
112
- 60% {
113
- inset-inline-start: 107%;
114
- inset-inline-end: -8%;
115
- }
116
- 100% {
117
- inset-inline-start: 107%;
118
- inset-inline-end: -8%;
119
- }
120
- }
121
- `, c = {
122
- root: function(s) {
123
- var a = s.instance;
124
- return ["p-progressbar p-component", {
125
- "p-progressbar-determinate": a.determinate,
126
- "p-progressbar-indeterminate": a.indeterminate
127
- }];
128
- },
129
- value: "p-progressbar-value",
130
- label: "p-progressbar-label"
131
- }, v = o.extend({
132
- name: "progressbar",
133
- style: g,
134
- classes: c
135
- }), f = {
136
- name: "BaseProgressBar",
137
- extends: d,
138
- props: {
139
- value: {
140
- type: Number,
141
- default: null
142
- },
143
- mode: {
144
- type: String,
145
- default: "determinate"
146
- },
147
- showValue: {
148
- type: Boolean,
149
- default: !0
150
- }
151
- },
152
- style: v,
153
- provide: function() {
154
- return {
155
- $pcProgressBar: this,
156
- $parentInstance: this
157
- };
158
- }
159
- }, h = {
160
- name: "ProgressBar",
161
- extends: f,
162
- inheritAttrs: !1,
163
- computed: {
164
- progressStyle: function() {
165
- return {
166
- width: this.value + "%",
167
- display: "flex"
168
- };
169
- },
170
- indeterminate: function() {
171
- return this.mode === "indeterminate";
172
- },
173
- determinate: function() {
174
- return this.mode === "determinate";
175
- },
176
- dataP: function() {
177
- return b({
178
- determinate: this.determinate,
179
- indeterminate: this.indeterminate
180
- });
181
- }
182
- }
183
- }, y = ["aria-valuenow", "data-p"], k = ["data-p"], w = ["data-p"], P = ["data-p"];
184
- function B(e, s, a, S, z, n) {
185
- return r(), t("div", i({
186
- role: "progressbar",
187
- class: e.cx("root"),
188
- "aria-valuemin": "0",
189
- "aria-valuenow": e.value,
190
- "aria-valuemax": "100",
191
- "data-p": n.dataP
192
- }, e.ptmi("root")), [n.determinate ? (r(), t("div", i({
193
- key: 0,
194
- class: e.cx("value"),
195
- style: n.progressStyle,
196
- "data-p": n.dataP
197
- }, e.ptm("value")), [e.value != null && e.value !== 0 && e.showValue ? (r(), t("div", i({
198
- key: 0,
199
- class: e.cx("label"),
200
- "data-p": n.dataP
201
- }, e.ptm("label")), [p(e.$slots, "default", {}, function() {
202
- return [u(m(e.value + "%"), 1)];
203
- })], 16, w)) : l("", !0)], 16, k)) : n.indeterminate ? (r(), t("div", i({
204
- key: 1,
205
- class: e.cx("value"),
206
- "data-p": n.dataP
207
- }, e.ptm("value")), null, 16, P)) : l("", !0)], 16, y);
208
- }
209
- h.render = B;
210
- export {
211
- h as default
212
- };
@@ -1,54 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index-IGN7_cyg.cjs"),r=require("./index-DfCQoHSf.cjs"),n=require("vue"),l=require("./index-DFSkcsx-.cjs");var s=`
2
- .p-chip {
3
- display: inline-flex;
4
- align-items: center;
5
- background: dt('chip.background');
6
- color: dt('chip.color');
7
- border-radius: dt('chip.border.radius');
8
- padding-block: dt('chip.padding.y');
9
- padding-inline: dt('chip.padding.x');
10
- gap: dt('chip.gap');
11
- }
12
-
13
- .p-chip-icon {
14
- color: dt('chip.icon.color');
15
- font-size: dt('chip.icon.font.size');
16
- width: dt('chip.icon.size');
17
- height: dt('chip.icon.size');
18
- }
19
-
20
- .p-chip-image {
21
- border-radius: 50%;
22
- width: dt('chip.image.width');
23
- height: dt('chip.image.height');
24
- margin-inline-start: calc(-1 * dt('chip.padding.y'));
25
- }
26
-
27
- .p-chip:has(.p-chip-remove-icon) {
28
- padding-inline-end: dt('chip.padding.y');
29
- }
30
-
31
- .p-chip:has(.p-chip-image) {
32
- padding-block-start: calc(dt('chip.padding.y') / 2);
33
- padding-block-end: calc(dt('chip.padding.y') / 2);
34
- }
35
-
36
- .p-chip-remove-icon {
37
- cursor: pointer;
38
- font-size: dt('chip.remove.icon.size');
39
- width: dt('chip.remove.icon.size');
40
- height: dt('chip.remove.icon.size');
41
- color: dt('chip.remove.icon.color');
42
- border-radius: 50%;
43
- transition:
44
- outline-color dt('chip.transition.duration'),
45
- box-shadow dt('chip.transition.duration');
46
- outline-color: transparent;
47
- }
48
-
49
- .p-chip-remove-icon:focus-visible {
50
- box-shadow: dt('chip.remove.icon.focus.ring.shadow');
51
- outline: dt('chip.remove.icon.focus.ring.width') dt('chip.remove.icon.focus.ring.style') dt('chip.remove.icon.focus.ring.color');
52
- outline-offset: dt('chip.remove.icon.focus.ring.offset');
53
- }
54
- `,p={root:"p-chip p-component",image:"p-chip-image",icon:"p-chip-icon",label:"p-chip-label",removeIcon:"p-chip-remove-icon"},d=r.BaseStyle.extend({name:"chip",style:s,classes:p}),m={name:"BaseChip",extends:r.script,props:{label:{type:[String,Number],default:null},icon:{type:String,default:null},image:{type:String,default:null},removable:{type:Boolean,default:!1},removeIcon:{type:String,default:void 0}},style:d,provide:function(){return{$pcChip:this,$parentInstance:this}}},c={name:"Chip",extends:m,inheritAttrs:!1,emits:["remove"],data:function(){return{visible:!0}},methods:{onKeydown:function(o){(o.key==="Enter"||o.key==="Backspace")&&this.close(o)},close:function(o){this.visible=!1,this.$emit("remove",o)}},computed:{dataP:function(){return l.f({removable:this.removable})}},components:{TimesCircleIcon:a.script}},h=["aria-label","data-p"],u=["src"];function g(e,o,v,y,t,i){return t.visible?(n.openBlock(),n.createElementBlock("div",n.mergeProps({key:0,class:e.cx("root"),"aria-label":e.label},e.ptmi("root"),{"data-p":i.dataP}),[n.renderSlot(e.$slots,"default",{},function(){return[e.image?(n.openBlock(),n.createElementBlock("img",n.mergeProps({key:0,src:e.image},e.ptm("image"),{class:e.cx("image")}),null,16,u)):e.$slots.icon?(n.openBlock(),n.createBlock(n.resolveDynamicComponent(e.$slots.icon),n.mergeProps({key:1,class:e.cx("icon")},e.ptm("icon")),null,16,["class"])):e.icon?(n.openBlock(),n.createElementBlock("span",n.mergeProps({key:2,class:[e.cx("icon"),e.icon]},e.ptm("icon")),null,16)):n.createCommentVNode("",!0),e.label!==null?(n.openBlock(),n.createElementBlock("div",n.mergeProps({key:3,class:e.cx("label")},e.ptm("label")),n.toDisplayString(e.label),17)):n.createCommentVNode("",!0)]}),e.removable?n.renderSlot(e.$slots,"removeicon",{key:0,removeCallback:i.close,keydownCallback:i.onKeydown},function(){return[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(e.removeIcon?"span":"TimesCircleIcon"),n.mergeProps({class:[e.cx("removeIcon"),e.removeIcon],onClick:i.close,onKeydown:i.onKeydown},e.ptm("removeIcon")),null,16,["class","onClick","onKeydown"]))]}):n.createCommentVNode("",!0)],16,h)):n.createCommentVNode("",!0)}c.render=g;exports.default=c;
@@ -1,84 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),s=require("./lib-lTzD7ltX.cjs"),u=require("./index-DfCQoHSf.cjs"),c=require("./index-DFSkcsx-.cjs");var p=`
2
- .p-textarea {
3
- font-family: inherit;
4
- font-feature-settings: inherit;
5
- font-size: 1rem;
6
- color: dt('textarea.color');
7
- background: dt('textarea.background');
8
- padding-block: dt('textarea.padding.y');
9
- padding-inline: dt('textarea.padding.x');
10
- border: 1px solid dt('textarea.border.color');
11
- transition:
12
- background dt('textarea.transition.duration'),
13
- color dt('textarea.transition.duration'),
14
- border-color dt('textarea.transition.duration'),
15
- outline-color dt('textarea.transition.duration'),
16
- box-shadow dt('textarea.transition.duration');
17
- appearance: none;
18
- border-radius: dt('textarea.border.radius');
19
- outline-color: transparent;
20
- box-shadow: dt('textarea.shadow');
21
- }
22
-
23
- .p-textarea:enabled:hover {
24
- border-color: dt('textarea.hover.border.color');
25
- }
26
-
27
- .p-textarea:enabled:focus {
28
- border-color: dt('textarea.focus.border.color');
29
- box-shadow: dt('textarea.focus.ring.shadow');
30
- outline: dt('textarea.focus.ring.width') dt('textarea.focus.ring.style') dt('textarea.focus.ring.color');
31
- outline-offset: dt('textarea.focus.ring.offset');
32
- }
33
-
34
- .p-textarea.p-invalid {
35
- border-color: dt('textarea.invalid.border.color');
36
- }
37
-
38
- .p-textarea.p-variant-filled {
39
- background: dt('textarea.filled.background');
40
- }
41
-
42
- .p-textarea.p-variant-filled:enabled:hover {
43
- background: dt('textarea.filled.hover.background');
44
- }
45
-
46
- .p-textarea.p-variant-filled:enabled:focus {
47
- background: dt('textarea.filled.focus.background');
48
- }
49
-
50
- .p-textarea:disabled {
51
- opacity: 1;
52
- background: dt('textarea.disabled.background');
53
- color: dt('textarea.disabled.color');
54
- }
55
-
56
- .p-textarea::placeholder {
57
- color: dt('textarea.placeholder.color');
58
- }
59
-
60
- .p-textarea.p-invalid::placeholder {
61
- color: dt('textarea.invalid.placeholder.color');
62
- }
63
-
64
- .p-textarea-fluid {
65
- width: 100%;
66
- }
67
-
68
- .p-textarea-resizable {
69
- overflow: hidden;
70
- resize: none;
71
- }
72
-
73
- .p-textarea-sm {
74
- font-size: dt('textarea.sm.font.size');
75
- padding-block: dt('textarea.sm.padding.y');
76
- padding-inline: dt('textarea.sm.padding.x');
77
- }
78
-
79
- .p-textarea-lg {
80
- font-size: dt('textarea.lg.font.size');
81
- padding-block: dt('textarea.lg.padding.y');
82
- padding-inline: dt('textarea.lg.padding.x');
83
- }
84
- `,f={root:function(e){var n=e.instance,r=e.props;return["p-textarea p-component",{"p-filled":n.$filled,"p-textarea-resizable ":r.autoResize,"p-textarea-sm p-inputfield-sm":r.size==="small","p-textarea-lg p-inputfield-lg":r.size==="large","p-invalid":n.$invalid,"p-variant-filled":n.$variant==="filled","p-textarea-fluid":n.$fluid}]}},b=u.BaseStyle.extend({name:"textarea",style:p,classes:f}),x={name:"BaseTextarea",extends:s.script$3,props:{autoResize:Boolean},style:b,provide:function(){return{$pcTextarea:this,$parentInstance:this}}};function i(t){"@babel/helpers - typeof";return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(t)}function h(t,e,n){return(e=v(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function v(t){var e=g(t,"string");return i(e)=="symbol"?e:e+""}function g(t,e){if(i(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e);if(i(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var l={name:"Textarea",extends:x,inheritAttrs:!1,observer:null,mounted:function(){var e=this;this.autoResize&&(this.observer=new ResizeObserver(function(){requestAnimationFrame(function(){e.resize()})}),this.observer.observe(this.$el))},updated:function(){this.autoResize&&this.resize()},beforeUnmount:function(){this.observer&&this.observer.disconnect()},methods:{resize:function(){if(this.$el.offsetParent){var e=this.$el.style.height,n=parseInt(e)||0,r=this.$el.scrollHeight,d=!n||r>n,a=n&&r<n;a?(this.$el.style.height="auto",this.$el.style.height="".concat(this.$el.scrollHeight,"px")):d&&(this.$el.style.height="".concat(r,"px"))}},onInput:function(e){this.autoResize&&this.resize(),this.writeValue(e.target.value,e)}},computed:{attrs:function(){return o.mergeProps(this.ptmi("root",{context:{filled:this.$filled,disabled:this.disabled}}),this.formField)},dataP:function(){return c.f(h({invalid:this.$invalid,fluid:this.$fluid,filled:this.$variant==="filled"},this.size,this.size))}}},m=["value","name","disabled","aria-invalid","data-p"];function y(t,e,n,r,d,a){return o.openBlock(),o.createElementBlock("textarea",o.mergeProps({class:t.cx("root"),value:t.d_value,name:t.name,disabled:t.disabled,"aria-invalid":t.invalid||void 0,"data-p":a.dataP,onInput:e[0]||(e[0]=function(){return a.onInput&&a.onInput.apply(a,arguments)})},a.attrs),null,16,m)}l.render=y;exports.default=l;