ep-lib-ts 1.1.18 → 1.1.19

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 (49) hide show
  1. package/dist/components/educationals/EpBranchingScenario.vue2.js +2 -2
  2. package/dist/components/educationals/EpConclusion.vue.js +1 -1
  3. package/dist/components/educationals/EpDescription.vue.js +1 -1
  4. package/dist/components/educationals/EpInstructions.vue.js +1 -1
  5. package/dist/components/educationals/EpIntroduction.vue.js +1 -1
  6. package/dist/components/educationals/EpResource.vue.js +1 -1
  7. package/dist/components/educationals/EpResource.vue.js.map +1 -1
  8. package/dist/components/educationals/EpSpecificObjective.vue.js +1 -1
  9. package/dist/components/forms/EpRadioSummative.vue.js +46 -1
  10. package/dist/components/forms/EpRadioSummative.vue.js.map +1 -1
  11. package/dist/components/forms/EpRadioSummative.vue2.js +1 -46
  12. package/dist/components/forms/EpRadioSummative.vue2.js.map +1 -1
  13. package/dist/components/interactions/EpAssociation.vue.js +1 -1
  14. package/dist/components/interactions/EpContentSlider.vue.js +2 -2
  15. package/dist/components/interactions/EpContentSlider.vue.js.map +1 -1
  16. package/dist/components/interactions/EpModal.vue.js +4 -1
  17. package/dist/components/interactions/EpModal.vue.js.map +1 -1
  18. package/dist/components/interactions/EpQuestion.vue.js +1 -1
  19. package/dist/components/interactions/EpQuestion.vue.js.map +1 -1
  20. package/dist/components/interactions/EpSummativeTable.vue.js +1 -1
  21. package/dist/components/medias/EpAudio.vue.js +1 -1
  22. package/dist/components/signages/EpAlert.vue2.js +1 -1
  23. package/dist/components/signages/EpQuote.vue.js +1 -1
  24. package/dist/components/tools/AssociationNode.vue.js +82 -1
  25. package/dist/components/tools/AssociationNode.vue.js.map +1 -1
  26. package/dist/components/tools/AssociationNode.vue2.js +1 -82
  27. package/dist/components/tools/AssociationNode.vue2.js.map +1 -1
  28. package/dist/components/tools/BgAudio.vue.js +52 -1
  29. package/dist/components/tools/BgAudio.vue.js.map +1 -1
  30. package/dist/components/tools/BgAudio.vue2.js +1 -52
  31. package/dist/components/tools/BgAudio.vue2.js.map +1 -1
  32. package/dist/components/tools/Details.vue.js +56 -1
  33. package/dist/components/tools/Details.vue.js.map +1 -1
  34. package/dist/components/tools/Details.vue2.js +1 -56
  35. package/dist/components/tools/Details.vue2.js.map +1 -1
  36. package/dist/components/tools/RenderTextNode.vue.js +19 -1
  37. package/dist/components/tools/RenderTextNode.vue.js.map +1 -1
  38. package/dist/components/tools/RenderTextNode.vue2.js +1 -19
  39. package/dist/components/tools/RenderTextNode.vue2.js.map +1 -1
  40. package/dist/components/tools/SegmentedBox.vue.js +1 -1
  41. package/dist/components/tools/TextMedia.vue.js +50 -1
  42. package/dist/components/tools/TextMedia.vue.js.map +1 -1
  43. package/dist/components/tools/TextMedia.vue2.js +1 -50
  44. package/dist/components/tools/TextMedia.vue2.js.map +1 -1
  45. package/dist/components/tools/TimelineItem.vue2.js +1 -1
  46. package/dist/components/tools/TwoColsMedia.vue2.js +2 -2
  47. package/dist/components/tools/TwoColsMedia.vue2.js.map +1 -1
  48. package/dist/style.css +88 -88
  49. package/package.json +1 -1
@@ -1,4 +1,85 @@
1
- import _sfc_main from "./AssociationNode.vue2.js";
1
+ import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, createElementVNode, createVNode, unref, toDisplayString, normalizeStyle } from "vue";
2
+ import { Handle, Position } from "@vue-flow/core";
3
+ import _sfc_main$1 from "../basics/EpIcon.vue.js";
4
+ import { useRenderText } from "../../composables/useRenderText.js";
5
+ const _hoisted_1 = ["innerHTML"];
6
+ const plug = "M17,16H21V14H17V10H21V8H17V8C17,7 16,6 15,6H9.5L6,9.5H3V14.5H6L9.5,18H15C16,18 17,17 17,16Z";
7
+ const socket = "M7,16C7,17 8,18 9,18H14.5L18,14.5H21V9.5H18L14.5,6H9C8,6 7,7 7,8Z M7 19 L7 5";
8
+ const _sfc_main = /* @__PURE__ */ defineComponent({
9
+ __name: "AssociationNode",
10
+ props: {
11
+ id: {},
12
+ type: {},
13
+ selected: { type: Boolean },
14
+ connectable: { type: [Boolean, Number, String, Function] },
15
+ position: {},
16
+ dimensions: {},
17
+ label: {},
18
+ isValidTargetPos: {},
19
+ isValidSourcePos: {},
20
+ parent: {},
21
+ parentNodeId: {},
22
+ dragging: { type: Boolean },
23
+ resizing: { type: Boolean },
24
+ zIndex: {},
25
+ targetPosition: {},
26
+ sourcePosition: {},
27
+ dragHandle: {},
28
+ data: {},
29
+ events: {}
30
+ },
31
+ setup(__props) {
32
+ const props = __props;
33
+ const colorStyle = computed(() => {
34
+ if (!props.data.mode || props.data.mode == "neutral") {
35
+ return "border-2 border-black dark:border-white";
36
+ }
37
+ if (props.data.mode == "correct") {
38
+ return "border-2 border-green-600";
39
+ } else if (props.data.mode == "wrong") {
40
+ return "border-2 border-red-600";
41
+ }
42
+ });
43
+ return (_ctx, _cache) => {
44
+ return openBlock(), createElementBlock("div", {
45
+ class: normalizeClass(`shadow-lg rounded w-96 relative bg-surface-2 dark:bg-surface-2-dark ${colorStyle.value}`)
46
+ }, [
47
+ createElementVNode("div", {
48
+ class: "px-4 py-2 break-words",
49
+ innerHTML: unref(useRenderText)(_ctx.data.label)
50
+ }, null, 8, _hoisted_1),
51
+ createElementVNode("span", {
52
+ class: normalizeClass(`rounded-full w-6 h-6 flex justify-center bg-white dark:bg-neutral-800 items-center absolute bottom-1/3 ${_ctx.data.left ? "-left-3" : "-right-3"} ${colorStyle.value}`)
53
+ }, toDisplayString(_ctx.data.left ? String.fromCharCode(65 + _ctx.data.index) : _ctx.data.index), 3),
54
+ createVNode(unref(Handle), {
55
+ type: _ctx.data.left ? "source" : "target",
56
+ position: _ctx.data.left ? unref(Position).Right : unref(Position).Left,
57
+ style: normalizeStyle({
58
+ width: "20px",
59
+ // handle invisible, pas d’espace
60
+ height: "20px",
61
+ top: "50%",
62
+ zIndex: "100",
63
+ transform: "translateY(-50%)",
64
+ left: _ctx.data.left ? "96%" : "-10px",
65
+ opacity: 0
66
+ })
67
+ }, null, 8, ["type", "position", "style"]),
68
+ createVNode(_sfc_main$1, {
69
+ "icon-path": _ctx.data.left ? plug : socket,
70
+ style: normalizeStyle({
71
+ position: "absolute",
72
+ width: "30px",
73
+ height: "30px",
74
+ top: "50%",
75
+ transform: "translateY(-50%)",
76
+ left: _ctx.data.left ? "97%" : "-20px"
77
+ })
78
+ }, null, 8, ["icon-path", "style"])
79
+ ], 2);
80
+ };
81
+ }
82
+ });
2
83
  export {
3
84
  _sfc_main as default
4
85
  };
