nuxt-hs-ui 1.0.10 → 2.0.2

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.
Files changed (112) hide show
  1. package/README.md +11 -4
  2. package/dist/module.d.mts +10 -2
  3. package/dist/module.d.ts +10 -2
  4. package/dist/module.json +5 -2
  5. package/dist/module.mjs +90 -51
  6. package/dist/runtime/assets/flatpickr-dark.css +1 -0
  7. package/dist/runtime/assets/flatpickr-month-select-style.css +1 -0
  8. package/dist/runtime/assets/tabulator-custom.css +1 -0
  9. package/dist/runtime/assets/tabulator.css +1 -0
  10. package/dist/runtime/assets/vue-select.css +1 -0
  11. package/dist/runtime/components/{hs-fc/btn/line-loading.vue → form/btn-line-loading.vue} +28 -42
  12. package/dist/runtime/components/form/btn.vue +488 -0
  13. package/dist/runtime/components/form/check-box.vue +352 -0
  14. package/dist/runtime/components/form/check-list.vue +354 -0
  15. package/dist/runtime/components/form/datepicker copy.vue +770 -0
  16. package/dist/runtime/components/form/datepicker.vue +897 -0
  17. package/dist/runtime/components/form/input-frame.vue +272 -0
  18. package/dist/runtime/components/form/radio.vue +685 -0
  19. package/dist/runtime/components/form/select-img-icon.vue +53 -0
  20. package/dist/runtime/components/form/select.vue +438 -0
  21. package/dist/runtime/components/form/text-box.vue +375 -0
  22. package/dist/runtime/components/form/textarea.vue +466 -0
  23. package/dist/runtime/components/form/value-box.vue +681 -0
  24. package/dist/runtime/components/interactive/alert.vue +113 -0
  25. package/dist/runtime/components/{hs-ui → interactive}/block-loading.vue +42 -59
  26. package/dist/runtime/components/{hs-ui/dialog/index.vue → interactive/dialog.vue} +132 -127
  27. package/dist/runtime/components/interactive/modal-bg.vue +82 -0
  28. package/dist/runtime/components/interactive/modal.vue +143 -0
  29. package/dist/runtime/components/{hs-ui/toast/index.vue → interactive/toast.vue} +76 -109
  30. package/dist/runtime/components/{hs-ui → interactive}/window-loader.vue +12 -9
  31. package/dist/runtime/components/{hs-ui → layout}/accordion.vue +21 -30
  32. package/dist/runtime/components/layout/aspect-box.vue +71 -0
  33. package/dist/runtime/components/layout/card-item.vue +193 -0
  34. package/dist/runtime/components/layout/card.vue +42 -0
  35. package/dist/runtime/components/layout/container.vue +40 -0
  36. package/dist/runtime/components/misc/breadcrumb.vue +96 -0
  37. package/dist/runtime/components/misc/tabulator.vue +187 -0
  38. package/dist/runtime/components/misc/view-name-display-target.vue +39 -0
  39. package/dist/runtime/components/misc/view-name-display.vue +90 -0
  40. package/dist/runtime/composables/use-hs-dialog.d.ts +40 -0
  41. package/dist/runtime/composables/{use-hs-ui-dialog.js → use-hs-dialog.js} +15 -10
  42. package/dist/runtime/composables/{use-hs-form-focus.d.ts → use-hs-focus.d.ts} +1 -1
  43. package/dist/runtime/composables/{use-hs-form-focus.js → use-hs-focus.js} +2 -4
  44. package/dist/runtime/composables/use-hs-misc.d.ts +22 -0
  45. package/dist/runtime/composables/use-hs-misc.js +62 -0
  46. package/dist/runtime/composables/use-hs-modal.d.ts +31 -0
  47. package/dist/runtime/{components/hs-ui/modal/use-ui-modal.js → composables/use-hs-modal.js} +18 -16
  48. package/dist/runtime/composables/use-hs-multi-lang.d.ts +14 -6
  49. package/dist/runtime/composables/use-hs-multi-lang.js +44 -11
  50. package/dist/runtime/composables/{use-hs-ui-toast.d.ts → use-hs-toast.d.ts} +3 -3
  51. package/dist/runtime/composables/{use-hs-ui-toast.js → use-hs-toast.js} +4 -5
  52. package/dist/runtime/composables/{use-hs-ui-window-loader.d.ts → use-hs-window-loader.d.ts} +1 -1
  53. package/dist/runtime/composables/{use-hs-ui-window-loader.js → use-hs-window-loader.js} +1 -2
  54. package/dist/runtime/plugin/v-select.d.ts +2 -0
  55. package/dist/runtime/plugin/v-select.js +5 -0
  56. package/dist/runtime/style.css +22 -1
  57. package/dist/runtime/tailwind.css +78 -0
  58. package/dist/runtime/types/app.config.d.ts +5 -0
  59. package/dist/runtime/{components/hs-ui/dialog/index.type.d.ts → types/dialog.d.ts} +3 -3
  60. package/dist/runtime/{components/hs-ui/toast/index.type.d.ts → types/toast.d.ts} +1 -2
  61. package/dist/runtime/{components/hs-ui/toast/index.type.js → types/toast.js} +0 -1
  62. package/dist/runtime/utils/class-style.d.ts +6 -0
  63. package/dist/runtime/utils/class-style.js +27 -0
  64. package/dist/runtime/utils/com.d.ts +6 -0
  65. package/dist/runtime/{lib → utils}/com.js +1 -4
  66. package/dist/runtime/utils/dayjs.d.ts +53 -0
  67. package/dist/runtime/utils/dayjs.js +124 -0
  68. package/dist/runtime/utils/float.d.ts +2 -0
  69. package/dist/runtime/utils/float.js +35 -0
  70. package/dist/runtime/utils/multi-lang-object.d.ts +17 -0
  71. package/dist/runtime/utils/multi-lang-object.js +34 -0
  72. package/dist/runtime/{lib → utils}/multi-lang.d.ts +1 -1
  73. package/dist/runtime/{lib → utils}/multi-lang.js +31 -27
  74. package/dist/runtime/{lib → utils}/number.d.ts +2 -4
  75. package/dist/runtime/{lib → utils}/number.js +29 -69
  76. package/dist/runtime/utils/object.d.ts +46 -0
  77. package/dist/runtime/utils/object.js +107 -0
  78. package/dist/runtime/utils/select-item.d.ts +31 -0
  79. package/dist/runtime/utils/select.d.ts +14 -0
  80. package/dist/runtime/utils/select.js +36 -0
  81. package/dist/runtime/utils/string.d.ts +39 -0
  82. package/dist/runtime/utils/string.js +125 -0
  83. package/dist/runtime/utils/tabulator.d.ts +108 -0
  84. package/dist/runtime/utils/tabulator.js +296 -0
  85. package/dist/runtime/utils/theme.d.ts +21 -0
  86. package/dist/runtime/utils/theme.js +31 -0
  87. package/dist/runtime/utils/tv.d.ts +101 -0
  88. package/dist/runtime/utils/tv.js +26 -0
  89. package/dist/runtime/utils/wareki.d.ts +3 -0
  90. package/dist/runtime/utils/wareki.js +106 -0
  91. package/dist/types.d.mts +1 -17
  92. package/dist/types.d.ts +1 -17
  93. package/package.json +99 -37
  94. package/dist/runtime/components/hs-fc/btn/index.vue +0 -510
  95. package/dist/runtime/components/hs-ui/aspect-box.vue +0 -83
  96. package/dist/runtime/components/hs-ui/card-item.vue +0 -141
  97. package/dist/runtime/components/hs-ui/card.vue +0 -54
  98. package/dist/runtime/components/hs-ui/container.vue +0 -50
  99. package/dist/runtime/components/hs-ui/modal/bg.vue +0 -94
  100. package/dist/runtime/components/hs-ui/modal/index.vue +0 -206
  101. package/dist/runtime/components/hs-ui/modal/use-ui-modal.d.ts +0 -20
  102. package/dist/runtime/components/v-test.vue +0 -60
  103. package/dist/runtime/composables/use-hs-ui-dialog.d.ts +0 -22
  104. package/dist/runtime/lib/class-style.d.ts +0 -8
  105. package/dist/runtime/lib/class-style.js +0 -59
  106. package/dist/runtime/lib/com.d.ts +0 -14
  107. package/dist/runtime/lib/prefix.d.ts +0 -2
  108. package/dist/runtime/lib/prefix.js +0 -17
  109. package/dist/runtime/lib/theme.d.ts +0 -2
  110. package/dist/runtime/lib/theme.js +0 -21
  111. /package/dist/runtime/{components/hs-ui/dialog/index.type.js → types/dialog.js} +0 -0
  112. /package/dist/runtime/{components/hs-fc/hoge → utils/select-item.js} +0 -0
