@quoreadmin/ui 1.7.8 → 1.7.10

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 (283) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index102.js +2 -2
  3. package/dist/index109.js +1 -1
  4. package/dist/index113.js +2 -2
  5. package/dist/index115.js +42 -33
  6. package/dist/index117.js +3 -3
  7. package/dist/index129.js +1 -1
  8. package/dist/index131.js +2 -2
  9. package/dist/index140.js +3 -3
  10. package/dist/index142.js +72 -60
  11. package/dist/index144.js +6 -6
  12. package/dist/index148.js +44 -30
  13. package/dist/index152.js +1 -1
  14. package/dist/{index154.js → index155.js} +1 -1
  15. package/dist/{index158.js → index159.js} +9 -9
  16. package/dist/index162.js +111 -492
  17. package/dist/index163.js +471 -5498
  18. package/dist/index164.js +5511 -80
  19. package/dist/index165.js +86 -856
  20. package/dist/index166.js +844 -21
  21. package/dist/index167.js +23 -265
  22. package/dist/index168.js +256 -126
  23. package/dist/index169.js +146 -1195
  24. package/dist/index170.js +1139 -712
  25. package/dist/index171.js +704 -1240
  26. package/dist/index172.js +1280 -248
  27. package/dist/index173.js +266 -96
  28. package/dist/index174.js +106 -2
  29. package/dist/index175.js +2 -1376
  30. package/dist/index176.js +1378 -0
  31. package/dist/index178.js +12 -12
  32. package/dist/index179.js +10 -10
  33. package/dist/index180.js +12 -12
  34. package/dist/index181.js +14 -21
  35. package/dist/index182.js +23 -757
  36. package/dist/index183.js +759 -1117
  37. package/dist/index184.js +1117 -1234
  38. package/dist/index185.js +1205 -11248
  39. package/dist/index186.js +11277 -36
  40. package/dist/index187.js +5938 -44
  41. package/dist/index188.js +133 -1116
  42. package/dist/index189.js +37 -0
  43. package/dist/index190.js +13 -5933
  44. package/dist/index191.js +76 -205
  45. package/dist/index192.js +246 -28
  46. package/dist/index193.js +13680 -14
  47. package/dist/index194.js +26 -77
  48. package/dist/index195.js +55 -245
  49. package/dist/index196.js +209 -13655
  50. package/dist/index197.js +307 -26
  51. package/dist/index198.js +268 -43
  52. package/dist/index199.js +36 -238
  53. package/dist/index20.js +38 -26
  54. package/dist/index200.js +43 -307
  55. package/dist/index201.js +1170 -268
  56. package/dist/index203.js +29 -403
  57. package/dist/index204.js +116 -22
  58. package/dist/index205.js +32 -157
  59. package/dist/index206.js +26 -228
  60. package/dist/index207.js +30 -31
  61. package/dist/index208.js +9 -10
  62. package/dist/index209.js +17 -31
  63. package/dist/index210.js +10 -116
  64. package/dist/index211.js +9 -35
  65. package/dist/index212.js +51 -26
  66. package/dist/index213.js +41 -34
  67. package/dist/index214.js +4 -9
  68. package/dist/index215.js +38 -18
  69. package/dist/index216.js +21 -10
  70. package/dist/index217.js +88 -10
  71. package/dist/index218.js +404 -48
  72. package/dist/index219.js +22 -43
  73. package/dist/index220.js +160 -3
  74. package/dist/index221.js +19 -38
  75. package/dist/index222.js +20 -21
  76. package/dist/index223.js +21 -126
  77. package/dist/index224.js +183 -22
  78. package/dist/index225.js +69 -79
  79. package/dist/index226.js +34 -20
  80. package/dist/index227.js +39 -19
  81. package/dist/index228.js +160 -19
  82. package/dist/index229.js +228 -20
  83. package/dist/index230.js +36 -19
  84. package/dist/index231.js +10 -161
  85. package/dist/index232.js +3632 -20
  86. package/dist/index233.js +55 -22
  87. package/dist/index234.js +68 -190
  88. package/dist/index235.js +48 -66
  89. package/dist/index236.js +214 -33
  90. package/dist/index237.js +10 -40
  91. package/dist/index238.js +57 -22
  92. package/dist/index239.js +61 -22
  93. package/dist/index240.js +54 -20
  94. package/dist/index241.js +62 -823
  95. package/dist/index242.js +689 -668
  96. package/dist/index243.js +37 -174
  97. package/dist/index244.js +64 -22
  98. package/dist/index245.js +11 -20
  99. package/dist/index246.js +705 -20
  100. package/dist/index247.js +820 -3
  101. package/dist/index248.js +115 -175
  102. package/dist/index249.js +23 -118
  103. package/dist/index250.js +72 -1215
  104. package/dist/index251.js +10 -10
  105. package/dist/index252.js +13 -15
  106. package/dist/index253.js +13 -15
  107. package/dist/index254.js +12 -21
  108. package/dist/index255.js +15 -13
  109. package/dist/index256.js +15 -13
  110. package/dist/index257.js +20 -2
  111. package/dist/index258.js +836 -2
  112. package/dist/index259.js +657 -3587
  113. package/dist/index260.js +174 -53
  114. package/dist/index261.js +22 -77
  115. package/dist/index262.js +20 -52
  116. package/dist/index263.js +20 -215
  117. package/dist/index264.js +3 -10
  118. package/dist/index265.js +182 -52
  119. package/dist/index266.js +128 -56
  120. package/dist/index267.js +1215 -46
  121. package/dist/index268.js +20 -75
  122. package/dist/index269.js +21 -722
  123. package/dist/index270.js +22 -39
  124. package/dist/index271.js +29 -64
  125. package/dist/index272.js +20 -11
  126. package/dist/index273.js +20 -705
  127. package/dist/index274.js +2 -820
  128. package/dist/index275.js +2 -253
  129. package/dist/index276.js +253 -8
  130. package/dist/index277.js +8 -138
  131. package/dist/index278.js +123 -68
  132. package/dist/index279.js +83 -2
  133. package/dist/index280.js +46 -71
  134. package/dist/index281.js +79 -3
  135. package/dist/index282.js +25 -26
  136. package/dist/index283.js +21 -53
  137. package/dist/index284.js +13 -17
  138. package/dist/index285.js +16 -22
  139. package/dist/index286.js +17 -22
  140. package/dist/index287.js +22 -15
  141. package/dist/index288.js +3 -17
  142. package/dist/index289.js +27 -23
  143. package/dist/index291.js +1 -1
  144. package/dist/index292.js +1 -1
  145. package/dist/index294.js +1 -1
  146. package/dist/index295.js +2 -2
  147. package/dist/index297.js +1 -1
  148. package/dist/index298.js +1 -1
  149. package/dist/index299.js +2 -2
  150. package/dist/index300.js +2 -79
  151. package/dist/index301.js +78 -21
  152. package/dist/index302.js +22 -935
  153. package/dist/index303.js +935 -22
  154. package/dist/index304.js +15 -13
  155. package/dist/index305.js +5 -5
  156. package/dist/index306.js +19 -68
  157. package/dist/index307.js +68 -18
  158. package/dist/index308.js +14 -14
  159. package/dist/index309.js +19 -22
  160. package/dist/index31.js +46 -36
  161. package/dist/index310.js +14 -14
  162. package/dist/index311.js +21 -62
  163. package/dist/index312.js +63 -235
  164. package/dist/index313.js +233 -4
  165. package/dist/index314.js +5 -133
  166. package/dist/index315.js +129 -63
  167. package/dist/index316.js +67 -86
  168. package/dist/index317.js +85 -27
  169. package/dist/index318.js +28 -8
  170. package/dist/index319.js +8 -74
  171. package/dist/index320.js +74 -3
  172. package/dist/index321.js +4 -2
  173. package/dist/index322.js +2 -83
  174. package/dist/index323.js +81 -52
  175. package/dist/index324.js +53 -5
  176. package/dist/index325.js +5 -4
  177. package/dist/index326.js +4 -178
  178. package/dist/index327.js +174 -58
  179. package/dist/index328.js +61 -73
  180. package/dist/index329.js +74 -36
  181. package/dist/index330.js +36 -8
  182. package/dist/index331.js +8 -12
  183. package/dist/index332.js +12 -54
  184. package/dist/index333.js +52 -9
  185. package/dist/index334.js +11 -13
  186. package/dist/index335.js +9 -53
  187. package/dist/index336.js +55 -49
  188. package/dist/index337.js +49 -28
  189. package/dist/index338.js +31 -2
  190. package/dist/index339.js +2 -5
  191. package/dist/index340.js +5 -2
  192. package/dist/index341.js +2 -23
  193. package/dist/index342.js +21 -39
  194. package/dist/index343.js +41 -2
  195. package/dist/index344.js +2 -11
  196. package/dist/index345.js +11 -20
  197. package/dist/index346.js +18 -15
  198. package/dist/index347.js +16 -9
  199. package/dist/index348.js +9 -9
  200. package/dist/index349.js +10 -2
  201. package/dist/index350.js +2 -9
  202. package/dist/index351.js +9 -10
  203. package/dist/index352.js +10 -14
  204. package/dist/index353.js +14 -20
  205. package/dist/index354.js +9 -9
  206. package/dist/index355.js +19 -63
  207. package/dist/index356.js +61 -34
  208. package/dist/index357.js +36 -20
  209. package/dist/index358.js +19 -54
  210. package/dist/index359.js +55 -28
  211. package/dist/index360.js +27 -5
  212. package/dist/index361.js +6 -51
  213. package/dist/index362.js +51 -5
  214. package/dist/index363.js +6 -12
  215. package/dist/index364.js +12 -7
  216. package/dist/index365.js +6 -27
  217. package/dist/index366.js +28 -2
  218. package/dist/index367.js +2 -70
  219. package/dist/index368.js +67 -164
  220. package/dist/index369.js +165 -99
  221. package/dist/index370.js +100 -90
  222. package/dist/index371.js +91 -98
  223. package/dist/index372.js +97 -16
  224. package/dist/index373.js +17 -31
  225. package/dist/index374.js +30 -10
  226. package/dist/index375.js +10 -3
  227. package/dist/index376.js +3 -3
  228. package/dist/index377.js +4 -13
  229. package/dist/index378.js +13 -7
  230. package/dist/index379.js +7 -12
  231. package/dist/index380.js +11 -4
  232. package/dist/index381.js +5 -33
  233. package/dist/index382.js +33 -31
  234. package/dist/index383.js +29 -26
  235. package/dist/index384.js +26 -59
  236. package/dist/index385.js +61 -3
  237. package/dist/index386.js +3 -2
  238. package/dist/index387.js +2 -2
  239. package/dist/index388.js +2 -17
  240. package/dist/index389.js +15 -11
  241. package/dist/index390.js +13 -6
  242. package/dist/index391.js +6 -32
  243. package/dist/index392.js +34 -0
  244. package/dist/index43.js +206 -201
  245. package/dist/index44.js +84 -69
  246. package/dist/index47.js +26 -20
  247. package/dist/index49.js +11 -10
  248. package/dist/index50.js +1 -1
  249. package/dist/index51.js +1 -1
  250. package/dist/index52.js +1 -1
  251. package/dist/index54.js +2 -2
  252. package/dist/index56.js +1 -1
  253. package/dist/index58.js +5 -5
  254. package/dist/index59.js +1 -1
  255. package/dist/index71.js +2 -2
  256. package/dist/index75.js +1 -1
  257. package/dist/index80.js +1 -1
  258. package/dist/index85.js +1 -1
  259. package/dist/index87.js +3 -3
  260. package/dist/index89.js +2 -2
  261. package/dist/index95.js +25 -18
  262. package/dist/src/components/data-filter/data-filter.d.ts +33 -0
  263. package/dist/src/components/data-list/data-list.d.ts +33 -0
  264. package/dist/src/components/date-picker/date-picker.d.ts +11 -0
  265. package/dist/src/components/date-picker/date-picker.stories.d.ts +1376 -0
  266. package/dist/src/components/form-group/form-group.stories.d.ts +33 -0
  267. package/dist/src/components/grid/grid.stories.d.ts +61 -0
  268. package/dist/src/components/input/input.d.ts +33 -0
  269. package/dist/src/components/input/input.stories.d.ts +615 -0
  270. package/dist/src/components/list/list.stories.d.ts +14 -0
  271. package/dist/src/components/modal/modal.stories.d.ts +14 -0
  272. package/dist/src/components/room-details-popover/room-details-popover.d.ts +31 -0
  273. package/dist/src/components/select/select.d.ts +14 -0
  274. package/dist/src/components/select/select.stories.d.ts +44 -0
  275. package/dist/src/components/textarea/textarea.d.ts +20 -0
  276. package/dist/src/components/textarea/textarea.stories.d.ts +22 -0
  277. package/dist/src/views/lists.vue.d.ts +66 -0
  278. package/dist/src/views/tables.vue.d.ts +33 -0
  279. package/package.json +1 -1
  280. package/dist/index161.js +0 -116
  281. package/dist/index177.js +0 -20
  282. package/dist/index202.js +0 -90
  283. /package/dist/{index156.js → index157.js} +0 -0