@@ -1 +1 @@
1
- {"version":3,"file":"AssociationNode.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"AssociationNode.vue.js","sources":["../../../src/components/tools/AssociationNode.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed } from 'vue'\nimport { Position, Handle } from '@vue-flow/core'\nimport type { NodeProps } from '@vue-flow/core'\nimport EpIcon from '../basics/EpIcon.vue'\nimport { useRenderText } from '~/composables/useRenderText';\n\n\nconst plug = 'M17,16H21V14H17V10H21V8H17V8C17,7 16,6 15,6H9.5L6,9.5H3V14.5H6L9.5,18H15C16,18 17,17 17,16Z';\nconst socket = 'M7,16C7,17 8,18 9,18H14.5L18,14.5H21V9.5H18L14.5,6H9C8,6 7,7 7,8Z M7 19 L7 5';\n\ninterface AssociationData {\n mode?: 'neutral' | 'correct' | 'wrong';\n left: boolean;\n index: number;\n label: string;\n}\n\nconst props = withDefaults(defineProps<NodeProps<AssociationData>>(), {});\n\nconst colorStyle = computed(() => {\n if(!props.data.mode || props.data.mode == 'neutral') {\n return 'border-2 border-black dark:border-white'\n }\n if(props.data.mode == 'correct') {\n return 'border-2 border-green-600'\n } else if(props.data.mode == 'wrong') {\n return 'border-2 border-red-600'\n }\n});\n\n</script>\n\n<template>\n <div :class=\"`shadow-lg rounded w-96 relative bg-surface-2 dark:bg-surface-2-dark ${colorStyle}`\">\n <div class=\"px-4 py-2 break-words\" v-html=\"useRenderText(data.label)\"></div>\n <span :class=\"`rounded-full w-6 h-6 flex justify-center bg-white dark:bg-neutral-800 items-center absolute bottom-1/3 ${(data.left)? '-left-3' : '-right-3'} ${colorStyle}`\">{{ (data.left)? String.fromCharCode(65 + data.index) : data.index }}</span>\n\n <Handle\n :type=\"data.left ? 'source' : 'target'\"\n :position=\"data.left ? Position.Right : Position.Left\"\n :style=\"{\n width: '20px', // handle invisible, pas d’espace\n height: '20px',\n top: '50%',\n zIndex: '100',\n transform: 'translateY(-50%)',\n left: data.left ? '96%' : '-10px',\n opacity: 0\n }\"\n />\n <EpIcon \n :icon-path=\"data.left ? plug : socket\"\n :style=\"{\n position: 'absolute',\n width: '30px',\n height: '30px',\n top: '50%',\n transform: 'translateY(-50%)',\n left: data.left ? '97%' : '-20px'\n }\" \n />\n </div>\n</template>\n"],"names":["_createElementBlock","_createElementVNode","_unref","data","_normalizeClass","_createVNode","_normalizeStyle","EpIcon"],"mappings":";;;;;AAQA,MAAM,OAAO;AACb,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;AASf,UAAM,QAAQ;AAEd,UAAM,aAAa,SAAS,MAAM;AAC9B,UAAG,CAAC,MAAM,KAAK,QAAQ,MAAM,KAAK,QAAQ,WAAW;AACjD,eAAO;AAAA,MACX;AACA,UAAG,MAAM,KAAK,QAAQ,WAAW;AAC7B,eAAO;AAAA,MACX,WAAU,MAAM,KAAK,QAAQ,SAAS;AAClC,eAAO;AAAA,MACX;AAAA,IACJ,CAAC;;0BAKGA,mBA4BM,OAAA;AAAA,QA5BA,6FAA8E,WAAA,KAAU,EAAA;AAAA,MAAA;QAC1FC,mBAA4E,OAAA;AAAA,UAAvE,OAAM;AAAA,UAAwB,WAAQC,MAAA,aAAA,EAAcC,KAAAA,KAAK,KAAK;AAAA,QAAA;QACnEF,mBAAwP,QAAA;AAAA,UAAjP,OAAKG,eAAA,0GAA6GD,KAAAA,KAAK,iCAAiC,WAAA,KAAU,EAAA;AAAA,QAAA,GAAQA,gBAAAA,KAAAA,KAAK,OAAO,OAAO,aAAY,KAAMA,KAAAA,KAAK,KAAK,IAAIA,KAAAA,KAAK,KAAK,GAAA,CAAA;AAAA,QAE9OE,YAYEH,MAAA,MAAA,GAAA;AAAA,UAXG,MAAMC,KAAAA,KAAK,OAAI,WAAA;AAAA,UACf,UAAUA,KAAAA,KAAK,OAAOD,MAAA,QAAA,EAAS,QAAQA,MAAA,QAAA,EAAS;AAAA,UAChD,OAAKI,eAAA;AAAA;;;;;;YAAuOH,MAAAA,KAAAA,KAAK,OAAI,QAAA;AAAA;;;QAU1PE,YAUEE,aAAA;AAAA,UATG,aAAWJ,KAAAA,KAAK,OAAO,OAAO;AAAA,UAC9B,OAAKG,eAAA;AAAA;;;;;YAA0MH,MAAAA,KAAAA,KAAK,OAAI,QAAA;AAAA,UAAA;;;;;;"}
@@ -1,85 +1,4 @@
1
- import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, createElementVNode, createVNode, unref, toDisplayString, normalizeStyle } from "vue";
2
- import { Handle, Position } from "@vue-flow/core";
3
- import _sfc_main$1 from "../basics/EpIcon.vue.js";
4
- import { useRenderText } from "../../composables/useRenderText.js";
5
- const _hoisted_1 = ["innerHTML"];
6
- const plug = "M17,16H21V14H17V10H21V8H17V8C17,7 16,6 15,6H9.5L6,9.5H3V14.5H6L9.5,18H15C16,18 17,17 17,16Z";
7
- const socket = "M7,16C7,17 8,18 9,18H14.5L18,14.5H21V9.5H18L14.5,6H9C8,6 7,7 7,8Z M7 19 L7 5";
8
- const _sfc_main = /* @__PURE__ */ defineComponent({
9
- __name: "AssociationNode",
10
- props: {
11
- id: {},
12
- type: {},
13
- selected: { type: Boolean },
14
- connectable: { type: [Boolean, Number, String, Function] },
15
- position: {},
16
- dimensions: {},
17
- label: {},
18
- isValidTargetPos: {},
19
- isValidSourcePos: {},
20
- parent: {},
21
- parentNodeId: {},
22
- dragging: { type: Boolean },
23
- resizing: { type: Boolean },
24
- zIndex: {},
25
- targetPosition: {},
26
- sourcePosition: {},
27
- dragHandle: {},
28
- data: {},
29
- events: {}
30
- },
31
- setup(__props) {
32
- const props = __props;
33
- const colorStyle = computed(() => {
34
- if (!props.data.mode || props.data.mode == "neutral") {
35
- return "border-2 border-black dark:border-white";
36
- }
37
- if (props.data.mode == "correct") {
38
- return "border-2 border-green-600";
39
- } else if (props.data.mode == "wrong") {
40
- return "border-2 border-red-600";
41
- }
42
- });
43
- return (_ctx, _cache) => {
44
- return openBlock(), createElementBlock("div", {
45
- class: normalizeClass(`shadow-lg rounded w-96 relative bg-surface-2 dark:bg-surface-2-dark ${colorStyle.value}`)
46
- }, [
47
- createElementVNode("div", {
48
- class: "px-4 py-2 break-words",
49
- innerHTML: unref(useRenderText)(_ctx.data.label)
50
- }, null, 8, _hoisted_1),
51
- createElementVNode("span", {
52
- class: normalizeClass(`rounded-full w-6 h-6 flex justify-center bg-white dark:bg-neutral-800 items-center absolute bottom-1/3 ${_ctx.data.left ? "-left-3" : "-right-3"} ${colorStyle.value}`)
53
- }, toDisplayString(_ctx.data.left ? String.fromCharCode(65 + _ctx.data.index) : _ctx.data.index), 3),
54
- createVNode(unref(Handle), {
55
- type: _ctx.data.left ? "source" : "target",
56
- position: _ctx.data.left ? unref(Position).Right : unref(Position).Left,
57
- style: normalizeStyle({
58
- width: "20px",
59
- // handle invisible, pas d’espace
60
- height: "20px",
61
- top: "50%",
62
- zIndex: "100",
63
- transform: "translateY(-50%)",
64
- left: _ctx.data.left ? "96%" : "-10px",
65
- opacity: 0
66
- })
67
- }, null, 8, ["type", "position", "style"]),
68
- createVNode(_sfc_main$1, {
69
- "icon-path": _ctx.data.left ? plug : socket,
70
- style: normalizeStyle({
71
- position: "absolute",
72
- width: "30px",
73
- height: "30px",
74
- top: "50%",
75
- transform: "translateY(-50%)",
76
- left: _ctx.data.left ? "97%" : "-20px"
77
- })
78
- }, null, 8, ["icon-path", "style"])
79
- ], 2);
80
- };
81
- }
82
- });
1
+ import _sfc_main from "./AssociationNode.vue.js";
83
2
  export {
84
3
  _sfc_main as default
85
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"AssociationNode.vue2.js","sources":["../../../src/components/tools/AssociationNode.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed } from 'vue'\nimport { Position, Handle } from '@vue-flow/core'\nimport type { NodeProps } from '@vue-flow/core'\nimport EpIcon from '../basics/EpIcon.vue'\nimport { useRenderText } from '~/composables/useRenderText';\n\n\nconst plug = 'M17,16H21V14H17V10H21V8H17V8C17,7 16,6 15,6H9.5L6,9.5H3V14.5H6L9.5,18H15C16,18 17,17 17,16Z';\nconst socket = 'M7,16C7,17 8,18 9,18H14.5L18,14.5H21V9.5H18L14.5,6H9C8,6 7,7 7,8Z M7 19 L7 5';\n\ninterface AssociationData {\n mode?: 'neutral' | 'correct' | 'wrong';\n left: boolean;\n index: number;\n label: string;\n}\n\nconst props = withDefaults(defineProps<NodeProps<AssociationData>>(), {});\n\nconst colorStyle = computed(() => {\n if(!props.data.mode || props.data.mode == 'neutral') {\n return 'border-2 border-black dark:border-white'\n }\n if(props.data.mode == 'correct') {\n return 'border-2 border-green-600'\n } else if(props.data.mode == 'wrong') {\n return 'border-2 border-red-600'\n }\n});\n\n</script>\n\n<template>\n <div :class=\"`shadow-lg rounded w-96 relative bg-surface-2 dark:bg-surface-2-dark ${colorStyle}`\">\n <div class=\"px-4 py-2 break-words\" v-html=\"useRenderText(data.label)\"></div>\n <span :class=\"`rounded-full w-6 h-6 flex justify-center bg-white dark:bg-neutral-800 items-center absolute bottom-1/3 ${(data.left)? '-left-3' : '-right-3'} ${colorStyle}`\">{{ (data.left)? String.fromCharCode(65 + data.index) : data.index }}</span>\n\n <Handle\n :type=\"data.left ? 'source' : 'target'\"\n :position=\"data.left ? Position.Right : Position.Left\"\n :style=\"{\n width: '20px', // handle invisible, pas d’espace\n height: '20px',\n top: '50%',\n zIndex: '100',\n transform: 'translateY(-50%)',\n left: data.left ? '96%' : '-10px',\n opacity: 0\n }\"\n />\n <EpIcon \n :icon-path=\"data.left ? plug : socket\"\n :style=\"{\n position: 'absolute',\n width: '30px',\n height: '30px',\n top: '50%',\n transform: 'translateY(-50%)',\n left: data.left ? '97%' : '-20px'\n }\" \n />\n </div>\n</template>\n"],"names":["_createElementBlock","_createElementVNode","_unref","data","_normalizeClass","_createVNode","_normalizeStyle","EpIcon"],"mappings":";;;;;AAQA,MAAM,OAAO;AACb,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;AASf,UAAM,QAAQ;AAEd,UAAM,aAAa,SAAS,MAAM;AAC9B,UAAG,CAAC,MAAM,KAAK,QAAQ,MAAM,KAAK,QAAQ,WAAW;AACjD,eAAO;AAAA,MACX;AACA,UAAG,MAAM,KAAK,QAAQ,WAAW;AAC7B,eAAO;AAAA,MACX,WAAU,MAAM,KAAK,QAAQ,SAAS;AAClC,eAAO;AAAA,MACX;AAAA,IACJ,CAAC;;0BAKGA,mBA4BM,OAAA;AAAA,QA5BA,6FAA8E,WAAA,KAAU,EAAA;AAAA,MAAA;QAC1FC,mBAA4E,OAAA;AAAA,UAAvE,OAAM;AAAA,UAAwB,WAAQC,MAAA,aAAA,EAAcC,KAAAA,KAAK,KAAK;AAAA,QAAA;QACnEF,mBAAwP,QAAA;AAAA,UAAjP,OAAKG,eAAA,0GAA6GD,KAAAA,KAAK,iCAAiC,WAAA,KAAU,EAAA;AAAA,QAAA,GAAQA,gBAAAA,KAAAA,KAAK,OAAO,OAAO,aAAY,KAAMA,KAAAA,KAAK,KAAK,IAAIA,KAAAA,KAAK,KAAK,GAAA,CAAA;AAAA,QAE9OE,YAYEH,MAAA,MAAA,GAAA;AAAA,UAXG,MAAMC,KAAAA,KAAK,OAAI,WAAA;AAAA,UACf,UAAUA,KAAAA,KAAK,OAAOD,MAAA,QAAA,EAAS,QAAQA,MAAA,QAAA,EAAS;AAAA,UAChD,OAAKI,eAAA;AAAA;;;;;;YAAuOH,MAAAA,KAAAA,KAAK,OAAI,QAAA;AAAA;;;QAU1PE,YAUEE,aAAA;AAAA,UATG,aAAWJ,KAAAA,KAAK,OAAO,OAAO;AAAA,UAC9B,OAAKG,eAAA;AAAA;;;;;YAA0MH,MAAAA,KAAAA,KAAK,OAAI,QAAA;AAAA,UAAA;;;;;;"}
1
+ {"version":3,"file":"AssociationNode.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,4 +1,55 @@
1
- import _sfc_main from "./BgAudio.vue2.js";
1
+ import { defineComponent, createElementBlock, openBlock, createStaticVNode, createElementVNode, normalizeClass } from "vue";
2
+ const _hoisted_1 = {
3
+ version: "1.1",
4
+ id: "Layer_1",
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
7
+ x: "0px",
8
+ y: "0px",
9
+ viewBox: "0 0 640 360",
10
+ style: { "enable-background": "new 0 0 640 360" },
11
+ "xml:space": "preserve"
12
+ };
13
+ const _sfc_main = /* @__PURE__ */ defineComponent({
14
+ __name: "BgAudio",
15
+ props: {
16
+ fill: { default: "fill-primary" }
17
+ },
18
+ setup(__props) {
19
+ const props = __props;
20
+ return (_ctx, _cache) => {
21
+ return openBlock(), createElementBlock("svg", _hoisted_1, [
22
+ _cache[1] || (_cache[1] = createStaticVNode('<pattern y="-20" width="150" height="100" patternUnits="userSpaceOnUse" id="New_Pattern" viewBox="8 -107.8 150 100" style="overflow:visible;"><g><rect x="8" y="-107.8" style="fill:none;" width="150" height="100"></rect><g style="opacity:0.1;"><path d="M159.8-15.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9s-1.9-5.2-4.4-5.9V-15.5 M162-7.8\n c0,1.6-0.9,2.9-2.2,3.5v-7.1C161.1-10.7,162-9.3,162-7.8 M153.5-10.4l4.4-4.4v14.2l-4.4-4.4H150v-5.3H153.5z"></path></g><g style="opacity:0.1;"><path d="M9.8-15.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9s-1.9-5.2-4.4-5.9V-15.5 M12-7.8\n c0,1.6-0.9,2.9-2.2,3.5v-7.1C11.1-10.7,12-9.3,12-7.8 M3.5-10.4L8-14.8v14.2L3.5-5.1H0v-5.3H3.5z"></path></g><g style="opacity:0.1;"><path d="M159.8-115.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9s-1.9-5.2-4.4-5.9V-115.5 M162-107.8\n c0,1.6-0.9,2.9-2.2,3.5v-7.1C161.1-110.7,162-109.3,162-107.8 M153.5-110.4l4.4-4.4v14.2l-4.4-4.4H150v-5.3H153.5z"></path></g><g style="opacity:0.1;"><path d="M84.8-65.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9c0-2.8-1.9-5.2-4.4-5.9V-65.5 M87-57.8\n c0,1.6-0.9,2.9-2.2,3.5v-7.1C86.1-60.7,87-59.3,87-57.8 M78.5-60.4l4.4-4.4v14.2l-4.4-4.4H75v-5.3H78.5z"></path></g><g style="opacity:0.1;"><path d="M9.8-115.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9s-1.9-5.2-4.4-5.9V-115.5 M12-107.8\n c0,1.6-0.9,2.9-2.2,3.5v-7.1C11.1-110.7,12-109.3,12-107.8 M3.5-110.4l4.4-4.4v14.2l-4.4-4.4H0v-5.3H3.5z"></path></g></g></pattern>', 1)),
23
+ createElementVNode("g", null, [
24
+ createElementVNode("rect", {
25
+ class: normalizeClass(props.fill),
26
+ width: "640",
27
+ height: "360"
28
+ }, null, 2),
29
+ _cache[0] || (_cache[0] = createElementVNode("path", {
30
+ style: { "fill": "url(#New_Pattern)" },
31
+ d: "M639,1v358H1V1H639 M640,0H0v360h640V0L640,0z"
32
+ }, null, -1))
33
+ ]),
34
+ _cache[2] || (_cache[2] = createElementVNode("g", null, [
35
+ createElementVNode("rect", {
36
+ x: "0.5",
37
+ y: "0.5",
38
+ style: { "fill": "url(#New_Pattern)" },
39
+ width: "639",
40
+ height: "359"
41
+ })
42
+ ], -1)),
43
+ _cache[3] || (_cache[3] = createElementVNode("g", null, [
44
+ createElementVNode("path", {
45
+ style: { "fill": "white" },
46
+ d: "M310.7,114.7c-31,4.4-53.2,32.4-53.2,63.7v46.8c0,11.5,9.3,20.8,20.8,20.8h20.8v-55.6h-27.8v-12\n c0-24.9,17.9-47.1,42.5-50.1c29.6-3.6,54.7,19.4,54.7,48.3v13.9h-27.8V246h20.8c11.5,0,20.8-9.3,20.8-20.8v-48.6\n C382.5,138.7,349.4,109.1,310.7,114.7z"
47
+ })
48
+ ], -1))
49
+ ]);
50
+ };
51
+ }
52
+ });
2
53
  export {
3
54
  _sfc_main as default
4
55
  };
@@ -1 +1 @@
1
- {"version":3,"file":"BgAudio.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"BgAudio.vue.js","sources":["../../../src/components/tools/BgAudio.vue"],"sourcesContent":["<script setup lang=\"ts\">\nconst props = withDefaults(\n defineProps<{\n fill?: string;\n }>(),\n {\n fill: \"fill-primary\",\n }\n);\n</script>\n<template>\n <svg\n version=\"1.1\"\n id=\"Layer_1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 640 360\"\n style=\"enable-background: new 0 0 640 360\"\n xml:space=\"preserve\"\n >\n <pattern\n y=\"-20\"\n width=\"150\"\n height=\"100\"\n patternUnits=\"userSpaceOnUse\"\n id=\"New_Pattern\"\n viewBox=\"8 -107.8 150 100\"\n style=\"overflow: visible\"\n >\n <g>\n <rect x=\"8\" y=\"-107.8\" style=\"fill: none\" width=\"150\" height=\"100\" />\n <g style=\"opacity: 0.1\">\n <path\n d=\"M159.8-15.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9s-1.9-5.2-4.4-5.9V-15.5 M162-7.8\n\t\t\t\tc0,1.6-0.9,2.9-2.2,3.5v-7.1C161.1-10.7,162-9.3,162-7.8 M153.5-10.4l4.4-4.4v14.2l-4.4-4.4H150v-5.3H153.5z\"\n />\n </g>\n <g style=\"opacity: 0.1\">\n <path\n d=\"M9.8-15.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9s-1.9-5.2-4.4-5.9V-15.5 M12-7.8\n\t\t\t\tc0,1.6-0.9,2.9-2.2,3.5v-7.1C11.1-10.7,12-9.3,12-7.8 M3.5-10.4L8-14.8v14.2L3.5-5.1H0v-5.3H3.5z\"\n />\n </g>\n <g style=\"opacity: 0.1\">\n <path\n d=\"M159.8-115.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9s-1.9-5.2-4.4-5.9V-115.5 M162-107.8\n\t\t\t\tc0,1.6-0.9,2.9-2.2,3.5v-7.1C161.1-110.7,162-109.3,162-107.8 M153.5-110.4l4.4-4.4v14.2l-4.4-4.4H150v-5.3H153.5z\"\n />\n </g>\n <g style=\"opacity: 0.1\">\n <path\n d=\"M84.8-65.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9c0-2.8-1.9-5.2-4.4-5.9V-65.5 M87-57.8\n\t\t\t\tc0,1.6-0.9,2.9-2.2,3.5v-7.1C86.1-60.7,87-59.3,87-57.8 M78.5-60.4l4.4-4.4v14.2l-4.4-4.4H75v-5.3H78.5z\"\n />\n </g>\n <g style=\"opacity: 0.1\">\n <path\n d=\"M9.8-115.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9s-1.9-5.2-4.4-5.9V-115.5 M12-107.8\n\t\t\t\tc0,1.6-0.9,2.9-2.2,3.5v-7.1C11.1-110.7,12-109.3,12-107.8 M3.5-110.4l4.4-4.4v14.2l-4.4-4.4H0v-5.3H3.5z\"\n />\n </g>\n </g>\n </pattern>\n <g>\n <rect :class=\"props.fill\" width=\"640\" height=\"360\" />\n <path\n style=\"fill: url(#New_Pattern)\"\n d=\"M639,1v358H1V1H639 M640,0H0v360h640V0L640,0z\"\n />\n </g>\n <g>\n <rect\n x=\"0.5\"\n y=\"0.5\"\n style=\"fill: url(#New_Pattern)\"\n width=\"639\"\n height=\"359\"\n />\n </g>\n <g>\n <path\n style=\"fill: white\"\n d=\"M310.7,114.7c-31,4.4-53.2,32.4-53.2,63.7v46.8c0,11.5,9.3,20.8,20.8,20.8h20.8v-55.6h-27.8v-12\n\t\tc0-24.9,17.9-47.1,42.5-50.1c29.6-3.6,54.7,19.4,54.7,48.3v13.9h-27.8V246h20.8c11.5,0,20.8-9.3,20.8-20.8v-48.6\n\t\tC382.5,138.7,349.4,109.1,310.7,114.7z\"\n />\n </g>\n </svg>\n</template>\n"],"names":["_openBlock","_createElementBlock","_createElementVNode","_normalizeClass"],"mappings":";;;;;;;;;;;;;;;;;;AACA,UAAM,QAAQ;;AAUZ,aAAAA,UAAA,GAAAC,mBA8EM,OA9EN,YA8EM;AAAA;QAxBJC,mBAMI,KAAA,MAAA;AAAA,UALFA,mBAAqD,QAAA;AAAA,YAA9C,OAAKC,eAAE,MAAM,IAAI;AAAA,YAAE,OAAM;AAAA,YAAM,QAAO;AAAA,UAAA;oCAC7CD,mBAGE,QAAA;AAAA,YAFA,OAAA,EAAA,QAAA,oBAAA;AAAA,YACA,GAAE;AAAA,UAAA;;kCAGNA,mBAQI,KAAA,MAAA;AAAA,UAPFA,mBAME,QAAA;AAAA,YALA,GAAE;AAAA,YACF,GAAE;AAAA,YACF,OAAA,EAAA,QAAA,oBAAA;AAAA,YACA,OAAM;AAAA,YACN,QAAO;AAAA,UAAA;;kCAGXA,mBAOI,KAAA,MAAA;AAAA,UANFA,mBAKE,QAAA;AAAA,YAJA,OAAA,EAAA,QAAA,QAAA;AAAA,YACA,GAAE;AAAA,UAAA;;;;;;"}
@@ -1,55 +1,4 @@
1
- import { defineComponent, createElementBlock, openBlock, createStaticVNode, createElementVNode, normalizeClass } from "vue";
2
- const _hoisted_1 = {
3
- version: "1.1",
4
- id: "Layer_1",
5
- xmlns: "http://www.w3.org/2000/svg",
6
- "xmlns:xlink": "http://www.w3.org/1999/xlink",
7
- x: "0px",
8
- y: "0px",
9
- viewBox: "0 0 640 360",
10
- style: { "enable-background": "new 0 0 640 360" },
11
- "xml:space": "preserve"
12
- };
13
- const _sfc_main = /* @__PURE__ */ defineComponent({
14
- __name: "BgAudio",
15
- props: {
16
- fill: { default: "fill-primary" }
17
- },
18
- setup(__props) {
19
- const props = __props;
20
- return (_ctx, _cache) => {
21
- return openBlock(), createElementBlock("svg", _hoisted_1, [
22
- _cache[1] || (_cache[1] = createStaticVNode('<pattern y="-20" width="150" height="100" patternUnits="userSpaceOnUse" id="New_Pattern" viewBox="8 -107.8 150 100" style="overflow:visible;"><g><rect x="8" y="-107.8" style="fill:none;" width="150" height="100"></rect><g style="opacity:0.1;"><path d="M159.8-15.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9s-1.9-5.2-4.4-5.9V-15.5 M162-7.8\n c0,1.6-0.9,2.9-2.2,3.5v-7.1C161.1-10.7,162-9.3,162-7.8 M153.5-10.4l4.4-4.4v14.2l-4.4-4.4H150v-5.3H153.5z"></path></g><g style="opacity:0.1;"><path d="M9.8-15.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9s-1.9-5.2-4.4-5.9V-15.5 M12-7.8\n c0,1.6-0.9,2.9-2.2,3.5v-7.1C11.1-10.7,12-9.3,12-7.8 M3.5-10.4L8-14.8v14.2L3.5-5.1H0v-5.3H3.5z"></path></g><g style="opacity:0.1;"><path d="M159.8-115.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9s-1.9-5.2-4.4-5.9V-115.5 M162-107.8\n c0,1.6-0.9,2.9-2.2,3.5v-7.1C161.1-110.7,162-109.3,162-107.8 M153.5-110.4l4.4-4.4v14.2l-4.4-4.4H150v-5.3H153.5z"></path></g><g style="opacity:0.1;"><path d="M84.8-65.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9c0-2.8-1.9-5.2-4.4-5.9V-65.5 M87-57.8\n c0,1.6-0.9,2.9-2.2,3.5v-7.1C86.1-60.7,87-59.3,87-57.8 M78.5-60.4l4.4-4.4v14.2l-4.4-4.4H75v-5.3H78.5z"></path></g><g style="opacity:0.1;"><path d="M9.8-115.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9s-1.9-5.2-4.4-5.9V-115.5 M12-107.8\n c0,1.6-0.9,2.9-2.2,3.5v-7.1C11.1-110.7,12-109.3,12-107.8 M3.5-110.4l4.4-4.4v14.2l-4.4-4.4H0v-5.3H3.5z"></path></g></g></pattern>', 1)),
23
- createElementVNode("g", null, [
24
- createElementVNode("rect", {
25
- class: normalizeClass(props.fill),
26
- width: "640",
27
- height: "360"
28
- }, null, 2),
29
- _cache[0] || (_cache[0] = createElementVNode("path", {
30
- style: { "fill": "url(#New_Pattern)" },
31
- d: "M639,1v358H1V1H639 M640,0H0v360h640V0L640,0z"
32
- }, null, -1))
33
- ]),
34
- _cache[2] || (_cache[2] = createElementVNode("g", null, [
35
- createElementVNode("rect", {
36
- x: "0.5",
37
- y: "0.5",
38
- style: { "fill": "url(#New_Pattern)" },
39
- width: "639",
40
- height: "359"
41
- })
42
- ], -1)),
43
- _cache[3] || (_cache[3] = createElementVNode("g", null, [
44
- createElementVNode("path", {
45
- style: { "fill": "white" },
46
- d: "M310.7,114.7c-31,4.4-53.2,32.4-53.2,63.7v46.8c0,11.5,9.3,20.8,20.8,20.8h20.8v-55.6h-27.8v-12\n c0-24.9,17.9-47.1,42.5-50.1c29.6-3.6,54.7,19.4,54.7,48.3v13.9h-27.8V246h20.8c11.5,0,20.8-9.3,20.8-20.8v-48.6\n C382.5,138.7,349.4,109.1,310.7,114.7z"
47
- })
48
- ], -1))
49
- ]);
50
- };
51
- }
52
- });
1
+ import _sfc_main from "./BgAudio.vue.js";
53
2
  export {
54
3
  _sfc_main as default
55
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"BgAudio.vue2.js","sources":["../../../src/components/tools/BgAudio.vue"],"sourcesContent":["<script setup lang=\"ts\">\nconst props = withDefaults(\n defineProps<{\n fill?: string;\n }>(),\n {\n fill: \"fill-primary\",\n }\n);\n</script>\n<template>\n <svg\n version=\"1.1\"\n id=\"Layer_1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 640 360\"\n style=\"enable-background: new 0 0 640 360\"\n xml:space=\"preserve\"\n >\n <pattern\n y=\"-20\"\n width=\"150\"\n height=\"100\"\n patternUnits=\"userSpaceOnUse\"\n id=\"New_Pattern\"\n viewBox=\"8 -107.8 150 100\"\n style=\"overflow: visible\"\n >\n <g>\n <rect x=\"8\" y=\"-107.8\" style=\"fill: none\" width=\"150\" height=\"100\" />\n <g style=\"opacity: 0.1\">\n <path\n d=\"M159.8-15.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9s-1.9-5.2-4.4-5.9V-15.5 M162-7.8\n\t\t\t\tc0,1.6-0.9,2.9-2.2,3.5v-7.1C161.1-10.7,162-9.3,162-7.8 M153.5-10.4l4.4-4.4v14.2l-4.4-4.4H150v-5.3H153.5z\"\n />\n </g>\n <g style=\"opacity: 0.1\">\n <path\n d=\"M9.8-15.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9s-1.9-5.2-4.4-5.9V-15.5 M12-7.8\n\t\t\t\tc0,1.6-0.9,2.9-2.2,3.5v-7.1C11.1-10.7,12-9.3,12-7.8 M3.5-10.4L8-14.8v14.2L3.5-5.1H0v-5.3H3.5z\"\n />\n </g>\n <g style=\"opacity: 0.1\">\n <path\n d=\"M159.8-115.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9s-1.9-5.2-4.4-5.9V-115.5 M162-107.8\n\t\t\t\tc0,1.6-0.9,2.9-2.2,3.5v-7.1C161.1-110.7,162-109.3,162-107.8 M153.5-110.4l4.4-4.4v14.2l-4.4-4.4H150v-5.3H153.5z\"\n />\n </g>\n <g style=\"opacity: 0.1\">\n <path\n d=\"M84.8-65.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9c0-2.8-1.9-5.2-4.4-5.9V-65.5 M87-57.8\n\t\t\t\tc0,1.6-0.9,2.9-2.2,3.5v-7.1C86.1-60.7,87-59.3,87-57.8 M78.5-60.4l4.4-4.4v14.2l-4.4-4.4H75v-5.3H78.5z\"\n />\n </g>\n <g style=\"opacity: 0.1\">\n <path\n d=\"M9.8-115.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9s-1.9-5.2-4.4-5.9V-115.5 M12-107.8\n\t\t\t\tc0,1.6-0.9,2.9-2.2,3.5v-7.1C11.1-110.7,12-109.3,12-107.8 M3.5-110.4l4.4-4.4v14.2l-4.4-4.4H0v-5.3H3.5z\"\n />\n </g>\n </g>\n </pattern>\n <g>\n <rect :class=\"props.fill\" width=\"640\" height=\"360\" />\n <path\n style=\"fill: url(#New_Pattern)\"\n d=\"M639,1v358H1V1H639 M640,0H0v360h640V0L640,0z\"\n />\n </g>\n <g>\n <rect\n x=\"0.5\"\n y=\"0.5\"\n style=\"fill: url(#New_Pattern)\"\n width=\"639\"\n height=\"359\"\n />\n </g>\n <g>\n <path\n style=\"fill: white\"\n d=\"M310.7,114.7c-31,4.4-53.2,32.4-53.2,63.7v46.8c0,11.5,9.3,20.8,20.8,20.8h20.8v-55.6h-27.8v-12\n\t\tc0-24.9,17.9-47.1,42.5-50.1c29.6-3.6,54.7,19.4,54.7,48.3v13.9h-27.8V246h20.8c11.5,0,20.8-9.3,20.8-20.8v-48.6\n\t\tC382.5,138.7,349.4,109.1,310.7,114.7z\"\n />\n </g>\n </svg>\n</template>\n"],"names":["_openBlock","_createElementBlock","_createElementVNode","_normalizeClass"],"mappings":";;;;;;;;;;;;;;;;;;AACA,UAAM,QAAQ;;AAUZ,aAAAA,UAAA,GAAAC,mBA8EM,OA9EN,YA8EM;AAAA;QAxBJC,mBAMI,KAAA,MAAA;AAAA,UALFA,mBAAqD,QAAA;AAAA,YAA9C,OAAKC,eAAE,MAAM,IAAI;AAAA,YAAE,OAAM;AAAA,YAAM,QAAO;AAAA,UAAA;oCAC7CD,mBAGE,QAAA;AAAA,YAFA,OAAA,EAAA,QAAA,oBAAA;AAAA,YACA,GAAE;AAAA,UAAA;;kCAGNA,mBAQI,KAAA,MAAA;AAAA,UAPFA,mBAME,QAAA;AAAA,YALA,GAAE;AAAA,YACF,GAAE;AAAA,YACF,OAAA,EAAA,QAAA,oBAAA;AAAA,YACA,OAAM;AAAA,YACN,QAAO;AAAA,UAAA;;kCAGXA,mBAOI,KAAA,MAAA;AAAA,UANFA,mBAKE,QAAA;AAAA,YAJA,OAAA,EAAA,QAAA,QAAA;AAAA,YACA,GAAE;AAAA,UAAA;;;;;;"}
1
+ {"version":3,"file":"BgAudio.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,4 +1,59 @@
1
- import _sfc_main from "./Details.vue2.js";
1
+ import { defineComponent, ref, createElementBlock, openBlock, createVNode, createElementVNode, withCtx, createTextVNode, toDisplayString } from "vue";
2
+ import _sfc_main$1 from "../interactions/EpModal.vue.js";
3
+ /* empty css */
4
+ import _sfc_main$4 from "../basics/EpBtn.vue.js";
5
+ import _sfc_main$3 from "../basics/EpDivider.vue.js";
6
+ import _sfc_main$2 from "./TextMedia.vue.js";
7
+ const _hoisted_1 = { class: "flex justify-end" };
8
+ const _hoisted_2 = { class: "text-white dark:text-neutral-900" };
9
+ const _sfc_main = /* @__PURE__ */ defineComponent({
10
+ __name: "Details",
11
+ props: {
12
+ title: { default: "Voir détails" },
13
+ content: {},
14
+ labelClose: { default: "Fermer" },
15
+ media: {}
16
+ },
17
+ setup(__props) {
18
+ const showModal = ref(false);
19
+ return (_ctx, _cache) => {
20
+ return openBlock(), createElementBlock("div", {
21
+ class: "cursor-pointer rounded bg-primary py-2 px-4 flex flex-col items-center",
22
+ onClick: _cache[2] || (_cache[2] = ($event) => showModal.value = true)
23
+ }, [
24
+ createVNode(_sfc_main$1, {
25
+ modelValue: showModal.value,
26
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => showModal.value = $event),
27
+ title: _ctx.title
28
+ }, {
29
+ default: withCtx(() => [
30
+ createVNode(_sfc_main$2, {
31
+ text: _ctx.content,
32
+ media: _ctx.media,
33
+ "text-left": ""
34
+ }, null, 8, ["text", "media"]),
35
+ createVNode(_sfc_main$3),
36
+ createElementVNode("div", _hoisted_1, [
37
+ createVNode(_sfc_main$4, {
38
+ type: "error",
39
+ rounded: "",
40
+ size: "small",
41
+ onClick: _cache[0] || (_cache[0] = ($event) => showModal.value = false)
42
+ }, {
43
+ default: withCtx(() => [
44
+ createTextVNode(toDisplayString(_ctx.labelClose), 1)
45
+ ]),
46
+ _: 1
47
+ })
48
+ ])
49
+ ]),
50
+ _: 1
51
+ }, 8, ["modelValue", "title"]),
52
+ createElementVNode("p", _hoisted_2, toDisplayString(_ctx.title), 1)
53
+ ]);
54
+ };
55
+ }
56
+ });
2
57
  export {
3
58
  _sfc_main as default
4
59
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Details.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"Details.vue.js","sources":["../../../src/components/tools/Details.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ref } from \"vue\";\nimport EpModal from \"~/components/interactions/EpModal.vue\";\nimport type { NestedComponents } from \"~/types/Component\";\nimport EpBtn from \"~/components/basics/EpBtn.vue\";\nimport EpDivider from \"~/components/basics/EpDivider.vue\";\nimport TextMedia from \"./TextMedia.vue\";\nconst showModal = ref(false);\n\ninterface Props {\n title?: string;\n content: string;\n labelClose?: string;\n media?: NestedComponents;\n}\n\nconst props = withDefaults(defineProps<Props>(), {\n title: \"Voir détails\",\n labelClose: \"Fermer\",\n});\n</script>\n\n<template>\n <div\n class=\"cursor-pointer rounded bg-primary py-2 px-4 flex flex-col items-center\"\n @click=\"showModal = true\"\n >\n <EpModal v-model=\"showModal\" :title=\"title\">\n <TextMedia :text=\"content\" :media=\"media\" text-left />\n <EpDivider />\n <div class=\"flex justify-end\">\n <EpBtn type=\"error\" rounded size=\"small\" @click=\"showModal = false\">\n {{ labelClose }}\n </EpBtn>\n </div>\n </EpModal>\n <p class=\"text-white dark:text-neutral-900\">{{ title }}</p>\n </div>\n</template>\n"],"names":["_createElementBlock","_createVNode","EpModal","title","TextMedia","content","media","EpDivider","_createElementVNode","EpBtn","labelClose","_toDisplayString"],"mappings":";;;;;;;;;;;;;;;;;AAOA,UAAM,YAAY,IAAI,KAAK;;0BAgBzBA,mBAcM,OAAA;AAAA,QAbJ,OAAM;AAAA,QACL,+CAAO,UAAA,QAAS;AAAA,MAAA;QAEjBC,YAQUC,aAAA;AAAA,sBARQ,UAAA;AAAA,uEAAA,UAAS,QAAA;AAAA,UAAG,OAAOC,KAAAA;AAAAA,QAAAA;2BACnC,MAAsD;AAAA,YAAtDF,YAAsDG,aAAA;AAAA,cAA1C,MAAMC,KAAAA;AAAAA,cAAU,OAAOC,KAAAA;AAAAA,cAAO,aAAA;AAAA,YAAA;YAC1CL,YAAaM,WAAA;AAAA,YACbC,mBAIM,OAJN,YAIM;AAAA,cAHJP,YAEQQ,aAAA;AAAA,gBAFD,MAAK;AAAA,gBAAQ,SAAA;AAAA,gBAAQ,MAAK;AAAA,gBAAS,+CAAO,UAAA,QAAS;AAAA,cAAA;iCACxD,MAAgB;AAAA,kDAAbC,KAAAA,UAAU,GAAA,CAAA;AAAA,gBAAA;;;;;;;QAInBF,mBAA2D,KAA3D,YAA2DG,gBAAZR,KAAAA,KAAK,GAAA,CAAA;AAAA,MAAA;;;;"}
@@ -1,59 +1,4 @@
1
- import { defineComponent, ref, createElementBlock, openBlock, createVNode, createElementVNode, withCtx, createTextVNode, toDisplayString } from "vue";
2
- import _sfc_main$1 from "../interactions/EpModal.vue.js";
3
- /* empty css */
4
- import _sfc_main$4 from "../basics/EpBtn.vue.js";
5
- import _sfc_main$3 from "../basics/EpDivider.vue.js";
6
- import _sfc_main$2 from "./TextMedia.vue2.js";
7
- const _hoisted_1 = { class: "flex justify-end" };
8
- const _hoisted_2 = { class: "text-white dark:text-neutral-900" };
9
- const _sfc_main = /* @__PURE__ */ defineComponent({
10
- __name: "Details",
11
- props: {
12
- title: { default: "Voir détails" },
13
- content: {},
14
- labelClose: { default: "Fermer" },
15
- media: {}
16
- },
17
- setup(__props) {
18
- const showModal = ref(false);
19
- return (_ctx, _cache) => {
20
- return openBlock(), createElementBlock("div", {
21
- class: "cursor-pointer rounded bg-primary py-2 px-4 flex flex-col items-center",
22
- onClick: _cache[2] || (_cache[2] = ($event) => showModal.value = true)
23
- }, [
24
- createVNode(_sfc_main$1, {
25
- modelValue: showModal.value,
26
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => showModal.value = $event),
27
- title: _ctx.title
28
- }, {
29
- default: withCtx(() => [
30
- createVNode(_sfc_main$2, {
31
- text: _ctx.content,
32
- media: _ctx.media,
33
- "text-left": ""
34
- }, null, 8, ["text", "media"]),
35
- createVNode(_sfc_main$3),
36
- createElementVNode("div", _hoisted_1, [
37
- createVNode(_sfc_main$4, {
38
- type: "error",
39
- rounded: "",
40
- size: "small",
41
- onClick: _cache[0] || (_cache[0] = ($event) => showModal.value = false)
42
- }, {
43
- default: withCtx(() => [
44
- createTextVNode(toDisplayString(_ctx.labelClose), 1)
45
- ]),
46
- _: 1
47
- })
48
- ])
49
- ]),
50
- _: 1
51
- }, 8, ["modelValue", "title"]),
52
- createElementVNode("p", _hoisted_2, toDisplayString(_ctx.title), 1)
53
- ]);
54
- };
55
- }
56
- });
1
+ import _sfc_main from "./Details.vue.js";
57
2
  export {
58
3
  _sfc_main as default
59
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Details.vue2.js","sources":["../../../src/components/tools/Details.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ref } from \"vue\";\nimport EpModal from \"~/components/interactions/EpModal.vue\";\nimport type { NestedComponents } from \"~/types/Component\";\nimport EpBtn from \"~/components/basics/EpBtn.vue\";\nimport EpDivider from \"~/components/basics/EpDivider.vue\";\nimport TextMedia from \"./TextMedia.vue\";\nconst showModal = ref(false);\n\ninterface Props {\n title?: string;\n content: string;\n labelClose?: string;\n media?: NestedComponents;\n}\n\nconst props = withDefaults(defineProps<Props>(), {\n title: \"Voir détails\",\n labelClose: \"Fermer\",\n});\n</script>\n\n<template>\n <div\n class=\"cursor-pointer rounded bg-primary py-2 px-4 flex flex-col items-center\"\n @click=\"showModal = true\"\n >\n <EpModal v-model=\"showModal\" :title=\"title\">\n <TextMedia :text=\"content\" :media=\"media\" text-left />\n <EpDivider />\n <div class=\"flex justify-end\">\n <EpBtn type=\"error\" rounded size=\"small\" @click=\"showModal = false\">\n {{ labelClose }}\n </EpBtn>\n </div>\n </EpModal>\n <p class=\"text-white dark:text-neutral-900\">{{ title }}</p>\n </div>\n</template>\n"],"names":["_createElementBlock","_createVNode","EpModal","title","TextMedia","content","media","EpDivider","_createElementVNode","EpBtn","labelClose","_toDisplayString"],"mappings":";;;;;;;;;;;;;;;;;AAOA,UAAM,YAAY,IAAI,KAAK;;0BAgBzBA,mBAcM,OAAA;AAAA,QAbJ,OAAM;AAAA,QACL,+CAAO,UAAA,QAAS;AAAA,MAAA;QAEjBC,YAQUC,aAAA;AAAA,sBARQ,UAAA;AAAA,uEAAA,UAAS,QAAA;AAAA,UAAG,OAAOC,KAAAA;AAAAA,QAAAA;2BACnC,MAAsD;AAAA,YAAtDF,YAAsDG,aAAA;AAAA,cAA1C,MAAMC,KAAAA;AAAAA,cAAU,OAAOC,KAAAA;AAAAA,cAAO,aAAA;AAAA,YAAA;YAC1CL,YAAaM,WAAA;AAAA,YACbC,mBAIM,OAJN,YAIM;AAAA,cAHJP,YAEQQ,aAAA;AAAA,gBAFD,MAAK;AAAA,gBAAQ,SAAA;AAAA,gBAAQ,MAAK;AAAA,gBAAS,+CAAO,UAAA,QAAS;AAAA,cAAA;iCACxD,MAAgB;AAAA,kDAAbC,KAAAA,UAAU,GAAA,CAAA;AAAA,gBAAA;;;;;;;QAInBF,mBAA2D,KAA3D,YAA2DG,gBAAZR,KAAAA,KAAK,GAAA,CAAA;AAAA,MAAA;;;;"}
1
+ {"version":3,"file":"Details.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,4 +1,22 @@
1
- import _sfc_main from "./RenderTextNode.vue2.js";
1
+ import { defineComponent, createElementBlock, openBlock, Fragment, renderList, unref, createBlock, resolveDynamicComponent } from "vue";
2
+ import { useTextParser } from "../../composables/useTextParser.js";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "RenderTextNode",
5
+ props: {
6
+ content: {}
7
+ },
8
+ setup(__props) {
9
+ const props = __props;
10
+ const { renderText } = useTextParser(props.content);
11
+ return (_ctx, _cache) => {
12
+ return openBlock(), createElementBlock("div", null, [
13
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(renderText), (node, i) => {
14
+ return openBlock(), createBlock(resolveDynamicComponent(node), { key: i });
15
+ }), 128))
16
+ ]);
17
+ };
18
+ }
19
+ });
2
20
  export {
3
21
  _sfc_main as default
4
22
  };