@@ -0,0 +1,107 @@
1
+ export const GetMapValue = (obj, key) => {
2
+ if (key === null) return null;
3
+ return obj[key];
4
+ };
5
+ export const ObjectCopy = (obj) => {
6
+ return JSON.parse(JSON.stringify(obj));
7
+ };
8
+ export const ObjectKeys = (obj) => {
9
+ return Object.keys(obj);
10
+ };
11
+ export const ObjectValues = (obj) => {
12
+ return Object.values(obj);
13
+ };
14
+ export const ObjectKeyToMap = (obj, initData) => {
15
+ const valueType = typeOf(initData);
16
+ const ngObje = ["set", "map", "symbol"].includes(valueType);
17
+ if (ngObje) {
18
+ throw new Error("Set and Map are not supported");
19
+ }
20
+ const isObje = ["array", "object"].includes(valueType);
21
+ const isUndefined = valueType === void 0;
22
+ return ObjectKeys(obj).reduce((ret, key) => {
23
+ if (isUndefined) {
24
+ ret[key] = initData;
25
+ } else if (isObje) {
26
+ ret[key] = ObjectCopy(initData);
27
+ } else {
28
+ ret[key] = initData;
29
+ }
30
+ return ret;
31
+ }, {});
32
+ };
33
+ export const ObjectListKeyMap = (obj, key) => {
34
+ return obj.reduce((ret, row) => {
35
+ ret[String(row[key])] = row;
36
+ return ret;
37
+ }, {});
38
+ };
39
+ export const ObjectCompare = (a, b) => {
40
+ if (JSON.stringify(a) === JSON.stringify(b)) return true;
41
+ const objectSort = (obj) => {
42
+ if (obj === null) {
43
+ return null;
44
+ }
45
+ const sorted = Object.entries(obj).sort();
46
+ for (const i in sorted) {
47
+ const val = sorted[i][1];
48
+ if (typeof val === "object") {
49
+ sorted[i][1] = objectSort(val);
50
+ }
51
+ }
52
+ return sorted;
53
+ };
54
+ const aJSON = JSON.stringify(objectSort(a));
55
+ const bJSON = JSON.stringify(objectSort(b));
56
+ return aJSON === bJSON;
57
+ };
58
+ export const ListIdSort = (baseList, idList) => {
59
+ const listOk = [];
60
+ const listNg = [];
61
+ const tList = [];
62
+ baseList.forEach((row) => tList.push(row.id));
63
+ idList.forEach((row) => {
64
+ if (tList.includes(row) === true) {
65
+ listOk.push(row);
66
+ } else {
67
+ listNg.push(row);
68
+ }
69
+ });
70
+ const ret = [];
71
+ tList.forEach((id) => {
72
+ if (listOk.includes(id) === true) {
73
+ ret.push(id);
74
+ }
75
+ });
76
+ listNg.forEach((id) => ret.push(id));
77
+ return ret;
78
+ };
79
+ const typeOf = (obj) => {
80
+ return Object.prototype.toString.call(obj).slice(8, -1).toLowerCase();
81
+ };
82
+ export const FlatObj = (obj, flatObj = {}, prefix = "") => {
83
+ const valueType = typeOf(obj);
84
+ if (valueType === "undefined") {
85
+ return flatObj;
86
+ } else if (valueType === "null" || valueType === "number" || valueType === "string" || valueType === "boolean") {
87
+ flatObj[prefix] = obj;
88
+ return flatObj;
89
+ } else if (valueType === "array") {
90
+ flatObj[`${prefix}`] = [];
91
+ obj.forEach((row, index) => {
92
+ const newKey = `${prefix}[${index}]`;
93
+ FlatObj(row, flatObj, newKey);
94
+ });
95
+ return flatObj;
96
+ } else if (valueType === "object") {
97
+ flatObj[`${prefix}`] = {};
98
+ Object.keys(obj).forEach((key) => {
99
+ const value = obj[key];
100
+ const newKey = prefix === "" ? key : prefix + "." + key;
101
+ FlatObj(value, flatObj, newKey);
102
+ });
103
+ return flatObj;
104
+ } else {
105
+ throw new Error(`FlatObj :: Unknown Type ${valueType}`);
106
+ }
107
+ };
@@ -0,0 +1,31 @@
1
+ import type { MultiLang } from "./multi-lang.js";
2
+ export interface SelectItem {
3
+ readonly id: number;
4
+ /**
5
+ * 多言語の場合は多言語のオブジェクトをセットする
6
+ */
7
+ readonly text: MultiLang;
8
+ /**
9
+ * 画像用URL
10
+ */
11
+ imgUrl?: string;
12
+ /**
13
+ * 表示順
14
+ */
15
+ order?: number;
16
+ /**
17
+ * 非表示 : true = 非表示。
18
+ * ただし選択要素は表示する
19
+ * 任意で表示に切り替え変更できる
20
+ *
21
+ */
22
+ hidden?: boolean;
23
+ /**
24
+ * 削除非表示 : true = 非表示。
25
+ * ただし選択要素は表示する
26
+ */
27
+ deleted?: boolean;
28
+ }
29
+ type WithoutRequier = Partial<Omit<SelectItem, "id" | "text">>;
30
+ export type SelectItemOrigin = Omit<SelectItem, keyof WithoutRequier> & WithoutRequier;
31
+ export {};
@@ -0,0 +1,14 @@
1
+ import type { SelectItem } from "./select-item.js";
2
+ export type DisplaySelectItem = {
3
+ id: number | null;
4
+ } & Omit<SelectItem, "id">;
5
+ export declare const useDisplayList: (arg: {
6
+ list: SelectItem[];
7
+ id: number | null;
8
+ order: boolean;
9
+ unKnownData: SelectItem | null;
10
+ unKnownSelected: boolean;
11
+ isShowHidden: boolean;
12
+ require: boolean;
13
+ nullText: string;
14
+ }) => DisplaySelectItem[];
@@ -0,0 +1,36 @@
1
+ export const useDisplayList = (arg) => {
2
+ const {
3
+ //
4
+ list,
5
+ id,
6
+ order,
7
+ unKnownData,
8
+ unKnownSelected,
9
+ isShowHidden,
10
+ require,
11
+ nullText
12
+ } = arg;
13
+ const ret = list.filter((row) => {
14
+ if (row.deleted === true && row.id != id) {
15
+ return false;
16
+ }
17
+ if (isShowHidden === false && row.hidden === true && row.id != id) {
18
+ return false;
19
+ }
20
+ return true;
21
+ }).sort((a, b) => {
22
+ if (!order) return 0;
23
+ if (a.order === void 0 || b.order === void 0) return 0;
24
+ if (a.order < b.order) return -1;
25
+ if (a.order > b.order) return 1;
26
+ return 0;
27
+ });
28
+ const uk = unKnownData;
29
+ if (uk !== null && unKnownSelected) {
30
+ ret.push(uk);
31
+ }
32
+ if (!require) {
33
+ ret.unshift({ id: null, text: nullText });
34
+ }
35
+ return ret;
36
+ };
@@ -0,0 +1,39 @@
1
+ /**
2
+ * 指定した文字数にカットした文字を返却する
3
+ * @param text 対象の文字列
4
+ * @param len カットしたい文字数
5
+ * @param addWard 省略文字(省略した場合「...」)
6
+ * @returns カンマが挿入された文字列
7
+ */
8
+ export declare const CutLen: (text: string, len: number, addWard?: string) => string;
9
+ export declare const LenB: (str: string) => number;
10
+ /**
11
+ * 指定した文字数にカットした文字を返却する
12
+ * @param text 対象の文字列
13
+ * @param len カットしたい文字数(バイト計算)
14
+ * @param w 省略文字(省略した場合「...」)
15
+ * @returns カンマが挿入された文字列
16
+ */
17
+ export declare const CutLenB: (text: string, len: number, w?: string | undefined) => string;
18
+ /**
19
+ * 指定した文字数にカットした文字を返却する
20
+ * @param text 対象の文字列
21
+ * @param len カットしたい文字数(バイト計算)
22
+ * @param w 埋める文字 半角で指定すること
23
+ * @returns カンマが挿入された文字列
24
+ */
25
+ export declare const PaddingLeft: (text: string | number | null, len: number, w: string, ryaku?: string) => string;
26
+ /**
27
+ * 指定した文字数にカットした文字を返却する
28
+ * @param text 対象の文字列
29
+ * @param len カットしたい文字数(バイト計算)
30
+ * @param w 埋める文字
31
+ * @returns カンマが挿入された文字列
32
+ */
33
+ export declare const PaddingRight: (text: string | number | null, len: number, w: string, ryaku?: string) => string;
34
+ export declare const ToString: (value: any) => string;
35
+ export declare const ToStringNullable: (value: any) => string | null;
36
+ /**
37
+ * パス禁止文字
38
+ */
39
+ export declare const SafePathString: (str: string) => string;
@@ -0,0 +1,125 @@
1
+ export const CutLen = (text, len, addWard = "") => {
2
+ if (text === null) return "";
3
+ if (len === 0) return text;
4
+ return text.substring(0, len) + addWard;
5
+ };
6
+ export const LenB = (str) => {
7
+ let len = 0;
8
+ for (let i = 0; i < str.length; i++) {
9
+ if (str[i].match(/[ -~]/)) {
10
+ len += 1;
11
+ } else {
12
+ len += 2;
13
+ }
14
+ }
15
+ return len;
16
+ };
17
+ export const CutLenB = (text, len, w = void 0) => {
18
+ if (text === null) return "";
19
+ if (len === 0) return "";
20
+ w = w === void 0 ? "..." : w;
21
+ let tempStr = "";
22
+ for (let i = 0; i < text.length; i++) {
23
+ if (text[i].match(/[ -~]/)) {
24
+ if (LenB(tempStr + w) + 1 > len) {
25
+ break;
26
+ }
27
+ } else if (LenB(tempStr + w) + 2 > len) {
28
+ break;
29
+ }
30
+ tempStr += text[i];
31
+ }
32
+ text = tempStr + w;
33
+ return text;
34
+ };
35
+ export const PaddingLeft = (text, len, w, ryaku = "") => {
36
+ text = text == null ? "" : String(text);
37
+ const textlen = LenB(text);
38
+ len = len - LenB(ryaku);
39
+ if (textlen <= len) {
40
+ return w.repeat(len - textlen) + text;
41
+ } else {
42
+ let str = "";
43
+ for (let i = 0; i < text.length; i++) {
44
+ if (text[text.length - i - 1].match(/[ -~]/)) {
45
+ if (LenB(str) + 1 > len) {
46
+ break;
47
+ }
48
+ } else if (LenB(str) + 2 > len) {
49
+ break;
50
+ }
51
+ str = text[text.length - i - 1] + str;
52
+ }
53
+ text = str;
54
+ return ryaku + w.repeat(len - LenB(text)) + text;
55
+ }
56
+ };
57
+ export const PaddingRight = (text, len, w, ryaku = "") => {
58
+ text = text == null ? "" : String(text);
59
+ const textlen = LenB(text);
60
+ len = len - LenB(ryaku);
61
+ if (textlen <= len) {
62
+ return text + w.repeat(len - textlen);
63
+ } else {
64
+ let str = "";
65
+ for (let i = 0; i < text.length; i++) {
66
+ if (text[i].match(/[ -~]/)) {
67
+ if (LenB(str) + 1 > len) {
68
+ break;
69
+ }
70
+ } else if (LenB(str) + 2 > len) {
71
+ break;
72
+ }
73
+ str = str + text[i];
74
+ }
75
+ text = str;
76
+ return text + w.repeat(len - LenB(text)) + ryaku;
77
+ }
78
+ };
79
+ const typeOf = (obj) => {
80
+ return Object.prototype.toString.call(obj).slice(8, -1).toLowerCase();
81
+ };
82
+ export const ToString = (value) => {
83
+ try {
84
+ if (value === null || value === void 0) return "";
85
+ let text = "";
86
+ switch (typeOf(value)) {
87
+ case "array":
88
+ case "object":
89
+ text = "\n" + JSON.stringify(value, null, 2);
90
+ break;
91
+ default:
92
+ text = `${value}`;
93
+ }
94
+ return text;
95
+ } catch {
96
+ return "";
97
+ }
98
+ };
99
+ export const ToStringNullable = (value) => {
100
+ try {
101
+ if (value === null || value === void 0) return null;
102
+ let text = "";
103
+ switch (typeOf(value)) {
104
+ case "array":
105
+ case "object":
106
+ text = "\n" + JSON.stringify(value, null, 2);
107
+ break;
108
+ default:
109
+ text = `${value}`;
110
+ }
111
+ return text;
112
+ } catch {
113
+ return "";
114
+ }
115
+ };
116
+ export const SafePathString = (str) => {
117
+ const specialChars = /:|\?|\.|"|<|>|\|/g;
118
+ const slash = /\//g;
119
+ const spaces = /\s{2,}/g;
120
+ const backSlashs = /\\{2,}/g;
121
+ const sandwich = /(\s\\|\\\s)+(\s|\\)?/g;
122
+ const beginningEnd = /^(\s|\\)+|(\s|\\)+$/g;
123
+ const replacedStr = String(str).replace(specialChars, `-`).replace(slash, `\\`).replace(spaces, ` `).replace(backSlashs, `\\`).replace(sandwich, `\\`).replace(beginningEnd, ``).replace(/\s/, `_`);
124
+ return replacedStr;
125
+ };
@@ -0,0 +1,108 @@
1
+ import { type Theme } from "../utils/theme.js";
2
+ /**
3
+ * セル内部にボタンを配置した時用
4
+ */
5
+ export declare const cellMouseOut: (e: any) => void;
6
+ /**
7
+ * セル内部にボタンを配置した時用
8
+ */
9
+ export declare const cellMouseUp: (e: any) => void;
10
+ /**
11
+ * セル内部にボタンを配置した時用
12
+ */
13
+ export declare const cellMouseDown: (e: any) => void;
14
+ export interface SortItem<T> {
15
+ key: T;
16
+ order: 1 | -1;
17
+ }
18
+ export declare const ColumnsPropsDisplay: {
19
+ headerSort: boolean;
20
+ download: boolean;
21
+ };
22
+ export declare const ColumnsDisplay: (field?: string | undefined, width?: number | undefined) => {
23
+ headerSort: boolean;
24
+ download: boolean;
25
+ field: string | undefined;
26
+ width: string | undefined;
27
+ minWidth: string | undefined;
28
+ };
29
+ export declare const InitEmitFunc: () => {
30
+ tableReBuild: () => void;
31
+ tableRedraw: () => void;
32
+ tableRefresh: () => void;
33
+ tableRefreshStopToggle: () => void;
34
+ };
35
+ export declare const TabulatorInitEmitFunc: () => {
36
+ tableReBuild: () => void;
37
+ tableRedraw: () => void;
38
+ tableRefresh: () => void;
39
+ tableRefreshStopToggle: () => void;
40
+ };
41
+ export declare const Option: (option?: any) => any;
42
+ export declare const TabulatorFunc: {
43
+ cellMouseOut: (e: any) => void;
44
+ cellMouseUp: (e: any) => void;
45
+ cellMouseDown: (e: any) => void;
46
+ ColumnsDisplay: (field?: string | undefined, width?: number | undefined) => {
47
+ headerSort: boolean;
48
+ download: boolean;
49
+ field: string | undefined;
50
+ width: string | undefined;
51
+ minWidth: string | undefined;
52
+ };
53
+ InitEmitFunc: () => {
54
+ tableReBuild: () => void;
55
+ tableRedraw: () => void;
56
+ tableRefresh: () => void;
57
+ tableRefreshStopToggle: () => void;
58
+ };
59
+ Option: (option?: any) => any;
60
+ };
61
+ /**
62
+ * パス禁止文字
63
+ */
64
+ export declare const ReplaceFolderName: (str: string) => string;
65
+ export declare const SortIconClassName: <T>(uid: string) => (key: T) => string;
66
+ export declare const GetCellHtml: (html: string) => string;
67
+ export declare const GetHeaderHtml: (html: string) => string;
68
+ /** Data-Row-Table ボタン列 */
69
+ export declare const GetListTableBtnSetting: (arg: {
70
+ detailUrl: string;
71
+ mode: "select" | "detail";
72
+ actionBtnTheme: Theme;
73
+ componentName: string;
74
+ TabulatorFunc: typeof TabulatorFunc;
75
+ emit: any;
76
+ size: string;
77
+ }) => {
78
+ title: string;
79
+ formatter: (cell: any) => string;
80
+ cellClick: (e: any, cell: any) => void;
81
+ cellMouseUp: (e: any) => void;
82
+ cellMouseOut: (e: any) => void;
83
+ cellMouseDown: (e: any) => void;
84
+ headerSort: boolean;
85
+ download: boolean;
86
+ field: string | undefined;
87
+ width: string | undefined;
88
+ minWidth: string | undefined;
89
+ };
90
+ /** List用 並べ替え処理 */
91
+ export declare const ListOriginSortItems: <T>(arg: {
92
+ a: T;
93
+ b: T;
94
+ sortCount: number;
95
+ SortReverse: string[];
96
+ sort: SortItem<string>[];
97
+ }) => number | null;
98
+ /** List用 表示中ページの配列生成 */
99
+ export declare const ListPage: <T>(arg: {
100
+ size: number;
101
+ index: number;
102
+ list: T[];
103
+ }) => T[];
104
+ /** List用 並べ替え */
105
+ export declare const SortToggle: <SortKey extends string>(arg: {
106
+ key: SortKey;
107
+ sort: SortItem<SortKey>[];
108
+ }) => SortItem<SortKey>[];