@ecan-bi/pivot-table 1.0.5 → 1.0.7

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 CHANGED
@@ -1,16 +1,10 @@
1
- /*! @ecan-bi/pivot-table@1.0.5 */
1
+ /*! @ecan-bi/pivot-table@1.0.7 */
2
2
  import { defineComponent as v1, ref as ii, reactive as m1, onMounted as b1, unref as Kt, nextTick as es, openBlock as wf, createElementBlock as Sf } from "vue";
3
3
  import "dayjs";
4
4
  import "lodash-es";
5
- const C1 = (n, t) => {
6
- if (n.install = (e) => {
7
- for (const i of [n, ...Object.values(t ?? {})])
8
- e.component(i.name, i);
9
- }, t)
10
- for (const [e, i] of Object.entries(t))
11
- n[e] = i;
12
- return n;
13
- }, xf = (n, t) => Object.prototype.hasOwnProperty.call(n, t);
5
+ const C1 = (n) => (n.install = (t) => {
6
+ t.component(n.name, n);
7
+ }, n), xf = (n, t) => Object.prototype.hasOwnProperty.call(n, t);
14
8
  class ke {
15
9
  static GenAutoIncrementId() {
16
10
  return ke.auto_increment_id++;
@@ -48346,26 +48340,66 @@ const sD = v1({
48346
48340
  name: "PivotTable",
48347
48341
  components: {},
48348
48342
  props: {
48349
- name: String,
48350
- keyName: String,
48351
- type: String,
48352
- width: String,
48353
- height: String,
48354
- position: String,
48355
- top: String,
48356
- left: String,
48357
- zIndex: Number,
48343
+ id: {
48344
+ type: String,
48345
+ default: ""
48346
+ },
48347
+ name: {
48348
+ type: String,
48349
+ default: ""
48350
+ },
48351
+ keyName: {
48352
+ type: String,
48353
+ default: ""
48354
+ },
48355
+ type: {
48356
+ type: String,
48357
+ default: ""
48358
+ },
48359
+ width: {
48360
+ type: String,
48361
+ default: ""
48362
+ },
48363
+ height: {
48364
+ type: String,
48365
+ default: ""
48366
+ },
48367
+ position: {
48368
+ type: String,
48369
+ default: ""
48370
+ },
48371
+ top: {
48372
+ type: String,
48373
+ default: ""
48374
+ },
48375
+ left: {
48376
+ type: String,
48377
+ default: ""
48378
+ },
48379
+ zIndex: {
48380
+ type: Number,
48381
+ default: 1
48382
+ },
48358
48383
  events: {
48359
48384
  type: Array,
48360
48385
  default: () => []
48361
48386
  },
48362
- dataType: String,
48363
- graphicConfig: Object,
48387
+ dataType: {
48388
+ type: String,
48389
+ default: ""
48390
+ },
48391
+ graphicConfig: {
48392
+ type: Object,
48393
+ default: () => ({})
48394
+ },
48364
48395
  data: {
48365
48396
  type: Array,
48366
48397
  default: () => []
48367
48398
  },
48368
- scale: Number,
48399
+ scale: {
48400
+ type: Number,
48401
+ default: 0
48402
+ },
48369
48403
  dimensionList: {
48370
48404
  type: Array,
48371
48405
  default: () => []
@@ -48374,8 +48408,10 @@ const sD = v1({
48374
48408
  type: Array,
48375
48409
  default: () => []
48376
48410
  },
48377
- pageMode: String,
48378
- id: String
48411
+ pageMode: {
48412
+ type: String,
48413
+ default: ""
48414
+ }
48379
48415
  },
48380
48416
  setup(n, { expose: t }) {
48381
48417
  const e = ii(), i = ii(""), o = ii({}), r = ii(), s = ii({}), l = ii({}), a = ii(), h = ii(), d = ii({}), u = ii(), c = ii(), g = ii(), f = ii(), p = ii(), v = ii(), m = {
@@ -48997,7 +49033,7 @@ function dD(n, t, e, i, o, r) {
48997
49033
  ref: "pivotTableRef"
48998
49034
  }, null, 8, hD));
48999
49035
  }
49000
- const uD = /* @__PURE__ */ lD(sD, [["render", dD], ["__scopeId", "data-v-f7c40eef"]]), cD = C1(uD), Db = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
49036
+ const uD = /* @__PURE__ */ lD(sD, [["render", dD], ["__scopeId", "data-v-229c4a43"]]), cD = C1(uD), Db = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
49001
49037
  __proto__: null,
49002
49038
  EcanPivotTable: cD
49003
49039
  }, Symbol.toStringTag, { value: "Module" })), gD = (n, t) => {