@@ -1 +1 @@
1
- {"version":3,"file":"RenderTextNode.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"RenderTextNode.vue.js","sources":["../../../src/components/tools/RenderTextNode.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { useTextParser } from \"~/composables/useTextParser\";\ninterface Props {\n content:string;\n}\nconst props = defineProps<Props>()\nconst { renderText } = useTextParser(props.content);\n</script>\n\n<template>\n <div>\n <component :is=\"node\" v-for=\"(node, i) in renderText\" :key=\"i\" />\n </div>\n</template>"],"names":["_createElementBlock","_openBlock","_Fragment","_renderList","_unref","_createBlock","_resolveDynamicComponent"],"mappings":";;;;;;;;AAKA,UAAM,QAAQ;AACd,UAAM,EAAE,WAAA,IAAe,cAAc,MAAM,OAAO;;0BAI9CA,mBAEM,OAAA,MAAA;AAAA,SADFC,UAAA,IAAA,GAAAD,mBAAiEE,UAAA,MAAAC,WAAvBC,MAAA,UAAA,GAAU,CAAtB,MAAM,MAAC;AAArC,iBAAAH,UAAA,GAAAI,YAAiEC,wBAAjD,IAAI,GAAA,EAAmC,KAAK,GAAC;AAAA;;;;;"}
@@ -1,22 +1,4 @@
1
- import { defineComponent, createElementBlock, openBlock, Fragment, renderList, unref, createBlock, resolveDynamicComponent } from "vue";
2
- import { useTextParser } from "../../composables/useTextParser.js";
3
- const _sfc_main = /* @__PURE__ */ defineComponent({
4
- __name: "RenderTextNode",
5
- props: {
6
- content: {}
7
- },
8
- setup(__props) {
9
- const props = __props;
10
- const { renderText } = useTextParser(props.content);
11
- return (_ctx, _cache) => {
12
- return openBlock(), createElementBlock("div", null, [
13
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(renderText), (node, i) => {
14
- return openBlock(), createBlock(resolveDynamicComponent(node), { key: i });
15
- }), 128))
16
- ]);
17
- };
18
- }
19
- });
1
+ import _sfc_main from "./RenderTextNode.vue.js";
20
2
  export {
21
3
  _sfc_main as default
22
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"RenderTextNode.vue2.js","sources":["../../../src/components/tools/RenderTextNode.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { useTextParser } from \"~/composables/useTextParser\";\ninterface Props {\n content:string;\n}\nconst props = defineProps<Props>()\nconst { renderText } = useTextParser(props.content);\n</script>\n\n<template>\n <div>\n <component :is=\"node\" v-for=\"(node, i) in renderText\" :key=\"i\" />\n </div>\n</template>"],"names":["_createElementBlock","_openBlock","_Fragment","_renderList","_unref","_createBlock","_resolveDynamicComponent"],"mappings":";;;;;;;;AAKA,UAAM,QAAQ;AACd,UAAM,EAAE,WAAA,IAAe,cAAc,MAAM,OAAO;;0BAI9CA,mBAEM,OAAA,MAAA;AAAA,SADFC,UAAA,IAAA,GAAAD,mBAAiEE,UAAA,MAAAC,WAAvBC,MAAA,UAAA,GAAU,CAAtB,MAAM,MAAC;AAArC,iBAAAH,UAAA,GAAAI,YAAiEC,wBAAjD,IAAI,GAAA,EAAmC,KAAK,GAAC;AAAA;;;;;"}
1
+ {"version":3,"file":"RenderTextNode.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, createElementVNode, createVNode, toDisplayString } from "vue";
2
- import _sfc_main$1 from "./RenderTextNode.vue2.js";
2
+ import _sfc_main$1 from "./RenderTextNode.vue.js";
3
3
  const _hoisted_1 = { class: "text-xl font-semibold mb-1" };
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "SegmentedBox",
@@ -1,4 +1,53 @@
1
- import _sfc_main from "./TextMedia.vue2.js";
1
+ import __variableDynamicImportRuntimeHelper from "../../_virtual/dynamic-import-helper.js";
2
+ import { defineComponent, computed, defineAsyncComponent, createElementBlock, openBlock, normalizeClass, createElementVNode, createCommentVNode, unref, createBlock, resolveDynamicComponent, normalizeProps, guardReactiveProps } from "vue";
3
+ import { useRenderText } from "../../composables/useRenderText.js";
4
+ import { useComponent } from "../../composables/useComponent.js";
5
+ const _hoisted_1 = ["innerHTML"];
6
+ const _hoisted_2 = {
7
+ key: 0,
8
+ class: "w-full"
9
+ };
10
+ const _sfc_main = /* @__PURE__ */ defineComponent({
11
+ __name: "TextMedia",
12
+ props: {
13
+ media: {},
14
+ flexCol: { type: Boolean, default: false },
15
+ text: {},
16
+ cols: { type: Boolean },
17
+ textLeft: { type: Boolean }
18
+ },
19
+ setup(__props) {
20
+ const props = __props;
21
+ const currentRenderComponent = computed(() => {
22
+ if (props.media) {
23
+ const componentToLoad = useComponent(props.media.type);
24
+ return defineAsyncComponent(
25
+ () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../basics/EpAvatar.vue": () => import("../basics/EpAvatar.vue.js"), "../basics/EpBadge.vue": () => import("../basics/EpBadge.vue.js"), "../basics/EpBtn.vue": () => import("../basics/EpBtn.vue2.js"), "../basics/EpCard.vue": () => import("../basics/EpCard.vue2.js"), "../basics/EpChip.vue": () => import("../basics/EpChip.vue2.js"), "../basics/EpDivider.vue": () => import("../basics/EpDivider.vue2.js"), "../basics/EpFlex.vue": () => import("../basics/EpFlex.vue2.js"), "../basics/EpHover.vue": () => import("../basics/EpHover.vue2.js"), "../basics/EpHoverCard.vue": () => import("../basics/EpHoverCard.vue2.js"), "../basics/EpIcon.vue": () => import("../basics/EpIcon.vue2.js"), "../basics/EpImg.vue": () => import("../basics/EpImg.vue2.js"), "../basics/EpImgCarousel.vue": () => import("../basics/EpImgCarousel.vue2.js"), "../basics/EpList.vue": () => import("../basics/EpList.vue.js"), "../basics/EpListItem.vue": () => import("../basics/EpListItem.vue2.js"), "../basics/EpSection.vue": () => import("../basics/EpSection.vue2.js"), "../basics/EpSectionCols.vue": () => import("../basics/EpSectionCols.vue2.js"), "../basics/EpSpinner.vue": () => import("../basics/EpSpinner.vue2.js"), "../basics/EpStackedList.vue": () => import("../basics/EpStackedList.vue2.js"), "../basics/EpTable.vue": () => import("../basics/EpTable.vue2.js"), "../basics/EpText.vue": () => import("../basics/EpText.vue2.js"), "../charts/EpBarChart.vue": () => import("../charts/EpBarChart.vue2.js"), "../charts/EpFunnelChart.vue": () => import("../charts/EpFunnelChart.vue2.js"), "../charts/EpLineChart.vue": () => import("../charts/EpLineChart.vue2.js"), "../charts/EpPieChart.vue": () => import("../charts/EpPieChart.vue2.js"), "../educationals/EpBranchingScenario.vue": () => import("../educationals/EpBranchingScenario.vue.js"), "../educationals/EpCodeblock.vue": () => import("../educationals/EpCodeblock.vue3.js"), "../educationals/EpConclusion.vue": () => import("../educationals/EpConclusion.vue2.js"), "../educationals/EpDescription.vue": () => import("../educationals/EpDescription.vue2.js"), "../educationals/EpDocument.vue": () => import("../educationals/EpDocument.vue2.js"), "../educationals/EpEdu.vue": () => import("../educationals/EpEdu.vue2.js"), "../educationals/EpFillBlanks.vue": () => import("../educationals/EpFillBlanks.vue2.js"), "../educationals/EpInstructions.vue": () => import("../educationals/EpInstructions.vue2.js"), "../educationals/EpIntroduction.vue": () => import("../educationals/EpIntroduction.vue2.js"), "../educationals/EpObjective.vue": () => import("../educationals/EpObjective.vue2.js"), "../educationals/EpReading.vue": () => import("../educationals/EpReading.vue2.js"), "../educationals/EpResource.vue": () => import("../educationals/EpResource.vue2.js"), "../educationals/EpScope.vue": () => import("../educationals/EpScope.vue2.js"), "../educationals/EpSegmentedBox.vue": () => import("../educationals/EpSegmentedBox.vue2.js"), "../educationals/EpSpecificObjective.vue": () => import("../educationals/EpSpecificObjective.vue2.js"), "../forms/EpCheckbox.vue": () => import("../forms/EpCheckbox.vue.js"), "../forms/EpInput.vue": () => import("../forms/EpInput.vue.js"), "../forms/EpRadio.vue": () => import("../forms/EpRadio.vue.js"), "../forms/EpRadioSummative.vue": () => import("../forms/EpRadioSummative.vue2.js"), "../forms/EpSelect.vue": () => import("../forms/EpSelect.vue2.js"), "../forms/EpSwitch.vue": () => import("../forms/EpSwitch.vue.js"), "../forms/EpTextarea.vue": () => import("../forms/EpTextarea.vue.js"), "../forms/EpToggle.vue": () => import("../forms/EpToggle.vue.js"), "../interactions/Ep360Image.vue": () => import("../interactions/Ep360Image.vue.js"), "../interactions/Ep360Video.vue": () => import("../interactions/Ep360Video.vue.js"), "../interactions/EpAccordeon.vue": () => import("../interactions/EpAccordeon.vue.js"), "../interactions/EpAssociation.vue": () => import("../interactions/EpAssociation.vue2.js"), "../interactions/EpContentSlider.vue": () => import("../interactions/EpContentSlider.vue2.js"), "../interactions/EpDarkMode.vue": () => import("../interactions/EpDarkMode.vue2.js"), "../interactions/EpDraggable.vue": () => import("../interactions/EpDraggable.vue2.js"), "../interactions/EpFlipCard.vue": () => import("../interactions/EpFlipCard.vue.js"), "../interactions/EpHotSpot.vue": () => import("../interactions/EpHotSpot.vue2.js"), "../interactions/EpImageCompare.vue": () => import("../interactions/EpImageCompare.vue2.js"), "../interactions/EpModal.vue": () => import("../interactions/EpModal.vue3.js"), "../interactions/EpQuestion.vue": () => import("../interactions/EpQuestion.vue2.js"), "../interactions/EpSummativeTable.vue": () => import("../interactions/EpSummativeTable.vue2.js"), "../interactions/EpSvgShow.vue": () => import("../interactions/EpSvgShow.vue2.js"), "../interactions/EpTabs.vue": () => import("../interactions/EpTabs.vue.js"), "../interactions/EpTooltip.vue": () => import("../interactions/EpTooltip.vue2.js"), "../medias/EpAudio.vue": () => import("../medias/EpAudio.vue2.js"), "../medias/EpCardLink.vue": () => import("../medias/EpCardLink.vue2.js"), "../medias/EpCarousel.vue": () => import("../medias/EpCarousel.vue2.js"), "../medias/EpHierarchy.vue": () => import("../medias/EpHierarchy.vue.js"), "../medias/EpIframe.vue": () => import("../medias/EpIframe.vue2.js"), "../medias/EpKatex.vue": () => import("../medias/EpKatex.vue.js"), "../medias/EpLink.vue": () => import("../medias/EpLink.vue2.js"), "../medias/EpLinkVersion.vue": () => import("../medias/EpLinkVersion.vue2.js"), "../medias/EpLottieSvg.vue": () => import("../medias/EpLottieSvg.vue2.js"), "../medias/EpSensibleImage.vue": () => import("../medias/EpSensibleImage.vue.js"), "../medias/EpSoftware.vue": () => import("../medias/EpSoftware.vue2.js"), "../medias/EpSvg.vue": () => import("../medias/EpSvg.vue2.js"), "../medias/EpTerm.vue": () => import("../medias/EpTerm.vue2.js"), "../medias/EpTimeLine.vue": () => import("../medias/EpTimeLine.vue.js"), "../medias/EpVideo.vue": () => import("../medias/EpVideo.vue2.js"), "../medias/EpVideoPanopto.vue": () => import("../medias/EpVideoPanopto.vue2.js"), "../medias/EpWordDef.vue": () => import("../medias/EpWordDef.vue2.js"), "../signages/EpAlert.vue": () => import("../signages/EpAlert.vue.js"), "../signages/EpBadge.vue": () => import("../signages/EpBadge.vue2.js"), "../signages/EpHeader.vue": () => import("../signages/EpHeader.vue2.js"), "../signages/EpNothing.vue": () => import("../signages/EpNothing.vue.js"), "../signages/EpQuote.vue": () => import("../signages/EpQuote.vue2.js"), "../signages/EpSkeleton.vue": () => import("../signages/EpSkeleton.vue.js"), "./AssociationNode.vue": () => import("./AssociationNode.vue2.js"), "./AsyncKatexRender.vue": () => import("./AsyncKatexRender.vue.js"), "./BgAudio.vue": () => import("./BgAudio.vue2.js"), "./Details.vue": () => import("./Details.vue2.js"), "./DisplayBox.vue": () => import("./DisplayBox.vue.js"), "./RenderTextNode.vue": () => import("./RenderTextNode.vue2.js"), "./SegmentedBox.vue": () => import("./SegmentedBox.vue2.js"), "./SvgFilter.vue": () => import("./SvgFilter.vue.js"), "./TextMedia.vue": () => import("./TextMedia.vue2.js"), "./TimelineItem.vue": () => import("./TimelineItem.vue.js"), "./TwoColsMedia.vue": () => import("./TwoColsMedia.vue.js") }), `../${componentToLoad.path}/${componentToLoad.name}.vue`, 3)
26
+ );
27
+ }
28
+ return null;
29
+ });
30
+ const colsStyle = computed(() => {
31
+ return props.cols ? "flex items-center justify-center gap-1" : "";
32
+ });
33
+ computed(() => {
34
+ return props.textLeft ? "text-red-900" : "text-red-700";
35
+ });
36
+ return (_ctx, _cache) => {
37
+ return openBlock(), createElementBlock("div", {
38
+ class: normalizeClass(colsStyle.value)
39
+ }, [
40
+ createElementVNode("div", {
41
+ class: normalizeClass(`w-full ep-content ${_ctx.flexCol ? "flex flex-col" : ""}`),
42
+ innerHTML: unref(useRenderText)(_ctx.text)
43
+ }, null, 10, _hoisted_1),
44
+ currentRenderComponent.value && _ctx.media ? (openBlock(), createElementBlock("div", _hoisted_2, [
45
+ (openBlock(), createBlock(resolveDynamicComponent(currentRenderComponent.value), normalizeProps(guardReactiveProps({ ..._ctx.media.data, card: true })), null, 16))
46
+ ])) : createCommentVNode("", true)
47
+ ], 2);
48
+ };
49
+ }
50
+ });
2
51
  export {
3
52
  _sfc_main as default
4
53
  };