@ailife-dev-vue/uiplus 0.0.6-snapshot → 0.0.8-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.
Files changed (3) hide show
  1. package/dist/index.d.ts +17 -14
  2. package/dist/index.mjs +1763 -1759
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -36,8 +36,8 @@ declare const actionStatusbarProps: {
36
36
  default: () => never[];
37
37
  };
38
38
  statusConfigs: {
39
- type: PropType<Partial<Record<number | string, ActionStatusbarStatusConfig>>>;
40
- default: () => {};
39
+ type: PropType<ActionStatusbarStatusConfig[]>;
40
+ default: () => never[];
41
41
  };
42
42
  showMiddle: {
43
43
  type: BooleanConstructor;
@@ -52,9 +52,12 @@ declare const actionStatusbarProps: {
52
52
  export declare type ActionStatusbarState = 0 | 1 | 2;
53
53
 
54
54
  export declare interface ActionStatusbarStatusConfig {
55
- status: ActionStatusbarState;
56
- showSecondStatus?: boolean;
57
- secondStatus?: ActionStatusbarState;
55
+ /** 设备 status 服务(sid=status, cid=status)的枚举值 */
56
+ status: number | string;
57
+ /** 主按钮点击下发的 action 值 */
58
+ action: ActionStatusbarState;
59
+ showSecondAction?: boolean;
60
+ secondAction?: ActionStatusbarState;
58
61
  confirmDialog?: ActionStatusbarConfirmDialogConfig;
59
62
  }
60
63
 
@@ -1774,8 +1777,8 @@ export declare const UpActionStatusbar: {
1774
1777
  default: () => never[];
1775
1778
  };
1776
1779
  statusConfigs: {
1777
- type: PropType<Partial<Record<number | string, ActionStatusbarStatusConfig>>>;
1778
- default: () => {};
1780
+ type: PropType<ActionStatusbarStatusConfig[]>;
1781
+ default: () => never[];
1779
1782
  };
1780
1783
  showMiddle: {
1781
1784
  type: BooleanConstructor;
@@ -1789,7 +1792,7 @@ export declare const UpActionStatusbar: {
1789
1792
  subscribesCenter: ProductSubscribe[];
1790
1793
  showMiddle: boolean;
1791
1794
  showMiddleWhenOff: boolean;
1792
- statusConfigs: Partial<Record<string | number, ActionStatusbarStatusConfig>>;
1795
+ statusConfigs: ActionStatusbarStatusConfig[];
1793
1796
  }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
1794
1797
  P: {};
1795
1798
  B: {};
@@ -1803,8 +1806,8 @@ export declare const UpActionStatusbar: {
1803
1806
  default: () => never[];
1804
1807
  };
1805
1808
  statusConfigs: {
1806
- type: PropType<Partial<Record<number | string, ActionStatusbarStatusConfig>>>;
1807
- default: () => {};
1809
+ type: PropType<ActionStatusbarStatusConfig[]>;
1810
+ default: () => never[];
1808
1811
  };
1809
1812
  showMiddle: {
1810
1813
  type: BooleanConstructor;
@@ -1818,7 +1821,7 @@ export declare const UpActionStatusbar: {
1818
1821
  subscribesCenter: ProductSubscribe[];
1819
1822
  showMiddle: boolean;
1820
1823
  showMiddleWhenOff: boolean;
1821
- statusConfigs: Partial<Record<string | number, ActionStatusbarStatusConfig>>;
1824
+ statusConfigs: ActionStatusbarStatusConfig[];
1822
1825
  }>;
1823
1826
  __isFragment?: never;
1824
1827
  __isTeleport?: never;
@@ -1829,8 +1832,8 @@ type: PropType<ProductSubscribe[]>;
1829
1832
  default: () => never[];
1830
1833
  };
1831
1834
  statusConfigs: {
1832
- type: PropType<Partial<Record<number | string, ActionStatusbarStatusConfig>>>;
1833
- default: () => {};
1835
+ type: PropType<ActionStatusbarStatusConfig[]>;
1836
+ default: () => never[];
1834
1837
  };
1835
1838
  showMiddle: {
1836
1839
  type: BooleanConstructor;
@@ -1844,7 +1847,7 @@ default: boolean;
1844
1847
  subscribesCenter: ProductSubscribe[];
1845
1848
  showMiddle: boolean;
1846
1849
  showMiddleWhenOff: boolean;
1847
- statusConfigs: Partial<Record<string | number, ActionStatusbarStatusConfig>>;
1850
+ statusConfigs: ActionStatusbarStatusConfig[];
1848
1851
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
1849
1852
  $slots: {
1850
1853
  middle?(_: {}): any;