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.
- package/dist/en.otnq7oq6.js +2 -0
- package/dist/{i18n-en.ddwcejba.js → i18n-en.jkuvala9.js} +1 -0
- package/dist/{i18n-zhHans.owbcmvq0.js → i18n-zhHans.cd57r6e5.js} +1 -0
- package/dist/index.js +69 -53
- package/dist/zhHans.b7y34n3l.js +2 -0
- package/package.json +1 -1
- package/dist/en.ir8xuv6o.js +0 -2
- package/dist/zhHans.hkzhvcpm.js +0 -2
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"]),
|
|
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
|
-
|
|
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:
|
|
3833
|
-
height: unref(
|
|
3834
|
-
hover: unref(
|
|
3835
|
-
items: unref(
|
|
3836
|
-
loading: unref(
|
|
3837
|
-
"multi-sort": unref(
|
|
3838
|
-
theme: unref(
|
|
3839
|
-
width: unref(
|
|
3840
|
-
}, createSlots({ _: 2 }, [renderList(
|
|
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: "
|
|
7821
|
-
name: "x-runtime-lib.
|
|
7822
|
-
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
|
|
7828
|
-
|
|
7829
|
-
|
|
7830
|
-
|
|
7831
|
-
|
|
7832
|
-
|
|
7833
|
-
|
|
7834
|
-
|
|
7835
|
-
|
|
7836
|
-
|
|
7837
|
-
|
|
7838
|
-
|
|
7839
|
-
|
|
7840
|
-
|
|
7841
|
-
|
|
7842
|
-
|
|
7843
|
-
|
|
7844
|
-
|
|
7845
|
-
|
|
7846
|
-
|
|
7847
|
-
|
|
7848
|
-
|
|
7849
|
-
|
|
7850
|
-
|
|
7851
|
-
|
|
7852
|
-
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
|
|
7856
|
-
|
|
7857
|
-
|
|
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.
|
|
11586
|
-
"./locales/zhHans/index.ts": () => import("./zhHans.
|
|
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 };
|
package/package.json
CHANGED
package/dist/en.ir8xuv6o.js
DELETED
package/dist/zhHans.hkzhvcpm.js
DELETED