x-runtime-lib 0.8.218 → 0.8.219

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.
@@ -0,0 +1,2 @@
1
+ import { t as en_default } from "./i18n-en.jkuvala9.js";
2
+ export { en_default as default };
@@ -102,6 +102,7 @@ var en_default = { "x-runtime-lib": {
102
102
  density: "Density",
103
103
  depth: "Depth",
104
104
  depthSegements: "Depth Segements",
105
+ detail: "Detail",
105
106
  dialog: "Dialog",
106
107
  direction: "Direction",
107
108
  directionalLight: "Directional Light",
@@ -102,6 +102,7 @@ var zhHans_default = { "x-runtime-lib": {
102
102
  density: "密度",
103
103
  depth: "深度",
104
104
  depthSegements: "深度分段(s)",
105
+ detail: "细节",
105
106
  dialog: "对话框",
106
107
  direction: "方向",
107
108
  directionalLight: "平行光",
package/dist/index.js CHANGED
@@ -3812,11 +3812,19 @@ var echarts_default = core_exports, v1_default$49 = /* @__PURE__ */ defineCompon
3812
3812
  setup(e) {
3813
3813
  let u = e, { node: d } = useElementBase(u);
3814
3814
  provideNode(d);
3815
- let f = injectMode(), { property: p } = useElementProperty(d, ["settings", "density"]), { property: m } = useElementProperty(d, ["settings", "fixedFooter"]), { property: g } = useElementProperty(d, ["settings", "fixedHeader"]), { property: _ } = useElementProperty(d, ["settings", "headers"]), { property: v } = useElementProperty(d, ["size", "height"]), { property: y } = useElementProperty(d, ["settings", "hover"]), { property: b } = useElementProperty(d, ["settings", "data"], !0), { property: x } = useElementProperty(d, ["settings", "loading"]), { property: S } = useElementProperty(d, ["settings", "multiSort"]), { theme: C } = useTheme(), { property: w } = useElementProperty(d, ["size", "width"]), T = ref([]);
3815
+ let f = injectMode(), { property: p } = useElementProperty(d, ["settings", "density"]), { property: m } = useElementProperty(d, ["settings", "fixedFooter"]), { property: g } = useElementProperty(d, ["settings", "fixedHeader"]), { property: _ } = useElementProperty(d, ["settings", "headers"]), v = computed(() => {
3816
+ let e = [];
3817
+ for (let { value: u, title: d, detail: f } of _.value) e.push({
3818
+ value: u,
3819
+ title: d,
3820
+ ...f
3821
+ });
3822
+ return e;
3823
+ }), { property: y } = useElementProperty(d, ["size", "height"]), { property: b } = useElementProperty(d, ["settings", "hover"]), { property: x } = useElementProperty(d, ["settings", "data"], !0), { property: S } = useElementProperty(d, ["settings", "loading"]), { property: C } = useElementProperty(d, ["settings", "multiSort"]), { theme: w } = useTheme(), { property: T } = useElementProperty(d, ["size", "width"]), E = ref([]);
3816
3824
  if (isExecutableMode(f)) {
3817
3825
  let { property: e } = useElementProperty(d, ["slots", "columns"]);
3818
3826
  watchEffect(() => {
3819
- T.value = e.value;
3827
+ E.value = e.value;
3820
3828
  });
3821
3829
  }
3822
3830
  return (e, d) => {
@@ -3829,15 +3837,15 @@ var echarts_default = core_exports, v1_default$49 = /* @__PURE__ */ defineCompon
3829
3837
  density: unref(p),
3830
3838
  "fixed-footer": unref(m),
3831
3839
  "fixed-header": unref(g),
3832
- headers: unref(_),
3833
- height: unref(v),
3834
- hover: unref(y),
3835
- items: unref(b),
3836
- loading: unref(x),
3837
- "multi-sort": unref(S),
3838
- theme: unref(C),
3839
- width: unref(w)
3840
- }, createSlots({ _: 2 }, [renderList(T.value, ({ key: e, comp: d }) => ({
3840
+ headers: v.value,
3841
+ height: unref(y),
3842
+ hover: unref(b),
3843
+ items: unref(x),
3844
+ loading: unref(S),
3845
+ "multi-sort": unref(C),
3846
+ theme: unref(w),
3847
+ width: unref(T)
3848
+ }, createSlots({ _: 2 }, [renderList(E.value, ({ key: e, comp: d }) => ({
3841
3849
  name: `item.${e}`,
3842
3850
  fn: withCtx(({ value: f }) => [createVNode(columnSlot_default, {
3843
3851
  instance: e,
@@ -7765,10 +7773,12 @@ function spawn$10(e, u) {
7765
7773
  let d = createNode(e, u, "ui_data_table_v1");
7766
7774
  return d.settings.headers = [{
7767
7775
  value: "name",
7768
- title: "Name"
7776
+ title: "Name",
7777
+ detail: {}
7769
7778
  }, {
7770
7779
  value: "price",
7771
- title: "Price"
7780
+ title: "Price",
7781
+ detail: {}
7772
7782
  }], d.settings.data = "[\n { \"name\": \"Apple\", \"price\": 5.5 },\n { \"name\": \"Orange\", \"price\": 3.0 },\n { \"name\": \"Berry\", \"price\": 13.5 }\n]", {
7773
7783
  nodeLite: toNodeLite(d),
7774
7784
  nodes: { [d.basic.id]: d }
@@ -7817,44 +7827,50 @@ var size$1 = {
7817
7827
  default: ""
7818
7828
  },
7819
7829
  {
7820
- key: "fixed",
7821
- name: "x-runtime-lib.fixed",
7822
- ui: "switch",
7823
- default: !1
7824
- },
7825
- {
7826
- key: "align",
7827
- name: "x-runtime-lib.align",
7828
- ui: "multiTypes",
7829
- types: "tableColumnAlignTypesV1",
7830
- default: "start"
7831
- },
7832
- {
7833
- key: "width",
7834
- name: "x-runtime-lib.width",
7835
- ui: "multiTypes",
7836
- types: "sizeTypesV1",
7837
- default: ""
7838
- },
7839
- {
7840
- key: "minWidth",
7841
- name: "x-runtime-lib.minWidth",
7842
- ui: "multiTypes",
7843
- types: "sizeTypesV1",
7844
- default: ""
7845
- },
7846
- {
7847
- key: "maxWidth",
7848
- name: "x-runtime-lib.maxWidth",
7849
- ui: "multiTypes",
7850
- types: "sizeTypesV1",
7851
- default: ""
7852
- },
7853
- {
7854
- key: "sortable",
7855
- name: "x-runtime-lib.sortable",
7856
- ui: "switch",
7857
- default: !1
7830
+ key: "detail",
7831
+ name: "x-runtime-lib.detail",
7832
+ children: [
7833
+ {
7834
+ key: "fixed",
7835
+ name: "x-runtime-lib.fixed",
7836
+ ui: "switch",
7837
+ default: !1
7838
+ },
7839
+ {
7840
+ key: "align",
7841
+ name: "x-runtime-lib.align",
7842
+ ui: "multiTypes",
7843
+ types: "tableColumnAlignTypesV1",
7844
+ default: "start"
7845
+ },
7846
+ {
7847
+ key: "width",
7848
+ name: "x-runtime-lib.width",
7849
+ ui: "multiTypes",
7850
+ types: "sizeTypesV1",
7851
+ default: ""
7852
+ },
7853
+ {
7854
+ key: "minWidth",
7855
+ name: "x-runtime-lib.minWidth",
7856
+ ui: "multiTypes",
7857
+ types: "sizeTypesV1",
7858
+ default: ""
7859
+ },
7860
+ {
7861
+ key: "maxWidth",
7862
+ name: "x-runtime-lib.maxWidth",
7863
+ ui: "multiTypes",
7864
+ types: "sizeTypesV1",
7865
+ default: ""
7866
+ },
7867
+ {
7868
+ key: "sortable",
7869
+ name: "x-runtime-lib.sortable",
7870
+ ui: "switch",
7871
+ default: !1
7872
+ }
7873
+ ]
7858
7874
  }
7859
7875
  ],
7860
7876
  array: !0,
@@ -11582,8 +11598,8 @@ var __rolldown_dynamic_import_helper_default = (e, u, d) => {
11582
11598
  };
11583
11599
  async function loadLocaleMessageRuntime(e) {
11584
11600
  return (await __rolldown_dynamic_import_helper_default({
11585
- "./locales/en/index.ts": () => import("./en.ir8xuv6o.js"),
11586
- "./locales/zhHans/index.ts": () => import("./zhHans.hkzhvcpm.js")
11601
+ "./locales/en/index.ts": () => import("./en.otnq7oq6.js"),
11602
+ "./locales/zhHans/index.ts": () => import("./zhHans.b7y34n3l.js")
11587
11603
  }, `./locales/${e}/index.ts`, 4)).default;
11588
11604
  }
11589
11605
  export { addIndent, ambientLightV1, badgeV1, barChartV1, boxGeometryV1, breakpoints, btnToggleEntryV1, btnToggleV1, btnV1, calcBreakpoint, cardV1, checkboxV1, chipGroupV1, chipV1, colorPickerV1, comboboxV1, compTypes, containerV1, createNode, dataStringify, dataTableV1, datePickerV1, dialogV1, directionalLightV1, duplicateNodePair, duplicateNodePairs, elementKeys, fileInputV1, finalProperties, flexLayoutEntryV1, flexLayoutV1, formV1, fromDotString, genId, getAllElements, getBreakpointPropString, getElement, getField, getImplementMethodName, getIndexOfBreakpoint, getNodeLite, getPropertyDefault, getPropertyDefaultArray, getTag, globalityV1, groupV1, hasComp, hasSlot, iconV1, initProperties, injectDark, injectData, injectDepends, injectDevice, injectEnv, injectId, injectMeta, injectMode, injectNode, injectOrg, injectRuntime, injectSandbox, injectType, isCircularReference, isExecutableMode, isPercentStr, isPixelStr, keyboardControlsV1, lineChartV1, loadLocaleMessageRuntime, makeEventId, makeEventKeyOfCustomSlot, makeEventKeyOfElementSlot, makeMethodId, makeMethodKeyOfCustomSlot, makeMethodKeyOfElementSlot, makePropertyId, makePropertyKeyOfCustomSlot, makePropertyKeyOfElementSlot, makeSlotId, makeTriggerId, mapControlsV1, menuV1, meshBasicMaterialV1, meshV1, metaStringify, multipleRefV1, multipleSlotV1, numberInputV1, orbitControlsV1, orthographicCameraV1, pageTypes, paginationV1, parseData, parseMeta, parsePercentStr, parsePixelStr, perspectiveCameraV1, pkgs, pointLightV1, provideDark, provideData, provideDepends, provideDevice, provideEnv, provideId, provideMeta, provideMode, provideNode, provideOrg, provideRuntime, provideSandbox, provideType, radioGroupV1, radioV1, rangeSliderV1, ratingV1, referenceV1, regElement, renderSwitchV1, reverseBreakpoints, selectV1, setField, sliderV1, slotV1, spawnNode, sphereGeometryV1, spotLightV1, stepperHeaderV1, stepperItemV1, stepperV1, stepperWindowItemV1, stepperWindowV1, switchV1, tabV1, tabsV1, textFieldV1, textV1, textareaV1, timelineItemV1, timelineV1, toDotString, toEventName, toMethodName, toNodeLite, toPropertyName, unwrapEventId, unwrapEventKeyOfCustomSlot, unwrapEventKeyOfElementSlot, unwrapMethodId, unwrapMethodKeyOfCustomSlot, unwrapMethodKeyOfElementSlot, unwrapPropertyId, unwrapPropertyKeyOfCustomSlot, unwrapPropertyKeyOfElementSlot, unwrapSlotId, unwrapTriggerId, useDepend, useRuntime, useSandbox, useTheme, windowItemV1, windowV1 };
@@ -0,0 +1,2 @@
1
+ import { t as zhHans_default } from "./i18n-zhHans.cd57r6e5.js";
2
+ export { zhHans_default as default };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.8.218",
4
+ "version": "0.8.219",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -1,2 +0,0 @@
1
- import { t as en_default } from "./i18n-en.ddwcejba.js";
2
- export { en_default as default };
@@ -1,2 +0,0 @@
1
- import { t as zhHans_default } from "./i18n-zhHans.owbcmvq0.js";
2
- export { zhHans_default as default };