@quoreadmin/ui 1.8.8 → 1.8.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.
- package/dist/index.css +1 -1
- package/dist/index142.js +241 -230
- package/dist/index144.js +1 -1
- package/dist/index186.js +17 -5
- package/dist/index189.js +36 -1190
- package/dist/index191.js +1190 -36
- package/dist/index193.js +19 -19
- package/dist/index194.js +1 -1
- package/dist/index195.js +1 -1
- package/dist/index198.js +2 -2
- package/dist/index200.js +14 -14
- package/dist/index201.js +1 -1
- package/dist/index202.js +1 -1
- package/dist/index203.js +3 -3
- package/dist/index204.js +6 -6
- package/dist/index211.js +2 -2
- package/dist/index212.js +1 -1
- package/dist/index214.js +4 -4
- package/dist/index216.js +1 -1
- package/dist/index217.js +1 -1
- package/dist/index218.js +1 -1
- package/dist/index219.js +4 -4
- package/dist/index221.js +1 -1
- package/dist/index230.js +1 -1
- package/dist/index233.js +1 -1
- package/dist/index241.js +3636 -22
- package/dist/index242.js +55 -22
- package/dist/index243.js +77 -20
- package/dist/index244.js +39 -823
- package/dist/index245.js +198 -685
- package/dist/index246.js +9 -175
- package/dist/index247.js +57 -22
- package/dist/index248.js +61 -20
- package/dist/index249.js +54 -20
- package/dist/index250.js +75 -3
- package/dist/index251.js +709 -170
- package/dist/index252.js +37 -128
- package/dist/index253.js +55 -1214
- package/dist/index254.js +11 -20
- package/dist/index255.js +705 -22
- package/dist/index256.js +820 -22
- package/dist/index257.js +15 -22
- package/dist/index258.js +15 -13
- package/dist/index259.js +12 -12
- package/dist/index260.js +836 -2
- package/dist/index261.js +702 -2
- package/dist/index262.js +170 -3630
- package/dist/index263.js +22 -55
- package/dist/index264.js +20 -77
- package/dist/index265.js +20 -52
- package/dist/index266.js +3 -215
- package/dist/index267.js +187 -10
- package/dist/index268.js +128 -52
- package/dist/index269.js +1214 -52
- package/dist/index270.js +20 -54
- package/dist/index271.js +22 -75
- package/dist/index272.js +21 -725
- package/dist/index273.js +29 -42
- package/dist/index274.js +20 -64
- package/dist/index275.js +20 -11
- package/dist/index276.js +2 -705
- package/dist/index277.js +2 -820
- package/dist/index3.js +4 -66
- package/dist/index308.js +1534 -3
- package/dist/index309.js +382 -23
- package/dist/index310.js +2486 -1289
- package/dist/index311.js +70 -370
- package/dist/index312.js +3470 -2409
- package/dist/index313.js +51 -77
- package/dist/index314.js +13 -3790
- package/dist/index315.js +79 -55
- package/dist/index316.js +202 -15
- package/dist/index317.js +232 -70
- package/dist/index318.js +3 -202
- package/dist/index319.js +21 -240
- package/dist/index333.js +1 -1
- package/dist/index335.js +1 -1
- package/dist/index336.js +2 -2
- package/dist/index340.js +2 -2
- package/dist/index343.js +4 -4
- package/dist/index344.js +5 -5
- package/dist/index345.js +9 -8
- package/dist/index346.js +10 -13
- package/dist/index347.js +13 -54
- package/dist/index348.js +10 -12
- package/dist/index349.js +15 -12
- package/dist/index350.js +8 -57
- package/dist/index351.js +12 -51
- package/dist/index352.js +49 -25
- package/dist/index353.js +12 -2
- package/dist/index354.js +14 -5
- package/dist/index355.js +58 -2
- package/dist/index356.js +52 -23
- package/dist/index357.js +28 -38
- package/dist/index358.js +2 -2
- package/dist/index359.js +4 -10
- package/dist/index360.js +2 -20
- package/dist/index361.js +22 -9
- package/dist/index362.js +40 -9
- package/dist/index363.js +2 -17
- package/dist/index364.js +11 -2
- package/dist/index365.js +20 -9
- package/dist/index366.js +2 -10
- package/dist/index367.js +8 -13
- package/dist/index372.js +30 -12
- package/dist/index373.js +11 -7
- package/dist/index374.js +3 -11
- package/dist/index375.js +3 -4
- package/dist/index376.js +13 -33
- package/dist/index377.js +7 -31
- package/dist/index378.js +12 -28
- package/dist/index379.js +5 -61
- package/dist/index380.js +33 -31
- package/dist/index381.js +31 -11
- package/dist/index382.js +28 -4
- package/dist/index383.js +61 -4
- package/dist/index388.js +1 -1
- package/dist/index44.js +304 -293
- package/dist/index45.js +31 -24
- package/dist/index64.js +86 -48
- package/dist/src/components/activity-item/activity-item.stories.d.ts +3 -0
- package/dist/src/components/activity-item/activity-item.vue.d.ts +35 -2
- package/dist/src/components/comment/comment.d.ts +2 -2
- package/dist/src/components/comment/comment.stories.d.ts +2 -2
- package/dist/src/components/comment-section/comment-section.d.ts +2 -2
- package/dist/src/components/comment-section/comment-section.stories.d.ts +2 -2
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +79 -83
- package/package.json +1 -1
- package/dist/src/components/activity-item/activity-item.d.ts +0 -85
- /package/dist/{index192.js → index190.js} +0 -0
package/dist/index45.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import V from "./index144.js";
|
|
2
|
-
import { resolveComponent as b, openBlock as s, createElementBlock as a, normalizeClass as i, createVNode as h, createSlots as $, withCtx as
|
|
2
|
+
import { resolveComponent as b, openBlock as s, createElementBlock as a, normalizeClass as i, createVNode as h, createSlots as $, withCtx as r, createElementVNode as t, createBlock as g, createCommentVNode as n, renderSlot as f, normalizeProps as C, mergeProps as v, toDisplayString as o, withModifiers as k, Fragment as L, renderList as q, createTextVNode as c } from "vue";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import E from "./index63.js";
|
|
5
5
|
const O = ["id"], R = ["onMousedown"], z = {
|
|
@@ -41,7 +41,7 @@ const O = ["id"], R = ["onMousedown"], z = {
|
|
|
41
41
|
class: "required-indicator"
|
|
42
42
|
};
|
|
43
43
|
function ee(e, u, le, se, oe, ne) {
|
|
44
|
-
const p = b("q-icon"), y = b("q-button"),
|
|
44
|
+
const p = b("q-icon"), y = b("q-button"), T = b("q-badge"), S = b("vue-multiselect");
|
|
45
45
|
return s(), a("div", {
|
|
46
46
|
id: e.id + "-containers",
|
|
47
47
|
class: i([
|
|
@@ -108,7 +108,7 @@ function ee(e, u, le, se, oe, ne) {
|
|
|
108
108
|
onTag: e.addTag,
|
|
109
109
|
onSearchChange: u[3] || (u[3] = (l) => e.searchChange(l))
|
|
110
110
|
}, $({
|
|
111
|
-
caret:
|
|
111
|
+
caret: r(({ toggle: l }) => [
|
|
112
112
|
t("div", {
|
|
113
113
|
class: i([
|
|
114
114
|
"h-full w-full",
|
|
@@ -136,13 +136,13 @@ function ee(e, u, le, se, oe, ne) {
|
|
|
136
136
|
e.required ? (s(), a("span", A, " *" + o(e.$t("HC_REQUIRED")), 1)) : n("", !0)
|
|
137
137
|
])) : n("", !0)
|
|
138
138
|
]),
|
|
139
|
-
noResult:
|
|
139
|
+
noResult: r(() => [
|
|
140
140
|
c(o(e.noResultsText), 1)
|
|
141
141
|
]),
|
|
142
|
-
noOptions:
|
|
142
|
+
noOptions: r(() => [
|
|
143
143
|
c(o(e.noOptionsText), 1)
|
|
144
144
|
]),
|
|
145
|
-
singleLabel:
|
|
145
|
+
singleLabel: r(({ option: l }) => [
|
|
146
146
|
l.icon ? (s(), g(p, {
|
|
147
147
|
key: 0,
|
|
148
148
|
icon: l.icon
|
|
@@ -160,7 +160,7 @@ function ee(e, u, le, se, oe, ne) {
|
|
|
160
160
|
])
|
|
161
161
|
}, o(l.label || l.name || l), 3)
|
|
162
162
|
]),
|
|
163
|
-
selection:
|
|
163
|
+
selection: r(({ values: l, isOpen: m }) => [
|
|
164
164
|
e.useTags ? (s(), a("div", P, [
|
|
165
165
|
e.groupValues && e.options[0][e.groupValues].length === l.length ? (s(), a("div", F, [
|
|
166
166
|
t("div", {
|
|
@@ -173,7 +173,7 @@ function ee(e, u, le, se, oe, ne) {
|
|
|
173
173
|
t("span", {
|
|
174
174
|
class: "tag-remove cursor-pointer shrink",
|
|
175
175
|
tabindex: "1",
|
|
176
|
-
onMousedown: u[0] || (u[0] = k((
|
|
176
|
+
onMousedown: u[0] || (u[0] = k((d) => e.removeElement(e.options[0][e.groupValues]), ["prevent", "stop"]))
|
|
177
177
|
}, [
|
|
178
178
|
h(p, {
|
|
179
179
|
icon: "close",
|
|
@@ -187,18 +187,18 @@ function ee(e, u, le, se, oe, ne) {
|
|
|
187
187
|
], 32)
|
|
188
188
|
], 2)
|
|
189
189
|
])) : (s(), a("div", I, [
|
|
190
|
-
(s(!0), a(
|
|
190
|
+
(s(!0), a(L, null, q(!e.expand && e.limitShown ? l.slice(0, e.limitShown) : l, (d, w) => (s(), a("div", {
|
|
191
191
|
key: w,
|
|
192
192
|
class: i([
|
|
193
193
|
"multiselect__tag !inline-flex items-center justify-center rounded mr-2 z-[1]",
|
|
194
|
-
{ "tag-added":
|
|
194
|
+
{ "tag-added": d.added },
|
|
195
195
|
{ "tag-gray": !!e.showTags },
|
|
196
|
-
|
|
196
|
+
d.tagClass ? d.tagClass : ""
|
|
197
197
|
])
|
|
198
198
|
}, [
|
|
199
|
-
|
|
199
|
+
d.icon ? (s(), g(p, {
|
|
200
200
|
key: 0,
|
|
201
|
-
icon:
|
|
201
|
+
icon: d.icon,
|
|
202
202
|
class: "tag-icon"
|
|
203
203
|
}, null, 8, ["icon"])) : n("", !0),
|
|
204
204
|
t("span", {
|
|
@@ -206,7 +206,7 @@ function ee(e, u, le, se, oe, ne) {
|
|
|
206
206
|
"tag-name text-sm leading-normal pr-2",
|
|
207
207
|
{ "tag-truncate": e.truncateTag }
|
|
208
208
|
])
|
|
209
|
-
}, o(
|
|
209
|
+
}, o(d.label || d.name), 3),
|
|
210
210
|
t("span", {
|
|
211
211
|
class: "tag-remove cursor-pointer shrink",
|
|
212
212
|
tabindex: "1",
|
|
@@ -218,7 +218,7 @@ function ee(e, u, le, se, oe, ne) {
|
|
|
218
218
|
size: "sm",
|
|
219
219
|
class: i([
|
|
220
220
|
"!p-[0.3rem] tag-close flex rounded-full p-1",
|
|
221
|
-
|
|
221
|
+
d.closeTagClass ? d.closeTagClass : e.showTags ? "bg-inkwell-30" : e.taggable && d.added ? "bg-green-40" : "bg-blue-40"
|
|
222
222
|
]),
|
|
223
223
|
type: "line"
|
|
224
224
|
}, null, 8, ["class"])
|
|
@@ -251,7 +251,7 @@ function ee(e, u, le, se, oe, ne) {
|
|
|
251
251
|
e.selectionControl ? "justify-between" : "items-center"
|
|
252
252
|
])
|
|
253
253
|
}, [
|
|
254
|
-
e.selectionControl ? (s(), a(
|
|
254
|
+
e.selectionControl ? (s(), a(L, { key: 0 }, [
|
|
255
255
|
t("span", Q, o(e.placeholder || ""), 1),
|
|
256
256
|
t("span", G, o(e.selected?.label || e.selected?.name || ""), 1)
|
|
257
257
|
], 64)) : (s(), a("span", K, o(e.selected?.label || e.selected?.name || e.placeholder || ""), 1))
|
|
@@ -259,7 +259,7 @@ function ee(e, u, le, se, oe, ne) {
|
|
|
259
259
|
t("span", W, o(e.placeholder || ""), 1)
|
|
260
260
|
])) : n("", !0)
|
|
261
261
|
]),
|
|
262
|
-
option:
|
|
262
|
+
option: r(({ option: l, search: m }) => [
|
|
263
263
|
t("div", {
|
|
264
264
|
class: i([
|
|
265
265
|
"flex items-center w-full",
|
|
@@ -268,13 +268,13 @@ function ee(e, u, le, se, oe, ne) {
|
|
|
268
268
|
]),
|
|
269
269
|
title: l.label ? l.label : ""
|
|
270
270
|
}, [
|
|
271
|
-
e.multiple && e.hasCheckboxes ? (s(), g(
|
|
271
|
+
e.multiple && e.hasCheckboxes ? (s(), g(T, {
|
|
272
272
|
key: 0,
|
|
273
273
|
"has-icon": !0,
|
|
274
274
|
class: "selected-checkbox mr-2",
|
|
275
275
|
shape: "square"
|
|
276
276
|
}, {
|
|
277
|
-
icon:
|
|
277
|
+
icon: r(() => [
|
|
278
278
|
h(p, {
|
|
279
279
|
icon: "check",
|
|
280
280
|
color: "white",
|
|
@@ -316,7 +316,7 @@ function ee(e, u, le, se, oe, ne) {
|
|
|
316
316
|
}, [
|
|
317
317
|
e.showSelectAll ? {
|
|
318
318
|
name: "beforeList",
|
|
319
|
-
fn:
|
|
319
|
+
fn: r(() => [
|
|
320
320
|
t("div", D, [
|
|
321
321
|
h(y, {
|
|
322
322
|
type: "button",
|
|
@@ -326,7 +326,7 @@ function ee(e, u, le, se, oe, ne) {
|
|
|
326
326
|
status: "link",
|
|
327
327
|
onClick: k(e.selectAll, ["prevent"])
|
|
328
328
|
}, {
|
|
329
|
-
default:
|
|
329
|
+
default: r(() => [
|
|
330
330
|
c(o(e.$t("HC_SELECT_ALL")), 1)
|
|
331
331
|
]),
|
|
332
332
|
_: 1
|
|
@@ -339,7 +339,7 @@ function ee(e, u, le, se, oe, ne) {
|
|
|
339
339
|
status: "link",
|
|
340
340
|
onClick: k(e.clearAll, ["prevent"])
|
|
341
341
|
}, {
|
|
342
|
-
default:
|
|
342
|
+
default: r(() => [
|
|
343
343
|
c(o(e.$t("HC_CLEAR_ALL")), 1)
|
|
344
344
|
]),
|
|
345
345
|
_: 1
|
|
@@ -350,13 +350,20 @@ function ee(e, u, le, se, oe, ne) {
|
|
|
350
350
|
} : void 0,
|
|
351
351
|
e.required && !e.floatingLabel ? {
|
|
352
352
|
name: "placeholder",
|
|
353
|
-
fn:
|
|
353
|
+
fn: r(() => [
|
|
354
354
|
t("span", null, [
|
|
355
355
|
c(o(e.placeholder), 1),
|
|
356
356
|
t("span", j, " *" + o(e.$t("HC_REQUIRED")), 1)
|
|
357
357
|
])
|
|
358
358
|
]),
|
|
359
359
|
key: "1"
|
|
360
|
+
} : void 0,
|
|
361
|
+
e.$slots.afterList ? {
|
|
362
|
+
name: "afterList",
|
|
363
|
+
fn: r(() => [
|
|
364
|
+
f(e.$slots, "afterList", {}, void 0, !0)
|
|
365
|
+
]),
|
|
366
|
+
key: "2"
|
|
360
367
|
} : void 0
|
|
361
368
|
]), 1032, ["id", "modelValue", "filtering-sort-func", "options", "searchable", "multiple", "taggable", "label", "track-by", "group-values", "group-label", "group-select", "block-keys", "class", "disabled", "loading", "allow-empty", "clear-on-select", "close-on-select", "show-tags", "tag-placeholder", "placeholder", "open-direction", "onOpen", "onClose", "onTag"]),
|
|
362
369
|
e.showFloatingLabel ? (s(), a("div", Z, [
|
|
@@ -365,7 +372,7 @@ function ee(e, u, le, se, oe, ne) {
|
|
|
365
372
|
])) : n("", !0)
|
|
366
373
|
], 10, O);
|
|
367
374
|
}
|
|
368
|
-
const ue = /* @__PURE__ */ E(V, [["render", ee], ["__scopeId", "data-v-
|
|
375
|
+
const ue = /* @__PURE__ */ E(V, [["render", ee], ["__scopeId", "data-v-3c3bdaee"]]);
|
|
369
376
|
export {
|
|
370
377
|
ue as default
|
|
371
378
|
};
|
package/dist/index64.js
CHANGED
|
@@ -1,55 +1,93 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
request: { icon: "concierge-bell", type: "outline" },
|
|
11
|
-
"satisfaction-call": { icon: "phone-plus", type: "fill" },
|
|
12
|
-
task: { icon: "tasks", type: "" },
|
|
13
|
-
"work-order": { icon: "hammer", type: "outline" },
|
|
14
|
-
"due-in": { icon: "due-in-fill", type: "fill" }
|
|
15
|
-
}, s = n.history, r = p({
|
|
16
|
-
name: "QActivityItem",
|
|
1
|
+
import { defineComponent as k, computed as c, resolveComponent as _, openBlock as t, createElementBlock as i, normalizeClass as a, createElementVNode as o, renderSlot as s, createVNode as w, toDisplayString as y, createCommentVNode as r } from "vue";
|
|
2
|
+
const b = ["role"], T = { class: "shrink-0" }, C = { class: "activity-item__content-wrapper" }, g = { class: "activity-item__content-text" }, B = { key: 0 }, $ = {
|
|
3
|
+
key: 0,
|
|
4
|
+
class: "activity-item__time mb-1"
|
|
5
|
+
}, q = { key: 0 }, x = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "activity-item__time"
|
|
8
|
+
}, A = { key: 0 }, z = /* @__PURE__ */ k({
|
|
9
|
+
__name: "activity-item",
|
|
17
10
|
props: {
|
|
18
|
-
type: {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
},
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
default: ""
|
|
25
|
-
},
|
|
26
|
-
time: {
|
|
27
|
-
type: String,
|
|
28
|
-
default: ""
|
|
29
|
-
},
|
|
30
|
-
isClickable: {
|
|
31
|
-
type: Boolean,
|
|
32
|
-
default: !1
|
|
33
|
-
},
|
|
34
|
-
wrapTime: {
|
|
35
|
-
type: Boolean,
|
|
36
|
-
default: !1
|
|
37
|
-
}
|
|
11
|
+
type: { default: "history" },
|
|
12
|
+
text: { default: "" },
|
|
13
|
+
time: { default: "" },
|
|
14
|
+
isClickable: { type: Boolean, default: !1 },
|
|
15
|
+
wrapTime: { type: Boolean, default: !1 },
|
|
16
|
+
isActionType: { type: Boolean }
|
|
38
17
|
},
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
18
|
+
setup(e) {
|
|
19
|
+
const d = {
|
|
20
|
+
cleaning: { icon: "spray-bottle", type: "fill" },
|
|
21
|
+
complaint: { icon: "face-frown", type: "outline" },
|
|
22
|
+
fail: { icon: "close", type: "fill" },
|
|
23
|
+
history: { icon: "history", type: "fill" },
|
|
24
|
+
na: { icon: "na", type: "fill" },
|
|
25
|
+
pass: { icon: "check", type: "fill" },
|
|
26
|
+
repair: { icon: "minus", type: "fill" },
|
|
27
|
+
request: { icon: "concierge-bell", type: "outline" },
|
|
28
|
+
"satisfaction-call": { icon: "phone-plus", type: "fill" },
|
|
29
|
+
task: { icon: "tasks", type: "" },
|
|
30
|
+
"work-order": { icon: "hammer", type: "outline" },
|
|
31
|
+
"due-in": { icon: "due-in", type: "fill" },
|
|
32
|
+
posted: { icon: "check", type: "" },
|
|
33
|
+
added: { icon: "plus", type: "" },
|
|
34
|
+
edited: { icon: "pencil", type: "fill" },
|
|
35
|
+
paused: { icon: "paused", type: "" },
|
|
36
|
+
resumed: { icon: "start", type: "" },
|
|
37
|
+
reported: { icon: "front-desk", type: "" },
|
|
38
|
+
assigned: { icon: "user", type: "outline" }
|
|
39
|
+
}, p = d.history, l = e, m = c(() => d[l.type] ?? p), u = c(() => m.value.icon), v = c(() => m.value.type), f = c(() => l.isActionType ?? l.type === "history");
|
|
40
|
+
return (n, N) => {
|
|
41
|
+
const h = _("q-icon");
|
|
42
|
+
return t(), i("div", {
|
|
43
|
+
role: e.isClickable ? "button" : void 0,
|
|
44
|
+
class: a(["activity-item", {
|
|
45
|
+
"bg-gray-0": !f.value,
|
|
46
|
+
"activity-item--clickable": e.isClickable,
|
|
47
|
+
"activity-item--wrap-time": e.wrapTime
|
|
48
|
+
}])
|
|
49
|
+
}, [
|
|
50
|
+
o("div", {
|
|
51
|
+
class: a([
|
|
52
|
+
"activity-item__content",
|
|
53
|
+
{
|
|
54
|
+
"items-center": !e.wrapTime
|
|
55
|
+
}
|
|
56
|
+
])
|
|
57
|
+
}, [
|
|
58
|
+
o("div", T, [
|
|
59
|
+
s(n.$slots, "icon", {}, () => [
|
|
60
|
+
o("div", {
|
|
61
|
+
class: a([
|
|
62
|
+
"activity-item__icon",
|
|
63
|
+
"activity-item__content-icon-" + e.type
|
|
64
|
+
])
|
|
65
|
+
}, [
|
|
66
|
+
w(h, {
|
|
67
|
+
icon: u.value,
|
|
68
|
+
type: v.value,
|
|
69
|
+
size: "sm",
|
|
70
|
+
color: "white"
|
|
71
|
+
}, null, 8, ["icon", "type"])
|
|
72
|
+
], 2)
|
|
73
|
+
], !0)
|
|
74
|
+
]),
|
|
75
|
+
o("div", C, [
|
|
76
|
+
o("div", g, [
|
|
77
|
+
e.text ? (t(), i("span", B, y(e.text), 1)) : s(n.$slots, "text", { key: 1 }, void 0, !0)
|
|
78
|
+
]),
|
|
79
|
+
e.wrapTime ? (t(), i("div", $, [
|
|
80
|
+
e.time ? (t(), i("span", q, y(e.time), 1)) : s(n.$slots, "time", { key: 1 }, void 0, !0)
|
|
81
|
+
])) : r("", !0)
|
|
82
|
+
])
|
|
83
|
+
], 2),
|
|
84
|
+
e.wrapTime ? r("", !0) : (t(), i("div", x, [
|
|
85
|
+
e.time ? (t(), i("span", A, y(e.time), 1)) : s(n.$slots, "time", { key: 1 }, void 0, !0)
|
|
86
|
+
]))
|
|
87
|
+
], 10, b);
|
|
50
88
|
};
|
|
51
89
|
}
|
|
52
90
|
});
|
|
53
91
|
export {
|
|
54
|
-
|
|
92
|
+
z as default
|
|
55
93
|
};
|
|
@@ -5,3 +5,6 @@ type Story = StoryObj<typeof meta>;
|
|
|
5
5
|
export declare const WithProps: Story;
|
|
6
6
|
export declare const WithSlots: Story;
|
|
7
7
|
export declare const MixedUsage: Story;
|
|
8
|
+
export declare const WrappedTime: Story;
|
|
9
|
+
export declare const Clickable: Story;
|
|
10
|
+
export declare const CustomIcon: Story;
|
|
@@ -1,2 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
type ActivityItemType = 'cleaning' | 'complaint' | 'fail' | 'history' | 'na' | 'pass' | 'repair' | 'request' | 'satisfaction-call' | 'task' | 'work-order' | 'due-in' | 'posted' | 'added' | 'edited' | 'paused' | 'resumed' | 'reported' | 'assigned';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
type?: ActivityItemType;
|
|
4
|
+
text?: string;
|
|
5
|
+
time?: string;
|
|
6
|
+
isClickable?: boolean;
|
|
7
|
+
wrapTime?: boolean;
|
|
8
|
+
isActionType?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
12
|
+
slots: {
|
|
13
|
+
icon?(_: {}): any;
|
|
14
|
+
text?(_: {}): any;
|
|
15
|
+
time?(_: {}): any;
|
|
16
|
+
time?(_: {}): any;
|
|
17
|
+
};
|
|
18
|
+
refs: {};
|
|
19
|
+
rootEl: HTMLDivElement;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
23
|
+
type: ActivityItemType;
|
|
24
|
+
text: string;
|
|
25
|
+
time: string;
|
|
26
|
+
isClickable: boolean;
|
|
27
|
+
wrapTime: boolean;
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -286,6 +286,8 @@ declare const QComment: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
286
286
|
}>> & Readonly<{
|
|
287
287
|
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
288
288
|
}>, {
|
|
289
|
+
readonly edited: Record<string, any>;
|
|
290
|
+
readonly user: Record<string, any>;
|
|
289
291
|
readonly id: string | number;
|
|
290
292
|
readonly created: Record<string, any>;
|
|
291
293
|
readonly processing: boolean;
|
|
@@ -296,11 +298,9 @@ declare const QComment: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
296
298
|
readonly canDelete: number | boolean;
|
|
297
299
|
readonly canEdit: number | boolean;
|
|
298
300
|
readonly canPin: boolean;
|
|
299
|
-
readonly user: Record<string, any>;
|
|
300
301
|
readonly comment: string;
|
|
301
302
|
readonly dateUtc: string;
|
|
302
303
|
readonly dateLocal: string;
|
|
303
|
-
readonly edited: Record<string, any>;
|
|
304
304
|
readonly onUpdateComment: Function;
|
|
305
305
|
readonly pinned: boolean;
|
|
306
306
|
readonly showAvatar: boolean;
|
|
@@ -254,6 +254,8 @@ export declare const Primary: {
|
|
|
254
254
|
}>> & Readonly<{
|
|
255
255
|
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
256
256
|
}>, {
|
|
257
|
+
readonly edited: Record<string, any>;
|
|
258
|
+
readonly user: Record<string, any>;
|
|
257
259
|
readonly id: string | number;
|
|
258
260
|
readonly created: Record<string, any>;
|
|
259
261
|
readonly processing: boolean;
|
|
@@ -264,11 +266,9 @@ export declare const Primary: {
|
|
|
264
266
|
readonly canDelete: number | boolean;
|
|
265
267
|
readonly canEdit: number | boolean;
|
|
266
268
|
readonly canPin: boolean;
|
|
267
|
-
readonly user: Record<string, any>;
|
|
268
269
|
readonly comment: string;
|
|
269
270
|
readonly dateUtc: string;
|
|
270
271
|
readonly dateLocal: string;
|
|
271
|
-
readonly edited: Record<string, any>;
|
|
272
272
|
readonly onUpdateComment: Function;
|
|
273
273
|
readonly pinned: boolean;
|
|
274
274
|
readonly showAvatar: boolean;
|
|
@@ -438,6 +438,8 @@ declare const QCommentSection: import('vue').DefineComponent<import('vue').Extra
|
|
|
438
438
|
}>> & Readonly<{
|
|
439
439
|
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
440
440
|
}>, {
|
|
441
|
+
readonly edited: Record<string, any>;
|
|
442
|
+
readonly user: Record<string, any>;
|
|
441
443
|
readonly id: string | number;
|
|
442
444
|
readonly created: Record<string, any>;
|
|
443
445
|
readonly processing: boolean;
|
|
@@ -448,11 +450,9 @@ declare const QCommentSection: import('vue').DefineComponent<import('vue').Extra
|
|
|
448
450
|
readonly canDelete: number | boolean;
|
|
449
451
|
readonly canEdit: number | boolean;
|
|
450
452
|
readonly canPin: boolean;
|
|
451
|
-
readonly user: Record<string, any>;
|
|
452
453
|
readonly comment: string;
|
|
453
454
|
readonly dateUtc: string;
|
|
454
455
|
readonly dateLocal: string;
|
|
455
|
-
readonly edited: Record<string, any>;
|
|
456
456
|
readonly onUpdateComment: Function;
|
|
457
457
|
readonly pinned: boolean;
|
|
458
458
|
readonly showAvatar: boolean;
|
|
@@ -408,6 +408,8 @@ export declare const Primary: {
|
|
|
408
408
|
}>> & Readonly<{
|
|
409
409
|
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
410
410
|
}>, {
|
|
411
|
+
readonly edited: Record<string, any>;
|
|
412
|
+
readonly user: Record<string, any>;
|
|
411
413
|
readonly id: string | number;
|
|
412
414
|
readonly created: Record<string, any>;
|
|
413
415
|
readonly processing: boolean;
|
|
@@ -418,11 +420,9 @@ export declare const Primary: {
|
|
|
418
420
|
readonly canDelete: number | boolean;
|
|
419
421
|
readonly canEdit: number | boolean;
|
|
420
422
|
readonly canPin: boolean;
|
|
421
|
-
readonly user: Record<string, any>;
|
|
422
423
|
readonly comment: string;
|
|
423
424
|
readonly dateUtc: string;
|
|
424
425
|
readonly dateLocal: string;
|
|
425
|
-
readonly edited: Record<string, any>;
|
|
426
426
|
readonly onUpdateComment: Function;
|
|
427
427
|
readonly pinned: boolean;
|
|
428
428
|
readonly showAvatar: boolean;
|