x-runtime-lib 0.9.44 → 0.9.45

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.
@@ -408,7 +408,9 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
408
408
  stepperWindow: "Stepper Window",
409
409
  stepperWindowItem: "Stepper Window Item",
410
410
  sticky: "Sticky",
411
+ stream: "Stream",
411
412
  stretch: "Stretch",
413
+ striped: "Striped",
412
414
  style: "Style",
413
415
  submit: "Submit",
414
416
  subtext: "Subtext",
@@ -470,6 +472,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
470
472
  variant: "Variant",
471
473
  vertical: "Vertical",
472
474
  warning: "Warning",
475
+ way: "Way",
473
476
  weight: "Weight",
474
477
  width: "Width",
475
478
  widthSegments: "Width Segments",
@@ -60,7 +60,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
60
60
  chip: "纸片",
61
61
  chipGroup: "纸片分组",
62
62
  chipify: "纸片化",
63
- chunk: "",
63
+ chunk: "分块",
64
64
  circle: "圆",
65
65
  circularReference: "循环引用",
66
66
  clear: "清除",
@@ -408,7 +408,9 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
408
408
  stepperWindow: "步骤器窗口",
409
409
  stepperWindowItem: "步骤器窗口项目",
410
410
  sticky: "粘性",
411
+ stream: "流动",
411
412
  stretch: "伸展",
413
+ striped: "条纹",
412
414
  style: "风格",
413
415
  submit: "提交",
414
416
  subtext: "子文本",
@@ -470,6 +472,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
470
472
  variant: "变种",
471
473
  vertical: "垂直",
472
474
  warning: "警告",
475
+ way: "方式",
473
476
  weight: "重量",
474
477
  width: "宽度",
475
478
  widthSegments: "宽度分段(s)",
