@ailife-dev-vue/uiplus-dev 0.1.30 → 0.1.31
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/index.d.ts +1 -6
- package/dist/index.mjs +0 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -372,14 +372,9 @@ declare type CommonInfoItemConfigBase = {
|
|
|
372
372
|
infoContent?: string;
|
|
373
373
|
/** path 非空时展示跳转箭头,点击标签行按 UpPageRouter 规则导航 */
|
|
374
374
|
router?: PageRouterTarget;
|
|
375
|
-
/**
|
|
376
|
-
* 关闭是否展示:开关为 0 时是否仍显示正常值。
|
|
377
|
-
* `false`(默认)且已绑有效 `subscribesSwitch` 时显示 `- -`;`true` 时显示正常值。
|
|
378
|
-
*/
|
|
379
|
-
showValueWhenOff?: boolean;
|
|
380
375
|
/**
|
|
381
376
|
* 开关绑定项;取 `[0]`。底座限制 cid 为 `on`;cid 空时组件缺省为 `on`。
|
|
382
|
-
*
|
|
377
|
+
* 已配置有效 sid 且开关为 0 时 value 显示 `- -`;未配置则按正常值显示。
|
|
383
378
|
*/
|
|
384
379
|
subscribesSwitch?: ProductSubscribe[];
|
|
385
380
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -7431,7 +7431,6 @@ const F5 = 64, S5 = /[;{}<>'"\\]|url\s*\(|expression\s*\(/i, Y5 = /^#([0-9a-f]{3
|
|
|
7431
7431
|
);
|
|
7432
7432
|
return { valueText: V, unitText: "", valueColor: L };
|
|
7433
7433
|
}, P = (q) => {
|
|
7434
|
-
if (q != null && q.showValueWhenOff) return !1;
|
|
7435
7434
|
const j = ((q == null ? void 0 : q.subscribesSwitch) ?? [])[0], J = String((j == null ? void 0 : j.sid) ?? "").trim();
|
|
7436
7435
|
if (!J) return !1;
|
|
7437
7436
|
const R = String((j == null ? void 0 : j.cid) ?? "").trim() || "on";
|