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