x-runtime-lib 0.8.158 → 0.8.159

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 (163) hide show
  1. package/dist/components/element/index.d.ts +1 -1
  2. package/dist/composables/element/piece/index.d.ts +5 -5
  3. package/dist/index.js +1936 -1936
  4. package/dist/{vendor.eam33h89.js → vendor.dwgy5dvz.js} +2 -2
  5. package/package.json +1 -1
  6. package/dist/element/_pkgs/v1/groups/compCommon.d.ts +0 -2
  7. package/dist/element/_pkgs/v1/groups/compScene.d.ts +0 -2
  8. package/dist/element/_pkgs/v1/groups/pageCommon.d.ts +0 -2
  9. package/dist/element/_pkgs/v1/groups/pageScene.d.ts +0 -2
  10. package/dist/element/common/badge/v1/index.d.ts +0 -1
  11. package/dist/element/common/badge/v1/meta.d.ts +0 -2
  12. package/dist/element/common/btn/v1/index.d.ts +0 -1
  13. package/dist/element/common/btn/v1/meta.d.ts +0 -2
  14. package/dist/element/common/btn/v1/spawn.d.ts +0 -2
  15. package/dist/element/common/btnGroup/v1/index.d.ts +0 -1
  16. package/dist/element/common/btnGroup/v1/meta.d.ts +0 -2
  17. package/dist/element/common/btnToggle/v1/index.d.ts +0 -1
  18. package/dist/element/common/btnToggle/v1/meta.d.ts +0 -2
  19. package/dist/element/common/card/v1/index.d.ts +0 -1
  20. package/dist/element/common/card/v1/meta.d.ts +0 -2
  21. package/dist/element/common/card/v1/spawn.d.ts +0 -2
  22. package/dist/element/common/checkbox/v1/index.d.ts +0 -1
  23. package/dist/element/common/checkbox/v1/meta.d.ts +0 -2
  24. package/dist/element/common/chip/v1/index.d.ts +0 -1
  25. package/dist/element/common/chip/v1/meta.d.ts +0 -2
  26. package/dist/element/common/chipGroup/v1/index.d.ts +0 -1
  27. package/dist/element/common/chipGroup/v1/meta.d.ts +0 -2
  28. package/dist/element/common/chipGroup/v1/spawn.d.ts +0 -2
  29. package/dist/element/common/colorPicker/v1/index.d.ts +0 -1
  30. package/dist/element/common/colorPicker/v1/meta.d.ts +0 -2
  31. package/dist/element/common/combobox/v1/index.d.ts +0 -1
  32. package/dist/element/common/combobox/v1/meta.d.ts +0 -2
  33. package/dist/element/common/container/v1/index.d.ts +0 -1
  34. package/dist/element/common/container/v1/meta.d.ts +0 -2
  35. package/dist/element/common/dataTable/v1/index.d.ts +0 -1
  36. package/dist/element/common/dataTable/v1/meta.d.ts +0 -2
  37. package/dist/element/common/datePicker/v1/index.d.ts +0 -1
  38. package/dist/element/common/datePicker/v1/meta.d.ts +0 -2
  39. package/dist/element/common/dialog/v1/index.d.ts +0 -1
  40. package/dist/element/common/dialog/v1/meta.d.ts +0 -2
  41. package/dist/element/common/fileInput/v1/index.d.ts +0 -1
  42. package/dist/element/common/fileInput/v1/meta.d.ts +0 -2
  43. package/dist/element/common/flexLayout/v1/index.d.ts +0 -1
  44. package/dist/element/common/flexLayout/v1/meta.d.ts +0 -2
  45. package/dist/element/common/flexLayout/v1/spawn.d.ts +0 -2
  46. package/dist/element/common/flexLayoutEntry/v1/index.d.ts +0 -1
  47. package/dist/element/common/flexLayoutEntry/v1/meta.d.ts +0 -2
  48. package/dist/element/common/form/v1/index.d.ts +0 -1
  49. package/dist/element/common/form/v1/meta.d.ts +0 -2
  50. package/dist/element/common/form/v1/spawn.d.ts +0 -2
  51. package/dist/element/common/icon/v1/index.d.ts +0 -1
  52. package/dist/element/common/icon/v1/meta.d.ts +0 -2
  53. package/dist/element/common/index.d.ts +0 -43
  54. package/dist/element/common/menu/v1/index.d.ts +0 -1
  55. package/dist/element/common/menu/v1/meta.d.ts +0 -2
  56. package/dist/element/common/numberInput/v1/index.d.ts +0 -1
  57. package/dist/element/common/numberInput/v1/meta.d.ts +0 -2
  58. package/dist/element/common/numberInput/v1/spawn.d.ts +0 -2
  59. package/dist/element/common/pagination/v1/index.d.ts +0 -1
  60. package/dist/element/common/pagination/v1/meta.d.ts +0 -2
  61. package/dist/element/common/radio/v1/index.d.ts +0 -1
  62. package/dist/element/common/radio/v1/meta.d.ts +0 -2
  63. package/dist/element/common/radioGroup/v1/index.d.ts +0 -1
  64. package/dist/element/common/radioGroup/v1/meta.d.ts +0 -2
  65. package/dist/element/common/radioGroup/v1/spawn.d.ts +0 -2
  66. package/dist/element/common/rangeSlider/v1/index.d.ts +0 -1
  67. package/dist/element/common/rangeSlider/v1/meta.d.ts +0 -2
  68. package/dist/element/common/rating/v1/index.d.ts +0 -1
  69. package/dist/element/common/rating/v1/meta.d.ts +0 -2
  70. package/dist/element/common/select/v1/index.d.ts +0 -1
  71. package/dist/element/common/select/v1/meta.d.ts +0 -2
  72. package/dist/element/common/slider/v1/index.d.ts +0 -1
  73. package/dist/element/common/slider/v1/meta.d.ts +0 -2
  74. package/dist/element/common/stepper/v1/index.d.ts +0 -1
  75. package/dist/element/common/stepper/v1/meta.d.ts +0 -2
  76. package/dist/element/common/stepper/v1/spawn.d.ts +0 -2
  77. package/dist/element/common/stepperHeader/v1/index.d.ts +0 -1
  78. package/dist/element/common/stepperHeader/v1/meta.d.ts +0 -2
  79. package/dist/element/common/stepperItem/v1/index.d.ts +0 -1
  80. package/dist/element/common/stepperItem/v1/meta.d.ts +0 -2
  81. package/dist/element/common/stepperWindow/v1/index.d.ts +0 -1
  82. package/dist/element/common/stepperWindow/v1/meta.d.ts +0 -2
  83. package/dist/element/common/stepperWindowItem/v1/index.d.ts +0 -1
  84. package/dist/element/common/stepperWindowItem/v1/meta.d.ts +0 -2
  85. package/dist/element/common/switch/v1/index.d.ts +0 -1
  86. package/dist/element/common/switch/v1/meta.d.ts +0 -2
  87. package/dist/element/common/tab/v1/index.d.ts +0 -1
  88. package/dist/element/common/tab/v1/meta.d.ts +0 -2
  89. package/dist/element/common/table/v1/index.d.ts +0 -1
  90. package/dist/element/common/table/v1/meta.d.ts +0 -2
  91. package/dist/element/common/tabs/v1/index.d.ts +0 -1
  92. package/dist/element/common/tabs/v1/meta.d.ts +0 -2
  93. package/dist/element/common/tabs/v1/spawn.d.ts +0 -2
  94. package/dist/element/common/text/v1/index.d.ts +0 -1
  95. package/dist/element/common/text/v1/meta.d.ts +0 -2
  96. package/dist/element/common/text/v1/spawn.d.ts +0 -2
  97. package/dist/element/common/textField/v1/index.d.ts +0 -1
  98. package/dist/element/common/textField/v1/meta.d.ts +0 -2
  99. package/dist/element/common/textarea/v1/index.d.ts +0 -1
  100. package/dist/element/common/textarea/v1/meta.d.ts +0 -2
  101. package/dist/element/common/textarea/v1/spawn.d.ts +0 -2
  102. package/dist/element/common/timeline/v1/index.d.ts +0 -1
  103. package/dist/element/common/timeline/v1/meta.d.ts +0 -2
  104. package/dist/element/common/timeline/v1/spawn.d.ts +0 -2
  105. package/dist/element/common/timelineItem/v1/index.d.ts +0 -1
  106. package/dist/element/common/timelineItem/v1/meta.d.ts +0 -2
  107. package/dist/element/common/window/v1/index.d.ts +0 -1
  108. package/dist/element/common/window/v1/meta.d.ts +0 -2
  109. package/dist/element/common/window/v1/spawn.d.ts +0 -2
  110. package/dist/element/common/windowItem/v1/index.d.ts +0 -1
  111. package/dist/element/common/windowItem/v1/meta.d.ts +0 -2
  112. /package/dist/components/element/{common → ui}/badge/v1/index.vue.d.ts +0 -0
  113. /package/dist/components/element/{common → ui}/breadcrumbs/v1/index.vue.d.ts +0 -0
  114. /package/dist/components/element/{common → ui}/btn/v1/index.vue.d.ts +0 -0
  115. /package/dist/components/element/{common → ui}/btnGroup/v1/index.vue.d.ts +0 -0
  116. /package/dist/components/element/{common → ui}/btnToggle/v1/index.vue.d.ts +0 -0
  117. /package/dist/components/element/{common → ui}/card/v1/index.vue.d.ts +0 -0
  118. /package/dist/components/element/{common → ui}/checkbox/v1/index.vue.d.ts +0 -0
  119. /package/dist/components/element/{common → ui}/chip/v1/index.vue.d.ts +0 -0
  120. /package/dist/components/element/{common → ui}/chipGroup/v1/index.vue.d.ts +0 -0
  121. /package/dist/components/element/{common → ui}/colorPicker/v1/index.vue.d.ts +0 -0
  122. /package/dist/components/element/{common → ui}/combobox/v1/index.vue.d.ts +0 -0
  123. /package/dist/components/element/{common → ui}/container/v1/index.vue.d.ts +0 -0
  124. /package/dist/components/element/{common → ui}/dataTable/v1/columnSlot.vue.d.ts +0 -0
  125. /package/dist/components/element/{common → ui}/dataTable/v1/index.vue.d.ts +0 -0
  126. /package/dist/components/element/{common → ui}/datePicker/v1/index.vue.d.ts +0 -0
  127. /package/dist/components/element/{common → ui}/dialog/v1/index.vue.d.ts +0 -0
  128. /package/dist/components/element/{common → ui}/fileInput/v1/index.vue.d.ts +0 -0
  129. /package/dist/components/element/{common → ui}/flexLayout/v1/index.vue.d.ts +0 -0
  130. /package/dist/components/element/{common → ui}/flexLayoutEntry/v1/index.vue.d.ts +0 -0
  131. /package/dist/components/element/{common → ui}/form/v1/index.vue.d.ts +0 -0
  132. /package/dist/components/element/{common → ui}/icon/v1/index.vue.d.ts +0 -0
  133. /package/dist/components/element/{common → ui}/index.d.ts +0 -0
  134. /package/dist/components/element/{common → ui}/menu/v1/index.vue.d.ts +0 -0
  135. /package/dist/components/element/{common → ui}/numberInput/v1/index.vue.d.ts +0 -0
  136. /package/dist/components/element/{common → ui}/pagination/v1/index.vue.d.ts +0 -0
  137. /package/dist/components/element/{common → ui}/radio/v1/index.vue.d.ts +0 -0
  138. /package/dist/components/element/{common → ui}/radioGroup/v1/index.vue.d.ts +0 -0
  139. /package/dist/components/element/{common → ui}/rangeSlider/v1/index.vue.d.ts +0 -0
  140. /package/dist/components/element/{common → ui}/rating/v1/index.vue.d.ts +0 -0
  141. /package/dist/components/element/{common → ui}/select/v1/index.vue.d.ts +0 -0
  142. /package/dist/components/element/{common → ui}/slider/v1/index.vue.d.ts +0 -0
  143. /package/dist/components/element/{common → ui}/stepper/v1/index.vue.d.ts +0 -0
  144. /package/dist/components/element/{common → ui}/stepperHeader/v1/index.vue.d.ts +0 -0
  145. /package/dist/components/element/{common → ui}/stepperItem/v1/index.vue.d.ts +0 -0
  146. /package/dist/components/element/{common → ui}/stepperWindow/v1/index.vue.d.ts +0 -0
  147. /package/dist/components/element/{common → ui}/stepperWindowItem/v1/index.vue.d.ts +0 -0
  148. /package/dist/components/element/{common → ui}/switch/v1/index.vue.d.ts +0 -0
  149. /package/dist/components/element/{common → ui}/tab/v1/index.vue.d.ts +0 -0
  150. /package/dist/components/element/{common → ui}/table/v1/index.vue.d.ts +0 -0
  151. /package/dist/components/element/{common → ui}/tabs/v1/index.vue.d.ts +0 -0
  152. /package/dist/components/element/{common → ui}/text/v1/index.vue.d.ts +0 -0
  153. /package/dist/components/element/{common → ui}/textField/v1/index.vue.d.ts +0 -0
  154. /package/dist/components/element/{common → ui}/textarea/v1/index.vue.d.ts +0 -0
  155. /package/dist/components/element/{common → ui}/timeline/v1/index.vue.d.ts +0 -0
  156. /package/dist/components/element/{common → ui}/timelineItem/v1/index.vue.d.ts +0 -0
  157. /package/dist/components/element/{common → ui}/window/v1/index.vue.d.ts +0 -0
  158. /package/dist/components/element/{common → ui}/windowItem/v1/index.vue.d.ts +0 -0
  159. /package/dist/composables/element/piece/{common → ui}/border/v1/index.d.ts +0 -0
  160. /package/dist/composables/element/piece/{common → ui}/color/v1/index.d.ts +0 -0
  161. /package/dist/composables/element/piece/{common → ui}/margin/v1/index.d.ts +0 -0
  162. /package/dist/composables/element/piece/{common → ui}/padding/v1/index.d.ts +0 -0
  163. /package/dist/composables/element/piece/{common → ui}/size/v1/index.d.ts +0 -0
package/dist/index.js CHANGED
@@ -29,10 +29,10 @@ var De = (t, n, e) => {
29
29
  };
30
30
  return l();
31
31
  };
32
- import { defineComponent as S, createElementBlock as te, createCommentVNode as re, unref as s, openBlock as w, createElementVNode as Ue, computed as I, renderSlot as O, normalizeStyle as me, ref as se, watch as pe, onUnmounted as Ie, onBeforeMount as no, watchEffect as xe, createVNode as K, createBlock as $, useTemplateRef as wi, onMounted as Ii, nextTick as sn, withCtx as V, resolveComponent as R, isRef as ne, h as B, createSlots as rn, renderList as io, useId as Si, withModifiers as oo, normalizeClass as so, toDisplayString as Ci, useAttrs as gt, inject as fe, provide as ye, readonly as ln } from "vue";
32
+ import { defineComponent as S, createElementBlock as te, createCommentVNode as re, unref as s, openBlock as w, createElementVNode as Ue, computed as I, renderSlot as O, normalizeStyle as me, ref as se, watch as pe, onUnmounted as Ie, onBeforeMount as no, watchEffect as xe, createVNode as K, createBlock as $, useTemplateRef as wi, onMounted as Ii, nextTick as sn, withCtx as V, h as B, toDisplayString as Si, useAttrs as gt, resolveComponent as R, isRef as ne, createSlots as rn, renderList as io, useId as Ci, withModifiers as oo, normalizeClass as so, inject as fe, provide as ye, readonly as ln } from "vue";
33
33
  import { globalObjects as he, waitUtil as $i, useViewStack as Vi, eventBus as Pi, messageInfo as ro, messageSuccess as lo, messageWarning as zi, messageError as Li, createAxios as ao, openConfirmDlg as uo, openPromptDlg as co } from "x-essential-lib";
34
34
  import { CameraHelper as Ei, DirectionalLightHelper as po, PointLightHelper as mo, SpotLightHelper as fo } from "three";
35
- import { c as yo, i as de, a as qe, K as bo, M as go, O as ho, u as _o, r as Ti, e as Ai, b as vo, d as xo, f as ko, g as wo, h as Io, j as So, k as Co, l as $o, m as Mi, n as D, H as Vo, o as Po, p as zo, q as Lo } from "./vendor.eam33h89.js";
35
+ import { c as yo, i as de, a as qe, K as bo, M as go, O as ho, u as _o, r as Ti, e as Ai, b as vo, d as xo, f as ko, g as wo, h as Io, j as So, k as Co, l as $o, m as D, H as Vo, n as Mi, o as Po, p as zo, q as Lo } from "./vendor.dwgy5dvz.js";
36
36
  import { useTheme as Eo } from "vuetify";
37
37
  import { getErrorMessage as To } from "x-error-lib";
38
38
  const In = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
@@ -1102,210 +1102,85 @@ const kr = /* @__PURE__ */ S({
1102
1102
  }));
1103
1103
  }
1104
1104
  }), Ir = /* @__PURE__ */ S({
1105
- __name: "index",
1106
- props: {
1107
- nodeId: {},
1108
- outer: { type: Boolean },
1109
- refContext: {}
1110
- },
1111
- setup(t) {
1112
- const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "content"]), { property: i } = a(e, ["settings", "dot"]), { theme: l } = H(), { property: r } = a(e, [
1113
- "settings",
1114
- "offset",
1115
- "x"
1116
- ]), { property: u } = a(e, [
1117
- "settings",
1118
- "offset",
1119
- "y"
1120
- ]);
1121
- return (p, c) => {
1122
- const m = R("v-badge");
1123
- return w(), $(s(j), null, {
1124
- default: V(() => [
1125
- K(m, {
1126
- content: s(o),
1127
- dot: s(i),
1128
- "offset-x": s(r),
1129
- "offset-y": s(u),
1130
- theme: s(l)
1131
- }, {
1132
- default: V(() => [
1133
- O(p.$slots, "default")
1134
- ]),
1135
- _: 3
1136
- }, 8, ["content", "dot", "offset-x", "offset-y", "theme"])
1137
- ]),
1138
- _: 3
1139
- });
1140
- };
1141
- }
1142
- }), Sr = /* @__PURE__ */ S({
1143
- __name: "index",
1105
+ __name: "entry",
1144
1106
  props: {
1107
+ subtype: {},
1145
1108
  nodeId: {},
1146
- outer: { type: Boolean },
1147
- refContext: {}
1109
+ refContext: {},
1110
+ instance: {}
1148
1111
  },
1149
1112
  setup(t) {
1150
- const n = t, { node: e } = P(n), o = _e(), { property: i } = a(e, [
1151
- "settings",
1152
- "addIcon",
1153
- "append"
1154
- ]), { property: l } = a(e, ["settings", "block"]), { property: r } = a(e, ["settings", "color"]), { color: u } = Q(r), { property: p } = a(e, ["settings", "density"]), { property: c } = a(e, [
1155
- "settings",
1156
- "disabled"
1157
- ]), { property: m } = a(e, ["size", "height"]), { property: d } = a(e, ["settings", "loading"]), { property: f } = a(e, ["size", "maxHeight"]), { property: b } = a(e, ["size", "maxWidth"]), { property: g } = a(e, ["size", "minHeight"]), { property: k } = a(e, ["size", "minWidth"]), { property: _ } = a(e, [
1158
- "settings",
1159
- "addIcon",
1160
- "prepend"
1161
- ]), { property: x } = a(e, [
1162
- "settings",
1163
- "readonly"
1164
- ]), { property: h } = a(e, ["settings", "ripple"]), { property: v } = a(e, ["settings", "size"]), { property: L } = a(e, ["settings", "stacked"]), { property: E } = a(e, ["settings", "text"]), { theme: J } = H(), { property: Y } = a(e, ["settings", "variant"]), { property: N } = a(e, ["size", "width"]), z = async (G) => {
1165
- if (!o || !o.vm)
1113
+ console.log(`<element/${t.nodeId}/multiple_ref_v1/${t.instance}> created`), Ie(() => {
1114
+ console.log(`<element/${t.nodeId}/multiple_ref_v1/${t.instance}> destroyed`);
1115
+ });
1116
+ const n = Z(), e = le(), o = I(() => D(e.value));
1117
+ Pe(o), ke(n) && tt(o, "multipleRef", t.nodeId, t.instance, _e());
1118
+ const i = (r) => {
1119
+ const u = we[r.key];
1120
+ if (!u) {
1121
+ console.assert(!1, `element not found key=${r.key}`);
1166
1122
  return;
1167
- const { vm: ie } = o;
1168
- ie.setProp(ie.global, "__pointerPosX__", ie.newNumber(G.clientX)), ie.setProp(ie.global, "__pointerPosY__", ie.newNumber(G.clientY)), await o.callFunctionAsync(
1169
- "__triggerEventV1__",
1170
- oe("elementEvent", n.nodeId, "click"),
1171
- ""
1123
+ }
1124
+ const p = {
1125
+ nodeId: r.id
1126
+ };
1127
+ return Xe(r.key) && (p.refContext = {
1128
+ parent: t.refContext,
1129
+ compId: r.compId
1130
+ }), B(
1131
+ u.comp,
1132
+ {
1133
+ key: r.id,
1134
+ ...p
1135
+ },
1136
+ {
1137
+ default: () => {
1138
+ if (!u.leaf)
1139
+ return r.children?.map((c) => i(c));
1140
+ }
1141
+ }
1172
1142
  );
1143
+ }, l = () => {
1144
+ if (t.subtype === "ui")
1145
+ return B("div", null, {
1146
+ default: () => o.value?.view.nodeLites.map((r) => i(r))
1147
+ });
1148
+ if (t.subtype === "3d")
1149
+ return B("TresGroup", null, {
1150
+ default: () => o.value?.view.nodeLites.map((r) => i(r))
1151
+ });
1173
1152
  };
1174
- return (G, ie) => {
1175
- const ge = R("v-btn");
1176
- return w(), $(s(j), {
1177
- block: s(l),
1178
- mask: ""
1179
- }, {
1180
- default: V(() => [
1181
- K(ge, {
1182
- "append-icon": s(i),
1183
- block: s(l),
1184
- color: s(u),
1185
- density: s(p),
1186
- disabled: s(c),
1187
- height: s(m),
1188
- loading: s(d),
1189
- "max-height": s(f),
1190
- "max-width": s(b),
1191
- "min-height": s(g),
1192
- "min-width": s(k),
1193
- "prepend-icon": s(_),
1194
- readonly: s(x),
1195
- ripple: s(h),
1196
- size: s(v),
1197
- stacked: s(L),
1198
- text: s(E),
1199
- theme: s(J),
1200
- variant: s(Y),
1201
- width: s(N),
1202
- onClick: z
1203
- }, null, 8, ["append-icon", "block", "color", "density", "disabled", "height", "loading", "max-height", "max-width", "min-height", "min-width", "prepend-icon", "readonly", "ripple", "size", "stacked", "text", "theme", "variant", "width"])
1204
- ]),
1205
- _: 1
1206
- }, 8, ["block"]);
1207
- };
1153
+ return (r, u) => (w(), $(l));
1208
1154
  }
1209
- }), Cr = {};
1210
- function $r(t, n) {
1211
- const e = R("v-btn-group");
1212
- return w(), $(e, null, {
1213
- default: V(() => [
1214
- O(t.$slots, "default")
1215
- ]),
1216
- _: 3
1217
- });
1218
- }
1219
- const Vr = /* @__PURE__ */ We(Cr, [["render", $r]]), Pr = /* @__PURE__ */ S({
1155
+ }), Sr = ["position", "rotation", "scale"], Cr = { style: { userSelect: "none" } }, ue = /* @__PURE__ */ S({
1220
1156
  __name: "index",
1221
1157
  props: {
1222
- nodeId: {},
1223
- outer: { type: Boolean },
1224
- refContext: {}
1158
+ position: {},
1159
+ rotation: {},
1160
+ scale: {},
1161
+ label: { default: () => {
1162
+ } }
1225
1163
  },
1226
1164
  setup(t) {
1227
- const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "block"]), { property: i } = a(e, [
1228
- "settings",
1229
- "disabled"
1230
- ]), { property: l } = a(e, ["settings", "divided"]), { property: r } = a(e, [
1231
- "settings",
1232
- "mandatory"
1233
- ]), { property: u } = a(e, [
1234
- "settings",
1235
- "multiple"
1236
- ]), { property: p } = a(e, [
1237
- "settings",
1238
- "readonly"
1239
- ]), { property: c } = a(e, ["settings", "size"]), { property: m } = a(e, ["settings", "stacked"]), { theme: d } = H(), { property: f } = a(e, ["settings", "tile"]), { property: b } = a(e, ["settings", "variant"]);
1240
- return (g, k) => {
1241
- const _ = R("v-btn-toggle");
1242
- return w(), $(_, {
1243
- block: s(o),
1244
- disabled: s(i),
1245
- divided: s(l),
1246
- mandatory: s(r),
1247
- multiple: s(u),
1248
- readonly: s(p),
1249
- size: s(c),
1250
- stacked: s(m),
1251
- theme: s(d),
1252
- tile: s(f),
1253
- variant: s(b)
1165
+ return (n, e) => (w(), te("TresGroup", {
1166
+ position: t.position,
1167
+ rotation: t.rotation,
1168
+ scale: t.scale
1169
+ }, [
1170
+ t.label ? (w(), $(s(Vo), {
1171
+ key: 0,
1172
+ center: "",
1173
+ transform: ""
1254
1174
  }, {
1255
1175
  default: V(() => [
1256
- O(g.$slots, "default")
1257
- ]),
1258
- _: 3
1259
- }, 8, ["block", "disabled", "divided", "mandatory", "multiple", "readonly", "size", "stacked", "theme", "tile", "variant"]);
1260
- };
1261
- }
1262
- }), zr = /* @__PURE__ */ S({
1263
- __name: "index",
1264
- props: {
1265
- nodeId: {},
1266
- outer: { type: Boolean },
1267
- refContext: {}
1268
- },
1269
- setup(t) {
1270
- const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "density"]), { property: i } = a(e, [
1271
- "settings",
1272
- "disabled"
1273
- ]), { property: l } = a(e, ["size", "height"]), { property: r } = a(e, ["settings", "hover"]), { property: u } = a(e, ["settings", "loading"]), { property: p } = a(e, ["size", "maxHeight"]), { property: c } = a(e, ["size", "maxWidth"]), { property: m } = a(e, ["size", "minHeight"]), { property: d } = a(e, ["size", "minWidth"]), { property: f } = a(e, [
1274
- "settings",
1275
- "subtitle"
1276
- ]), { property: b } = a(e, ["settings", "text"]), { theme: g } = H(), { property: k } = a(e, ["settings", "title"]), { property: _ } = a(e, ["settings", "variant"]), { property: x } = a(e, ["size", "width"]);
1277
- return (h, v) => {
1278
- const L = R("v-card");
1279
- return w(), $(s(j), { block: "" }, {
1280
- default: V(() => [
1281
- K(L, {
1282
- density: s(o),
1283
- disabled: s(i),
1284
- height: s(l),
1285
- hover: s(r),
1286
- loading: s(u),
1287
- "max-height": s(p),
1288
- "max-width": s(c),
1289
- "min-height": s(m),
1290
- "min-width": s(d),
1291
- subtitle: s(f),
1292
- text: s(b),
1293
- theme: s(g),
1294
- title: s(k),
1295
- variant: s(_),
1296
- width: s(x)
1297
- }, {
1298
- default: V(() => [
1299
- O(h.$slots, "default")
1300
- ]),
1301
- _: 3
1302
- }, 8, ["density", "disabled", "height", "hover", "loading", "max-height", "max-width", "min-height", "min-width", "subtitle", "text", "theme", "title", "variant", "width"])
1176
+ Ue("div", Cr, Si(t.label), 1)
1303
1177
  ]),
1304
- _: 3
1305
- });
1306
- };
1178
+ _: 1
1179
+ })) : re("", !0),
1180
+ O(n.$slots, "default")
1181
+ ], 8, Sr));
1307
1182
  }
