@ecan-bi/datav 1.0.40 → 1.0.41
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.es.js +29 -41
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +28 -40
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/types/common/echarts/Echarts.d.ts +418 -0
- package/types/common/echarts/index.d.ts +2 -2
- package/types/common/index.d.ts +1 -1
- package/types/common/skeleton/Skeleton.vue.d.ts +14 -0
- package/types/common/skeleton/index.d.ts +2 -0
package/dist/index.umd.js
CHANGED
|
@@ -143,7 +143,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
143
143
|
const THEME_KEY = "ecTheme";
|
|
144
144
|
const INIT_OPTIONS_KEY = "ecInitOptions";
|
|
145
145
|
const UPDATE_OPTIONS_KEY = "ecUpdateOptions";
|
|
146
|
-
var
|
|
146
|
+
var Echarts = vue.defineComponent({
|
|
147
147
|
name: "echarts",
|
|
148
148
|
props: __spreadValues(__spreadValues({
|
|
149
149
|
option: Object,
|
|
@@ -1420,7 +1420,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
1420
1420
|
]);
|
|
1421
1421
|
}
|
|
1422
1422
|
var Spin = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$p]]);
|
|
1423
|
-
vue.defineComponent({
|
|
1423
|
+
const _sfc_main$o = vue.defineComponent({
|
|
1424
1424
|
name: "Skeleton",
|
|
1425
1425
|
props: {
|
|
1426
1426
|
loading: {
|
|
@@ -1432,6 +1432,19 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
1432
1432
|
ASkeleton: antDesignVue.Skeleton
|
|
1433
1433
|
}
|
|
1434
1434
|
});
|
|
1435
|
+
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1436
|
+
const _component_a_skeleton = vue.resolveComponent("a-skeleton");
|
|
1437
|
+
return vue.openBlock(), vue.createBlock(_component_a_skeleton, {
|
|
1438
|
+
active: "",
|
|
1439
|
+
loading: _ctx.loading
|
|
1440
|
+
}, {
|
|
1441
|
+
default: vue.withCtx(() => [
|
|
1442
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
1443
|
+
]),
|
|
1444
|
+
_: 3
|
|
1445
|
+
}, 8, ["loading"]);
|
|
1446
|
+
}
|
|
1447
|
+
var Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$o]]);
|
|
1435
1448
|
const withInstall = (main, extra) => {
|
|
1436
1449
|
main.install = (app) => {
|
|
1437
1450
|
for (const comp of [main, ...Object.values(extra != null ? extra : {})]) {
|
|
@@ -2176,7 +2189,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
2176
2189
|
return formatter;
|
|
2177
2190
|
};
|
|
2178
2191
|
var PageConfig_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "#container[data-v-836b53bc] {\n position: fixed;\n top: 0;\n left: 0;\n overflow: hidden;\n transform-origin: left top;\n z-index: 999;\n}\n.page-config[data-v-836b53bc] {\n position: relative;\n overflow: hidden;\n background-size: cover;\n}\n")();
|
|
2179
|
-
const _sfc_main$
|
|
2192
|
+
const _sfc_main$n = vue.defineComponent({
|
|
2180
2193
|
name: "EcanPageConfig",
|
|
2181
2194
|
props: __spreadValues({}, pageConfigComponentProps),
|
|
2182
2195
|
setup(props2) {
|
|
@@ -2274,7 +2287,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
2274
2287
|
id: "container",
|
|
2275
2288
|
ref: "container"
|
|
2276
2289
|
};
|
|
2277
|
-
function _sfc_render$
|
|
2290
|
+
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2278
2291
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
|
|
2279
2292
|
_ctx.ready ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
2280
2293
|
key: 0,
|
|
@@ -2285,7 +2298,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
2285
2298
|
], 4)) : vue.createCommentVNode("", true)
|
|
2286
2299
|
], 512);
|
|
2287
2300
|
}
|
|
2288
|
-
var PageConfig = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2301
|
+
var PageConfig = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-836b53bc"]]);
|
|
2289
2302
|
const EcanPageConfig = withInstall(PageConfig);
|
|
2290
2303
|
const providerConfig = {
|
|
2291
2304
|
contextRequestUrl: "",
|
|
@@ -2293,7 +2306,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
2293
2306
|
theme: "light"
|
|
2294
2307
|
};
|
|
2295
2308
|
const providerConfigComponentProps = transformToComponentProps(providerConfig);
|
|
2296
|
-
const _sfc_main$
|
|
2309
|
+
const _sfc_main$m = vue.defineComponent({
|
|
2297
2310
|
name: "EcanProviderConfig",
|
|
2298
2311
|
props: __spreadValues({}, providerConfigComponentProps),
|
|
2299
2312
|
setup(props2, { expose }) {
|
|
@@ -2396,12 +2409,12 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
2396
2409
|
id: "ProviderConfig",
|
|
2397
2410
|
ref: "providerConfig"
|
|
2398
2411
|
};
|
|
2399
|
-
function _sfc_render$
|
|
2412
|
+
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2400
2413
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$9, [
|
|
2401
2414
|
vue.renderSlot(_ctx.$slots, "default")
|
|
2402
2415
|
], 512);
|
|
2403
2416
|
}
|
|
2404
|
-
var ProviderConfig = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2417
|
+
var ProviderConfig = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m]]);
|
|
2405
2418
|
const EcanProviderConfig = withInstall(ProviderConfig);
|
|
2406
2419
|
const textProps = __spreadProps(__spreadValues({}, props), {
|
|
2407
2420
|
name: "\u57FA\u7840\u6587\u672C",
|
|
@@ -2422,31 +2435,6 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
2422
2435
|
});
|
|
2423
2436
|
const textComponentProps = transformToComponentProps(textProps);
|
|
2424
2437
|
const textEvents = ["refreshData", "click"];
|
|
2425
|
-
const _sfc_main$m = vue.defineComponent({
|
|
2426
|
-
name: "Skeleton",
|
|
2427
|
-
props: {
|
|
2428
|
-
loading: {
|
|
2429
|
-
type: Boolean,
|
|
2430
|
-
default: false
|
|
2431
|
-
}
|
|
2432
|
-
},
|
|
2433
|
-
components: {
|
|
2434
|
-
ASkeleton: antDesignVue.Skeleton
|
|
2435
|
-
}
|
|
2436
|
-
});
|
|
2437
|
-
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2438
|
-
const _component_a_skeleton = vue.resolveComponent("a-skeleton");
|
|
2439
|
-
return vue.openBlock(), vue.createBlock(_component_a_skeleton, {
|
|
2440
|
-
active: "",
|
|
2441
|
-
loading: _ctx.loading
|
|
2442
|
-
}, {
|
|
2443
|
-
default: vue.withCtx(() => [
|
|
2444
|
-
vue.renderSlot(_ctx.$slots, "default")
|
|
2445
|
-
]),
|
|
2446
|
-
_: 3
|
|
2447
|
-
}, 8, ["loading"]);
|
|
2448
|
-
}
|
|
2449
|
-
var Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m]]);
|
|
2450
2438
|
var Text_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".skeleton-wrapper[data-v-04705f6f] {\n overflow: hidden;\n}\n.ecan-text[data-v-04705f6f] {\n overflow: hidden;\n display: flex;\n}\n")();
|
|
2451
2439
|
const _sfc_main$l = vue.defineComponent({
|
|
2452
2440
|
name: "EcanText",
|
|
@@ -3575,7 +3563,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
3575
3563
|
props: __spreadValues({}, pieComponentProps),
|
|
3576
3564
|
components: {
|
|
3577
3565
|
Spin,
|
|
3578
|
-
Echarts
|
|
3566
|
+
Echarts
|
|
3579
3567
|
},
|
|
3580
3568
|
setup(props2) {
|
|
3581
3569
|
const style2 = usePickComponentStyle(props2);
|
|
@@ -3829,7 +3817,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
3829
3817
|
props: __spreadValues({}, lineComponentProps),
|
|
3830
3818
|
components: {
|
|
3831
3819
|
Spin,
|
|
3832
|
-
Echarts
|
|
3820
|
+
Echarts
|
|
3833
3821
|
},
|
|
3834
3822
|
setup(props2) {
|
|
3835
3823
|
const style2 = usePickComponentStyle(props2);
|
|
@@ -4160,7 +4148,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
4160
4148
|
props: __spreadValues({}, barComponentProps),
|
|
4161
4149
|
components: {
|
|
4162
4150
|
Spin,
|
|
4163
|
-
Echarts
|
|
4151
|
+
Echarts,
|
|
4164
4152
|
AModal: antDesignVue.Modal
|
|
4165
4153
|
},
|
|
4166
4154
|
setup(props2, { expose }) {
|
|
@@ -4510,7 +4498,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
4510
4498
|
props: __spreadValues({}, scatterComponentProps),
|
|
4511
4499
|
components: {
|
|
4512
4500
|
Spin,
|
|
4513
|
-
Echarts
|
|
4501
|
+
Echarts
|
|
4514
4502
|
},
|
|
4515
4503
|
setup(props2) {
|
|
4516
4504
|
const style2 = usePickComponentStyle(props2);
|
|
@@ -4689,7 +4677,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
4689
4677
|
name: "EcanCustomGraph",
|
|
4690
4678
|
props: __spreadValues({}, customGraphComponentProps),
|
|
4691
4679
|
components: {
|
|
4692
|
-
Echarts
|
|
4680
|
+
Echarts
|
|
4693
4681
|
},
|
|
4694
4682
|
setup(props2) {
|
|
4695
4683
|
const style2 = usePickComponentStyle(props2);
|
|
@@ -4828,7 +4816,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
4828
4816
|
props: __spreadValues({}, comboGraphComponentProps),
|
|
4829
4817
|
components: {
|
|
4830
4818
|
Spin,
|
|
4831
|
-
Echarts
|
|
4819
|
+
Echarts
|
|
4832
4820
|
},
|
|
4833
4821
|
setup(props2) {
|
|
4834
4822
|
const style2 = usePickComponentStyle(props2);
|
|
@@ -5860,7 +5848,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
5860
5848
|
const _sfc_main = vue.defineComponent({
|
|
5861
5849
|
name: "EcanMap",
|
|
5862
5850
|
components: {
|
|
5863
|
-
Echarts
|
|
5851
|
+
Echarts
|
|
5864
5852
|
},
|
|
5865
5853
|
props: __spreadValues({}, mapComponentProps),
|
|
5866
5854
|
setup(props2) {
|