@@ -684,6 +684,10 @@ declare const _default: import('vue').DefineComponent<{}, {
684
684
  type: BooleanConstructor;
685
685
  default: boolean;
686
686
  };
687
+ floatingLabel: {
688
+ type: BooleanConstructor;
689
+ default: boolean;
690
+ };
687
691
  }>, {
688
692
  currentInput: import('vue').Ref<null, null>;
689
693
  focused: import('vue').Ref<boolean, boolean>;
@@ -693,24 +697,46 @@ declare const _default: import('vue').DefineComponent<{}, {
693
697
  focused: boolean;
694
698
  disabled?: undefined;
695
699
  collapsed?: undefined;
700
+ 'has-floating-label'?: undefined;
701
+ 'label-floated'?: undefined;
696
702
  } | {
697
703
  disabled: boolean;
698
704
  focused?: undefined;
699
705
  collapsed?: undefined;
706
+ 'has-floating-label'?: undefined;
707
+ 'label-floated'?: undefined;
700
708
  } | {
701
709
  [x: string]: boolean | "";
702
710
  focused?: undefined;
703
711
  disabled?: undefined;
704
712
  collapsed?: undefined;
713
+ 'has-floating-label'?: undefined;
714
+ 'label-floated'?: undefined;
705
715
  } | {
706
716
  [x: string]: string;
707
717
  focused?: undefined;
708
718
  disabled?: undefined;
709
719
  collapsed?: undefined;
720
+ 'has-floating-label'?: undefined;
721
+ 'label-floated'?: undefined;
710
722
  } | {
711
723
  collapsed: boolean;
712
724
  focused?: undefined;
713
725
  disabled?: undefined;
726
+ 'has-floating-label'?: undefined;
727
+ 'label-floated'?: undefined;
728
+ } | {
729
+ 'has-floating-label': boolean;
730
+ focused?: undefined;
731
+ disabled?: undefined;
732
+ collapsed?: undefined;
733
+ 'label-floated'?: undefined;
734
+ } | {
735
+ 'label-floated': boolean;
736
+ focused?: undefined;
737
+ disabled?: undefined;
738
+ collapsed?: undefined;
739
+ 'has-floating-label'?: undefined;
714
740
  })[]>;
