@mobilon-dev/chotto 0.3.51 → 0.3.53
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/chotto.css +1 -1
- package/dist/components/1_atoms/LoadingIndicator/LoadingIndicator.vue.js +33 -12
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js +246 -315
- package/dist/components/2_blocks/CommunicationPanel/composables/useCommunicationActions.js +32 -61
- package/dist/components/2_blocks/CommunicationPanel/composables/useCommunicationAttributes.js +18 -41
- package/dist/components/2_blocks/CommunicationPanel/composables/useCommunicationMenu.js +21 -22
- package/dist/components/2_blocks/CommunicationPanel/composables/useCommunicationPlaceholder.js +13 -22
- package/dist/components/2_blocks/CommunicationPanel/composables/useCommunicationSubMenu.js +34 -46
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelCheckIcon.vue.js +19 -0
- package/dist/components/3_compounds/Feed/Feed.vue.js +1 -1
- package/dist/components/3_compounds/Feed/Feed.vue2.js +128 -118
- package/dist/themes/dark.css +1 -1
- package/dist/themes/default.css +1 -1
- package/dist/themes/glass.css +1 -1
- package/dist/themes/green.css +1 -1
- package/dist/themes/mobilon1.css +1 -1
- package/dist/types/components/1_atoms/LoadingIndicator/LoadingIndicator.vue.d.ts +4 -0
- package/dist/types/components/1_atoms/LoadingIndicator/styles/types.d.ts +6 -0
- package/dist/types/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.d.ts +0 -2
- package/dist/types/components/2_blocks/CommunicationPanel/composables/useCommunicationActions.d.ts +2 -12
- package/dist/types/components/2_blocks/CommunicationPanel/composables/useCommunicationAttributes.d.ts +2 -17
- package/dist/types/components/2_blocks/CommunicationPanel/composables/useCommunicationMenu.d.ts +1 -3
- package/dist/types/components/2_blocks/CommunicationPanel/composables/useCommunicationPlaceholder.d.ts +1 -7
- package/dist/types/components/2_blocks/CommunicationPanel/composables/useCommunicationSubMenu.d.ts +1 -5
- package/dist/types/components/2_blocks/CommunicationPanel/icons/CommunicationPanelCheckIcon.vue.d.ts +2 -0
- package/dist/types/components/2_blocks/CommunicationPanel/icons/index.d.ts +1 -0
- package/dist/types/components/2_blocks/CommunicationPanel/stories/CommunicationPanel.stories.d.ts +0 -2
- package/dist/types/components/2_blocks/CommunicationPanel/styles/types.d.ts +30 -0
- package/dist/types/components/3_compounds/Feed/Feed.vue.d.ts +2 -2
- package/dist/types/components/3_compounds/Feed/styles/types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,23 +1,44 @@
|
|
|
1
|
-
import { createElementBlock as
|
|
1
|
+
import { computed as s, createElementBlock as a, createCommentVNode as c, openBlock as o, normalizeClass as r, createStaticVNode as n } from "vue";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
5
|
-
key: 0,
|
|
6
|
-
class: "messages-loading-indicator"
|
|
7
|
-
}, c = {
|
|
3
|
+
import p from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const m = ["width", "height"], x = {
|
|
8
5
|
__name: "LoadingIndicator",
|
|
9
6
|
props: {
|
|
10
7
|
isLoading: {
|
|
11
8
|
type: Boolean,
|
|
12
9
|
default: !1
|
|
10
|
+
},
|
|
11
|
+
size: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: "normal",
|
|
14
|
+
validator: (e) => ["normal", "small"].includes(e)
|
|
15
|
+
},
|
|
16
|
+
position: {
|
|
17
|
+
type: String,
|
|
18
|
+
default: "center",
|
|
19
|
+
validator: (e) => ["center", "top"].includes(e)
|
|
13
20
|
}
|
|
14
21
|
},
|
|
15
|
-
setup(
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
22
|
+
setup(e) {
|
|
23
|
+
const t = e, i = s(() => t.size === "small" ? "36px" : "120px"), d = s(() => t.size === "small" ? "35px" : "116px");
|
|
24
|
+
return (g, l) => e.isLoading ? (o(), a("div", {
|
|
25
|
+
key: 0,
|
|
26
|
+
class: r([
|
|
27
|
+
"loading-indicator",
|
|
28
|
+
{ "loading-indicator--small": e.size === "small" }
|
|
29
|
+
])
|
|
30
|
+
}, [
|
|
31
|
+
(o(), a("svg", {
|
|
32
|
+
width: i.value,
|
|
33
|
+
height: d.value,
|
|
34
|
+
viewBox: "-8 -8 120 116",
|
|
35
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
36
|
+
}, [...l[0] || (l[0] = [
|
|
37
|
+
n('<ellipse class="dot dot-1" cx="51.75" cy="18.82" rx="12.18" ry="12.14" data-v-dcb02599></ellipse><ellipse class="dot dot-2" cx="84.42" cy="42.24" rx="12.18" ry="12.14" data-v-dcb02599></ellipse><ellipse class="dot dot-3" cx="72.00" cy="80.35" rx="12.18" ry="12.14" data-v-dcb02599></ellipse><ellipse class="dot dot-4" cx="31.51" cy="80.35" rx="12.18" ry="12.14" data-v-dcb02599></ellipse><ellipse class="dot dot-5" cx="18.86" cy="42.24" rx="12.18" ry="12.14" data-v-dcb02599></ellipse>', 5)
|
|
38
|
+
])], 8, m))
|
|
39
|
+
], 2)) : c("", !0);
|
|
19
40
|
}
|
|
20
|
-
},
|
|
41
|
+
}, f = /* @__PURE__ */ p(x, [["__scopeId", "data-v-dcb02599"]]);
|
|
21
42
|
export {
|
|
22
|
-
|
|
43
|
+
f as default
|
|
23
44
|
};
|