@quoreadmin/ui 1.7.12 → 1.7.14

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 (145) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index140.js +2 -2
  3. package/dist/index142.js +1 -1
  4. package/dist/index144.js +4 -4
  5. package/dist/index172.js +14 -14
  6. package/dist/index173.js +3 -3
  7. package/dist/index176.js +4 -4
  8. package/dist/index183.js +10 -10
  9. package/dist/index185.js +10 -10
  10. package/dist/index187.js +36 -1190
  11. package/dist/index188.js +46 -0
  12. package/dist/index189.js +1077 -5825
  13. package/dist/index191.js +5922 -19
  14. package/dist/index192.js +199 -10
  15. package/dist/index193.js +35 -36
  16. package/dist/index194.js +17 -43
  17. package/dist/index20.js +15 -14
  18. package/dist/index202.js +4 -4
  19. package/dist/index203.js +67 -106
  20. package/dist/index204.js +395 -26
  21. package/dist/index205.js +21 -406
  22. package/dist/index206.js +33 -80
  23. package/dist/index207.js +115 -19
  24. package/dist/index208.js +31 -83
  25. package/dist/index209.js +26 -20
  26. package/dist/index210.js +35 -19
  27. package/dist/index211.js +9 -20
  28. package/dist/index212.js +18 -19
  29. package/dist/index213.js +10 -22
  30. package/dist/index214.js +10 -22
  31. package/dist/index215.js +50 -19
  32. package/dist/index216.js +42 -835
  33. package/dist/index217.js +3 -701
  34. package/dist/index218.js +38 -175
  35. package/dist/index219.js +21 -22
  36. package/dist/index220.js +160 -19
  37. package/dist/index221.js +4 -4
  38. package/dist/index222.js +20 -3
  39. package/dist/index223.js +21 -186
  40. package/dist/index224.js +168 -102
  41. package/dist/index225.js +49 -140
  42. package/dist/index226.js +34 -1223
  43. package/dist/index227.js +39 -19
  44. package/dist/index228.js +126 -21
  45. package/dist/index229.js +37 -19
  46. package/dist/index230.js +80 -22
  47. package/dist/index231.js +13 -22
  48. package/dist/index232.js +12 -12
  49. package/dist/index233.js +9 -9
  50. package/dist/index234.js +20 -2
  51. package/dist/index235.js +161 -2
  52. package/dist/index236.js +224 -157
  53. package/dist/index237.js +31 -222
  54. package/dist/index238.js +10 -37
  55. package/dist/index239.js +22 -10
  56. package/dist/index240.js +21 -21
  57. package/dist/index241.js +19 -32
  58. package/dist/index242.js +830 -110
  59. package/dist/index243.js +696 -30
  60. package/dist/index244.js +176 -26
  61. package/dist/index245.js +21 -35
  62. package/dist/index246.js +20 -9
  63. package/dist/index247.js +19 -18
  64. package/dist/index248.js +3 -10
  65. package/dist/index249.js +186 -9
  66. package/dist/index250.js +130 -48
  67. package/dist/index251.js +1218 -38
  68. package/dist/index252.js +19 -3
  69. package/dist/index253.js +21 -38
  70. package/dist/index254.js +22 -21
  71. package/dist/index255.js +20 -13
  72. package/dist/index256.js +19 -198
  73. package/dist/index257.js +18 -68
  74. package/dist/index258.js +2 -34
  75. package/dist/index259.js +2 -40
  76. package/dist/index260.js +6 -6
  77. package/dist/index261.js +1 -1
  78. package/dist/index262.js +1 -1
  79. package/dist/index275.js +2 -2
  80. package/dist/index277.js +8 -2
  81. package/dist/index280.js +46 -71
  82. package/dist/index281.js +79 -8
  83. package/dist/index282.js +25 -78
  84. package/dist/index283.js +12 -12
  85. package/dist/index284.js +22 -935
  86. package/dist/index285.js +16 -22
  87. package/dist/index286.js +17 -20
  88. package/dist/index287.js +23 -20
  89. package/dist/index288.js +2 -69
  90. package/dist/index289.js +3 -19
  91. package/dist/index290.js +27 -19
  92. package/dist/index291.js +63 -38
  93. package/dist/index292.js +16 -16
  94. package/dist/index293.js +935 -22
  95. package/dist/index294.js +22 -63
  96. package/dist/index295.js +12 -18
  97. package/dist/index296.js +11 -13
  98. package/dist/index297.js +68 -21
  99. package/dist/index298.js +17 -14
  100. package/dist/index299.js +16 -14
  101. package/dist/index300.js +22 -23
  102. package/dist/index301.js +22 -1518
  103. package/dist/index302.js +63 -386
  104. package/dist/index303.js +1275 -2488
  105. package/dist/index304.js +370 -70
  106. package/dist/index305.js +2396 -3435
  107. package/dist/index306.js +77 -51
  108. package/dist/index307.js +3768 -13
  109. package/dist/index308.js +55 -79
  110. package/dist/index309.js +15 -202
  111. package/dist/index310.js +70 -232
  112. package/dist/index311.js +202 -3
  113. package/dist/index312.js +240 -21
  114. package/dist/index331.js +8 -19
  115. package/dist/index332.js +12 -19
  116. package/dist/index333.js +51 -60
  117. package/dist/index334.js +12 -37
  118. package/dist/index335.js +13 -8
  119. package/dist/index336.js +57 -12
  120. package/dist/index337.js +48 -51
  121. package/dist/index338.js +28 -9
  122. package/dist/index339.js +2 -14
  123. package/dist/index340.js +5 -58
  124. package/dist/index341.js +2 -52
  125. package/dist/index342.js +22 -30
  126. package/dist/index343.js +41 -2
  127. package/dist/index344.js +2 -5
  128. package/dist/index345.js +11 -2
  129. package/dist/index346.js +19 -22
  130. package/dist/index347.js +14 -38
  131. package/dist/index348.js +10 -2
  132. package/dist/index349.js +9 -10
  133. package/dist/index350.js +2 -20
  134. package/dist/index351.js +8 -16
  135. package/dist/index352.js +10 -10
  136. package/dist/index353.js +13 -9
  137. package/dist/index354.js +20 -2
  138. package/dist/index355.js +20 -9
  139. package/dist/index356.js +63 -9
  140. package/dist/index357.js +37 -14
  141. package/dist/index371.js +98 -95
  142. package/dist/index372.js +90 -100
  143. package/dist/index373.js +98 -91
  144. package/package.json +1 -1
  145. package/dist/index190.js +0 -209
