@cloudbase/weda-ui 3.26.1 → 3.27.0
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/configs/components/chart/statisticsCard.d.ts +83 -0
- package/dist/configs/components/chart/statisticsCard.js +365 -0
- package/dist/configs/components/slot.json +2 -6
- package/dist/configs/components/wd-drawer.d.ts +1 -1
- package/dist/configs/components/wd-drawer.js +1 -1
- package/dist/configs/components/wd-modal.d.ts +1 -1
- package/dist/configs/components/wd-modal.js +1 -1
- package/dist/configs/components/wd-tabbar.d.ts +1 -1
- package/dist/configs/components/wd-tabbar.js +1 -1
- package/dist/configs/components/wd-table.js +5 -1
- package/dist/configs/index.d.ts +159 -629
- package/dist/configs/index.js +1 -1
- package/dist/configs/type-utils/type-form.js +1 -1
- package/dist/style/weda-ui.min.css +3 -3
- package/dist/web/components/chart/common/core/eChartBar.js +1 -1
- package/dist/web/components/chart/common/core/eChartLine.js +1 -1
- package/dist/web/components/chart/common/data-transform.js +9 -18
- package/dist/web/components/chart/statisticsCard/index.d.ts +3 -3
- package/dist/web/components/chart/statisticsCard/index.js +9 -4
- package/dist/web/components/form/uploader/index.d.ts +1 -0
- package/dist/web/components/wd-modal/wd-modal.js +2 -4
- package/dist/web/components/wd-upload-image/wd-upload-image.d.ts +1 -0
- package/dist/web/components/wd-upload-image/wd-upload-image.js +2 -2
- package/i18n/source/en.json +2947 -0
- package/i18n/source/zh.json +2947 -0
- package/package.json +9 -5
- package/dist/configs/components/chart/statisticsCard.json +0 -473
package/dist/configs/index.d.ts
CHANGED
|
@@ -1847,7 +1847,7 @@ export declare const components: {
|
|
|
1847
1847
|
readonly description: "可以为 H5 端的编写样式";
|
|
1848
1848
|
readonly code: "\n :scope.wd-h5-modal {\n /* 在这里编写CSS 样式 */\n }\n ";
|
|
1849
1849
|
}, {
|
|
1850
|
-
readonly name: "
|
|
1850
|
+
readonly name: "小程序端根元素";
|
|
1851
1851
|
readonly selector: ".wd-mp-modal";
|
|
1852
1852
|
readonly description: "可以为 小程序 端的编写样式";
|
|
1853
1853
|
readonly code: "\n :scope.wd-mp-modal {\n /* 可以为 小程序 端的编写样式 */\n }\n ";
|
|
@@ -1999,7 +1999,7 @@ export declare const components: {
|
|
|
1999
1999
|
readonly description: "可以为 H5 端的编写样式";
|
|
2000
2000
|
readonly code: "\n :scope.wd-h5-drawer {\n /* 在这里编写CSS 样式 */\n }\n ";
|
|
2001
2001
|
}, {
|
|
2002
|
-
readonly name: "
|
|
2002
|
+
readonly name: "小程序端根元素";
|
|
2003
2003
|
readonly selector: ".wd-mp-drawer";
|
|
2004
2004
|
readonly description: "可以为 小程序 端的编写样式";
|
|
2005
2005
|
readonly code: "\n :scope.wd-mp-drawer {\n /* 可以为 小程序 端的编写样式 */\n }\n ";
|
|
@@ -8542,320 +8542,85 @@ export declare const components: {
|
|
|
8542
8542
|
};
|
|
8543
8543
|
};
|
|
8544
8544
|
StatisticsCard: {
|
|
8545
|
-
$schema:
|
|
8546
|
-
data: {
|
|
8547
|
-
|
|
8548
|
-
|
|
8549
|
-
|
|
8550
|
-
|
|
8551
|
-
|
|
8552
|
-
|
|
8553
|
-
|
|
8554
|
-
|
|
8555
|
-
|
|
8556
|
-
|
|
8557
|
-
|
|
8558
|
-
|
|
8559
|
-
|
|
8560
|
-
|
|
8561
|
-
|
|
8562
|
-
|
|
8563
|
-
|
|
8564
|
-
|
|
8565
|
-
|
|
8566
|
-
|
|
8567
|
-
|
|
8568
|
-
|
|
8569
|
-
|
|
8570
|
-
|
|
8571
|
-
|
|
8572
|
-
|
|
8573
|
-
|
|
8574
|
-
|
|
8575
|
-
|
|
8576
|
-
|
|
8577
|
-
|
|
8578
|
-
|
|
8579
|
-
|
|
8580
|
-
|
|
8581
|
-
|
|
8582
|
-
|
|
8583
|
-
|
|
8584
|
-
|
|
8585
|
-
|
|
8586
|
-
|
|
8587
|
-
|
|
8588
|
-
|
|
8589
|
-
type: {
|
|
8590
|
-
const: string;
|
|
8591
|
-
};
|
|
8592
|
-
properties: {
|
|
8593
|
-
type: string;
|
|
8594
|
-
properties: {
|
|
8595
|
-
Name: {
|
|
8596
|
-
type: string;
|
|
8597
|
-
properties: {
|
|
8598
|
-
type: {
|
|
8599
|
-
const: string;
|
|
8600
|
-
};
|
|
8601
|
-
};
|
|
8602
|
-
};
|
|
8603
|
-
Value: {
|
|
8604
|
-
type: string;
|
|
8605
|
-
properties: {
|
|
8606
|
-
type: {
|
|
8607
|
-
const: string;
|
|
8608
|
-
};
|
|
8609
|
-
};
|
|
8610
|
-
};
|
|
8611
|
-
};
|
|
8612
|
-
required: string[];
|
|
8613
|
-
};
|
|
8614
|
-
};
|
|
8615
|
-
};
|
|
8616
|
-
};
|
|
8617
|
-
};
|
|
8618
|
-
};
|
|
8619
|
-
required: string[];
|
|
8620
|
-
};
|
|
8621
|
-
};
|
|
8622
|
-
};
|
|
8623
|
-
};
|
|
8624
|
-
};
|
|
8625
|
-
};
|
|
8626
|
-
"x-linkages": ({
|
|
8627
|
-
type: string;
|
|
8628
|
-
target: string;
|
|
8629
|
-
condition: string;
|
|
8630
|
-
schema?: undefined;
|
|
8631
|
-
state?: undefined;
|
|
8632
|
-
} | {
|
|
8633
|
-
type: string;
|
|
8634
|
-
target: string;
|
|
8635
|
-
schema: {
|
|
8636
|
-
"x-component-props": {
|
|
8637
|
-
selectedDataSourceName: string;
|
|
8638
|
-
};
|
|
8639
|
-
};
|
|
8640
|
-
condition?: undefined;
|
|
8641
|
-
state?: undefined;
|
|
8642
|
-
} | {
|
|
8643
|
-
type: string;
|
|
8644
|
-
target: string;
|
|
8645
|
-
condition: string;
|
|
8646
|
-
state: {
|
|
8647
|
-
value: string;
|
|
8648
|
-
};
|
|
8649
|
-
schema?: undefined;
|
|
8650
|
-
})[];
|
|
8651
|
-
};
|
|
8652
|
-
filterData: {
|
|
8653
|
-
title: string;
|
|
8654
|
-
"x-index": number;
|
|
8655
|
-
"x-category": string;
|
|
8656
|
-
"x-component": string;
|
|
8657
|
-
"x-component-props": {
|
|
8658
|
-
dataSourceNamePropKey: string;
|
|
8659
|
-
blackListConfig: {
|
|
8660
|
-
type: string[];
|
|
8661
|
-
};
|
|
8662
|
-
customRelOptions: {
|
|
8663
|
-
string: {
|
|
8664
|
-
text: string;
|
|
8665
|
-
value: string;
|
|
8666
|
-
}[];
|
|
8667
|
-
boolean: {
|
|
8668
|
-
text: string;
|
|
8669
|
-
value: string;
|
|
8670
|
-
}[];
|
|
8671
|
-
keyVarType: {
|
|
8672
|
-
value: string;
|
|
8673
|
-
text: string;
|
|
8674
|
-
}[];
|
|
8675
|
-
number: {
|
|
8676
|
-
text: string;
|
|
8677
|
-
value: string;
|
|
8678
|
-
type: string;
|
|
8679
|
-
}[];
|
|
8680
|
-
};
|
|
8681
|
-
};
|
|
8682
|
-
"x-props": {
|
|
8683
|
-
"data-hidebind": boolean;
|
|
8684
|
-
"data-hideBindValue": boolean;
|
|
8685
|
-
"data-withBindMeta": boolean;
|
|
8686
|
-
};
|
|
8687
|
-
};
|
|
8688
|
-
field: {
|
|
8689
|
-
type: string;
|
|
8690
|
-
title: string;
|
|
8691
|
-
"x-index": number;
|
|
8692
|
-
"x-category": string;
|
|
8693
|
-
"x-component": string;
|
|
8694
|
-
"x-datasource-method-reset": string;
|
|
8695
|
-
"x-component-props": {
|
|
8696
|
-
dataSourceNamePropKey: string;
|
|
8697
|
-
isMethod: boolean;
|
|
8698
|
-
};
|
|
8699
|
-
"x-linkages": ({
|
|
8700
|
-
type: string;
|
|
8701
|
-
target: string;
|
|
8702
|
-
condition: string;
|
|
8703
|
-
schema: {
|
|
8704
|
-
enum: {
|
|
8705
|
-
label: string;
|
|
8706
|
-
value: string;
|
|
8707
|
-
}[];
|
|
8708
|
-
};
|
|
8709
|
-
state?: undefined;
|
|
8710
|
-
} | {
|
|
8711
|
-
type: string;
|
|
8712
|
-
target: string;
|
|
8713
|
-
condition: string;
|
|
8714
|
-
state: {
|
|
8715
|
-
value: string;
|
|
8716
|
-
};
|
|
8717
|
-
schema?: undefined;
|
|
8718
|
-
})[];
|
|
8719
|
-
};
|
|
8720
|
-
operationType: {
|
|
8721
|
-
type: string;
|
|
8722
|
-
title: string;
|
|
8723
|
-
"x-category": string;
|
|
8724
|
-
"x-index": number;
|
|
8725
|
-
"x-linkages": {
|
|
8726
|
-
type: string;
|
|
8727
|
-
target: string;
|
|
8728
|
-
condition: string;
|
|
8729
|
-
state: {
|
|
8730
|
-
value: string;
|
|
8731
|
-
};
|
|
8732
|
-
}[];
|
|
8733
|
-
};
|
|
8734
|
-
label: {
|
|
8735
|
-
type: string;
|
|
8736
|
-
title: string;
|
|
8737
|
-
"x-category": string;
|
|
8738
|
-
"x-index": number;
|
|
8739
|
-
"x-props": {
|
|
8740
|
-
placeholder: string;
|
|
8741
|
-
};
|
|
8742
|
-
default: string;
|
|
8743
|
-
};
|
|
8744
|
-
isCountEmpty: {
|
|
8745
|
-
type: string;
|
|
8746
|
-
title: string;
|
|
8747
|
-
"x-category": string;
|
|
8748
|
-
"x-index": number;
|
|
8749
|
-
default: boolean;
|
|
8750
|
-
};
|
|
8751
|
-
isShowUnit: {
|
|
8752
|
-
type: string;
|
|
8753
|
-
title: string;
|
|
8754
|
-
"x-category": string;
|
|
8755
|
-
"x-index": number;
|
|
8756
|
-
default: boolean;
|
|
8757
|
-
"x-linkages": {
|
|
8758
|
-
type: string;
|
|
8759
|
-
target: string;
|
|
8760
|
-
condition: string;
|
|
8761
|
-
}[];
|
|
8762
|
-
};
|
|
8763
|
-
unit: {
|
|
8764
|
-
type: string;
|
|
8765
|
-
title: string;
|
|
8766
|
-
"x-category": string;
|
|
8767
|
-
"x-index": number;
|
|
8768
|
-
default: number;
|
|
8769
|
-
enum: {
|
|
8770
|
-
label: string;
|
|
8771
|
-
value: number;
|
|
8772
|
-
}[];
|
|
8773
|
-
"x-linkages": {
|
|
8774
|
-
type: string;
|
|
8775
|
-
target: string;
|
|
8776
|
-
condition: string;
|
|
8777
|
-
state: {
|
|
8778
|
-
value: string;
|
|
8779
|
-
};
|
|
8780
|
-
}[];
|
|
8781
|
-
};
|
|
8782
|
-
decimalDigits: {
|
|
8783
|
-
type: string;
|
|
8784
|
-
title: string;
|
|
8785
|
-
"x-category": string;
|
|
8786
|
-
"x-index": number;
|
|
8787
|
-
default: number;
|
|
8788
|
-
"x-props": {
|
|
8789
|
-
max: number;
|
|
8790
|
-
min: number;
|
|
8791
|
-
};
|
|
8792
|
-
"x-linkages": {
|
|
8793
|
-
type: string;
|
|
8794
|
-
target: string;
|
|
8795
|
-
condition: string;
|
|
8796
|
-
state: {
|
|
8797
|
-
value: number;
|
|
8798
|
-
};
|
|
8799
|
-
}[];
|
|
8800
|
-
};
|
|
8801
|
-
suffix: {
|
|
8802
|
-
type: string;
|
|
8803
|
-
title: string;
|
|
8804
|
-
"x-category": string;
|
|
8805
|
-
"x-index": number;
|
|
8806
|
-
};
|
|
8807
|
-
};
|
|
8808
|
-
};
|
|
8809
|
-
events: {
|
|
8810
|
-
title: string;
|
|
8811
|
-
name: string;
|
|
8812
|
-
}[];
|
|
8813
|
-
meta: {
|
|
8814
|
-
title: string;
|
|
8815
|
-
description: string;
|
|
8816
|
-
figureIcon: string;
|
|
8817
|
-
icon: string;
|
|
8818
|
-
category: string;
|
|
8819
|
-
categoryOrder: number;
|
|
8820
|
-
componentOrder: number;
|
|
8821
|
-
inlineStyleForm: {
|
|
8822
|
-
fontSize: {
|
|
8823
|
-
visible: boolean;
|
|
8545
|
+
readonly $schema: "https://comp-public-replace-1303824488-cos.weda.tencent.com/schema/lcds_component.json";
|
|
8546
|
+
readonly data: import("@sinclair/typebox").TObject<{
|
|
8547
|
+
dataSource: import("@sinclair/typebox").TObject<{
|
|
8548
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
8549
|
+
type: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
8550
|
+
subType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
8551
|
+
methodName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
8552
|
+
}>;
|
|
8553
|
+
filterData: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>;
|
|
8554
|
+
field: import("@sinclair/typebox").TObject<{
|
|
8555
|
+
format: import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<"string" | "boolean" | "object" | "function" | "time" | "tel" | "x-long-text" | "phone" | "datetime" | "date" | "array" | "email" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">[]>;
|
|
8556
|
+
type: import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<"string" | "number" | "boolean" | "object" | "array">[]>;
|
|
8557
|
+
title: import("@sinclair/typebox").TString;
|
|
8558
|
+
name: import("@sinclair/typebox").TString;
|
|
8559
|
+
}>;
|
|
8560
|
+
operationType: import("@sinclair/typebox").TString;
|
|
8561
|
+
label: import("@sinclair/typebox").TString;
|
|
8562
|
+
isCountEmpty: import("@sinclair/typebox").TBoolean;
|
|
8563
|
+
isShowUnit: import("@sinclair/typebox").TBoolean;
|
|
8564
|
+
unit: import("@sinclair/typebox").TNumber;
|
|
8565
|
+
decimalDigits: import("@sinclair/typebox").TNumber;
|
|
8566
|
+
suffix: import("@sinclair/typebox").TString;
|
|
8567
|
+
}>;
|
|
8568
|
+
readonly properties: import("@sinclair/typebox").TObject<{
|
|
8569
|
+
label: import("@sinclair/typebox").TString;
|
|
8570
|
+
value: import("@sinclair/typebox").TString;
|
|
8571
|
+
unit: import("@sinclair/typebox").TNumber;
|
|
8572
|
+
calculatedValue: import("@sinclair/typebox").TString;
|
|
8573
|
+
}>;
|
|
8574
|
+
readonly events: readonly [{
|
|
8575
|
+
readonly title: "点击";
|
|
8576
|
+
readonly name: "tap";
|
|
8577
|
+
}];
|
|
8578
|
+
readonly meta: {
|
|
8579
|
+
readonly title: "统计卡片";
|
|
8580
|
+
readonly description: "提供报表场景下的指标数据统计并展示功能。";
|
|
8581
|
+
readonly figureIcon: "../../figureIcons/StatisticsCard.svg";
|
|
8582
|
+
readonly icon: "../../icons/StatisticsCard.svg";
|
|
8583
|
+
readonly category: "图表";
|
|
8584
|
+
readonly categoryOrder: 600;
|
|
8585
|
+
readonly componentOrder: 530;
|
|
8586
|
+
readonly inlineStyleForm: {
|
|
8587
|
+
readonly fontSize: {
|
|
8588
|
+
readonly visible: false;
|
|
8824
8589
|
};
|
|
8825
|
-
color: {
|
|
8826
|
-
visible:
|
|
8590
|
+
readonly color: {
|
|
8591
|
+
readonly visible: false;
|
|
8827
8592
|
};
|
|
8828
|
-
fontWeight: {
|
|
8829
|
-
visible:
|
|
8593
|
+
readonly fontWeight: {
|
|
8594
|
+
readonly visible: false;
|
|
8830
8595
|
};
|
|
8831
|
-
lineHeight: {
|
|
8832
|
-
visible:
|
|
8596
|
+
readonly lineHeight: {
|
|
8597
|
+
readonly visible: false;
|
|
8833
8598
|
};
|
|
8834
|
-
justifyContent: {
|
|
8835
|
-
visible:
|
|
8599
|
+
readonly justifyContent: {
|
|
8600
|
+
readonly visible: false;
|
|
8836
8601
|
};
|
|
8837
|
-
flexDirection: {
|
|
8838
|
-
visible:
|
|
8602
|
+
readonly flexDirection: {
|
|
8603
|
+
readonly visible: false;
|
|
8839
8604
|
};
|
|
8840
|
-
border: {
|
|
8841
|
-
visible:
|
|
8605
|
+
readonly border: {
|
|
8606
|
+
readonly visible: false;
|
|
8842
8607
|
};
|
|
8843
|
-
background: {
|
|
8844
|
-
visible:
|
|
8608
|
+
readonly background: {
|
|
8609
|
+
readonly visible: false;
|
|
8845
8610
|
};
|
|
8846
|
-
boxShadow: {
|
|
8847
|
-
visible:
|
|
8611
|
+
readonly boxShadow: {
|
|
8612
|
+
readonly visible: false;
|
|
8848
8613
|
};
|
|
8849
|
-
opacity: {
|
|
8850
|
-
visible:
|
|
8614
|
+
readonly opacity: {
|
|
8615
|
+
readonly visible: false;
|
|
8851
8616
|
};
|
|
8852
|
-
alignItems: {
|
|
8853
|
-
visible:
|
|
8617
|
+
readonly alignItems: {
|
|
8618
|
+
readonly visible: false;
|
|
8854
8619
|
};
|
|
8855
8620
|
};
|
|
8856
8621
|
};
|
|
8857
|
-
configMeta: {
|
|
8858
|
-
docsUrl:
|
|
8622
|
+
readonly configMeta: {
|
|
8623
|
+
readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/chart/statisticsCard";
|
|
8859
8624
|
};
|
|
8860
8625
|
};
|
|
8861
8626
|
GraphicCard: {
|
|
@@ -19013,7 +18778,7 @@ export declare const components: {
|
|
|
19013
18778
|
readonly selector: ".wd-h5-tabbar";
|
|
19014
18779
|
readonly description: "可以为 H5 端的编写样式";
|
|
19015
18780
|
}, {
|
|
19016
|
-
readonly name: "
|
|
18781
|
+
readonly name: "小程序端根元素";
|
|
19017
18782
|
readonly selector: ".wd-mp-tabbar";
|
|
19018
18783
|
readonly description: "可以为 小程序 端的编写样式";
|
|
19019
18784
|
}, {
|
|
@@ -21461,7 +21226,7 @@ declare const _default: {
|
|
|
21461
21226
|
readonly description: "可以为 H5 端的编写样式";
|
|
21462
21227
|
readonly code: "\n :scope.wd-h5-modal {\n /* 在这里编写CSS 样式 */\n }\n ";
|
|
21463
21228
|
}, {
|
|
21464
|
-
readonly name: "
|
|
21229
|
+
readonly name: "小程序端根元素";
|
|
21465
21230
|
readonly selector: ".wd-mp-modal";
|
|
21466
21231
|
readonly description: "可以为 小程序 端的编写样式";
|
|
21467
21232
|
readonly code: "\n :scope.wd-mp-modal {\n /* 可以为 小程序 端的编写样式 */\n }\n ";
|
|
@@ -21613,7 +21378,7 @@ declare const _default: {
|
|
|
21613
21378
|
readonly description: "可以为 H5 端的编写样式";
|
|
21614
21379
|
readonly code: "\n :scope.wd-h5-drawer {\n /* 在这里编写CSS 样式 */\n }\n ";
|
|
21615
21380
|
}, {
|
|
21616
|
-
readonly name: "
|
|
21381
|
+
readonly name: "小程序端根元素";
|
|
21617
21382
|
readonly selector: ".wd-mp-drawer";
|
|
21618
21383
|
readonly description: "可以为 小程序 端的编写样式";
|
|
21619
21384
|
readonly code: "\n :scope.wd-mp-drawer {\n /* 可以为 小程序 端的编写样式 */\n }\n ";
|
|
@@ -28146,330 +27911,95 @@ declare const _default: {
|
|
|
28146
27911
|
readonly visible: false;
|
|
28147
27912
|
};
|
|
28148
27913
|
};
|
|
28149
|
-
readonly templates: readonly [{
|
|
28150
|
-
readonly when: "dataSourceType";
|
|
28151
|
-
readonly body: "\n{{#with $self as |$self|}}\n{{#if (helper_utils '===' $self.attributes.dataSourceType 'variable')}}\n[attributes]\n':datasourceVariable'=\"[\n {\n XLabel: { Value: 'sotm' },\n YLabels: [{ Name: '销售金额', Value: '124213' }],\n },\n {\n XLabel: { Value: 'Lisi' },\n YLabels: [{ Name: '销售金额', Value: '116123' }],\n },\n {\n XLabel: { Value: 'maza' },\n YLabels: [{ Name: '销售金额', Value: '100123' }],\n },\n]\"\n{{/if}}\n{{/with}}\n";
|
|
28152
|
-
}];
|
|
27914
|
+
readonly templates: readonly [{
|
|
27915
|
+
readonly when: "dataSourceType";
|
|
27916
|
+
readonly body: "\n{{#with $self as |$self|}}\n{{#if (helper_utils '===' $self.attributes.dataSourceType 'variable')}}\n[attributes]\n':datasourceVariable'=\"[\n {\n XLabel: { Value: 'sotm' },\n YLabels: [{ Name: '销售金额', Value: '124213' }],\n },\n {\n XLabel: { Value: 'Lisi' },\n YLabels: [{ Name: '销售金额', Value: '116123' }],\n },\n {\n XLabel: { Value: 'maza' },\n YLabels: [{ Name: '销售金额', Value: '100123' }],\n },\n]\"\n{{/if}}\n{{/with}}\n";
|
|
27917
|
+
}];
|
|
27918
|
+
};
|
|
27919
|
+
readonly configMeta: {
|
|
27920
|
+
readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/chart/Pie";
|
|
27921
|
+
};
|
|
27922
|
+
};
|
|
27923
|
+
StatisticsCard: {
|
|
27924
|
+
readonly $schema: "https://comp-public-replace-1303824488-cos.weda.tencent.com/schema/lcds_component.json";
|
|
27925
|
+
readonly data: import("@sinclair/typebox").TObject<{
|
|
27926
|
+
dataSource: import("@sinclair/typebox").TObject<{
|
|
27927
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
27928
|
+
type: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
27929
|
+
subType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
27930
|
+
methodName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
27931
|
+
}>;
|
|
27932
|
+
filterData: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>;
|
|
27933
|
+
field: import("@sinclair/typebox").TObject<{
|
|
27934
|
+
format: import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<"string" | "boolean" | "object" | "function" | "time" | "tel" | "x-long-text" | "phone" | "datetime" | "date" | "array" | "email" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">[]>;
|
|
27935
|
+
type: import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<"string" | "number" | "boolean" | "object" | "array">[]>;
|
|
27936
|
+
title: import("@sinclair/typebox").TString;
|
|
27937
|
+
name: import("@sinclair/typebox").TString;
|
|
27938
|
+
}>;
|
|
27939
|
+
operationType: import("@sinclair/typebox").TString;
|
|
27940
|
+
label: import("@sinclair/typebox").TString;
|
|
27941
|
+
isCountEmpty: import("@sinclair/typebox").TBoolean;
|
|
27942
|
+
isShowUnit: import("@sinclair/typebox").TBoolean;
|
|
27943
|
+
unit: import("@sinclair/typebox").TNumber;
|
|
27944
|
+
decimalDigits: import("@sinclair/typebox").TNumber;
|
|
27945
|
+
suffix: import("@sinclair/typebox").TString;
|
|
27946
|
+
}>;
|
|
27947
|
+
readonly properties: import("@sinclair/typebox").TObject<{
|
|
27948
|
+
label: import("@sinclair/typebox").TString;
|
|
27949
|
+
value: import("@sinclair/typebox").TString;
|
|
27950
|
+
unit: import("@sinclair/typebox").TNumber;
|
|
27951
|
+
calculatedValue: import("@sinclair/typebox").TString;
|
|
27952
|
+
}>;
|
|
27953
|
+
readonly events: readonly [{
|
|
27954
|
+
readonly title: "点击";
|
|
27955
|
+
readonly name: "tap";
|
|
27956
|
+
}];
|
|
27957
|
+
readonly meta: {
|
|
27958
|
+
readonly title: "统计卡片";
|
|
27959
|
+
readonly description: "提供报表场景下的指标数据统计并展示功能。";
|
|
27960
|
+
readonly figureIcon: "../../figureIcons/StatisticsCard.svg";
|
|
27961
|
+
readonly icon: "../../icons/StatisticsCard.svg";
|
|
27962
|
+
readonly category: "图表";
|
|
27963
|
+
readonly categoryOrder: 600;
|
|
27964
|
+
readonly componentOrder: 530;
|
|
27965
|
+
readonly inlineStyleForm: {
|
|
27966
|
+
readonly fontSize: {
|
|
27967
|
+
readonly visible: false;
|
|
27968
|
+
};
|
|
27969
|
+
readonly color: {
|
|
27970
|
+
readonly visible: false;
|
|
27971
|
+
};
|
|
27972
|
+
readonly fontWeight: {
|
|
27973
|
+
readonly visible: false;
|
|
27974
|
+
};
|
|
27975
|
+
readonly lineHeight: {
|
|
27976
|
+
readonly visible: false;
|
|
27977
|
+
};
|
|
27978
|
+
readonly justifyContent: {
|
|
27979
|
+
readonly visible: false;
|
|
27980
|
+
};
|
|
27981
|
+
readonly flexDirection: {
|
|
27982
|
+
readonly visible: false;
|
|
27983
|
+
};
|
|
27984
|
+
readonly border: {
|
|
27985
|
+
readonly visible: false;
|
|
27986
|
+
};
|
|
27987
|
+
readonly background: {
|
|
27988
|
+
readonly visible: false;
|
|
27989
|
+
};
|
|
27990
|
+
readonly boxShadow: {
|
|
27991
|
+
readonly visible: false;
|
|
27992
|
+
};
|
|
27993
|
+
readonly opacity: {
|
|
27994
|
+
readonly visible: false;
|
|
27995
|
+
};
|
|
27996
|
+
readonly alignItems: {
|
|
27997
|
+
readonly visible: false;
|
|
27998
|
+
};
|
|
27999
|
+
};
|
|
28153
28000
|
};
|
|
28154
28001
|
readonly configMeta: {
|
|
28155
|
-
readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/chart/
|
|
28156
|
-
};
|
|
28157
|
-
};
|
|
28158
|
-
StatisticsCard: {
|
|
28159
|
-
$schema: string;
|
|
28160
|
-
data: {
|
|
28161
|
-
type: string;
|
|
28162
|
-
properties: {
|
|
28163
|
-
dataSource: {
|
|
28164
|
-
type: string;
|
|
28165
|
-
title: string;
|
|
28166
|
-
"x-index": number;
|
|
28167
|
-
"x-component": string;
|
|
28168
|
-
"x-helper-text": string;
|
|
28169
|
-
"x-helper-text-color": string;
|
|
28170
|
-
"x-props": {
|
|
28171
|
-
"data-hidebind": boolean;
|
|
28172
|
-
};
|
|
28173
|
-
"x-component-props": {
|
|
28174
|
-
postChange: {
|
|
28175
|
-
addOrUpdateComponentDataBinds: {
|
|
28176
|
-
dataBind: {
|
|
28177
|
-
propertyPath: string;
|
|
28178
|
-
bindDataPath: string;
|
|
28179
|
-
type: string;
|
|
28180
|
-
extra: {};
|
|
28181
|
-
};
|
|
28182
|
-
};
|
|
28183
|
-
};
|
|
28184
|
-
docUrl: string;
|
|
28185
|
-
paramsSchema: {
|
|
28186
|
-
type: string;
|
|
28187
|
-
properties: {
|
|
28188
|
-
outParams: {
|
|
28189
|
-
type: string;
|
|
28190
|
-
properties: {
|
|
28191
|
-
properties: {
|
|
28192
|
-
type: string;
|
|
28193
|
-
properties: {
|
|
28194
|
-
result: {
|
|
28195
|
-
type: string;
|
|
28196
|
-
properties: {
|
|
28197
|
-
type: {
|
|
28198
|
-
const: string;
|
|
28199
|
-
};
|
|
28200
|
-
items: {
|
|
28201
|
-
type: string;
|
|
28202
|
-
properties: {
|
|
28203
|
-
type: {
|
|
28204
|
-
const: string;
|
|
28205
|
-
};
|
|
28206
|
-
properties: {
|
|
28207
|
-
type: string;
|
|
28208
|
-
properties: {
|
|
28209
|
-
Name: {
|
|
28210
|
-
type: string;
|
|
28211
|
-
properties: {
|
|
28212
|
-
type: {
|
|
28213
|
-
const: string;
|
|
28214
|
-
};
|
|
28215
|
-
};
|
|
28216
|
-
};
|
|
28217
|
-
Value: {
|
|
28218
|
-
type: string;
|
|
28219
|
-
properties: {
|
|
28220
|
-
type: {
|
|
28221
|
-
const: string;
|
|
28222
|
-
};
|
|
28223
|
-
};
|
|
28224
|
-
};
|
|
28225
|
-
};
|
|
28226
|
-
required: string[];
|
|
28227
|
-
};
|
|
28228
|
-
};
|
|
28229
|
-
};
|
|
28230
|
-
};
|
|
28231
|
-
};
|
|
28232
|
-
};
|
|
28233
|
-
required: string[];
|
|
28234
|
-
};
|
|
28235
|
-
};
|
|
28236
|
-
};
|
|
28237
|
-
};
|
|
28238
|
-
};
|
|
28239
|
-
};
|
|
28240
|
-
"x-linkages": ({
|
|
28241
|
-
type: string;
|
|
28242
|
-
target: string;
|
|
28243
|
-
condition: string;
|
|
28244
|
-
schema?: undefined;
|
|
28245
|
-
state?: undefined;
|
|
28246
|
-
} | {
|
|
28247
|
-
type: string;
|
|
28248
|
-
target: string;
|
|
28249
|
-
schema: {
|
|
28250
|
-
"x-component-props": {
|
|
28251
|
-
selectedDataSourceName: string;
|
|
28252
|
-
};
|
|
28253
|
-
};
|
|
28254
|
-
condition?: undefined;
|
|
28255
|
-
state?: undefined;
|
|
28256
|
-
} | {
|
|
28257
|
-
type: string;
|
|
28258
|
-
target: string;
|
|
28259
|
-
condition: string;
|
|
28260
|
-
state: {
|
|
28261
|
-
value: string;
|
|
28262
|
-
};
|
|
28263
|
-
schema?: undefined;
|
|
28264
|
-
})[];
|
|
28265
|
-
};
|
|
28266
|
-
filterData: {
|
|
28267
|
-
title: string;
|
|
28268
|
-
"x-index": number;
|
|
28269
|
-
"x-category": string;
|
|
28270
|
-
"x-component": string;
|
|
28271
|
-
"x-component-props": {
|
|
28272
|
-
dataSourceNamePropKey: string;
|
|
28273
|
-
blackListConfig: {
|
|
28274
|
-
type: string[];
|
|
28275
|
-
};
|
|
28276
|
-
customRelOptions: {
|
|
28277
|
-
string: {
|
|
28278
|
-
text: string;
|
|
28279
|
-
value: string;
|
|
28280
|
-
}[];
|
|
28281
|
-
boolean: {
|
|
28282
|
-
text: string;
|
|
28283
|
-
value: string;
|
|
28284
|
-
}[];
|
|
28285
|
-
keyVarType: {
|
|
28286
|
-
value: string;
|
|
28287
|
-
text: string;
|
|
28288
|
-
}[];
|
|
28289
|
-
number: {
|
|
28290
|
-
text: string;
|
|
28291
|
-
value: string;
|
|
28292
|
-
type: string;
|
|
28293
|
-
}[];
|
|
28294
|
-
};
|
|
28295
|
-
};
|
|
28296
|
-
"x-props": {
|
|
28297
|
-
"data-hidebind": boolean;
|
|
28298
|
-
"data-hideBindValue": boolean;
|
|
28299
|
-
"data-withBindMeta": boolean;
|
|
28300
|
-
};
|
|
28301
|
-
};
|
|
28302
|
-
field: {
|
|
28303
|
-
type: string;
|
|
28304
|
-
title: string;
|
|
28305
|
-
"x-index": number;
|
|
28306
|
-
"x-category": string;
|
|
28307
|
-
"x-component": string;
|
|
28308
|
-
"x-datasource-method-reset": string;
|
|
28309
|
-
"x-component-props": {
|
|
28310
|
-
dataSourceNamePropKey: string;
|
|
28311
|
-
isMethod: boolean;
|
|
28312
|
-
};
|
|
28313
|
-
"x-linkages": ({
|
|
28314
|
-
type: string;
|
|
28315
|
-
target: string;
|
|
28316
|
-
condition: string;
|
|
28317
|
-
schema: {
|
|
28318
|
-
enum: {
|
|
28319
|
-
label: string;
|
|
28320
|
-
value: string;
|
|
28321
|
-
}[];
|
|
28322
|
-
};
|
|
28323
|
-
state?: undefined;
|
|
28324
|
-
} | {
|
|
28325
|
-
type: string;
|
|
28326
|
-
target: string;
|
|
28327
|
-
condition: string;
|
|
28328
|
-
state: {
|
|
28329
|
-
value: string;
|
|
28330
|
-
};
|
|
28331
|
-
schema?: undefined;
|
|
28332
|
-
})[];
|
|
28333
|
-
};
|
|
28334
|
-
operationType: {
|
|
28335
|
-
type: string;
|
|
28336
|
-
title: string;
|
|
28337
|
-
"x-category": string;
|
|
28338
|
-
"x-index": number;
|
|
28339
|
-
"x-linkages": {
|
|
28340
|
-
type: string;
|
|
28341
|
-
target: string;
|
|
28342
|
-
condition: string;
|
|
28343
|
-
state: {
|
|
28344
|
-
value: string;
|
|
28345
|
-
};
|
|
28346
|
-
}[];
|
|
28347
|
-
};
|
|
28348
|
-
label: {
|
|
28349
|
-
type: string;
|
|
28350
|
-
title: string;
|
|
28351
|
-
"x-category": string;
|
|
28352
|
-
"x-index": number;
|
|
28353
|
-
"x-props": {
|
|
28354
|
-
placeholder: string;
|
|
28355
|
-
};
|
|
28356
|
-
default: string;
|
|
28357
|
-
};
|
|
28358
|
-
isCountEmpty: {
|
|
28359
|
-
type: string;
|
|
28360
|
-
title: string;
|
|
28361
|
-
"x-category": string;
|
|
28362
|
-
"x-index": number;
|
|
28363
|
-
default: boolean;
|
|
28364
|
-
};
|
|
28365
|
-
isShowUnit: {
|
|
28366
|
-
type: string;
|
|
28367
|
-
title: string;
|
|
28368
|
-
"x-category": string;
|
|
28369
|
-
"x-index": number;
|
|
28370
|
-
default: boolean;
|
|
28371
|
-
"x-linkages": {
|
|
28372
|
-
type: string;
|
|
28373
|
-
target: string;
|
|
28374
|
-
condition: string;
|
|
28375
|
-
}[];
|
|
28376
|
-
};
|
|
28377
|
-
unit: {
|
|
28378
|
-
type: string;
|
|
28379
|
-
title: string;
|
|
28380
|
-
"x-category": string;
|
|
28381
|
-
"x-index": number;
|
|
28382
|
-
default: number;
|
|
28383
|
-
enum: {
|
|
28384
|
-
label: string;
|
|
28385
|
-
value: number;
|
|
28386
|
-
}[];
|
|
28387
|
-
"x-linkages": {
|
|
28388
|
-
type: string;
|
|
28389
|
-
target: string;
|
|
28390
|
-
condition: string;
|
|
28391
|
-
state: {
|
|
28392
|
-
value: string;
|
|
28393
|
-
};
|
|
28394
|
-
}[];
|
|
28395
|
-
};
|
|
28396
|
-
decimalDigits: {
|
|
28397
|
-
type: string;
|
|
28398
|
-
title: string;
|
|
28399
|
-
"x-category": string;
|
|
28400
|
-
"x-index": number;
|
|
28401
|
-
default: number;
|
|
28402
|
-
"x-props": {
|
|
28403
|
-
max: number;
|
|
28404
|
-
min: number;
|
|
28405
|
-
};
|
|
28406
|
-
"x-linkages": {
|
|
28407
|
-
type: string;
|
|
28408
|
-
target: string;
|
|
28409
|
-
condition: string;
|
|
28410
|
-
state: {
|
|
28411
|
-
value: number;
|
|
28412
|
-
};
|
|
28413
|
-
}[];
|
|
28414
|
-
};
|
|
28415
|
-
suffix: {
|
|
28416
|
-
type: string;
|
|
28417
|
-
title: string;
|
|
28418
|
-
"x-category": string;
|
|
28419
|
-
"x-index": number;
|
|
28420
|
-
};
|
|
28421
|
-
};
|
|
28422
|
-
};
|
|
28423
|
-
events: {
|
|
28424
|
-
title: string;
|
|
28425
|
-
name: string;
|
|
28426
|
-
}[];
|
|
28427
|
-
meta: {
|
|
28428
|
-
title: string;
|
|
28429
|
-
description: string;
|
|
28430
|
-
figureIcon: string;
|
|
28431
|
-
icon: string;
|
|
28432
|
-
category: string;
|
|
28433
|
-
categoryOrder: number;
|
|
28434
|
-
componentOrder: number;
|
|
28435
|
-
inlineStyleForm: {
|
|
28436
|
-
fontSize: {
|
|
28437
|
-
visible: boolean;
|
|
28438
|
-
};
|
|
28439
|
-
color: {
|
|
28440
|
-
visible: boolean;
|
|
28441
|
-
};
|
|
28442
|
-
fontWeight: {
|
|
28443
|
-
visible: boolean;
|
|
28444
|
-
};
|
|
28445
|
-
lineHeight: {
|
|
28446
|
-
visible: boolean;
|
|
28447
|
-
};
|
|
28448
|
-
justifyContent: {
|
|
28449
|
-
visible: boolean;
|
|
28450
|
-
};
|
|
28451
|
-
flexDirection: {
|
|
28452
|
-
visible: boolean;
|
|
28453
|
-
};
|
|
28454
|
-
border: {
|
|
28455
|
-
visible: boolean;
|
|
28456
|
-
};
|
|
28457
|
-
background: {
|
|
28458
|
-
visible: boolean;
|
|
28459
|
-
};
|
|
28460
|
-
boxShadow: {
|
|
28461
|
-
visible: boolean;
|
|
28462
|
-
};
|
|
28463
|
-
opacity: {
|
|
28464
|
-
visible: boolean;
|
|
28465
|
-
};
|
|
28466
|
-
alignItems: {
|
|
28467
|
-
visible: boolean;
|
|
28468
|
-
};
|
|
28469
|
-
};
|
|
28470
|
-
};
|
|
28471
|
-
configMeta: {
|
|
28472
|
-
docsUrl: string;
|
|
28002
|
+
readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/chart/statisticsCard";
|
|
28473
28003
|
};
|
|
28474
28004
|
};
|
|
28475
28005
|
GraphicCard: {
|
|
@@ -38627,7 +38157,7 @@ declare const _default: {
|
|
|
38627
38157
|
readonly selector: ".wd-h5-tabbar";
|
|
38628
38158
|
readonly description: "可以为 H5 端的编写样式";
|
|
38629
38159
|
}, {
|
|
38630
|
-
readonly name: "
|
|
38160
|
+
readonly name: "小程序端根元素";
|
|
38631
38161
|
readonly selector: ".wd-mp-tabbar";
|
|
38632
38162
|
readonly description: "可以为 小程序 端的编写样式";
|
|
38633
38163
|
}, {
|