ep-lib-ts 1.0.67 → 1.0.69

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 (83) hide show
  1. package/dist/components/basics/EpAvatar.vue.js +1 -54
  2. package/dist/components/basics/EpAvatar.vue.js.map +1 -1
  3. package/dist/components/basics/EpAvatar.vue2.js +55 -1
  4. package/dist/components/basics/EpAvatar.vue2.js.map +1 -1
  5. package/dist/components/basics/EpCard.vue.js +4 -4
  6. package/dist/components/basics/EpCard.vue.js.map +1 -1
  7. package/dist/components/basics/EpDivider.vue.js +4 -3
  8. package/dist/components/basics/EpDivider.vue.js.map +1 -1
  9. package/dist/components/basics/EpHoverCard.vue.js +2 -2
  10. package/dist/components/basics/EpHoverCard.vue.js.map +1 -1
  11. package/dist/components/basics/EpImg.vue.js +1 -1
  12. package/dist/components/basics/EpImg.vue.js.map +1 -1
  13. package/dist/components/basics/EpStackedList.vue.js +3 -3
  14. package/dist/components/basics/EpStackedList.vue.js.map +1 -1
  15. package/dist/components/basics/EpTable.vue.js +1 -1
  16. package/dist/components/basics/EpTable.vue.js.map +1 -1
  17. package/dist/components/educationals/EpBranchingScenario.vue.js +1 -1
  18. package/dist/components/educationals/EpBranchingScenario.vue2.js +3 -3
  19. package/dist/components/educationals/EpBranchingScenario.vue2.js.map +1 -1
  20. package/dist/components/educationals/EpEdu.vue.js +1 -1
  21. package/dist/components/educationals/EpEdu.vue.js.map +1 -1
  22. package/dist/components/educationals/EpInstructions.vue.js +6 -1
  23. package/dist/components/educationals/EpInstructions.vue.js.map +1 -1
  24. package/dist/components/educationals/EpReading.vue.js +1 -1
  25. package/dist/components/educationals/EpReading.vue.js.map +1 -1
  26. package/dist/components/educationals/EpResource.vue.js +1 -1
  27. package/dist/components/educationals/EpResource.vue.js.map +1 -1
  28. package/dist/components/educationals/EpSpecificObjective.vue.js +40 -19
  29. package/dist/components/educationals/EpSpecificObjective.vue.js.map +1 -1
  30. package/dist/components/interactions/EpAccordeon.vue.js +1 -1
  31. package/dist/components/interactions/EpAccordeon.vue2.js +3 -2
  32. package/dist/components/interactions/EpAccordeon.vue2.js.map +1 -1
  33. package/dist/components/interactions/EpContentSlider.vue.js +75 -9
  34. package/dist/components/interactions/EpContentSlider.vue.js.map +1 -1
  35. package/dist/components/interactions/EpQuestion.vue.js +1 -1
  36. package/dist/components/interactions/EpQuestion.vue.js.map +1 -1
  37. package/dist/components/interactions/EpSummativeTable.vue.js +1 -1
  38. package/dist/components/interactions/EpSummativeTable.vue.js.map +1 -1
  39. package/dist/components/medias/EpAudio.vue.js +1 -1
  40. package/dist/components/medias/EpCarousel.vue.js +2 -2
  41. package/dist/components/medias/EpCarousel.vue.js.map +1 -1
  42. package/dist/components/medias/EpHierarchy.vue2.js +1 -1
  43. package/dist/components/medias/EpHierarchy.vue2.js.map +1 -1
  44. package/dist/components/medias/EpSoftware.vue.js +1 -1
  45. package/dist/components/medias/EpSoftware.vue.js.map +1 -1
  46. package/dist/components/medias/EpTerm.vue.js +2 -2
  47. package/dist/components/medias/EpTerm.vue.js.map +1 -1
  48. package/dist/components/medias/EpWordDef.vue.js +133 -50
  49. package/dist/components/medias/EpWordDef.vue.js.map +1 -1
  50. package/dist/components/signages/EpHeader.vue.js +3 -3
  51. package/dist/components/signages/EpHeader.vue.js.map +1 -1
  52. package/dist/components/tools/BgAudio.vue.js +52 -1
  53. package/dist/components/tools/BgAudio.vue.js.map +1 -1
  54. package/dist/components/tools/BgAudio.vue2.js +1 -52
  55. package/dist/components/tools/BgAudio.vue2.js.map +1 -1
  56. package/dist/components/tools/Details.vue.js +1 -55
  57. package/dist/components/tools/Details.vue.js.map +1 -1
  58. package/dist/components/tools/Details.vue2.js +55 -1
  59. package/dist/components/tools/Details.vue2.js.map +1 -1
  60. package/dist/components/tools/TextMedia.vue.js +1 -49
  61. package/dist/components/tools/TextMedia.vue.js.map +1 -1
  62. package/dist/components/tools/TextMedia.vue2.js +49 -1
  63. package/dist/components/tools/TextMedia.vue2.js.map +1 -1
  64. package/dist/components/tools/TimelineItem.vue.js +1 -1
  65. package/dist/components/tools/TimelineItem.vue2.js +1 -1
  66. package/dist/components/tools/TimelineItem.vue2.js.map +1 -1
  67. package/dist/components/tools/TwoColsMedia.vue2.js +2 -2
  68. package/dist/components/tools/TwoColsMedia.vue2.js.map +1 -1
  69. package/dist/composables/useColors.js +58 -0
  70. package/dist/composables/useColors.js.map +1 -0
  71. package/dist/style.css +147 -0
  72. package/dist/types/Accordeon.js +20 -20
  73. package/dist/types/Accordeon.js.map +1 -1
  74. package/dist/types/Alert.js +32 -32
  75. package/dist/types/Alert.js.map +1 -1
  76. package/dist/types/Btn.js +21 -21
  77. package/dist/types/Btn.js.map +1 -1
  78. package/dist/types/Chip.js +14 -14
  79. package/dist/types/Chip.js.map +1 -1
  80. package/dist/types/educationals/EpInstructions.d.ts +1 -0
  81. package/dist/types/educationals/EpSpecificObjective.d.ts +1 -1
  82. package/package.json +2 -4
  83. package/dist/styles.css +0 -655
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, ref, createElementBlock, openBlock, createElementVNode, createVNode, withCtx, toDisplayString, createCommentVNode, normalizeClass, Fragment, renderList, unref } from "vue";
1
+ import { defineComponent, computed, ref, createElementBlock, openBlock, createVNode, withCtx, createElementVNode, createCommentVNode, normalizeClass, toDisplayString, Fragment, renderList, unref } from "vue";
2
2
  import _sfc_main$1 from "../basics/EpImg.vue.js";
3
3
  import { useCreateUid } from "../../composables/useCreateUid.js";
4
4
  import { useRenderText } from "../../composables/useRenderText.js";
@@ -6,30 +6,58 @@ import { useRouter } from "vue-router";
6
6
  import Comp from "../interactions/EpAccordeon.vue.js";
7
7
  const _hoisted_1 = ["id"];
8
8
  const _hoisted_2 = { key: 0 };
