sep-yui 0.1.58 → 0.1.60

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.
@@ -18,6 +18,12 @@ export interface ITableTd extends IDataTestIdProp {
18
18
  }
19
19
  export interface ITableProps extends IDataTestIdProp, IScrollWrapperProps {
20
20
  tableId?: string;
21
+ search?: {
22
+ rowId?: string;
23
+ headId?: string;
24
+ };
25
+ tbodyId?: string;
26
+ theadId?: string;
21
27
  }
22
28
  export interface ITableEmit {
23
29
  (e: 'unmount-scroll', event: Event): void;
@@ -16832,11 +16832,14 @@ const $V = ["id", "data-testid"], TV = ["data-testid"], MV = ["data-testid"], SV
16832
16832
  ])
16833
16833
  ], 512));
16834
16834
  }
16835
- }), qs = /* @__PURE__ */ _e(mY, [["__scopeId", "data-v-1e4c98dd"]]), _Y = ["id", "data-testid"], yY = ["data-testid"], CY = ["data-testid"], wY = /* @__PURE__ */ ie({
16835
+ }), qs = /* @__PURE__ */ _e(mY, [["__scopeId", "data-v-1e4c98dd"]]), _Y = ["id", "data-testid"], yY = ["id", "data-testid"], CY = ["id", "data-testid"], wY = /* @__PURE__ */ ie({
16836
16836
  name: "TableNew",
16837
16837
  __name: "Table",
16838
16838
  props: {
16839
16839
  tableId: {},
16840
+ search: {},
16841
+ tbodyId: {},
16842
+ theadId: {},
16840
16843
  dataTestid: { default: "Table" },
16841
16844
  isShowVerticalScroll: { type: Boolean, default: !1 },
16842
16845
  isShowHorizontalScroll: { type: Boolean, default: !1 }
@@ -16915,56 +16918,68 @@ const $V = ["id", "data-testid"], TV = ["data-testid"], MV = ["data-testid"], SV
16915
16918
  class: "table__table",
16916
16919
  "data-testid": `${a.dataTestid}`
16917
16920
  }, [
16918
- we(R.$slots, "default", {}, () => [
16919
- we(R.$slots, "colspan", {}, void 0, !0),
16920
- R.$slots.head ? ($(), A("thead", {
16921
- key: 0,
16922
- ref_key: "theadRef",
16923
- ref: c,
16924
- class: "table__head",
16925
- "data-testid": `${a.dataTestid}-Thead`
16926
- }, [
16927
- we(R.$slots, "head", {}, void 0, !0),
16928
- R.$slots.search ? ($(), ge(Gs, {
16929
- key: 0,
16930
- class: "table__search-tr",
16931
- ref_key: "searchRowRef",
16932
- ref: h,
16933
- "data-testid": `${a.dataTestid}-Search-Row`
16934
- }, {
16935
- default: pe(() => [
16936
- J(pi, {
16937
- colspan: l.maxColumnCount,
16938
- class: "table__search-th",
16939
- "data-testid": `${a.dataTestid}-SearchRow-Search`
16940
- }, {
16941
- default: pe(() => [
16942
- we(R.$slots, "search", {}, void 0, !0)
16943
- ]),
16944
- _: 3
16945
- }, 8, ["colspan", "data-testid"])
16946
- ]),
16947
- _: 3
16948
- }, 8, ["data-testid"])) : ne("", !0)
16949
- ], 8, yY)) : ne("", !0),
16950
- we(R.$slots, "body-group", {}, () => [
16951
- R.$slots.body ? ($(), A("tbody", {
16921
+ we(R.$slots, "default", {}, () => {
16922
+ var V;
16923
+ return [
16924
+ Y("colgroup", null, [
16925
+ we(R.$slots, "colspan", {}, void 0, !0)
16926
+ ]),
16927
+ R.$slots.head ? ($(), A("thead", {
16952
16928
  key: 0,
16953
- ref_key: "tbodyRef",
16954
- ref: f,
16955
- class: "table__body",
16956
- "data-testid": `${a.dataTestid}-Tbody`
16929
+ ref_key: "theadRef",
16930
+ ref: c,
16931
+ id: a.theadId,
16932
+ class: "table__head",
16933
+ "data-testid": `${a.dataTestid}-Thead`
16957
16934
  }, [
16958
- we(R.$slots, "body", {}, void 0, !0)
16959
- ], 8, CY)) : ne("", !0)
16960
- ], !0)
16961
- ], !0)
16935
+ we(R.$slots, "head", {}, void 0, !0),
16936
+ R.$slots.search ? ($(), ge(Gs, {
16937
+ key: 0,
16938
+ class: "table__search-tr",
16939
+ id: (V = a.search) == null ? void 0 : V.rowId,
16940
+ ref_key: "searchRowRef",
16941
+ ref: h,
16942
+ "data-testid": `${a.dataTestid}-Search-Row`
16943
+ }, {
16944
+ default: pe(() => {
16945
+ var N;
16946
+ return [
16947
+ J(pi, {
16948
+ colspan: l.maxColumnCount,
16949
+ class: "table__search-th",
16950
+ id: (N = a.search) == null ? void 0 : N.headId,
16951
+ "data-testid": `${a.dataTestid}-SearchRow-Search`
16952
+ }, {
16953
+ default: pe(() => [
16954
+ we(R.$slots, "search", {}, void 0, !0)
16955
+ ]),
16956
+ _: 3
16957
+ }, 8, ["colspan", "id", "data-testid"])
16958
+ ];
16959
+ }),
16960
+ _: 3
16961
+ }, 8, ["id", "data-testid"])) : ne("", !0)
16962
+ ], 8, yY)) : ne("", !0),
16963
+ we(R.$slots, "body-group", {}, () => [
16964
+ R.$slots.body ? ($(), A("tbody", {
16965
+ key: 0,
16966
+ id: a.tbodyId,
16967
+ ref_key: "tbodyRef",
16968
+ ref: f,
16969
+ class: "table__body",
16970
+ "data-testid": `${a.dataTestid}-Tbody`
16971
+ }, [
16972
+ we(R.$slots, "body", {}, void 0, !0)
16973
+ ], 8, CY)) : ne("", !0)
16974
+ ], !0)
16975
+ ];
16976
+ }, !0)
16962
16977
  ], 8, _Y)
16963
16978
  ]),
