sep-yui 0.1.57 → 0.1.59
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;
|
package/dist/sep-yui.es.ts
CHANGED
@@ -10083,7 +10083,7 @@ const DI = ["data-testid"], OI = ["data-testid"], LI = /* @__PURE__ */ ie({
|
|
10083
10083
|
width: "100%",
|
10084
10084
|
height: a.height
|
10085
10085
|
}, c = (S) => {
|
10086
|
-
l.searchValue = S, l.isShowList = !1, i("input", S), i("update:modelValue", l.searchValue), i("choosed",
|
10086
|
+
l.searchValue = S.trim(), l.isShowList = !1, i("input", S), i("update:modelValue", l.searchValue), i("choosed", l.searchValue), i("enter", l.searchValue);
|
10087
10087
|
}, f = (S) => {
|
10088
10088
|
l.isShowList = !1, i("choose-result", S);
|
10089
10089
|
}, h = () => {
|
@@ -10182,7 +10182,7 @@ const DI = ["data-testid"], OI = ["data-testid"], LI = /* @__PURE__ */ ie({
|
|
10182
10182
|
}, null, 8, ["global-results-function", "search-value", "data-testid"])) : ne("", !0)
|
10183
10183
|
], 40, lE));
|
10184
10184
|
}
|
10185
|
-
}), ci = /* @__PURE__ */ _e(fE, [["__scopeId", "data-v-
|
10185
|
+
}), ci = /* @__PURE__ */ _e(fE, [["__scopeId", "data-v-ec7be286"]]);
|
10186
10186
|
var Wa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Is = { exports: {} };
|
10187
10187
|
/**
|
10188
10188
|
* @license
|
@@ -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 }
|
@@ -16916,11 +16919,14 @@ const $V = ["id", "data-testid"], TV = ["data-testid"], MV = ["data-testid"], SV
|
|
16916
16919
|
"data-testid": `${a.dataTestid}`
|
16917
16920
|
}, [
|
16918
16921
|
we(R.$slots, "default", {}, () => [
|
16919
|
-
|
16922
|
+
Y("colgroup", null, [
|
16923
|
+
we(R.$slots, "colspan", {}, void 0, !0)
|
16924
|
+
]),
|
16920
16925
|
R.$slots.head ? ($(), A("thead", {
|
16921
16926
|
key: 0,
|
16922
16927
|
ref_key: "theadRef",
|
16923
16928
|
ref: c,
|
16929
|
+
id: a.theadId,
|
16924
16930
|
class: "table__head",
|
16925
16931
|
"data-testid": `${a.dataTestid}-Thead`
|
16926
16932
|
}, [
|
@@ -16928,6 +16934,7 @@ const $V = ["id", "data-testid"], TV = ["data-testid"], MV = ["data-testid"], SV
|
|
16928
16934
|
R.$slots.search ? ($(), ge(Gs, {
|
16929
16935
|
key: 0,
|
16930
16936
|
class: "table__search-tr",
|
16937
|
+
id: a.search.rowId,
|
16931
16938
|
ref_key: "searchRowRef",
|
16932
16939
|
ref: h,
|
16933
16940
|
"data-testid": `${a.dataTestid}-Search-Row`
|
@@ -16936,20 +16943,22 @@ const $V = ["id", "data-testid"], TV = ["data-testid"], MV = ["data-testid"], SV
|
|
16936
16943
|
J(pi, {
|
16937
16944
|
colspan: l.maxColumnCount,
|
16938
16945
|
class: "table__search-th",
|
16946
|
+
id: a.search.headId,
|
16939
16947
|
"data-testid": `${a.dataTestid}-SearchRow-Search`
|
16940
16948
|
}, {
|
16941
16949
|
default: pe(() => [
|
16942
16950
|
we(R.$slots, "search", {}, void 0, !0)
|
16943
16951
|
]),
|
16944
16952
|
_: 3
|
16945
|
-
}, 8, ["colspan", "data-testid"])
|
16953
|
+
}, 8, ["colspan", "id", "data-testid"])
|
16946
16954
|
]),
|
16947
16955
|
_: 3
|
16948
|
-
}, 8, ["data-testid"])) : ne("", !0)
|
16956
|
+
}, 8, ["id", "data-testid"])) : ne("", !0)
|
16949
16957
|
], 8, yY)) : ne("", !0),
|
16950
16958
|
we(R.$slots, "body-group", {}, () => [
|
16951
16959
|
R.$slots.body ? ($(), A("tbody", {
|
16952
16960
|
key: 0,
|
16961
|
+
id: a.tbodyId,
|
16953
16962
|
ref_key: "tbodyRef",
|
16954
16963
|
ref: f,
|
16955
16964
|
class: "table__body",
|
@@ -16964,7 +16973,7 @@ const $V = ["id", "data-testid"], TV = ["data-testid"], MV = ["data-testid"], SV
|
|
16964
16973
|
_: 3
|
16965
16974
|
}, 8, ["is-show-vertical-scroll", "is-show-horizontal-scroll", "data-testid"]));
|
16966
16975
|
}
|
16967
|
-
}), L2 = /* @__PURE__ */ _e(wY, [["__scopeId", "data-v-
|
16976
|
+
}), L2 = /* @__PURE__ */ _e(wY, [["__scopeId", "data-v-0e5b8a05"]]), bY = ["data-testid"], kY = /* @__PURE__ */ ie({
|
16968
16977
|
name: "TableRow",
|
16969
16978
|
__name: "TableRow",
|
16970
16979
|
props: {
|
@@ -17350,6 +17359,9 @@ const MY = ["data-testid"], SY = /* @__PURE__ */ ie({
|
|
17350
17359
|
__name: "TableNew",
|
17351
17360
|
props: {
|
17352
17361
|
tableId: {},
|
17362
|
+
search: {},
|
17363
|
+
tbodyId: {},
|
17364
|
+
theadId: {},
|
17353
17365
|
dataTestid: { default: "Table" },
|
17354
17366
|
isShowVerticalScroll: { type: Boolean, default: !1 },
|
17355
17367
|
isShowHorizontalScroll: { type: Boolean, default: !1 }
|
@@ -17429,7 +17441,9 @@ const MY = ["data-testid"], SY = /* @__PURE__ */ ie({
|
|
17429
17441
|
"data-testid": `${a.dataTestid}`
|
17430
17442
|
}, [
|
17431
17443
|
we(R.$slots, "default", {}, () => [
|
17432
|
-
|
17444
|
+
Y("colgroup", null, [
|
17445
|
+
we(R.$slots, "colspan", {}, void 0, !0)
|
17446
|
+
]),
|
17433
17447
|
R.$slots.head ? ($(), A("thead", {
|
17434
17448
|
key: 0,
|
17435
17449
|
ref_key: "theadRef",
|
@@ -17477,7 +17491,7 @@ const MY = ["data-testid"], SY = /* @__PURE__ */ ie({
|
|
17477
17491
|
_: 3
|
17478
17492
|
}, 8, ["is-show-vertical-scroll", "is-show-horizontal-scroll", "data-testid"]));
|
17479
17493
|
}
|
17480
|
-
}), E2 = /* @__PURE__ */ _e(GY, [["__scopeId", "data-v-
|
17494
|
+
}), E2 = /* @__PURE__ */ _e(GY, [["__scopeId", "data-v-4951b36e"]]), qY = ["data-testid"], XY = /* @__PURE__ */ ie({
|
17481
17495
|
name: "TableRow",
|
17482
17496
|
__name: "TableRowNew",
|
17483
17497
|
props: {
|