package/dist/index.d.ts CHANGED
@@ -669,7 +669,7 @@ export declare interface Transients {
669
669
 
670
670
  export declare type TriggerKind = 'propertyTrigger' | 'stateTrigger';
671
671
 
672
- export declare const typesKeys: readonly ["borderRadiusV1", "borderWidthV1", "colorV1", "elevationV1", "leftRightV1", "marginV1", "paddingV1", "progressChunkingV1", "sizeV1", "tableColumnAlignV1", "topBottomV1"];
672
+ export declare const typesKeys: readonly ["borderRadiusV1", "borderWidthV1", "colorV1", "elevationV1", "leftRightV1", "marginV1", "paddingV1", "progressChunkWayV1", "sizeV1", "tableColumnAlignV1", "topBottomV1"];
673
673
 
674
674
  export declare function unwrapEventId(id: string): {
675
675
  kind: EventKind;
package/dist/index.js CHANGED
@@ -54,7 +54,7 @@ var it = [
54
54
  "leftRightV1",
55
55
  "marginV1",
56
56
  "paddingV1",
57
- "progressChunkingV1",
57
+ "progressChunkWayV1",
58
58
  "sizeV1",
59
59
  "tableColumnAlignV1",
60
60
  "topBottomV1"
@@ -2124,7 +2124,7 @@ st("borderRadiusV1", [
2124
2124
  step: 1,
2125
2125
  default: "0%"
2126
2126
  }
2127
- ]), st("progressChunkingV1", [
2127
+ ]), st("progressChunkWayV1", [
2128
2128
  {
2129
2129
  value: "notSet",
2130
2130
  title: "x-runtime-lib.notSet",
@@ -2139,10 +2139,10 @@ st("borderRadiusV1", [
2139
2139
  trait: "numberUnit",
2140
2140
  unit: "c",
2141
2141
  precision: 0,
2142
- min: 0,
2142
+ min: 1,
2143
2143
  max: Infinity,
2144
2144
  step: 1,
2145
- default: "0c"
2145
+ default: "1c"
2146
2146
  },
2147
2147
  {
2148
2148
  value: "width",
@@ -2151,10 +2151,10 @@ st("borderRadiusV1", [
2151
2151
  trait: "numberUnit",
2152
2152
  unit: "w",
2153
2153
  precision: 0,
2154
- min: 0,
2154
+ min: 1,
2155
2155
  max: Infinity,
2156
2156
  step: 1,
2157
- default: "0w"
2157
+ default: "1w"
2158
2158
  }
2159
2159
  ]), st("sizeV1", [
2160
2160
  {
@@ -2255,7 +2255,7 @@ var On = { v1: {
2255
2255
  "leftRightV1",
2256
2256
  "marginV1",
2257
2257
  "paddingV1",
2258
- "progressChunkingV1",
2258
+ "progressChunkWayV1",
2259
2259
  "sizeV1",
2260
2260
  "tableColumnAlignV1",
2261
2261
  "topBottomV1"
@@ -7823,70 +7823,67 @@ var gi = /* @__PURE__ */ k({
7823
7823
  refContext: {}
7824
7824
  },
7825
7825
  setup(e) {
7826
- let { theme: t, node: n, validOfInlineSlot: r } = J(e.nodeId), { property: i } = Y(n, ["settings", "value"]), { property: a } = Y(n, ["settings", "indeterminate"]), { property: o } = Y(n, [
7826
+ let { theme: t, node: n, validOfInlineSlot: r } = J(e.nodeId), { property: i } = Y(n, ["settings", "value"]), { property: a } = Y(n, ["settings", "buffer"]), { property: o } = Y(n, ["settings", "indeterminate"]), { property: s } = Y(n, [
7827
7827
  "settings",
7828
7828
  "style",
7829
7829
  "height"
7830
- ]), { property: s } = Y(n, [
7831
- "settings",
7832
- "style",
7833
- "reverse"
7834
7830
  ]), { property: c } = Y(n, [
7835
7831
  "settings",
7836
7832
  "style",
7837
- "buffer",
7838
- "value"
7839
- ]), { property: l } = X(n, [
7833
+ "reverse"
7834
+ ]), { property: l } = Y(n, [
7840
7835
  "settings",
7841
7836
  "style",
7842
- "buffer",
7843
- "color"
7837
+ "stream"
7844
7838
  ]), { property: u } = Y(n, [
7845
7839
  "settings",
7846
7840
  "style",
7847
- "buffer",
7848
- "opacity"
7841
+ "striped"
7849
7842
  ]), { property: d } = Y(n, [
7843
+ "settings",
7844
+ "style",
7845
+ "rounded"
7846
+ ]), { property: f } = Y(n, [
7850
7847
  "settings",
7851
7848
  "style",
7852
7849
  "chunk",
7853
- "chunking"
7854
- ]), f = N(), p = N();
7855
- Le(() => {
7856
- let e = d.value;
7857
- wt(e, "c") ? (f.value = Tt(e, "c"), p.value = void 0) : wt(e, "w") ? (f.value = void 0, p.value = Tt(e, "w")) : (f.value = void 0, p.value = void 0);
7858
- });
7859
- let { property: m } = Y(n, [
7850
+ "way"
7851
+ ]), p = w(() => {
7852
+ if (wt(f.value, "c")) return Tt(f.value, "c");
7853
+ }), m = w(() => {
7854
+ if (wt(f.value, "w")) return Tt(f.value, "w");
7855
+ }), { property: h } = Y(n, [
7860
7856
  "settings",
7861
7857
  "style",
7862
7858
  "chunk",
7863
7859
  "gap"
7864
- ]), { property: h } = X(n, [
7860
+ ]), { property: g } = X(n, [
7865
7861
  "settings",
7866
7862
  "style",
7867
7863
  "color",
7868
7864
  "color"
7869
- ]), { property: g } = X(n, [
7865
+ ]), { property: _ } = X(n, [
7870
7866
  "settings",
7871
7867
  "style",
7872
7868
  "color",
7873
7869
  "bgColor"
7874
7870
  ]);
7875
7871
  return (e, n) => {
7876
- let d = F("v-progress-linear");
7877
- return M(), T(d, {
7878
- "bg-color": I(g),
7879
- "buffer-color": I(l),
7880
- "buffer-opacity": I(u),
7881
- "buffer-value": I(c),
7882
- "chunk-count": f.value,
7883
- "chunk-gap": I(m),
7884
- "chunk-width": p.value,
7885
- color: I(h),
7886
- height: I(o),
7887
- indeterminate: I(a),
7872
+ let f = F("v-progress-linear");
7873
+ return M(), T(f, {
7874
+ "bg-color": I(_),
7875
+ "buffer-value": I(a),
7876
+ "chunk-count": p.value,
7877
+ "chunk-gap": I(h),
7878
+ "chunk-width": m.value,
7879
+ color: I(g),
7880
+ height: I(s),
7881
+ indeterminate: I(o),
7888
7882
  "model-value": I(i),
7889
- reverse: I(s),
7883
+ reverse: I(c),
7884
+ rounded: I(d),
7885
+ stream: I(l),
7886
+ striped: I(u),
7890
7887
  theme: I(t)
7891
7888
  }, D({ _: 2 }, [I(r)("default") ? {
7892
7889
  name: "default",
@@ -7894,8 +7891,6 @@ var gi = /* @__PURE__ */ k({
7894
7891
  key: "0"
7895
7892
  } : void 0]), 1032, [
7896
7893
  "bg-color",
7897
- "buffer-color",
7898
- "buffer-opacity",
7899
7894
  "buffer-value",
7900
7895
  "chunk-count",
7901
7896
  "chunk-gap",
@@ -7905,6 +7900,9 @@ var gi = /* @__PURE__ */ k({
7905
7900
  "indeterminate",
7906
7901
  "model-value",
7907
7902
  "reverse",
7903
+ "rounded",
7904
+ "stream",
7905
+ "striped",
7908
7906
  "theme"
7909
7907
  ]);
7910
7908
  };
@@ -15935,6 +15933,12 @@ var Zs = {
15935
15933
  ui: "number",
15936
15934
  default: 0
15937
15935
  },
15936
+ {
15937
+ key: "buffer",
15938
+ name: "x-runtime-lib.buffer",
15939
+ ui: "number",
15940
+ default: 0
15941
+ },
15938
15942
  {
15939
15943
  key: "indeterminate",
15940
15944
  name: "x-runtime-lib.indeterminate",
@@ -15962,39 +15966,31 @@ var Zs = {
15962
15966
  default: !1
15963
15967
  },
15964
15968
  {
15965
- key: "buffer",
15966
- name: "x-runtime-lib.buffer",
15967
- children: [
15968
- {
15969
- key: "value",
15970
- name: "x-runtime-lib.value",
15971
- ui: "number",
15972
- min: 0,
15973
- default: 0
15974
- },
15975
- {
15976
- key: "color",
15977
- name: "x-runtime-lib.color",
15978
- ui: "multiTypes",
15979
- types: "colorV1",
15980
- default: null
15981
- },
15982
- {
15983
- key: "opacity",
15984
- name: "x-runtime-lib.opacity",
15985
- ui: "number",
15986
- default: null
15987
- }
15988
- ]
15969
+ key: "stream",
15970
+ name: "x-runtime-lib.stream",
15971
+ ui: "switch",
15972
+ default: !1
15973
+ },
15974
+ {
15975
+ key: "striped",
15976
+ name: "x-runtime-lib.striped",
15977
+ ui: "switch",
15978
+ default: !1
15979
+ },
15980
+ {
15981
+ key: "rounded",
15982
+ name: "x-runtime-lib.rounded",
15983
+ ui: "switch",
15984
+ default: !1
15989
15985
  },
15990
15986
  {
15991
15987
  key: "chunk",
15992
15988
  name: "x-runtime-lib.chunk",
15993
15989
  children: [{
15994
- key: "chunking",
15995
- name: "x-runtime-lib.chunking",
15990
+ key: "way",
15991
+ name: "x-runtime-lib.way",
15996
15992
  ui: "multiTypes",
15997
- types: "progressChunkingV1",
15993
+ types: "progressChunkWayV1",
15998
15994
  default: null
15999
15995
  }, {
16000
15996
  key: "gap",
@@ -20531,8 +20527,8 @@ var ku = (e, t, n) => {
20531
20527
  //#region src/i18n/index.ts
20532
20528
  async function Au(e) {
20533
20529
  return (await ku(/* @__PURE__ */ Object.assign({
20534
- "./locales/en/index.ts": () => import("./i18n-en.k70nr0hg.js").then((e) => e.t),
20535
- "./locales/zhHans/index.ts": () => import("./i18n-zhHans.mxtbry2w.js").then((e) => e.t)
20530
+ "./locales/en/index.ts": () => import("./i18n-en.eg8akien.js").then((e) => e.t),
20531
+ "./locales/zhHans/index.ts": () => import("./i18n-zhHans.crojiazg.js").then((e) => e.t)
20536
20532
  }), `./locales/${e}/index.ts`, 4)).default;
20537
20533
  }
20538
20534
  //#endregion
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.9.44",
4
+ "version": "0.9.45",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",