16964
16979
  _: 3
16965
16980
  }, 8, ["is-show-vertical-scroll", "is-show-horizontal-scroll", "data-testid"]));
16966
16981
  }
16967
- }), L2 = /* @__PURE__ */ _e(wY, [["__scopeId", "data-v-e9c1571f"]]), bY = ["data-testid"], kY = /* @__PURE__ */ ie({
16982
+ }), L2 = /* @__PURE__ */ _e(wY, [["__scopeId", "data-v-8c122bdc"]]), bY = ["data-testid"], kY = /* @__PURE__ */ ie({
16968
16983
  name: "TableRow",
16969
16984
  __name: "TableRow",
16970
16985
  props: {
@@ -17350,6 +17365,9 @@ const MY = ["data-testid"], SY = /* @__PURE__ */ ie({
17350
17365
  __name: "TableNew",
17351
17366
  props: {
17352
17367
  tableId: {},
17368
+ search: {},
17369
+ tbodyId: {},
17370
+ theadId: {},
17353
17371
  dataTestid: { default: "Table" },
17354
17372
  isShowVerticalScroll: { type: Boolean, default: !1 },
17355
17373
  isShowHorizontalScroll: { type: Boolean, default: !1 }
@@ -17429,7 +17447,9 @@ const MY = ["data-testid"], SY = /* @__PURE__ */ ie({
17429
17447
  "data-testid": `${a.dataTestid}`
17430
17448
  }, [
17431
17449
  we(R.$slots, "default", {}, () => [
17432
- we(R.$slots, "colspan", {}, void 0, !0),
17450
+ Y("colgroup", null, [
17451
+ we(R.$slots, "colspan", {}, void 0, !0)
17452
+ ]),
17433
17453
  R.$slots.head ? ($(), A("thead", {
17434
17454
  key: 0,
17435
17455
  ref_key: "theadRef",
@@ -17477,7 +17497,7 @@ const MY = ["data-testid"], SY = /* @__PURE__ */ ie({
17477
17497
  _: 3
17478
17498
  }, 8, ["is-show-vertical-scroll", "is-show-horizontal-scroll", "data-testid"]));
17479
17499
  }
17480
- }), E2 = /* @__PURE__ */ _e(GY, [["__scopeId", "data-v-7b4ca100"]]), qY = ["data-testid"], XY = /* @__PURE__ */ ie({
17500
+ }), E2 = /* @__PURE__ */ _e(GY, [["__scopeId", "data-v-4951b36e"]]), qY = ["data-testid"], XY = /* @__PURE__ */ ie({
17481
17501
  name: "TableRow",
17482
17502
  __name: "TableRowNew",
17483
17503
  props: {