pds-dev-kit-web 1.9.0-beta.5 → 1.9.0-beta.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/src/common/assets/icons/line/CsBold.d.ts +4 -0
- package/dist/src/common/assets/icons/line/CsBold.js +34 -0
- package/dist/src/common/assets/icons/line/CsFace.d.ts +4 -0
- package/dist/src/common/assets/icons/line/CsFace.js +34 -0
- package/dist/src/common/assets/icons/line/index.d.ts +2 -0
- package/dist/src/common/assets/icons/line/index.js +4 -0
- package/dist/src/common/styles/colorSet/UIColor.json +2 -1
- package/dist/src/common/styles/colorSet/index.d.ts +99 -98
- package/dist/src/common/styles/colorSet/index.js +2 -2
- package/dist/src/common/styles/colorSet/ui-type.d.ts +1 -0
- package/dist/src/common/styles/scroll/scrollbarStyle.d.ts +2 -0
- package/dist/src/common/styles/scroll/scrollbarStyle.js +14 -0
- package/dist/src/desktop/components/AdminList/AdminList.d.ts +2 -1
- package/dist/src/desktop/components/AdminList/AdminList.js +4 -4
- package/dist/src/desktop/components/AdminList/HeaderRow.d.ts +2 -1
- package/dist/src/desktop/components/AdminList/HeaderRow.js +21 -17
- package/dist/src/desktop/components/AdminListItem/AdminListItem.d.ts +1 -0
- package/dist/src/desktop/components/AdminListItem/AdminListItem.js +17 -13
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFA.js +9 -12
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFB.js +8 -11
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFE.js +17 -20
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFL.js +11 -33
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSA.js +3 -2
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSD.js +3 -2
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSE.js +3 -2
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSF.js +5 -4
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSG.js +5 -4
- package/dist/src/desktop/panels/DesktopBasicModal/DesktopBasicModal.js +14 -17
- package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.js +6 -9
- package/dist/storybook-static/{main.bea0ee46.iframe.bundle.d.ts → main.c8ffb728.iframe.bundle.d.ts} +1 -16
- package/dist/storybook-static/{main.bea0ee46.iframe.bundle.js → main.c8ffb728.iframe.bundle.js} +35 -27
- package/package.json +1 -1
- package/release-note.md +11 -85
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
+
t[p] = s[p];
|
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
+
t[p[i]] = s[p[i]];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
24
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
var react_1 = __importDefault(require("react"));
|
|
29
|
+
var CsBold = function (_a) {
|
|
30
|
+
var color = _a.color, size = _a.size, rest = __rest(_a, ["color", "size"]);
|
|
31
|
+
return (react_1.default.createElement("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24" }, rest),
|
|
32
|
+
react_1.default.createElement("path", { fill: color, fillRule: "evenodd", d: "M12.7988,2.5975 C16.432963,2.89977443 19.3916453,5.57213084 20.1550432,8.98014705 L20.9487,8.9799 C21.9217,8.9799 22.7097,9.7679 22.7097,10.7409 L22.7097,13.5759 C22.7097,14.5479 21.9217,15.3369 20.9487,15.3369 L20.3414837,15.3362489 C20.2714479,16.2251249 19.9793693,17.5840401 18.9518,18.7325 C18.0219452,19.7721293 16.7070443,20.3980457 15.0323396,20.6007835 C14.8884987,21.0850453 14.4397689,21.4382 13.9083,21.4382 L11.8753,21.4382 C11.2273,21.4382 10.7023,20.9132 10.7023,20.2652 L10.7023,19.0302 C10.7023,18.3822 11.2273,17.8572 11.8753,17.8572 L13.9083,17.8572 C14.4702512,17.8572 14.9397002,18.2520267 15.0544685,18.7795017 C16.1668408,18.6060253 17.0234831,18.1878799 17.6098,17.5315 C18.7328,16.2785 18.5538,14.5545 18.5518,14.5375 L18.5468,10.7145 C18.5468,7.4445 15.9568,4.6665 12.6498,4.3905 C12.1758,4.3525 11.6508,4.3525 11.1748,4.3905 C7.8688,4.6665 5.2788,7.4445 5.2788,10.7145 L5.2788,14.4365 C5.2788,14.9325 4.8748,15.3365 4.3788,15.3365 L4.2993,15.3305 L4.2303,15.3369 L3.0513,15.3369 C2.0783,15.3369 1.2903,14.5479 1.2903,13.5759 L1.2903,10.7409 C1.2903,9.7679 2.0783,8.9799 3.0513,8.9799 L3.67050253,8.98014705 C4.43369209,5.57213084 7.39163696,2.89977443 11.0258,2.5975 C11.5978,2.5495 12.2278,2.5495 12.7988,2.5975 Z" })));
|
|
33
|
+
};
|
|
34
|
+
exports.default = CsBold;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
+
t[p] = s[p];
|
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
+
t[p[i]] = s[p[i]];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
24
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
var react_1 = __importDefault(require("react"));
|
|
29
|
+
var CsFace = function (_a) {
|
|
30
|
+
var color = _a.color, size = _a.size, rest = __rest(_a, ["color", "size"]);
|
|
31
|
+
return (react_1.default.createElement("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24" }, rest),
|
|
32
|
+
react_1.default.createElement("path", { fill: color, fillRule: "evenodd", d: "M12.7988,2.5975 C16.432963,2.89977443 19.3916453,5.57213084 20.1550432,8.98014705 L20.9487,8.9799 C21.9217,8.9799 22.7097,9.7679 22.7097,10.7409 L22.7097,13.5759 C22.7097,14.5479 21.9217,15.3369 20.9487,15.3369 L20.3414837,15.3362489 C20.2714479,16.2251249 19.9793693,17.5840401 18.9518,18.7325 C18.0219452,19.7721293 16.7070443,20.3980457 15.0323396,20.6007835 C14.8884987,21.0850453 14.4397689,21.4382 13.9083,21.4382 L11.8753,21.4382 C11.2273,21.4382 10.7023,20.9132 10.7023,20.2652 L10.7023,19.0302 C10.7023,18.3822 11.2273,17.8572 11.8753,17.8572 L13.9083,17.8572 C14.4702512,17.8572 14.9397002,18.2520267 15.0544685,18.7795017 C16.1668408,18.6060253 17.0234831,18.1878799 17.6098,17.5315 C18.7328,16.2785 18.5538,14.5545 18.5518,14.5375 L18.5468,10.7145 C18.5468,7.4445 15.9568,4.6665 12.6498,4.3905 C12.1758,4.3525 11.6508,4.3525 11.1748,4.3905 C7.8688,4.6665 5.2788,7.4445 5.2788,10.7145 L5.2788,14.4365 C5.2788,14.9325 4.8748,15.3365 4.3788,15.3365 L4.2973,15.3305 L4.2303,15.3369 L3.0513,15.3369 C2.0783,15.3369 1.2903,14.5479 1.2903,13.5759 L1.2903,10.7409 C1.2903,9.7679 2.0783,8.9799 3.0513,8.9799 L3.67050253,8.98014705 C4.43369209,5.57213084 7.39163696,2.89977443 11.0258,2.5975 C11.5978,2.5495 12.2278,2.5495 12.7988,2.5975 Z M13.6048,13.5795 C13.7218,13.2315 14.0998,13.0445 14.4468,13.1605 C14.7948,13.2775 14.9828,13.6555 14.8658,14.0025 C14.4468,15.2505 13.4028,15.9655 11.9998,15.9655 C10.1438,15.9655 9.4148,14.8915 9.1308,13.9915 C9.0768,13.8215 9.0928,13.6415 9.1748,13.4845 C9.2578,13.3265 9.3958,13.2095 9.5648,13.1565 C9.9138,13.0475 10.2898,13.2435 10.3988,13.5905 C10.6268,14.3135 11.1208,14.6355 11.9998,14.6355 C12.8298,14.6355 13.3698,14.2795 13.6048,13.5795 Z M14.55,8.7794 C15.157,8.7794 15.649,9.2724 15.649,9.8794 L15.649,10.7444 C15.649,11.3109333 15.2204133,11.7772889 14.669755,11.8369517 L14.55,11.8434 C13.943,11.8434 13.451,11.3514 13.451,10.7444 L13.451,9.8794 C13.451,9.31286667 13.8795867,8.84564 14.430245,8.78586104 L14.55,8.7794 Z M9.45,8.7794 C10.057,8.7794 10.549,9.2724 10.549,9.8794 L10.549,10.7444 C10.549,11.3109333 10.1204133,11.7772889 9.56975496,11.8369517 L9.45,11.8434 C8.843,11.8434 8.351,11.3514 8.351,10.7444 L8.351,9.8794 C8.351,9.31286667 8.77958667,8.84564 9.33024504,8.78586104 L9.45,8.7794 Z" })));
|
|
33
|
+
};
|
|
34
|
+
exports.default = CsFace;
|
|
@@ -39,6 +39,8 @@ declare const lineIcons: {
|
|
|
39
39
|
readonly ic_cont_watching: ({ color, ...rest }: import("../IconType").default) => JSX.Element;
|
|
40
40
|
readonly ic_copy: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
41
41
|
readonly ic_cs: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
42
|
+
readonly ic_cs_bold: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
43
|
+
readonly ic_cs_face: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
42
44
|
readonly ic_dashboard: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
43
45
|
readonly ic_design_preference: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
44
46
|
readonly ic_developer: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
|
@@ -42,6 +42,8 @@ var Confetti_1 = __importDefault(require("./Confetti"));
|
|
|
42
42
|
var ContWatching_1 = __importDefault(require("./ContWatching"));
|
|
43
43
|
var Copy_1 = __importDefault(require("./Copy"));
|
|
44
44
|
var Cs_1 = __importDefault(require("./Cs"));
|
|
45
|
+
var CsBold_1 = __importDefault(require("./CsBold"));
|
|
46
|
+
var CsFace_1 = __importDefault(require("./CsFace"));
|
|
45
47
|
var Dashboard_1 = __importDefault(require("./Dashboard"));
|
|
46
48
|
var DesignPreference_1 = __importDefault(require("./DesignPreference"));
|
|
47
49
|
var Developer_1 = __importDefault(require("./Developer"));
|
|
@@ -232,6 +234,8 @@ var lineIcons = {
|
|
|
232
234
|
ic_cont_watching: ContWatching_1.default,
|
|
233
235
|
ic_copy: Copy_1.default,
|
|
234
236
|
ic_cs: Cs_1.default,
|
|
237
|
+
ic_cs_bold: CsBold_1.default,
|
|
238
|
+
ic_cs_face: CsFace_1.default,
|
|
235
239
|
ic_dashboard: Dashboard_1.default,
|
|
236
240
|
ic_design_preference: DesignPreference_1.default,
|
|
237
241
|
ic_developer: Developer_1.default,
|
|
@@ -709,5 +709,6 @@
|
|
|
709
709
|
"ui_cpnt_textfield_base_hover_transparent": "sys_component_base_hover_transparent",
|
|
710
710
|
"ui_cpnt_textfield_base_pressed_transparent": "sys_component_base_pressed_transparent",
|
|
711
711
|
"ui_cpnt_reactionbutton_base_02": "sys_component_base_03",
|
|
712
|
-
"ui_create_ch_step_prev": "sys_text_white_opacity_01"
|
|
712
|
+
"ui_create_ch_step_prev": "sys_text_white_opacity_01",
|
|
713
|
+
"ui_editor_preview_editing": "sys_widget_status_active_01"
|
|
713
714
|
}
|
|
@@ -1,101 +1,5 @@
|
|
|
1
1
|
declare const colorSet: {
|
|
2
|
-
readonly
|
|
3
|
-
blue500: string;
|
|
4
|
-
blue700: string;
|
|
5
|
-
blue300: string;
|
|
6
|
-
green700: string;
|
|
7
|
-
green500: string;
|
|
8
|
-
green300: string;
|
|
9
|
-
red500: string;
|
|
10
|
-
grey900: string;
|
|
11
|
-
grey500: string;
|
|
12
|
-
grey400: string;
|
|
13
|
-
grey100: string;
|
|
14
|
-
grey50: string;
|
|
15
|
-
white: string;
|
|
16
|
-
black: string;
|
|
17
|
-
darkblue500: string;
|
|
18
|
-
grey950: string;
|
|
19
|
-
darkgrey900: string;
|
|
20
|
-
darkgrey500: string;
|
|
21
|
-
darkgrey400: string;
|
|
22
|
-
darkgrey100: string;
|
|
23
|
-
darkgrey50: string;
|
|
24
|
-
darkred500: string;
|
|
25
|
-
darkgreen700: string;
|
|
26
|
-
orange500: string;
|
|
27
|
-
darkorange500: string;
|
|
28
|
-
opacity00: string;
|
|
29
|
-
opacity20: string;
|
|
30
|
-
opacity30: string;
|
|
31
|
-
opacity65: string;
|
|
32
|
-
darkgreen500: string;
|
|
33
|
-
grey70: string;
|
|
34
|
-
navy500: string;
|
|
35
|
-
lightgreen500: string;
|
|
36
|
-
pink500: string;
|
|
37
|
-
darkgrey70: string;
|
|
38
|
-
darknavy500: string;
|
|
39
|
-
darkpink500: string;
|
|
40
|
-
darklightgreen500: string;
|
|
41
|
-
opacity10: string;
|
|
42
|
-
grey600: string;
|
|
43
|
-
darkgrey600: string;
|
|
44
|
-
skyblue500: string;
|
|
45
|
-
skyblue300: string;
|
|
46
|
-
pink300: string;
|
|
47
|
-
lightpink500: string;
|
|
48
|
-
darkblue300: string;
|
|
49
|
-
darkblue700: string;
|
|
50
|
-
darkgreen300: string;
|
|
51
|
-
darkskyblue500: string;
|
|
52
|
-
navy100: string;
|
|
53
|
-
darknavy100: string;
|
|
54
|
-
opacity80: string;
|
|
55
|
-
opacity50: string;
|
|
56
|
-
grey30: string;
|
|
57
|
-
opacity95: string;
|
|
58
|
-
darkgrey30: string;
|
|
59
|
-
opacity40: string;
|
|
60
|
-
kakaoyellow: string;
|
|
61
|
-
pastelblue500: string;
|
|
62
|
-
pastelpink500: string;
|
|
63
|
-
pastelorange500: string;
|
|
64
|
-
pastelgreen500: string;
|
|
65
|
-
pastelpurple500: string;
|
|
66
|
-
darkpastelblue500: string;
|
|
67
|
-
darkpastelpink500: string;
|
|
68
|
-
darkpastelorange500: string;
|
|
69
|
-
darkpastelgreen500: string;
|
|
70
|
-
darkpastelpurple500: string;
|
|
71
|
-
green30: string;
|
|
72
|
-
darkgreen30: string;
|
|
73
|
-
orange50: string;
|
|
74
|
-
darkorange50: string;
|
|
75
|
-
orange30: string;
|
|
76
|
-
darkorange30: string;
|
|
77
|
-
green50: string;
|
|
78
|
-
darkgreen50: string;
|
|
79
|
-
opacity90: string;
|
|
80
|
-
facebookblue: string;
|
|
81
|
-
opacity05: string;
|
|
82
|
-
opacity15: string;
|
|
83
|
-
grey80: string;
|
|
84
|
-
grey200: string;
|
|
85
|
-
darkgrey80: string;
|
|
86
|
-
darkgrey200: string;
|
|
87
|
-
opacity70: string;
|
|
88
|
-
opacity60: string;
|
|
89
|
-
skyblue100: string;
|
|
90
|
-
green100: string;
|
|
91
|
-
darkgreen100: string;
|
|
92
|
-
darkskyblue100: string;
|
|
93
|
-
opacity25: string;
|
|
94
|
-
opacity35: string;
|
|
95
|
-
grey10: string;
|
|
96
|
-
darkgrey10: string;
|
|
97
|
-
};
|
|
98
|
-
readonly PaletteColor_light: {
|
|
2
|
+
readonly PaletteColor_Dark: {
|
|
99
3
|
sys_container_background_01: string;
|
|
100
4
|
sys_container_background_02: string;
|
|
101
5
|
sys_container_background_03: string;
|
|
@@ -362,7 +266,103 @@ declare const colorSet: {
|
|
|
362
266
|
sys_component_base_pressed_transparent: string;
|
|
363
267
|
sys_text_white_opacity_01: string;
|
|
364
268
|
};
|
|
365
|
-
readonly
|
|
269
|
+
readonly SemanticColor: {
|
|
270
|
+
blue500: string;
|
|
271
|
+
blue700: string;
|
|
272
|
+
blue300: string;
|
|
273
|
+
green700: string;
|
|
274
|
+
green500: string;
|
|
275
|
+
green300: string;
|
|
276
|
+
red500: string;
|
|
277
|
+
grey900: string;
|
|
278
|
+
grey500: string;
|
|
279
|
+
grey400: string;
|
|
280
|
+
grey100: string;
|
|
281
|
+
grey50: string;
|
|
282
|
+
white: string;
|
|
283
|
+
black: string;
|
|
284
|
+
darkblue500: string;
|
|
285
|
+
grey950: string;
|
|
286
|
+
darkgrey900: string;
|
|
287
|
+
darkgrey500: string;
|
|
288
|
+
darkgrey400: string;
|
|
289
|
+
darkgrey100: string;
|
|
290
|
+
darkgrey50: string;
|
|
291
|
+
darkred500: string;
|
|
292
|
+
darkgreen700: string;
|
|
293
|
+
orange500: string;
|
|
294
|
+
darkorange500: string;
|
|
295
|
+
opacity00: string;
|
|
296
|
+
opacity20: string;
|
|
297
|
+
opacity30: string;
|
|
298
|
+
opacity65: string;
|
|
299
|
+
darkgreen500: string;
|
|
300
|
+
grey70: string;
|
|
301
|
+
navy500: string;
|
|
302
|
+
lightgreen500: string;
|
|
303
|
+
pink500: string;
|
|
304
|
+
darkgrey70: string;
|
|
305
|
+
darknavy500: string;
|
|
306
|
+
darkpink500: string;
|
|
307
|
+
darklightgreen500: string;
|
|
308
|
+
opacity10: string;
|
|
309
|
+
grey600: string;
|
|
310
|
+
darkgrey600: string;
|
|
311
|
+
skyblue500: string;
|
|
312
|
+
skyblue300: string;
|
|
313
|
+
pink300: string;
|
|
314
|
+
lightpink500: string;
|
|
315
|
+
darkblue300: string;
|
|
316
|
+
darkblue700: string;
|
|
317
|
+
darkgreen300: string;
|
|
318
|
+
darkskyblue500: string;
|
|
319
|
+
navy100: string;
|
|
320
|
+
darknavy100: string;
|
|
321
|
+
opacity80: string;
|
|
322
|
+
opacity50: string;
|
|
323
|
+
grey30: string;
|
|
324
|
+
opacity95: string;
|
|
325
|
+
darkgrey30: string;
|
|
326
|
+
opacity40: string;
|
|
327
|
+
kakaoyellow: string;
|
|
328
|
+
pastelblue500: string;
|
|
329
|
+
pastelpink500: string;
|
|
330
|
+
pastelorange500: string;
|
|
331
|
+
pastelgreen500: string;
|
|
332
|
+
pastelpurple500: string;
|
|
333
|
+
darkpastelblue500: string;
|
|
334
|
+
darkpastelpink500: string;
|
|
335
|
+
darkpastelorange500: string;
|
|
336
|
+
darkpastelgreen500: string;
|
|
337
|
+
darkpastelpurple500: string;
|
|
338
|
+
green30: string;
|
|
339
|
+
darkgreen30: string;
|
|
340
|
+
orange50: string;
|
|
341
|
+
darkorange50: string;
|
|
342
|
+
orange30: string;
|
|
343
|
+
darkorange30: string;
|
|
344
|
+
green50: string;
|
|
345
|
+
darkgreen50: string;
|
|
346
|
+
opacity90: string;
|
|
347
|
+
facebookblue: string;
|
|
348
|
+
opacity05: string;
|
|
349
|
+
opacity15: string;
|
|
350
|
+
grey80: string;
|
|
351
|
+
grey200: string;
|
|
352
|
+
darkgrey80: string;
|
|
353
|
+
darkgrey200: string;
|
|
354
|
+
opacity70: string;
|
|
355
|
+
opacity60: string;
|
|
356
|
+
skyblue100: string;
|
|
357
|
+
green100: string;
|
|
358
|
+
darkgreen100: string;
|
|
359
|
+
darkskyblue100: string;
|
|
360
|
+
opacity25: string;
|
|
361
|
+
opacity35: string;
|
|
362
|
+
grey10: string;
|
|
363
|
+
darkgrey10: string;
|
|
364
|
+
};
|
|
365
|
+
readonly PaletteColor_light: {
|
|
366
366
|
sys_container_background_01: string;
|
|
367
367
|
sys_container_background_02: string;
|
|
368
368
|
sys_container_background_03: string;
|
|
@@ -1341,6 +1341,7 @@ declare const colorSet: {
|
|
|
1341
1341
|
ui_cpnt_textfield_base_pressed_transparent: string;
|
|
1342
1342
|
ui_cpnt_reactionbutton_base_02: string;
|
|
1343
1343
|
ui_create_ch_step_prev: string;
|
|
1344
|
+
ui_editor_preview_editing: string;
|
|
1344
1345
|
};
|
|
1345
1346
|
};
|
|
1346
1347
|
export default colorSet;
|
|
@@ -4,14 +4,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
/* eslint-disable import/order */
|
|
7
|
+
var PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
|
|
7
8
|
var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
|
|
8
9
|
var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
|
|
9
|
-
var PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
|
|
10
10
|
var UIColor_json_1 = __importDefault(require("./UIColor.json"));
|
|
11
11
|
var colorSet = {
|
|
12
|
+
PaletteColor_Dark: PaletteColor_Dark_json_1.default,
|
|
12
13
|
SemanticColor: SemanticColor_json_1.default,
|
|
13
14
|
PaletteColor_light: PaletteColor_light_json_1.default,
|
|
14
|
-
PaletteColor_Dark: PaletteColor_Dark_json_1.default,
|
|
15
15
|
UIColor: UIColor_json_1.default
|
|
16
16
|
};
|
|
17
17
|
exports.default = colorSet;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const scrollbarStyle: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
2
|
+
export declare const scrollbarWithPaddingStyle: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.scrollbarWithPaddingStyle = exports.scrollbarStyle = void 0;
|
|
8
|
+
var styled_components_1 = require("styled-components");
|
|
9
|
+
exports.scrollbarStyle = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ::-webkit-scrollbar-thumb {\n background-color: ", ";\n background-clip: padding-box;\n border-radius: 5px;\n border: 2px solid transparent;\n }\n\n ::-webkit-scrollbar {\n display: block;\n width: 10px;\n }\n"], ["\n ::-webkit-scrollbar-thumb {\n background-color: ", ";\n background-clip: padding-box;\n border-radius: 5px;\n border: 2px solid transparent;\n }\n\n ::-webkit-scrollbar {\n display: block;\n width: 10px;\n }\n"])), function (_a) {
|
|
10
|
+
var theme = _a.theme;
|
|
11
|
+
return theme.ui_container_scroll;
|
|
12
|
+
});
|
|
13
|
+
exports.scrollbarWithPaddingStyle = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n\n ::-webkit-scrollbar-track {\n margin-top: 24px;\n margin-bottom: 24px;\n }\n"], ["\n ", "\n\n ::-webkit-scrollbar-track {\n margin-top: 24px;\n margin-bottom: 24px;\n }\n"])), exports.scrollbarStyle);
|
|
14
|
+
var templateObject_1, templateObject_2;
|
|
@@ -48,6 +48,7 @@ declare type Props = {
|
|
|
48
48
|
scrollMode?: 'infinite' | 'none' | 'page';
|
|
49
49
|
scrollVisibleType?: 'moving' | 'hidden' | 'visible';
|
|
50
50
|
headerRowCheckboxName?: string;
|
|
51
|
+
flexibleHideInfoMode?: 'use' | 'none';
|
|
51
52
|
onChangeDropdown1?: (value: PDSValueOption) => void;
|
|
52
53
|
onChangeDropdown2?: (value: PDSValueOption) => void;
|
|
53
54
|
onChangeDropdown3?: (value: PDSValueOption) => void;
|
|
@@ -82,5 +83,5 @@ declare type Props = {
|
|
|
82
83
|
/** @deprecated in 1.5.0 onClickTBtn3를 대신 사용하세요. */
|
|
83
84
|
onClickMBtn3?: () => void;
|
|
84
85
|
};
|
|
85
|
-
declare function AdminList({ selectionMode, headerRowMode, column2HeaderText, column3HeaderText, column3Width, column4HeaderText, column4Width, column5HeaderText, column5Width, column6HeaderText, column6Width, column7HeaderText, column7Width, column8HeaderText, column8Width, column9HeaderText, column9Width, column10HeaderText, column10Width, dropdownMode, dropdown1Value, dropdown2Value, dropdown3Value, dropdown1DefaultText, dropdown2DefaultText, dropdown3DefaultText, dropdown1HintText, dropdown2HintText, dropdown3HintText, dropdown1ValueArray, dropdown2ValueArray, dropdown3ValueArray, quickActionBtnMode, quickActionBtn1Text, quickActionBtn2Text, quickActionBtn3Text, quickActionBtnType, tBtnMode, tBtn1Text, tBtn2Text, tBtn3Text, emptyText, scrollMode, scrollVisibleType, selectedIds, maintainIds, children, headerRowCheckboxName, onChangeDropdown1, onChangeDropdown2, onChangeDropdown3, onClickTBtn1, onClickTBtn2, onClickTBtn3, onClickQuickActionBtn1, onClickQuickActionBtn2, onClickQuickActionBtn3, onSelect, quickActionBtn1State, quickActionBtn2State, quickActionBtn3State, mBtnMode, mBtn1Text, mBtn2Text, mBtn3Text, onClickMBtn1, onClickMBtn2, onClickMBtn3 }: Props): JSX.Element;
|
|
86
|
+
declare function AdminList({ selectionMode, headerRowMode, column2HeaderText, column3HeaderText, column3Width, column4HeaderText, column4Width, column5HeaderText, column5Width, column6HeaderText, column6Width, column7HeaderText, column7Width, column8HeaderText, column8Width, column9HeaderText, column9Width, column10HeaderText, column10Width, dropdownMode, dropdown1Value, dropdown2Value, dropdown3Value, dropdown1DefaultText, dropdown2DefaultText, dropdown3DefaultText, dropdown1HintText, dropdown2HintText, dropdown3HintText, dropdown1ValueArray, dropdown2ValueArray, dropdown3ValueArray, quickActionBtnMode, quickActionBtn1Text, quickActionBtn2Text, quickActionBtn3Text, quickActionBtnType, tBtnMode, tBtn1Text, tBtn2Text, tBtn3Text, emptyText, scrollMode, scrollVisibleType, selectedIds, maintainIds, children, headerRowCheckboxName, flexibleHideInfoMode, onChangeDropdown1, onChangeDropdown2, onChangeDropdown3, onClickTBtn1, onClickTBtn2, onClickTBtn3, onClickQuickActionBtn1, onClickQuickActionBtn2, onClickQuickActionBtn3, onSelect, quickActionBtn1State, quickActionBtn2State, quickActionBtn3State, mBtnMode, mBtn1Text, mBtn2Text, mBtn3Text, onClickMBtn1, onClickMBtn2, onClickMBtn3 }: Props): JSX.Element;
|
|
86
87
|
export default AdminList;
|
|
@@ -53,14 +53,14 @@ var TextLabel_1 = require("../TextLabel");
|
|
|
53
53
|
var BulkActionBar_1 = __importDefault(require("./BulkActionBar"));
|
|
54
54
|
var HeaderRow_1 = __importDefault(require("./HeaderRow"));
|
|
55
55
|
function AdminList(_a) {
|
|
56
|
-
var _b = _a.selectionMode, selectionMode = _b === void 0 ? 'multi' : _b, _c = _a.headerRowMode, headerRowMode = _c === void 0 ? 'use' : _c, column2HeaderText = _a.column2HeaderText, column3HeaderText = _a.column3HeaderText, _d = _a.column3Width, column3Width = _d === void 0 ? 'small' : _d, column4HeaderText = _a.column4HeaderText, _e = _a.column4Width, column4Width = _e === void 0 ? 'small' : _e, column5HeaderText = _a.column5HeaderText, _f = _a.column5Width, column5Width = _f === void 0 ? 'small' : _f, column6HeaderText = _a.column6HeaderText, _g = _a.column6Width, column6Width = _g === void 0 ? 'small' : _g, column7HeaderText = _a.column7HeaderText, _h = _a.column7Width, column7Width = _h === void 0 ? 'small' : _h, column8HeaderText = _a.column8HeaderText, _j = _a.column8Width, column8Width = _j === void 0 ? 'small' : _j, column9HeaderText = _a.column9HeaderText, _k = _a.column9Width, column9Width = _k === void 0 ? 'small' : _k, column10HeaderText = _a.column10HeaderText, _l = _a.column10Width, column10Width = _l === void 0 ? 'small' : _l, _m = _a.dropdownMode, dropdownMode = _m === void 0 ? 'dropdown_amount1' : _m, dropdown1Value = _a.dropdown1Value, dropdown2Value = _a.dropdown2Value, dropdown3Value = _a.dropdown3Value, dropdown1DefaultText = _a.dropdown1DefaultText, dropdown2DefaultText = _a.dropdown2DefaultText, dropdown3DefaultText = _a.dropdown3DefaultText, dropdown1HintText = _a.dropdown1HintText, dropdown2HintText = _a.dropdown2HintText, dropdown3HintText = _a.dropdown3HintText, dropdown1ValueArray = _a.dropdown1ValueArray, dropdown2ValueArray = _a.dropdown2ValueArray, dropdown3ValueArray = _a.dropdown3ValueArray, _o = _a.quickActionBtnMode, quickActionBtnMode = _o === void 0 ? 'btn_amount2' : _o, quickActionBtn1Text = _a.quickActionBtn1Text, quickActionBtn2Text = _a.quickActionBtn2Text, quickActionBtn3Text = _a.quickActionBtn3Text, _p = _a.quickActionBtnType, quickActionBtnType = _p === void 0 ? 'fix' : _p, tBtnMode = _a.tBtnMode, tBtn1Text = _a.tBtn1Text, tBtn2Text = _a.tBtn2Text, tBtn3Text = _a.tBtn3Text, emptyText = _a.emptyText, _q = _a.scrollMode, scrollMode = _q === void 0 ? 'infinite' : _q, _r = _a.scrollVisibleType, scrollVisibleType = _r === void 0 ? 'moving' : _r, selectedIds = _a.selectedIds, maintainIds = _a.maintainIds, children = _a.children, _s = _a.headerRowCheckboxName, headerRowCheckboxName = _s === void 0 ? 'all' : _s, onChangeDropdown1 = _a.onChangeDropdown1, onChangeDropdown2 = _a.onChangeDropdown2, onChangeDropdown3 = _a.onChangeDropdown3, onClickTBtn1 = _a.onClickTBtn1, onClickTBtn2 = _a.onClickTBtn2, onClickTBtn3 = _a.onClickTBtn3, onClickQuickActionBtn1 = _a.onClickQuickActionBtn1, onClickQuickActionBtn2 = _a.onClickQuickActionBtn2, onClickQuickActionBtn3 = _a.onClickQuickActionBtn3, onSelect = _a.onSelect, quickActionBtn1State = _a.quickActionBtn1State, quickActionBtn2State = _a.quickActionBtn2State, quickActionBtn3State = _a.quickActionBtn3State,
|
|
56
|
+
var _b = _a.selectionMode, selectionMode = _b === void 0 ? 'multi' : _b, _c = _a.headerRowMode, headerRowMode = _c === void 0 ? 'use' : _c, column2HeaderText = _a.column2HeaderText, column3HeaderText = _a.column3HeaderText, _d = _a.column3Width, column3Width = _d === void 0 ? 'small' : _d, column4HeaderText = _a.column4HeaderText, _e = _a.column4Width, column4Width = _e === void 0 ? 'small' : _e, column5HeaderText = _a.column5HeaderText, _f = _a.column5Width, column5Width = _f === void 0 ? 'small' : _f, column6HeaderText = _a.column6HeaderText, _g = _a.column6Width, column6Width = _g === void 0 ? 'small' : _g, column7HeaderText = _a.column7HeaderText, _h = _a.column7Width, column7Width = _h === void 0 ? 'small' : _h, column8HeaderText = _a.column8HeaderText, _j = _a.column8Width, column8Width = _j === void 0 ? 'small' : _j, column9HeaderText = _a.column9HeaderText, _k = _a.column9Width, column9Width = _k === void 0 ? 'small' : _k, column10HeaderText = _a.column10HeaderText, _l = _a.column10Width, column10Width = _l === void 0 ? 'small' : _l, _m = _a.dropdownMode, dropdownMode = _m === void 0 ? 'dropdown_amount1' : _m, dropdown1Value = _a.dropdown1Value, dropdown2Value = _a.dropdown2Value, dropdown3Value = _a.dropdown3Value, dropdown1DefaultText = _a.dropdown1DefaultText, dropdown2DefaultText = _a.dropdown2DefaultText, dropdown3DefaultText = _a.dropdown3DefaultText, dropdown1HintText = _a.dropdown1HintText, dropdown2HintText = _a.dropdown2HintText, dropdown3HintText = _a.dropdown3HintText, dropdown1ValueArray = _a.dropdown1ValueArray, dropdown2ValueArray = _a.dropdown2ValueArray, dropdown3ValueArray = _a.dropdown3ValueArray, _o = _a.quickActionBtnMode, quickActionBtnMode = _o === void 0 ? 'btn_amount2' : _o, quickActionBtn1Text = _a.quickActionBtn1Text, quickActionBtn2Text = _a.quickActionBtn2Text, quickActionBtn3Text = _a.quickActionBtn3Text, _p = _a.quickActionBtnType, quickActionBtnType = _p === void 0 ? 'fix' : _p, tBtnMode = _a.tBtnMode, tBtn1Text = _a.tBtn1Text, tBtn2Text = _a.tBtn2Text, tBtn3Text = _a.tBtn3Text, emptyText = _a.emptyText, _q = _a.scrollMode, scrollMode = _q === void 0 ? 'infinite' : _q, _r = _a.scrollVisibleType, scrollVisibleType = _r === void 0 ? 'moving' : _r, selectedIds = _a.selectedIds, maintainIds = _a.maintainIds, children = _a.children, _s = _a.headerRowCheckboxName, headerRowCheckboxName = _s === void 0 ? 'all' : _s, _t = _a.flexibleHideInfoMode, flexibleHideInfoMode = _t === void 0 ? 'use' : _t, onChangeDropdown1 = _a.onChangeDropdown1, onChangeDropdown2 = _a.onChangeDropdown2, onChangeDropdown3 = _a.onChangeDropdown3, onClickTBtn1 = _a.onClickTBtn1, onClickTBtn2 = _a.onClickTBtn2, onClickTBtn3 = _a.onClickTBtn3, onClickQuickActionBtn1 = _a.onClickQuickActionBtn1, onClickQuickActionBtn2 = _a.onClickQuickActionBtn2, onClickQuickActionBtn3 = _a.onClickQuickActionBtn3, onSelect = _a.onSelect, quickActionBtn1State = _a.quickActionBtn1State, quickActionBtn2State = _a.quickActionBtn2State, quickActionBtn3State = _a.quickActionBtn3State, _u = _a.mBtnMode, mBtnMode = _u === void 0 ? 'mbtn_amount1' : _u, mBtn1Text = _a.mBtn1Text, mBtn2Text = _a.mBtn2Text, mBtn3Text = _a.mBtn3Text, onClickMBtn1 = _a.onClickMBtn1, onClickMBtn2 = _a.onClickMBtn2, onClickMBtn3 = _a.onClickMBtn3;
|
|
57
57
|
var selectAllMethods = (0, react_hook_form_1.useForm)();
|
|
58
58
|
var checkboxMethods = (0, react_hook_form_1.useForm)();
|
|
59
59
|
var isAllCheckboxSelected = (0, react_hook_form_1.useWatch)({
|
|
60
60
|
name: headerRowCheckboxName,
|
|
61
61
|
control: selectAllMethods.control
|
|
62
62
|
});
|
|
63
|
-
var
|
|
63
|
+
var _v = (0, react_1.useState)(false), isBulkActionBarOpen = _v[0], setIsBulkActionBarOpen = _v[1];
|
|
64
64
|
/**
|
|
65
65
|
* @when AdminListItem이 선택되었을 때
|
|
66
66
|
* @expected 벌크액션바 활성화 여부와 체크박스 선택 여부를 결정합니다.
|
|
@@ -158,7 +158,7 @@ function AdminList(_a) {
|
|
|
158
158
|
}, [selectedIds, maintainIds]);
|
|
159
159
|
var childrenWithWidthProps = react_1.default.Children.map(children, function (child) {
|
|
160
160
|
if (react_1.default.isValidElement(child)) {
|
|
161
|
-
return react_1.default.cloneElement(child, __assign(__assign(__assign({ column3TextWidth: column3Width, column4TextWidth: column4Width, column5TextWidth: column5Width, column6TextWidth: column6Width, column7TextWidth: column7Width, column8TextWidth: column8Width, column9TextWidth: column9Width, column10TextWidth: column10Width, quickActionBtnType: quickActionBtnType, quickActionBtnMode: quickActionBtnMode, quickActionBtn1Text: quickActionBtn1Text, quickActionBtn2Text: quickActionBtn2Text, quickActionBtn3Text: quickActionBtn3Text, onClickQuickActionBtn1: onClickQuickActionBtn1, onClickQuickActionBtn2: onClickQuickActionBtn2, onClickQuickActionBtn3: onClickQuickActionBtn3, selectionMode: selectionMode, onClickItem: handleSelectItem, selectedState: (maintainIds === null || maintainIds === void 0 ? void 0 : maintainIds.includes(child.props.id)) ? 'maintain' : 'basic' }, (quickActionBtn1State && { quickActionBtn1State: quickActionBtn1State })), (quickActionBtn2State && { quickActionBtn2State: quickActionBtn2State })), (quickActionBtn3State && { quickActionBtn3State: quickActionBtn3State })));
|
|
161
|
+
return react_1.default.cloneElement(child, __assign(__assign(__assign({ column3TextWidth: column3Width, column4TextWidth: column4Width, column5TextWidth: column5Width, column6TextWidth: column6Width, column7TextWidth: column7Width, column8TextWidth: column8Width, column9TextWidth: column9Width, column10TextWidth: column10Width, quickActionBtnType: quickActionBtnType, quickActionBtnMode: quickActionBtnMode, quickActionBtn1Text: quickActionBtn1Text, quickActionBtn2Text: quickActionBtn2Text, quickActionBtn3Text: quickActionBtn3Text, onClickQuickActionBtn1: onClickQuickActionBtn1, onClickQuickActionBtn2: onClickQuickActionBtn2, onClickQuickActionBtn3: onClickQuickActionBtn3, selectionMode: selectionMode, flexibleHideInfoMode: flexibleHideInfoMode, onClickItem: handleSelectItem, selectedState: (maintainIds === null || maintainIds === void 0 ? void 0 : maintainIds.includes(child.props.id)) ? 'maintain' : 'basic' }, (quickActionBtn1State && { quickActionBtn1State: quickActionBtn1State })), (quickActionBtn2State && { quickActionBtn2State: quickActionBtn2State })), (quickActionBtn3State && { quickActionBtn3State: quickActionBtn3State })));
|
|
162
162
|
}
|
|
163
163
|
return child;
|
|
164
164
|
});
|
|
@@ -185,7 +185,7 @@ function AdminList(_a) {
|
|
|
185
185
|
isBulkActionBarOpen && (react_1.default.createElement(BulkActionBar_1.default, { itemCount: totalItemCount, dropdownMode: dropdownMode, dropdown1Value: dropdown1Value, dropdown2Value: dropdown2Value, dropdown3Value: dropdown3Value, dropdown1DefaultText: dropdown1DefaultText, dropdown2DefaultText: dropdown2DefaultText, dropdown3DefaultText: dropdown3DefaultText, dropdown1HintText: dropdown1HintText, dropdown2HintText: dropdown2HintText, dropdown3HintText: dropdown3HintText, dropdown1ValueArray: dropdown1ValueArray, dropdown2ValueArray: dropdown2ValueArray, dropdown3ValueArray: dropdown3ValueArray, tBtnMode: btnMode(), tBtn1Text: tBtn1Text || mBtn1Text, tBtn2Text: tBtn2Text || mBtn2Text, tBtn3Text: tBtn3Text || mBtn3Text, onChangeDropdown1: onChangeDropdown1, onChangeDropdown2: onChangeDropdown2, onChangeDropdown3: onChangeDropdown3, onClickTBtn1: onClickTBtn1 || onClickMBtn1, onClickTBtn2: onClickTBtn2 || onClickMBtn2, onClickTBtn3: onClickTBtn3 || onClickMBtn3 })),
|
|
186
186
|
headerRowMode === 'use' && (react_1.default.createElement(react_hook_form_1.FormProvider, __assign({}, selectAllMethods),
|
|
187
187
|
react_1.default.createElement("form", null,
|
|
188
|
-
react_1.default.createElement(HeaderRow_1.default, { headerRowCheckboxName: headerRowCheckboxName, selectionMode: selectionMode, column2HeaderText: column2HeaderText, column3HeaderText: column3HeaderText, column3HeaderWidth: column3Width, column4HeaderText: column4HeaderText, column4HeaderWidth: column4Width, column5HeaderText: column5HeaderText, column5HeaderWidth: column5Width, column6HeaderText: column6HeaderText, column6HeaderWidth: column6Width, column7HeaderText: column7HeaderText, column7HeaderWidth: column7Width, column8HeaderText: column8HeaderText, column8HeaderWidth: column8Width, column9HeaderText: column9HeaderText, column9HeaderWidth: column9Width, column10HeaderText: column10HeaderText, column10HeaderWidth: column10Width, quickActionBtnType: quickActionBtnType, quickActionButtonCount: getActionButtonCount(), onClickSelectAllCheckbox: handleSelectAllCheckbox })))),
|
|
188
|
+
react_1.default.createElement(HeaderRow_1.default, { headerRowCheckboxName: headerRowCheckboxName, selectionMode: selectionMode, column2HeaderText: column2HeaderText, column3HeaderText: column3HeaderText, column3HeaderWidth: column3Width, column4HeaderText: column4HeaderText, column4HeaderWidth: column4Width, column5HeaderText: column5HeaderText, column5HeaderWidth: column5Width, column6HeaderText: column6HeaderText, column6HeaderWidth: column6Width, column7HeaderText: column7HeaderText, column7HeaderWidth: column7Width, column8HeaderText: column8HeaderText, column8HeaderWidth: column8Width, column9HeaderText: column9HeaderText, column9HeaderWidth: column9Width, column10HeaderText: column10HeaderText, column10HeaderWidth: column10Width, quickActionBtnType: quickActionBtnType, quickActionButtonCount: getActionButtonCount(), flexibleHideInfoMode: flexibleHideInfoMode, onClickSelectAllCheckbox: handleSelectAllCheckbox })))),
|
|
189
189
|
react_1.default.createElement(S_ScrollBox, { scrollMode: scrollMode, scrollVisibleType: scrollVisibleType }, react_1.default.Children.count(children) ? (react_1.default.createElement(react_hook_form_1.FormProvider, __assign({}, checkboxMethods),
|
|
190
190
|
react_1.default.createElement("form", null, childrenWithWidthProps))) : (react_1.default.createElement(S_EmptyTextWrapper, null,
|
|
191
191
|
react_1.default.createElement(TextLabel_1.TextLabel, { text: emptyText, colorTheme: "sysTextTertiary", textAlign: "center", styleTheme: "body2Regular" }))))));
|
|
@@ -23,7 +23,8 @@ declare type Props = {
|
|
|
23
23
|
quickActionBtnType?: 'hover' | 'fix';
|
|
24
24
|
quickActionButtonCount?: number;
|
|
25
25
|
headerRowCheckboxName?: string;
|
|
26
|
+
flexibleHideInfoMode?: 'use' | 'none';
|
|
26
27
|
onClickSelectAllCheckbox?: () => void;
|
|
27
28
|
};
|
|
28
|
-
declare function HeaderRow({ selectionMode, column2HeaderText, column3HeaderText, column3HeaderWidth, column4HeaderText, column4HeaderWidth, column5HeaderText, column5HeaderWidth, column6HeaderText, column6HeaderWidth, column7HeaderText, column7HeaderWidth, column8HeaderText, column8HeaderWidth, column9HeaderText, column9HeaderWidth, column10HeaderText, column10HeaderWidth, quickActionBtnType, quickActionButtonCount, headerRowCheckboxName, onClickSelectAllCheckbox }: Props): JSX.Element;
|
|
29
|
+
declare function HeaderRow({ selectionMode, column2HeaderText, column3HeaderText, column3HeaderWidth, column4HeaderText, column4HeaderWidth, column5HeaderText, column5HeaderWidth, column6HeaderText, column6HeaderWidth, column7HeaderText, column7HeaderWidth, column8HeaderText, column8HeaderWidth, column9HeaderText, column9HeaderWidth, column10HeaderText, column10HeaderWidth, quickActionBtnType, quickActionButtonCount, headerRowCheckboxName, flexibleHideInfoMode, onClickSelectAllCheckbox }: Props): JSX.Element;
|
|
29
30
|
export default HeaderRow;
|
|
@@ -32,29 +32,29 @@ var hybrid_1 = require("../../../hybrid");
|
|
|
32
32
|
var Checkbox_1 = require("../Checkbox");
|
|
33
33
|
var TextLabel_1 = require("../TextLabel");
|
|
34
34
|
function HeaderRow(_a) {
|
|
35
|
-
var _b = _a.selectionMode, selectionMode = _b === void 0 ? 'multi' : _b, column2HeaderText = _a.column2HeaderText, column3HeaderText = _a.column3HeaderText, _c = _a.column3HeaderWidth, column3HeaderWidth = _c === void 0 ? 'small' : _c, column4HeaderText = _a.column4HeaderText, _d = _a.column4HeaderWidth, column4HeaderWidth = _d === void 0 ? 'small' : _d, column5HeaderText = _a.column5HeaderText, _e = _a.column5HeaderWidth, column5HeaderWidth = _e === void 0 ? 'small' : _e, column6HeaderText = _a.column6HeaderText, _f = _a.column6HeaderWidth, column6HeaderWidth = _f === void 0 ? 'small' : _f, column7HeaderText = _a.column7HeaderText, _g = _a.column7HeaderWidth, column7HeaderWidth = _g === void 0 ? 'small' : _g, column8HeaderText = _a.column8HeaderText, _h = _a.column8HeaderWidth, column8HeaderWidth = _h === void 0 ? 'small' : _h, column9HeaderText = _a.column9HeaderText, _j = _a.column9HeaderWidth, column9HeaderWidth = _j === void 0 ? 'small' : _j, column10HeaderText = _a.column10HeaderText, _k = _a.column10HeaderWidth, column10HeaderWidth = _k === void 0 ? 'small' : _k, _l = _a.quickActionBtnType, quickActionBtnType = _l === void 0 ? 'fix' : _l, _m = _a.quickActionButtonCount, quickActionButtonCount = _m === void 0 ? 2 : _m, _o = _a.headerRowCheckboxName, headerRowCheckboxName = _o === void 0 ? 'all' : _o, onClickSelectAllCheckbox = _a.onClickSelectAllCheckbox;
|
|
36
|
-
return (react_1.default.createElement(S_HeaderRow,
|
|
35
|
+
var _b = _a.selectionMode, selectionMode = _b === void 0 ? 'multi' : _b, column2HeaderText = _a.column2HeaderText, column3HeaderText = _a.column3HeaderText, _c = _a.column3HeaderWidth, column3HeaderWidth = _c === void 0 ? 'small' : _c, column4HeaderText = _a.column4HeaderText, _d = _a.column4HeaderWidth, column4HeaderWidth = _d === void 0 ? 'small' : _d, column5HeaderText = _a.column5HeaderText, _e = _a.column5HeaderWidth, column5HeaderWidth = _e === void 0 ? 'small' : _e, column6HeaderText = _a.column6HeaderText, _f = _a.column6HeaderWidth, column6HeaderWidth = _f === void 0 ? 'small' : _f, column7HeaderText = _a.column7HeaderText, _g = _a.column7HeaderWidth, column7HeaderWidth = _g === void 0 ? 'small' : _g, column8HeaderText = _a.column8HeaderText, _h = _a.column8HeaderWidth, column8HeaderWidth = _h === void 0 ? 'small' : _h, column9HeaderText = _a.column9HeaderText, _j = _a.column9HeaderWidth, column9HeaderWidth = _j === void 0 ? 'small' : _j, column10HeaderText = _a.column10HeaderText, _k = _a.column10HeaderWidth, column10HeaderWidth = _k === void 0 ? 'small' : _k, _l = _a.quickActionBtnType, quickActionBtnType = _l === void 0 ? 'fix' : _l, _m = _a.quickActionButtonCount, quickActionButtonCount = _m === void 0 ? 2 : _m, _o = _a.headerRowCheckboxName, headerRowCheckboxName = _o === void 0 ? 'all' : _o, _p = _a.flexibleHideInfoMode, flexibleHideInfoMode = _p === void 0 ? 'use' : _p, onClickSelectAllCheckbox = _a.onClickSelectAllCheckbox;
|
|
36
|
+
return (react_1.default.createElement(S_HeaderRow, { flexibleHideInfoMode: flexibleHideInfoMode },
|
|
37
37
|
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_c", spacingType: "width" }),
|
|
38
38
|
selectionMode === 'multi' && (react_1.default.createElement(S_CheckBox, null,
|
|
39
39
|
react_1.default.createElement(Checkbox_1.Checkbox, { name: headerRowCheckboxName, onChange: onClickSelectAllCheckbox }))),
|
|
40
40
|
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_c", spacingType: "width" }),
|
|
41
41
|
react_1.default.createElement(S_FlexColumn, null,
|
|
42
42
|
react_1.default.createElement(TextLabel_1.TextLabel, { text: column2HeaderText, colorTheme: "sysTextSecondary", styleTheme: "caption1Regular" })),
|
|
43
|
-
column3HeaderText && (react_1.default.createElement(S_Column, { columnSize: column3HeaderWidth },
|
|
43
|
+
column3HeaderText && (react_1.default.createElement(S_Column, { columnSize: column3HeaderWidth, className: "hidableColumn" },
|
|
44
44
|
react_1.default.createElement(TextLabel_1.TextLabel, { text: column3HeaderText, colorTheme: "sysTextSecondary", styleTheme: "caption1Regular" }))),
|
|
45
|
-
column4HeaderText && (react_1.default.createElement(S_Column, { columnSize: column4HeaderWidth },
|
|
45
|
+
column4HeaderText && (react_1.default.createElement(S_Column, { columnSize: column4HeaderWidth, className: "hidableColumn" },
|
|
46
46
|
react_1.default.createElement(TextLabel_1.TextLabel, { text: column4HeaderText, colorTheme: "sysTextSecondary", styleTheme: "caption1Regular" }))),
|
|
47
|
-
column5HeaderText && (react_1.default.createElement(S_Column, { columnSize: column5HeaderWidth },
|
|
47
|
+
column5HeaderText && (react_1.default.createElement(S_Column, { columnSize: column5HeaderWidth, className: "hidableColumn" },
|
|
48
48
|
react_1.default.createElement(TextLabel_1.TextLabel, { text: column5HeaderText, colorTheme: "sysTextSecondary", styleTheme: "caption1Regular" }))),
|
|
49
|
-
column6HeaderText && (react_1.default.createElement(S_Column, { columnSize: column6HeaderWidth },
|
|
49
|
+
column6HeaderText && (react_1.default.createElement(S_Column, { columnSize: column6HeaderWidth, className: "hidableColumn" },
|
|
50
50
|
react_1.default.createElement(TextLabel_1.TextLabel, { text: column6HeaderText, colorTheme: "sysTextSecondary", styleTheme: "caption1Regular" }))),
|
|
51
|
-
column7HeaderText && (react_1.default.createElement(S_Column, { columnSize: column7HeaderWidth },
|
|
51
|
+
column7HeaderText && (react_1.default.createElement(S_Column, { columnSize: column7HeaderWidth, className: "hidableColumn" },
|
|
52
52
|
react_1.default.createElement(TextLabel_1.TextLabel, { text: column7HeaderText, colorTheme: "sysTextSecondary", styleTheme: "caption1Regular" }))),
|
|
53
|
-
column8HeaderText && (react_1.default.createElement(S_Column, { columnSize: column8HeaderWidth },
|
|
53
|
+
column8HeaderText && (react_1.default.createElement(S_Column, { columnSize: column8HeaderWidth, className: "hidableColumn" },
|
|
54
54
|
react_1.default.createElement(TextLabel_1.TextLabel, { text: column8HeaderText, colorTheme: "sysTextSecondary", styleTheme: "caption1Regular" }))),
|
|
55
|
-
column9HeaderText && (react_1.default.createElement(S_Column, { columnSize: column9HeaderWidth },
|
|
55
|
+
column9HeaderText && (react_1.default.createElement(S_Column, { columnSize: column9HeaderWidth, className: "hidableColumn" },
|
|
56
56
|
react_1.default.createElement(TextLabel_1.TextLabel, { text: column9HeaderText, colorTheme: "sysTextSecondary", styleTheme: "caption1Regular" }))),
|
|
57
|
-
column10HeaderText && (react_1.default.createElement(S_Column, { columnSize: column10HeaderWidth },
|
|
57
|
+
column10HeaderText && (react_1.default.createElement(S_Column, { columnSize: column10HeaderWidth, className: "hidableColumn" },
|
|
58
58
|
react_1.default.createElement(TextLabel_1.TextLabel, { text: column10HeaderText, colorTheme: "sysTextSecondary", styleTheme: "caption1Regular" }))),
|
|
59
59
|
quickActionBtnType === 'hover' && react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_f", spacingType: "width" }),
|
|
60
60
|
quickActionBtnType === 'fix' && quickActionButtonCount > 0 && (react_1.default.createElement(S_QuickActionButtonBox, null, Array(quickActionButtonCount)
|
|
@@ -64,16 +64,20 @@ function HeaderRow(_a) {
|
|
|
64
64
|
var small = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 56px;\n"], ["\n width: 56px;\n"])));
|
|
65
65
|
var medium = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n width: 80px;\n"], ["\n width: 80px;\n"])));
|
|
66
66
|
var large = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n width: 144px;\n"], ["\n width: 144px;\n"])));
|
|
67
|
-
var
|
|
67
|
+
var flexibleHideColumnStyle = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n @media only screen and (max-width: 1400px) {\n .hidableColumn {\n display: none;\n }\n }\n"], ["\n @media only screen and (max-width: 1400px) {\n .hidableColumn {\n display: none;\n }\n }\n"])));
|
|
68
|
+
var S_HeaderRow = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n border-bottom: 1px solid ", ";\n box-sizing: border-box;\n display: flex;\n height: 48px;\n\n ", "\n"], ["\n align-items: center;\n background-color: ", ";\n border-bottom: 1px solid ", ";\n box-sizing: border-box;\n display: flex;\n height: 48px;\n\n ", "\n"])), function (_a) {
|
|
68
69
|
var theme = _a.theme;
|
|
69
70
|
return theme.ui_cpnt_list_base_area;
|
|
70
71
|
}, function (_a) {
|
|
71
72
|
var theme = _a.theme;
|
|
72
73
|
return theme.ui_cpnt_divider;
|
|
74
|
+
}, function (_a) {
|
|
75
|
+
var flexibleHideInfoMode = _a.flexibleHideInfoMode;
|
|
76
|
+
return flexibleHideInfoMode === 'use' && flexibleHideColumnStyle;
|
|
73
77
|
});
|
|
74
|
-
var S_CheckBox = styled_components_1.default.div(
|
|
75
|
-
var S_FlexColumn = styled_components_1.default.div(
|
|
76
|
-
var S_Column = styled_components_1.default.div(
|
|
78
|
+
var S_CheckBox = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n height: 40px;\n justify-content: center;\n width: 40px;\n"], ["\n align-items: center;\n display: flex;\n height: 40px;\n justify-content: center;\n width: 40px;\n"])));
|
|
79
|
+
var S_FlexColumn = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n flex: 1;\n min-width: 80px;\n"], ["\n flex: 1;\n min-width: 80px;\n"])));
|
|
80
|
+
var S_Column = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n padding-left: ", ";\n padding-right: ", ";\n\n ", ";\n"], ["\n padding-left: ", ";\n padding-right: ", ";\n\n ", ";\n"])), function (_a) {
|
|
77
81
|
var theme = _a.theme;
|
|
78
82
|
return theme.spacing.spacingC;
|
|
79
83
|
}, function (_a) {
|
|
@@ -83,13 +87,13 @@ var S_Column = styled_components_1.default.div(templateObject_7 || (templateObje
|
|
|
83
87
|
var columnSize = _a.columnSize;
|
|
84
88
|
return columnSize && { small: small, medium: medium, large: large }[columnSize];
|
|
85
89
|
});
|
|
86
|
-
var S_QuickActionButtonBox = styled_components_1.default.div(
|
|
90
|
+
var S_QuickActionButtonBox = styled_components_1.default.div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n display: flex;\n padding-left: ", ";\n padding-right: ", ";\n"], ["\n display: flex;\n padding-left: ", ";\n padding-right: ", ";\n"])), function (_a) {
|
|
87
91
|
var theme = _a.theme;
|
|
88
92
|
return theme.spacing.spacingC;
|
|
89
93
|
}, function (_a) {
|
|
90
94
|
var theme = _a.theme;
|
|
91
95
|
return theme.spacing.spacingE;
|
|
92
96
|
});
|
|
93
|
-
var S_EmptyDiv = styled_components_1.default.div(
|
|
97
|
+
var S_EmptyDiv = styled_components_1.default.div(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n height: 100%;\n width: 56px;\n"], ["\n height: 100%;\n width: 56px;\n"])));
|
|
94
98
|
exports.default = HeaderRow;
|
|
95
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9;
|
|
99
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10;
|
|
@@ -47,6 +47,7 @@ export declare type AdminListItemProps = {
|
|
|
47
47
|
quickActionBtn3State?: 'normal' | 'disabled';
|
|
48
48
|
selectedState?: 'basic' | 'maintain';
|
|
49
49
|
id: number;
|
|
50
|
+
flexibleHideInfoMode?: 'use' | 'none';
|
|
50
51
|
onClickQuickActionBtn1?: (id: number) => void;
|
|
51
52
|
onClickQuickActionBtn2?: (id: number) => void;
|
|
52
53
|
onClickQuickActionBtn3?: (id: number) => void;
|