9
- const _hoisted_3 = { class: "h-min border divide-y" };
10
- const _hoisted_4 = { class: "text-xl font-semibold p-2" };
11
- const _hoisted_5 = { class: "flex justify-between" };
12
- const _hoisted_6 = { class: "text-sm font-medium p-2" };
13
- const _hoisted_7 = {
9
+ const _hoisted_3 = {
10
+ key: 0,
11
+ class: "h-min border divide-y"
12
+ };
13
+ const _hoisted_4 = { class: "flex justify-between" };
14
+ const _hoisted_5 = { class: "text-sm font-medium p-2" };
15
+ const _hoisted_6 = {
14
16
  key: 0,
15
17
  class: "px-2 py-1"
16
18
  };
17
- const _hoisted_8 = { class: "text-sm font-medium p-2" };
18
- const _hoisted_9 = { class: "px-2 py-1" };
19
- const _hoisted_10 = { class: "text-sm font-medium p-2" };
20
- const _hoisted_11 = { class: "px-2 py-1" };
21
- const _hoisted_12 = ["innerHTML"];
22
- const _hoisted_13 = {
19
+ const _hoisted_7 = { class: "text-sm font-medium p-2" };
20
+ const _hoisted_8 = { class: "px-2 py-1" };
21
+ const _hoisted_9 = { class: "text-sm font-medium p-2" };
22
+ const _hoisted_10 = { class: "px-2 py-1" };
23
+ const _hoisted_11 = ["innerHTML"];
24
+ const _hoisted_12 = {
23
25
  key: 1,
24
26
  class: "flex flex-row justify-between"
25
27
  };
26
- const _hoisted_14 = ["innerHTML"];
27
- const _hoisted_15 = { class: "flex w-1/2 justify-center p-2" };
28
- const _hoisted_16 = { key: 0 };
29
- const _hoisted_17 = { class: "text-sm font-medium p-2" };
30
- const _hoisted_18 = { class: "p-2" };
31
- const _hoisted_19 = ["onClick"];
32
- const _hoisted_20 = { key: 1 };
28
+ const _hoisted_13 = ["innerHTML"];
29
+ const _hoisted_14 = { class: "flex w-1/2 justify-center p-2" };
30
+ const _hoisted_15 = { key: 2 };
31
+ const _hoisted_16 = { class: "text-sm font-medium p-2" };
32
+ const _hoisted_17 = { class: "p-2" };
33
+ const _hoisted_18 = ["onClick"];
34
+ const _hoisted_19 = {
35
+ key: 1,
36
+ class: "h-min border divide-y"
37
+ };
38
+ const _hoisted_20 = { class: "text-xl font-semibold p-2" };
39
+ const _hoisted_21 = { class: "flex justify-between" };
40
+ const _hoisted_22 = { class: "text-sm font-medium p-2" };
41
+ const _hoisted_23 = {
42
+ key: 0,
43
+ class: "px-2 py-1"
44
+ };
45
+ const _hoisted_24 = { class: "text-sm font-medium p-2" };
46
+ const _hoisted_25 = { class: "px-2 py-1" };
47
+ const _hoisted_26 = { class: "text-sm font-medium p-2" };
48
+ const _hoisted_27 = { class: "px-2 py-1" };
49
+ const _hoisted_28 = ["innerHTML"];
50
+ const _hoisted_29 = {
51
+ key: 1,
52
+ class: "flex flex-row justify-between"
53
+ };
54
+ const _hoisted_30 = ["innerHTML"];
55
+ const _hoisted_31 = { class: "flex w-1/2 justify-center p-2" };
56
+ const _hoisted_32 = { key: 2 };
57
+ const _hoisted_33 = { class: "text-sm font-medium p-2" };
58
+ const _hoisted_34 = { class: "p-2" };
59
+ const _hoisted_35 = ["onClick"];
60
+ const _hoisted_36 = { key: 1 };
33
61
  const _sfc_main = /* @__PURE__ */ defineComponent({
34
62
  __name: "EpWordDef",
35
63
  props: {
@@ -76,38 +104,37 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
76
104
  const id = ref(props.uid || useCreateUid());
77
105
  return (_ctx, _cache) => {
78
106
  return openBlock(), createElementBlock("div", {
79
- class: "ep-surface-2",
107
+ class: "bg-surface-2 dark:bg-surface-2-dark",
80
108
  id: id.value
81
109
  }, [
82
110
  _ctx.term && _ctx.description ? (openBlock(), createElementBlock("div", _hoisted_2, [
83
- createElementVNode("div", _hoisted_3, [
111
+ _ctx.collapse ? (openBlock(), createElementBlock("div", _hoisted_3, [
84
112
  createVNode(Comp, {
85
113
  title: _ctx.term,
86
- open: !_ctx.collapse,
114
+ open: false,
87
115
  outlined: true
88
116
  }, {
89
117
  default: withCtx(() => [
90
- createElementVNode("h2", _hoisted_4, toDisplayString(_ctx.term), 1),
91
- createElementVNode("div", _hoisted_5, [
118
+ createElementVNode("div", _hoisted_4, [
92
119
  createElementVNode("div", {
93
120
  class: normalizeClass(sizeGramIngo.value)
94
121
  }, [
95
- createElementVNode("p", _hoisted_6, toDisplayString(_ctx.labelInformation), 1),
96
- _ctx.content.gramInfo ? (openBlock(), createElementBlock("div", _hoisted_7, toDisplayString(_ctx.content.gramInfo), 1)) : createCommentVNode("", true)
122
+ createElementVNode("p", _hoisted_5, toDisplayString(_ctx.labelInformation), 1),
123
+ _ctx.content.gramInfo ? (openBlock(), createElementBlock("div", _hoisted_6, toDisplayString(_ctx.content.gramInfo), 1)) : createCommentVNode("", true)
97
124
  ], 2),
98
125
  _ctx.content.domain ? (openBlock(), createElementBlock("div", {
99
126
  key: 0,
100
127
  class: normalizeClass(sizeDomain.value)
101
128
  }, [
102
- createElementVNode("p", _hoisted_8, toDisplayString(_ctx.labelDomain), 1),
103
- createElementVNode("div", _hoisted_9, toDisplayString(_ctx.content.domain), 1)
129
+ createElementVNode("p", _hoisted_7, toDisplayString(_ctx.labelDomain), 1),
130
+ createElementVNode("div", _hoisted_8, toDisplayString(_ctx.content.domain), 1)
104
131
  ], 2)) : createCommentVNode("", true),
105
132
  _ctx.variation.length > 0 ? (openBlock(), createElementBlock("div", {
106
133
  key: 1,
107
134
  class: normalizeClass(sizeVariations.value)
108
135
  }, [
109
- createElementVNode("p", _hoisted_10, toDisplayString(_ctx.labelVariations), 1),
110
- createElementVNode("div", _hoisted_11, [
136
+ createElementVNode("p", _hoisted_9, toDisplayString(_ctx.labelVariations), 1),
137
+ createElementVNode("div", _hoisted_10, [
111
138
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.variation, (_variation, i) => {
112
139
  return openBlock(), createElementBlock("span", {
113
140
  key: `v-${i}`
@@ -120,37 +147,93 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
120
147
  key: 0,
121
148
  class: "px-2 py-6",
122
149
  innerHTML: unref(useRenderText)(_ctx.description)
123
- }, null, 8, _hoisted_12)) : (openBlock(), createElementBlock("div", _hoisted_13, [
150
+ }, null, 8, _hoisted_11)) : (openBlock(), createElementBlock("div", _hoisted_12, [
124
151
  createElementVNode("div", {
125
152
  class: "px-2 py-6",
126
153
  innerHTML: unref(useRenderText)(_ctx.description)
127
- }, null, 8, _hoisted_14),
128
- createElementVNode("div", _hoisted_15, [
154
+ }, null, 8, _hoisted_13),
155
+ createElementVNode("div", _hoisted_14, [
129
156
  createVNode(_sfc_main$1, {
130
157
  src: _ctx.content.image,
131
158
  cols: _ctx.cols
132
159
  }, null, 8, ["src", "cols"])
133
160
  ])
134
161
  ])),
135
- createElementVNode("div", null, [
136
- _ctx.relation.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_16, [
137
- createElementVNode("p", _hoisted_17, toDisplayString(_ctx.labelRelations), 1),
138
- createElementVNode("div", _hoisted_18, [
139
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.relation, (_relation, i) => {
140
- return openBlock(), createElementBlock("button", {
141
- key: `relation-${i}`,
142
- class: "p-1 border rounded mr-1",
143
- onClick: ($event) => goto(_relation.termId)
144
- }, toDisplayString(_relation.term), 9, _hoisted_19);
145
- }), 128))
146
- ])
147
- ])) : createCommentVNode("", true)
148
- ])
162
+ _ctx.relation.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_15, [
163
+ createElementVNode("p", _hoisted_16, toDisplayString(_ctx.labelRelations), 1),
164
+ createElementVNode("div", _hoisted_17, [
165
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.relation, (_relation, i) => {
166
+ return openBlock(), createElementBlock("button", {
167
+ key: `relation-${i}`,
168
+ class: "p-1 border rounded mr-1",
169
+ onClick: ($event) => goto(_relation.termId)
170
+ }, toDisplayString(_relation.term), 9, _hoisted_18);
171
+ }), 128))
172
+ ])
173
+ ])) : createCommentVNode("", true)
149
174
  ]),
150
175
  _: 1
151
- }, 8, ["title", "open"])
152
- ])
153
- ])) : (openBlock(), createElementBlock("div", _hoisted_20, toDisplayString(_ctx.labelNoDefinition), 1))
176
+ }, 8, ["title"])
177
+ ])) : (openBlock(), createElementBlock("div", _hoisted_19, [
178
+ createElementVNode("h2", _hoisted_20, toDisplayString(_ctx.term), 1),
179
+ createElementVNode("div", _hoisted_21, [
180
+ createElementVNode("div", {
181
+ class: normalizeClass(sizeGramIngo.value)
182
+ }, [
183
+ createElementVNode("p", _hoisted_22, toDisplayString(_ctx.labelInformation), 1),
184
+ _ctx.content.gramInfo ? (openBlock(), createElementBlock("div", _hoisted_23, toDisplayString(_ctx.content.gramInfo), 1)) : createCommentVNode("", true)
185
+ ], 2),
186
+ _ctx.content.domain ? (openBlock(), createElementBlock("div", {
187
+ key: 0,
188
+ class: normalizeClass(sizeDomain.value)
189
+ }, [
190
+ createElementVNode("p", _hoisted_24, toDisplayString(_ctx.labelDomain), 1),
191
+ createElementVNode("div", _hoisted_25, toDisplayString(_ctx.content.domain), 1)
192
+ ], 2)) : createCommentVNode("", true),
193
+ _ctx.variation.length > 0 ? (openBlock(), createElementBlock("div", {
194
+ key: 1,
195
+ class: normalizeClass(sizeVariations.value)
196
+ }, [
197
+ createElementVNode("p", _hoisted_26, toDisplayString(_ctx.labelVariations), 1),
198
+ createElementVNode("div", _hoisted_27, [
199
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.variation, (_variation, i) => {
200
+ return openBlock(), createElementBlock("span", {
201
+ key: `v-${i}`
202
+ }, toDisplayString(_variation) + toDisplayString(_ctx.variation.length > i + 1 ? ", " : "."), 1);
203
+ }), 128))
204
+ ])
205
+ ], 2)) : createCommentVNode("", true)
206
+ ]),
207
+ !_ctx.content.image ? (openBlock(), createElementBlock("div", {
208
+ key: 0,
209
+ class: "px-2 py-6",
210
+ innerHTML: unref(useRenderText)(_ctx.description)
211
+ }, null, 8, _hoisted_28)) : (openBlock(), createElementBlock("div", _hoisted_29, [
212
+ createElementVNode("div", {
213
+ class: "px-2 py-6",
214
+ innerHTML: unref(useRenderText)(_ctx.description)
215
+ }, null, 8, _hoisted_30),
216
+ createElementVNode("div", _hoisted_31, [
217
+ createVNode(_sfc_main$1, {
218
+ src: _ctx.content.image,
219
+ cols: _ctx.cols
220
+ }, null, 8, ["src", "cols"])
221
+ ])
222
+ ])),
223
+ _ctx.relation.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_32, [
224
+ createElementVNode("p", _hoisted_33, toDisplayString(_ctx.labelRelations), 1),
225
+ createElementVNode("div", _hoisted_34, [
226
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.relation, (_relation, i) => {
227
+ return openBlock(), createElementBlock("button", {
228
+ key: `relation-${i}`,
229
+ class: "p-1 border rounded mr-1",
230
+ onClick: ($event) => goto(_relation.termId)
231
+ }, toDisplayString(_relation.term), 9, _hoisted_35);
232
+ }), 128))
233
+ ])
234
+ ])) : createCommentVNode("", true)
235
+ ]))
236
+ ])) : (openBlock(), createElementBlock("div", _hoisted_36, toDisplayString(_ctx.labelNoDefinition), 1))
154
237
  ], 8, _hoisted_1);
