@ecan-bi/pivot-table 1.0.5 → 1.0.6

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,4 +1,4 @@
1
- /*! @ecan-bi/pivot-table@1.0.5 */
1
+ /*! @ecan-bi/pivot-table@1.0.6 */
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";
@@ -48346,26 +48346,66 @@ const sD = v1({
48346
48346
  name: "PivotTable",
48347
48347
  components: {},
48348
48348
  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,
48349
+ id: {
48350
+ type: String,
48351
+ default: ""
48352
+ },
48353
+ name: {
48354
+ type: String,
48355
+ default: ""
48356
+ },
48357
+ keyName: {
48358
+ type: String,
48359
+ default: ""
48360
+ },
48361
+ type: {
48362
+ type: String,
48363
+ default: ""
48364
+ },
48365
+ width: {
48366
+ type: String,
48367
+ default: ""
48368
+ },
48369
+ height: {
48370
+ type: String,
48371
+ default: ""
48372
+ },
48373
+ position: {
48374
+ type: String,
48375
+ default: ""
48376
+ },
48377
+ top: {
48378
+ type: String,
48379
+ default: ""
48380
+ },
48381
+ left: {
48382
+ type: String,
48383
+ default: ""
48384
+ },
48385
+ zIndex: {
48386
+ type: Number,
48387
+ default: 1
48388
+ },
48358
48389
  events: {
48359
48390
  type: Array,
48360
48391
  default: () => []
48361
48392
  },
48362
- dataType: String,
48363
- graphicConfig: Object,
48393
+ dataType: {
48394
+ type: String,
48395
+ default: ""
48396
+ },
48397
+ graphicConfig: {
48398
+ type: Object,
48399
+ default: () => ({})
48400
+ },
48364
48401
  data: {
48365
48402
  type: Array,
48366
48403
  default: () => []
48367
48404
  },
48368
- scale: Number,
48405
+ scale: {
48406
+ type: Number,
48407
+ default: 0
48408
+ },
48369
48409
  dimensionList: {
48370
48410
  type: Array,
48371
48411
  default: () => []
@@ -48374,8 +48414,10 @@ const sD = v1({
48374
48414
  type: Array,
48375
48415
  default: () => []
48376
48416
  },
48377
- pageMode: String,
48378
- id: String
48417
+ pageMode: {
48418
+ type: String,
48419
+ default: ""
48420
+ }
48379
48421
  },
48380
48422
  setup(n, { expose: t }) {
48381
48423
  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 +49039,7 @@ function dD(n, t, e, i, o, r) {
48997
49039
  ref: "pivotTableRef"
48998
49040
  }, null, 8, hD));
48999
49041
  }
49000
- const uD = /* @__PURE__ */ lD(sD, [["render", dD], ["__scopeId", "data-v-f7c40eef"]]), cD = C1(uD), Db = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
49042
+ const uD = /* @__PURE__ */ lD(sD, [["render", dD], ["__scopeId", "data-v-229c4a43"]]), cD = C1(uD), Db = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
49001
49043
  __proto__: null,
49002
49044
  EcanPivotTable: cD
49003
49045
  }, Symbol.toStringTag, { value: "Module" })), gD = (n, t) => {