@quoreadmin/ui 1.8.9 → 1.8.11
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 +2 -2
- package/dist/index144.js +1 -1
- package/dist/index175.js +3 -3
- package/dist/index185.js +10 -10
- package/dist/index186.js +17 -5
- package/dist/index187.js +10 -10
- package/dist/index189.js +36 -1190
- package/dist/{index192.js → index190.js} +17 -17
- package/dist/index191.js +1190 -36
- package/dist/index193.js +28 -28
- package/dist/index194.js +2 -2
- package/dist/index195.js +2 -2
- package/dist/index196.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/index208.js +2 -2
- package/dist/index209.js +1 -1
- package/dist/index211.js +4 -4
- package/dist/index213.js +1 -1
- package/dist/index214.js +1 -1
- package/dist/index215.js +1 -1
- package/dist/index216.js +4 -4
- package/dist/index218.js +1 -1
- package/dist/index219.js +67 -106
- package/dist/index220.js +395 -26
- package/dist/index221.js +21 -406
- package/dist/index222.js +157 -76
- package/dist/index223.js +9 -9
- package/dist/index224.js +19 -87
- package/dist/index225.js +15 -13
- package/dist/index226.js +198 -19
- package/dist/index227.js +68 -18
- package/dist/index228.js +34 -20
- package/dist/index229.js +39 -21
- package/dist/index234.js +109 -3618
- package/dist/index235.js +32 -49
- package/dist/index236.js +73 -70
- package/dist/index237.js +20 -52
- package/dist/index238.js +20 -215
- package/dist/index239.js +20 -10
- package/dist/index240.js +20 -57
- package/dist/index241.js +22 -61
- package/dist/index242.js +22 -54
- package/dist/index243.js +20 -75
- package/dist/index244.js +791 -681
- package/dist/index245.js +693 -33
- package/dist/index246.js +168 -56
- package/dist/index247.js +22 -11
- package/dist/index248.js +20 -705
- package/dist/index249.js +20 -820
- package/dist/index250.js +3 -161
- package/dist/index251.js +186 -19
- package/dist/index252.js +132 -21
- package/dist/index253.js +1165 -141
- package/dist/index254.js +19 -69
- package/dist/index255.js +21 -33
- package/dist/index256.js +20 -38
- package/dist/index257.js +22 -15
- package/dist/index258.js +13 -15
- package/dist/index259.js +12 -12
- package/dist/index260.js +2 -836
- package/dist/index261.js +2 -702
- package/dist/index262.js +3630 -170
- package/dist/index263.js +55 -22
- package/dist/index264.js +77 -20
- package/dist/index265.js +52 -20
- package/dist/index266.js +215 -3
- package/dist/index267.js +10 -187
- package/dist/index268.js +52 -128
- package/dist/index269.js +52 -1214
- package/dist/index270.js +54 -20
- package/dist/index271.js +75 -22
- package/dist/index272.js +725 -21
- package/dist/index273.js +42 -29
- package/dist/index274.js +64 -20
- package/dist/index275.js +11 -20
- package/dist/index276.js +705 -2
- package/dist/index277.js +820 -2
- package/dist/index282.js +54 -2
- package/dist/index283.js +1 -1
- package/dist/index284.js +26 -1534
- package/dist/index285.js +22 -386
- package/dist/index286.js +22 -2731
- package/dist/index287.js +16 -86
- package/dist/index288.js +17 -3792
- package/dist/index289.js +22 -59
- package/dist/index290.js +3 -15
- package/dist/index291.js +24 -81
- package/dist/index292.js +250 -190
- package/dist/index293.js +4 -244
- package/dist/index294.js +133 -255
- package/dist/index295.js +71 -4
- package/dist/index296.js +77 -130
- package/dist/index297.js +26 -70
- package/dist/index298.js +13 -84
- package/dist/index299.js +72 -26
- package/dist/index3.js +4 -66
- package/dist/index300.js +3 -15
- package/dist/index301.js +2 -75
- package/dist/index302.js +82 -3
- package/dist/index303.js +53 -2
- package/dist/index304.js +5 -82
- package/dist/index305.js +4 -52
- package/dist/index306.js +178 -5
- package/dist/index307.js +62 -4
- package/dist/index308.js +74 -178
- package/dist/index309.js +2 -63
- package/dist/index310.js +1533 -74
- package/dist/index311.js +386 -54
- package/dist/index312.js +2731 -26
- package/dist/index313.js +85 -21
- package/dist/index314.js +3792 -22
- package/dist/index315.js +60 -16
- package/dist/index316.js +74 -12
- package/dist/index317.js +21 -22
- package/dist/index318.js +935 -3
- package/dist/index319.js +21 -26
- package/dist/index320.js +19 -78
- package/dist/index321.js +13 -15
- package/dist/index322.js +64 -930
- package/dist/index323.js +18 -21
- package/dist/index324.js +19 -20
- package/dist/index325.js +12 -10
- package/dist/index326.js +21 -68
- package/dist/index327.js +60 -16
- package/dist/index328.js +15 -19
- package/dist/index329.js +83 -21
- package/dist/index330.js +202 -22
- package/dist/index331.js +246 -63
- package/dist/index333.js +8 -18
- package/dist/index334.js +12 -56
- package/dist/index335.js +53 -27
- package/dist/index336.js +11 -6
- package/dist/index337.js +12 -50
- package/dist/index338.js +58 -7
- package/dist/index339.js +50 -10
- package/dist/index340.js +31 -7
- package/dist/index341.js +2 -28
- package/dist/index342.js +5 -2
- package/dist/index343.js +2 -70
- package/dist/index344.js +21 -165
- package/dist/index345.js +40 -8
- package/dist/index346.js +2 -13
- package/dist/index347.js +11 -55
- package/dist/index348.js +18 -10
- package/dist/index349.js +10 -14
- package/dist/index350.js +10 -58
- package/dist/index351.js +16 -51
- package/dist/index352.js +2 -31
- package/dist/index353.js +9 -2
- package/dist/index354.js +10 -5
- package/dist/index355.js +14 -2
- package/dist/index356.js +19 -23
- package/dist/index357.js +56 -40
- package/dist/index358.js +29 -2
- package/dist/index359.js +7 -11
- package/dist/index360.js +49 -17
- package/dist/index361.js +6 -9
- package/dist/index362.js +12 -10
- package/dist/index363.js +6 -16
- package/dist/index364.js +28 -2
- package/dist/index365.js +2 -9
- package/dist/index366.js +70 -10
- package/dist/index367.js +165 -12
- package/dist/index370.js +2 -2
- package/dist/index372.js +30 -97
- package/dist/index373.js +10 -100
- package/dist/index374.js +3 -30
- package/dist/index375.js +3 -10
- package/dist/index376.js +13 -4
- package/dist/index377.js +7 -4
- package/dist/index378.js +12 -13
- package/dist/index379.js +5 -7
- package/dist/index380.js +33 -12
- package/dist/index381.js +31 -5
- package/dist/index382.js +27 -32
- package/dist/index383.js +58 -28
- package/dist/index384.js +16 -27
- package/dist/index385.js +99 -59
- package/dist/index387.js +97 -16
- package/dist/index388.js +1 -1
- package/dist/index393.js +1 -1
- package/dist/index394.js +2 -2
- package/dist/index45.js +49 -42
- 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 +55 -76
- package/package.json +1 -1
- package/dist/src/components/activity-item/activity-item.d.ts +0 -85
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;
|
|
@@ -696,86 +696,65 @@ declare const QRoomDetailsPopover: import('vue').DefineComponent<import('vue').E
|
|
|
696
696
|
chevronClass: string | Record<string, any> | unknown[];
|
|
697
697
|
chevronSize: string;
|
|
698
698
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
699
|
-
QActivityItem:
|
|
700
|
-
|
|
701
|
-
type
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
time:
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
iconType: import('vue').ComputedRef<"" | "fill" | "outline">;
|
|
747
|
-
typeIcon: import('vue').ComputedRef<string>;
|
|
748
|
-
handleClick: () => void;
|
|
749
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
750
|
-
type: {
|
|
751
|
-
type: import('vue').PropType<"cleaning" | "complaint" | "fail" | "history" | "na" | "pass" | "repair" | "request" | "satisfaction-call" | "task" | "work-order" | "due-in">;
|
|
752
|
-
default: string;
|
|
753
|
-
};
|
|
754
|
-
text: {
|
|
755
|
-
type: StringConstructor;
|
|
756
|
-
default: string;
|
|
757
|
-
};
|
|
758
|
-
time: {
|
|
759
|
-
type: StringConstructor;
|
|
760
|
-
default: string;
|
|
761
|
-
};
|
|
762
|
-
isClickable: {
|
|
763
|
-
type: BooleanConstructor;
|
|
764
|
-
default: boolean;
|
|
765
|
-
};
|
|
766
|
-
wrapTime: {
|
|
767
|
-
type: BooleanConstructor;
|
|
768
|
-
default: boolean;
|
|
769
|
-
};
|
|
770
|
-
}>> & Readonly<{
|
|
771
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
772
|
-
}>, {
|
|
773
|
-
type: "cleaning" | "complaint" | "fail" | "history" | "na" | "pass" | "repair" | "request" | "satisfaction-call" | "task" | "work-order" | "due-in";
|
|
699
|
+
QActivityItem: {
|
|
700
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
701
|
+
type?: "cleaning" | "complaint" | "fail" | "history" | "na" | "pass" | "repair" | "request" | "satisfaction-call" | "task" | "work-order" | "due-in" | "posted" | "added" | "edited" | "paused" | "resumed" | "reported" | "assigned";
|
|
702
|
+
text?: string;
|
|
703
|
+
time?: string;
|
|
704
|
+
isClickable?: boolean;
|
|
705
|
+
wrapTime?: boolean;
|
|
706
|
+
isActionType?: boolean;
|
|
707
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
708
|
+
type: "cleaning" | "complaint" | "fail" | "history" | "na" | "pass" | "repair" | "request" | "satisfaction-call" | "task" | "work-order" | "due-in" | "posted" | "added" | "edited" | "paused" | "resumed" | "reported" | "assigned";
|
|
709
|
+
text: string;
|
|
710
|
+
time: string;
|
|
711
|
+
isClickable: boolean;
|
|
712
|
+
wrapTime: boolean;
|
|
713
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
714
|
+
P: {};
|
|
715
|
+
B: {};
|
|
716
|
+
D: {};
|
|
717
|
+
C: {};
|
|
718
|
+
M: {};
|
|
719
|
+
Defaults: {};
|
|
720
|
+
}, Readonly<{
|
|
721
|
+
type?: "cleaning" | "complaint" | "fail" | "history" | "na" | "pass" | "repair" | "request" | "satisfaction-call" | "task" | "work-order" | "due-in" | "posted" | "added" | "edited" | "paused" | "resumed" | "reported" | "assigned";
|
|
722
|
+
text?: string;
|
|
723
|
+
time?: string;
|
|
724
|
+
isClickable?: boolean;
|
|
725
|
+
wrapTime?: boolean;
|
|
726
|
+
isActionType?: boolean;
|
|
727
|
+
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
728
|
+
type: "cleaning" | "complaint" | "fail" | "history" | "na" | "pass" | "repair" | "request" | "satisfaction-call" | "task" | "work-order" | "due-in" | "posted" | "added" | "edited" | "paused" | "resumed" | "reported" | "assigned";
|
|
729
|
+
text: string;
|
|
730
|
+
time: string;
|
|
731
|
+
isClickable: boolean;
|
|
732
|
+
wrapTime: boolean;
|
|
733
|
+
}>;
|
|
734
|
+
__isFragment?: never;
|
|
735
|
+
__isTeleport?: never;
|
|
736
|
+
__isSuspense?: never;
|
|
737
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
738
|
+
type?: "cleaning" | "complaint" | "fail" | "history" | "na" | "pass" | "repair" | "request" | "satisfaction-call" | "task" | "work-order" | "due-in" | "posted" | "added" | "edited" | "paused" | "resumed" | "reported" | "assigned";
|
|
739
|
+
text?: string;
|
|
740
|
+
time?: string;
|
|
741
|
+
isClickable?: boolean;
|
|
742
|
+
wrapTime?: boolean;
|
|
743
|
+
isActionType?: boolean;
|
|
744
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
745
|
+
type: "cleaning" | "complaint" | "fail" | "history" | "na" | "pass" | "repair" | "request" | "satisfaction-call" | "task" | "work-order" | "due-in" | "posted" | "added" | "edited" | "paused" | "resumed" | "reported" | "assigned";
|
|
774
746
|
text: string;
|
|
775
747
|
time: string;
|
|
776
748
|
isClickable: boolean;
|
|
777
749
|
wrapTime: boolean;
|
|
778
|
-
}, {},
|
|
750
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
751
|
+
$slots: {
|
|
752
|
+
icon?(_: {}): any;
|
|
753
|
+
text?(_: {}): any;
|
|
754
|
+
time?(_: {}): any;
|
|
755
|
+
time?(_: {}): any;
|
|
756
|
+
};
|
|
757
|
+
});
|
|
779
758
|
QAvatar: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
780
759
|
size: {
|
|
781
760
|
type: StringConstructor;
|
package/package.json
CHANGED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
type ActivityItemType = 'cleaning' | 'complaint' | 'fail' | 'history' | 'na' | 'pass' | 'repair' | 'request' | 'satisfaction-call' | 'task' | 'work-order' | 'due-in';
|
|
3
|
-
type IconType = 'fill' | 'outline' | '';
|
|
4
|
-
declare const QActivityItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
-
type: {
|
|
6
|
-
type: PropType<ActivityItemType>;
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
9
|
-
text: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
|
-
time: {
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
default: string;
|
|
16
|
-
};
|
|
17
|
-
isClickable: {
|
|
18
|
-
type: BooleanConstructor;
|
|
19
|
-
default: boolean;
|
|
20
|
-
};
|
|
21
|
-
wrapTime: {
|
|
22
|
-
type: BooleanConstructor;
|
|
23
|
-
default: boolean;
|
|
24
|
-
};
|
|
25
|
-
}>, {
|
|
26
|
-
props: import('@vue/shared').LooseRequired<Readonly<import('vue').ExtractPropTypes<{
|
|
27
|
-
type: {
|
|
28
|
-
type: PropType<ActivityItemType>;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
text: {
|
|
32
|
-
type: StringConstructor;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
time: {
|
|
36
|
-
type: StringConstructor;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
isClickable: {
|
|
40
|
-
type: BooleanConstructor;
|
|
41
|
-
default: boolean;
|
|
42
|
-
};
|
|
43
|
-
wrapTime: {
|
|
44
|
-
type: BooleanConstructor;
|
|
45
|
-
default: boolean;
|
|
46
|
-
};
|
|
47
|
-
}>> & Readonly<{
|
|
48
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
49
|
-
}> & {}>;
|
|
50
|
-
isHistory: import('vue').ComputedRef<boolean>;
|
|
51
|
-
iconType: import('vue').ComputedRef<IconType>;
|
|
52
|
-
typeIcon: import('vue').ComputedRef<string>;
|
|
53
|
-
handleClick: () => void;
|
|
54
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
55
|
-
type: {
|
|
56
|
-
type: PropType<ActivityItemType>;
|
|
57
|
-
default: string;
|
|
58
|
-
};
|
|
59
|
-
text: {
|
|
60
|
-
type: StringConstructor;
|
|
61
|
-
default: string;
|
|
62
|
-
};
|
|
63
|
-
time: {
|
|
64
|
-
type: StringConstructor;
|
|
65
|
-
default: string;
|
|
66
|
-
};
|
|
67
|
-
isClickable: {
|
|
68
|
-
type: BooleanConstructor;
|
|
69
|
-
default: boolean;
|
|
70
|
-
};
|
|
71
|
-
wrapTime: {
|
|
72
|
-
type: BooleanConstructor;
|
|
73
|
-
default: boolean;
|
|
74
|
-
};
|
|
75
|
-
}>> & Readonly<{
|
|
76
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
77
|
-
}>, {
|
|
78
|
-
type: ActivityItemType;
|
|
79
|
-
text: string;
|
|
80
|
-
time: string;
|
|
81
|
-
isClickable: boolean;
|
|
82
|
-
wrapTime: boolean;
|
|
83
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
84
|
-
export type QActivityItemType = typeof QActivityItem;
|
|
85
|
-
export default QActivityItem;
|