155
238
  };
156
239
  }
@@ -1 +1 @@
1
- {"version":3,"file":"EpWordDef.vue.js","sources":["../../../src/components/medias/EpWordDef.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed, ref } from \"vue\";\nimport EpImg from \"~/components/basics/EpImg.vue\";\nimport { useCreateUid } from \"~/composables/useCreateUid\";\nimport { useRenderText } from \"~/composables/useRenderText\";\nimport { useRouter } from \"vue-router\";\nimport type { EpWordDefProps } from \"~/types/medias/EpWordDef\";\nimport EpAccordeon from \"~/components/interactions/EpAccordeon.vue\";\n\nconst props = withDefaults(defineProps<EpWordDefProps>(), {\n labelInformation: \"Information grammaticale\",\n labelDomain: \"Domaine\",\n labelRelations: \"Relations\",\n labelNoDefinition: \"La definition n'est pas disponible\",\n labelVariations: \"Variation(s)\",\n cols: \"10\",\n collapse: true,\n});\n\nconst sizeGramIngo = computed(() => {\n if (props.content) {\n return props.content.domain || props.variation.length > 0\n ? \"w-1/3\"\n : \"w-full\";\n }\n return \"\";\n});\n\nconst sizeDomain = computed(() => {\n if (props.variation) {\n return props.variation.length > 0 ? \"w-1/4\" : \"w-3/4\";\n }\n return \"\";\n});\n\nconst sizeVariations = computed(() => {\n if (props.content) {\n return props.content.domain ? \"w-2/4\" : \"w-3/4\";\n }\n return \"\";\n});\n\n/*\nconst findRelations = (relations: string[]): { id: number | string, term: string }[] => {\n let _relations = props.glossary.filter((term) => {\n return relations.some((x) => {\n return term.id === x;\n });\n });\n return _relations.map((x) => ({id:x.id, term:x.term}));\n};*/\n\nconst router = useRouter();\nconst goto = (term: string) => {\n if (router.hasRoute(\"glossary\")) {\n router.push({ path: \"/glossary\", query: { word: term } });\n }\n //console.log(router.hasRoute('signages'))\n //\n};\n\nconst id = ref(props.uid || useCreateUid());\n</script>\n\n<template>\n <div class=\"ep-surface-2\" :id=\"id\">\n <div v-if=\"term && description\">\n <div class=\"h-min border divide-y\">\n <EpAccordeon :title=\"term\" :open=\"!collapse\" :outlined=\"true\">\n <h2 class=\"text-xl font-semibold p-2\">{{ term }}</h2>\n <div class=\"flex justify-between\">\n <div :class=\"sizeGramIngo\">\n <p class=\"text-sm font-medium p-2\">\n {{ labelInformation }}\n </p>\n <div class=\"px-2 py-1\" v-if=\"content.gramInfo\">\n {{ content.gramInfo }}\n </div>\n </div>\n <div :class=\"sizeDomain\" v-if=\"content.domain\">\n <p class=\"text-sm font-medium p-2\">\n {{ labelDomain }}\n </p>\n <div class=\"px-2 py-1\">{{ content.domain }}</div>\n </div>\n <div :class=\"sizeVariations\" v-if=\"variation.length > 0\">\n <p class=\"text-sm font-medium p-2\">\n {{ labelVariations }}\n </p>\n <div class=\"px-2 py-1\">\n <span v-for=\"(_variation, i) in variation\" :key=\"`v-${i}`\"\n >{{ _variation\n }}{{ variation.length > i + 1 ? \", \" : \".\" }}</span\n >\n </div>\n </div>\n </div>\n <template v-if=\"!content.image\">\n <div class=\"px-2 py-6\" v-html=\"useRenderText(description)\" />\n </template>\n <template v-else>\n <div class=\"flex flex-row justify-between\">\n <div class=\"px-2 py-6\" v-html=\"useRenderText(description)\" />\n <div class=\"flex w-1/2 justify-center p-2\">\n <EpImg :src=\"content.image\" :cols=\"cols\" />\n </div>\n </div>\n </template>\n\n <div>\n <div v-if=\"relation.length > 0\">\n <p class=\"text-sm font-medium p-2\">\n {{ labelRelations }}\n </p>\n <div class=\"p-2\">\n <template\n v-for=\"(_relation, i) in relation\"\n :key=\"`relation-${i}`\"\n >\n <button\n class=\"p-1 border rounded mr-1\"\n @click=\"goto(_relation.termId)\"\n >\n {{ _relation.term }}\n </button>\n </template>\n </div>\n </div>\n </div>\n </EpAccordeon>\n </div>\n </div>\n <div v-else>{{ labelNoDefinition }}</div>\n </div>\n</template>\n"],"names":["_createElementBlock","term","description","_createElementVNode","_createVNode","EpAccordeon","collapse","_toDisplayString","labelInformation","content","_openBlock","labelDomain","variation","labelVariations","_Fragment","_renderList","_unref","EpImg","cols","relation","labelRelations","labelNoDefinition"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,UAAM,QAAQ;AAUd,UAAM,eAAe,SAAS,MAAM;AAClC,UAAI,MAAM,SAAS;AACjB,eAAO,MAAM,QAAQ,UAAU,MAAM,UAAU,SAAS,IACpD,UACA;AAAA,MACN;AACA,aAAO;AAAA,IACT,CAAC;AAED,UAAM,aAAa,SAAS,MAAM;AAChC,UAAI,MAAM,WAAW;AACnB,eAAO,MAAM,UAAU,SAAS,IAAI,UAAU;AAAA,MAChD;AACA,aAAO;AAAA,IACT,CAAC;AAED,UAAM,iBAAiB,SAAS,MAAM;AACpC,UAAI,MAAM,SAAS;AACjB,eAAO,MAAM,QAAQ,SAAS,UAAU;AAAA,MAC1C;AACA,aAAO;AAAA,IACT,CAAC;AAYD,UAAM,SAAS,UAAA;AACf,UAAM,OAAO,CAAC,SAAiB;AAC7B,UAAI,OAAO,SAAS,UAAU,GAAG;AAC/B,eAAO,KAAK,EAAE,MAAM,aAAa,OAAO,EAAE,MAAM,KAAA,GAAQ;AAAA,MAC1D;AAAA,IAGF;AAEA,UAAM,KAAK,IAAI,MAAM,OAAO,cAAc;;0BAIxCA,mBAoEM,OAAA;AAAA,QApED,OAAM;AAAA,QAAgB,IAAI,GAAA;AAAA,MAAA;Q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,SAAS,IAAC,IAAA,OAAA,GAAA,GAAA,CAAA;AAAA;;;;gBAKhBH,CAAAA,KAAAA,QAAQ,sBACvBT,mBAA6D,OAAA;AAAA;kBAAxD,OAAM;AAAA,kBAAY,WAAQgB,MAAA,aAAA,EAAcd,KAAAA,WAAW;AAAA,gBAAA,6BAGxDQ,UAAA,GAAAV,mBAKM,OALN,aAKM;AAAA,kBAJJG,mBAA6D,OAAA;AAAA,oBAAxD,OAAM;AAAA,oBAAY,WAAQa,MAAA,aAAA,EAAcd,KAAAA,WAAW;AAAA,kBAAA;kBACxDC,mBAEM,OAFN,aAEM;AAAA,oBADJC,YAA2Ca,aAAA;AAAA,sBAAnC,KAAKR,KAAAA,QAAQ;AAAA,sBAAQ,MAAMS,KAAAA;AAAAA,oBAAAA;;;gBAKzCf,mBAmBM,OAAA,MAAA;AAAA,kBAlBOgB,KAAAA,SAAS,SAAM,kBAA1BnB,mBAiBM,OAAA,aAAA;AAAA,oBAhBJG,mBAEI,KAFJ,aAEII,gBADCa,KAAAA,cAAc,GAAA,CAAA;AAAA,oBAEnBjB,mBAYM,OAZN,aAYM;AAAA,uBAXJO,UAAA,IAAA,GAAAV,mBAUWc,UAAA,MAAAC,WATgBI,KAAAA,UAAQ,CAAzB,WAAW,MAAC;4CAGpBnB,mBAKS,UAAA;AAAA,2CAPS,CAAC;AAAA,0BAGjB,OAAM;AAAA,0BACL,SAAK,CAAA,WAAE,KAAK,UAAU,MAAM;AAAA,wBAAA,GAE1BO,gBAAA,UAAU,IAAI,GAAA,GAAA,WAAA;AAAA;;;;;;;;eASjCG,aAAAV,mBAAyC,oCAA1BqB,KAAAA,iBAAiB,GAAA,CAAA;AAAA,MAAA;;;;"}
1
+ {"version":3,"file":"EpWordDef.vue.js","sources":["../../../src/components/medias/EpWordDef.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed, ref } from \"vue\";\nimport EpImg from \"~/components/basics/EpImg.vue\";\nimport { useCreateUid } from \"~/composables/useCreateUid\";\nimport { useRenderText } from \"~/composables/useRenderText\";\nimport { useRouter } from \"vue-router\";\nimport type { EpWordDefProps } from \"~/types/medias/EpWordDef\";\nimport EpAccordeon from \"~/components/interactions/EpAccordeon.vue\";\n\nconst props = withDefaults(defineProps<EpWordDefProps>(), {\n labelInformation: \"Information grammaticale\",\n labelDomain: \"Domaine\",\n labelRelations: \"Relations\",\n labelNoDefinition: \"La definition n'est pas disponible\",\n labelVariations: \"Variation(s)\",\n cols: \"10\",\n collapse: true,\n});\n\nconst sizeGramIngo = computed(() => {\n if (props.content) {\n return props.content.domain || props.variation.length > 0\n ? \"w-1/3\"\n : \"w-full\";\n }\n return \"\";\n});\n\nconst sizeDomain = computed(() => {\n if (props.variation) {\n return props.variation.length > 0 ? \"w-1/4\" : \"w-3/4\";\n }\n return \"\";\n});\n\nconst sizeVariations = computed(() => {\n if (props.content) {\n return props.content.domain ? \"w-2/4\" : \"w-3/4\";\n }\n return \"\";\n});\n\n/*\nconst findRelations = (relations: string[]): { id: number | string, term: string }[] => {\n let _relations = props.glossary.filter((term) => {\n return relations.some((x) => {\n return term.id === x;\n });\n });\n return _relations.map((x) => ({id:x.id, term:x.term}));\n};*/\n\nconst router = useRouter();\nconst goto = (term: string) => {\n if (router.hasRoute(\"glossary\")) {\n router.push({ path: \"/glossary\", query: { word: term } });\n }\n //console.log(router.hasRoute('signages'))\n //\n};\n\nconst id = ref(props.uid || useCreateUid());\n</script>\n\n<template>\n <div class=\"bg-surface-2 dark:bg-surface-2-dark\" :id=\"id\">\n <div v-if=\"term && description\">\n <div v-if=\"collapse\" class=\"h-min border divide-y\">\n <EpAccordeon :title=\"term\" :open=\"false\" :outlined=\"true\">\n <div class=\"flex justify-between\">\n <div :class=\"sizeGramIngo\">\n <p class=\"text-sm font-medium p-2\">\n {{ labelInformation }}\n </p>\n <div class=\"px-2 py-1\" v-if=\"content.gramInfo\">\n {{ content.gramInfo }}\n </div>\n </div>\n <div :class=\"sizeDomain\" v-if=\"content.domain\">\n <p class=\"text-sm font-medium p-2\">\n {{ labelDomain }}\n </p>\n <div class=\"px-2 py-1\">{{ content.domain }}</div>\n </div>\n <div :class=\"sizeVariations\" v-if=\"variation.length > 0\">\n <p class=\"text-sm font-medium p-2\">\n {{ labelVariations }}\n </p>\n <div class=\"px-2 py-1\">\n <span v-for=\"(_variation, i) in variation\" :key=\"`v-${i}`\"\n >{{ _variation\n }}{{ variation.length > i + 1 ? \", \" : \".\" }}</span\n >\n </div>\n </div>\n </div>\n <template v-if=\"!content.image\">\n <div class=\"px-2 py-6\" v-html=\"useRenderText(description)\" />\n </template>\n <template v-else>\n <div class=\"flex flex-row justify-between\">\n <div class=\"px-2 py-6\" v-html=\"useRenderText(description)\" />\n <div class=\"flex w-1/2 justify-center p-2\">\n <EpImg :src=\"content.image\" :cols=\"cols\" />\n </div>\n </div>\n </template>\n\n <div v-if=\"relation.length > 0\">\n <p class=\"text-sm font-medium p-2\">{{ labelRelations }}</p>\n <div class=\"p-2\">\n <template\n v-for=\"(_relation, i) in relation\"\n :key=\"`relation-${i}`\"\n >\n <button\n class=\"p-1 border rounded mr-1\"\n @click=\"goto(_relation.termId)\"\n >\n {{ _relation.term }}\n </button>\n </template>\n </div>\n </div>\n </EpAccordeon>\n </div>\n\n <div v-else class=\"h-min border divide-y\">\n <h2 class=\"text-xl font-semibold p-2\">{{ term }}</h2>\n\n <div class=\"flex justify-between\">\n <div :class=\"sizeGramIngo\">\n <p class=\"text-sm font-medium p-2\">{{ labelInformation }}</p>\n <div class=\"px-2 py-1\" v-if=\"content.gramInfo\">\n {{ content.gramInfo }}\n </div>\n </div>\n\n <div :class=\"sizeDomain\" v-if=\"content.domain\">\n <p class=\"text-sm font-medium p-2\">{{ labelDomain }}</p>\n <div class=\"px-2 py-1\">{{ content.domain }}</div>\n </div>\n\n <div :class=\"sizeVariations\" v-if=\"variation.length > 0\">\n <p class=\"text-sm font-medium p-2\">{{ labelVariations }}</p>\n <div class=\"px-2 py-1\">\n <span v-for=\"(_variation, i) in variation\" :key=\"`v-${i}`\">\n {{ _variation }}{{ variation.length > i + 1 ? \", \" : \".\" }}\n </span>\n </div>\n </div>\n </div>\n\n <template v-if=\"!content.image\">\n <div class=\"px-2 py-6\" v-html=\"useRenderText(description)\" />\n </template>\n <template v-else>\n <div class=\"flex flex-row justify-between\">\n <div class=\"px-2 py-6\" v-html=\"useRenderText(description)\" />\n <div class=\"flex w-1/2 justify-center p-2\">\n <EpImg :src=\"content.image\" :cols=\"cols\" />\n </div>\n </div>\n </template>\n\n <div v-if=\"relation.length > 0\">\n <p class=\"text-sm font-medium p-2\">{{ labelRelations }}</p>\n <div class=\"p-2\">\n <template v-for=\"(_relation, i) in relation\" :key=\"`relation-${i}`\">\n <button\n class=\"p-1 border rounded mr-1\"\n @click=\"goto(_relation.termId)\"\n >\n {{ _relation.term }}\n </button>\n </template>\n </div>\n </div>\n </div>\n </div>\n\n <div v-else>{{ labelNoDefinition }}</div>\n </div>\n</template>\n"],"names":["_createElementBlock","term","description","collapse","_openBlock","_createVNode","EpAccordeon","_createElementVNode","_toDisplayString","labelInformation","content","labelDomain","variation","labelVariations","_Fragment","_renderList","_unref","EpImg","cols","relation","labelRelations","labelNoDefinition"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,UAAM,QAAQ;AAUd,UAAM,eAAe,SAAS,MAAM;AAClC,UAAI,MAAM,SAAS;AACjB,eAAO,MAAM,QAAQ,UAAU,MAAM,UAAU,SAAS,IACpD,UACA;AAAA,MACN;AACA,aAAO;AAAA,IACT,CAAC;AAED,UAAM,aAAa,SAAS,MAAM;AAChC,UAAI,MAAM,WAAW;AACnB,eAAO,MAAM,UAAU,SAAS,IAAI,UAAU;AAAA,MAChD;AACA,aAAO;AAAA,IACT,CAAC;AAED,UAAM,iBAAiB,SAAS,MAAM;AACpC,UAAI,MAAM,SAAS;AACjB,eAAO,MAAM,QAAQ,SA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QgB,MAAA,aAAA,EAAcd,KAAAA,WAAW;AAAA,YAAA,6BAGxDE,UAAA,GAAAJ,mBAKM,OALN,aAKM;AAAA,cAJJO,mBAA6D,OAAA;AAAA,gBAAxD,OAAM;AAAA,gBAAY,WAAQS,MAAA,aAAA,EAAcd,KAAAA,WAAW;AAAA,cAAA;cACxDK,mBAEM,OAFN,aAEM;AAAA,gBADJF,YAA2CY,aAAA;AAAA,kBAAnC,KAAKP,KAAAA,QAAQ;AAAA,kBAAQ,MAAMQ,KAAAA;AAAAA,gBAAAA;;;YAK9BC,KAAAA,SAAS,SAAM,kBAA1BnB,mBAYM,OAAA,aAAA;AAAA,cAXJO,mBAA2D,KAA3D,aAA2DC,gBAArBY,KAAAA,cAAc,GAAA,CAAA;AAAA,cACpDb,mBASM,OATN,aASM;AAAA,iBARJH,UAAA,IAAA,GAAAJ,mBAOWc,UAAA,MAAAC,WAPwBI,KAAAA,UAAQ,CAAzB,WAAW,MAAC;sCAC5BnB,mBAKS,UAAA;AAAA,qCANoD,CAAC;AAAA,oBAE5D,OAAM;AAAA,oBACL,SAAK,CAAA,WAAE,KAAK,UAAU,MAAM;AAAA,kBAAA,GAE1BQ,gBAAA,UAAU,IAAI,GAAA,GAAA,WAAA;AAAA;;;;eAQ7BJ,aAAAJ,mBAAyC,oCAA1BqB,KAAAA,iBAAiB,GAAA,CAAA;AAAA,MAAA;;;;"}
@@ -29,15 +29,15 @@ const _hoisted_9 = {
29
29
  };
30
30
  const _hoisted_10 = { key: 2 };
31
31
  const _hoisted_11 = { class: "flex flex-col-reverse lg:flex-row items-stretch" };
32
- const _hoisted_12 = { class: "basis-1/2 bg-surface-2 lg:min-h-48 p-4" };
32
+ const _hoisted_12 = { class: "basis-1/2 bg-surface-2 dark:bg-surface-2-dark lg:min-h-48 p-4" };
33
33
  const _hoisted_13 = { class: "flex justify-start pt-0 mb-4" };
34
34
  const _hoisted_14 = {
35
35
  key: 0,
36
- class: "text-4xl sm:text-5xl xl:text-6xl font-bold tracking-tight text-gray-900 dark:text-white"
36
+ class: "text-4xl sm:text-5xl xl:text-6xl font-bold tracking-tight"
37
37
  };
38
38
  const _hoisted_15 = {
39
39
  key: 1,
40
- class: "mt-4 text-xl text-gray-600 dark:text-white"
40
+ class: "mt-4 text-xl"
41
41
  };
42
42
  const _hoisted_16 = { class: "mt-4" };
43
43
  const _hoisted_17 = { class: "basis-1/2" };
@@ -1 +1 @@
1
- {"version":3,"file":"EpHeader.vue.js","sources":["../../../src/components/signages/EpHeader.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { toRefs, computed } from \"vue\";\nimport { mdiCast } from \"@mdi/js\";\nimport { mdiTimerOutline } from \"@mdi/js\";\nimport { mdiChairSchool } from \"@mdi/js\";\nimport { mdiChevronDown } from \"@mdi/js\";\nimport SvgFilter from \"~/components/tools/SvgFilter.vue\";\nimport EpIcon from \"~/components/basics/EpIcon.vue\";\nimport EpChip from \"~/components/basics/EpChip.vue\";\nimport type { EpHeaderProps } from \"~/types/signages/EpHeader\";\n\nconst props = withDefaults(defineProps<EpHeaderProps>(), {\n title: null,\n icon: null,\n src: null,\n big: false,\n synchrone: false,\n hideImg: false,\n duration: null,\n assessment: null,\n labels: () => {\n return {\n synchrone: \"Synchrone\",\n formatif: \"Formatif\",\n };\n },\n textBg: true,\n type: \"imgBg\",\n titlePosition: \"center\",\n vAlign: \"items-center\",\n hAlign: \"justify-center\",\n});\n\nconst bgTextFit = \"w-8/12\"; // ''\n\nconst styles = computed(() => {\n return ` \n\tflex\n\tflex-col\n\toverflow-hidden \n\tw-full \n\tabsolute\n\t${props.big ? \"min-h-screen\" : \"h-96\"}\n\tbg-cover\n\tbg-center`;\n});\n\nconst bgImg = computed(() => {\n if (props.src) {\n return props.src;\n }\n return `https://live.staticflickr.com/1757/42677241511_a350206ac2_b.jpg`;\n});\n\nconst emit = defineEmits<{\n (e: \"clicked\"): void;\n}>();\n\nconst clickScroll = (): void => {\n emit(\"clicked\");\n};\n\nconst { title, headerImgColor, big } = toRefs(props);\n</script>\n\n<template>\n <header\n v-if=\"type === 'imgBg'\"\n :class=\"`${\n big ? 'h-screen ' : 'h-96'\n } items-center overflow-hidden relative `\"\n ref=\"el\"\n >\n <div\n :class=\"styles\"\n :style=\"`background-image:url('${bgImg}'); filter:url(#${headerImgColor});`\"\n />\n\n <div :class=\"`relative ${big ? 'mb-36' : ''} h-full items-end`\">\n <div class=\"flex md:justify-end justify-center pt-5\">\n <EpChip v-if=\"synchrone\" :prependIcon=\"mdiCast\" size=\"small\">{{\n labels.synchrone\n }}</EpChip>\n <EpChip v-if=\"duration\" :prependIcon=\"mdiTimerOutline\" size=\"small\">\n {{ duration }}</EpChip\n >\n <EpChip v-if=\"assessment\" :prependIcon=\"mdiChairSchool\" size=\"small\">{{\n labels.formatif\n }}</EpChip>\n </div>\n <div :class=\"`${vAlign} ${hAlign} flex w-full grow h-96 `\">\n <div :class=\"`${bgTextFit}`\">\n <div\n v-if=\"title || subtitle\"\n :class=\"`${\n textBg\n ? 'inline-block backdrop-blur-lg backdrop-brightness-65 backdrop-opacity-95 rounded'\n : ''\n } p-4 md:items-center`\"\n >\n <div class=\"text-center md:text-left\">\n <h1\n v-if=\"title\"\n class=\"text-3xl font-medium text-white sm:text-3xl\"\n >\n {{ title }}\n </h1>\n <h2\n v-if=\"subtitle\"\n class=\"max-w-xl mt-4 text-2xl text-white\"\n >\n {{ subtitle }}\n </h2>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div v-if=\"props.big\" class=\"animate-bounce absolute bottom-10 left-1/2\">\n <div\n class=\"mx-auto w-12 rounded-full p-2\"\n @click=\"clickScroll\"\n >\n <EpIcon :iconPath=\"mdiChevronDown\" size=\"32\" />\n </div>\n </div>\n <SvgFilter></SvgFilter>\n </header>\n\n <header v-else-if=\"type === 'simple'\">\n <div class=\"text-center md:text-left mt-16 mb-32\">\n <h1\n v-if=\"title\"\n class=\"text-4xl font-bold tracking-tight\"\n >\n {{ title }}\n </h1>\n <h2 v-if=\"subtitle\" class=\"w-1/2 mt-4\">\n {{ subtitle }}\n </h2>\n </div>\n </header>\n\n <header v-else=\"type === 'sideBy'\">\n <div class=\"flex flex-col-reverse lg:flex-row items-stretch\">\n <div class=\"basis-1/2 bg-surface-2 lg:min-h-48 p-4\">\n <div class=\"flex justify-start pt-0 mb-4\">\n <EpChip v-if=\"synchrone\" :prependIcon=\"mdiCast\" size=\"small\">{{\n labels.synchrone\n }}</EpChip>\n <EpChip v-if=\"duration\" :prependIcon=\"mdiTimerOutline\" size=\"small\">\n {{ duration }}</EpChip\n >\n <EpChip\n v-if=\"assessment\"\n :prependIcon=\"mdiChairSchool\"\n size=\"small\"\n >{{ labels.formatif }}</EpChip\n >\n </div>\n <div :class=\"`${vAlign} flex h-full pb-8 max-w-3xl`\">\n <div>\n <h1\n v-if=\"title\"\n class=\"text-4xl sm:text-5xl xl:text-6xl font-bold tracking-tight text-gray-900 dark:text-white\"\n >\n {{ title }}\n </h1>\n <p\n v-if=\"subtitle\"\n class=\"mt-4 text-xl text-gray-600 dark:text-white\"\n >\n {{ subtitle }}\n </p>\n <div class=\"mt-4\">\n <slot />\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"basis-1/2\">\n <img\n :src=\"bgImg\"\n alt=\"\"\n class=\"h-32 lg:h-full size-full object-cover\"\n :style=\"`filter:url(#${headerImgColor});`\"\n />\n </div>\n </div>\n </header>\n</template>\n"],"names":["type","_createElementBlock","_normalizeClass","_unref","_createElementVNode","_normalizeStyle","synchrone","_createBlock","EpChip","labels","duration","assessment","vAlign","hAlign","subtitle","textBg","_toDisplayString","_openBlock","_createVNode","EpIcon","_renderSlot"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAtBlB,UAAM,QAAQ;AAwBd,UAAM,SAAS,SAAS,MAAM;AAC5B,aAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,G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cAAA;iCAAQ,MAE3D;AAAA,kBADAM,gBAAAA,gBAAAA,KAAAA,OAAO,SAAS,GAAA,CAAA;AAAA,gBAAA;;;cAEJC,KAAAA,yBAAdH,YAECC,aAAA;AAAA;gBAFwB,aAAaL,MAAA,eAAA;AAAA,gBAAiB,MAAK;AAAA,cAAA;iCAC1D,MAAc;AAAA,kDAAXO,KAAAA,QAAQ,GAAA,CAAA;AAAA,gBAAA;;;cAGLC,KAAAA,2BADRJ,YAKCC,aAAA;AAAA;gBAHE,aAAaL,MAAA,cAAA;AAAA,gBACd,MAAK;AAAA,cAAA;iCACJ,MAAqB;AAAA,kBAAlBM,gBAAAA,gBAAAA,KAAAA,OAAO,QAAQ,GAAA,CAAA;AAAA,gBAAA;;;;YAGvBL,mBAkBM,OAAA;AAAA,cAlBA,yBAAUQ,KAAAA,MAAM,6BAAA;AAAA,YAAA;cACpBR,mBAgBM,OAAA,MAAA;AAAA,gBAdID,MAAA,KAAA,kBADRF,mBAKK,MALL,aAKKe,gBADAb,MAAA,KAAA,CAAK,GAAA,CAAA;gBAGFW,KAAAA,yBADRb,mBAKI,KALJ,aAKIe,gBADCF,KAAAA,QAAQ,GAAA,CAAA;gBAEbV,mBAEM,OAFN,aAEM;AAAA,kBADJgB,WAAQ,KAAA,QAAA,SAAA;AAAA,gBAAA;;;;UAMhBhB,mBAOM,OAPN,aAOM;AAAA,YANJA,mBAKE,OAAA;AAAA,cAJC,KAAK,MAAA;AAAA,cACN,KAAI;AAAA,cACJ,OAAM;AAAA,cACL,qCAAsBD,MAAA,cAAA,CAAc,IAAA;AAAA,YAAA;;;;;;;"}
1
+ {"version":3,"file":"EpHeader.vue.js","sources":["../../../src/components/signages/EpHeader.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { toRefs, computed } from \"vue\";\nimport { mdiCast } from \"@mdi/js\";\nimport { mdiTimerOutline } from \"@mdi/js\";\nimport { mdiChairSchool } from \"@mdi/js\";\nimport { mdiChevronDown } from \"@mdi/js\";\nimport SvgFilter from \"~/components/tools/SvgFilter.vue\";\nimport EpIcon from \"~/components/basics/EpIcon.vue\";\nimport EpChip from \"~/components/basics/EpChip.vue\";\nimport type { EpHeaderProps } from \"~/types/signages/EpHeader\";\n\nconst props = withDefaults(defineProps<EpHeaderProps>(), {\n title: null,\n icon: null,\n src: null,\n big: false,\n synchrone: false,\n hideImg: false,\n duration: null,\n assessment: null,\n labels: () => {\n return {\n synchrone: \"Synchrone\",\n formatif: \"Formatif\",\n };\n },\n textBg: true,\n type: \"imgBg\",\n titlePosition: \"center\",\n vAlign: \"items-center\",\n hAlign: \"justify-center\",\n});\n\nconst bgTextFit = \"w-8/12\"; // ''\n\nconst styles = computed(() => {\n return ` \n\tflex\n\tflex-col\n\toverflow-hidden \n\tw-full \n\tabsolute\n\t${props.big ? \"min-h-screen\" : \"h-96\"}\n\tbg-cover\n\tbg-center`;\n});\n\nconst bgImg = computed(() => {\n if (props.src) {\n return props.src;\n }\n return `https://live.staticflickr.com/1757/42677241511_a350206ac2_b.jpg`;\n});\n\nconst emit = defineEmits<{\n (e: \"clicked\"): void;\n}>();\n\nconst clickScroll = (): void => {\n emit(\"clicked\");\n};\n\nconst { title, headerImgColor, big } = toRefs(props);\n</script>\n\n<template>\n <header\n v-if=\"type === 'imgBg'\"\n :class=\"`${\n big ? 'h-screen ' : 'h-96'\n } items-center overflow-hidden relative `\"\n ref=\"el\"\n >\n <div\n :class=\"styles\"\n :style=\"`background-image:url('${bgImg}'); filter:url(#${headerImgColor});`\"\n />\n\n <div :class=\"`relative ${big ? 'mb-36' : ''} h-full items-end`\">\n <div class=\"flex md:justify-end justify-center pt-5\">\n <EpChip v-if=\"synchrone\" :prependIcon=\"mdiCast\" size=\"small\">{{\n labels.synchrone\n }}</EpChip>\n <EpChip v-if=\"duration\" :prependIcon=\"mdiTimerOutline\" size=\"small\">\n {{ duration }}</EpChip\n >\n <EpChip v-if=\"assessment\" :prependIcon=\"mdiChairSchool\" size=\"small\">{{\n labels.formatif\n }}</EpChip>\n </div>\n <div :class=\"`${vAlign} ${hAlign} flex w-full grow h-96 `\">\n <div :class=\"`${bgTextFit}`\">\n <div\n v-if=\"title || subtitle\"\n :class=\"`${\n textBg\n ? 'inline-block backdrop-blur-lg backdrop-brightness-65 backdrop-opacity-95 rounded'\n : ''\n } p-4 md:items-center`\"\n >\n <div class=\"text-center md:text-left\">\n <h1\n v-if=\"title\"\n class=\"text-3xl font-medium text-white sm:text-3xl\"\n >\n {{ title }}\n </h1>\n <h2\n v-if=\"subtitle\"\n class=\"max-w-xl mt-4 text-2xl text-white\"\n >\n {{ subtitle }}\n </h2>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div v-if=\"props.big\" class=\"animate-bounce absolute bottom-10 left-1/2\">\n <div\n class=\"mx-auto w-12 rounded-full p-2\"\n @click=\"clickScroll\"\n >\n <EpIcon :iconPath=\"mdiChevronDown\" size=\"32\" />\n </div>\n </div>\n <SvgFilter></SvgFilter>\n </header>\n\n <header v-else-if=\"type === 'simple'\">\n <div class=\"text-center md:text-left mt-16 mb-32\">\n <h1\n v-if=\"title\"\n class=\"text-4xl font-bold tracking-tight\"\n >\n {{ title }}\n </h1>\n <h2 v-if=\"subtitle\" class=\"w-1/2 mt-4\">\n {{ subtitle }}\n </h2>\n </div>\n </header>\n\n <header v-else=\"type === 'sideBy'\">\n <div class=\"flex flex-col-reverse lg:flex-row items-stretch\">\n <div class=\"basis-1/2 bg-surface-2 dark:bg-surface-2-dark lg:min-h-48 p-4\">\n <div class=\"flex justify-start pt-0 mb-4\">\n <EpChip v-if=\"synchrone\" :prependIcon=\"mdiCast\" size=\"small\">{{\n labels.synchrone\n }}</EpChip>\n <EpChip v-if=\"duration\" :prependIcon=\"mdiTimerOutline\" size=\"small\">\n {{ duration }}</EpChip\n >\n <EpChip\n v-if=\"assessment\"\n :prependIcon=\"mdiChairSchool\"\n size=\"small\"\n >{{ labels.formatif }}</EpChip\n >\n </div>\n <div :class=\"`${vAlign} flex h-full pb-8 max-w-3xl`\">\n <div>\n <h1\n v-if=\"title\"\n class=\"text-4xl sm:text-5xl xl:text-6xl font-bold tracking-tight\"\n >\n {{ title }}\n </h1>\n <p\n v-if=\"subtitle\"\n class=\"mt-4 text-xl\"\n >\n {{ subtitle }}\n </p>\n <div class=\"mt-4\">\n <slot />\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"basis-1/2\">\n <img\n :src=\"bgImg\"\n alt=\"\"\n class=\"h-32 lg:h-full size-full object-cover\"\n :style=\"`filter:url(#${headerImgColor});`\"\n />\n </div>\n </div>\n </header>\n</template>\n"],"names":["type","_createElementBlock","_normalizeClass","_unref","_createElementVNode","_normalizeStyle","synchrone","_createBlock","EpChip","labels","duration","assessment","vAlign","hAlign","subtitle","textBg","_toDisplayString","_openBlock","_createVNode","EpIcon","_renderSlot"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAtBlB,UAAM,QAAQ;AAwBd,UAAM,SAAS,SAAS,MAAM;AAC5B,aAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAMN,MAAM,MAAM,iBAAiB,MAAM;AAAA;AAAA;AAAA,IAGtC,CAAC;AAED,UAAM,QAAQ,SAAS,MAAM;AAC3B,UAAI,MAAM,KAAK;AACb,eAAO,MAAM;AAAA,MACf;AACA,aAAO;AAAA,IACT,CAAC;AAED,UAAM,OAAO;AAIb,UAAM,cAAc,MAAY;AAC9B,WAAK,SAAS;AAAA,IAChB;AAEA,UAAM,EAAE,OAAO,gBAAgB,IAAA,IAAQ,OAAO,KAAK;;aAKzCA,KAAAA,SAAI,wBADZC,mBA8DS,UAAA;AAAA;QA5DN,OAAKC,eAAA,GAAYC,MAAA,GAAA,IAAG,cAAA;QAGrB,KAAI;AAAA,MAAA;QAEJC,mBAGE,OAAA;AAAA,UAFC,sBAAO,OAAA,KAAM;AAAA,UACb,OAAKC,eAAA,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UQ,KAAAA,MAAM,6BAAA;AAAA,YAAA;cACpBR,mBAgBM,OAAA,MAAA;AAAA,gBAdID,MAAA,KAAA,kBADRF,mBAKK,MALL,aAKKe,gBADAb,MAAA,KAAA,CAAK,GAAA,CAAA;gBAGFW,KAAAA,yBADRb,mBAKI,KALJ,aAKIe,gBADCF,KAAAA,QAAQ,GAAA,CAAA;gBAEbV,mBAEM,OAFN,aAEM;AAAA,kBADJgB,WAAQ,KAAA,QAAA,SAAA;AAAA,gBAAA;;;;UAMhBhB,mBAOM,OAPN,aAOM;AAAA,YANJA,mBAKE,OAAA;AAAA,cAJC,KAAK,MAAA;AAAA,cACN,KAAI;AAAA,cACJ,OAAM;AAAA,cACL,qCAAsBD,MAAA,cAAA,CAAc,IAAA;AAAA,YAAA;;;;;;;"}
@@ -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,58 +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.vue.js";
7
- const _hoisted_1 = { class: "flex justify-end" };
8
- const _sfc_main = /* @__PURE__ */ defineComponent({
9
- __name: "Details",
10
- props: {
11
- title: { default: "Voir détails" },
12
- content: {},
13
- labelClose: { default: "Fermer" },
14
- media: {}
15
- },
16
- setup(__props) {
17
- const showModal = ref(false);
18
- return (_ctx, _cache) => {
19
- return openBlock(), createElementBlock("div", {
20
- class: "cursor-pointer rounded ep-bg-primary ep-hover-bg-primary ep-btn-text-primary ep-hover-btn-text-primary py-2 px-4 flex flex-col items-center",
21
- onClick: _cache[2] || (_cache[2] = ($event) => showModal.value = true)
22
- }, [
23
- createVNode(_sfc_main$1, {
24
- modelValue: showModal.value,
25
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => showModal.value = $event),
26
- title: _ctx.content
27
- }, {
28
- default: withCtx(() => [
29
- createVNode(_sfc_main$2, {
30
- text: _ctx.title,
31
- media: _ctx.media,
32
- "text-left": ""
33
- }, null, 8, ["text", "media"]),
34
- createVNode(_sfc_main$3),
35
- createElementVNode("div", _hoisted_1, [
36
- createVNode(_sfc_main$4, {
37
- type: "error",
38
- rounded: "",
39
- size: "small",
40
- onClick: _cache[0] || (_cache[0] = ($event) => showModal.value = false)
41
- }, {
42
- default: withCtx(() => [
43
- createTextVNode(toDisplayString(_ctx.labelClose), 1)
44
- ]),
45
- _: 1
46
- })
47
- ])
48
- ]),
49
- _: 1
50
- }, 8, ["modelValue", "title"]),
51
- createElementVNode("p", null, toDisplayString(_ctx.title), 1)
52
- ]);
53
- };
54
- }
55
- });
1
+ import _sfc_main from "./Details.vue2.js";
56
2
  export {
57
3
  _sfc_main as default
58
4
  };
@@ -1 +1 @@
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 ep-bg-primary ep-hover-bg-primary ep-btn-text-primary ep-hover-btn-text-primary py-2 px-4 flex flex-col items-center\"\n @click=\"showModal = true\"\n >\n <EpModal v-model=\"showModal\" :title=\"content\">\n <TextMedia :text=\"title\" :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>{{ title }}</p>\n </div>\n</template>\n"],"names":["_createElementBlock","_createVNode","EpModal","content","TextMedia","title","media","EpDivider","_createElementVNode","EpBtn","labelClose"],"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,MAAoD;AAAA,YAApDF,YAAoDG,aAAA;AAAA,cAAxC,MAAMC,KAAAA;AAAAA,cAAQ,OAAOC,KAAAA;AAAAA,cAAO,aAAA;AAAA,YAAA;YACxCL,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,mBAAkB,2BAAZH,KAAAA,KAAK,GAAA,CAAA;AAAA,MAAA;;;;"}
1
+ {"version":3,"file":"Details.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}