715
741
  inputClasses: import('vue').ComputedRef<(string | {
716
742
  [x: string]: boolean | "";
@@ -722,6 +748,8 @@ declare const _default: import('vue').DefineComponent<{}, {
722
748
  showClearIcon: import('vue').ComputedRef<boolean>;
723
749
  isSlotAvailable: import('vue').ComputedRef<boolean>;
724
750
  showCustomPlaceholder: import('vue').ComputedRef<boolean>;
751
+ showFloatingLabel: import('vue').ComputedRef<boolean>;
752
+ isLabelFloated: import('vue').ComputedRef<boolean>;
725
753
  onClickIcon: () => void;
726
754
  onFocusOut: () => void;
727
755
  togglePasswordVisibility: () => void;
@@ -795,6 +823,10 @@ declare const _default: import('vue').DefineComponent<{}, {
795
823
  type: BooleanConstructor;
796
824
  default: boolean;
797
825
  };
826
+ floatingLabel: {
827
+ type: BooleanConstructor;
828
+ default: boolean;
829
+ };
798
830
  }>> & Readonly<{
799
831
  "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
800
832
  "onUpdate-type"?: ((...args: any[]) => any) | undefined;
@@ -813,6 +845,7 @@ declare const _default: import('vue').DefineComponent<{}, {
813
845
  autocomplete: string;
814
846
  hideClear: boolean;
815
847
  iconPosition: string;
848
+ floatingLabel: boolean;
816
849
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
817
850
  QTooltip: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
818
851
  id: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@quoreadmin/ui",
3
3
  "private": false,
4
- "version": "1.7.8",
4
+ "version": "1.7.10",
5
5
  "type": "module",
6
6
  "sideEffects": [
7
7
  "**/*.css",
package/dist/index161.js DELETED
@@ -1,116 +0,0 @@
1
- const e = {
2
- theme: {
3
- colors: {
4
- success: "#0f6a13",
5
- "success-light": "#e9f7da",
6
- "idle-pass": "#d6ecc1",
7
- error: "#c20017",
8
- "error-light": "#ffe4e8",
9
- warning: "#ab9b00",
10
- "warning-light": "#fef8de",
11
- info: "#004494",
12
- "info-light": "#dbf3ff",
13
- "green-quore": "#5db407",
14
- "blue-sky": "#2898e0",
15
- "blue-quore": "#2f363c",
16
- complaint: "#c20017",
17
- recurring: "#006b00",
18
- workorder: "#F67B00",
19
- gray: {
20
- 0: "#f9f9fa",
21
- "00": "#f4f4f4",
22
- 7: "#eff1f2",
23
- 10: "#ebeef0",
24
- 20: "#dde1e4",
25
- 30: "#cdd4d8",
26
- 40: "#bcc5cb"
27
- },
28
- inkwell: {
29
- 0: "#8d9aa5",
30
- 10: "#6c7b89",
31
- 20: "#515d67",
32
- 30: "#2f363c",
33
- 40: "#121517"
34
- },
35
- maroon: {
36
- 0: "#f7d7db",
37
- 10: "#d27989",
38
- 20: "#ad314e",
39
- 30: "#880028",
40
- 40: "#630023"
41
- },
42
- pink: {
43
- 0: "#ffdbe5",
44
- 10: "#ff89ae",
45
- 20: "#ff377a",
46
- 30: "#cd0059",
47
- 40: "#9c0053"
48
- },
49
- red: {
50
- 0: "#ffe4e8",
51
- 10: "#ffa9b2",
52
- 20: "#ff6e76",
53
- 30: "#ff3333",
54
- 40: "#c20017"
55
- },
56
- orange: {
57
- 0: "#FFF7DB",
58
- 10: "#FCD379",
59
- 20: "#F89F1B",
60
- 30: "#F67B00",
61
- 40: "#F56200"
62
- },
63
- yellow: {
64
- 0: "#fff8de",
65
- 10: "#f9e991",
66
- 20: "#eedc00",
67
- 30: "#ccbb00",
68
- 40: "#ab9b00"
69
- },
70
- green: {
71
- 0: "#e9f7da",
72
- 10: "#9cd662",
73
- 20: "#5db407",
74
- 30: "#249000",
75
- 40: "#006b00"
76
- },
77
- teal: {
78
- 0: "#dcf2f1",
79
- 10: "#64c7c0",
80
- 20: "#0f9b8f",
81
- 30: "#007667",
82
- 40: "#005244"
83
- },
84
- blue: {
85
- 0: "#dbf3ff",
86
- "00": "#e9f4fb",
87
- 5: "#93cbef",
88
- 10: "#7cc7f0",
89
- 20: "#2898e0",
90
- 30: "#0a69ba",
91
- 40: "#004594"
92
- },
93
- purple: {
94
- 0: "#f2e3f2",
95
- 10: "#d29cd5",
96
- 20: "#b062b7",
97
- 30: "#8d3399",
98
- 40: "#430675"
99
- },
100
- transparent: "transparent",
101
- current: "currentColor",
102
- white: "#ffffff",
103
- black: "#000000"
104
- },
105
- screens: {
106
- sm: "576px",
107
- md: "768px",
108
- lg: "992px",
109
- xl: "1200px",
110
- "sm-down": { max: "767.98px" }
111
- }
112
- }
113
- };
114
- export {
115
- e as default
116
- };
package/dist/index177.js DELETED
@@ -1,20 +0,0 @@
1
- import e from "./index175.js";
2
- var o = {
3
- months: ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre"],
4
- monthsShort: ["ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic"],
5
- weekdays: ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"],
6
- weekdaysShort: ["dom", "lun", "mar", "mié", "jue", "vie", "sáb"],
7
- weekdaysMin: ["do", "lu", "ma", "mi", "ju", "vi", "sá"],
8
- firstDayOfWeek: 1,
9
- firstWeekContainsDate: 1
10
- };
11
- const a = {
12
- formatLocale: o,
13
- yearFormat: "YYYY",
14
- monthFormat: "MMM",
15
- monthBeforeYear: !0
16
- };
17
- e.locale("es", a);
18
- export {
19
- a as default
20
- };
package/dist/index202.js DELETED
@@ -1,90 +0,0 @@
1
- import { DomHandler as r } from "./index169.js";
2
- import p from "./index275.js";
3
- import c from "./index276.js";
4
- var f = p.extend({
5
- style: c
6
- });
7
- function m(e) {
8
- return b(e) || y(e) || v(e) || h();
9
- }
10
- function h() {
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 v(e, t) {
15
- if (e) {
16
- if (typeof e == "string") return a(e, t);
17
- var n = Object.prototype.toString.call(e).slice(8, -1);
18
- if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
19
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return a(e, t);
20
- }
21
- }
22
- function y(e) {
23
- if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
24
- }
25
- function b(e) {
26
- if (Array.isArray(e)) return a(e);
27
- }
28
- function a(e, t) {
29
- (t == null || t > e.length) && (t = e.length);
30
- for (var n = 0, o = new Array(t); n < t; n++) o[n] = e[n];
31
- return o;
32
- }
33
- var E = f.extend("ripple", {
34
- mounted: function(t) {
35
- var n, o = t == null || (n = t.$instance) === null || n === void 0 ? void 0 : n.$primevueConfig;
36
- o && o.ripple && (this.create(t), this.bindEvents(t), t.setAttribute("data-pd-ripple", !0));
37
- },
38
- unmounted: function(t) {
39
- this.remove(t);
40
- },
41
- timeout: void 0,
42
- methods: {
43
- bindEvents: function(t) {
44
- t.addEventListener("mousedown", this.onMouseDown.bind(this));
45
- },
46
- unbindEvents: function(t) {
47
- t.removeEventListener("mousedown", this.onMouseDown.bind(this));
48
- },
49
- create: function(t) {
50
- var n = r.createElement("span", {
51
- role: "presentation",
52
- "aria-hidden": !0,
53
- "data-p-ink": !0,
54
- "data-p-ink-active": !1,
55
- class: !this.isUnstyled() && this.cx("root"),
56
- onAnimationEnd: this.onAnimationEnd.bind(this),
57
- "p-bind": this.ptm("root")
58
- });
59
- t.appendChild(n), this.$el = n;
60
- },
61
- remove: function(t) {
62
- var n = this.getInk(t);
63
- n && (this.unbindEvents(t), n.removeEventListener("animationend", this.onAnimationEnd), n.remove());
64
- },
65
- onMouseDown: function(t) {
66
- var n = this, o = t.currentTarget, i = this.getInk(o);
67
- if (!(!i || getComputedStyle(i, null).display === "none")) {
68
- if (!this.isUnstyled() && r.removeClass(i, "p-ink-active"), i.setAttribute("data-p-ink-active", "false"), !r.getHeight(i) && !r.getWidth(i)) {
69
- var s = Math.max(r.getOuterWidth(o), r.getOuterHeight(o));
70
- i.style.height = s + "px", i.style.width = s + "px";
71
- }
72
- var u = r.getOffset(o), d = t.pageX - u.left + document.body.scrollTop - r.getWidth(i) / 2, l = t.pageY - u.top + document.body.scrollLeft - r.getHeight(i) / 2;
73
- i.style.top = l + "px", i.style.left = d + "px", !this.isUnstyled() && r.addClass(i, "p-ink-active"), i.setAttribute("data-p-ink-active", "true"), this.timeout = setTimeout(function() {
74
- i && (!n.isUnstyled() && r.removeClass(i, "p-ink-active"), i.setAttribute("data-p-ink-active", "false"));
75
- }, 401);
76
- }
77
- },
78
- onAnimationEnd: function(t) {
79
- this.timeout && clearTimeout(this.timeout), !this.isUnstyled() && r.removeClass(t.currentTarget, "p-ink-active"), t.currentTarget.setAttribute("data-p-ink-active", "false");
80
- },
81
- getInk: function(t) {
82
- return t && t.children ? m(t.children).find(function(n) {
83
- return r.getAttribute(n, "data-pc-name") === "ripple";
84
- }) : void 0;
85
- }
86
- }
87
- });
88
- export {
89
- E as default
90
- };
File without changes