1308
- }), Lr = /* @__PURE__ */ S({
1183
+ }), $r = /* @__PURE__ */ S({
1309
1184
  __name: "index",
1310
1185
  props: {
1311
1186
  nodeId: {},
@@ -1313,27 +1188,141 @@ const Vr = /* @__PURE__ */ We(Cr, [["render", $r]]), Pr = /* @__PURE__ */ S({
1313
1188
  refContext: {}
1314
1189
  },
1315
1190
  setup(t) {
1316
- const n = t, { node: e } = P(n), { property: o } = a(e, [
1317
- "settings",
1318
- "disabled"
1319
- ]), { property: i } = a(e, [
1320
- "settings",
1321
- "readonly"
1322
- ]);
1323
- return (l, r) => {
1324
- const u = R("v-checkbox");
1325
- return w(), $(s(j), { mask: "" }, {
1326
- default: V(() => [
1327
- K(u, {
1328
- disabled: s(o),
1329
- readonly: s(i)
1330
- }, null, 8, ["disabled", "readonly"])
1331
- ]),
1332
- _: 1
1333
- });
1191
+ const n = gt(), e = t, { node: o } = P(e), i = Qe(), l = le(), r = se();
1192
+ Pe(r);
1193
+ const u = I(() => e.refContext?.compId);
1194
+ et(u, r);
1195
+ const { applySize: p } = be(e, o), c = I(() => {
1196
+ const h = {};
1197
+ return r.value?.type === "ui" && p(h), h;
1198
+ }), { position: m, rotation: d, scale: f } = ce(o), { property: b } = a(o, ["instances"]), g = (h, v) => {
1199
+ h.findIndex((L) => L === v) >= 0 || h.push(v);
1200
+ }, k = I(() => {
1201
+ const h = [];
1202
+ if (!Array.isArray(b.value))
1203
+ return h;
1204
+ for (const v of b.value)
1205
+ typeof v == "string" && v && g(h, v);
1206
+ return h;
1207
+ }), _ = (h, v) => B(Ir, {
1208
+ key: h,
1209
+ subtype: v,
1210
+ nodeId: e.nodeId,
1211
+ refContext: e.refContext,
1212
+ instance: h
1213
+ }), x = () => {
1214
+ if (!e.refContext) {
1215
+ console.assert(!1, "invalid of ref context");
1216
+ return;
1217
+ }
1218
+ if (!l.value) {
1219
+ console.assert(!1, "invalid of data");
1220
+ return;
1221
+ }
1222
+ const { i18n: h } = he;
1223
+ if (Ye(e.refContext, i))
1224
+ return l.value.type === "ui" ? B(
1225
+ "div",
1226
+ { id: n.id, style: c.value },
1227
+ h.global.t("x-runtime-lib.circularReference")
1228
+ ) : l.value.type === "3d" ? B(ue, {
1229
+ name: n.name,
1230
+ position: m.value,
1231
+ rotation: d.value,
1232
+ scale: f.value,
1233
+ label: h.global.t("x-runtime-lib.circularReference")
1234
+ }) : void 0;
1235
+ if (!r.value)
1236
+ return l.value.type === "ui" ? B("div", { id: n.id, style: c.value }) : l.value.type === "3d" ? B(ue, {
1237
+ name: n.name,
1238
+ position: m.value,
1239
+ rotation: d.value,
1240
+ scale: f.value
1241
+ }) : void 0;
1242
+ if (r.value.type !== l.value.type) {
1243
+ console.assert(!1, "subtype not match");
1244
+ return;
1245
+ }
1246
+ const v = r.value.type;
1247
+ if (v === "ui")
1248
+ return B(
1249
+ "div",
1250
+ {
1251
+ id: n.id,
1252
+ style: c.value
1253
+ },
1254
+ {
1255
+ default: () => k.value.map((L) => _(L, v))
1256
+ }
1257
+ );
1258
+ if (v === "3d")
1259
+ return B(
1260
+ ue,
1261
+ {
1262
+ name: n.name,
1263
+ position: m.value,
1264
+ rotation: d.value,
1265
+ scale: f.value
1266
+ },
1267
+ {
1268
+ default: () => k.value.map((L) => _(L, v))
1269
+ }
1270
+ );
1334
1271
  };
1272
+ return (h, v) => (w(), $(x));
1335
1273
  }
1336
- }), Er = /* @__PURE__ */ S({
1274
+ }), Vr = /* @__PURE__ */ S({
1275
+ __name: "entry",
1276
+ props: {
1277
+ subtype: {},
1278
+ nodeId: {},
1279
+ refContext: {},
1280
+ instance: {}
1281
+ },
1282
+ setup(t) {
1283
+ console.log(`<element/${t.nodeId}/multiple_slot_v1/${t.instance}> created`), Ie(() => {
1284
+ console.log(`<element/${t.nodeId}/multiple_slot_v1/${t.instance}> destroyed`);
1285
+ });
1286
+ const n = Z(), e = le(), o = I(() => D(e.value));
1287
+ Pe(o), ke(n) && tt(o, "multipleCustomSlot", t.nodeId, t.instance, _e());
1288
+ const i = (r) => {
1289
+ const u = we[r.key];
1290
+ if (!u) {
1291
+ console.assert(!1, `element not found key=${r.key}`);
1292
+ return;
1293
+ }
1294
+ const p = {
1295
+ nodeId: r.id
1296
+ };
1297
+ return Xe(r.key) && (p.refContext = {
1298
+ parent: t.refContext,
1299
+ compId: r.compId
1300
+ }), B(
1301
+ u.comp,
1302
+ {
1303
+ key: r.id,
1304
+ ...p
1305
+ },
1306
+ {
1307
+ default: () => {
1308
+ if (!u.leaf)
1309
+ return r.children?.map((c) => i(c));
1310
+ }
1311
+ }
1312
+ );
1313
+ }, l = () => {
1314
+ if (t.subtype === "ui")
1315
+ return B("div", null, {
1316
+ default: () => o.value?.view.nodeLites.map((r) => i(r))
1317
+ });
1318
+ if (t.subtype === "3d")
1319
+ return B("TresGroup", null, {
1320
+ default: () => o.value?.view.nodeLites.map((r) => i(r))
1321
+ });
1322
+ };
1323
+ return (r, u) => (w(), $(l));
1324
+ }
1325
+ }), Pr = /* @__PURE__ */ S({
1337
1326
  __name: "index",
1338
1327
  props: {
1339
1328
  nodeId: {},
@@ -1341,41 +1330,90 @@ const Vr = /* @__PURE__ */ We(Cr, [["render", $r]]), Pr = /* @__PURE__ */ S({
1341
1330
  refContext: {}
1342
1331
  },
1343
1332
  setup(t) {
1344
- const n = t, { node: e } = P(n), { property: o } = a(e, [
1345
- "settings",
1346
- "closable"
1347
- ]), { property: i } = a(e, ["settings", "color"]), { color: l } = Q(i), { property: r } = a(e, ["settings", "density"]), { property: u } = a(e, [
1348
- "settings",
1349
- "disabled"
1350
- ]), { property: p } = a(e, [
1351
- "settings",
1352
- "draggable"
1353
- ]), { property: c } = a(e, ["settings", "filter"]), { property: m } = a(e, ["settings", "label"]), { property: d } = a(e, ["settings", "size"]), { property: f } = a(e, ["settings", "text"]), { theme: b } = H(), { property: g } = a(e, ["settings", "tile"]), { property: k } = a(e, ["settings", "value"]), { property: _ } = a(e, ["settings", "variant"]);
1354
- return (x, h) => {
1355
- const v = R("v-chip");
1356
- return w(), $(s(j), { mask: "" }, {
1357
- default: V(() => [
1358
- K(v, {
1359
- closable: s(o),
1360
- color: s(l),
1361
- density: s(r),
1362
- disabled: s(u),
1363
- draggable: s(p),
1364
- filter: s(c),
1365
- label: s(m),
1366
- size: s(d),
1367
- text: s(f),
1368
- theme: s(b),
1369
- tile: s(g),
1370
- value: s(k),
1371
- variant: s(_)
1372
- }, null, 8, ["closable", "color", "density", "disabled", "draggable", "filter", "label", "size", "text", "theme", "tile", "value", "variant"])
1373
- ]),
1374
- _: 1
1375
- });
1333
+ const n = gt(), e = t, { node: o } = P(e), i = Qe(), l = le(), r = se();
1334
+ Pe(r);
1335
+ const u = I(() => e.refContext?.compId);
1336
+ et(u, r);
1337
+ const { applySize: p } = be(e, o), c = I(() => {
1338
+ const h = {};
1339
+ return r.value?.type === "ui" && p(h), h;
1340
+ }), { position: m, rotation: d, scale: f } = ce(o), { property: b } = a(o, ["instances"]), g = (h, v) => {
1341
+ h.findIndex((L) => L === v) >= 0 || h.push(v);
1342
+ }, k = I(() => {
1343
+ const h = [];
1344
+ if (!Array.isArray(b.value))
1345
+ return h;
1346
+ for (const v of b.value)
1347
+ typeof v == "string" && v && g(h, v);
1348
+ return h;
1349
+ }), _ = (h, v) => B(Vr, {
1350
+ key: h,
1351
+ subtype: v,
1352
+ nodeId: e.nodeId,
1353
+ refContext: e.refContext,
1354
+ instance: h
1355
+ }), x = () => {
1356
+ if (!e.refContext) {
1357
+ console.assert(!1, "invalid of ref context");
1358
+ return;
1359
+ }
1360
+ if (!l.value) {
1361
+ console.assert(!1, "invalid of data");
1362
+ return;
1363
+ }
1364
+ const { i18n: h } = he;
1365
+ if (Ye(e.refContext, i))
1366
+ return l.value.type === "ui" ? B(
1367
+ "div",
1368
+ { id: n.id, style: c.value },
1369
+ h.global.t("x-runtime-lib.circularReference")
1370
+ ) : l.value.type === "3d" ? B(ue, {
1371
+ name: n.name,
1372
+ position: m.value,
1373
+ rotation: d.value,
1374
+ scale: f.value,
1375
+ label: h.global.t("x-runtime-lib.circularReference")
1376
+ }) : void 0;
1377
+ if (!r.value)
1378
+ return l.value.type === "ui" ? B("div", { id: n.id, style: c.value }) : l.value.type === "3d" ? B(ue, {
1379
+ name: n.name,
1380
+ position: m.value,
1381
+ rotation: d.value,
1382
+ scale: f.value
1383
+ }) : void 0;
1384
+ if (r.value.type !== l.value.type) {
1385
+ console.assert(!1, "subtype not match");
1386
+ return;
1387
+ }
1388
+ const v = r.value.type;
1389
+ if (v === "ui")
1390
+ return B(
1391
+ "div",
1392
+ {
1393
+ id: n.id,
1394
+ style: c.value
1395
+ },
1396
+ {
1397
+ default: () => k.value.map((L) => _(L, v))
1398
+ }
1399
+ );
1400
+ if (v === "3d")
1401
+ return B(
1402
+ ue,
1403
+ {
1404
+ name: n.name,
1405
+ position: m.value,
1406
+ rotation: d.value,
1407
+ scale: f.value
1408
+ },
1409
+ {
1410
+ default: () => k.value.map((L) => _(L, v))
1411
+ }
1412
+ );
1376
1413
  };
1414
+ return (h, v) => (w(), $(x));
1377
1415
  }
1378
- }), Tr = /* @__PURE__ */ S({
1416
+ }), zr = /* @__PURE__ */ S({
1379
1417
  __name: "index",
1380
1418
  props: {
1381
1419
  nodeId: {},
@@ -1383,137 +1421,100 @@ const Vr = /* @__PURE__ */ We(Cr, [["render", $r]]), Pr = /* @__PURE__ */ S({
1383
1421
  refContext: {}
1384
1422
  },
1385
1423
  setup(t) {
1386
- const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "column"]), { property: i } = a(e, [
1387
- "settings",
1388
- "direction"
1389
- ]), { property: l } = a(e, [
1390
- "settings",
1391
- "disabled"
1392
- ]), { property: r } = a(e, ["settings", "filter"]), { property: u } = a(e, [
1393
- "settings",
1394
- "mandatory"
1395
- ]), { property: p } = a(e, [
1396
- "settings",
1397
- "multiple"
1398
- ]), { property: c } = a(e, [
1399
- "settings",
1400
- "showArrows"
1401
- ]), { theme: m } = H(), { property: d } = a(e, ["settings", "value"]);
1402
- return (f, b) => {
1403
- const g = R("v-chip-group");
1404
- return w(), $(g, {
1405
- modelValue: s(d),
1406
- "onUpdate:modelValue": b[0] || (b[0] = (k) => ne(d) ? d.value = k : null),
1407
- column: s(o),
1408
- direction: s(i),
1409
- disabled: s(l),
1410
- filter: s(r),
1411
- mandatory: s(u),
1412
- multiple: s(p),
1413
- "show-arrows": s(c),
1414
- theme: s(m)
1415
- }, {
1416
- default: V(() => [
1417
- O(f.$slots, "default")
1418
- ]),
1419
- _: 3
1420
- }, 8, ["modelValue", "column", "direction", "disabled", "filter", "mandatory", "multiple", "show-arrows", "theme"]);
1421
- };
1422
- }
1423
- }), Ar = /* @__PURE__ */ S({
1424
- __name: "index",
1425
- props: {
1426
- nodeId: {},
1427
- outer: { type: Boolean },
1428
- refContext: {}
1429
- },
1430
- setup(t) {
1431
- const n = t, { node: e } = P(n), o = Se(), i = le(), { applySize: l } = be(n, e), r = I(() => {
1432
- const k = {}, _ = i.value?.type;
1433
- return o === "page" ? _ === "ui" ? l(k) : console.assert(!1) : o === "comp" && _ === "ui" ? l(k) : console.assert(!1), k;
1434
- }), { property: u } = a(e, [
1435
- "settings",
1436
- "disabled"
1437
- ]), { property: p } = a(e, [
1438
- "settings",
1439
- "hideCanvas"
1440
- ]), { property: c } = a(e, [
1441
- "settings",
1442
- "hideHeader"
1443
- ]), { property: m } = a(e, [
1444
- "settings",
1445
- "hideInputs"
1446
- ]), { property: d } = a(e, [
1447
- "settings",
1448
- "hideSliders"
1449
- ]), { property: f } = a(e, [
1450
- "settings",
1451
- "landscape"
1452
- ]), { property: b } = a(e, [
1453
- "settings",
1454
- "showSwatches"
1455
- ]), { theme: g } = H();
1456
- return (k, _) => {
1457
- const x = R("v-color-picker");
1458
- return w(), $(s(j), { mask: "" }, {
1459
- default: V(() => [
1460
- K(x, {
1461
- disabled: s(u),
1462
- "hide-canvas": s(p),
1463
- "hide-header": s(c),
1464
- "hide-inputs": s(m),
1465
- "hide-sliders": s(d),
1466
- landscape: s(f),
1467
- "show-swatches": s(b),
1468
- style: me(r.value),
1469
- theme: s(g)
1470
- }, null, 8, ["disabled", "hide-canvas", "hide-header", "hide-inputs", "hide-sliders", "landscape", "show-swatches", "style", "theme"])
1471
- ]),
1472
- _: 1
1473
- });
1474
- };
1475
- }
1476
- }), Mr = /* @__PURE__ */ S({
1477
- __name: "index",
1478
- props: {
1479
- nodeId: {},
1480
- outer: { type: Boolean },
1481
- refContext: {}
1482
- },
1483
- setup(t) {
1484
- const n = t, { node: e } = P(n), { property: o } = a(e, [
1485
- "settings",
1486
- "hideDetails"
1487
- ]), { property: i } = a(e, ["settings", "label"]), { property: l } = a(e, [
1488
- "settings",
1489
- "placeholder"
1490
- ]), { property: r } = a(e, [
1491
- "settings",
1492
- "readonly"
1493
- ]), { property: u } = a(e, [
1494
- "settings",
1495
- "singleLine"
1496
- ]), { theme: p } = H(), { property: c } = a(e, ["settings", "value"]);
1497
- return (m, d) => {
1498
- const f = R("v-combobox");
1499
- return w(), $(s(j), { mask: "" }, {
1500
- default: V(() => [
1501
- K(f, {
1502
- modelValue: s(c),
1503
- "onUpdate:modelValue": d[0] || (d[0] = (b) => ne(c) ? c.value = b : null),
1504
- "hide-details": s(o),
1505
- label: s(i),
1506
- placeholder: s(l),
1507
- readonly: s(r),
1508
- "single-line": s(u),
1509
- theme: s(p)
1510
- }, null, 8, ["modelValue", "hide-details", "label", "placeholder", "readonly", "single-line", "theme"])
1511
- ]),
1512
- _: 1
1513
- });
1424
+ const n = gt(), e = t, { node: o } = P(e), i = Z(), l = Qe(), r = le(), u = se();
1425
+ Pe(u);
1426
+ const p = I(() => e.refContext?.compId);
1427
+ et(p, u), ke(i) && tt(u, "ref", e.nodeId, "", _e());
1428
+ const { applySize: c } = be(e, o), m = I(() => {
1429
+ const _ = {};
1430
+ return r.value?.type === "ui" && c(_), _;
1431
+ }), { position: d, rotation: f, scale: b } = ce(o), g = (_) => {
1432
+ const x = we[_.key];
1433
+ if (!x) {
1434
+ console.assert(!1, `element not found key=${_.key}`);
1435
+ return;
1436
+ }
1437
+ const h = {
1438
+ nodeId: _.id
1439
+ };
1440
+ return Xe(_.key) && (h.refContext = {
1441
+ parent: e.refContext,
1442
+ compId: _.compId
1443
+ }), B(
1444
+ x.comp,
1445
+ {
1446
+ key: _.id,
1447
+ ...h
1448
+ },
1449
+ {
1450
+ default: () => {
1451
+ if (!x.leaf)
1452
+ return _.children?.map((v) => g(v));
1453
+ }
1454
+ }
1455
+ );
1456
+ }, k = () => {
1457
+ if (!e.refContext) {
1458
+ console.assert(!1, "invalid of ref context");
1459
+ return;
1460
+ }
1461
+ if (!r.value) {
1462
+ console.assert(!1, "invalid of data");
1463
+ return;
1464
+ }
1465
+ const { i18n: _ } = he;
1466
+ if (Ye(e.refContext, l))
1467
+ return r.value.type === "ui" ? B(
1468
+ "div",
1469
+ { id: n.id, style: m.value },
1470
+ _.global.t("x-runtime-lib.circularReference")
1471
+ ) : r.value.type === "3d" ? B(ue, {
1472
+ name: n.name,
1473
+ position: d.value,
1474
+ rotation: f.value,
1475
+ scale: b.value,
1476
+ label: _.global.t("x-runtime-lib.circularReference")
1477
+ }) : void 0;
1478
+ if (!u.value)
1479
+ return r.value.type === "ui" ? B("div", { id: n.id, style: m.value }) : r.value.type === "3d" ? B(ue, {
1480
+ name: n.name,
1481
+ position: d.value,
1482
+ rotation: f.value,
1483
+ scale: b.value
1484
+ }) : void 0;
1485
+ if (u.value.type !== r.value.type) {
1486
+ console.assert(!1, "subtype not match");
1487
+ return;
1488
+ }
1489
+ const x = u.value.type;
1490
+ if (x === "ui")
1491
+ return B(
1492
+ "div",
1493
+ {
1494
+ id: n.id,
1495
+ style: m.value
1496
+ },
1497
+ {
1498
+ default: () => u.value?.view.nodeLites.map((h) => g(h))
1499
+ }
1500
+ );
1501
+ if (x === "3d")
1502
+ return B(
1503
+ ue,
1504
+ {
1505
+ name: n.name,
1506
+ position: d.value,
1507
+ rotation: f.value,
1508
+ scale: b.value
1509
+ },
1510
+ {
1511
+ default: () => u.value?.view.nodeLites.map((h) => g(h))
1512
+ }
1513
+ );
1514
1514
  };
1515
+ return (_, x) => (w(), $(k));
1515
1516
  }
1516
- }), Ur = /* @__PURE__ */ S({
1517
+ }), Lr = /* @__PURE__ */ S({
1517
1518
  __name: "index",
1518
1519
  props: {
1519
1520
  nodeId: {},
@@ -1521,78 +1522,118 @@ const Vr = /* @__PURE__ */ We(Cr, [["render", $r]]), Pr = /* @__PURE__ */ S({
1521
1522
  refContext: {}
1522
1523
  },
1523
1524
  setup(t) {
1524
- const n = t, { node: e } = P(n), o = Se(), i = le(), { property: l } = a(e, [
1525
- "settings",
1526
- "backgroundColor"
1527
- ]), { color: r } = Q(l), { applySize: u } = be(n, e), { applyMargin: p } = pn(e), { applyPadding: c } = mn(e), { applyBorder: m } = dn(e), d = I(() => {
1528
- const f = {}, b = i.value?.type;
1529
- return o === "page" ? b === "ui" ? (u(f), p(f), c(f), m(f), r.value && (f.backgroundColor = r.value)) : console.assert(!1) : o === "comp" && b === "ui" ? (u(f), p(f), c(f), m(f), r.value && (f.backgroundColor = r.value)) : console.assert(!1), f;
1530
- });
1531
- return (f, b) => (w(), $(s(j), { block: "" }, {
1525
+ const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "open"]);
1526
+ return (i, l) => (w(), $(s(j), null, {
1532
1527
  default: V(() => [
1533
- Ue("div", {
1534
- style: me(d.value)
1535
- }, [
1536
- O(f.$slots, "default")
1537
- ], 4)
1528
+ s(o) ? O(i.$slots, "default", { key: 0 }) : re("", !0)
1538
1529
  ]),
1539
1530
  _: 3
1540
1531
  }));
1541
1532
  }
1542
- }), Rr = /* @__PURE__ */ S({
1543
- __name: "columnSlot",
1533
+ }), $e = /* @__PURE__ */ S({
1534
+ __name: "index",
1544
1535
  props: {
1545
1536
  nodeId: {},
1546
- refContext: {},
1547
- value: {}
1537
+ outer: { type: Boolean },
1538
+ refContext: {}
1548
1539
  },
1549
1540
  setup(t) {
1550
- const n = t, e = Z(), o = Qe(), i = se();
1551
- Pe(i);
1552
- const l = I(() => n.refContext.compId);
1553
- et(l, i), ke(e) && tt(i, "elementSlot", "", "", _e());
1554
- function r(p) {
1555
- const c = we[p.key];
1556
- if (!c) {
1557
- console.assert(!1, `element not found key=${p.key}`);
1541
+ const n = gt(), e = t, { node: o } = P(e), i = Z(), l = Qe(), r = le(), u = se();
1542
+ Pe(u);
1543
+ const p = I(() => e.refContext?.compId);
1544
+ et(p, u), ke(i) && tt(u, "customSlot", e.nodeId, "", _e());
1545
+ const { applySize: c } = be(e, o), m = I(() => {
1546
+ const _ = {};
1547
+ return u.value?.type === "ui" && c(_), _;
1548
+ }), { position: d, rotation: f, scale: b } = ce(o);
1549
+ function g(_) {
1550
+ const x = we[_.key];
1551
+ if (!x) {
1552
+ console.assert(!1, `element not found key=${_.key}`);
1558
1553
  return;
1559
1554
  }
1560
- const m = {
1561
- nodeId: p.id
1555
+ const h = {
1556
+ nodeId: _.id
1562
1557
  };
1563
- return Xe(p.key) && (m.refContext = {
1564
- parent: n.refContext,
1565
- compId: p.compId
1558
+ return Xe(_.key) && (h.refContext = {
1559
+ parent: e.refContext,
1560
+ compId: _.compId
1566
1561
  }), B(
1567
- c.comp,
1562
+ x.comp,
1568
1563
  {
1569
- key: p.id,
1570
- ...m
1564
+ key: _.id,
1565
+ ...h
1571
1566
  },
1572
1567
  {
1573
1568
  default: () => {
1574
- if (!c.leaf)
1575
- return p.children?.map((d) => r(d));
1569
+ if (!x.leaf)
1570
+ return _.children?.map((v) => g(v));
1576
1571
  }
1577
1572
  }
1578
1573
  );
1579
1574
  }
1580
- const u = () => {
1581
- const { i18n: p } = he;
1582
- if (Ye(n.refContext, o))
1583
- return B("div", null, p.global.t("x-runtime-lib.circularReference"));
1584
- if (!i.value)
1575
+ const k = () => {
1576
+ if (!e.refContext) {
1577
+ console.assert(!1, "invalid of ref context");
1585
1578
  return;
1586
- if (i.value.type === "ui")
1579
+ }
1580
+ if (!r.value) {
1581
+ console.assert(!1, "invalid of data");
1582
+ return;
1583
+ }
1584
+ const { i18n: _ } = he;
1585
+ if (Ye(e.refContext, l))
1586
+ return r.value.type === "ui" ? B(
1587
+ "div",
1588
+ { id: n.id, style: m.value },
1589
+ _.global.t("x-runtime-lib.circularReference")
1590
+ ) : r.value.type === "3d" ? B(ue, {
1591
+ name: n.name,
1592
+ position: d.value,
1593
+ rotation: f.value,
1594
+ scale: b.value,
1595
+ label: _.global.t("x-runtime-lib.circularReference")
1596
+ }) : void 0;
1597
+ if (!u.value)
1598
+ return r.value.type === "ui" ? B("div", { id: n.id, style: m.value }) : r.value.type === "3d" ? B(ue, {
1599
+ name: n.name,
1600
+ position: d.value,
1601
+ rotation: f.value,
1602
+ scale: b.value
1603
+ }) : void 0;
1604
+ if (u.value.type !== r.value.type) {
1605
+ console.assert(!1, "subtype not match");
1606
+ return;
1607
+ }
1608
+ const x = u.value.type;
1609
+ if (x === "ui")
1587
1610
  return B(
1588
1611
  "div",
1589
- {},
1590
- { default: () => i.value.view.nodeLites.map((m) => r(m)) }
1612
+ {
1613
+ id: n.id,
1614
+ style: m.value
1615
+ },
1616
+ {
1617
+ default: () => u.value?.view.nodeLites.map((h) => g(h))
1618
+ }
1619
+ );
1620
+ if (x === "3d")
1621
+ return B(
1622
+ ue,
1623
+ {
1624
+ name: n.name,
1625
+ position: d.value,
1626
+ rotation: f.value,
1627
+ scale: b.value
1628
+ },
1629
+ {
1630
+ default: () => u.value?.view.nodeLites.map((h) => g(h))
1631
+ }
1591
1632
  );
1592
1633
  };
1593
- return (p, c) => (w(), $(u));
1634
+ return (_, x) => (w(), $(k));
1594
1635
  }
1595
- }), Wr = /* @__PURE__ */ S({
1636
+ }), Er = /* @__PURE__ */ S({
1596
1637
  __name: "index",
1597
1638
  props: {
1598
1639
  nodeId: {},
@@ -1600,69 +1641,37 @@ const Vr = /* @__PURE__ */ We(Cr, [["render", $r]]), Pr = /* @__PURE__ */ S({
1600
1641
  refContext: {}
1601
1642
  },
1602
1643
  setup(t) {
1603
- const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "density"]), { property: i } = a(e, [
1604
- "settings",
1605
- "fixedFooter"
1606
- ]), { property: l } = a(e, [
1644
+ const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "content"]), { property: i } = a(e, ["settings", "dot"]), { theme: l } = H(), { property: r } = a(e, [
1607
1645
  "settings",
1608
- "fixedHeader"
1609
- ]), { property: r } = a(e, ["settings", "headers"]), { property: u } = a(e, ["size", "height"]), { property: p } = a(e, ["settings", "hover"]), { property: c } = a(e, ["settings", "data"], !0), { property: m } = a(e, ["settings", "loading"]), { property: d } = a(e, [
1646
+ "offset",
1647
+ "x"
1648
+ ]), { property: u } = a(e, [
1610
1649
  "settings",
1611
- "multiSort"
1612
- ]), { theme: f } = H(), { property: b } = a(e, ["size", "width"]), { property: g } = a(e, ["slots", "columns"]);
1613
- return (k, _) => {
1614
- const x = R("v-data-table");
1615
- return w(), $(s(j), {
1616
- block: "",
1617
- mask: ""
1618
- }, {
1619
- default: V(() => [
1620
- K(x, {
1621
- density: s(o),
1622
- "fixed-footer": s(i),
1623
- "fixed-header": s(l),
1624
- headers: s(r),
1625
- height: s(u),
1626
- hover: s(p),
1627
- items: s(c),
1628
- loading: s(m),
1629
- "multi-sort": s(d),
1630
- theme: s(f),
1631
- width: s(b)
1632
- }, rn({ _: 2 }, [
1633
- io(s(g), ({ key: h, comp: v }) => ({
1634
- name: `item.${h}`,
1635
- fn: V(({ value: L }) => [
1636
- K(Rr, {
1637
- "node-id": n.nodeId,
1638
- "ref-context": {
1639
- parent: n.refContext,
1640
- compId: v
1641
- },
1642
- value: L
1643
- }, null, 8, ["node-id", "ref-context", "value"])
1644
- ])
1645
- }))
1646
- ]), 1032, ["density", "fixed-footer", "fixed-header", "headers", "height", "hover", "items", "loading", "multi-sort", "theme", "width"])
1647
- ]),
1648
- _: 1
1649
- });
1650
- };
1651
- }
1652
- }), Br = /* @__PURE__ */ S({
1653
- __name: "index",
1654
- setup(t) {
1655
- return (n, e) => {
1656
- const o = R("v-date-picker");
1657
- return w(), $(s(j), { mask: "" }, {
1650
+ "offset",
1651
+ "y"
1652
+ ]);
1653
+ return (p, c) => {
1654
+ const m = R("v-badge");
1655
+ return w(), $(s(j), null, {
1658
1656
  default: V(() => [
1659
- K(o)
1657
+ K(m, {
1658
+ content: s(o),
1659
+ dot: s(i),
1660
+ "offset-x": s(r),
1661
+ "offset-y": s(u),
1662
+ theme: s(l)
1663
+ }, {
1664
+ default: V(() => [
1665
+ O(p.$slots, "default")
1666
+ ]),
1667
+ _: 3
1668
+ }, 8, ["content", "dot", "offset-x", "offset-y", "theme"])
1660
1669
  ]),
1661
- _: 1
1670
+ _: 3
1662
1671
  });
1663
1672
  };
1664
1673
  }
1665
- }), Kr = ["id"], Dr = /* @__PURE__ */ S({
1674
+ }), Tr = /* @__PURE__ */ S({
1666
1675
  __name: "index",
1667
1676
  props: {
1668
1677
  nodeId: {},
@@ -1670,32 +1679,76 @@ const Vr = /* @__PURE__ */ We(Cr, [["render", $r]]), Pr = /* @__PURE__ */ S({
1670
1679
  refContext: {}
1671
1680
  },
1672
1681
  setup(t) {
1673
- const n = t, e = Z(), { open: o } = Vi(`runtimeDlg/${Si()}`);
1674
- return pt(n.nodeId, "open", () => {
1675
- o.value = !0;
1676
- }), pt(n.nodeId, "close", () => {
1677
- o.value = !1;
1678
- }), (i, l) => {
1679
- const r = R("v-dialog");
1680
- return w(), $(r, {
1681
- modelValue: s(o),
1682
- "onUpdate:modelValue": l[0] || (l[0] = (u) => ne(o) ? o.value = u : null),
1683
- attach: "#dialogContainer"
1682
+ const n = t, { node: e } = P(n), o = _e(), { property: i } = a(e, [
1683
+ "settings",
1684
+ "addIcon",
1685
+ "append"
1686
+ ]), { property: l } = a(e, ["settings", "block"]), { property: r } = a(e, ["settings", "color"]), { color: u } = Q(r), { property: p } = a(e, ["settings", "density"]), { property: c } = a(e, [
1687
+ "settings",
1688
+ "disabled"
1689
+ ]), { property: m } = a(e, ["size", "height"]), { property: d } = a(e, ["settings", "loading"]), { property: f } = a(e, ["size", "maxHeight"]), { property: b } = a(e, ["size", "maxWidth"]), { property: g } = a(e, ["size", "minHeight"]), { property: k } = a(e, ["size", "minWidth"]), { property: _ } = a(e, [
1690
+ "settings",
1691
+ "addIcon",
1692
+ "prepend"
1693
+ ]), { property: x } = a(e, [
1694
+ "settings",
1695
+ "readonly"
1696
+ ]), { property: h } = a(e, ["settings", "ripple"]), { property: v } = a(e, ["settings", "size"]), { property: L } = a(e, ["settings", "stacked"]), { property: E } = a(e, ["settings", "text"]), { theme: J } = H(), { property: Y } = a(e, ["settings", "variant"]), { property: N } = a(e, ["size", "width"]), z = async (G) => {
1697
+ if (!o || !o.vm)
1698
+ return;
1699
+ const { vm: ie } = o;
1700
+ ie.setProp(ie.global, "__pointerPosX__", ie.newNumber(G.clientX)), ie.setProp(ie.global, "__pointerPosY__", ie.newNumber(G.clientY)), await o.callFunctionAsync(
1701
+ "__triggerEventV1__",
1702
+ oe("elementEvent", n.nodeId, "click"),
1703
+ ""
1704
+ );
1705
+ };
1706
+ return (G, ie) => {
1707
+ const ge = R("v-btn");
1708
+ return w(), $(s(j), {
1709
+ block: s(l),
1710
+ mask: ""
1684
1711
  }, {
1685
- activator: V(() => [
1686
- s(e) === "editor" ? (w(), te("div", {
1687
- key: 0,
1688
- id: `__node__@${n.nodeId}`
1689
- }, null, 8, Kr)) : re("", !0)
1690
- ]),
1691
1712
  default: V(() => [
1692
- O(i.$slots, "default")
1713
+ K(ge, {
1714
+ "append-icon": s(i),
1715
+ block: s(l),
1716
+ color: s(u),
1717
+ density: s(p),
1718
+ disabled: s(c),
1719
+ height: s(m),
1720
+ loading: s(d),
1721
+ "max-height": s(f),
1722
+ "max-width": s(b),
1723
+ "min-height": s(g),
1724
+ "min-width": s(k),
1725
+ "prepend-icon": s(_),
1726
+ readonly: s(x),
1727
+ ripple: s(h),
1728
+ size: s(v),
1729
+ stacked: s(L),
1730
+ text: s(E),
1731
+ theme: s(J),
1732
+ variant: s(Y),
1733
+ width: s(N),
1734
+ onClick: z
1735
+ }, null, 8, ["append-icon", "block", "color", "density", "disabled", "height", "loading", "max-height", "max-width", "min-height", "min-width", "prepend-icon", "readonly", "ripple", "size", "stacked", "text", "theme", "variant", "width"])
1693
1736
  ]),
1694
- _: 3
1695
- }, 8, ["modelValue"]);
1737
+ _: 1
1738
+ }, 8, ["block"]);
1696
1739
  };
1697
1740
  }
1698
- }), Or = /* @__PURE__ */ S({
1741
+ }), Ar = {};
1742
+ function Mr(t, n) {
1743
+ const e = R("v-btn-group");
1744
+ return w(), $(e, null, {
1745
+ default: V(() => [
1746
+ O(t.$slots, "default")
1747
+ ]),
1748
+ _: 3
1749
+ });
1750
+ }
1751
+ const Ur = /* @__PURE__ */ We(Ar, [["render", Mr]]), Rr = /* @__PURE__ */ S({
1699
1752
  __name: "index",
1700
1753
  props: {
1701
1754
  nodeId: {},
@@ -1703,47 +1756,42 @@ const Vr = /* @__PURE__ */ We(Cr, [["render", $r]]), Pr = /* @__PURE__ */ S({
1703
1756
  refContext: {}
1704
1757
  },
1705
1758
  setup(t) {
1706
- const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "chips"]), { property: i } = a(e, ["settings", "density"]), { property: l } = a(e, [
1707
- "settings",
1708
- "direction"
1709
- ]), { property: r } = a(e, [
1759
+ const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "block"]), { property: i } = a(e, [
1710
1760
  "settings",
1711
1761
  "disabled"
1712
- ]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { property: c } = a(e, [
1762
+ ]), { property: l } = a(e, ["settings", "divided"]), { property: r } = a(e, [
1763
+ "settings",
1764
+ "mandatory"
1765
+ ]), { property: u } = a(e, [
1713
1766
  "settings",
1714
1767
  "multiple"
1715
- ]), { property: m } = a(e, [
1768
+ ]), { property: p } = a(e, [
1716
1769
  "settings",
1717
1770
  "readonly"
1718
- ]), { property: d } = a(e, ["settings", "reverse"]), { property: f } = a(e, [
1719
- "settings",
1720
- "singleLine"
1721
- ]);
1722
- return (b, g) => {
1723
- const k = R("v-file-input");
1724
- return w(), $(s(j), {
1725
- block: "",
1726
- mask: ""
1771
+ ]), { property: c } = a(e, ["settings", "size"]), { property: m } = a(e, ["settings", "stacked"]), { theme: d } = H(), { property: f } = a(e, ["settings", "tile"]), { property: b } = a(e, ["settings", "variant"]);
1772
+ return (g, k) => {
1773
+ const _ = R("v-btn-toggle");
1774
+ return w(), $(_, {
1775
+ block: s(o),
1776
+ disabled: s(i),
1777
+ divided: s(l),
1778
+ mandatory: s(r),
1779
+ multiple: s(u),
1780
+ readonly: s(p),
1781
+ size: s(c),
1782
+ stacked: s(m),
1783
+ theme: s(d),
1784
+ tile: s(f),
1785
+ variant: s(b)
1727
1786
  }, {
1728
1787
  default: V(() => [
1729
- K(k, {
1730
- chips: s(o),
1731
- density: s(i),
1732
- direction: s(l),
1733
- disabled: s(r),
1734
- label: s(u),
1735
- loading: s(p),
1736
- multiple: s(c),
1737
- readonly: s(m),
1738
- reverse: s(d),
1739
- "single-line": s(f)
1740
- }, null, 8, ["chips", "density", "direction", "disabled", "label", "loading", "multiple", "readonly", "reverse", "single-line"])
1788
+ O(g.$slots, "default")
1741
1789
  ]),
1742
- _: 1
1743
- });
1790
+ _: 3
1791
+ }, 8, ["block", "disabled", "divided", "mandatory", "multiple", "readonly", "size", "stacked", "theme", "tile", "variant"]);
1744
1792
  };
1745
1793
  }
1746
- }), Fr = /* @__PURE__ */ S({
1794
+ }), Wr = /* @__PURE__ */ S({
1747
1795
  __name: "index",
1748
1796
  props: {
1749
1797
  nodeId: {},
@@ -1751,30 +1799,45 @@ const Vr = /* @__PURE__ */ We(Cr, [["render", $r]]), Pr = /* @__PURE__ */ S({
1751
1799
  refContext: {}
1752
1800
  },
1753
1801
  setup(t) {
1754
- const n = t, { node: e } = P(n), o = Ke(), i = Se(), l = le(), { applySize: r } = be(n, e), { applyMargin: u } = pn(e), { applyPadding: p } = mn(e), { applyBorder: c } = dn(e), { property: m } = a(e, [
1802
+ const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "density"]), { property: i } = a(e, [
1755
1803
  "settings",
1756
- "backgroundColor"
1757
- ]), { color: d } = Q(m), f = (g) => {
1758
- d.value && (g.backgroundColor = d.value), g.display = "flex";
1759
- const k = dt(o.value.width), _ = Fe(k, e.value.settings?.direction);
1760
- _ === "row" ? g.flexDirection = "row" : _ === "rowReverse" ? g.flexDirection = "row-reverse" : _ === "column" ? g.flexDirection = "column" : _ === "columnReverse" && (g.flexDirection = "column-reverse");
1761
- const x = Fe(k, e.value.settings?.wrap);
1762
- x === "no" ? g.flexWrap = "nowrap" : x === "yes" ? g.flexWrap = "wrap" : x === "reverse" && (g.flexWrap = "wrap-reverse");
1763
- const h = Fe(k, e.value.settings?.mainAlign);
1764
- h === "start" ? g.justifyContent = "flex-start" : h === "end" ? g.justifyContent = "flex-end" : h === "center" ? g.justifyContent = "center" : h === "spaceBetween" ? g.justifyContent = "space-between" : h === "spaceAround" ? g.justifyContent = "space-around" : h === "spaceEvenly" && (g.justifyContent = "space-evenly");
1765
- const v = Fe(k, e.value.settings?.crossAlign);
1766
- v === "start" ? g.alignItems = "flex-start" : v === "end" ? g.alignItems = "flex-end" : v === "center" ? g.alignItems = "center" : v === "baseline" ? g.alignItems = "baseline" : v === "stretch" && (g.alignItems = "stretch");
1767
- }, b = I(() => {
1768
- const g = {}, k = l.value?.type;
1769
- return i === "page" ? k === "ui" ? (r(g), u(g), p(g), c(g), f(g)) : console.assert(!1) : i === "comp" && k === "ui" ? (r(g), u(g), p(g), c(g), f(g)) : console.assert(!1), g;
1770
- });
1771
- return (g, k) => (w(), te("div", {
1772
- style: me(b.value)
1773
- }, [
1774
- O(g.$slots, "default")
1775
- ], 4));
1804
+ "disabled"
1805
+ ]), { property: l } = a(e, ["size", "height"]), { property: r } = a(e, ["settings", "hover"]), { property: u } = a(e, ["settings", "loading"]), { property: p } = a(e, ["size", "maxHeight"]), { property: c } = a(e, ["size", "maxWidth"]), { property: m } = a(e, ["size", "minHeight"]), { property: d } = a(e, ["size", "minWidth"]), { property: f } = a(e, [
1806
+ "settings",
1807
+ "subtitle"
1808
+ ]), { property: b } = a(e, ["settings", "text"]), { theme: g } = H(), { property: k } = a(e, ["settings", "title"]), { property: _ } = a(e, ["settings", "variant"]), { property: x } = a(e, ["size", "width"]);
1809
+ return (h, v) => {
1810
+ const L = R("v-card");
1811
+ return w(), $(s(j), { block: "" }, {
1812
+ default: V(() => [
1813
+ K(L, {
1814
+ density: s(o),
1815
+ disabled: s(i),
1816
+ height: s(l),
1817
+ hover: s(r),
1818
+ loading: s(u),
1819
+ "max-height": s(p),
1820
+ "max-width": s(c),
1821
+ "min-height": s(m),
1822
+ "min-width": s(d),
1823
+ subtitle: s(f),
1824
+ text: s(b),
1825
+ theme: s(g),
1826
+ title: s(k),
1827
+ variant: s(_),
1828
+ width: s(x)
1829
+ }, {
1830
+ default: V(() => [
1831
+ O(h.$slots, "default")
1832
+ ]),
1833
+ _: 3
1834
+ }, 8, ["density", "disabled", "height", "hover", "loading", "max-height", "max-width", "min-height", "min-width", "subtitle", "text", "theme", "title", "variant", "width"])
1835
+ ]),
1836
+ _: 3
1837
+ });
1838
+ };
1776
1839
  }
1777
- }), Nr = /* @__PURE__ */ S({
1840
+ }), Br = /* @__PURE__ */ S({
1778
1841
  __name: "index",
1779
1842
  props: {
1780
1843
  nodeId: {},
@@ -1782,17 +1845,27 @@ const Vr = /* @__PURE__ */ We(Cr, [["render", $r]]), Pr = /* @__PURE__ */ S({
1782
1845
  refContext: {}
1783
1846
  },
1784
1847
  setup(t) {
1785
- const n = t, { node: e } = P(n), o = Se(), i = le(), { applySize: l } = be(n, e), { property: r } = a(e, ["settings", "grow"]), { property: u } = a(e, ["settings", "shrink"]), p = I(() => {
1786
- const c = {}, m = i.value?.type;
1787
- return o === "page" ? m === "ui" ? (l(c), c.flexGrow = r.value ? 1 : 0, c.flexShrink = u.value ? 1 : 0) : console.assert(!1) : o === "comp" && m === "ui" ? (l(c), c.flexGrow = r.value ? 1 : 0, c.flexShrink = u.value ? 1 : 0) : console.assert(!1), c;
1788
- });
1789
- return (c, m) => (w(), te("div", {
1790
- style: me(p.value)
1791
- }, [
1792
- O(c.$slots, "default")
1793
- ], 4));
1848
+ const n = t, { node: e } = P(n), { property: o } = a(e, [
1849
+ "settings",
1850
+ "disabled"
1851
+ ]), { property: i } = a(e, [
1852
+ "settings",
1853
+ "readonly"
1854
+ ]);
1855
+ return (l, r) => {
1856
+ const u = R("v-checkbox");
1857
+ return w(), $(s(j), { mask: "" }, {
1858
+ default: V(() => [
1859
+ K(u, {
1860
+ disabled: s(o),
1861
+ readonly: s(i)
1862
+ }, null, 8, ["disabled", "readonly"])
1863
+ ]),
1864
+ _: 1
1865
+ });
1866
+ };
1794
1867
  }
1795
- }), jr = /* @__PURE__ */ S({
1868
+ }), Kr = /* @__PURE__ */ S({
1796
1869
  __name: "index",
1797
1870
  props: {
1798
1871
  nodeId: {},
@@ -1800,39 +1873,41 @@ const Vr = /* @__PURE__ */ We(Cr, [["render", $r]]), Pr = /* @__PURE__ */ S({
1800
1873
  refContext: {}
1801
1874
  },
1802
1875
  setup(t) {
1803
- const n = t, { node: e } = P(n), o = Se(), i = le(), l = _e(), { property: r } = a(e, ["settings", "valid"]), { property: u } = a(e, [
1876
+ const n = t, { node: e } = P(n), { property: o } = a(e, [
1804
1877
  "settings",
1805
- "fastFail"
1878
+ "closable"
1879
+ ]), { property: i } = a(e, ["settings", "color"]), { color: l } = Q(i), { property: r } = a(e, ["settings", "density"]), { property: u } = a(e, [
1880
+ "settings",
1881
+ "disabled"
1806
1882
  ]), { property: p } = a(e, [
1807
1883
  "settings",
1808
- "backgroundColor"
1809
- ]), { color: c } = Q(p), { applySize: m } = be(n, e), { applyMargin: d } = pn(e), { applyPadding: f } = mn(e), { applyBorder: b } = dn(e), g = I(() => {
1810
- const _ = {}, x = i.value?.type;
1811
- return o === "page" ? x === "ui" ? (m(_), d(_), f(_), b(_), c.value && (_.backgroundColor = c.value)) : console.assert(!1) : o === "comp" && x === "ui" ? (m(_), d(_), f(_), b(_), c.value && (_.backgroundColor = c.value)) : console.assert(!1), _;
1812
- }), k = async () => {
1813
- await l?.callFunctionAsync(
1814
- "__triggerEventV1__",
1815
- oe("elementEvent", n.nodeId, "submit"),
1816
- ""
1817
- );
1818
- };
1819
- return (_, x) => {
1820
- const h = R("v-form");
1821
- return w(), $(h, {
1822
- modelValue: s(r),
1823
- "onUpdate:modelValue": x[0] || (x[0] = (v) => ne(r) ? r.value = v : null),
1824
- "fast-fail": s(u),
1825
- style: me(g.value),
1826
- onSubmit: oo(k, ["prevent"])
1827
- }, {
1884
+ "draggable"
1885
+ ]), { property: c } = a(e, ["settings", "filter"]), { property: m } = a(e, ["settings", "label"]), { property: d } = a(e, ["settings", "size"]), { property: f } = a(e, ["settings", "text"]), { theme: b } = H(), { property: g } = a(e, ["settings", "tile"]), { property: k } = a(e, ["settings", "value"]), { property: _ } = a(e, ["settings", "variant"]);
1886
+ return (x, h) => {
1887
+ const v = R("v-chip");
1888
+ return w(), $(s(j), { mask: "" }, {
1828
1889
  default: V(() => [
1829
- O(_.$slots, "default")
1890
+ K(v, {
1891
+ closable: s(o),
1892
+ color: s(l),
1893
+ density: s(r),
1894
+ disabled: s(u),
1895
+ draggable: s(p),
1896
+ filter: s(c),
1897
+ label: s(m),
1898
+ size: s(d),
1899
+ text: s(f),
1900
+ theme: s(b),
1901
+ tile: s(g),
1902
+ value: s(k),
1903
+ variant: s(_)
1904
+ }, null, 8, ["closable", "color", "density", "disabled", "draggable", "filter", "label", "size", "text", "theme", "tile", "value", "variant"])
1830
1905
  ]),
1831
- _: 3
1832
- }, 8, ["modelValue", "fast-fail", "style"]);
1906
+ _: 1
1907
+ });
1833
1908
  };
1834
1909
  }
1835
- }), Hr = /* @__PURE__ */ S({
1910
+ }), Dr = /* @__PURE__ */ S({
1836
1911
  __name: "index",
1837
1912
  props: {
1838
1913
  nodeId: {},
@@ -1840,61 +1915,44 @@ const Vr = /* @__PURE__ */ We(Cr, [["render", $r]]), Pr = /* @__PURE__ */ S({
1840
1915
  refContext: {}
1841
1916
  },
1842
1917
  setup(t) {
1843
- const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "color"]), { color: i } = Q(o), { property: l } = a(e, [
1918
+ const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "column"]), { property: i } = a(e, [
1919
+ "settings",
1920
+ "direction"
1921
+ ]), { property: l } = a(e, [
1844
1922
  "settings",
1845
1923
  "disabled"
1846
- ]), { property: r } = a(e, ["settings", "icon"]), { property: u } = a(e, ["settings", "size"]), { theme: p } = H();
1847
- return (c, m) => {
1848
- const d = R("v-icon");
1849
- return w(), $(d, {
1850
- color: s(i),
1924
+ ]), { property: r } = a(e, ["settings", "filter"]), { property: u } = a(e, [
1925
+ "settings",
1926
+ "mandatory"
1927
+ ]), { property: p } = a(e, [
1928
+ "settings",
1929
+ "multiple"
1930
+ ]), { property: c } = a(e, [
1931
+ "settings",
1932
+ "showArrows"
1933
+ ]), { theme: m } = H(), { property: d } = a(e, ["settings", "value"]);
1934
+ return (f, b) => {
1935
+ const g = R("v-chip-group");
1936
+ return w(), $(g, {
1937
+ modelValue: s(d),
1938
+ "onUpdate:modelValue": b[0] || (b[0] = (k) => ne(d) ? d.value = k : null),
1939
+ column: s(o),
1940
+ direction: s(i),
1851
1941
  disabled: s(l),
1852
- icon: s(r),
1853
- size: s(u),
1854
- theme: s(p)
1855
- }, null, 8, ["color", "disabled", "icon", "size", "theme"]);
1856
- };
1857
- }
1858
- }), Jr = ["id"], Gr = /* @__PURE__ */ S({
1859
- __name: "index",
1860
- props: {
1861
- nodeId: {},
1862
- outer: { type: Boolean },
1863
- refContext: {}
1864
- },
1865
- setup(t) {
1866
- const n = t, e = Z(), o = _e(), i = se(0), l = se(0), r = I(() => [i.value, l.value]), { open: u } = Vi(`runtimeMenu/${Si()}`);
1867
- return pt(n.nodeId, "open", () => {
1868
- if (!o || !o.vm)
1869
- return;
1870
- const { vm: p } = o, c = p.getProp(p.global, "__pointerPosX__"), m = p.getProp(p.global, "__pointerPosY__");
1871
- i.value = p.getNumber(c), l.value = p.getNumber(m), c.dispose(), m.dispose(), u.value = !0;
1872
- }), pt(n.nodeId, "close", () => {
1873
- o && (u.value = !1);
1874
- }), (p, c) => {
1875
- const m = R("v-menu");
1876
- return w(), $(m, {
1877
- modelValue: s(u),
1878
- "onUpdate:modelValue": c[0] || (c[0] = (d) => ne(u) ? u.value = d : null),
1879
- attach: "menuContainer",
1880
- "location-strategy": "connected",
1881
- scrim: "transparent",
1882
- target: r.value
1942
+ filter: s(r),
1943
+ mandatory: s(u),
1944
+ multiple: s(p),
1945
+ "show-arrows": s(c),
1946
+ theme: s(m)
1883
1947
  }, {
1884
- activator: V(() => [
1885
- s(e) === "editor" ? (w(), te("div", {
1886
- key: 0,
1887
- id: `__node__@${n.nodeId}`
1888
- }, null, 8, Jr)) : re("", !0)
1889
- ]),
1890
1948
  default: V(() => [
1891
- O(p.$slots, "default")
1949
+ O(f.$slots, "default")
1892
1950
  ]),
1893
1951
  _: 3
1894
- }, 8, ["modelValue", "target"]);
1952
+ }, 8, ["modelValue", "column", "direction", "disabled", "filter", "mandatory", "multiple", "show-arrows", "theme"]);
1895
1953
  };
1896
1954
  }
1897
- }), qr = /* @__PURE__ */ S({
1955
+ }), Or = /* @__PURE__ */ S({
1898
1956
  __name: "index",
1899
1957
  props: {
1900
1958
  nodeId: {},
@@ -1902,81 +1960,52 @@ const Vr = /* @__PURE__ */ We(Cr, [["render", $r]]), Pr = /* @__PURE__ */ S({
1902
1960
  refContext: {}
1903
1961
  },
1904
1962
  setup(t) {
1905
- const n = t, { node: e } = P(n), { property: o } = a(e, [
1906
- "settings",
1907
- "addIcon",
1908
- "append"
1909
- ]), { property: i } = a(e, [
1910
- "settings",
1911
- "addIcon",
1912
- "appendInner"
1913
- ]), { property: l } = a(e, [
1914
- "settings",
1915
- "clearable"
1916
- ]), { property: r } = a(e, [
1963
+ const n = t, { node: e } = P(n), o = Se(), i = le(), { applySize: l } = be(n, e), r = I(() => {
1964
+ const k = {}, _ = i.value?.type;
1965
+ return o === "page" ? _ === "ui" ? l(k) : console.assert(!1) : o === "comp" && _ === "ui" ? l(k) : console.assert(!1), k;
1966
+ }), { property: u } = a(e, [
1917
1967
  "settings",
1918
- "hideDetails"
1919
- ]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { property: c } = a(e, ["settings", "max"]), { property: m } = a(e, ["size", "maxWidth"]), { property: d } = a(e, ["settings", "min"]), { property: f } = a(e, ["size", "minWidth"]), { property: b } = a(e, [
1968
+ "disabled"
1969
+ ]), { property: p } = a(e, [
1920
1970
  "settings",
1921
- "placeholder"
1922
- ]), { property: g } = a(e, [
1971
+ "hideCanvas"
1972
+ ]), { property: c } = a(e, [
1923
1973
  "settings",
1924
- "precision"
1925
- ]), { property: k } = a(e, ["settings", "prefix"]), { property: _ } = a(e, [
1974
+ "hideHeader"
1975
+ ]), { property: m } = a(e, [
1926
1976
  "settings",
1927
- "addIcon",
1928
- "prepend"
1929
- ]), { property: x } = a(e, [
1977
+ "hideInputs"
1978
+ ]), { property: d } = a(e, [
1930
1979
  "settings",
1931
- "addIcon",
1932
- "prependInner"
1933
- ]), { property: h } = a(e, [
1980
+ "hideSliders"
1981
+ ]), { property: f } = a(e, [
1934
1982
  "settings",
1935
- "readonly"
1936
- ]), { property: v } = a(e, ["settings", "reverse"]), { property: L } = a(e, [
1983
+ "landscape"
1984
+ ]), { property: b } = a(e, [
1937
1985
  "settings",
1938
- "singleLine"
1939
- ]), { property: E } = a(e, ["settings", "step"]), { property: J } = a(e, ["settings", "suffix"]), { theme: Y } = H(), { property: N } = a(e, ["settings", "value"]), { property: z } = a(e, ["settings", "variant"]), { property: G } = a(e, ["size", "width"]);
1940
- return (ie, ge) => {
1941
- const ze = R("v-number-input");
1942
- return w(), $(s(j), {
1943
- block: "",
1944
- mask: ""
1945
- }, {
1986
+ "showSwatches"
1987
+ ]), { theme: g } = H();
1988
+ return (k, _) => {
1989
+ const x = R("v-color-picker");
1990
+ return w(), $(s(j), { mask: "" }, {
1946
1991
  default: V(() => [
1947
- K(ze, {
1948
- modelValue: s(N),
1949
- "onUpdate:modelValue": ge[0] || (ge[0] = (ve) => ne(N) ? N.value = ve : null),
1950
- "append-icon": s(o),
1951
- "append-inner-icon": s(i),
1952
- clearable: s(l),
1953
- "hide-details": s(r),
1954
- label: s(u),
1955
- loading: s(p),
1956
- max: s(c),
1957
- "max-width": s(m),
1958
- min: s(d),
1959
- "min-width": s(f),
1960
- placeholder: s(b),
1961
- precision: s(g),
1962
- prefix: s(k),
1963
- "prepend-icon": s(_),
1964
- "prepend-inner-icon": s(x),
1965
- readonly: s(h),
1966
- reverse: s(v),
1967
- "single-line": s(L),
1968
- step: s(E),
1969
- suffix: s(J),
1970
- theme: s(Y),
1971
- variant: s(z),
1972
- width: s(G)
1973
- }, null, 8, ["modelValue", "append-icon", "append-inner-icon", "clearable", "hide-details", "label", "loading", "max", "max-width", "min", "min-width", "placeholder", "precision", "prefix", "prepend-icon", "prepend-inner-icon", "readonly", "reverse", "single-line", "step", "suffix", "theme", "variant", "width"])
1992
+ K(x, {
1993
+ disabled: s(u),
1994
+ "hide-canvas": s(p),
1995
+ "hide-header": s(c),
1996
+ "hide-inputs": s(m),
1997
+ "hide-sliders": s(d),
1998
+ landscape: s(f),
1999
+ "show-swatches": s(b),
2000
+ style: me(r.value),
2001
+ theme: s(g)
2002
+ }, null, 8, ["disabled", "hide-canvas", "hide-header", "hide-inputs", "hide-sliders", "landscape", "show-swatches", "style", "theme"])
1974
2003
  ]),
1975
2004
  _: 1
1976
2005
  });
1977
2006
  };
1978
2007
  }
1979
- }), Xr = /* @__PURE__ */ S({
2008
+ }), Fr = /* @__PURE__ */ S({
1980
2009
  __name: "index",
1981
2010
  props: {
1982
2011
  nodeId: {},
@@ -1984,43 +2013,39 @@ const Vr = /* @__PURE__ */ We(Cr, [["render", $r]]), Pr = /* @__PURE__ */ S({
1984
2013
  refContext: {}
1985
2014
  },
1986
2015
  setup(t) {
1987
- const n = t, { node: e } = P(n), o = Z(), { property: i } = a(e, ["settings", "density"]), { property: l } = a(e, [
2016
+ const n = t, { node: e } = P(n), { property: o } = a(e, [
1988
2017
  "settings",
1989
- "disabled"
1990
- ]), { property: r } = a(e, ["settings", "length"]), { property: u } = a(e, [
2018
+ "hideDetails"
2019
+ ]), { property: i } = a(e, ["settings", "label"]), { property: l } = a(e, [
1991
2020
  "settings",
1992
- "showFirstLastPage"
1993
- ]), { property: p } = a(e, ["settings", "size"]), { property: c } = a(e, ["settings", "start"]), { theme: m } = H(), { property: d } = a(e, ["settings", "tile"]), { property: f } = a(e, ["settings", "value"]), { property: b } = a(e, ["settings", "variant"]), g = I(() => {
1994
- const k = {};
1995
- return o === "editor" && (k.pointerEvents = "none"), k;
1996
- });
1997
- return (k, _) => {
1998
- const x = R("v-pagination");
1999
- return w(), $(s(j), {
2000
- block: "",
2001
- mask: ""
2002
- }, {
2021
+ "placeholder"
2022
+ ]), { property: r } = a(e, [
2023
+ "settings",
2024
+ "readonly"
2025
+ ]), { property: u } = a(e, [
2026
+ "settings",
2027
+ "singleLine"
2028
+ ]), { theme: p } = H(), { property: c } = a(e, ["settings", "value"]);
2029
+ return (m, d) => {
2030
+ const f = R("v-combobox");
2031
+ return w(), $(s(j), { mask: "" }, {
2003
2032
  default: V(() => [
2004
- K(x, {
2005
- modelValue: s(f),
2006
- "onUpdate:modelValue": _[0] || (_[0] = (h) => ne(f) ? f.value = h : null),
2007
- density: s(i),
2008
- disabled: s(l),
2009
- length: s(r),
2010
- "show-first-last-page": s(u),
2011
- size: s(p),
2012
- start: s(c),
2013
- style: me(g.value),
2014
- theme: s(m),
2015
- tile: s(d),
2016
- variant: s(b)
2017
- }, null, 8, ["modelValue", "density", "disabled", "length", "show-first-last-page", "size", "start", "style", "theme", "tile", "variant"])
2033
+ K(f, {
2034
+ modelValue: s(c),
2035
+ "onUpdate:modelValue": d[0] || (d[0] = (b) => ne(c) ? c.value = b : null),
2036
+ "hide-details": s(o),
2037
+ label: s(i),
2038
+ placeholder: s(l),
2039
+ readonly: s(r),
2040
+ "single-line": s(u),
2041
+ theme: s(p)
2042
+ }, null, 8, ["modelValue", "hide-details", "label", "placeholder", "readonly", "single-line", "theme"])
2018
2043
  ]),
2019
2044
  _: 1
2020
2045
  });
2021
2046
  };
2022
2047
  }
2023
- }), Yr = /* @__PURE__ */ S({
2048
+ }), Nr = /* @__PURE__ */ S({
2024
2049
  __name: "index",
2025
2050
  props: {
2026
2051
  nodeId: {},
@@ -2028,27 +2053,78 @@ const Vr = /* @__PURE__ */ We(Cr, [["render", $r]]), Pr = /* @__PURE__ */ S({
2028
2053
  refContext: {}
2029
2054
  },
2030
2055
  setup(t) {
2031
- const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "color"]), { color: i } = Q(o), { property: l } = a(e, ["settings", "density"]), { property: r } = a(e, [
2032
- "settings",
2033
- "disabled"
2034
- ]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, [
2056
+ const n = t, { node: e } = P(n), o = Se(), i = le(), { property: l } = a(e, [
2035
2057
  "settings",
2036
- "readonly"
2037
- ]), { theme: c } = H(), { property: m } = a(e, ["settings", "value"]);
2038
- return (d, f) => {
2039
- const b = R("v-radio");
2040
- return w(), $(b, {
2041
- color: s(i),
2042
- density: s(l),
2043
- disabled: s(r),
2044
- label: s(u),
2045
- readonly: s(p),
2046
- theme: s(c),
2047
- value: s(m)
2048
- }, null, 8, ["color", "density", "disabled", "label", "readonly", "theme", "value"]);
2058
+ "backgroundColor"
2059
+ ]), { color: r } = Q(l), { applySize: u } = be(n, e), { applyMargin: p } = pn(e), { applyPadding: c } = mn(e), { applyBorder: m } = dn(e), d = I(() => {
2060
+ const f = {}, b = i.value?.type;
2061
+ return o === "page" ? b === "ui" ? (u(f), p(f), c(f), m(f), r.value && (f.backgroundColor = r.value)) : console.assert(!1) : o === "comp" && b === "ui" ? (u(f), p(f), c(f), m(f), r.value && (f.backgroundColor = r.value)) : console.assert(!1), f;
2062
+ });
2063
+ return (f, b) => (w(), $(s(j), { block: "" }, {
2064
+ default: V(() => [
2065
+ Ue("div", {
2066
+ style: me(d.value)
2067
+ }, [
2068
+ O(f.$slots, "default")
2069
+ ], 4)
2070
+ ]),
2071
+ _: 3
2072
+ }));
2073
+ }
2074
+ }), jr = /* @__PURE__ */ S({
2075
+ __name: "columnSlot",
2076
+ props: {
2077
+ nodeId: {},
2078
+ refContext: {},
2079
+ value: {}
2080
+ },
2081
+ setup(t) {
2082
+ const n = t, e = Z(), o = Qe(), i = se();
2083
+ Pe(i);
2084
+ const l = I(() => n.refContext.compId);
2085
+ et(l, i), ke(e) && tt(i, "elementSlot", "", "", _e());
2086
+ function r(p) {
2087
+ const c = we[p.key];
2088
+ if (!c) {
2089
+ console.assert(!1, `element not found key=${p.key}`);
2090
+ return;
2091
+ }
2092
+ const m = {
2093
+ nodeId: p.id
2094
+ };
2095
+ return Xe(p.key) && (m.refContext = {
2096
+ parent: n.refContext,
2097
+ compId: p.compId
2098
+ }), B(
2099
+ c.comp,
2100
+ {
2101
+ key: p.id,
2102
+ ...m
2103
+ },
2104
+ {
2105
+ default: () => {
2106
+ if (!c.leaf)
2107
+ return p.children?.map((d) => r(d));
2108
+ }
2109
+ }
2110
+ );
2111
+ }
2112
+ const u = () => {
2113
+ const { i18n: p } = he;
2114
+ if (Ye(n.refContext, o))
2115
+ return B("div", null, p.global.t("x-runtime-lib.circularReference"));
2116
+ if (!i.value)
2117
+ return;
2118
+ if (i.value.type === "ui")
2119
+ return B(
2120
+ "div",
2121
+ {},
2122
+ { default: () => i.value.view.nodeLites.map((m) => r(m)) }
2123
+ );
2049
2124
  };
2125
+ return (p, c) => (w(), $(u));
2050
2126
  }
2051
- }), Zr = /* @__PURE__ */ S({
2127
+ }), Hr = /* @__PURE__ */ S({
2052
2128
  __name: "index",
2053
2129
  props: {
2054
2130
  nodeId: {},
@@ -2058,134 +2134,67 @@ const Vr = /* @__PURE__ */ We(Cr, [["render", $r]]), Pr = /* @__PURE__ */ S({
2058
2134
  setup(t) {
2059
2135
  const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "density"]), { property: i } = a(e, [
2060
2136
  "settings",
2061
- "direction"
2137
+ "fixedFooter"
2062
2138
  ]), { property: l } = a(e, [
2063
2139
  "settings",
2064
- "disabled"
2065
- ]), { property: r } = a(e, ["settings", "inline"]), { property: u } = a(e, [
2140
+ "fixedHeader"
2141
+ ]), { property: r } = a(e, ["settings", "headers"]), { property: u } = a(e, ["size", "height"]), { property: p } = a(e, ["settings", "hover"]), { property: c } = a(e, ["settings", "data"], !0), { property: m } = a(e, ["settings", "loading"]), { property: d } = a(e, [
2066
2142
  "settings",
2067
- "readonly"
2068
- ]), { theme: p } = H(), { property: c } = a(e, ["settings", "value"]);
2069
- return (m, d) => {
2070
- const f = R("v-radio-group");
2071
- return w(), $(s(j), null, {
2143
+ "multiSort"
2144
+ ]), { theme: f } = H(), { property: b } = a(e, ["size", "width"]), { property: g } = a(e, ["slots", "columns"]);
2145
+ return (k, _) => {
2146
+ const x = R("v-data-table");
2147
+ return w(), $(s(j), {
2148
+ block: "",
2149
+ mask: ""
2150
+ }, {
2072
2151
  default: V(() => [
2073
- K(f, {
2074
- modelValue: s(c),
2075
- "onUpdate:modelValue": d[0] || (d[0] = (b) => ne(c) ? c.value = b : null),
2152
+ K(x, {
2076
2153
  density: s(o),
2077
- direction: s(i),
2078
- disabled: s(l),
2079
- inline: s(r),
2080
- readonly: s(u),
2081
- theme: s(p)
2082
- }, {
2083
- default: V(() => [
2084
- O(m.$slots, "default")
2085
- ]),
2086
- _: 3
2087
- }, 8, ["modelValue", "density", "direction", "disabled", "inline", "readonly", "theme"])
2154
+ "fixed-footer": s(i),
2155
+ "fixed-header": s(l),
2156
+ headers: s(r),
2157
+ height: s(u),
2158
+ hover: s(p),
2159
+ items: s(c),
2160
+ loading: s(m),
2161
+ "multi-sort": s(d),
2162
+ theme: s(f),
2163
+ width: s(b)
2164
+ }, rn({ _: 2 }, [
2165
+ io(s(g), ({ key: h, comp: v }) => ({
2166
+ name: `item.${h}`,
2167
+ fn: V(({ value: L }) => [
2168
+ K(jr, {
2169
+ "node-id": n.nodeId,
2170
+ "ref-context": {
2171
+ parent: n.refContext,
2172
+ compId: v
2173
+ },
2174
+ value: L
2175
+ }, null, 8, ["node-id", "ref-context", "value"])
2176
+ ])
2177
+ }))
2178
+ ]), 1032, ["density", "fixed-footer", "fixed-header", "headers", "height", "hover", "items", "loading", "multi-sort", "theme", "width"])
2088
2179
  ]),
2089
- _: 3
2180
+ _: 1
2090
2181
  });
2091
2182
  };
2092
2183
  }
2093
- }), Qr = /* @__PURE__ */ S({
2184
+ }), Jr = /* @__PURE__ */ S({
2094
2185
  __name: "index",
2095
- props: {
2096
- nodeId: {},
2097
- outer: { type: Boolean },
2098
- refContext: {}
2099
- },
2100
2186
  setup(t) {
2101
- const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "density"]), { property: i } = a(e, [
2102
- "settings",
2103
- "direction"
2104
- ]), { property: l } = a(e, [
2105
- "settings",
2106
- "disabled"
2107
- ]), { property: r } = a(e, [
2108
- "settings",
2109
- "hideDetails"
2110
- ]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "max"]), { property: c } = a(e, ["settings", "min"]), { property: m } = a(e, [
2111
- "settings",
2112
- "readonly"
2113
- ]), { property: d } = a(e, [
2114
- "settings",
2115
- "showTicks"
2116
- ]), f = I(() => {
2117
- if (d.value === "always")
2118
- return "always";
2119
- if (d.value === "show")
2120
- return !0;
2121
- }), { property: b } = a(e, ["settings", "step"]), { theme: g } = H(), { property: k } = a(e, [
2122
- "settings",
2123
- "thumbLabel"
2124
- ]), _ = I(() => {
2125
- if (k.value === "always")
2126
- return "always";
2127
- if (k.value === "show")
2128
- return !0;
2129
- }), { property: x } = a(e, [
2130
- "settings",
2131
- "thumbSize"
2132
- ]), { property: h } = a(e, ["settings", "ticks"]), v = I(() => {
2133
- if (!h.value)
2134
- return;
2135
- const N = {};
2136
- for (const { value: z, label: G } of h.value)
2137
- N[z] = G;
2138
- if (!Mi(N))
2139
- return N;
2140
- }), { property: L } = a(e, [
2141
- "settings",
2142
- "tickSize"
2143
- ]), { property: E } = a(e, [
2144
- "settings",
2145
- "value",
2146
- "start"
2147
- ]), { property: J } = a(e, [
2148
- "settings",
2149
- "value",
2150
- "end"
2151
- ]), Y = I({
2152
- get: () => [E.value, J.value],
2153
- set: ([N, z]) => {
2154
- E.value = N, J.value = z;
2155
- }
2156
- });
2157
- return (N, z) => {
2158
- const G = R("v-range-slider");
2159
- return w(), $(s(j), {
2160
- block: "",
2161
- mask: ""
2162
- }, {
2187
+ return (n, e) => {
2188
+ const o = R("v-date-picker");
2189
+ return w(), $(s(j), { mask: "" }, {
2163
2190
  default: V(() => [
2164
- K(G, {
2165
- modelValue: Y.value,
2166
- "onUpdate:modelValue": z[0] || (z[0] = (ie) => Y.value = ie),
2167
- density: s(o),
2168
- direction: s(i),
2169
- disabled: s(l),
2170
- "hide-details": s(r),
2171
- label: s(u),
2172
- max: s(p),
2173
- min: s(c),
2174
- readonly: s(m),
2175
- "show-ticks": f.value,
2176
- step: s(b),
2177
- theme: s(g),
2178
- "thumb-label": _.value,
2179
- "thumb-size": s(x),
2180
- "tick-size": s(L),
2181
- ticks: v.value
2182
- }, null, 8, ["modelValue", "density", "direction", "disabled", "hide-details", "label", "max", "min", "readonly", "show-ticks", "step", "theme", "thumb-label", "thumb-size", "tick-size", "ticks"])
2191
+ K(o)
2183
2192
  ]),
2184
2193
  _: 1
2185
2194
  });
2186
2195
  };
2187
2196
  }
2188
- }), el = /* @__PURE__ */ S({
2197
+ }), Gr = ["id"], qr = /* @__PURE__ */ S({
2189
2198
  __name: "index",
2190
2199
  props: {
2191
2200
  nodeId: {},
@@ -2193,41 +2202,32 @@ const Vr = /* @__PURE__ */ We(Cr, [["render", $r]]), Pr = /* @__PURE__ */ S({
2193
2202
  refContext: {}
2194
2203
  },
2195
2204
  setup(t) {
2196
- const n = t, { node: e } = P(n), { property: o } = a(e, [
2197
- "settings",
2198
- "clearable"
2199
- ]), { property: i } = a(e, ["settings", "density"]), { property: l } = a(e, [
2200
- "settings",
2201
- "disabled"
2202
- ]), { property: r } = a(e, [
2203
- "settings",
2204
- "halfIncrements"
2205
- ]), { property: u } = a(e, ["settings", "hover"]), { property: p } = a(e, ["settings", "length"]), { property: c } = a(e, [
2206
- "settings",
2207
- "readonly"
2208
- ]), { theme: m } = H(), { property: d } = a(e, ["settings", "value"]);
2209
- return (f, b) => {
2210
- const g = R("v-rating");
2211
- return w(), $(s(j), { mask: "" }, {
2205
+ const n = t, e = Z(), { open: o } = Vi(`runtimeDlg/${Ci()}`);
2206
+ return pt(n.nodeId, "open", () => {
2207
+ o.value = !0;
2208
+ }), pt(n.nodeId, "close", () => {
2209
+ o.value = !1;
2210
+ }), (i, l) => {
2211
+ const r = R("v-dialog");
2212
+ return w(), $(r, {
2213
+ modelValue: s(o),
2214
+ "onUpdate:modelValue": l[0] || (l[0] = (u) => ne(o) ? o.value = u : null),
2215
+ attach: "#dialogContainer"
2216
+ }, {
2217
+ activator: V(() => [
2218
+ s(e) === "editor" ? (w(), te("div", {
2219
+ key: 0,
2220
+ id: `__node__@${n.nodeId}`
2221
+ }, null, 8, Gr)) : re("", !0)
2222
+ ]),
2212
2223
  default: V(() => [
2213
- K(g, {
2214
- modelValue: s(d),
2215
- "onUpdate:modelValue": b[0] || (b[0] = (k) => ne(d) ? d.value = k : null),
2216
- clearable: s(o),
2217
- density: s(i),
2218
- disabled: s(l),
2219
- "half-increments": s(r),
2220
- hover: s(u),
2221
- length: s(p),
2222
- readonly: s(c),
2223
- theme: s(m)
2224
- }, null, 8, ["modelValue", "clearable", "density", "disabled", "half-increments", "hover", "length", "readonly", "theme"])
2224
+ O(i.$slots, "default")
2225
2225
  ]),
2226
- _: 1
2227
- });
2226
+ _: 3
2227
+ }, 8, ["modelValue"]);
2228
2228
  };
2229
2229
  }
2230
- }), tl = /* @__PURE__ */ S({
2230
+ }), Xr = /* @__PURE__ */ S({
2231
2231
  __name: "index",
2232
2232
  props: {
2233
2233
  nodeId: {},
@@ -2235,42 +2235,47 @@ const Vr = /* @__PURE__ */ We(Cr, [["render", $r]]), Pr = /* @__PURE__ */ S({
2235
2235
  refContext: {}
2236
2236
  },
2237
2237
  setup(t) {
2238
- const n = t, { node: e } = P(n), { property: o } = a(e, [
2239
- "settings",
2240
- "hideDetails"
2241
- ]), { property: i } = a(e, ["settings", "label"]), { property: l } = a(e, [
2238
+ const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "chips"]), { property: i } = a(e, ["settings", "density"]), { property: l } = a(e, [
2242
2239
  "settings",
2243
- "placeholder"
2240
+ "direction"
2244
2241
  ]), { property: r } = a(e, [
2242
+ "settings",
2243
+ "disabled"
2244
+ ]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { property: c } = a(e, [
2245
+ "settings",
2246
+ "multiple"
2247
+ ]), { property: m } = a(e, [
2245
2248
  "settings",
2246
2249
  "readonly"
2247
- ]), { property: u } = a(e, [
2250
+ ]), { property: d } = a(e, ["settings", "reverse"]), { property: f } = a(e, [
2248
2251
  "settings",
2249
2252
  "singleLine"
2250
- ]), { theme: p } = H(), { property: c } = a(e, ["settings", "value"]);
2251
- return (m, d) => {
2252
- const f = R("v-select");
2253
+ ]);
2254
+ return (b, g) => {
2255
+ const k = R("v-file-input");
2253
2256
  return w(), $(s(j), {
2254
2257
  block: "",
2255
2258
  mask: ""
2256
2259
  }, {
2257
2260
  default: V(() => [
2258
- K(f, {
2259
- modelValue: s(c),
2260
- "onUpdate:modelValue": d[0] || (d[0] = (b) => ne(c) ? c.value = b : null),
2261
- "hide-details": s(o),
2262
- label: s(i),
2263
- placeholder: s(l),
2264
- readonly: s(r),
2265
- "single-line": s(u),
2266
- theme: s(p)
2267
- }, null, 8, ["modelValue", "hide-details", "label", "placeholder", "readonly", "single-line", "theme"])
2261
+ K(k, {
2262
+ chips: s(o),
2263
+ density: s(i),
2264
+ direction: s(l),
2265
+ disabled: s(r),
2266
+ label: s(u),
2267
+ loading: s(p),
2268
+ multiple: s(c),
2269
+ readonly: s(m),
2270
+ reverse: s(d),
2271
+ "single-line": s(f)
2272
+ }, null, 8, ["chips", "density", "direction", "disabled", "label", "loading", "multiple", "readonly", "reverse", "single-line"])
2268
2273
  ]),
2269
2274
  _: 1
2270
2275
  });
2271
2276
  };
2272
2277
  }
2273
- }), nl = /* @__PURE__ */ S({
2278
+ }), Yr = /* @__PURE__ */ S({
2274
2279
  __name: "index",
2275
2280
  props: {
2276
2281
  nodeId: {},
@@ -2278,113 +2283,30 @@ const Vr = /* @__PURE__ */ We(Cr, [["render", $r]]), Pr = /* @__PURE__ */ S({
2278
2283
  refContext: {}
2279
2284
  },
2280
2285
  setup(t) {
2281
- const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "color"]), { color: i } = Q(o), { property: l } = a(e, [
2282
- "settings",
2283
- "direction"
2284
- ]), { property: r } = a(e, [
2285
- "settings",
2286
- "disabled"
2287
- ]), { property: u } = a(e, [
2288
- "settings",
2289
- "hideDetails"
2290
- ]), { property: p } = a(e, ["settings", "label"]), { property: c } = a(e, ["settings", "max"]), { property: m } = a(e, ["settings", "min"]), { property: d } = a(e, [
2291
- "settings",
2292
- "readonly"
2293
- ]), { property: f } = a(e, ["settings", "reverse"]), { property: b } = a(e, [
2294
- "settings",
2295
- "showTicks"
2296
- ]), g = I(() => {
2297
- if (b.value === "always")
2298
- return "always";
2299
- if (b.value === "show")
2300
- return !0;
2301
- }), { property: k } = a(e, ["settings", "step"]), { theme: _ } = H(), { property: x } = a(e, [
2302
- "settings",
2303
- "thumbColor"
2304
- ]), { color: h } = Q(x), { property: v } = a(e, [
2286
+ const n = t, { node: e } = P(n), o = Ke(), i = Se(), l = le(), { applySize: r } = be(n, e), { applyMargin: u } = pn(e), { applyPadding: p } = mn(e), { applyBorder: c } = dn(e), { property: m } = a(e, [
2305
2287
  "settings",
2306
- "thumbLabel"
2307
- ]), L = I(() => {
2308
- if (v.value === "always")
2309
- return "always";
2310
- if (v.value === "show")
2311
- return !0;
2312
- }), { property: E } = a(e, [
2313
- "settings",
2314
- "thumbSize"
2315
- ]), { property: J } = a(e, ["settings", "ticks"]), Y = I(() => {
2316
- if (!J.value)
2317
- return;
2318
- const ve = {};
2319
- for (const { value: nt, label: wt } of J.value)
2320
- ve[nt] = wt;
2321
- if (!Mi(ve))
2322
- return ve;
2323
- }), { property: N } = a(e, [
2324
- "settings",
2325
- "tickSize"
2326
- ]), { property: z } = a(e, [
2327
- "settings",
2328
- "trackColor"
2329
- ]), { color: G } = Q(z), { property: ie } = a(e, ["settings", "value"]), { property: ge } = a(e, ["slots", "append"]), { property: ze } = a(e, ["slots", "prepend"]);
2330
- return (ve, nt) => {
2331
- const wt = R("v-slider");
2332
- return w(), $(s(j), {
2333
- block: "",
2334
- mask: ""
2335
- }, {
2336
- default: V(() => [
2337
- K(wt, {
2338
- modelValue: s(ie),
2339
- "onUpdate:modelValue": nt[0] || (nt[0] = (to) => ne(ie) ? ie.value = to : null),
2340
- color: s(i),
2341
- direction: s(l),
2342
- disabled: s(r),
2343
- "hide-details": s(u),
2344
- label: s(p),
2345
- max: s(c),
2346
- min: s(m),
2347
- readonly: s(d),
2348
- reverse: s(f),
2349
- "show-ticks": g.value,
2350
- step: s(k),
2351
- theme: s(_),
2352
- "thumb-color": s(h),
2353
- "thumb-label": L.value,
2354
- "thumb-size": s(E),
2355
- "tick-size": s(N),
2356
- ticks: Y.value,
2357
- "track-color": s(G)
2358
- }, rn({ _: 2 }, [
2359
- s(ge) ? {
2360
- name: "append",
2361
- fn: V(() => [
2362
- K(s($e), {
2363
- "node-id": "append",
2364
- "ref-context": { compId: s(ge) },
2365
- state: {}
2366
- }, null, 8, ["ref-context"])
2367
- ]),
2368
- key: "0"
2369
- } : void 0,
2370
- s(ze) ? {
2371
- name: "prepend",
2372
- fn: V(() => [
2373
- K(s($e), {
2374
- "node-id": "prepend",
2375
- "ref-context": { compId: s(ze) },
2376
- state: {}
2377
- }, null, 8, ["ref-context"])
2378
- ]),
2379
- key: "1"
2380
- } : void 0
2381
- ]), 1032, ["modelValue", "color", "direction", "disabled", "hide-details", "label", "max", "min", "readonly", "reverse", "show-ticks", "step", "theme", "thumb-color", "thumb-label", "thumb-size", "tick-size", "ticks", "track-color"])
2382
- ]),
2383
- _: 1
2384
- });
2385
- };
2288
+ "backgroundColor"
2289
+ ]), { color: d } = Q(m), f = (g) => {
2290
+ d.value && (g.backgroundColor = d.value), g.display = "flex";
2291
+ const k = dt(o.value.width), _ = Fe(k, e.value.settings?.direction);
2292
+ _ === "row" ? g.flexDirection = "row" : _ === "rowReverse" ? g.flexDirection = "row-reverse" : _ === "column" ? g.flexDirection = "column" : _ === "columnReverse" && (g.flexDirection = "column-reverse");
2293
+ const x = Fe(k, e.value.settings?.wrap);
2294
+ x === "no" ? g.flexWrap = "nowrap" : x === "yes" ? g.flexWrap = "wrap" : x === "reverse" && (g.flexWrap = "wrap-reverse");
2295
+ const h = Fe(k, e.value.settings?.mainAlign);
2296
+ h === "start" ? g.justifyContent = "flex-start" : h === "end" ? g.justifyContent = "flex-end" : h === "center" ? g.justifyContent = "center" : h === "spaceBetween" ? g.justifyContent = "space-between" : h === "spaceAround" ? g.justifyContent = "space-around" : h === "spaceEvenly" && (g.justifyContent = "space-evenly");
2297
+ const v = Fe(k, e.value.settings?.crossAlign);
2298
+ v === "start" ? g.alignItems = "flex-start" : v === "end" ? g.alignItems = "flex-end" : v === "center" ? g.alignItems = "center" : v === "baseline" ? g.alignItems = "baseline" : v === "stretch" && (g.alignItems = "stretch");
2299
+ }, b = I(() => {
2300
+ const g = {}, k = l.value?.type;
2301
+ return i === "page" ? k === "ui" ? (r(g), u(g), p(g), c(g), f(g)) : console.assert(!1) : i === "comp" && k === "ui" ? (r(g), u(g), p(g), c(g), f(g)) : console.assert(!1), g;
2302
+ });
2303
+ return (g, k) => (w(), te("div", {
2304
+ style: me(b.value)
2305
+ }, [
2306
+ O(g.$slots, "default")
2307
+ ], 4));
2386
2308
  }
2387
- }), il = /* @__PURE__ */ S({
2309
+ }), Zr = /* @__PURE__ */ S({
2388
2310
  __name: "index",
2389
2311
  props: {
2390
2312
  nodeId: {},
@@ -2392,36 +2314,57 @@ const Vr = /* @__PURE__ */ We(Cr, [["render", $r]]), Pr = /* @__PURE__ */ S({
2392
2314
  refContext: {}
2393
2315
  },
2394
2316
  setup(t) {
2395
- const n = t, { node: e } = P(n), { property: o } = a(e, [
2317
+ const n = t, { node: e } = P(n), o = Se(), i = le(), { applySize: l } = be(n, e), { property: r } = a(e, ["settings", "grow"]), { property: u } = a(e, ["settings", "shrink"]), p = I(() => {
2318
+ const c = {}, m = i.value?.type;
2319
+ return o === "page" ? m === "ui" ? (l(c), c.flexGrow = r.value ? 1 : 0, c.flexShrink = u.value ? 1 : 0) : console.assert(!1) : o === "comp" && m === "ui" ? (l(c), c.flexGrow = r.value ? 1 : 0, c.flexShrink = u.value ? 1 : 0) : console.assert(!1), c;
2320
+ });
2321
+ return (c, m) => (w(), te("div", {
2322
+ style: me(p.value)
2323
+ }, [
2324
+ O(c.$slots, "default")
2325
+ ], 4));
2326
+ }
2327
+ }), Qr = /* @__PURE__ */ S({
2328
+ __name: "index",
2329
+ props: {
2330
+ nodeId: {},
2331
+ outer: { type: Boolean },
2332
+ refContext: {}
2333
+ },
2334
+ setup(t) {
2335
+ const n = t, { node: e } = P(n), o = Se(), i = le(), l = _e(), { property: r } = a(e, ["settings", "valid"]), { property: u } = a(e, [
2396
2336
  "settings",
2397
- "hideActions"
2398
- ]), { theme: i } = H(), { property: l } = a(e, ["settings", "value"]);
2399
- return (r, u) => {
2400
- const p = R("v-stepper");
2401
- return w(), $(p, {
2402
- modelValue: s(l),
2403
- "onUpdate:modelValue": u[0] || (u[0] = (c) => ne(l) ? l.value = c : null),
2404
- "hide-actions": s(o),
2405
- theme: s(i)
2337
+ "fastFail"
2338
+ ]), { property: p } = a(e, [
2339
+ "settings",
2340
+ "backgroundColor"
2341
+ ]), { color: c } = Q(p), { applySize: m } = be(n, e), { applyMargin: d } = pn(e), { applyPadding: f } = mn(e), { applyBorder: b } = dn(e), g = I(() => {
2342
+ const _ = {}, x = i.value?.type;
2343
+ return o === "page" ? x === "ui" ? (m(_), d(_), f(_), b(_), c.value && (_.backgroundColor = c.value)) : console.assert(!1) : o === "comp" && x === "ui" ? (m(_), d(_), f(_), b(_), c.value && (_.backgroundColor = c.value)) : console.assert(!1), _;
2344
+ }), k = async () => {
2345
+ await l?.callFunctionAsync(
2346
+ "__triggerEventV1__",
2347
+ oe("elementEvent", n.nodeId, "submit"),
2348
+ ""
2349
+ );
2350
+ };
2351
+ return (_, x) => {
2352
+ const h = R("v-form");
2353
+ return w(), $(h, {
2354
+ modelValue: s(r),
2355
+ "onUpdate:modelValue": x[0] || (x[0] = (v) => ne(r) ? r.value = v : null),
2356
+ "fast-fail": s(u),
2357
+ style: me(g.value),
2358
+ onSubmit: oo(k, ["prevent"])
2406
2359
  }, {
2407
2360
  default: V(() => [
2408
- O(r.$slots, "default")
2361
+ O(_.$slots, "default")
2409
2362
  ]),
2410
2363
  _: 3
2411
- }, 8, ["modelValue", "hide-actions", "theme"]);
2364
+ }, 8, ["modelValue", "fast-fail", "style"]);
2412
2365
  };
2413
2366
  }
2414
- }), ol = {};
2415
- function sl(t, n) {
2416
- const e = R("v-stepper-header");
2417
- return w(), $(e, null, {
2418
- default: V(() => [
2419
- O(t.$slots, "default")
2420
- ]),
2421
- _: 3
2422
- });
2423
- }
2424
- const rl = /* @__PURE__ */ We(ol, [["render", sl]]), ll = /* @__PURE__ */ S({
2367
+ }), el = /* @__PURE__ */ S({
2425
2368
  __name: "index",
2426
2369
  props: {
2427
2370
  nodeId: {},
@@ -2429,28 +2372,22 @@ const rl = /* @__PURE__ */ We(ol, [["render", sl]]), ll = /* @__PURE__ */ S({
2429
2372
  refContext: {}
2430
2373
  },
2431
2374
  setup(t) {
2432
- const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "value"]);
2433
- return (i, l) => {
2434
- const r = R("v-stepper-item");
2435
- return w(), $(r, { value: s(o) }, {
2436
- default: V(() => [
2437
- O(i.$slots, "default")
2438
- ]),
2439
- _: 3
2440
- }, 8, ["value"]);
2375
+ const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "color"]), { color: i } = Q(o), { property: l } = a(e, [
2376
+ "settings",
2377
+ "disabled"
2378
+ ]), { property: r } = a(e, ["settings", "icon"]), { property: u } = a(e, ["settings", "size"]), { theme: p } = H();
2379
+ return (c, m) => {
2380
+ const d = R("v-icon");
2381
+ return w(), $(d, {
2382
+ color: s(i),
2383
+ disabled: s(l),
2384
+ icon: s(r),
2385
+ size: s(u),
2386
+ theme: s(p)
2387
+ }, null, 8, ["color", "disabled", "icon", "size", "theme"]);
2441
2388
  };
2442
2389
  }
2443
- }), al = {};
2444
- function ul(t, n) {
2445
- const e = R("v-stepper-window");
2446
- return w(), $(e, null, {
2447
- default: V(() => [
2448
- O(t.$slots, "default")
2449
- ]),
2450
- _: 3
2451
- });
2452
- }
2453
- const cl = /* @__PURE__ */ We(al, [["render", ul]]), dl = /* @__PURE__ */ S({
2390
+ }), tl = ["id"], nl = /* @__PURE__ */ S({
2454
2391
  __name: "index",
2455
2392
  props: {
2456
2393
  nodeId: {},
@@ -2458,18 +2395,38 @@ const cl = /* @__PURE__ */ We(al, [["render", ul]]), dl = /* @__PURE__ */ S({
2458
2395
  refContext: {}
2459
2396
  },
2460
2397
  setup(t) {
2461
- const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "value"]);
2462
- return (i, l) => {
2463
- const r = R("v-stepper-window-item");
2464
- return w(), $(r, { value: s(o) }, {
2398
+ const n = t, e = Z(), o = _e(), i = se(0), l = se(0), r = I(() => [i.value, l.value]), { open: u } = Vi(`runtimeMenu/${Ci()}`);
2399
+ return pt(n.nodeId, "open", () => {
2400
+ if (!o || !o.vm)
2401
+ return;
2402
+ const { vm: p } = o, c = p.getProp(p.global, "__pointerPosX__"), m = p.getProp(p.global, "__pointerPosY__");
2403
+ i.value = p.getNumber(c), l.value = p.getNumber(m), c.dispose(), m.dispose(), u.value = !0;
2404
+ }), pt(n.nodeId, "close", () => {
2405
+ o && (u.value = !1);
2406
+ }), (p, c) => {
2407
+ const m = R("v-menu");
2408
+ return w(), $(m, {
2409
+ modelValue: s(u),
2410
+ "onUpdate:modelValue": c[0] || (c[0] = (d) => ne(u) ? u.value = d : null),
2411
+ attach: "menuContainer",
2412
+ "location-strategy": "connected",
2413
+ scrim: "transparent",
2414
+ target: r.value
2415
+ }, {
2416
+ activator: V(() => [
2417
+ s(e) === "editor" ? (w(), te("div", {
2418
+ key: 0,
2419
+ id: `__node__@${n.nodeId}`
2420
+ }, null, 8, tl)) : re("", !0)
2421
+ ]),
2465
2422
  default: V(() => [
2466
- O(i.$slots, "default")
2423
+ O(p.$slots, "default")
2467
2424
  ]),
2468
2425
  _: 3
2469
- }, 8, ["value"]);
2426
+ }, 8, ["modelValue", "target"]);
2470
2427
  };
2471
2428
  }
2472
- }), pl = /* @__PURE__ */ S({
2429
+ }), il = /* @__PURE__ */ S({
2473
2430
  __name: "index",
2474
2431
  props: {
2475
2432
  nodeId: {},
@@ -2477,70 +2434,81 @@ const cl = /* @__PURE__ */ We(al, [["render", ul]]), dl = /* @__PURE__ */ S({
2477
2434
  refContext: {}
2478
2435
  },
2479
2436
  setup(t) {
2480
- const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "density"]), { property: i } = a(e, [
2437
+ const n = t, { node: e } = P(n), { property: o } = a(e, [
2481
2438
  "settings",
2482
- "direction"
2439
+ "addIcon",
2440
+ "append"
2441
+ ]), { property: i } = a(e, [
2442
+ "settings",
2443
+ "addIcon",
2444
+ "appendInner"
2483
2445
  ]), { property: l } = a(e, [
2484
2446
  "settings",
2485
- "disabled"
2447
+ "clearable"
2486
2448
  ]), { property: r } = a(e, [
2487
2449
  "settings",
2488
2450
  "hideDetails"
2489
- ]), { property: u } = a(e, [
2451
+ ]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { property: c } = a(e, ["settings", "max"]), { property: m } = a(e, ["size", "maxWidth"]), { property: d } = a(e, ["settings", "min"]), { property: f } = a(e, ["size", "minWidth"]), { property: b } = a(e, [
2490
2452
  "settings",
2491
- "indeterminate"
2492
- ]), { property: p } = a(e, ["settings", "inline"]), { property: c } = a(e, ["settings", "inset"]), { property: m } = a(e, ["settings", "label"]), { property: d } = a(e, ["settings", "loading"]), { theme: f } = H(), { property: b } = a(e, ["settings", "value"]);
2493
- return (g, k) => {
2494
- const _ = R("v-switch");
2495
- return w(), $(s(j), { mask: "" }, {
2496
- default: V(() => [
2497
- K(_, {
2498
- modelValue: s(b),
2499
- "onUpdate:modelValue": k[0] || (k[0] = (x) => ne(b) ? b.value = x : null),
2500
- density: s(o),
2501
- direction: s(i),
2502
- disabled: s(l),
2503
- "hide-details": s(r),
2504
- indeterminate: s(u),
2505
- inline: s(p),
2506
- inset: s(c),
2507
- label: s(m),
2508
- loading: s(d),
2509
- theme: s(f)
2510
- }, null, 8, ["modelValue", "density", "direction", "disabled", "hide-details", "indeterminate", "inline", "inset", "label", "loading", "theme"])
2511
- ]),
2512
- _: 1
2513
- });
2514
- };
2515
- }
2516
- }), ml = /* @__PURE__ */ S({
2517
- __name: "index",
2518
- props: {
2519
- nodeId: {},
2520
- outer: { type: Boolean },
2521
- refContext: {}
2522
- },
2523
- setup(t) {
2524
- const n = t, { node: e } = P(n), o = Z(), { property: i } = a(e, ["settings", "text"]), { theme: l } = H(), { property: r } = a(e, ["settings", "value"]), u = I(() => {
2525
- const p = {};
2526
- return o === "editor" && (p.pointerEvents = "none"), p;
2527
- });
2528
- return (p, c) => {
2529
- const m = R("v-tab");
2530
- return w(), $(s(j), { mask: "" }, {
2453
+ "placeholder"
2454
+ ]), { property: g } = a(e, [
2455
+ "settings",
2456
+ "precision"
2457
+ ]), { property: k } = a(e, ["settings", "prefix"]), { property: _ } = a(e, [
2458
+ "settings",
2459
+ "addIcon",
2460
+ "prepend"
2461
+ ]), { property: x } = a(e, [
2462
+ "settings",
2463
+ "addIcon",
2464
+ "prependInner"
2465
+ ]), { property: h } = a(e, [
2466
+ "settings",
2467
+ "readonly"
2468
+ ]), { property: v } = a(e, ["settings", "reverse"]), { property: L } = a(e, [
2469
+ "settings",
2470
+ "singleLine"
2471
+ ]), { property: E } = a(e, ["settings", "step"]), { property: J } = a(e, ["settings", "suffix"]), { theme: Y } = H(), { property: N } = a(e, ["settings", "value"]), { property: z } = a(e, ["settings", "variant"]), { property: G } = a(e, ["size", "width"]);
2472
+ return (ie, ge) => {
2473
+ const ze = R("v-number-input");
2474
+ return w(), $(s(j), {
2475
+ block: "",
2476
+ mask: ""
2477
+ }, {
2531
2478
  default: V(() => [
2532
- K(m, {
2533
- style: me(u.value),
2534
- text: s(i),
2535
- theme: s(l),
2536
- value: s(r)
2537
- }, null, 8, ["style", "text", "theme", "value"])
2479
+ K(ze, {
2480
+ modelValue: s(N),
2481
+ "onUpdate:modelValue": ge[0] || (ge[0] = (ve) => ne(N) ? N.value = ve : null),
2482
+ "append-icon": s(o),
2483
+ "append-inner-icon": s(i),
2484
+ clearable: s(l),
2485
+ "hide-details": s(r),
2486
+ label: s(u),
2487
+ loading: s(p),
2488
+ max: s(c),
2489
+ "max-width": s(m),
2490
+ min: s(d),
2491
+ "min-width": s(f),
2492
+ placeholder: s(b),
2493
+ precision: s(g),
2494
+ prefix: s(k),
2495
+ "prepend-icon": s(_),
2496
+ "prepend-inner-icon": s(x),
2497
+ readonly: s(h),
2498
+ reverse: s(v),
2499
+ "single-line": s(L),
2500
+ step: s(E),
2501
+ suffix: s(J),
2502
+ theme: s(Y),
2503
+ variant: s(z),
2504
+ width: s(G)
2505
+ }, null, 8, ["modelValue", "append-icon", "append-inner-icon", "clearable", "hide-details", "label", "loading", "max", "max-width", "min", "min-width", "placeholder", "precision", "prefix", "prepend-icon", "prepend-inner-icon", "readonly", "reverse", "single-line", "step", "suffix", "theme", "variant", "width"])
2538
2506
  ]),
2539
2507
  _: 1
2540
2508
  });
2541
2509
  };
2542
2510
  }
2543
- }), fl = /* @__PURE__ */ S({
2511
+ }), ol = /* @__PURE__ */ S({
2544
2512
  __name: "index",
2545
2513
  props: {
2546
2514
  nodeId: {},
@@ -2548,81 +2516,43 @@ const cl = /* @__PURE__ */ We(al, [["render", ul]]), dl = /* @__PURE__ */ S({
2548
2516
  refContext: {}
2549
2517
  },
2550
2518
  setup(t) {
2551
- const n = t, { node: e } = P(n), { property: o } = a(e, [
2552
- "settings",
2553
- "alignTabs"
2554
- ]), { property: i } = a(e, [
2555
- "settings",
2556
- "color",
2557
- "backgroundColor"
2558
- ]), { color: l } = Q(i), { property: r } = a(e, [
2559
- "settings",
2560
- "centerActive"
2561
- ]), { property: u } = a(e, [
2562
- "settings",
2563
- "color",
2564
- "selectedColor"
2565
- ]), { color: p } = Q(u), { property: c } = a(e, ["settings", "density"]), { property: m } = a(e, [
2566
- "settings",
2567
- "direction"
2568
- ]), { property: d } = a(e, [
2519
+ const n = t, { node: e } = P(n), o = Z(), { property: i } = a(e, ["settings", "density"]), { property: l } = a(e, [
2569
2520
  "settings",
2570
2521
  "disabled"
2571
- ]), { property: f } = a(e, [
2572
- "settings",
2573
- "fixedTabs"
2574
- ]), { property: b } = a(e, ["settings", "grow"]), { property: g } = a(e, [
2575
- "settings",
2576
- "hideSlider"
2577
- ]), { property: k } = a(e, ["settings", "items"]), { property: _ } = a(e, [
2578
- "settings",
2579
- "mandatory"
2580
- ]), { property: x } = a(e, [
2581
- "settings",
2582
- "showArrows"
2583
- ]), { property: h } = a(e, [
2522
+ ]), { property: r } = a(e, ["settings", "length"]), { property: u } = a(e, [
2584
2523
  "settings",
2585
- "color",
2586
- "sliderColor"
2587
- ]), { color: v } = Q(h), { property: L } = a(e, ["settings", "stacked"]), { theme: E } = H(), { property: J } = a(e, ["settings", "value"]);
2588
- return (Y, N) => {
2589
- const z = R("v-tabs");
2524
+ "showFirstLastPage"
2525
+ ]), { property: p } = a(e, ["settings", "size"]), { property: c } = a(e, ["settings", "start"]), { theme: m } = H(), { property: d } = a(e, ["settings", "tile"]), { property: f } = a(e, ["settings", "value"]), { property: b } = a(e, ["settings", "variant"]), g = I(() => {
2526
+ const k = {};
2527
+ return o === "editor" && (k.pointerEvents = "none"), k;
2528
+ });
2529
+ return (k, _) => {
2530
+ const x = R("v-pagination");
2590
2531
  return w(), $(s(j), {
2591
2532
  block: "",
2592
2533
  mask: ""
2593
2534
  }, {
2594
2535
  default: V(() => [
2595
- K(z, {
2596
- modelValue: s(J),
2597
- "onUpdate:modelValue": N[0] || (N[0] = (G) => ne(J) ? J.value = G : null),
2598
- "align-tabs": s(o),
2599
- "bg-color": s(l),
2600
- "center-active": s(r),
2601
- color: s(p),
2602
- density: s(c),
2603
- direction: s(m),
2604
- disabled: s(d),
2605
- "fixed-tabs": s(f),
2606
- grow: s(b),
2607
- "hide-slider": s(g),
2608
- items: s(k),
2609
- mandatory: s(_),
2610
- "show-arrows": s(x),
2611
- "slider-color": s(v),
2612
- stacked: s(L),
2613
- theme: s(E)
2614
- }, {
2615
- default: V(() => [
2616
- O(Y.$slots, "default")
2617
- ]),
2618
- _: 3
2619
- }, 8, ["modelValue", "align-tabs", "bg-color", "center-active", "color", "density", "direction", "disabled", "fixed-tabs", "grow", "hide-slider", "items", "mandatory", "show-arrows", "slider-color", "stacked", "theme"])
2536
+ K(x, {
2537
+ modelValue: s(f),
2538
+ "onUpdate:modelValue": _[0] || (_[0] = (h) => ne(f) ? f.value = h : null),
2539
+ density: s(i),
2540
+ disabled: s(l),
2541
+ length: s(r),
2542
+ "show-first-last-page": s(u),
2543
+ size: s(p),
2544
+ start: s(c),
2545
+ style: me(g.value),
2546
+ theme: s(m),
2547
+ tile: s(d),
2548
+ variant: s(b)
2549
+ }, null, 8, ["modelValue", "density", "disabled", "length", "show-first-last-page", "size", "start", "style", "theme", "tile", "variant"])
2620
2550
  ]),
2621
- _: 3
2551
+ _: 1
2622
2552
  });
2623
2553
  };
2624
2554
  }
2625
- }), yl = /* @__PURE__ */ S({
2555
+ }), sl = /* @__PURE__ */ S({
2626
2556
  __name: "index",
2627
2557
  props: {
2628
2558
  nodeId: {},
@@ -2630,26 +2560,27 @@ const cl = /* @__PURE__ */ We(al, [["render", ul]]), dl = /* @__PURE__ */ S({
2630
2560
  refContext: {}
2631
2561
  },
2632
2562
  setup(t) {
2633
- const n = t, { node: e } = P(n), o = Ke(), { property: i } = a(e, ["settings", "align"]), { property: l } = a(e, [
2563
+ const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "color"]), { color: i } = Q(o), { property: l } = a(e, ["settings", "density"]), { property: r } = a(e, [
2634
2564
  "settings",
2635
- "decoration"
2636
- ]), { property: r } = a(e, [
2565
+ "disabled"
2566
+ ]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, [
2637
2567
  "settings",
2638
- "emphasis"
2639
- ]), { property: u } = a(e, ["settings", "italic"]), { property: p } = a(e, ["settings", "text"]), { property: c } = a(e, ["settings", "weight"]), m = I(() => {
2640
- const d = [], f = dt(o.value.width), b = Fe(f, e.value.settings?.style);
2641
- return b && d.push(`text-${b}`), r.value === "high" ? d.push("text-high-emphasis") : r.value === "medium" ? d.push("text-medium-emphasis") : r.value === "disabled" && d.push("text-disabled"), i.value && d.push(`font-${i.value}`), l.value && d.push(`text-decoration-${l.value}`), c.value && d.push(`font-weight-${c.value}`), u.value && d.push("font-italic"), d.join(" ");
2642
- });
2643
- return (d, f) => (w(), $(s(j), { mask: "" }, {
2644
- default: V(() => [
2645
- Ue("span", {
2646
- class: so(m.value)
2647
- }, Ci(s(p)), 3)
2648
- ]),
2649
- _: 1
2650
- }));
2568
+ "readonly"
2569
+ ]), { theme: c } = H(), { property: m } = a(e, ["settings", "value"]);
2570
+ return (d, f) => {
2571
+ const b = R("v-radio");
2572
+ return w(), $(b, {
2573
+ color: s(i),
2574
+ density: s(l),
2575
+ disabled: s(r),
2576
+ label: s(u),
2577
+ readonly: s(p),
2578
+ theme: s(c),
2579
+ value: s(m)
2580
+ }, null, 8, ["color", "density", "disabled", "label", "readonly", "theme", "value"]);
2581
+ };
2651
2582
  }
2652
- }), bl = /* @__PURE__ */ S({
2583
+ }), rl = /* @__PURE__ */ S({
2653
2584
  __name: "index",
2654
2585
  props: {
2655
2586
  nodeId: {},
@@ -2657,56 +2588,41 @@ const cl = /* @__PURE__ */ We(al, [["render", ul]]), dl = /* @__PURE__ */ S({
2657
2588
  refContext: {}
2658
2589
  },
2659
2590
  setup(t) {
2660
- const n = t, { node: e } = P(n), { property: o } = a(e, [
2661
- "settings",
2662
- "autoGrow"
2663
- ]), { property: i } = a(e, [
2591
+ const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "density"]), { property: i } = a(e, [
2664
2592
  "settings",
2665
- "clearable"
2666
- ]), { property: l } = a(e, ["settings", "density"]), { property: r } = a(e, [
2593
+ "direction"
2594
+ ]), { property: l } = a(e, [
2667
2595
  "settings",
2668
2596
  "disabled"
2669
- ]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { property: c } = a(e, ["settings", "maxRows"]), { property: m } = a(e, [
2670
- "settings",
2671
- "placeholder"
2672
- ]), { property: d } = a(e, [
2597
+ ]), { property: r } = a(e, ["settings", "inline"]), { property: u } = a(e, [
2673
2598
  "settings",
2674
2599
  "readonly"
2675
- ]), { property: f } = a(e, ["settings", "reverse"]), { property: b } = a(e, ["settings", "rows"]), { property: g } = a(e, [
2676
- "settings",
2677
- "singleLine"
2678
- ]), { theme: k } = H(), { property: _ } = a(e, ["settings", "value"]), { property: x } = a(e, ["settings", "variant"]);
2679
- return (h, v) => {
2680
- const L = R("v-textarea");
2681
- return w(), $(s(j), {
2682
- block: "",
2683
- mask: ""
2684
- }, {
2600
+ ]), { theme: p } = H(), { property: c } = a(e, ["settings", "value"]);
2601
+ return (m, d) => {
2602
+ const f = R("v-radio-group");
2603
+ return w(), $(s(j), null, {
2685
2604
  default: V(() => [
2686
- K(L, {
2687
- modelValue: s(_),
2688
- "onUpdate:modelValue": v[0] || (v[0] = (E) => ne(_) ? _.value = E : null),
2689
- "auto-grow": s(o),
2690
- clearable: s(i),
2691
- density: s(l),
2692
- disabled: s(r),
2693
- label: s(u),
2694
- loading: s(p),
2695
- "max-rows": s(c),
2696
- placeholder: s(m),
2697
- readonly: s(d),
2698
- reverse: s(f),
2699
- rows: s(b),
2700
- "single-line": s(g),
2701
- theme: s(k),
2702
- variant: s(x)
2703
- }, null, 8, ["modelValue", "auto-grow", "clearable", "density", "disabled", "label", "loading", "max-rows", "placeholder", "readonly", "reverse", "rows", "single-line", "theme", "variant"])
2605
+ K(f, {
2606
+ modelValue: s(c),
2607
+ "onUpdate:modelValue": d[0] || (d[0] = (b) => ne(c) ? c.value = b : null),
2608
+ density: s(o),
2609
+ direction: s(i),
2610
+ disabled: s(l),
2611
+ inline: s(r),
2612
+ readonly: s(u),
2613
+ theme: s(p)
2614
+ }, {
2615
+ default: V(() => [
2616
+ O(m.$slots, "default")
2617
+ ]),
2618
+ _: 3
2619
+ }, 8, ["modelValue", "density", "direction", "disabled", "inline", "readonly", "theme"])
2704
2620
  ]),
2705
- _: 1
2621
+ _: 3
2706
2622
  });
2707
2623
  };
2708
2624
  }
2709
- }), gl = /* @__PURE__ */ S({
2625
+ }), ll = /* @__PURE__ */ S({
2710
2626
  __name: "index",
2711
2627
  props: {
2712
2628
  nodeId: {},
@@ -2714,127 +2630,94 @@ const cl = /* @__PURE__ */ We(al, [["render", ul]]), dl = /* @__PURE__ */ S({
2714
2630
  refContext: {}
2715
2631
  },
2716
2632
  setup(t) {
2717
- const n = t, { node: e } = P(n), { property: o } = a(e, [
2718
- "settings",
2719
- "appendIcon"
2720
- ]), { property: i } = a(e, [
2633
+ const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "density"]), { property: i } = a(e, [
2721
2634
  "settings",
2722
- "appendInnerIcon"
2635
+ "direction"
2723
2636
  ]), { property: l } = a(e, [
2724
2637
  "settings",
2725
- "autofocus"
2638
+ "disabled"
2726
2639
  ]), { property: r } = a(e, [
2727
2640
  "settings",
2728
- "clearable"
2729
- ]), { property: u } = a(e, ["settings", "density"]), { property: p } = a(e, [
2641
+ "hideDetails"
2642
+ ]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "max"]), { property: c } = a(e, ["settings", "min"]), { property: m } = a(e, [
2730
2643
  "settings",
2731
- "disabled"
2732
- ]), { property: c } = a(e, [
2644
+ "readonly"
2645
+ ]), { property: d } = a(e, [
2733
2646
  "settings",
2734
- "hideDetails"
2735
- ]), { property: m } = a(e, ["settings", "label"]), { property: d } = a(e, ["settings", "loading"]), { property: f } = a(e, [
2647
+ "showTicks"
2648
+ ]), f = I(() => {
2649
+ if (d.value === "always")
2650
+ return "always";
2651
+ if (d.value === "show")
2652
+ return !0;
2653
+ }), { property: b } = a(e, ["settings", "step"]), { theme: g } = H(), { property: k } = a(e, [
2736
2654
  "settings",
2737
- "placeholder"
2738
- ]), { property: b } = a(e, ["settings", "prefix"]), { property: g } = a(e, [
2655
+ "thumbLabel"
2656
+ ]), _ = I(() => {
2657
+ if (k.value === "always")
2658
+ return "always";
2659
+ if (k.value === "show")
2660
+ return !0;
2661
+ }), { property: x } = a(e, [
2739
2662
  "settings",
2740
- "prependIcon"
2741
- ]), { property: k } = a(e, [
2663
+ "thumbSize"
2664
+ ]), { property: h } = a(e, ["settings", "ticks"]), v = I(() => {
2665
+ if (!h.value)
2666
+ return;
2667
+ const N = {};
2668
+ for (const { value: z, label: G } of h.value)
2669
+ N[z] = G;
2670
+ if (!Mi(N))
2671
+ return N;
2672
+ }), { property: L } = a(e, [
2742
2673
  "settings",
2743
- "prependInnerIcon"
2744
- ]), { property: _ } = a(e, [
2674
+ "tickSize"
2675
+ ]), { property: E } = a(e, [
2745
2676
  "settings",
2746
- "readonly"
2747
- ]), { property: x } = a(e, ["settings", "reverse"]), { property: h } = a(e, [
2677
+ "value",
2678
+ "start"
2679
+ ]), { property: J } = a(e, [
2748
2680
  "settings",
2749
- "singleLine"
2750
- ]), { property: v } = a(e, ["settings", "suffix"]), { theme: L } = H(), { property: E } = a(e, ["settings", "value"]), { property: J } = a(e, ["settings", "variant"]), { property: Y } = a(e, ["slots", "append"]), { property: N } = a(e, [
2751
- "slots",
2752
- "appendInner"
2753
- ]), { property: z } = a(e, ["slots", "prepend"]), { property: G } = a(e, [
2754
- "slots",
2755
- "prependInner"
2756
- ]);
2757
- return (ie, ge) => {
2758
- const ze = R("v-text-field");
2681
+ "value",
2682
+ "end"
2683
+ ]), Y = I({
2684
+ get: () => [E.value, J.value],
2685
+ set: ([N, z]) => {
2686
+ E.value = N, J.value = z;
2687
+ }
2688
+ });
2689
+ return (N, z) => {
2690
+ const G = R("v-range-slider");
2759
2691
  return w(), $(s(j), {
2760
2692
  block: "",
2761
2693
  mask: ""
2762
2694
  }, {
2763
2695
  default: V(() => [
2764
- K(ze, {
2765
- modelValue: s(E),
2766
- "onUpdate:modelValue": ge[0] || (ge[0] = (ve) => ne(E) ? E.value = ve : null),
2767
- "append-icon": s(o),
2768
- "append-inner-icon": s(i),
2769
- autofocus: s(l),
2770
- clearable: s(r),
2771
- density: s(u),
2772
- disabled: s(p),
2773
- "hide-details": s(c),
2774
- label: s(m),
2775
- loading: s(d),
2776
- placeholder: s(f),
2777
- prefix: s(b),
2778
- "prepend-icon": s(g),
2779
- "prepend-inner-icon": s(k),
2780
- readonly: s(_),
2781
- reverse: s(x),
2782
- "single-line": s(h),
2783
- suffix: s(v),
2784
- theme: s(L),
2785
- variant: s(J)
2786
- }, rn({ _: 2 }, [
2787
- s(Y) ? {
2788
- name: "append",
2789
- fn: V(() => [
2790
- K(s($e), {
2791
- "node-id": "append",
2792
- "ref-context": { compId: s(Y) },
2793
- state: {}
2794
- }, null, 8, ["ref-context"])
2795
- ]),
2796
- key: "0"
2797
- } : void 0,
2798
- s(N) ? {
2799
- name: "append-inner",
2800
- fn: V(() => [
2801
- K(s($e), {
2802
- "node-id": "append-inner",
2803
- "ref-context": { compId: s(N) },
2804
- state: {}
2805
- }, null, 8, ["ref-context"])
2806
- ]),
2807
- key: "1"
2808
- } : void 0,
2809
- s(z) ? {
2810
- name: "prepend",
2811
- fn: V(() => [
2812
- K(s($e), {
2813
- "node-id": "prepend",
2814
- "ref-context": { compId: s(z) },
2815
- state: {}
2816
- }, null, 8, ["ref-context"])
2817
- ]),
2818
- key: "2"
2819
- } : void 0,
2820
- s(G) ? {
2821
- name: "prepend-inner",
2822
- fn: V(() => [
2823
- K(s($e), {
2824
- "node-id": "prepend-inner",
2825
- "ref-context": { compId: s(G) },
2826
- state: {}
2827
- }, null, 8, ["ref-context"])
2828
- ]),
2829
- key: "3"
2830
- } : void 0
2831
- ]), 1032, ["modelValue", "append-icon", "append-inner-icon", "autofocus", "clearable", "density", "disabled", "hide-details", "label", "loading", "placeholder", "prefix", "prepend-icon", "prepend-inner-icon", "readonly", "reverse", "single-line", "suffix", "theme", "variant"])
2696
+ K(G, {
2697
+ modelValue: Y.value,
2698
+ "onUpdate:modelValue": z[0] || (z[0] = (ie) => Y.value = ie),
2699
+ density: s(o),
2700
+ direction: s(i),
2701
+ disabled: s(l),
2702
+ "hide-details": s(r),
2703
+ label: s(u),
2704
+ max: s(p),
2705
+ min: s(c),
2706
+ readonly: s(m),
2707
+ "show-ticks": f.value,
2708
+ step: s(b),
2709
+ theme: s(g),
2710
+ "thumb-label": _.value,
2711
+ "thumb-size": s(x),
2712
+ "tick-size": s(L),
2713
+ ticks: v.value
2714
+ }, null, 8, ["modelValue", "density", "direction", "disabled", "hide-details", "label", "max", "min", "readonly", "show-ticks", "step", "theme", "thumb-label", "thumb-size", "tick-size", "ticks"])
2832
2715
  ]),
2833
2716
  _: 1
2834
2717
  });
2835
2718
  };
2836
2719
  }
2837
- }), hl = /* @__PURE__ */ S({
2720
+ }), al = /* @__PURE__ */ S({
2838
2721
  __name: "index",
2839
2722
  props: {
2840
2723
  nodeId: {},
@@ -2842,71 +2725,41 @@ const cl = /* @__PURE__ */ We(al, [["render", ul]]), dl = /* @__PURE__ */ S({
2842
2725
  refContext: {}
2843
2726
  },
2844
2727
  setup(t) {
2845
- const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "align"]), { property: i } = a(e, ["settings", "density"]), { property: l } = a(e, [
2846
- "settings",
2847
- "direction"
2848
- ]), { property: r } = a(e, [
2849
- "settings",
2850
- "dot",
2851
- "color"
2852
- ]), { color: u } = Q(r), { property: p } = a(e, [
2853
- "settings",
2854
- "dot",
2855
- "fill"
2856
- ]), { property: c } = a(e, [
2857
- "settings",
2858
- "hideOpposite"
2859
- ]), { property: m } = a(e, [
2728
+ const n = t, { node: e } = P(n), { property: o } = a(e, [
2860
2729
  "settings",
2861
- "line",
2862
- "color"
2863
- ]), { color: d } = Q(m), { property: f } = a(e, [
2730
+ "clearable"
2731
+ ]), { property: i } = a(e, ["settings", "density"]), { property: l } = a(e, [
2864
2732
  "settings",
2865
- "line",
2866
- "inset"
2867
- ]), { property: b } = a(e, [
2733
+ "disabled"
2734
+ ]), { property: r } = a(e, [
2868
2735
  "settings",
2869
- "line",
2870
- "thickness"
2871
- ]), { property: g } = a(e, ["settings", "side"]), { property: k } = a(e, [
2736
+ "halfIncrements"
2737
+ ]), { property: u } = a(e, ["settings", "hover"]), { property: p } = a(e, ["settings", "length"]), { property: c } = a(e, [
2872
2738
  "settings",
2873
- "line",
2874
- "truncate"
2875
- ]), { theme: _ } = H();
2876
- return (x, h) => {
2877
- const v = R("v-timeline");
2878
- return w(), $(v, {
2879
- align: s(o),
2880
- density: s(i),
2881
- direction: s(l),
2882
- "dot-color": s(u),
2883
- "fill-dot": s(p),
2884
- "hide-opposite": s(c),
2885
- "line-color": s(d),
2886
- "line-inset": s(f),
2887
- "line-thickness": s(b),
2888
- side: s(g),
2889
- theme: s(_),
2890
- "truncate-line": s(k)
2891
- }, {
2739
+ "readonly"
2740
+ ]), { theme: m } = H(), { property: d } = a(e, ["settings", "value"]);
2741
+ return (f, b) => {
2742
+ const g = R("v-rating");
2743
+ return w(), $(s(j), { mask: "" }, {
2892
2744
  default: V(() => [
2893
- O(x.$slots, "default")
2745
+ K(g, {
2746
+ modelValue: s(d),
2747
+ "onUpdate:modelValue": b[0] || (b[0] = (k) => ne(d) ? d.value = k : null),
2748
+ clearable: s(o),
2749
+ density: s(i),
2750
+ disabled: s(l),
2751
+ "half-increments": s(r),
2752
+ hover: s(u),
2753
+ length: s(p),
2754
+ readonly: s(c),
2755
+ theme: s(m)
2756
+ }, null, 8, ["modelValue", "clearable", "density", "disabled", "half-increments", "hover", "length", "readonly", "theme"])
2894
2757
  ]),
2895
- _: 3
2896
- }, 8, ["align", "density", "direction", "dot-color", "fill-dot", "hide-opposite", "line-color", "line-inset", "line-thickness", "side", "theme", "truncate-line"]);
2758
+ _: 1
2759
+ });
2897
2760
  };
2898
2761
  }
2899
- }), _l = {};
2900
- function vl(t, n) {
2901
- const e = R("v-timeline-item");
2902
- return w(), $(e, null, {
2903
- default: V(() => [
2904
- O(t.$slots, "default")
2905
- ]),
2906
- _: 3
2907
- });
2908
- }
2909
- const xl = /* @__PURE__ */ We(_l, [["render", vl]]), kl = /* @__PURE__ */ S({
2762
+ }), ul = /* @__PURE__ */ S({
2910
2763
  __name: "index",
2911
2764
  props: {
2912
2765
  nodeId: {},
@@ -2916,127 +2769,191 @@ const xl = /* @__PURE__ */ We(_l, [["render", vl]]), kl = /* @__PURE__ */ S({
2916
2769
  setup(t) {
2917
2770
  const n = t, { node: e } = P(n), { property: o } = a(e, [
2918
2771
  "settings",
2919
- "continuous"
2920
- ]), { property: i } = a(e, [
2772
+ "hideDetails"
2773
+ ]), { property: i } = a(e, ["settings", "label"]), { property: l } = a(e, [
2921
2774
  "settings",
2922
- "disabled"
2923
- ]), { property: l } = a(e, [
2775
+ "placeholder"
2776
+ ]), { property: r } = a(e, [
2924
2777
  "settings",
2925
- "direction"
2926
- ]), { property: r } = a(e, ["settings", "reverse"]), { property: u } = a(e, [
2778
+ "readonly"
2779
+ ]), { property: u } = a(e, [
2927
2780
  "settings",
2928
- "showArrows"
2929
- ]), { property: p } = a(e, ["settings", "touch"]), { theme: c } = H(), { property: m } = a(e, ["settings", "value"]);
2930
- return (d, f) => {
2931
- const b = R("v-window");
2932
- return w(), $(b, {
2933
- modelValue: s(m),
2934
- "onUpdate:modelValue": f[0] || (f[0] = (g) => ne(m) ? m.value = g : null),
2935
- continuous: s(o),
2936
- direction: s(l),
2937
- disabled: s(i),
2938
- reverse: s(r),
2939
- "show-arrows": s(u),
2940
- theme: s(c),
2941
- touch: s(p)
2781
+ "singleLine"
2782
+ ]), { theme: p } = H(), { property: c } = a(e, ["settings", "value"]);
2783
+ return (m, d) => {
2784
+ const f = R("v-select");
2785
+ return w(), $(s(j), {
2786
+ block: "",
2787
+ mask: ""
2942
2788
  }, {
2943
2789
  default: V(() => [
2944
- O(d.$slots, "default")
2790
+ K(f, {
2791
+ modelValue: s(c),
2792
+ "onUpdate:modelValue": d[0] || (d[0] = (b) => ne(c) ? c.value = b : null),
2793
+ "hide-details": s(o),
2794
+ label: s(i),
2795
+ placeholder: s(l),
2796
+ readonly: s(r),
2797
+ "single-line": s(u),
2798
+ theme: s(p)
2799
+ }, null, 8, ["modelValue", "hide-details", "label", "placeholder", "readonly", "single-line", "theme"])
2945
2800
  ]),
2946
- _: 3
2947
- }, 8, ["modelValue", "continuous", "direction", "disabled", "reverse", "show-arrows", "theme", "touch"]);
2801
+ _: 1
2802
+ });
2948
2803
  };
2949
2804
  }
2950
- }), wl = {};
2951
- function Il(t, n) {
2952
- const e = R("v-window-item");
2953
- return w(), $(e, null, {
2954
- default: V(() => [
2955
- O(t.$slots, "default")
2956
- ]),
2957
- _: 3
2958
- });
2959
- }
2960
- const Sl = /* @__PURE__ */ We(wl, [["render", Il]]), Cl = /* @__PURE__ */ S({
2961
- __name: "entry",
2805
+ }), cl = /* @__PURE__ */ S({
2806
+ __name: "index",
2962
2807
  props: {
2963
- subtype: {},
2964
2808
  nodeId: {},
2965
- refContext: {},
2966
- instance: {}
2809
+ outer: { type: Boolean },
2810
+ refContext: {}
2967
2811
  },
2968
2812
  setup(t) {
2969
- console.log(`<element/${t.nodeId}/multiple_ref_v1/${t.instance}> created`), Ie(() => {
2970
- console.log(`<element/${t.nodeId}/multiple_ref_v1/${t.instance}> destroyed`);
2971
- });
2972
- const n = Z(), e = le(), o = I(() => D(e.value));
2973
- Pe(o), ke(n) && tt(o, "multipleRef", t.nodeId, t.instance, _e());
2974
- const i = (r) => {
2975
- const u = we[r.key];
2976
- if (!u) {
2977
- console.assert(!1, `element not found key=${r.key}`);
2813
+ const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "color"]), { color: i } = Q(o), { property: l } = a(e, [
2814
+ "settings",
2815
+ "direction"
2816
+ ]), { property: r } = a(e, [
2817
+ "settings",
2818
+ "disabled"
2819
+ ]), { property: u } = a(e, [
2820
+ "settings",
2821
+ "hideDetails"
2822
+ ]), { property: p } = a(e, ["settings", "label"]), { property: c } = a(e, ["settings", "max"]), { property: m } = a(e, ["settings", "min"]), { property: d } = a(e, [
2823
+ "settings",
2824
+ "readonly"
2825
+ ]), { property: f } = a(e, ["settings", "reverse"]), { property: b } = a(e, [
2826
+ "settings",
2827
+ "showTicks"
2828
+ ]), g = I(() => {
2829
+ if (b.value === "always")
2830
+ return "always";
2831
+ if (b.value === "show")
2832
+ return !0;
2833
+ }), { property: k } = a(e, ["settings", "step"]), { theme: _ } = H(), { property: x } = a(e, [
2834
+ "settings",
2835
+ "thumbColor"
2836
+ ]), { color: h } = Q(x), { property: v } = a(e, [
2837
+ "settings",
2838
+ "thumbLabel"
2839
+ ]), L = I(() => {
2840
+ if (v.value === "always")
2841
+ return "always";
2842
+ if (v.value === "show")
2843
+ return !0;
2844
+ }), { property: E } = a(e, [
2845
+ "settings",
2846
+ "thumbSize"
2847
+ ]), { property: J } = a(e, ["settings", "ticks"]), Y = I(() => {
2848
+ if (!J.value)
2978
2849
  return;
2979
- }
2980
- const p = {
2981
- nodeId: r.id
2982
- };
2983
- return Xe(r.key) && (p.refContext = {
2984
- parent: t.refContext,
2985
- compId: r.compId
2986
- }), B(
2987
- u.comp,
2988
- {
2989
- key: r.id,
2990
- ...p
2991
- },
2992
- {
2993
- default: () => {
2994
- if (!u.leaf)
2995
- return r.children?.map((c) => i(c));
2996
- }
2997
- }
2998
- );
2999
- }, l = () => {
3000
- if (t.subtype === "ui")
3001
- return B("div", null, {
3002
- default: () => o.value?.view.nodeLites.map((r) => i(r))
3003
- });
3004
- if (t.subtype === "3d")
3005
- return B("TresGroup", null, {
3006
- default: () => o.value?.view.nodeLites.map((r) => i(r))
3007
- });
2850
+ const ve = {};
2851
+ for (const { value: nt, label: wt } of J.value)
2852
+ ve[nt] = wt;
2853
+ if (!Mi(ve))
2854
+ return ve;
2855
+ }), { property: N } = a(e, [
2856
+ "settings",
2857
+ "tickSize"
2858
+ ]), { property: z } = a(e, [
2859
+ "settings",
2860
+ "trackColor"
2861
+ ]), { color: G } = Q(z), { property: ie } = a(e, ["settings", "value"]), { property: ge } = a(e, ["slots", "append"]), { property: ze } = a(e, ["slots", "prepend"]);
2862
+ return (ve, nt) => {
2863
+ const wt = R("v-slider");
2864
+ return w(), $(s(j), {
2865
+ block: "",
2866
+ mask: ""
2867
+ }, {
2868
+ default: V(() => [
2869
+ K(wt, {
2870
+ modelValue: s(ie),
2871
+ "onUpdate:modelValue": nt[0] || (nt[0] = (to) => ne(ie) ? ie.value = to : null),
2872
+ color: s(i),
2873
+ direction: s(l),
2874
+ disabled: s(r),
2875
+ "hide-details": s(u),
2876
+ label: s(p),
2877
+ max: s(c),
2878
+ min: s(m),
2879
+ readonly: s(d),
2880
+ reverse: s(f),
2881
+ "show-ticks": g.value,
2882
+ step: s(k),
2883
+ theme: s(_),
2884
+ "thumb-color": s(h),
2885
+ "thumb-label": L.value,
2886
+ "thumb-size": s(E),
2887
+ "tick-size": s(N),
2888
+ ticks: Y.value,
2889
+ "track-color": s(G)
2890
+ }, rn({ _: 2 }, [
2891
+ s(ge) ? {
2892
+ name: "append",
2893
+ fn: V(() => [
2894
+ K(s($e), {
2895
+ "node-id": "append",
2896
+ "ref-context": { compId: s(ge) },
2897
+ state: {}
2898
+ }, null, 8, ["ref-context"])
2899
+ ]),
2900
+ key: "0"
2901
+ } : void 0,
2902
+ s(ze) ? {
2903
+ name: "prepend",
2904
+ fn: V(() => [
2905
+ K(s($e), {
2906
+ "node-id": "prepend",
2907
+ "ref-context": { compId: s(ze) },
2908
+ state: {}
2909
+ }, null, 8, ["ref-context"])
2910
+ ]),
2911
+ key: "1"
2912
+ } : void 0
2913
+ ]), 1032, ["modelValue", "color", "direction", "disabled", "hide-details", "label", "max", "min", "readonly", "reverse", "show-ticks", "step", "theme", "thumb-color", "thumb-label", "thumb-size", "tick-size", "ticks", "track-color"])
2914
+ ]),
2915
+ _: 1
2916
+ });
3008
2917
  };
3009
- return (r, u) => (w(), $(l));
3010
2918
  }
3011
- }), $l = ["position", "rotation", "scale"], Vl = { style: { userSelect: "none" } }, ue = /* @__PURE__ */ S({
2919
+ }), dl = /* @__PURE__ */ S({
3012
2920
  __name: "index",
3013
2921
  props: {
3014
- position: {},
3015
- rotation: {},
3016
- scale: {},
3017
- label: { default: () => {
3018
- } }
2922
+ nodeId: {},
2923
+ outer: { type: Boolean },
2924
+ refContext: {}
3019
2925
  },
3020
2926
  setup(t) {
3021
- return (n, e) => (w(), te("TresGroup", {
3022
- position: t.position,
3023
- rotation: t.rotation,
3024
- scale: t.scale
3025
- }, [
3026
- t.label ? (w(), $(s(Vo), {
3027
- key: 0,
3028
- center: "",
3029
- transform: ""
2927
+ const n = t, { node: e } = P(n), { property: o } = a(e, [
2928
+ "settings",
2929
+ "hideActions"
2930
+ ]), { theme: i } = H(), { property: l } = a(e, ["settings", "value"]);
2931
+ return (r, u) => {
2932
+ const p = R("v-stepper");
2933
+ return w(), $(p, {
2934
+ modelValue: s(l),
2935
+ "onUpdate:modelValue": u[0] || (u[0] = (c) => ne(l) ? l.value = c : null),
2936
+ "hide-actions": s(o),
2937
+ theme: s(i)
3030
2938
  }, {
3031
2939
  default: V(() => [
3032
- Ue("div", Vl, Ci(t.label), 1)
2940
+ O(r.$slots, "default")
3033
2941
  ]),
3034
- _: 1
3035
- })) : re("", !0),
3036
- O(n.$slots, "default")
3037
- ], 8, $l));
2942
+ _: 3
2943
+ }, 8, ["modelValue", "hide-actions", "theme"]);
2944
+ };
3038
2945
  }
3039
- }), Pl = /* @__PURE__ */ S({
2946
+ }), pl = {};
2947
+ function ml(t, n) {
2948
+ const e = R("v-stepper-header");
2949
+ return w(), $(e, null, {
2950
+ default: V(() => [
2951
+ O(t.$slots, "default")
2952
+ ]),
2953
+ _: 3
2954
+ });
2955
+ }
2956
+ const fl = /* @__PURE__ */ We(pl, [["render", ml]]), yl = /* @__PURE__ */ S({
3040
2957
  __name: "index",
3041
2958
  props: {
3042
2959
  nodeId: {},
@@ -3044,141 +2961,47 @@ const Sl = /* @__PURE__ */ We(wl, [["render", Il]]), Cl = /* @__PURE__ */ S({
3044
2961
  refContext: {}
3045
2962
  },
3046
2963
  setup(t) {
3047
- const n = gt(), e = t, { node: o } = P(e), i = Qe(), l = le(), r = se();
3048
- Pe(r);
3049
- const u = I(() => e.refContext?.compId);
3050
- et(u, r);
3051
- const { applySize: p } = be(e, o), c = I(() => {
3052
- const h = {};
3053
- return r.value?.type === "ui" && p(h), h;
3054
- }), { position: m, rotation: d, scale: f } = ce(o), { property: b } = a(o, ["instances"]), g = (h, v) => {
3055
- h.findIndex((L) => L === v) >= 0 || h.push(v);
3056
- }, k = I(() => {
3057
- const h = [];
3058
- if (!Array.isArray(b.value))
3059
- return h;
3060
- for (const v of b.value)
3061
- typeof v == "string" && v && g(h, v);
3062
- return h;
3063
- }), _ = (h, v) => B(Cl, {
3064
- key: h,
3065
- subtype: v,
3066
- nodeId: e.nodeId,
3067
- refContext: e.refContext,
3068
- instance: h
3069
- }), x = () => {
3070
- if (!e.refContext) {
3071
- console.assert(!1, "invalid of ref context");
3072
- return;
3073
- }
3074
- if (!l.value) {
3075
- console.assert(!1, "invalid of data");
3076
- return;
3077
- }
3078
- const { i18n: h } = he;
3079
- if (Ye(e.refContext, i))
3080
- return l.value.type === "ui" ? B(
3081
- "div",
3082
- { id: n.id, style: c.value },
3083
- h.global.t("x-runtime-lib.circularReference")
3084
- ) : l.value.type === "3d" ? B(ue, {
3085
- name: n.name,
3086
- position: m.value,
3087
- rotation: d.value,
3088
- scale: f.value,
3089
- label: h.global.t("x-runtime-lib.circularReference")
3090
- }) : void 0;
3091
- if (!r.value)
3092
- return l.value.type === "ui" ? B("div", { id: n.id, style: c.value }) : l.value.type === "3d" ? B(ue, {
3093
- name: n.name,
3094
- position: m.value,
3095
- rotation: d.value,
3096
- scale: f.value
3097
- }) : void 0;
3098
- if (r.value.type !== l.value.type) {
3099
- console.assert(!1, "subtype not match");
3100
- return;
3101
- }
3102
- const v = r.value.type;
3103
- if (v === "ui")
3104
- return B(
3105
- "div",
3106
- {
3107
- id: n.id,
3108
- style: c.value
3109
- },
3110
- {
3111
- default: () => k.value.map((L) => _(L, v))
3112
- }
3113
- );
3114
- if (v === "3d")
3115
- return B(
3116
- ue,
3117
- {
3118
- name: n.name,
3119
- position: m.value,
3120
- rotation: d.value,
3121
- scale: f.value
3122
- },
3123
- {
3124
- default: () => k.value.map((L) => _(L, v))
3125
- }
3126
- );
2964
+ const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "value"]);
2965
+ return (i, l) => {
2966
+ const r = R("v-stepper-item");
2967
+ return w(), $(r, { value: s(o) }, {
2968
+ default: V(() => [
2969
+ O(i.$slots, "default")
2970
+ ]),
2971
+ _: 3
2972
+ }, 8, ["value"]);
3127
2973
  };
3128
- return (h, v) => (w(), $(x));
3129
2974
  }
3130
- }), zl = /* @__PURE__ */ S({
3131
- __name: "entry",
2975
+ }), bl = {};
2976
+ function gl(t, n) {
2977
+ const e = R("v-stepper-window");
2978
+ return w(), $(e, null, {
2979
+ default: V(() => [
2980
+ O(t.$slots, "default")
2981
+ ]),
2982
+ _: 3
2983
+ });
2984
+ }
2985
+ const hl = /* @__PURE__ */ We(bl, [["render", gl]]), _l = /* @__PURE__ */ S({
2986
+ __name: "index",
3132
2987
  props: {
3133
- subtype: {},
3134
2988
  nodeId: {},
3135
- refContext: {},
3136
- instance: {}
2989
+ outer: { type: Boolean },
2990
+ refContext: {}
3137
2991
  },
3138
2992
  setup(t) {
3139
- console.log(`<element/${t.nodeId}/multiple_slot_v1/${t.instance}> created`), Ie(() => {
3140
- console.log(`<element/${t.nodeId}/multiple_slot_v1/${t.instance}> destroyed`);
3141
- });
3142
- const n = Z(), e = le(), o = I(() => D(e.value));
3143
- Pe(o), ke(n) && tt(o, "multipleCustomSlot", t.nodeId, t.instance, _e());
3144
- const i = (r) => {
3145
- const u = we[r.key];
3146
- if (!u) {
3147
- console.assert(!1, `element not found key=${r.key}`);
3148
- return;
3149
- }
3150
- const p = {
3151
- nodeId: r.id
3152
- };
3153
- return Xe(r.key) && (p.refContext = {
3154
- parent: t.refContext,
3155
- compId: r.compId
3156
- }), B(
3157
- u.comp,
3158
- {
3159
- key: r.id,
3160
- ...p
3161
- },
3162
- {
3163
- default: () => {
3164
- if (!u.leaf)
3165
- return r.children?.map((c) => i(c));
3166
- }
3167
- }
3168
- );
3169
- }, l = () => {
3170
- if (t.subtype === "ui")
3171
- return B("div", null, {
3172
- default: () => o.value?.view.nodeLites.map((r) => i(r))
3173
- });
3174
- if (t.subtype === "3d")
3175
- return B("TresGroup", null, {
3176
- default: () => o.value?.view.nodeLites.map((r) => i(r))
3177
- });
2993
+ const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "value"]);
2994
+ return (i, l) => {
2995
+ const r = R("v-stepper-window-item");
2996
+ return w(), $(r, { value: s(o) }, {
2997
+ default: V(() => [
2998
+ O(i.$slots, "default")
2999
+ ]),
3000
+ _: 3
3001
+ }, 8, ["value"]);
3178
3002
  };
3179
- return (r, u) => (w(), $(l));
3180
3003
  }
3181
- }), Ll = /* @__PURE__ */ S({
3004
+ }), vl = /* @__PURE__ */ S({
3182
3005
  __name: "index",
3183
3006
  props: {
3184
3007
  nodeId: {},
@@ -3186,90 +3009,43 @@ const Sl = /* @__PURE__ */ We(wl, [["render", Il]]), Cl = /* @__PURE__ */ S({
3186
3009
  refContext: {}
3187
3010
  },
3188
3011
  setup(t) {
3189
- const n = gt(), e = t, { node: o } = P(e), i = Qe(), l = le(), r = se();
3190
- Pe(r);
3191
- const u = I(() => e.refContext?.compId);
3192
- et(u, r);
3193
- const { applySize: p } = be(e, o), c = I(() => {
3194
- const h = {};
3195
- return r.value?.type === "ui" && p(h), h;
3196
- }), { position: m, rotation: d, scale: f } = ce(o), { property: b } = a(o, ["instances"]), g = (h, v) => {
3197
- h.findIndex((L) => L === v) >= 0 || h.push(v);
3198
- }, k = I(() => {
3199
- const h = [];
3200
- if (!Array.isArray(b.value))
3201
- return h;
3202
- for (const v of b.value)
3203
- typeof v == "string" && v && g(h, v);
3204
- return h;
3205
- }), _ = (h, v) => B(zl, {
3206
- key: h,
3207
- subtype: v,
3208
- nodeId: e.nodeId,
3209
- refContext: e.refContext,
3210
- instance: h
3211
- }), x = () => {
3212
- if (!e.refContext) {
3213
- console.assert(!1, "invalid of ref context");
3214
- return;
3215
- }
3216
- if (!l.value) {
3217
- console.assert(!1, "invalid of data");
3218
- return;
3219
- }
3220
- const { i18n: h } = he;
3221
- if (Ye(e.refContext, i))
3222
- return l.value.type === "ui" ? B(
3223
- "div",
3224
- { id: n.id, style: c.value },
3225
- h.global.t("x-runtime-lib.circularReference")
3226
- ) : l.value.type === "3d" ? B(ue, {
3227
- name: n.name,
3228
- position: m.value,
3229
- rotation: d.value,
3230
- scale: f.value,
3231
- label: h.global.t("x-runtime-lib.circularReference")
3232
- }) : void 0;
3233
- if (!r.value)
3234
- return l.value.type === "ui" ? B("div", { id: n.id, style: c.value }) : l.value.type === "3d" ? B(ue, {
3235
- name: n.name,
3236
- position: m.value,
3237
- rotation: d.value,
3238
- scale: f.value
3239
- }) : void 0;
3240
- if (r.value.type !== l.value.type) {
3241
- console.assert(!1, "subtype not match");
3242
- return;
3243
- }
3244
- const v = r.value.type;
3245
- if (v === "ui")
3246
- return B(
3247
- "div",
3248
- {
3249
- id: n.id,
3250
- style: c.value
3251
- },
3252
- {
3253
- default: () => k.value.map((L) => _(L, v))
3254
- }
3255
- );
3256
- if (v === "3d")
3257
- return B(
3258
- ue,
3259
- {
3260
- name: n.name,
3261
- position: m.value,
3262
- rotation: d.value,
3263
- scale: f.value
3264
- },
3265
- {
3266
- default: () => k.value.map((L) => _(L, v))
3267
- }
3268
- );
3012
+ const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "density"]), { property: i } = a(e, [
3013
+ "settings",
3014
+ "direction"
3015
+ ]), { property: l } = a(e, [
3016
+ "settings",
3017
+ "disabled"
3018
+ ]), { property: r } = a(e, [
3019
+ "settings",
3020
+ "hideDetails"
3021
+ ]), { property: u } = a(e, [
3022
+ "settings",
3023
+ "indeterminate"
3024
+ ]), { property: p } = a(e, ["settings", "inline"]), { property: c } = a(e, ["settings", "inset"]), { property: m } = a(e, ["settings", "label"]), { property: d } = a(e, ["settings", "loading"]), { theme: f } = H(), { property: b } = a(e, ["settings", "value"]);
3025
+ return (g, k) => {
3026
+ const _ = R("v-switch");
3027
+ return w(), $(s(j), { mask: "" }, {
3028
+ default: V(() => [
3029
+ K(_, {
3030
+ modelValue: s(b),
3031
+ "onUpdate:modelValue": k[0] || (k[0] = (x) => ne(b) ? b.value = x : null),
3032
+ density: s(o),
3033
+ direction: s(i),
3034
+ disabled: s(l),
3035
+ "hide-details": s(r),
3036
+ indeterminate: s(u),
3037
+ inline: s(p),
3038
+ inset: s(c),
3039
+ label: s(m),
3040
+ loading: s(d),
3041
+ theme: s(f)
3042
+ }, null, 8, ["modelValue", "density", "direction", "disabled", "hide-details", "indeterminate", "inline", "inset", "label", "loading", "theme"])
3043
+ ]),
3044
+ _: 1
3045
+ });
3269
3046
  };
3270
- return (h, v) => (w(), $(x));
3271
3047
  }
3272
- }), El = /* @__PURE__ */ S({
3048
+ }), xl = /* @__PURE__ */ S({
3273
3049
  __name: "index",
3274
3050
  props: {
3275
3051
  nodeId: {},
@@ -3277,116 +3053,392 @@ const Sl = /* @__PURE__ */ We(wl, [["render", Il]]), Cl = /* @__PURE__ */ S({
3277
3053
  refContext: {}
3278
3054
  },
3279
3055
  setup(t) {
3280
- const n = gt(), e = t, { node: o } = P(e), i = Z(), l = Qe(), r = le(), u = se();
3281
- Pe(u);
3282
- const p = I(() => e.refContext?.compId);
3283
- et(p, u), ke(i) && tt(u, "ref", e.nodeId, "", _e());
3284
- const { applySize: c } = be(e, o), m = I(() => {
3285
- const _ = {};
3286
- return r.value?.type === "ui" && c(_), _;
3287
- }), { position: d, rotation: f, scale: b } = ce(o), g = (_) => {
3288
- const x = we[_.key];
3289
- if (!x) {
3290
- console.assert(!1, `element not found key=${_.key}`);
3291
- return;
3292
- }
3293
- const h = {
3294
- nodeId: _.id
3295
- };
3296
- return Xe(_.key) && (h.refContext = {
3297
- parent: e.refContext,
3298
- compId: _.compId
3299
- }), B(
3300
- x.comp,
3301
- {
3302
- key: _.id,
3303
- ...h
3304
- },
3305
- {
3306
- default: () => {
3307
- if (!x.leaf)
3308
- return _.children?.map((v) => g(v));
3309
- }
3310
- }
3311
- );
3312
- }, k = () => {
3313
- if (!e.refContext) {
3314
- console.assert(!1, "invalid of ref context");
3315
- return;
3316
- }
3317
- if (!r.value) {
3318
- console.assert(!1, "invalid of data");
3319
- return;
3320
- }
3321
- const { i18n: _ } = he;
3322
- if (Ye(e.refContext, l))
3323
- return r.value.type === "ui" ? B(
3324
- "div",
3325
- { id: n.id, style: m.value },
3326
- _.global.t("x-runtime-lib.circularReference")
3327
- ) : r.value.type === "3d" ? B(ue, {
3328
- name: n.name,
3329
- position: d.value,
3330
- rotation: f.value,
3331
- scale: b.value,
3332
- label: _.global.t("x-runtime-lib.circularReference")
3333
- }) : void 0;
3334
- if (!u.value)
3335
- return r.value.type === "ui" ? B("div", { id: n.id, style: m.value }) : r.value.type === "3d" ? B(ue, {
3336
- name: n.name,
3337
- position: d.value,
3338
- rotation: f.value,
3339
- scale: b.value
3340
- }) : void 0;
3341
- if (u.value.type !== r.value.type) {
3342
- console.assert(!1, "subtype not match");
3343
- return;
3344
- }
3345
- const x = u.value.type;
3346
- if (x === "ui")
3347
- return B(
3348
- "div",
3349
- {
3350
- id: n.id,
3351
- style: m.value
3352
- },
3353
- {
3354
- default: () => u.value?.view.nodeLites.map((h) => g(h))
3355
- }
3356
- );
3357
- if (x === "3d")
3358
- return B(
3359
- ue,
3360
- {
3361
- name: n.name,
3362
- position: d.value,
3363
- rotation: f.value,
3364
- scale: b.value
3365
- },
3366
- {
3367
- default: () => u.value?.view.nodeLites.map((h) => g(h))
3368
- }
3369
- );
3056
+ const n = t, { node: e } = P(n), o = Z(), { property: i } = a(e, ["settings", "text"]), { theme: l } = H(), { property: r } = a(e, ["settings", "value"]), u = I(() => {
3057
+ const p = {};
3058
+ return o === "editor" && (p.pointerEvents = "none"), p;
3059
+ });
3060
+ return (p, c) => {
3061
+ const m = R("v-tab");
3062
+ return w(), $(s(j), { mask: "" }, {
3063
+ default: V(() => [
3064
+ K(m, {
3065
+ style: me(u.value),
3066
+ text: s(i),
3067
+ theme: s(l),
3068
+ value: s(r)
3069
+ }, null, 8, ["style", "text", "theme", "value"])
3070
+ ]),
3071
+ _: 1
3072
+ });
3073
+ };
3074
+ }
3075
+ }), kl = /* @__PURE__ */ S({
3076
+ __name: "index",
3077
+ props: {
3078
+ nodeId: {},
3079
+ outer: { type: Boolean },
3080
+ refContext: {}
3081
+ },
3082
+ setup(t) {
3083
+ const n = t, { node: e } = P(n), { property: o } = a(e, [
3084
+ "settings",
3085
+ "alignTabs"
3086
+ ]), { property: i } = a(e, [
3087
+ "settings",
3088
+ "color",
3089
+ "backgroundColor"
3090
+ ]), { color: l } = Q(i), { property: r } = a(e, [
3091
+ "settings",
3092
+ "centerActive"
3093
+ ]), { property: u } = a(e, [
3094
+ "settings",
3095
+ "color",
3096
+ "selectedColor"
3097
+ ]), { color: p } = Q(u), { property: c } = a(e, ["settings", "density"]), { property: m } = a(e, [
3098
+ "settings",
3099
+ "direction"
3100
+ ]), { property: d } = a(e, [
3101
+ "settings",
3102
+ "disabled"
3103
+ ]), { property: f } = a(e, [
3104
+ "settings",
3105
+ "fixedTabs"
3106
+ ]), { property: b } = a(e, ["settings", "grow"]), { property: g } = a(e, [
3107
+ "settings",
3108
+ "hideSlider"
3109
+ ]), { property: k } = a(e, ["settings", "items"]), { property: _ } = a(e, [
3110
+ "settings",
3111
+ "mandatory"
3112
+ ]), { property: x } = a(e, [
3113
+ "settings",
3114
+ "showArrows"
3115
+ ]), { property: h } = a(e, [
3116
+ "settings",
3117
+ "color",
3118
+ "sliderColor"
3119
+ ]), { color: v } = Q(h), { property: L } = a(e, ["settings", "stacked"]), { theme: E } = H(), { property: J } = a(e, ["settings", "value"]);
3120
+ return (Y, N) => {
3121
+ const z = R("v-tabs");
3122
+ return w(), $(s(j), {
3123
+ block: "",
3124
+ mask: ""
3125
+ }, {
3126
+ default: V(() => [
3127
+ K(z, {
3128
+ modelValue: s(J),
3129
+ "onUpdate:modelValue": N[0] || (N[0] = (G) => ne(J) ? J.value = G : null),
3130
+ "align-tabs": s(o),
3131
+ "bg-color": s(l),
3132
+ "center-active": s(r),
3133
+ color: s(p),
3134
+ density: s(c),
3135
+ direction: s(m),
3136
+ disabled: s(d),
3137
+ "fixed-tabs": s(f),
3138
+ grow: s(b),
3139
+ "hide-slider": s(g),
3140
+ items: s(k),
3141
+ mandatory: s(_),
3142
+ "show-arrows": s(x),
3143
+ "slider-color": s(v),
3144
+ stacked: s(L),
3145
+ theme: s(E)
3146
+ }, {
3147
+ default: V(() => [
3148
+ O(Y.$slots, "default")
3149
+ ]),
3150
+ _: 3
3151
+ }, 8, ["modelValue", "align-tabs", "bg-color", "center-active", "color", "density", "direction", "disabled", "fixed-tabs", "grow", "hide-slider", "items", "mandatory", "show-arrows", "slider-color", "stacked", "theme"])
3152
+ ]),
3153
+ _: 3
3154
+ });
3155
+ };
3156
+ }
3157
+ }), wl = /* @__PURE__ */ S({
3158
+ __name: "index",
3159
+ props: {
3160
+ nodeId: {},
3161
+ outer: { type: Boolean },
3162
+ refContext: {}
3163
+ },
3164
+ setup(t) {
3165
+ const n = t, { node: e } = P(n), o = Ke(), { property: i } = a(e, ["settings", "align"]), { property: l } = a(e, [
3166
+ "settings",
3167
+ "decoration"
3168
+ ]), { property: r } = a(e, [
3169
+ "settings",
3170
+ "emphasis"
3171
+ ]), { property: u } = a(e, ["settings", "italic"]), { property: p } = a(e, ["settings", "text"]), { property: c } = a(e, ["settings", "weight"]), m = I(() => {
3172
+ const d = [], f = dt(o.value.width), b = Fe(f, e.value.settings?.style);
3173
+ return b && d.push(`text-${b}`), r.value === "high" ? d.push("text-high-emphasis") : r.value === "medium" ? d.push("text-medium-emphasis") : r.value === "disabled" && d.push("text-disabled"), i.value && d.push(`font-${i.value}`), l.value && d.push(`text-decoration-${l.value}`), c.value && d.push(`font-weight-${c.value}`), u.value && d.push("font-italic"), d.join(" ");
3174
+ });
3175
+ return (d, f) => (w(), $(s(j), { mask: "" }, {
3176
+ default: V(() => [
3177
+ Ue("span", {
3178
+ class: so(m.value)
3179
+ }, Si(s(p)), 3)
3180
+ ]),
3181
+ _: 1
3182
+ }));
3183
+ }
3184
+ }), Il = /* @__PURE__ */ S({
3185
+ __name: "index",
3186
+ props: {
3187
+ nodeId: {},
3188
+ outer: { type: Boolean },
3189
+ refContext: {}
3190
+ },
3191
+ setup(t) {
3192
+ const n = t, { node: e } = P(n), { property: o } = a(e, [
3193
+ "settings",
3194
+ "autoGrow"
3195
+ ]), { property: i } = a(e, [
3196
+ "settings",
3197
+ "clearable"
3198
+ ]), { property: l } = a(e, ["settings", "density"]), { property: r } = a(e, [
3199
+ "settings",
3200
+ "disabled"
3201
+ ]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { property: c } = a(e, ["settings", "maxRows"]), { property: m } = a(e, [
3202
+ "settings",
3203
+ "placeholder"
3204
+ ]), { property: d } = a(e, [
3205
+ "settings",
3206
+ "readonly"
3207
+ ]), { property: f } = a(e, ["settings", "reverse"]), { property: b } = a(e, ["settings", "rows"]), { property: g } = a(e, [
3208
+ "settings",
3209
+ "singleLine"
3210
+ ]), { theme: k } = H(), { property: _ } = a(e, ["settings", "value"]), { property: x } = a(e, ["settings", "variant"]);
3211
+ return (h, v) => {
3212
+ const L = R("v-textarea");
3213
+ return w(), $(s(j), {
3214
+ block: "",
3215
+ mask: ""
3216
+ }, {
3217
+ default: V(() => [
3218
+ K(L, {
3219
+ modelValue: s(_),
3220
+ "onUpdate:modelValue": v[0] || (v[0] = (E) => ne(_) ? _.value = E : null),
3221
+ "auto-grow": s(o),
3222
+ clearable: s(i),
3223
+ density: s(l),
3224
+ disabled: s(r),
3225
+ label: s(u),
3226
+ loading: s(p),
3227
+ "max-rows": s(c),
3228
+ placeholder: s(m),
3229
+ readonly: s(d),
3230
+ reverse: s(f),
3231
+ rows: s(b),
3232
+ "single-line": s(g),
3233
+ theme: s(k),
3234
+ variant: s(x)
3235
+ }, null, 8, ["modelValue", "auto-grow", "clearable", "density", "disabled", "label", "loading", "max-rows", "placeholder", "readonly", "reverse", "rows", "single-line", "theme", "variant"])
3236
+ ]),
3237
+ _: 1
3238
+ });
3239
+ };
3240
+ }
3241
+ }), Sl = /* @__PURE__ */ S({
3242
+ __name: "index",
3243
+ props: {
3244
+ nodeId: {},
3245
+ outer: { type: Boolean },
3246
+ refContext: {}
3247
+ },
3248
+ setup(t) {
3249
+ const n = t, { node: e } = P(n), { property: o } = a(e, [
3250
+ "settings",
3251
+ "appendIcon"
3252
+ ]), { property: i } = a(e, [
3253
+ "settings",
3254
+ "appendInnerIcon"
3255
+ ]), { property: l } = a(e, [
3256
+ "settings",
3257
+ "autofocus"
3258
+ ]), { property: r } = a(e, [
3259
+ "settings",
3260
+ "clearable"
3261
+ ]), { property: u } = a(e, ["settings", "density"]), { property: p } = a(e, [
3262
+ "settings",
3263
+ "disabled"
3264
+ ]), { property: c } = a(e, [
3265
+ "settings",
3266
+ "hideDetails"
3267
+ ]), { property: m } = a(e, ["settings", "label"]), { property: d } = a(e, ["settings", "loading"]), { property: f } = a(e, [
3268
+ "settings",
3269
+ "placeholder"
3270
+ ]), { property: b } = a(e, ["settings", "prefix"]), { property: g } = a(e, [
3271
+ "settings",
3272
+ "prependIcon"
3273
+ ]), { property: k } = a(e, [
3274
+ "settings",
3275
+ "prependInnerIcon"
3276
+ ]), { property: _ } = a(e, [
3277
+ "settings",
3278
+ "readonly"
3279
+ ]), { property: x } = a(e, ["settings", "reverse"]), { property: h } = a(e, [
3280
+ "settings",
3281
+ "singleLine"
3282
+ ]), { property: v } = a(e, ["settings", "suffix"]), { theme: L } = H(), { property: E } = a(e, ["settings", "value"]), { property: J } = a(e, ["settings", "variant"]), { property: Y } = a(e, ["slots", "append"]), { property: N } = a(e, [
3283
+ "slots",
3284
+ "appendInner"
3285
+ ]), { property: z } = a(e, ["slots", "prepend"]), { property: G } = a(e, [
3286
+ "slots",
3287
+ "prependInner"
3288
+ ]);
3289
+ return (ie, ge) => {
3290
+ const ze = R("v-text-field");
3291
+ return w(), $(s(j), {
3292
+ block: "",
3293
+ mask: ""
3294
+ }, {
3295
+ default: V(() => [
3296
+ K(ze, {
3297
+ modelValue: s(E),
3298
+ "onUpdate:modelValue": ge[0] || (ge[0] = (ve) => ne(E) ? E.value = ve : null),
3299
+ "append-icon": s(o),
3300
+ "append-inner-icon": s(i),
3301
+ autofocus: s(l),
3302
+ clearable: s(r),
3303
+ density: s(u),
3304
+ disabled: s(p),
3305
+ "hide-details": s(c),
3306
+ label: s(m),
3307
+ loading: s(d),
3308
+ placeholder: s(f),
3309
+ prefix: s(b),
3310
+ "prepend-icon": s(g),
3311
+ "prepend-inner-icon": s(k),
3312
+ readonly: s(_),
3313
+ reverse: s(x),
3314
+ "single-line": s(h),
3315
+ suffix: s(v),
3316
+ theme: s(L),
3317
+ variant: s(J)
3318
+ }, rn({ _: 2 }, [
3319
+ s(Y) ? {
3320
+ name: "append",
3321
+ fn: V(() => [
3322
+ K(s($e), {
3323
+ "node-id": "append",
3324
+ "ref-context": { compId: s(Y) },
3325
+ state: {}
3326
+ }, null, 8, ["ref-context"])
3327
+ ]),
3328
+ key: "0"
3329
+ } : void 0,
3330
+ s(N) ? {
3331
+ name: "append-inner",
3332
+ fn: V(() => [
3333
+ K(s($e), {
3334
+ "node-id": "append-inner",
3335
+ "ref-context": { compId: s(N) },
3336
+ state: {}
3337
+ }, null, 8, ["ref-context"])
3338
+ ]),
3339
+ key: "1"
3340
+ } : void 0,
3341
+ s(z) ? {
3342
+ name: "prepend",
3343
+ fn: V(() => [
3344
+ K(s($e), {
3345
+ "node-id": "prepend",
3346
+ "ref-context": { compId: s(z) },
3347
+ state: {}
3348
+ }, null, 8, ["ref-context"])
3349
+ ]),
3350
+ key: "2"
3351
+ } : void 0,
3352
+ s(G) ? {
3353
+ name: "prepend-inner",
3354
+ fn: V(() => [
3355
+ K(s($e), {
3356
+ "node-id": "prepend-inner",
3357
+ "ref-context": { compId: s(G) },
3358
+ state: {}
3359
+ }, null, 8, ["ref-context"])
3360
+ ]),
3361
+ key: "3"
3362
+ } : void 0
3363
+ ]), 1032, ["modelValue", "append-icon", "append-inner-icon", "autofocus", "clearable", "density", "disabled", "hide-details", "label", "loading", "placeholder", "prefix", "prepend-icon", "prepend-inner-icon", "readonly", "reverse", "single-line", "suffix", "theme", "variant"])
3364
+ ]),
3365
+ _: 1
3366
+ });
3367
+ };
3368
+ }
3369
+ }), Cl = /* @__PURE__ */ S({
3370
+ __name: "index",
3371
+ props: {
3372
+ nodeId: {},
3373
+ outer: { type: Boolean },
3374
+ refContext: {}
3375
+ },
3376
+ setup(t) {
3377
+ const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "align"]), { property: i } = a(e, ["settings", "density"]), { property: l } = a(e, [
3378
+ "settings",
3379
+ "direction"
3380
+ ]), { property: r } = a(e, [
3381
+ "settings",
3382
+ "dot",
3383
+ "color"
3384
+ ]), { color: u } = Q(r), { property: p } = a(e, [
3385
+ "settings",
3386
+ "dot",
3387
+ "fill"
3388
+ ]), { property: c } = a(e, [
3389
+ "settings",
3390
+ "hideOpposite"
3391
+ ]), { property: m } = a(e, [
3392
+ "settings",
3393
+ "line",
3394
+ "color"
3395
+ ]), { color: d } = Q(m), { property: f } = a(e, [
3396
+ "settings",
3397
+ "line",
3398
+ "inset"
3399
+ ]), { property: b } = a(e, [
3400
+ "settings",
3401
+ "line",
3402
+ "thickness"
3403
+ ]), { property: g } = a(e, ["settings", "side"]), { property: k } = a(e, [
3404
+ "settings",
3405
+ "line",
3406
+ "truncate"
3407
+ ]), { theme: _ } = H();
3408
+ return (x, h) => {
3409
+ const v = R("v-timeline");
3410
+ return w(), $(v, {
3411
+ align: s(o),
3412
+ density: s(i),
3413
+ direction: s(l),
3414
+ "dot-color": s(u),
3415
+ "fill-dot": s(p),
3416
+ "hide-opposite": s(c),
3417
+ "line-color": s(d),
3418
+ "line-inset": s(f),
3419
+ "line-thickness": s(b),
3420
+ side: s(g),
3421
+ theme: s(_),
3422
+ "truncate-line": s(k)
3423
+ }, {
3424
+ default: V(() => [
3425
+ O(x.$slots, "default")
3426
+ ]),
3427
+ _: 3
3428
+ }, 8, ["align", "density", "direction", "dot-color", "fill-dot", "hide-opposite", "line-color", "line-inset", "line-thickness", "side", "theme", "truncate-line"]);
3370
3429
  };
3371
- return (_, x) => (w(), $(k));
3372
- }
3373
- }), Tl = /* @__PURE__ */ S({
3374
- __name: "index",
3375
- props: {
3376
- nodeId: {},
3377
- outer: { type: Boolean },
3378
- refContext: {}
3379
- },
3380
- setup(t) {
3381
- const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "open"]);
3382
- return (i, l) => (w(), $(s(j), null, {
3383
- default: V(() => [
3384
- s(o) ? O(i.$slots, "default", { key: 0 }) : re("", !0)
3385
- ]),
3386
- _: 3
3387
- }));
3388
3430
  }
3389
- }), $e = /* @__PURE__ */ S({
3431
+ }), $l = {};
3432
+ function Vl(t, n) {
3433
+ const e = R("v-timeline-item");
3434
+ return w(), $(e, null, {
3435
+ default: V(() => [
3436
+ O(t.$slots, "default")
3437
+ ]),
3438
+ _: 3
3439
+ });
3440
+ }
3441
+ const Pl = /* @__PURE__ */ We($l, [["render", Vl]]), zl = /* @__PURE__ */ S({
3390
3442
  __name: "index",
3391
3443
  props: {
3392
3444
  nodeId: {},
@@ -3394,102 +3446,50 @@ const Sl = /* @__PURE__ */ We(wl, [["render", Il]]), Cl = /* @__PURE__ */ S({
3394
3446
  refContext: {}
3395
3447
  },
3396
3448
  setup(t) {
3397
- const n = gt(), e = t, { node: o } = P(e), i = Z(), l = Qe(), r = le(), u = se();
3398
- Pe(u);
3399
- const p = I(() => e.refContext?.compId);
3400
- et(p, u), ke(i) && tt(u, "customSlot", e.nodeId, "", _e());
3401
- const { applySize: c } = be(e, o), m = I(() => {
3402
- const _ = {};
3403
- return u.value?.type === "ui" && c(_), _;
3404
- }), { position: d, rotation: f, scale: b } = ce(o);
3405
- function g(_) {
3406
- const x = we[_.key];
3407
- if (!x) {
3408
- console.assert(!1, `element not found key=${_.key}`);
3409
- return;
3410
- }
3411
- const h = {
3412
- nodeId: _.id
3413
- };
3414
- return Xe(_.key) && (h.refContext = {
3415
- parent: e.refContext,
3416
- compId: _.compId
3417
- }), B(
3418
- x.comp,
3419
- {
3420
- key: _.id,
3421
- ...h
3422
- },
3423
- {
3424
- default: () => {
3425
- if (!x.leaf)
3426
- return _.children?.map((v) => g(v));
3427
- }
3428
- }
3429
- );
3430
- }
3431
- const k = () => {
3432
- if (!e.refContext) {
3433
- console.assert(!1, "invalid of ref context");
3434
- return;
3435
- }
3436
- if (!r.value) {
3437
- console.assert(!1, "invalid of data");
3438
- return;
3439
- }
3440
- const { i18n: _ } = he;
3441
- if (Ye(e.refContext, l))
3442
- return r.value.type === "ui" ? B(
3443
- "div",
3444
- { id: n.id, style: m.value },
3445
- _.global.t("x-runtime-lib.circularReference")
3446
- ) : r.value.type === "3d" ? B(ue, {
3447
- name: n.name,
3448
- position: d.value,
3449
- rotation: f.value,
3450
- scale: b.value,
3451
- label: _.global.t("x-runtime-lib.circularReference")
3452
- }) : void 0;
3453
- if (!u.value)
3454
- return r.value.type === "ui" ? B("div", { id: n.id, style: m.value }) : r.value.type === "3d" ? B(ue, {
3455
- name: n.name,
3456
- position: d.value,
3457
- rotation: f.value,
3458
- scale: b.value
3459
- }) : void 0;
3460
- if (u.value.type !== r.value.type) {
3461
- console.assert(!1, "subtype not match");
3462
- return;
3463
- }
3464
- const x = u.value.type;
3465
- if (x === "ui")
3466
- return B(
3467
- "div",
3468
- {
3469
- id: n.id,
3470
- style: m.value
3471
- },
3472
- {
3473
- default: () => u.value?.view.nodeLites.map((h) => g(h))
3474
- }
3475
- );
3476
- if (x === "3d")
3477
- return B(
3478
- ue,
3479
- {
3480
- name: n.name,
3481
- position: d.value,
3482
- rotation: f.value,
3483
- scale: b.value
3484
- },
3485
- {
3486
- default: () => u.value?.view.nodeLites.map((h) => g(h))
3487
- }
3488
- );
3449
+ const n = t, { node: e } = P(n), { property: o } = a(e, [
3450
+ "settings",
3451
+ "continuous"
3452
+ ]), { property: i } = a(e, [
3453
+ "settings",
3454
+ "disabled"
3455
+ ]), { property: l } = a(e, [
3456
+ "settings",
3457
+ "direction"
3458
+ ]), { property: r } = a(e, ["settings", "reverse"]), { property: u } = a(e, [
3459
+ "settings",
3460
+ "showArrows"
3461
+ ]), { property: p } = a(e, ["settings", "touch"]), { theme: c } = H(), { property: m } = a(e, ["settings", "value"]);
3462
+ return (d, f) => {
3463
+ const b = R("v-window");
3464
+ return w(), $(b, {
3465
+ modelValue: s(m),
3466
+ "onUpdate:modelValue": f[0] || (f[0] = (g) => ne(m) ? m.value = g : null),
3467
+ continuous: s(o),
3468
+ direction: s(l),
3469
+ disabled: s(i),
3470
+ reverse: s(r),
3471
+ "show-arrows": s(u),
3472
+ theme: s(c),
3473
+ touch: s(p)
3474
+ }, {
3475
+ default: V(() => [
3476
+ O(d.$slots, "default")
3477
+ ]),
3478
+ _: 3
3479
+ }, 8, ["modelValue", "continuous", "direction", "disabled", "reverse", "show-arrows", "theme", "touch"]);
3489
3480
  };
3490
- return (_, x) => (w(), $(k));
3491
3481
  }
3492
- }), y = {
3482
+ }), Ll = {};
3483
+ function El(t, n) {
3484
+ const e = R("v-window-item");
3485
+ return w(), $(e, null, {
3486
+ default: V(() => [
3487
+ O(t.$slots, "default")
3488
+ ]),
3489
+ _: 3
3490
+ });
3491
+ }
3492
+ const Tl = /* @__PURE__ */ We(Ll, [["render", El]]), y = {
3493
3493
  key: "basic",
3494
3494
  name: "x-runtime-lib.basic",
3495
3495
  children: [
@@ -4623,7 +4623,7 @@ const it = {
4623
4623
  }, Ql = {
4624
4624
  key: "multiple_ref_v1",
4625
4625
  name: "x-runtime-lib.multipleRef",
4626
- comp: Pl,
4626
+ comp: $r,
4627
4627
  properties: {
4628
4628
  pageUi: [y, q, it, ot],
4629
4629
  compUi: [y, q, it, ot],
@@ -4660,7 +4660,7 @@ const st = {
4660
4660
  }, ea = {
4661
4661
  key: "multiple_slot_v1",
4662
4662
  name: "x-runtime-lib.multipleSlot",
4663
- comp: Ll,
4663
+ comp: Pr,
4664
4664
  properties: {
4665
4665
  pageUi: [y, q, st, rt],
4666
4666
  compUi: [y, q, st, rt],
@@ -4684,7 +4684,7 @@ const lt = {
4684
4684
  }, ta = {
4685
4685
  key: "ref_v1",
4686
4686
  name: "x-runtime-lib.reference",
4687
- comp: El,
4687
+ comp: zr,
4688
4688
  properties: {
4689
4689
  pageUi: [y, q, lt],
4690
4690
  compUi: [y, q, lt],
@@ -4708,7 +4708,7 @@ const Un = {
4708
4708
  }, na = {
4709
4709
  key: "render_switch_v1",
4710
4710
  name: "x-runtime-lib.renderSwitch",
4711
- comp: Tl,
4711
+ comp: Lr,
4712
4712
  properties: {
4713
4713
  pageUi: [y, Un],
4714
4714
  compUi: [y, Un]
@@ -4849,7 +4849,7 @@ const Rn = {
4849
4849
  }, pa = {
4850
4850
  key: "ui_badge_v1",
4851
4851
  name: "x-runtime-lib.badge",
4852
- comp: Ir,
4852
+ comp: Er,
4853
4853
  properties: {
4854
4854
  pageUi: [y, Rn],
4855
4855
  compUi: [y, Rn]
@@ -4955,7 +4955,7 @@ const fa = D(ee), Wn = {
4955
4955
  }, Mt = {
4956
4956
  key: "ui_btn_v1",
4957
4957
  name: "x-runtime-lib.button",
4958
- comp: Sr,
4958
+ comp: Tr,
4959
4959
  properties: {
4960
4960
  pageUi: [y, q, Wn],
4961
4961
  compUi: [y, q, Wn]
@@ -4973,7 +4973,7 @@ C(Mt);
4973
4973
  const ya = {
4974
4974
  key: "ui_btn_group_v1",
4975
4975
  name: "x-runtime-lib.buttonGroup",
4976
- comp: Vr,
4976
+ comp: Ur,
4977
4977
  properties: {
4978
4978
  pageUi: [y],
4979
4979
  compUi: [y]
@@ -5044,7 +5044,7 @@ const Bn = {
5044
5044
  }, ba = {
5045
5045
  key: "ui_btn_toggle_v1",
5046
5046
  name: "x-runtime-lib.buttonToggle",
5047
- comp: Pr,
5047
+ comp: Rr,
5048
5048
  properties: {
5049
5049
  pageUi: [y, Bn],
5050
5050
  compUi: [y, Bn]
@@ -5118,7 +5118,7 @@ const Kn = {
5118
5118
  }, Je = {
5119
5119
  key: "ui_card_v1",
5120
5120
  name: "x-runtime-lib.card",
5121
- comp: zr,
5121
+ comp: Wr,
5122
5122
  properties: {
5123
5123
  pageUi: [y, q, Kn],
5124
5124
  compUi: [y, q, Kn]
@@ -5146,7 +5146,7 @@ const Dn = {
5146
5146
  }, ha = {
5147
5147
  key: "ui_checkbox_v1",
5148
5148
  name: "x-runtime-lib.checkbox",
5149
- comp: Lr,
5149
+ comp: Br,
5150
5150
  properties: {
5151
5151
  pageUi: [y, Dn],
5152
5152
  compUi: [y, Dn]
@@ -5232,7 +5232,7 @@ const _a = D(ee), On = {
5232
5232
  }, Ut = {
5233
5233
  key: "ui_chip_v1",
5234
5234
  name: "x-runtime-lib.chip",
5235
- comp: Er,
5235
+ comp: Kr,
5236
5236
  properties: {
5237
5237
  pageUi: [y, On],
5238
5238
  compUi: [y, On]
@@ -5330,7 +5330,7 @@ const Fn = {
5330
5330
  }, Rt = {
5331
5331
  key: "ui_chip_group_v1",
5332
5332
  name: "x-runtime-lib.chipGroup",
5333
- comp: Tr,
5333
+ comp: Dr,
5334
5334
  properties: {
5335
5335
  pageUi: [y, Fn],
5336
5336
  compUi: [y, Fn]
@@ -5341,7 +5341,7 @@ C(Rt);
5341
5341
  const xa = {
5342
5342
  key: "ui_color_picker_v1",
5343
5343
  name: "x-runtime-lib.colorPicker",
5344
- comp: Ar,
5344
+ comp: Or,
5345
5345
  properties: {
5346
5346
  pageUi: [y],
5347
5347
  compUi: [y]
@@ -5393,7 +5393,7 @@ const Nn = {
5393
5393
  }, ka = {
5394
5394
  key: "ui_combobox_v1",
5395
5395
  name: "x-runtime-lib.combobox",
5396
- comp: Mr,
5396
+ comp: Fr,
5397
5397
  properties: {
5398
5398
  pageUi: [y, Nn],
5399
5399
  compUi: [y, Nn]
@@ -5411,7 +5411,7 @@ const jn = {
5411
5411
  }, Wt = {
5412
5412
  key: "ui_container_v1",
5413
5413
  name: "x-runtime-lib.container",
5414
- comp: Ur,
5414
+ comp: Nr,
5415
5415
  properties: {
5416
5416
  pageUi: [y, q, Ee, Te, Ae, jn],
5417
5417
  compUi: [y, q, Ee, Te, Ae, jn]
@@ -5579,7 +5579,7 @@ const Hn = {
5579
5579
  }, wa = {
5580
5580
  key: "ui_data_table_v1",
5581
5581
  name: "x-runtime-lib.dataTable",
5582
- comp: Wr,
5582
+ comp: Hr,
5583
5583
  properties: {
5584
5584
  pageUi: [y, Hn, Jn, Gn],
5585
5585
  compUi: [y, Hn, Jn, Gn]
@@ -5590,7 +5590,7 @@ C(wa);
5590
5590
  const Ia = {
5591
5591
  key: "ui_date_picker_v1",
5592
5592
  name: "x-runtime-lib.datePicker",
5593
- comp: Br,
5593
+ comp: Jr,
5594
5594
  properties: {
5595
5595
  pageUi: [y],
5596
5596
  compUi: [y]
@@ -5601,7 +5601,7 @@ C(Ia);
5601
5601
  const Sa = {
5602
5602
  key: "ui_dialog_v1",
5603
5603
  name: "x-runtime-lib.dialog",
5604
- comp: Dr,
5604
+ comp: qr,
5605
5605
  properties: {
5606
5606
  pageUi: [y],
5607
5607
  compUi: [y]
@@ -5626,7 +5626,7 @@ const qn = {
5626
5626
  }, Vc = {
5627
5627
  key: "ui_file_input_v1",
5628
5628
  name: "x-runtime-lib.fileInput",
5629
- comp: Or,
5629
+ comp: Xr,
5630
5630
  properties: {
5631
5631
  pageUi: [y, qn],
5632
5632
  compUi: [y, qn]
@@ -5652,7 +5652,7 @@ const qn = {
5652
5652
  }, Bt = {
5653
5653
  key: "ui_flex_layout_entry_v1",
5654
5654
  name: "x-runtime-lib.flexLayoutEntry",
5655
- comp: Nr,
5655
+ comp: Zr,
5656
5656
  properties: {
5657
5657
  pageUi: [y, q, Xn],
5658
5658
  compUi: [y, q, Xn]
@@ -5897,7 +5897,7 @@ const Yn = {
5897
5897
  }, Ge = {
5898
5898
  key: "ui_flex_layout_v1",
5899
5899
  name: "x-runtime-lib.flexLayout",
5900
- comp: Fr,
5900
+ comp: Yr,
5901
5901
  properties: {
5902
5902
  pageUi: [y, q, Ee, Te, Ae, Yn],
5903
5903
  compUi: [y, q, Ee, Te, Ae, Yn]
@@ -6064,7 +6064,7 @@ const Zn = {
6064
6064
  }, Dt = {
6065
6065
  key: "ui_text_field_v1",
6066
6066
  name: "x-runtime-lib.textField",
6067
- comp: gl,
6067
+ comp: Sl,
6068
6068
  properties: {
6069
6069
  pageUi: [y, Zn, Qn],
6070
6070
  compUi: [y, Zn, Qn]
@@ -6134,7 +6134,7 @@ const ei = {
6134
6134
  }, Ot = {
6135
6135
  key: "ui_form_v1",
6136
6136
  name: "x-runtime-lib.form",
6137
- comp: jr,
6137
+ comp: Qr,
6138
6138
  properties: {
6139
6139
  pageUi: [y, q, Ee, Te, Ae, ei],
6140
6140
  compUi: [y, q, Ee, Te, Ae, ei]
@@ -6176,7 +6176,7 @@ const za = D(ee), ti = {
6176
6176
  }, La = {
6177
6177
  key: "ui_icon_v1",
6178
6178
  name: "x-runtime-lib.icon",
6179
- comp: Hr,
6179
+ comp: el,
6180
6180
  properties: {
6181
6181
  pageUi: [y, ti],
6182
6182
  compUi: [y, ti]
@@ -6187,7 +6187,7 @@ C(La);
6187
6187
  const Ea = {
6188
6188
  key: "ui_menu_v1",
6189
6189
  name: "x-runtime-lib.menu",
6190
- comp: Gr,
6190
+ comp: nl,
6191
6191
  properties: {
6192
6192
  pageUi: [y],
6193
6193
  compUi: [y]
@@ -6384,7 +6384,7 @@ const ni = {
6384
6384
  }, Ft = {
6385
6385
  key: "ui_number_input_v1",
6386
6386
  name: "x-runtime-lib.numberInput",
6387
- comp: qr,
6387
+ comp: il,
6388
6388
  properties: {
6389
6389
  pageUi: [y, ni, ii],
6390
6390
  compUi: [y, ni, ii]
@@ -6481,7 +6481,7 @@ const oi = {
6481
6481
  }, Aa = {
6482
6482
  key: "ui_pagination_v1",
6483
6483
  name: "x-runtime-lib.pagination",
6484
- comp: Xr,
6484
+ comp: ol,
6485
6485
  properties: {
6486
6486
  pageUi: [y, oi],
6487
6487
  compUi: [y, oi]
@@ -6529,7 +6529,7 @@ const Ma = D(ee), si = {
6529
6529
  }, Nt = {
6530
6530
  key: "ui_radio_v1",
6531
6531
  name: "x-runtime-lib.radio",
6532
- comp: Yr,
6532
+ comp: sl,
6533
6533
  properties: {
6534
6534
  pageUi: [y, si],
6535
6535
  compUi: [y, si]
@@ -6610,7 +6610,7 @@ const ri = {
6610
6610
  }, jt = {
6611
6611
  key: "ui_radio_group_v1",
6612
6612
  name: "x-runtime-lib.radioGroup",
6613
- comp: Zr,
6613
+ comp: rl,
6614
6614
  properties: {
6615
6615
  pageUi: [y, ri],
6616
6616
  compUi: [y, ri]
@@ -6738,7 +6738,7 @@ const li = {
6738
6738
  }, Ra = {
6739
6739
  key: "ui_range_slider_v1",
6740
6740
  name: "x-runtime-lib.rangeSlider",
6741
- comp: Qr,
6741
+ comp: ll,
6742
6742
  properties: {
6743
6743
  pageUi: [y, li],
6744
6744
  compUi: [y, li]
@@ -6804,7 +6804,7 @@ const ai = {
6804
6804
  }, Wa = {
6805
6805
  key: "ui_rating_v1",
6806
6806
  name: "x-runtime-lib.rating",
6807
- comp: el,
6807
+ comp: al,
6808
6808
  properties: {
6809
6809
  pageUi: [y, ai],
6810
6810
  compUi: [y, ai]
@@ -6856,7 +6856,7 @@ const ui = {
6856
6856
  }, Ba = {
6857
6857
  key: "ui_select_v1",
6858
6858
  name: "x-runtime-lib.select",
6859
- comp: tl,
6859
+ comp: ul,
6860
6860
  properties: {
6861
6861
  pageUi: [y, ui],
6862
6862
  compUi: [y, ui]
@@ -7002,7 +7002,7 @@ const ci = {
7002
7002
  }, Ka = {
7003
7003
  key: "ui_slider_v1",
7004
7004
  name: "x-runtime-lib.slider",
7005
- comp: nl,
7005
+ comp: cl,
7006
7006
  properties: {
7007
7007
  pageUi: [y, ci, di],
7008
7008
  compUi: [y, ci, di]
@@ -7013,7 +7013,7 @@ C(Ka);
7013
7013
  const Ht = {
7014
7014
  key: "ui_stepper_header_v1",
7015
7015
  name: "x-runtime-lib.stepperHeader",
7016
- comp: rl,
7016
+ comp: fl,
7017
7017
  properties: {
7018
7018
  pageUi: [y],
7019
7019
  compUi: [y]
@@ -7034,7 +7034,7 @@ const pi = {
7034
7034
  }, Jt = {
7035
7035
  key: "ui_stepper_item_v1",
7036
7036
  name: "x-runtime-lib.stepperItem",
7037
- comp: ll,
7037
+ comp: yl,
7038
7038
  properties: {
7039
7039
  pageUi: [y, pi],
7040
7040
  compUi: [y, pi]
@@ -7044,7 +7044,7 @@ C(Jt);
7044
7044
  const Gt = {
7045
7045
  key: "ui_stepper_window_v1",
7046
7046
  name: "x-runtime-lib.stepperWindow",
7047
- comp: cl,
7047
+ comp: hl,
7048
7048
  properties: {
7049
7049
  pageUi: [y],
7050
7050
  compUi: [y]
@@ -7065,7 +7065,7 @@ const mi = {
7065
7065
  }, qt = {
7066
7066
  key: "ui_stepper_window_item_v1",
7067
7067
  name: "x-runtime-lib.stepperWindowItem",
7068
- comp: dl,
7068
+ comp: _l,
7069
7069
  properties: {
7070
7070
  pageUi: [y, mi],
7071
7071
  compUi: [y, mi]
@@ -7163,7 +7163,7 @@ const fi = {
7163
7163
  }, Xt = {
7164
7164
  key: "ui_stepper_v1",
7165
7165
  name: "x-runtime-lib.stepper",
7166
- comp: il,
7166
+ comp: dl,
7167
7167
  properties: {
7168
7168
  pageUi: [y, fi],
7169
7169
  compUi: [y, fi]
@@ -7174,7 +7174,7 @@ C(Xt);
7174
7174
  const ja = {
7175
7175
  key: "ui_switch_v1",
7176
7176
  name: "x-runtime-lib.switch",
7177
- comp: pl,
7177
+ comp: vl,
7178
7178
  properties: {
7179
7179
  pageUi: [y],
7180
7180
  compUi: [y]
@@ -7202,7 +7202,7 @@ const yi = {
7202
7202
  }, Yt = {
7203
7203
  key: "ui_tab_v1",
7204
7204
  name: "x-runtime-lib.tab",
7205
- comp: ml,
7205
+ comp: xl,
7206
7206
  properties: {
7207
7207
  pageUi: [y, yi],
7208
7208
  compUi: [y, yi]
@@ -7324,7 +7324,7 @@ const bi = {
7324
7324
  }, Zt = {
7325
7325
  key: "ui_tabs_v1",
7326
7326
  name: "x-runtime-lib.tabs",
7327
- comp: fl,
7327
+ comp: kl,
7328
7328
  properties: {
7329
7329
  pageUi: [y, bi],
7330
7330
  compUi: [y, bi]
@@ -7430,7 +7430,7 @@ const gi = {
7430
7430
  }, Ve = {
7431
7431
  key: "ui_text_v1",
7432
7432
  name: "x-runtime-lib.text",
7433
- comp: yl,
7433
+ comp: wl,
7434
7434
  properties: {
7435
7435
  pageUi: [y, gi],
7436
7436
  compUi: [y, gi]
@@ -7522,7 +7522,7 @@ const hi = {
7522
7522
  }, Qt = {
7523
7523
  key: "ui_textarea_v1",
7524
7524
  name: "x-runtime-lib.textarea",
7525
- comp: bl,
7525
+ comp: Il,
7526
7526
  properties: {
7527
7527
  pageUi: [y, hi],
7528
7528
  compUi: [y, hi]
@@ -7534,7 +7534,7 @@ C(Qt);
7534
7534
  const en = {
7535
7535
  key: "ui_timeline_item_v1",
7536
7536
  name: "x-runtime-lib.timelineItem",
7537
- comp: xl,
7537
+ comp: Pl,
7538
7538
  properties: {
7539
7539
  pageUi: [y],
7540
7540
  compUi: [y]
@@ -7657,7 +7657,7 @@ const Ya = D(ee), Za = D(ee), _i = {
7657
7657
  }, tn = {
7658
7658
  key: "ui_timeline_v1",
7659
7659
  name: "x-runtime-lib.timeline",
7660
- comp: hl,
7660
+ comp: Cl,
7661
7661
  properties: {
7662
7662
  pageUi: [y, _i],
7663
7663
  compUi: [y, _i]
@@ -7668,7 +7668,7 @@ C(tn);
7668
7668
  const nn = {
7669
7669
  key: "ui_window_item_v1",
7670
7670
  name: "x-runtime-lib.windowItem",
7671
- comp: Sl,
7671
+ comp: Tl,
7672
7672
  properties: {
7673
7673
  pageUi: [y],
7674
7674
  compUi: [y]
@@ -7773,7 +7773,7 @@ const vi = {
7773
7773
  }, on = {
7774
7774
  key: "ui_window_v1",
7775
7775
  name: "x-runtime-lib.window",
7776
- comp: kl,
7776
+ comp: zl,
7777
7777
  properties: {
7778
7778
  pageUi: [y, vi],
7779
7779
  compUi: [y, vi]