admins-components 9.0.8 → 9.0.10

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 (82) hide show
  1. package/dist/admins-components.js +31 -29
  2. package/dist/admins-components100.js +250 -25
  3. package/dist/admins-components101.js +26 -27
  4. package/dist/admins-components102.js +25 -169
  5. package/dist/admins-components103.js +165 -61
  6. package/dist/admins-components104.js +61 -60
  7. package/dist/admins-components105.js +65 -28
  8. package/dist/admins-components106.js +28 -14
  9. package/dist/admins-components107.js +15 -26
  10. package/dist/admins-components108.js +26 -8
  11. package/dist/admins-components109.js +9 -4
  12. package/dist/admins-components110.js +4 -3
  13. package/dist/admins-components111.js +2 -2
  14. package/dist/admins-components112.js +3 -21
  15. package/dist/admins-components113.js +21 -14
  16. package/dist/admins-components114.js +14 -8
  17. package/dist/admins-components115.js +8 -13
  18. package/dist/admins-components116.js +11 -24
  19. package/dist/admins-components117.js +24 -81
  20. package/dist/admins-components118.js +82 -10
  21. package/dist/admins-components119.js +10 -4
  22. package/dist/admins-components120.js +5 -8
  23. package/dist/admins-components121.js +7 -6
  24. package/dist/admins-components122.js +6 -5
  25. package/dist/admins-components123.js +4 -13
  26. package/dist/admins-components124.js +11 -9
  27. package/dist/admins-components125.js +13 -30
  28. package/dist/admins-components126.js +30 -4
  29. package/dist/admins-components127.js +4 -29
  30. package/dist/admins-components128.js +29 -5
  31. package/dist/admins-components129.js +3 -3
  32. package/dist/admins-components13.js +1 -1
  33. package/dist/admins-components130.js +4 -7
  34. package/dist/admins-components131.js +7 -73
  35. package/dist/admins-components132.js +71 -26
  36. package/dist/admins-components133.js +27 -57
  37. package/dist/admins-components134.js +57 -22
  38. package/dist/admins-components135.js +21 -47
  39. package/dist/admins-components136.js +48 -29
  40. package/dist/admins-components137.js +31 -3
  41. package/dist/admins-components138.js +3 -179
  42. package/dist/admins-components139.js +176 -43
  43. package/dist/admins-components140.js +44 -35
  44. package/dist/admins-components141.js +34 -43
  45. package/dist/admins-components142.js +42 -137
  46. package/dist/admins-components143.js +134 -51
  47. package/dist/admins-components144.js +58 -7
  48. package/dist/admins-components145.js +6 -5
  49. package/dist/admins-components146.js +6 -76
  50. package/dist/admins-components147.js +76 -29
  51. package/dist/admins-components148.js +29 -1931
  52. package/dist/admins-components149.js +1748 -24628
  53. package/dist/admins-components15.js +9 -10
  54. package/dist/admins-components150.js +24810 -8
  55. package/dist/admins-components151.js +9 -7
  56. package/dist/admins-components152.js +7 -142
  57. package/dist/admins-components153.js +141 -8
  58. package/dist/admins-components154.js +3 -3
  59. package/dist/admins-components155.js +10 -0
  60. package/dist/admins-components157.js +161 -44
  61. package/dist/admins-components158.js +50 -8
  62. package/dist/admins-components159.js +8 -49
  63. package/dist/admins-components160.js +50 -6
  64. package/dist/admins-components161.js +6 -80
  65. package/dist/admins-components162.js +70 -48
  66. package/dist/admins-components163.js +30 -31
  67. package/dist/admins-components164.js +58 -8
  68. package/dist/admins-components165.js +8 -51
  69. package/dist/admins-components166.js +51 -8
  70. package/dist/admins-components167.js +10 -0
  71. package/dist/{admins-components168.js → admins-components169.js} +3 -3
  72. package/dist/admins-components18.js +90 -91
  73. package/dist/admins-components20.js +40 -40
  74. package/dist/admins-components77.js +4 -2
  75. package/dist/admins-components78.js +2 -2
  76. package/dist/admins-components87.js +1 -1
  77. package/dist/admins-components95.js +3 -3
  78. package/dist/admins-components98.js +19 -6
  79. package/dist/admins-components99.js +5 -250
  80. package/dist/src/index.d.ts +2 -0
  81. package/package.json +1 -1
  82. package/dist/admins-components156.js +0 -169
