@ailife-dev-vue/uiplus-dev 0.2.0-snapshot → 0.2.2-snapshot
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.css +1 -1
- package/dist/index.d.ts +237 -5
- package/dist/index.mjs +12026 -11363
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -689,6 +689,9 @@ export declare const enUS: {
|
|
|
689
689
|
lcdEnumControl: {
|
|
690
690
|
executing: string;
|
|
691
691
|
};
|
|
692
|
+
lcdEnumList: {
|
|
693
|
+
moreTitle: string;
|
|
694
|
+
};
|
|
692
695
|
pageBarNew: {
|
|
693
696
|
scene: {
|
|
694
697
|
sectionTitle: string;
|
|
@@ -2236,6 +2239,74 @@ declare const lcdEnumControlProps: {
|
|
|
2236
2239
|
};
|
|
2237
2240
|
};
|
|
2238
2241
|
|
|
2242
|
+
export declare type LcdEnumListProps = ExtractPropTypes<typeof lcdEnumListProps>;
|
|
2243
|
+
|
|
2244
|
+
/** 中控枚举下拉。未激活只展示占位;单项直发,多项弹出下拉。 */
|
|
2245
|
+
declare const lcdEnumListProps: {
|
|
2246
|
+
/**
|
|
2247
|
+
* 面板「功能设置」:enum 且权限含 P,取第 1 个为锚点。
|
|
2248
|
+
* sample:`[{"sid":"","cid":""}]`。
|
|
2249
|
+
*/
|
|
2250
|
+
subscribes: {
|
|
2251
|
+
type: PropType<ProductSubscribe[]>;
|
|
2252
|
+
default: () => never[];
|
|
2253
|
+
};
|
|
2254
|
+
/** 卡片宽度档。full 占满栅格一行,half 占半宽。 */
|
|
2255
|
+
cardSize: {
|
|
2256
|
+
type: PropType<"full" | "half">;
|
|
2257
|
+
default: string;
|
|
2258
|
+
};
|
|
2259
|
+
/**
|
|
2260
|
+
* 列表入口图标。2 或 4 项,后缀 on/off/DarkOn/DarkOff。
|
|
2261
|
+
* 未配置或全为 `custom` 时用 ic_enum_on / ic_enum_off(深色用对应 dark 图)。
|
|
2262
|
+
*/
|
|
2263
|
+
icon: {
|
|
2264
|
+
type: PropType<string[]>;
|
|
2265
|
+
default: undefined;
|
|
2266
|
+
};
|
|
2267
|
+
/**
|
|
2268
|
+
* 可见枚举子集。空数组视为未激活:不展示副标题、不弹下拉、不下发。
|
|
2269
|
+
* sample:`[]`。
|
|
2270
|
+
*/
|
|
2271
|
+
visibleEnumValues: {
|
|
2272
|
+
type: PropType<LcdEnumListVisibleValue[]>;
|
|
2273
|
+
default: () => never[];
|
|
2274
|
+
};
|
|
2275
|
+
/** 设备 state 没有当前枚举时,是否用过滤后的第一项作为副标题。 */
|
|
2276
|
+
hasDefaultValue: {
|
|
2277
|
+
type: BooleanConstructor;
|
|
2278
|
+
default: boolean;
|
|
2279
|
+
};
|
|
2280
|
+
};
|
|
2281
|
+
|
|
2282
|
+
/** 面板「可见枚举值」:枚举值本身,或带 enumVal 的枚举项。 */
|
|
2283
|
+
export declare type LcdEnumListVisibleValue = string | number | Pick<EnumItem, 'enumVal'>;
|
|
2284
|
+
|
|
2285
|
+
export declare type LcdEnumProgressProps = ExtractPropTypes<typeof lcdEnumProgressProps>;
|
|
2286
|
+
|
|
2287
|
+
/** 中控枚举滑杆。按可见枚举顺序滑动下发,最多 10 档。 */
|
|
2288
|
+
declare const lcdEnumProgressProps: {
|
|
2289
|
+
/**
|
|
2290
|
+
* 面板「功能设置」:enum 且权限含 P,枚举个数至少 2,取第 1 个为锚点。
|
|
2291
|
+
* sample:`[{"sid":"","cid":""}]`。
|
|
2292
|
+
*/
|
|
2293
|
+
subscribes: {
|
|
2294
|
+
type: PropType<ProductSubscribe[]>;
|
|
2295
|
+
default: () => never[];
|
|
2296
|
+
};
|
|
2297
|
+
/**
|
|
2298
|
+
* 滑杆展示档,按选择顺序,最多 10 项。空数组不产生档位。
|
|
2299
|
+
* sample:`[]`。
|
|
2300
|
+
*/
|
|
2301
|
+
visibleEnumValues: {
|
|
2302
|
+
type: PropType<LcdEnumProgressVisibleValue[]>;
|
|
2303
|
+
default: () => never[];
|
|
2304
|
+
};
|
|
2305
|
+
};
|
|
2306
|
+
|
|
2307
|
+
/** 面板「可见枚举值」:枚举值本身,或带 enumVal 的枚举项。 */
|
|
2308
|
+
export declare type LcdEnumProgressVisibleValue = string | number | Pick<EnumItem, 'enumVal'>;
|
|
2309
|
+
|
|
2239
2310
|
export declare type LcdExtendProps = ExtractPropTypes<typeof lcdExtendProps>;
|
|
2240
2311
|
|
|
2241
2312
|
/** 扩展功能区。不绑定 sid/cid,只排布子卡。 */
|
|
@@ -8450,7 +8521,9 @@ linkColourMode: boolean;
|
|
|
8450
8521
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin_2;
|
|
8451
8522
|
|
|
8452
8523
|
export declare const UpLcdBanner: {
|
|
8453
|
-
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
8524
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
8525
|
+
extraRef: HTMLDivElement;
|
|
8526
|
+
}, any, ComponentProvideOptions, {
|
|
8454
8527
|
P: {};
|
|
8455
8528
|
B: {};
|
|
8456
8529
|
D: {};
|
|
@@ -8632,7 +8705,9 @@ gravity: LcdCommonDisplayGravity;
|
|
|
8632
8705
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin_2;
|
|
8633
8706
|
|
|
8634
8707
|
export declare const UpLcdCore: {
|
|
8635
|
-
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
8708
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
8709
|
+
containerRef: HTMLDivElement;
|
|
8710
|
+
}, any, ComponentProvideOptions, {
|
|
8636
8711
|
P: {};
|
|
8637
8712
|
B: {};
|
|
8638
8713
|
D: {};
|
|
@@ -8764,8 +8839,155 @@ status2EnumVal: string | number;
|
|
|
8764
8839
|
pauseEnumVal: string | number;
|
|
8765
8840
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin_2;
|
|
8766
8841
|
|
|
8842
|
+
export declare const UpLcdEnumList: {
|
|
8843
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
8844
|
+
subscribes: {
|
|
8845
|
+
type: PropType<ProductSubscribe[]>;
|
|
8846
|
+
default: () => never[];
|
|
8847
|
+
};
|
|
8848
|
+
cardSize: {
|
|
8849
|
+
type: PropType<"full" | "half">;
|
|
8850
|
+
default: string;
|
|
8851
|
+
};
|
|
8852
|
+
icon: {
|
|
8853
|
+
type: PropType<string[]>;
|
|
8854
|
+
default: undefined;
|
|
8855
|
+
};
|
|
8856
|
+
visibleEnumValues: {
|
|
8857
|
+
type: PropType<LcdEnumListVisibleValue[]>;
|
|
8858
|
+
default: () => never[];
|
|
8859
|
+
};
|
|
8860
|
+
hasDefaultValue: {
|
|
8861
|
+
type: BooleanConstructor;
|
|
8862
|
+
default: boolean;
|
|
8863
|
+
};
|
|
8864
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
8865
|
+
icon: string[];
|
|
8866
|
+
subscribes: ProductSubscribe[];
|
|
8867
|
+
cardSize: "full" | "half";
|
|
8868
|
+
visibleEnumValues: LcdEnumListVisibleValue[];
|
|
8869
|
+
hasDefaultValue: boolean;
|
|
8870
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
|
|
8871
|
+
P: {};
|
|
8872
|
+
B: {};
|
|
8873
|
+
D: {};
|
|
8874
|
+
C: {};
|
|
8875
|
+
M: {};
|
|
8876
|
+
Defaults: {};
|
|
8877
|
+
}, Readonly<ExtractPropTypes< {
|
|
8878
|
+
subscribes: {
|
|
8879
|
+
type: PropType<ProductSubscribe[]>;
|
|
8880
|
+
default: () => never[];
|
|
8881
|
+
};
|
|
8882
|
+
cardSize: {
|
|
8883
|
+
type: PropType<"full" | "half">;
|
|
8884
|
+
default: string;
|
|
8885
|
+
};
|
|
8886
|
+
icon: {
|
|
8887
|
+
type: PropType<string[]>;
|
|
8888
|
+
default: undefined;
|
|
8889
|
+
};
|
|
8890
|
+
visibleEnumValues: {
|
|
8891
|
+
type: PropType<LcdEnumListVisibleValue[]>;
|
|
8892
|
+
default: () => never[];
|
|
8893
|
+
};
|
|
8894
|
+
hasDefaultValue: {
|
|
8895
|
+
type: BooleanConstructor;
|
|
8896
|
+
default: boolean;
|
|
8897
|
+
};
|
|
8898
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
8899
|
+
icon: string[];
|
|
8900
|
+
subscribes: ProductSubscribe[];
|
|
8901
|
+
cardSize: "full" | "half";
|
|
8902
|
+
visibleEnumValues: LcdEnumListVisibleValue[];
|
|
8903
|
+
hasDefaultValue: boolean;
|
|
8904
|
+
}>;
|
|
8905
|
+
__isFragment?: never;
|
|
8906
|
+
__isTeleport?: never;
|
|
8907
|
+
__isSuspense?: never;
|
|
8908
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes< {
|
|
8909
|
+
subscribes: {
|
|
8910
|
+
type: PropType<ProductSubscribe[]>;
|
|
8911
|
+
default: () => never[];
|
|
8912
|
+
};
|
|
8913
|
+
cardSize: {
|
|
8914
|
+
type: PropType<"full" | "half">;
|
|
8915
|
+
default: string;
|
|
8916
|
+
};
|
|
8917
|
+
icon: {
|
|
8918
|
+
type: PropType<string[]>;
|
|
8919
|
+
default: undefined;
|
|
8920
|
+
};
|
|
8921
|
+
visibleEnumValues: {
|
|
8922
|
+
type: PropType<LcdEnumListVisibleValue[]>;
|
|
8923
|
+
default: () => never[];
|
|
8924
|
+
};
|
|
8925
|
+
hasDefaultValue: {
|
|
8926
|
+
type: BooleanConstructor;
|
|
8927
|
+
default: boolean;
|
|
8928
|
+
};
|
|
8929
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
8930
|
+
icon: string[];
|
|
8931
|
+
subscribes: ProductSubscribe[];
|
|
8932
|
+
cardSize: "full" | "half";
|
|
8933
|
+
visibleEnumValues: LcdEnumListVisibleValue[];
|
|
8934
|
+
hasDefaultValue: boolean;
|
|
8935
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin_2;
|
|
8936
|
+
|
|
8937
|
+
export declare const UpLcdEnumProgress: {
|
|
8938
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
8939
|
+
subscribes: {
|
|
8940
|
+
type: PropType<ProductSubscribe[]>;
|
|
8941
|
+
default: () => never[];
|
|
8942
|
+
};
|
|
8943
|
+
visibleEnumValues: {
|
|
8944
|
+
type: PropType<LcdEnumProgressVisibleValue[]>;
|
|
8945
|
+
default: () => never[];
|
|
8946
|
+
};
|
|
8947
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
8948
|
+
subscribes: ProductSubscribe[];
|
|
8949
|
+
visibleEnumValues: LcdEnumProgressVisibleValue[];
|
|
8950
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
8951
|
+
P: {};
|
|
8952
|
+
B: {};
|
|
8953
|
+
D: {};
|
|
8954
|
+
C: {};
|
|
8955
|
+
M: {};
|
|
8956
|
+
Defaults: {};
|
|
8957
|
+
}, Readonly<ExtractPropTypes< {
|
|
8958
|
+
subscribes: {
|
|
8959
|
+
type: PropType<ProductSubscribe[]>;
|
|
8960
|
+
default: () => never[];
|
|
8961
|
+
};
|
|
8962
|
+
visibleEnumValues: {
|
|
8963
|
+
type: PropType<LcdEnumProgressVisibleValue[]>;
|
|
8964
|
+
default: () => never[];
|
|
8965
|
+
};
|
|
8966
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
8967
|
+
subscribes: ProductSubscribe[];
|
|
8968
|
+
visibleEnumValues: LcdEnumProgressVisibleValue[];
|
|
8969
|
+
}>;
|
|
8970
|
+
__isFragment?: never;
|
|
8971
|
+
__isTeleport?: never;
|
|
8972
|
+
__isSuspense?: never;
|
|
8973
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes< {
|
|
8974
|
+
subscribes: {
|
|
8975
|
+
type: PropType<ProductSubscribe[]>;
|
|
8976
|
+
default: () => never[];
|
|
8977
|
+
};
|
|
8978
|
+
visibleEnumValues: {
|
|
8979
|
+
type: PropType<LcdEnumProgressVisibleValue[]>;
|
|
8980
|
+
default: () => never[];
|
|
8981
|
+
};
|
|
8982
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
8983
|
+
subscribes: ProductSubscribe[];
|
|
8984
|
+
visibleEnumValues: LcdEnumProgressVisibleValue[];
|
|
8985
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin_2;
|
|
8986
|
+
|
|
8767
8987
|
export declare const UpLcdExtend: {
|
|
8768
|
-
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
8988
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
8989
|
+
containerRef: HTMLDivElement;
|
|
8990
|
+
}, any, ComponentProvideOptions, {
|
|
8769
8991
|
P: {};
|
|
8770
8992
|
B: {};
|
|
8771
8993
|
D: {};
|
|
@@ -8783,7 +9005,9 @@ export declare const UpLcdExtend: {
|
|
|
8783
9005
|
}) & Plugin_2;
|
|
8784
9006
|
|
|
8785
9007
|
export declare const UpLcdOptional: {
|
|
8786
|
-
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
9008
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
9009
|
+
containerRef: HTMLDivElement;
|
|
9010
|
+
}, any, ComponentProvideOptions, {
|
|
8787
9011
|
P: {};
|
|
8788
9012
|
B: {};
|
|
8789
9013
|
D: {};
|
|
@@ -8801,7 +9025,12 @@ export declare const UpLcdOptional: {
|
|
|
8801
9025
|
}) & Plugin_2;
|
|
8802
9026
|
|
|
8803
9027
|
export declare const UpLcdPageBar: {
|
|
8804
|
-
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
9028
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
9029
|
+
bannerRef: HTMLDivElement;
|
|
9030
|
+
coreRef: HTMLDivElement;
|
|
9031
|
+
optionalRef: HTMLDivElement;
|
|
9032
|
+
extendRef: HTMLDivElement;
|
|
9033
|
+
}, any, ComponentProvideOptions, {
|
|
8805
9034
|
P: {};
|
|
8806
9035
|
B: {};
|
|
8807
9036
|
D: {};
|
|
@@ -12558,6 +12787,9 @@ export declare const zhCN: {
|
|
|
12558
12787
|
lcdEnumControl: {
|
|
12559
12788
|
executing: string;
|
|
12560
12789
|
};
|
|
12790
|
+
lcdEnumList: {
|
|
12791
|
+
moreTitle: string;
|
|
12792
|
+
};
|
|
12561
12793
|
pageBarNew: {
|
|
12562
12794
|
scene: {
|
|
12563
12795
|
sectionTitle: string;
|