package/dist/index250.js CHANGED
@@ -1,53 +1,135 @@
1
- import { animate as N } from "./index251.js";
2
- import { velocityPerSecond as P } from "./index252.js";
3
- import { getFrameData as U } from "./index244.js";
4
- function z({ from: u = 0, velocity: o = 0, min: t, max: d, power: c = 0.8, timeConstant: y = 750, bounceStiffness: A = 500, bounceDamping: B = 10, restDelta: l = 1, modifyTarget: s, driver: M, onUpdate: f, onComplete: S, onStop: k }) {
5
- let e;
6
- function p(n) {
7
- return t !== void 0 && n < t || d !== void 0 && n > d;
8
- }
9
- function b(n) {
10
- return t === void 0 ? d : d === void 0 || Math.abs(t - n) < Math.abs(d - n) ? t : d;
11
- }
12
- function g(n) {
13
- e?.stop(), e = N(Object.assign(Object.assign({}, n), {
14
- driver: M,
15
- onUpdate: (i) => {
16
- var r;
17
- f?.(i), (r = n.onUpdate) === null || r === void 0 || r.call(n, i);
18
- },
19
- onComplete: S,
20
- onStop: k
21
- }));
22
- }
23
- function O(n) {
24
- g(Object.assign({ type: "spring", stiffness: A, damping: B, restDelta: l }, n));
25
- }
26
- if (p(u))
27
- O({ from: u, velocity: o, to: b(u) });
28
- else {
29
- let n = c * o + u;
30
- typeof s < "u" && (n = s(n));
31
- const i = b(n), r = i === t ? -1 : 1;
32
- let h, j;
33
- const F = (a) => {
34
- h = j, j = a, o = P(a - h, U().delta), (r === 1 && a > i || r === -1 && a < i) && O({ from: a, to: i, velocity: o });
1
+ import { ObjectUtils as d } from "./index170.js";
2
+ import u from "./index204.js";
3
+ import r from "./index299.js";
4
+ import { createElementBlock as o, openBlock as s, mergeProps as n, createElementVNode as i } from "vue";
5
+ var p = {
6
+ name: "BaseRadioButton",
7
+ extends: u,
8
+ props: {
9
+ value: null,
10
+ modelValue: null,
11
+ binary: Boolean,
12
+ name: {
13
+ type: String,
14
+ default: null
15
+ },
16
+ variant: {
17
+ type: String,
18
+ default: null
19
+ },
20
+ invalid: {
21
+ type: Boolean,
22
+ default: !1
23
+ },
24
+ disabled: {
25
+ type: Boolean,
26
+ default: !1
27
+ },
28
+ readonly: {
29
+ type: Boolean,
30
+ default: !1
31
+ },
32
+ tabindex: {
33
+ type: Number,
34
+ default: null
35
+ },
36
+ inputId: {
37
+ type: String,
38
+ default: null
39
+ },
40
+ inputClass: {
41
+ type: [String, Object],
42
+ default: null
43
+ },
44
+ inputStyle: {
45
+ type: Object,
46
+ default: null
47
+ },
48
+ ariaLabelledby: {
49
+ type: String,
50
+ default: null
51
+ },
52
+ ariaLabel: {
53
+ type: String,
54
+ default: null
55
+ }
56
+ },
57
+ style: r,
58
+ provide: function() {
59
+ return {
60
+ $parentInstance: this
35
61
  };
36
- g({
37
- type: "decay",
38
- from: u,
39
- velocity: o,
40
- timeConstant: y,
41
- power: c,
42
- restDelta: l,
43
- modifyTarget: s,
44
- onUpdate: p(n) ? F : void 0
45
- });
46
62
  }
47
- return {
48
- stop: () => e?.stop()
49
- };
63
+ }, h = {
64
+ name: "RadioButton",
65
+ extends: p,
66
+ inheritAttrs: !1,
67
+ emits: ["update:modelValue", "change", "focus", "blur"],
68
+ methods: {
69
+ getPTOptions: function(a) {
70
+ var t = a === "root" ? this.ptmi : this.ptm;
71
+ return t(a, {
72
+ context: {
73
+ checked: this.checked,
74
+ disabled: this.disabled
75
+ }
76
+ });
77
+ },
78
+ onChange: function(a) {
79
+ if (!this.disabled && !this.readonly) {
80
+ var t = this.binary ? !this.checked : this.value;
81
+ this.$emit("update:modelValue", t), this.$emit("change", a);
82
+ }
83
+ },
84
+ onFocus: function(a) {
85
+ this.$emit("focus", a);
86
+ },
87
+ onBlur: function(a) {
88
+ this.$emit("blur", a);
89
+ }
90
+ },
91
+ computed: {
92
+ checked: function() {
93
+ return this.modelValue != null && (this.binary ? !!this.modelValue : d.equals(this.modelValue, this.value));
94
+ }
95
+ }
96
+ }, b = ["data-p-highlight", "data-p-disabled"], m = ["id", "value", "name", "checked", "tabindex", "disabled", "readonly", "aria-labelledby", "aria-label", "aria-invalid"];
97
+ function c(e, a, t, f, y, l) {
98
+ return s(), o("div", n({
99
+ class: e.cx("root")
100
+ }, l.getPTOptions("root"), {
101
+ "data-p-highlight": l.checked,
102
+ "data-p-disabled": e.disabled
103
+ }), [i("input", n({
104
+ id: e.inputId,
105
+ type: "radio",
106
+ class: [e.cx("input"), e.inputClass],
107
+ style: e.inputStyle,
108
+ value: e.value,
109
+ name: e.name,
110
+ checked: l.checked,
111
+ tabindex: e.tabindex,
112
+ disabled: e.disabled,
113
+ readonly: e.readonly,
114
+ "aria-labelledby": e.ariaLabelledby,
115
+ "aria-label": e.ariaLabel,
116
+ "aria-invalid": e.invalid || void 0,
117
+ onFocus: a[0] || (a[0] = function() {
118
+ return l.onFocus && l.onFocus.apply(l, arguments);
119
+ }),
120
+ onBlur: a[1] || (a[1] = function() {
121
+ return l.onBlur && l.onBlur.apply(l, arguments);
122
+ }),
123
+ onChange: a[2] || (a[2] = function() {
124
+ return l.onChange && l.onChange.apply(l, arguments);
125
+ })
126
+ }, l.getPTOptions("input")), null, 16, m), i("div", n({
127
+ class: e.cx("box")
128
+ }, l.getPTOptions("box")), [i("div", n({
129
+ class: e.cx("icon")
130
+ }, l.getPTOptions("icon")), null, 16)], 16)], 16, b);
50
131
  }
132
+ h.render = c;
51
133
  export {
52
- z as inertia
134
+ h as default
53
135
  };