@quoreadmin/ui 1.6.5 → 1.6.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.
- package/dist/index15.js +19 -19
- package/dist/index174.js +4 -4
- package/dist/index181.js +8 -8
- package/dist/index183.js +8 -8
- package/dist/index190.js +26 -26
- package/dist/index191.js +1 -1
- package/dist/index192.js +1 -1
- package/dist/index195.js +2 -2
- package/dist/index197.js +14 -14
- package/dist/index198.js +1 -1
- package/dist/index199.js +1 -1
- package/dist/index200.js +3 -3
- package/dist/index201.js +2 -2
- package/dist/index216.js +2 -2
- package/dist/index217.js +2 -2
- package/dist/index218.js +1 -1
- package/dist/index219.js +160 -21
- package/dist/index220.js +228 -22
- package/dist/index221.js +36 -19
- package/dist/index222.js +9 -835
- package/dist/index223.js +104 -679
- package/dist/index224.js +36 -174
- package/dist/index225.js +80 -20
- package/dist/index226.js +12 -12
- package/dist/index227.js +12 -14
- package/dist/index228.js +10 -10
- package/dist/index229.js +11 -11
- package/dist/index230.js +9 -9
- package/dist/index231.js +161 -3
- package/dist/index232.js +19 -186
- package/dist/index233.js +21 -132
- package/dist/index234.js +167 -129
- package/dist/index235.js +46 -1199
- package/dist/index236.js +31 -124
- package/dist/index237.js +39 -19
- package/dist/index238.js +11 -11
- package/dist/index239.js +13 -11
- package/dist/index240.js +11 -13
- package/dist/index241.js +819 -21
- package/dist/index242.js +701 -28
- package/dist/index243.js +176 -20
- package/dist/index244.js +14 -12
- package/dist/index245.js +20 -2
- package/dist/index246.js +20 -2
- package/dist/index247.js +3 -22
- package/dist/index248.js +155 -167
- package/dist/index249.js +112 -49
- package/dist/index250.js +1223 -34
- package/dist/index251.js +19 -39
- package/dist/index252.js +21 -160
- package/dist/index253.js +22 -228
- package/dist/index254.js +28 -36
- package/dist/index255.js +20 -10
- package/dist/index256.js +20 -253
- package/dist/index257.js +2 -8
- package/dist/index258.js +2 -138
- package/dist/index259.js +3621 -72
- package/dist/index260.js +39 -3616
- package/dist/index261.js +52 -30
- package/dist/index262.js +22 -47
- package/dist/index263.js +188 -25
- package/dist/index264.js +8 -213
- package/dist/index265.js +56 -9
- package/dist/index266.js +45 -41
- package/dist/index267.js +39 -46
- package/dist/index268.js +57 -36
- package/dist/index269.js +689 -41
- package/dist/index270.js +21 -705
- package/dist/index271.js +47 -22
- package/dist/index272.js +10 -63
- package/dist/index273.js +704 -10
- package/dist/index274.js +770 -655
- package/dist/index275.js +234 -801
- package/dist/index276.js +7 -79
- package/dist/index277.js +138 -20
- package/dist/index278.js +83 -20
- package/dist/index281.js +2 -79
- package/dist/index282.js +71 -71
- package/dist/index283.js +53 -21
- package/dist/index284.js +26 -935
- package/dist/index285.js +12 -12
- package/dist/index286.js +15 -13
- package/dist/index287.js +16 -20
- package/dist/index288.js +16 -68
- package/dist/index289.js +19 -15
- package/dist/index290.js +76 -16
- package/dist/index291.js +21 -53
- package/dist/index292.js +935 -22
- package/dist/index293.js +11 -11
- package/dist/index294.js +19 -62
- package/dist/index295.js +20 -2
- package/dist/index296.js +68 -25
- package/dist/index297.js +19 -22
- package/dist/index298.js +19 -22
- package/dist/index299.js +22 -16
- package/dist/index300.js +22 -17
- package/dist/index301.js +61 -21
- package/dist/index303.js +1 -1
- package/dist/index306.js +1 -1
- package/dist/index307.js +1 -1
- package/dist/index309.js +1 -1
- package/dist/index310.js +1 -1
- package/dist/index311.js +1 -1
- package/dist/index352.js +1 -1
- package/dist/index353.js +1 -1
- package/dist/index354.js +1 -1
- package/dist/index356.js +1 -1
- package/dist/index369.js +1 -1
- package/dist/index85.js +21 -17
- package/dist/src/components/data-filter/data-filter.d.ts +9 -0
- package/dist/src/components/data-list/data-list.d.ts +9 -0
- package/dist/src/components/grid/grid.stories.d.ts +9 -0
- package/dist/src/views/lists.vue.d.ts +18 -0
- package/dist/src/views/tables.vue.d.ts +9 -0
- package/package.json +1 -1
package/dist/index234.js
CHANGED
|
@@ -1,163 +1,201 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import b from "./
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import f from "./index245.js";
|
|
2
|
+
import y from "./index284.js";
|
|
3
|
+
import b from "./index285.js";
|
|
4
|
+
import P from "./index226.js";
|
|
5
|
+
import d from "./index286.js";
|
|
6
|
+
import S from "./index216.js";
|
|
7
|
+
import $ from "./index217.js";
|
|
8
|
+
import C from "./index287.js";
|
|
9
|
+
import { resolveComponent as j, resolveDirective as k, createBlock as p, openBlock as s, Transition as D, mergeProps as n, withCtx as B, withDirectives as v, createElementVNode as g, renderSlot as a, createElementBlock as m, createCommentVNode as A, resolveDynamicComponent as T, vShow as E } from "vue";
|
|
10
|
+
var N = {
|
|
11
|
+
name: "BaseMessage",
|
|
12
|
+
extends: $,
|
|
10
13
|
props: {
|
|
11
|
-
label: {
|
|
12
|
-
type: String,
|
|
13
|
-
default: null
|
|
14
|
-
},
|
|
15
|
-
icon: {
|
|
16
|
-
type: String,
|
|
17
|
-
default: null
|
|
18
|
-
},
|
|
19
|
-
iconPos: {
|
|
20
|
-
type: String,
|
|
21
|
-
default: "left"
|
|
22
|
-
},
|
|
23
|
-
iconClass: {
|
|
24
|
-
type: String,
|
|
25
|
-
default: null
|
|
26
|
-
},
|
|
27
|
-
badge: {
|
|
28
|
-
type: String,
|
|
29
|
-
default: null
|
|
30
|
-
},
|
|
31
|
-
badgeClass: {
|
|
32
|
-
type: String,
|
|
33
|
-
default: null
|
|
34
|
-
},
|
|
35
|
-
badgeSeverity: {
|
|
36
|
-
type: String,
|
|
37
|
-
default: null
|
|
38
|
-
},
|
|
39
|
-
loading: {
|
|
40
|
-
type: Boolean,
|
|
41
|
-
default: !1
|
|
42
|
-
},
|
|
43
|
-
loadingIcon: {
|
|
44
|
-
type: String,
|
|
45
|
-
default: void 0
|
|
46
|
-
},
|
|
47
|
-
link: {
|
|
48
|
-
type: Boolean,
|
|
49
|
-
default: !1
|
|
50
|
-
},
|
|
51
14
|
severity: {
|
|
52
15
|
type: String,
|
|
53
|
-
default:
|
|
16
|
+
default: "info"
|
|
54
17
|
},
|
|
55
|
-
|
|
18
|
+
closable: {
|
|
56
19
|
type: Boolean,
|
|
57
|
-
default: !
|
|
20
|
+
default: !0
|
|
58
21
|
},
|
|
59
|
-
|
|
22
|
+
sticky: {
|
|
60
23
|
type: Boolean,
|
|
61
|
-
default: !
|
|
24
|
+
default: !0
|
|
62
25
|
},
|
|
63
|
-
|
|
64
|
-
type:
|
|
65
|
-
default:
|
|
26
|
+
life: {
|
|
27
|
+
type: Number,
|
|
28
|
+
default: 3e3
|
|
66
29
|
},
|
|
67
|
-
|
|
68
|
-
type:
|
|
69
|
-
default:
|
|
30
|
+
icon: {
|
|
31
|
+
type: String,
|
|
32
|
+
default: void 0
|
|
70
33
|
},
|
|
71
|
-
|
|
34
|
+
closeIcon: {
|
|
72
35
|
type: String,
|
|
73
|
-
default:
|
|
36
|
+
default: void 0
|
|
74
37
|
},
|
|
75
|
-
|
|
76
|
-
type:
|
|
77
|
-
default:
|
|
38
|
+
closeButtonProps: {
|
|
39
|
+
type: null,
|
|
40
|
+
default: null
|
|
78
41
|
}
|
|
79
42
|
},
|
|
80
|
-
style:
|
|
43
|
+
style: C,
|
|
81
44
|
provide: function() {
|
|
82
45
|
return {
|
|
83
46
|
$parentInstance: this
|
|
84
47
|
};
|
|
85
48
|
}
|
|
86
|
-
},
|
|
87
|
-
name: "
|
|
88
|
-
extends:
|
|
49
|
+
}, L = {
|
|
50
|
+
name: "Message",
|
|
51
|
+
extends: N,
|
|
89
52
|
inheritAttrs: !1,
|
|
53
|
+
emits: ["close", "life-end"],
|
|
54
|
+
timeout: null,
|
|
55
|
+
data: function() {
|
|
56
|
+
return {
|
|
57
|
+
visible: !0
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
watch: {
|
|
61
|
+
sticky: function(t) {
|
|
62
|
+
t || this.closeAfterDelay();
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
mounted: function() {
|
|
66
|
+
this.sticky || this.closeAfterDelay();
|
|
67
|
+
},
|
|
90
68
|
methods: {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
69
|
+
close: function(t) {
|
|
70
|
+
this.visible = !1, this.$emit("close", t);
|
|
71
|
+
},
|
|
72
|
+
closeAfterDelay: function() {
|
|
73
|
+
var t = this;
|
|
74
|
+
setTimeout(function() {
|
|
75
|
+
t.visible = !1, t.$emit("life-end");
|
|
76
|
+
}, this.life);
|
|
98
77
|
}
|
|
99
78
|
},
|
|
100
79
|
computed: {
|
|
101
|
-
|
|
102
|
-
return
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
80
|
+
iconComponent: function() {
|
|
81
|
+
return {
|
|
82
|
+
info: b,
|
|
83
|
+
success: f,
|
|
84
|
+
warn: y,
|
|
85
|
+
error: d
|
|
86
|
+
}[this.severity];
|
|
87
|
+
},
|
|
88
|
+
closeAriaLabel: function() {
|
|
89
|
+
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.close : void 0;
|
|
109
90
|
}
|
|
110
91
|
},
|
|
111
|
-
components: {
|
|
112
|
-
SpinnerIcon: m,
|
|
113
|
-
Badge: y
|
|
114
|
-
},
|
|
115
92
|
directives: {
|
|
116
|
-
ripple:
|
|
93
|
+
ripple: S
|
|
94
|
+
},
|
|
95
|
+
components: {
|
|
96
|
+
TimesIcon: P,
|
|
97
|
+
InfoCircleIcon: b,
|
|
98
|
+
CheckIcon: f,
|
|
99
|
+
ExclamationTriangleIcon: y,
|
|
100
|
+
TimesCircleIcon: d
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
function c(e) {
|
|
104
|
+
"@babel/helpers - typeof";
|
|
105
|
+
return c = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
106
|
+
return typeof t;
|
|
107
|
+
} : function(t) {
|
|
108
|
+
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
109
|
+
}, c(e);
|
|
110
|
+
}
|
|
111
|
+
function h(e, t) {
|
|
112
|
+
var o = Object.keys(e);
|
|
113
|
+
if (Object.getOwnPropertySymbols) {
|
|
114
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
115
|
+
t && (r = r.filter(function(u) {
|
|
116
|
+
return Object.getOwnPropertyDescriptor(e, u).enumerable;
|
|
117
|
+
})), o.push.apply(o, r);
|
|
117
118
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
119
|
+
return o;
|
|
120
|
+
}
|
|
121
|
+
function i(e) {
|
|
122
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
123
|
+
var o = arguments[t] != null ? arguments[t] : {};
|
|
124
|
+
t % 2 ? h(Object(o), !0).forEach(function(r) {
|
|
125
|
+
M(e, r, o[r]);
|
|
126
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : h(Object(o)).forEach(function(r) {
|
|
127
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(o, r));
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
return e;
|
|
131
|
+
}
|
|
132
|
+
function M(e, t, o) {
|
|
133
|
+
return t = K(t), t in e ? Object.defineProperty(e, t, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = o, e;
|
|
134
|
+
}
|
|
135
|
+
function K(e) {
|
|
136
|
+
var t = V(e, "string");
|
|
137
|
+
return c(t) == "symbol" ? t : String(t);
|
|
138
|
+
}
|
|
139
|
+
function V(e, t) {
|
|
140
|
+
if (c(e) != "object" || !e) return e;
|
|
141
|
+
var o = e[Symbol.toPrimitive];
|
|
142
|
+
if (o !== void 0) {
|
|
143
|
+
var r = o.call(e, t);
|
|
144
|
+
if (c(r) != "object") return r;
|
|
145
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
146
|
+
}
|
|
147
|
+
return (t === "string" ? String : Number)(e);
|
|
148
|
+
}
|
|
149
|
+
var R = ["aria-label"];
|
|
150
|
+
function q(e, t, o, r, u, l) {
|
|
151
|
+
var I = j("TimesIcon"), O = k("ripple");
|
|
152
|
+
return s(), p(D, n({
|
|
153
|
+
name: "p-message",
|
|
154
|
+
appear: ""
|
|
155
|
+
}, e.ptmi("transition")), {
|
|
156
|
+
default: B(function() {
|
|
157
|
+
return [v(g("div", n({
|
|
158
|
+
class: e.cx("root"),
|
|
159
|
+
role: "alert",
|
|
160
|
+
"aria-live": "assertive",
|
|
161
|
+
"aria-atomic": "true"
|
|
162
|
+
}, e.ptm("root")), [e.$slots.container ? a(e.$slots, "container", {
|
|
134
163
|
key: 0,
|
|
135
|
-
|
|
136
|
-
|
|
164
|
+
onClose: l.close,
|
|
165
|
+
closeCallback: l.close
|
|
166
|
+
}) : (s(), m("div", n({
|
|
137
167
|
key: 1,
|
|
138
|
-
class:
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
168
|
+
class: e.cx("wrapper")
|
|
169
|
+
}, e.ptm("wrapper")), [a(e.$slots, "messageicon", {
|
|
170
|
+
class: "p-message-icon"
|
|
171
|
+
}, function() {
|
|
172
|
+
return [(s(), p(T(e.icon ? "span" : l.iconComponent), n({
|
|
173
|
+
class: [e.cx("icon"), e.icon]
|
|
174
|
+
}, e.ptm("icon")), null, 16, ["class"]))];
|
|
175
|
+
}), g("div", n({
|
|
176
|
+
class: ["p-message-text", e.cx("text")]
|
|
177
|
+
}, e.ptm("text")), [a(e.$slots, "default")], 16), e.closable ? v((s(), m("button", n({
|
|
146
178
|
key: 0,
|
|
147
|
-
class:
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
179
|
+
class: e.cx("closeButton"),
|
|
180
|
+
"aria-label": l.closeAriaLabel,
|
|
181
|
+
type: "button",
|
|
182
|
+
onClick: t[0] || (t[0] = function(w) {
|
|
183
|
+
return l.close(w);
|
|
184
|
+
})
|
|
185
|
+
}, i(i(i({}, e.closeButtonProps), e.ptm("button")), e.ptm("closeButton"))), [a(e.$slots, "closeicon", {}, function() {
|
|
186
|
+
return [e.closeIcon ? (s(), m("i", n({
|
|
187
|
+
key: 0,
|
|
188
|
+
class: [e.cx("closeIcon"), e.closeIcon]
|
|
189
|
+
}, i(i({}, e.ptm("buttonIcon")), e.ptm("closeIcon"))), null, 16)) : (s(), p(I, n({
|
|
190
|
+
key: 1,
|
|
191
|
+
class: [e.cx("closeIcon"), e.closeIcon]
|
|
192
|
+
}, i(i({}, e.ptm("buttonIcon")), e.ptm("closeIcon"))), null, 16, ["class"]))];
|
|
193
|
+
})], 16, R)), [[O]]) : A("", !0)], 16))], 16), [[E, u.visible]])];
|
|
194
|
+
}),
|
|
195
|
+
_: 3
|
|
196
|
+
}, 16);
|
|
159
197
|
}
|
|
160
|
-
|
|
198
|
+
L.render = q;
|
|
161
199
|
export {
|
|
162
|
-
|
|
200
|
+
L as default
|
|
163
201
|
};
|