@@ -1,51 +1,10 @@
1
- import e from "./admins-components43.js";
2
- import { defineElement as t } from "./admins-components149.js";
3
- import n from "./admins-components151.js";
4
- import { ipeConfig as r } from "./admins-components154.js";
5
- import { eaoeConfig as i } from "./admins-components158.js";
6
- import { createBlock as a, createSlots as o, createVNode as s, openBlock as c, renderList as l, renderSlot as u, resolveComponent as d, resolveDynamicComponent as f, withCtx as p } from "vue";
7
- //#region src/vueformelements/ExternalArticleOfferElement.vue
8
- var m = t({
9
- name: "ExternalArticleOfferElement",
10
- components: { ExternalArticleOffer: e },
11
- setup(e, t) {
12
- let { value: n } = t.element;
13
- return {
14
- ipeConfig: r,
15
- eaoeConfig: i,
16
- value: n
17
- };
18
- }
19
- });
20
- function h(e, t, n, r, i, m) {
21
- let h = d("ExternalArticleOffer"), g = d("ElementLayout");
22
- return c(), a(g, null, o({
23
- element: p(() => [s(h, {
24
- modelValue: e.value,
25
- "onUpdate:modelValue": t[0] ||= (t) => e.value = t,
26
- "article-editor-url": e.ipeConfig.articleEditorUrl,
27
- environment: e.ipeConfig.environment,
28
- "search-image-widget-url": e.ipeConfig.searchImageWidgetUrl,
29
- "image-base-url": e.ipeConfig.imageBaseUrl,
30
- "image-view-id": e.ipeConfig.imageViewId,
31
- formats: e.eaoeConfig.formats,
32
- "on-article-url-changed": e.eaoeConfig.onArticleUrlChanged
33
- }, null, 8, [
34
- "modelValue",
35
- "article-editor-url",
36
- "environment",
37
- "search-image-widget-url",
38
- "image-base-url",
39
- "image-view-id",
40
- "formats",
41
- "on-article-url-changed"
42
- ])]),
43
- _: 2
44
- }, [l(e.elementSlots, (t, n) => ({
45
- name: n,
46
- fn: p(() => [u(e.$slots, n, { el$: e.el$ }, () => [(c(), a(f(t), { el$: e.el$ }, null, 8, ["el$"]))])])
47
- }))]), 1024);
1
+ //#region src/vueformelements/config/ExternalArticleOfferElementConfig.ts
2
+ var e = window.config?.externalArticleOfferElement || {};
3
+ function t(t) {
4
+ return e = {
5
+ ...e,
6
+ ...t
7
+ }, e;
48
8
  }
49
- var g = /* @__PURE__ */ n(m, [["render", h]]);
50
9
  //#endregion
51
- export { g as default };
10
+ export { t as configureExternalArticleOfferElement, e as eaoeConfig };
@@ -1,7 +1,51 @@
1
- //#region src/vueformelements/config/GalleryImageSelectorElementConfig.ts
2
- var e = window.config?.galleryImageSelector || {}, t = (t) => (e = {
3
- ...e,
4
- ...t
5
- }, e);
1
+ import e from "./admins-components43.js";
2
+ import { defineElement as t } from "./admins-components150.js";
3
+ import n from "./admins-components152.js";
4
+ import { ipeConfig as r } from "./admins-components155.js";
5
+ import { eaoeConfig as i } from "./admins-components159.js";
6
+ import { createBlock as a, createSlots as o, createVNode as s, openBlock as c, renderList as l, renderSlot as u, resolveComponent as d, resolveDynamicComponent as f, withCtx as p } from "vue";
7
+ //#region src/vueformelements/ExternalArticleOfferElement.vue
8
+ var m = t({
9
+ name: "ExternalArticleOfferElement",
10
+ components: { ExternalArticleOffer: e },
11
+ setup(e, t) {
12
+ let { value: n } = t.element;
13
+ return {
14
+ ipeConfig: r,
15
+ eaoeConfig: i,
16
+ value: n
17
+ };
18
+ }
19
+ });
20
+ function h(e, t, n, r, i, m) {
21
+ let h = d("ExternalArticleOffer"), g = d("ElementLayout");
22
+ return c(), a(g, null, o({
23
+ element: p(() => [s(h, {
24
+ modelValue: e.value,
25
+ "onUpdate:modelValue": t[0] ||= (t) => e.value = t,
26
+ "article-editor-url": e.ipeConfig.articleEditorUrl,
27
+ environment: e.ipeConfig.environment,
28
+ "search-image-widget-url": e.ipeConfig.searchImageWidgetUrl,
29
+ "image-base-url": e.ipeConfig.imageBaseUrl,
30
+ "image-view-id": e.ipeConfig.imageViewId,
31
+ formats: e.eaoeConfig.formats,
32
+ "on-article-url-changed": e.eaoeConfig.onArticleUrlChanged
33
+ }, null, 8, [
34
+ "modelValue",
35
+ "article-editor-url",
36
+ "environment",
37
+ "search-image-widget-url",
38
+ "image-base-url",
39
+ "image-view-id",
40
+ "formats",
41
+ "on-article-url-changed"
42
+ ])]),
43
+ _: 2
44
+ }, [l(e.elementSlots, (t, n) => ({
45
+ name: n,
46
+ fn: p(() => [u(e.$slots, n, { el$: e.el$ }, () => [(c(), a(f(t), { el$: e.el$ }, null, 8, ["el$"]))])])
47
+ }))]), 1024);
48
+ }
49
+ var g = /* @__PURE__ */ n(m, [["render", h]]);
6
50
  //#endregion
7
- export { t as configureGalleryImageSelectorElement, e as gisConfig };
51
+ export { g as default };
@@ -1,81 +1,7 @@
1
- import { defineElement as e } from "./admins-components149.js";
2
- import t from "./admins-components151.js";
3
- import { gisConfig as n } from "./admins-components160.js";
4
- import { createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createSlots as s, openBlock as c, ref as l, renderList as u, renderSlot as d, resolveComponent as f, resolveDynamicComponent as p, watch as m, withCtx as h } from "vue";
5
- //#region src/vueformelements/GalleryImageSelectorElement.vue
6
- var g = e({
7
- name: "GalleryImageSelectorElement",
8
- setup(e, t) {
9
- let { value: r } = t.element, i = l([]), a = (e) => {
10
- r.value.activeImageIndex = 0, r.value.galleryId = e.target.value, n.onFetchGallery(e.target.value, (e) => {
11
- i.value = e.items || [], c();
12
- });
13
- };
14
- m(() => r.value, (e, t) => {
15
- !e || e?.galleryId === t?.galleryId || n.onFetchGallery(e?.galleryId, (e) => {
16
- i.value = e.items || [], c();
17
- });
18
- }, {
19
- immediate: !0,
20
- deep: !0
21
- });
22
- let o = (e) => {
23
- r.value.activeImageIndex = e.target.value, c();
24
- }, s = l(), c = () => {
25
- if (i.value && r.value.activeImageIndex >= 0) {
26
- s.value = i.value[r.value.activeImageIndex]?.url;
27
- return;
28
- }
29
- s.value = null;
30
- };
31
- return {
32
- onGalleryIdChanged: a,
33
- onActiveIndexChanged: o,
34
- imageUrl: s,
35
- value: r
36
- };
37
- }
38
- }), _ = { class: "ac-component" }, v = { key: 0 }, y = ["src"], b = { key: 1 }, x = { class: "c-input-row" }, S = ["value"], C = { class: "c-input-row" }, w = ["value"];
39
- function T(e, t, n, l, m, g) {
40
- let T = f("ElementLayout");
41
- return c(), r(T, null, s({ _: 2 }, [e.value ? {
42
- name: "element",
43
- fn: h(() => [o("div", _, [
44
- e.imageUrl ? (c(), a("div", v, [o("img", {
45
- class: "gallery__preview",
46
- alt: "",
47
- src: e.imageUrl
48
- }, null, 8, y)])) : i("", !0),
49
- e.imageUrl ? i("", !0) : (c(), a("div", b, [...t[2] ||= [o("p", { class: "gallery__preview-empty" }, "Nincs kép kiválasztva!", -1)]])),
50
- o("div", null, [t[3] ||= o("label", {
51
- for: "galleryId",
52
- class: "c-label"
53
- }, "Galéria azonosító", -1), o("div", x, [o("input", {
54
- type: "text",
55
- id: "galleryId",
56
- placeholder: "Galéria azonosító",
57
- class: "c-input",
58
- value: e.value.galleryId,
59
- onInput: t[0] ||= (t) => e.onGalleryIdChanged(t)
60
- }, null, 40, S)])]),
61
- o("div", null, [t[4] ||= o("label", {
62
- for: "activeImageIndex",
63
- class: "c-label"
64
- }, "Aktív kép index", -1), o("div", C, [o("input", {
65
- type: "number",
66
- id: "activeImageIndex",
67
- placeholder: "Aktív kép index",
68
- class: "c-input",
69
- value: e.value.activeImageIndex,
70
- onInput: t[1] ||= (t) => e.onActiveIndexChanged(t)
71
- }, null, 40, w)])])
72
- ])]),
73
- key: "0"
74
- } : void 0, u(e.elementSlots, (t, n) => ({
75
- name: n,
76
- fn: h(() => [d(e.$slots, n, { el$: e.el$ }, () => [(c(), r(p(t), { el$: e.el$ }, null, 8, ["el$"]))])])
77
- }))]), 1024);
78
- }
79
- var E = /* @__PURE__ */ t(g, [["render", T]]);
1
+ //#region src/vueformelements/config/GalleryImageSelectorElementConfig.ts
2
+ var e = window.config?.galleryImageSelector || {}, t = (t) => (e = {
3
+ ...e,
4
+ ...t
5
+ }, e);
80
6
  //#endregion
81
- export { E as default };
7
+ export { t as configureGalleryImageSelectorElement, e as gisConfig };
@@ -1,59 +1,81 @@
1
- import e from "./admins-components41.js";
2
- import { defineElement as t } from "./admins-components149.js";
3
- import n from "./admins-components151.js";
4
- import { ipeConfig as r } from "./admins-components154.js";
5
- import { createBlock as i, createSlots as a, createVNode as o, openBlock as s, ref as c, renderList as l, renderSlot as u, resolveComponent as d, resolveDynamicComponent as f, watch as p, withCtx as m } from "vue";
6
- //#region src/vueformelements/ImagePickerElement.vue
7
- var h = t({
8
- name: "ImagePickerElement",
9
- components: { ImagePicker: e },
1
+ import { defineElement as e } from "./admins-components150.js";
2
+ import t from "./admins-components152.js";
3
+ import { gisConfig as n } from "./admins-components161.js";
4
+ import { createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createSlots as s, openBlock as c, ref as l, renderList as u, renderSlot as d, resolveComponent as f, resolveDynamicComponent as p, watch as m, withCtx as h } from "vue";
5
+ //#region src/vueformelements/GalleryImageSelectorElement.vue
6
+ var g = e({
7
+ name: "GalleryImageSelectorElement",
10
8
  setup(e, t) {
11
- let { value: n } = t.element, i = c({
12
- id: n.value,
13
- source: "",
14
- title: "",
15
- isAdult: !1,
16
- url: ""
17
- });
18
- return p(() => n, (e) => {
19
- i.value.id = e.value;
9
+ let { value: r } = t.element, i = l([]), a = (e) => {
10
+ r.value.activeImageIndex = 0, r.value.galleryId = e.target.value, n.onFetchGallery(e.target.value, (e) => {
11
+ i.value = e.items || [], c();
12
+ });
13
+ };
14
+ m(() => r.value, (e, t) => {
15
+ !e || e?.galleryId === t?.galleryId || n.onFetchGallery(e?.galleryId, (e) => {
16
+ i.value = e.items || [], c();
17
+ });
20
18
  }, {
21
19
  immediate: !0,
22
20
  deep: !0
23
- }), {
24
- ipeConfig: r,
25
- value: n,
26
- model: i
21
+ });
22
+ let o = (e) => {
23
+ r.value.activeImageIndex = e.target.value, c();
24
+ }, s = l(), c = () => {
25
+ if (i.value && r.value.activeImageIndex >= 0) {
26
+ s.value = i.value[r.value.activeImageIndex]?.url;
27
+ return;
28
+ }
29
+ s.value = null;
30
+ };
31
+ return {
32
+ onGalleryIdChanged: a,
33
+ onActiveIndexChanged: o,
34
+ imageUrl: s,
35
+ value: r
27
36
  };
28
37
  }
29
- });
30
- function g(e, t, n, r, c, p) {
31
- let h = d("ImagePicker"), g = d("ElementLayout");
32
- return s(), i(g, null, a({
33
- element: m(() => [o(h, {
34
- modelValue: e.model,
35
- "onUpdate:modelValue": [t[0] ||= (t) => e.model = t, t[1] ||= (t) => e.value = t?.id],
36
- editable: !1,
37
- details: !1,
38
- environment: e.ipeConfig.environment,
39
- articleEditorUrl: e.ipeConfig.articleEditorUrl,
40
- searchImageWidgetUrl: e.ipeConfig.searchImageWidgetUrl,
41
- imageBaseUrl: e.ipeConfig.imageBaseUrl,
42
- imageViewId: e.ipeConfig.imageViewId
43
- }, null, 8, [
44
- "modelValue",
45
- "environment",
46
- "articleEditorUrl",
47
- "searchImageWidgetUrl",
48
- "imageBaseUrl",
49
- "imageViewId"
38
+ }), _ = { class: "ac-component" }, v = { key: 0 }, y = ["src"], b = { key: 1 }, x = { class: "c-input-row" }, S = ["value"], C = { class: "c-input-row" }, w = ["value"];
39
+ function T(e, t, n, l, m, g) {
40
+ let T = f("ElementLayout");
41
+ return c(), r(T, null, s({ _: 2 }, [e.value ? {
42
+ name: "element",
43
+ fn: h(() => [o("div", _, [
44
+ e.imageUrl ? (c(), a("div", v, [o("img", {
45
+ class: "gallery__preview",
46
+ alt: "",
47
+ src: e.imageUrl
48
+ }, null, 8, y)])) : i("", !0),
49
+ e.imageUrl ? i("", !0) : (c(), a("div", b, [...t[2] ||= [o("p", { class: "gallery__preview-empty" }, "Nincs kép kiválasztva!", -1)]])),
50
+ o("div", null, [t[3] ||= o("label", {
51
+ for: "galleryId",
52
+ class: "c-label"
53
+ }, "Galéria azonosító", -1), o("div", x, [o("input", {
54
+ type: "text",
55
+ id: "galleryId",
56
+ placeholder: "Galéria azonosító",
57
+ class: "c-input",
58
+ value: e.value.galleryId,
59
+ onInput: t[0] ||= (t) => e.onGalleryIdChanged(t)
60
+ }, null, 40, S)])]),
61
+ o("div", null, [t[4] ||= o("label", {
62
+ for: "activeImageIndex",
63
+ class: "c-label"
64
+ }, "Aktív kép index", -1), o("div", C, [o("input", {
65
+ type: "number",
66
+ id: "activeImageIndex",
67
+ placeholder: "Aktív kép index",
68
+ class: "c-input",
69
+ value: e.value.activeImageIndex,
70
+ onInput: t[1] ||= (t) => e.onActiveIndexChanged(t)
71
+ }, null, 40, w)])])
50
72
  ])]),
51
- _: 2
52
- }, [l(e.elementSlots, (t, n) => ({
73
+ key: "0"
74
+ } : void 0, u(e.elementSlots, (t, n) => ({
53
75
  name: n,
54
- fn: m(() => [u(e.$slots, n, { el$: e.el$ }, () => [(s(), i(f(t), { el$: e.el$ }, null, 8, ["el$"]))])])
76
+ fn: h(() => [d(e.$slots, n, { el$: e.el$ }, () => [(c(), r(p(t), { el$: e.el$ }, null, 8, ["el$"]))])])
55
77
  }))]), 1024);
56
78
  }
57
- var _ = /* @__PURE__ */ n(h, [["render", g]]);
79
+ var E = /* @__PURE__ */ t(g, [["render", T]]);
58
80
  //#endregion
59
- export { _ as default };
81
+ export { E as default };
@@ -1,40 +1,40 @@
1
1
  import e from "./admins-components41.js";
2
- import { defineElement as t } from "./admins-components149.js";
3
- import n from "./admins-components151.js";
4
- import { ipeConfig as r } from "./admins-components154.js";
5
- import { createBlock as i, createSlots as a, createVNode as o, openBlock as s, renderList as c, renderSlot as l, resolveComponent as u, resolveDynamicComponent as d, watch as f, withCtx as p } from "vue";
6
- //#region src/vueformelements/ImagePickerDetailsElement.vue
7
- var m = t({
8
- name: "ImagePickerDetailsElement",
2
+ import { defineElement as t } from "./admins-components150.js";
3
+ import n from "./admins-components152.js";
4
+ import { ipeConfig as r } from "./admins-components155.js";
5
+ import { createBlock as i, createSlots as a, createVNode as o, openBlock as s, ref as c, renderList as l, renderSlot as u, resolveComponent as d, resolveDynamicComponent as f, watch as p, withCtx as m } from "vue";
6
+ //#region src/vueformelements/ImagePickerElement.vue
7
+ var h = t({
8
+ name: "ImagePickerElement",
9
9
  components: { ImagePicker: e },
10
10
  setup(e, t) {
11
- let { value: n } = t.element, i = t.attrs.direction ? t.attrs.direction : "vertical";
12
- return f(() => n, () => {
13
- n.value ||= {
14
- id: "00000000-0000-0000-0000-000000000000",
15
- source: "",
16
- title: "",
17
- isAdult: !1
18
- };
11
+ let { value: n } = t.element, i = c({
12
+ id: n.value,
13
+ source: "",
14
+ title: "",
15
+ isAdult: !1,
16
+ url: ""
17
+ });
18
+ return p(() => n, (e) => {
19
+ i.value.id = e.value;
19
20
  }, {
20
- deep: !0,
21
- immediate: !0
21
+ immediate: !0,
22
+ deep: !0
22
23
  }), {
23
24
  ipeConfig: r,
24
25
  value: n,
25
- direction: i
26
+ model: i
26
27
  };
27
28
  }
28
29
  });
29
- function h(e, t, n, r, f, m) {
30
- let h = u("ImagePicker"), g = u("ElementLayout");
30
+ function g(e, t, n, r, c, p) {
31
+ let h = d("ImagePicker"), g = d("ElementLayout");
31
32
  return s(), i(g, null, a({
32
- element: p(() => [o(h, {
33
- modelValue: e.value,
34
- "onUpdate:modelValue": t[0] ||= (t) => e.value = t,
35
- editable: !0,
36
- details: !0,
37
- direction: e.direction,
33
+ element: m(() => [o(h, {
34
+ modelValue: e.model,
35
+ "onUpdate:modelValue": [t[0] ||= (t) => e.model = t, t[1] ||= (t) => e.value = t?.id],
36
+ editable: !1,
37
+ details: !1,
38
38
  environment: e.ipeConfig.environment,
39
39
  articleEditorUrl: e.ipeConfig.articleEditorUrl,
40
40
  searchImageWidgetUrl: e.ipeConfig.searchImageWidgetUrl,
@@ -42,7 +42,6 @@ function h(e, t, n, r, f, m) {
42
42
  imageViewId: e.ipeConfig.imageViewId
43
43
  }, null, 8, [
44
44
  "modelValue",
45
- "direction",
46
45
  "environment",
47
46
  "articleEditorUrl",
48
47
  "searchImageWidgetUrl",
@@ -50,11 +49,11 @@ function h(e, t, n, r, f, m) {
50
49
  "imageViewId"
51
50
  ])]),
52
51
  _: 2
53
- }, [c(e.elementSlots, (t, n) => ({
52
+ }, [l(e.elementSlots, (t, n) => ({
54
53
  name: n,
55
- fn: p(() => [l(e.$slots, n, { el$: e.el$ }, () => [(s(), i(d(t), { el$: e.el$ }, null, 8, ["el$"]))])])
54
+ fn: m(() => [u(e.$slots, n, { el$: e.el$ }, () => [(s(), i(f(t), { el$: e.el$ }, null, 8, ["el$"]))])])
56
55
  }))]), 1024);
57
56
  }
58
- var g = /* @__PURE__ */ n(m, [["render", h]]);
57
+ var _ = /* @__PURE__ */ n(h, [["render", g]]);
59
58
  //#endregion
60
- export { g as default };
59
+ export { _ as default };
@@ -1,10 +1,60 @@
1
- //#region src/vueformelements/config/InternalArticleOfferElementConfig.ts
2
- var e = window.config?.internalArticleOfferElement || {};
3
- function t(t) {
4
- return e = {
5
- ...e,
6
- ...t
7
- }, e;
1
+ import e from "./admins-components41.js";
2
+ import { defineElement as t } from "./admins-components150.js";
3
+ import n from "./admins-components152.js";
4
+ import { ipeConfig as r } from "./admins-components155.js";
5
+ import { createBlock as i, createSlots as a, createVNode as o, openBlock as s, renderList as c, renderSlot as l, resolveComponent as u, resolveDynamicComponent as d, watch as f, withCtx as p } from "vue";
6
+ //#region src/vueformelements/ImagePickerDetailsElement.vue
7
+ var m = t({
8
+ name: "ImagePickerDetailsElement",
9
+ components: { ImagePicker: e },
10
+ setup(e, t) {
11
+ let { value: n } = t.element, i = t.attrs.direction ? t.attrs.direction : "vertical";
12
+ return f(() => n, () => {
13
+ n.value ||= {
14
+ id: "00000000-0000-0000-0000-000000000000",
15
+ source: "",
16
+ title: "",
17
+ isAdult: !1
18
+ };
19
+ }, {
20
+ deep: !0,
21
+ immediate: !0
22
+ }), {
23
+ ipeConfig: r,
24
+ value: n,
25
+ direction: i
26
+ };
27
+ }
28
+ });
29
+ function h(e, t, n, r, f, m) {
30
+ let h = u("ImagePicker"), g = u("ElementLayout");
31
+ return s(), i(g, null, a({
32
+ element: p(() => [o(h, {
33
+ modelValue: e.value,
34
+ "onUpdate:modelValue": t[0] ||= (t) => e.value = t,
35
+ editable: !0,
36
+ details: !0,
37
+ direction: e.direction,
38
+ environment: e.ipeConfig.environment,
39
+ articleEditorUrl: e.ipeConfig.articleEditorUrl,
40
+ searchImageWidgetUrl: e.ipeConfig.searchImageWidgetUrl,
41
+ imageBaseUrl: e.ipeConfig.imageBaseUrl,
42
+ imageViewId: e.ipeConfig.imageViewId
43
+ }, null, 8, [
44
+ "modelValue",
45
+ "direction",
46
+ "environment",
47
+ "articleEditorUrl",
48
+ "searchImageWidgetUrl",
49
+ "imageBaseUrl",
50
+ "imageViewId"
51
+ ])]),
52
+ _: 2
53
+ }, [c(e.elementSlots, (t, n) => ({
54
+ name: n,
55
+ fn: p(() => [l(e.$slots, n, { el$: e.el$ }, () => [(s(), i(d(t), { el$: e.el$ }, null, 8, ["el$"]))])])
56
+ }))]), 1024);
8
57
  }
58
+ var g = /* @__PURE__ */ n(m, [["render", h]]);
9
59
  //#endregion
10
- export { t as configureInternalArticleOfferElement, e as iaoeConfig };
60
+ export { g as default };
@@ -1,53 +1,10 @@
1
- import e from "./admins-components45.js";
2
- import { defineElement as t } from "./admins-components149.js";
3
- import n from "./admins-components151.js";
4
- import { ipeConfig as r } from "./admins-components154.js";
5
- import { iaoeConfig as i } from "./admins-components164.js";
6
- import { createBlock as a, createSlots as o, createVNode as s, openBlock as c, renderList as l, renderSlot as u, resolveComponent as d, resolveDynamicComponent as f, withCtx as p } from "vue";
7
- //#region src/vueformelements/InternalArticleOfferElement.vue
8
- var m = t({
9
- name: "InternalArticleOfferElement",
10
- components: { InternalArticleOffer: e },
11
- setup(e, t) {
12
- let { value: n } = t.element;
13
- return {
14
- ipeConfig: r,
15
- iaoeConfig: i,
16
- value: n
17
- };
18
- }
19
- });
20
- function h(e, t, n, r, i, m) {
21
- let h = d("InternalArticleOffer"), g = d("ElementLayout");
22
- return c(), a(g, null, o({
23
- element: p(() => [s(h, {
24
- modelValue: e.value,
25
- "onUpdate:modelValue": t[0] ||= (t) => e.value = t,
26
- "show-ids": e.iaoeConfig.showIds,
27
- "search-article-api-url": e.iaoeConfig.searchArticleApiUrl,
28
- "search-article-widget-url": e.iaoeConfig.searchArticleWidgetUrl,
29
- "search-image-widget-url": e.ipeConfig.searchImageWidgetUrl,
30
- "image-base-url": e.ipeConfig.imageBaseUrl,
31
- environment: e.ipeConfig.environment,
32
- "image-view-id": e.ipeConfig.imageViewId,
33
- formats: e.iaoeConfig.formats
34
- }, null, 8, [
35
- "modelValue",
36
- "show-ids",
37
- "search-article-api-url",
38
- "search-article-widget-url",
39
- "search-image-widget-url",
40
- "image-base-url",
41
- "environment",
42
- "image-view-id",
43
- "formats"
44
- ])]),
45
- _: 2
46
- }, [l(e.elementSlots, (t, n) => ({
47
- name: n,
48
- fn: p(() => [u(e.$slots, n, { el$: e.el$ }, () => [(c(), a(f(t), { el$: e.el$ }, null, 8, ["el$"]))])])
49
- }))]), 1024);
1
+ //#region src/vueformelements/config/InternalArticleOfferElementConfig.ts
2
+ var e = window.config?.internalArticleOfferElement || {};
3
+ function t(t) {
4
+ return e = {
5
+ ...e,
6
+ ...t
7
+ }, e;
50
8
  }
51
- var g = /* @__PURE__ */ n(m, [["render", h]]);
52
9
  //#endregion
53
- export { g as default };
10
+ export { t as configureInternalArticleOfferElement, e as iaoeConfig };
@@ -1,10 +1,53 @@
1
- //#region src/vueformelements/config/PartnerPickerElementConfig.ts
2
- var e = window.config?.partnerPicker || {};
3
- function t(t) {
4
- return e = {
5
- ...e,
6
- ...t
7
- }, e;
1
+ import e from "./admins-components45.js";
2
+ import { defineElement as t } from "./admins-components150.js";
3
+ import n from "./admins-components152.js";
4
+ import { ipeConfig as r } from "./admins-components155.js";
5
+ import { iaoeConfig as i } from "./admins-components165.js";
6
+ import { createBlock as a, createSlots as o, createVNode as s, openBlock as c, renderList as l, renderSlot as u, resolveComponent as d, resolveDynamicComponent as f, withCtx as p } from "vue";
7
+ //#region src/vueformelements/InternalArticleOfferElement.vue
8
+ var m = t({
9
+ name: "InternalArticleOfferElement",
10
+ components: { InternalArticleOffer: e },
11
+ setup(e, t) {
12
+ let { value: n } = t.element;
13
+ return {
14
+ ipeConfig: r,
15
+ iaoeConfig: i,
16
+ value: n
17
+ };
18
+ }
19
+ });
20
+ function h(e, t, n, r, i, m) {
21
+ let h = d("InternalArticleOffer"), g = d("ElementLayout");
22
+ return c(), a(g, null, o({
23
+ element: p(() => [s(h, {
24
+ modelValue: e.value,
25
+ "onUpdate:modelValue": t[0] ||= (t) => e.value = t,
26
+ "show-ids": e.iaoeConfig.showIds,
27
+ "search-article-api-url": e.iaoeConfig.searchArticleApiUrl,
28
+ "search-article-widget-url": e.iaoeConfig.searchArticleWidgetUrl,
29
+ "search-image-widget-url": e.ipeConfig.searchImageWidgetUrl,
30
+ "image-base-url": e.ipeConfig.imageBaseUrl,
31
+ environment: e.ipeConfig.environment,
32
+ "image-view-id": e.ipeConfig.imageViewId,
33
+ formats: e.iaoeConfig.formats
34
+ }, null, 8, [
35
+ "modelValue",
36
+ "show-ids",
37
+ "search-article-api-url",
38
+ "search-article-widget-url",
39
+ "search-image-widget-url",
40
+ "image-base-url",
41
+ "environment",
42
+ "image-view-id",
43
+ "formats"
44
+ ])]),
45
+ _: 2
46
+ }, [l(e.elementSlots, (t, n) => ({
47
+ name: n,
48
+ fn: p(() => [u(e.$slots, n, { el$: e.el$ }, () => [(c(), a(f(t), { el$: e.el$ }, null, 8, ["el$"]))])])
49
+ }))]), 1024);
8
50
  }
51
+ var g = /* @__PURE__ */ n(m, [["render", h]]);
9
52
  //#endregion
10
- export { t as configurePartnerPickerElement, e as ppeconfig };
53
+ export { g as default };
@@ -0,0 +1,10 @@
1
+ //#region src/vueformelements/config/PartnerPickerElementConfig.ts
2
+ var e = window.config?.partnerPicker || {};
3
+ function t(t) {
4
+ return e = {
5
+ ...e,
6
+ ...t
7
+ }, e;
8
+ }
9
+ //#endregion
10
+ export { t as configurePartnerPickerElement, e as ppeconfig };
@@ -1,7 +1,7 @@
1
1
  import './src/vueformelements/PartnerPickerElement.vue_vue_type_style_index_0_scoped_64cb4d6e_lang.css';
2
- import { defineElement as e } from "./admins-components149.js";
3
- import t from "./admins-components151.js";
4
- import { ppeconfig as n } from "./admins-components166.js";
2
+ import { defineElement as e } from "./admins-components150.js";
3
+ import t from "./admins-components152.js";
4
+ import { ppeconfig as n } from "./admins-components167.js";
5
5
  /* empty css */
6
6
  import { createBlock as r, createElementVNode as i, createSlots as a, openBlock as o, ref as s, renderList as c, renderSlot as l, resolveComponent as u, resolveDynamicComponent as d, watch as f, withCtx as p } from "vue";
7
7
  //#region src/vueformelements/PartnerPickerElement.vue