pds-dev-kit-web 1.7.2 → 1.7.4
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/styles/colorSet/UIColor.json +3 -1
- package/dist/src/common/styles/colorSet/index.d.ts +82 -80
- package/dist/src/common/styles/colorSet/index.js +2 -2
- package/dist/src/common/styles/colorSet/ui-type.d.ts +2 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/MenuItemNav/MenuItemNav.js +2 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/MenuItemNav/components/PageMenuItemNav.d.ts +12 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/MenuItemNav/components/PageMenuItemNav.js +51 -0
- package/dist/src/desktop/components/DynamicDesktopNavBar/types.d.ts +2 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.d.ts +1 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.js +1 -0
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTM.d.ts +1 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTM.js +6 -3
- package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.d.ts +1 -1
- package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.js +4 -0
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/ContentsContainer.d.ts +1 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/ContentsContainer.js +2 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSA.d.ts +2 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSA.js +9 -3
- package/dist/src/mobile/layout/LayoutMS/ContainersBox/ContainersBox.d.ts +1 -1
- package/dist/src/mobile/layout/LayoutMS/ContainersBox/ContainersBox.js +1 -0
- package/package.json +1 -1
- package/release-note.md +6 -8
|
@@ -639,5 +639,7 @@
|
|
|
639
639
|
"ui_cpnt_pagination_dot_border": "sys_border_line_01",
|
|
640
640
|
"ui_63": "sys_facebook",
|
|
641
641
|
"ui_64": "sys_text_white",
|
|
642
|
-
"ui_cpnt_sheet_border_04": "sys_border_line_02"
|
|
642
|
+
"ui_cpnt_sheet_border_04": "sys_border_line_02",
|
|
643
|
+
"ui_cpnt_button_fill_base_01": "sys_component_base_05",
|
|
644
|
+
"ui_cpnt_button_fill_base_hangup": "sys_component_base_red"
|
|
643
645
|
}
|
|
@@ -1,4 +1,84 @@
|
|
|
1
1
|
declare const colorSet: {
|
|
2
|
+
readonly SemanticColor: {
|
|
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
|
+
};
|
|
2
82
|
readonly PaletteColor_Dark: {
|
|
3
83
|
sys_container_background_01: string;
|
|
4
84
|
sys_container_background_02: string;
|
|
@@ -455,86 +535,6 @@ declare const colorSet: {
|
|
|
455
535
|
sys_cpnt_sheet_base_06: string;
|
|
456
536
|
sys_facebook: string;
|
|
457
537
|
};
|
|
458
|
-
readonly SemanticColor: {
|
|
459
|
-
blue500: string;
|
|
460
|
-
blue700: string;
|
|
461
|
-
blue300: string;
|
|
462
|
-
green700: string;
|
|
463
|
-
green500: string;
|
|
464
|
-
green300: string;
|
|
465
|
-
red500: string;
|
|
466
|
-
grey900: string;
|
|
467
|
-
grey500: string;
|
|
468
|
-
grey400: string;
|
|
469
|
-
grey100: string;
|
|
470
|
-
grey50: string;
|
|
471
|
-
white: string;
|
|
472
|
-
black: string;
|
|
473
|
-
darkblue500: string;
|
|
474
|
-
grey950: string;
|
|
475
|
-
darkgrey900: string;
|
|
476
|
-
darkgrey500: string;
|
|
477
|
-
darkgrey400: string;
|
|
478
|
-
darkgrey100: string;
|
|
479
|
-
darkgrey50: string;
|
|
480
|
-
darkred500: string;
|
|
481
|
-
darkgreen700: string;
|
|
482
|
-
orange500: string;
|
|
483
|
-
darkorange500: string;
|
|
484
|
-
opacity00: string;
|
|
485
|
-
opacity20: string;
|
|
486
|
-
opacity30: string;
|
|
487
|
-
opacity65: string;
|
|
488
|
-
darkgreen500: string;
|
|
489
|
-
grey70: string;
|
|
490
|
-
navy500: string;
|
|
491
|
-
lightgreen500: string;
|
|
492
|
-
pink500: string;
|
|
493
|
-
darkgrey70: string;
|
|
494
|
-
darknavy500: string;
|
|
495
|
-
darkpink500: string;
|
|
496
|
-
darklightgreen500: string;
|
|
497
|
-
opacity10: string;
|
|
498
|
-
grey600: string;
|
|
499
|
-
darkgrey600: string;
|
|
500
|
-
skyblue500: string;
|
|
501
|
-
skyblue300: string;
|
|
502
|
-
pink300: string;
|
|
503
|
-
lightpink500: string;
|
|
504
|
-
darkblue300: string;
|
|
505
|
-
darkblue700: string;
|
|
506
|
-
darkgreen300: string;
|
|
507
|
-
darkskyblue500: string;
|
|
508
|
-
navy100: string;
|
|
509
|
-
darknavy100: string;
|
|
510
|
-
opacity80: string;
|
|
511
|
-
opacity50: string;
|
|
512
|
-
grey30: string;
|
|
513
|
-
opacity95: string;
|
|
514
|
-
darkgrey30: string;
|
|
515
|
-
opacity40: string;
|
|
516
|
-
kakaoyellow: string;
|
|
517
|
-
pastelblue500: string;
|
|
518
|
-
pastelpink500: string;
|
|
519
|
-
pastelorange500: string;
|
|
520
|
-
pastelgreen500: string;
|
|
521
|
-
pastelpurple500: string;
|
|
522
|
-
darkpastelblue500: string;
|
|
523
|
-
darkpastelpink500: string;
|
|
524
|
-
darkpastelorange500: string;
|
|
525
|
-
darkpastelgreen500: string;
|
|
526
|
-
darkpastelpurple500: string;
|
|
527
|
-
green30: string;
|
|
528
|
-
darkgreen30: string;
|
|
529
|
-
orange50: string;
|
|
530
|
-
darkorange50: string;
|
|
531
|
-
orange30: string;
|
|
532
|
-
darkorange30: string;
|
|
533
|
-
green50: string;
|
|
534
|
-
darkgreen50: string;
|
|
535
|
-
opacity90: string;
|
|
536
|
-
facebookblue: string;
|
|
537
|
-
};
|
|
538
538
|
readonly UIColor: {
|
|
539
539
|
ui_cpnt_button_fill_base_primary: string;
|
|
540
540
|
ui_cpnt_button_fill_base_default: string;
|
|
@@ -1177,6 +1177,8 @@ declare const colorSet: {
|
|
|
1177
1177
|
ui_63: string;
|
|
1178
1178
|
ui_64: string;
|
|
1179
1179
|
ui_cpnt_sheet_border_04: string;
|
|
1180
|
+
ui_cpnt_button_fill_base_01: string;
|
|
1181
|
+
ui_cpnt_button_fill_base_hangup: string;
|
|
1180
1182
|
};
|
|
1181
1183
|
};
|
|
1182
1184
|
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 SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
|
|
7
8
|
var PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
|
|
8
9
|
var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
|
|
9
|
-
var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
|
|
10
10
|
var UIColor_json_1 = __importDefault(require("./UIColor.json"));
|
|
11
11
|
var colorSet = {
|
|
12
|
+
SemanticColor: SemanticColor_json_1.default,
|
|
12
13
|
PaletteColor_Dark: PaletteColor_Dark_json_1.default,
|
|
13
14
|
PaletteColor_light: PaletteColor_light_json_1.default,
|
|
14
|
-
SemanticColor: SemanticColor_json_1.default,
|
|
15
15
|
UIColor: UIColor_json_1.default
|
|
16
16
|
};
|
|
17
17
|
exports.default = colorSet;
|
package/dist/src/desktop/components/DynamicDesktopNavBar/components/MenuItemNav/MenuItemNav.js
CHANGED
|
@@ -43,6 +43,7 @@ var hybrid_1 = require("../../../../../hybrid");
|
|
|
43
43
|
var ContextMenuNavs_1 = require("../ContextMenuNavs");
|
|
44
44
|
var DisplayOnlyMenuItemNav_1 = __importDefault(require("./components/DisplayOnlyMenuItemNav"));
|
|
45
45
|
var InternalLinkMenuItemNav_1 = __importDefault(require("./components/InternalLinkMenuItemNav"));
|
|
46
|
+
var PageMenuItemNav_1 = __importDefault(require("./components/PageMenuItemNav"));
|
|
46
47
|
var PAppMenuItemNav_1 = __importDefault(require("./components/PAppMenuItemNav"));
|
|
47
48
|
var WebMenuItemNav_1 = __importDefault(require("./components/WebMenuItemNav"));
|
|
48
49
|
// NOTE: 서버에서 itemType으로 enum값이 잘 오면 아래 불필요한 케이스/default 간소화
|
|
@@ -61,6 +62,7 @@ function MenuItemNav(_a) {
|
|
|
61
62
|
menu.menuItemType === 'NAV_P_APP' && menu.pAppCode && (react_1.default.createElement(PAppMenuItemNav_1.default, { menu: __assign(__assign({}, menu), { pAppCode: menu.pAppCode }), showMenuAsIcon: showMenuAsIcon })),
|
|
62
63
|
menu.menuItemType === 'WEB_LINK' && menu.conversionLinkSrc && (react_1.default.createElement(WebMenuItemNav_1.default, { openNewTab: true, menu: __assign(__assign({}, menu), { conversionLinkSrc: menu.conversionLinkSrc }), showMenuAsIcon: showMenuAsIcon })),
|
|
63
64
|
menu.menuItemType === 'INTERNAL_LINK' && menu.conversionLinkSrc && (react_1.default.createElement(InternalLinkMenuItemNav_1.default, { menu: __assign(__assign({}, menu), { conversionLinkSrc: menu.conversionLinkSrc }), showMenuAsIcon: showMenuAsIcon })),
|
|
65
|
+
menu.menuItemType === 'NAV_PAGE' && menu.slug && (react_1.default.createElement(PageMenuItemNav_1.default, { menu: __assign(__assign({}, menu), { slug: menu.slug }), showMenuAsIcon: showMenuAsIcon })),
|
|
64
66
|
menu.menuItemType === 'DISPLAY_ONLY' && (react_1.default.createElement(DisplayOnlyMenuItemNav_1.default, { menu: __assign(__assign({}, menu), { conversionLinkSrc: '' }), showMenuAsIcon: showMenuAsIcon })),
|
|
65
67
|
isContextOpen && menu.parsedNodes.length > 0 && (react_1.default.createElement(ContextMenuNavs_1.ContextMenuNavs, { parentRef: ref }, menu.parsedNodes.map(function (nav, index) { return (react_1.default.createElement(ContextMenuNavs_1.ContextMenuItemNav, { key: index, menu: nav })); })))),
|
|
66
68
|
showMenuAsIcon ? (react_1.default.createElement(hybrid_1.Spacing, { spacingType: "width", size: "spacing_b" })) : (react_1.default.createElement(hybrid_1.Spacing, { spacingType: "width", size: "spacing_f" }))));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ParsedNode } from '../../../types';
|
|
3
|
+
declare type WithRequired<T, K extends keyof T> = T & {
|
|
4
|
+
[P in K]-?: T[P];
|
|
5
|
+
};
|
|
6
|
+
declare type Props = {
|
|
7
|
+
menu: WithRequired<ParsedNode, 'slug'>;
|
|
8
|
+
showMenuAsIcon?: boolean;
|
|
9
|
+
isContextMenu?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare function PageMenuItemNav({ menu, showMenuAsIcon, isContextMenu }: Props): JSX.Element;
|
|
12
|
+
export default PageMenuItemNav;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
+
}) : function(o, v) {
|
|
12
|
+
o["default"] = v;
|
|
13
|
+
});
|
|
14
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
|
+
if (mod && mod.__esModule) return mod;
|
|
16
|
+
var result = {};
|
|
17
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
+
__setModuleDefault(result, mod);
|
|
19
|
+
return result;
|
|
20
|
+
};
|
|
21
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
22
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
var react_1 = __importStar(require("react"));
|
|
26
|
+
var react_router_dom_1 = require("react-router-dom");
|
|
27
|
+
var Navigations_1 = require("../../../../../../common/components/Navigations");
|
|
28
|
+
var DynamicDesktopNavBar_1 = require("../../../DynamicDesktopNavBar");
|
|
29
|
+
var IconNav_1 = __importDefault(require("../../IconNav"));
|
|
30
|
+
var ImageIconNav_1 = __importDefault(require("../../ImageIconNav"));
|
|
31
|
+
function PageMenuItemNav(_a) {
|
|
32
|
+
var menu = _a.menu, showMenuAsIcon = _a.showMenuAsIcon, _b = _a.isContextMenu, isContextMenu = _b === void 0 ? false : _b;
|
|
33
|
+
var _c = (0, react_1.useContext)(DynamicDesktopNavBar_1.BasePathContext), basePath = _c.basePath, activeMode = _c.activeMode;
|
|
34
|
+
var activeMatch = (0, react_router_dom_1.useRouteMatch)(basePath + "/pages/:activeKey");
|
|
35
|
+
var isActive = (0, react_1.useMemo)(function () {
|
|
36
|
+
if (activeMode === 'BY_CLICK') {
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
return (activeMatch === null || activeMatch === void 0 ? void 0 : activeMatch.params.activeKey) === menu.slug;
|
|
40
|
+
}, [activeMode, menu, activeMatch]);
|
|
41
|
+
if (showMenuAsIcon) {
|
|
42
|
+
if (menu.iconSrc) {
|
|
43
|
+
return (react_1.default.createElement(ImageIconNav_1.default, { to: basePath + "/pages/" + menu.slug, iconSrc: menu.iconSrc, openNewTab: false }));
|
|
44
|
+
}
|
|
45
|
+
if (menu.iconName) {
|
|
46
|
+
return (react_1.default.createElement(IconNav_1.default, { to: basePath + "/pages/" + menu.slug, iconName: menu.iconName, openNewTab: false }));
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return isContextMenu ? (react_1.default.createElement(Navigations_1.ContextTextLabelNav, { isActive: isActive, preventLineChange: true, openNewTab: false, to: basePath + "/pages/" + menu.slug, text: menu.name })) : (react_1.default.createElement(Navigations_1.TextLabelNav, { isActive: isActive, preventLineChange: true, openNewTab: false, to: basePath + "/pages/" + menu.slug, text: menu.name }));
|
|
50
|
+
}
|
|
51
|
+
exports.default = PageMenuItemNav;
|
|
@@ -8,7 +8,8 @@ export declare type ParsedNode = {
|
|
|
8
8
|
iconName?: PDSIconType;
|
|
9
9
|
visibilityLevel: string;
|
|
10
10
|
pAppCode?: string;
|
|
11
|
+
slug?: string;
|
|
11
12
|
conversionLinkSrc?: string;
|
|
12
13
|
parsedNodes: Array<ParsedNode>;
|
|
13
14
|
};
|
|
14
|
-
export declare type menuItemTypes = 'NAV_P_APP' | 'WEB_LINK' | 'INTERNAL_LINK' | 'DISPLAY_ONLY';
|
|
15
|
+
export declare type menuItemTypes = 'NAV_P_APP' | 'WEB_LINK' | 'INTERNAL_LINK' | 'DISPLAY_ONLY' | 'NAV_PAGE';
|
package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { MutableRefObject } from 'react';
|
|
|
2
2
|
export declare type ContentsContainerProps = {
|
|
3
3
|
content1?: JSX.Element;
|
|
4
4
|
content2?: JSX.Element;
|
|
5
|
-
layoutType: 'WTA_1' | 'WTA_2' | 'WTA_3' | 'WTB_1' | 'WTC_1' | 'WTD_1' | 'WTD_2' | 'WTD_3' | 'WTD_4' | 'WTD_5' | 'WTD_6' | 'WTE_1' | 'WTF_1' | 'WTF_2' | 'WTF_3' | 'WTF_4' | 'WTF_5' | 'WTF_6' | 'WTG_1' | 'WTH_1' | 'WTH_2' | 'WTH_3' | 'WTI_1' | 'WTI_2' | 'WTJ_1' | 'WTK_1' | 'WTK_2' | 'WTK_3' | 'WTK_4' | 'WTL_1' | 'WTM_1' | 'WTM_2' | 'WTN_1' | 'WTN_2' | 'WTN_3' | 'WTO_1' | 'WTP_1' | 'WTQ_1' | 'WTS_1' | 'WTS_2' | 'WTT_1' | 'WTT_2' | 'WTU_1';
|
|
5
|
+
layoutType: 'WTA_1' | 'WTA_2' | 'WTA_3' | 'WTB_1' | 'WTC_1' | 'WTD_1' | 'WTD_2' | 'WTD_3' | 'WTD_4' | 'WTD_5' | 'WTD_6' | 'WTE_1' | 'WTF_1' | 'WTF_2' | 'WTF_3' | 'WTF_4' | 'WTF_5' | 'WTF_6' | 'WTG_1' | 'WTH_1' | 'WTH_2' | 'WTH_3' | 'WTI_1' | 'WTI_2' | 'WTJ_1' | 'WTK_1' | 'WTK_2' | 'WTK_3' | 'WTK_4' | 'WTL_1' | 'WTM_1' | 'WTM_2' | 'WTM_3' | 'WTN_1' | 'WTN_2' | 'WTN_3' | 'WTO_1' | 'WTP_1' | 'WTQ_1' | 'WTS_1' | 'WTS_2' | 'WTT_1' | 'WTT_2' | 'WTU_1';
|
|
6
6
|
containerColor?: string;
|
|
7
7
|
areaColor?: string;
|
|
8
8
|
isLoadingContainer1?: boolean;
|
|
@@ -40,6 +40,7 @@ var ContentsContainer = function (_a) {
|
|
|
40
40
|
WTL_1: (react_1.default.createElement(variation_1.WTL, { content1: content1, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1 })),
|
|
41
41
|
WTM_1: (react_1.default.createElement(variation_1.WTM, { layoutType: "WTM_1", content1: content1, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1 })),
|
|
42
42
|
WTM_2: (react_1.default.createElement(variation_1.WTM, { layoutType: "WTM_2", content1: content1, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1 })),
|
|
43
|
+
WTM_3: (react_1.default.createElement(variation_1.WTM, { layoutType: "WTM_3", content1: content1, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1 })),
|
|
43
44
|
WTN_1: (react_1.default.createElement(variation_1.WTN, { layoutType: "WTN_1", content1: content1, containerColor: containerColor, areaColor: areaColor, container1Ref: container1Ref, isLoadingContainer1: isLoadingContainer1 })),
|
|
44
45
|
WTN_2: (react_1.default.createElement(variation_1.WTN, { layoutType: "WTN_2", content1: content1, containerColor: containerColor, areaColor: areaColor, container1Ref: container1Ref, isLoadingContainer1: isLoadingContainer1 })),
|
|
45
46
|
WTN_3: (react_1.default.createElement(variation_1.WTN, { layoutType: "WTN_3", content1: content1, containerColor: containerColor, areaColor: areaColor, container1Ref: container1Ref, isLoadingContainer1: isLoadingContainer1 })),
|
|
@@ -22,7 +22,8 @@ var S_ContentsContainer = styled_components_1.default.div(templateObject_1 || (t
|
|
|
22
22
|
var layoutType = _a.layoutType;
|
|
23
23
|
return ({
|
|
24
24
|
WTM_1: 'height: 100%;overflow-x: hidden;overflow-y: auto;',
|
|
25
|
-
WTM_2: 'height: 100%;'
|
|
25
|
+
WTM_2: 'height: 100%;',
|
|
26
|
+
WTM_3: 'height: 100%;overflow-x: hidden;overflow-y: auto;'
|
|
26
27
|
}[layoutType]);
|
|
27
28
|
}, function (_a) {
|
|
28
29
|
var containerColor = _a.containerColor;
|
|
@@ -32,7 +33,8 @@ var S_ContentsArea = styled_components_1.default.div(templateObject_2 || (templa
|
|
|
32
33
|
var layoutType = _a.layoutType;
|
|
33
34
|
return ({
|
|
34
35
|
WTM_1: 'padding-bottom: 88px;',
|
|
35
|
-
WTM_2: 'height: 100%;'
|
|
36
|
+
WTM_2: 'height: 100%;',
|
|
37
|
+
WTM_3: ''
|
|
36
38
|
}[layoutType]);
|
|
37
39
|
}, function (_a) {
|
|
38
40
|
var areaColor = _a.areaColor;
|
|
@@ -42,7 +44,8 @@ var S_Content1 = styled_components_1.default.div(templateObject_3 || (templateOb
|
|
|
42
44
|
var layoutType = _a.layoutType;
|
|
43
45
|
return ({
|
|
44
46
|
WTM_1: '',
|
|
45
|
-
WTM_2: 'height: 100%;overflow: hidden;'
|
|
47
|
+
WTM_2: 'height: 100%;overflow: hidden;',
|
|
48
|
+
WTM_3: ''
|
|
46
49
|
}[layoutType]);
|
|
47
50
|
});
|
|
48
51
|
exports.default = WTM;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { MutableRefObject } from 'react';
|
|
2
2
|
export declare type ContainersBoxProps = {
|
|
3
|
-
layoutType: 'WTA_1' | 'WTA_2' | 'WTA_3' | 'WTB_1' | 'WTC_1' | 'WTD_1' | 'WTD_2' | 'WTD_3' | 'WTD_4' | 'WTD_5' | 'WTD_6' | 'WTE_1' | 'WTF_1' | 'WTF_2' | 'WTF_3' | 'WTF_4' | 'WTF_5' | 'WTF_6' | 'WTG_1' | 'WTH_1' | 'WTH_2' | 'WTH_3' | 'WTI_1' | 'WTI_2' | 'WTJ_1' | 'WTK_1' | 'WTK_2' | 'WTK_3' | 'WTK_4' | 'WTL_1' | 'WTM_1' | 'WTM_2' | 'WTN_1' | 'WTN_2' | 'WTN_3' | 'WTO_1' | 'WTP_1' | 'WTQ_1' | 'WTS_1' | 'WTS_2' | 'WTT_1' | 'WTT_2' | 'WTU_1';
|
|
3
|
+
layoutType: 'WTA_1' | 'WTA_2' | 'WTA_3' | 'WTB_1' | 'WTC_1' | 'WTD_1' | 'WTD_2' | 'WTD_3' | 'WTD_4' | 'WTD_5' | 'WTD_6' | 'WTE_1' | 'WTF_1' | 'WTF_2' | 'WTF_3' | 'WTF_4' | 'WTF_5' | 'WTF_6' | 'WTG_1' | 'WTH_1' | 'WTH_2' | 'WTH_3' | 'WTI_1' | 'WTI_2' | 'WTJ_1' | 'WTK_1' | 'WTK_2' | 'WTK_3' | 'WTK_4' | 'WTL_1' | 'WTM_1' | 'WTM_2' | 'WTM_3' | 'WTN_1' | 'WTN_2' | 'WTN_3' | 'WTO_1' | 'WTP_1' | 'WTQ_1' | 'WTS_1' | 'WTS_2' | 'WTT_1' | 'WTT_2' | 'WTU_1';
|
|
4
4
|
pageMenuContent?: JSX.Element;
|
|
5
5
|
tabMenuContent?: JSX.Element;
|
|
6
6
|
subMenuContent?: JSX.Element;
|
|
@@ -65,6 +65,7 @@ var ContainersBox = function (_a) {
|
|
|
65
65
|
WTL_1: react_1.default.createElement(react_1.default.Fragment, null),
|
|
66
66
|
WTM_1: react_1.default.createElement(react_1.default.Fragment, null),
|
|
67
67
|
WTM_2: react_1.default.createElement(react_1.default.Fragment, null),
|
|
68
|
+
WTM_3: react_1.default.createElement(react_1.default.Fragment, null),
|
|
68
69
|
WTN_1: react_1.default.createElement(react_1.default.Fragment, null),
|
|
69
70
|
WTN_2: react_1.default.createElement(react_1.default.Fragment, null),
|
|
70
71
|
WTN_3: react_1.default.createElement(react_1.default.Fragment, null),
|
|
@@ -111,6 +112,7 @@ var ContainersBox = function (_a) {
|
|
|
111
112
|
WTL_1: react_1.default.createElement(react_1.default.Fragment, null),
|
|
112
113
|
WTM_1: react_1.default.createElement(react_1.default.Fragment, null),
|
|
113
114
|
WTM_2: react_1.default.createElement(react_1.default.Fragment, null),
|
|
115
|
+
WTM_3: react_1.default.createElement(react_1.default.Fragment, null),
|
|
114
116
|
WTN_1: react_1.default.createElement(react_1.default.Fragment, null),
|
|
115
117
|
WTN_2: react_1.default.createElement(react_1.default.Fragment, null),
|
|
116
118
|
WTN_3: react_1.default.createElement(react_1.default.Fragment, null),
|
|
@@ -156,6 +158,7 @@ var ContainersBox = function (_a) {
|
|
|
156
158
|
WTL_1: react_1.default.createElement(react_1.default.Fragment, null),
|
|
157
159
|
WTM_1: react_1.default.createElement(react_1.default.Fragment, null),
|
|
158
160
|
WTM_2: react_1.default.createElement(react_1.default.Fragment, null),
|
|
161
|
+
WTM_3: react_1.default.createElement(react_1.default.Fragment, null),
|
|
159
162
|
WTN_1: react_1.default.createElement(react_1.default.Fragment, null),
|
|
160
163
|
WTN_2: react_1.default.createElement(react_1.default.Fragment, null),
|
|
161
164
|
WTN_3: react_1.default.createElement(react_1.default.Fragment, null),
|
|
@@ -202,6 +205,7 @@ var ContainersBox = function (_a) {
|
|
|
202
205
|
WTL_1: '',
|
|
203
206
|
WTM_1: '',
|
|
204
207
|
WTM_2: '',
|
|
208
|
+
WTM_3: '',
|
|
205
209
|
WTN_1: '',
|
|
206
210
|
WTN_2: '',
|
|
207
211
|
WTN_3: '',
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
export declare type ContentsContainerProps = {
|
|
3
3
|
content1?: JSX.Element;
|
|
4
4
|
content2?: JSX.Element;
|
|
5
|
-
layoutType: 'MSA_1' | 'MSB_1' | 'MSC_1' | 'MSC_2' | 'MSD_1' | 'MSE_1' | 'MSF_1' | 'MSF_2' | 'MSG_1' | 'MSH_1';
|
|
5
|
+
layoutType: 'MSA_1' | 'MSA_2' | 'MSB_1' | 'MSC_1' | 'MSC_2' | 'MSD_1' | 'MSE_1' | 'MSF_1' | 'MSF_2' | 'MSG_1' | 'MSH_1';
|
|
6
6
|
containerColor?: string;
|
|
7
7
|
areaColor?: string;
|
|
8
8
|
isLoadingContainer1?: boolean;
|
|
@@ -8,7 +8,8 @@ var variation_1 = require("./variation");
|
|
|
8
8
|
var ContentsContainer = function (_a) {
|
|
9
9
|
var content1 = _a.content1, content2 = _a.content2, layoutType = _a.layoutType, containerColor = _a.containerColor, areaColor = _a.areaColor, isLoadingContainer1 = _a.isLoadingContainer1, isLoadingContainer2 = _a.isLoadingContainer2;
|
|
10
10
|
return (react_1.default.createElement(react_1.default.Fragment, null, {
|
|
11
|
-
MSA_1: (react_1.default.createElement(variation_1.MSA, { content1: content1, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1 })),
|
|
11
|
+
MSA_1: (react_1.default.createElement(variation_1.MSA, { layoutType: "MSA_1", content1: content1, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1 })),
|
|
12
|
+
MSA_2: (react_1.default.createElement(variation_1.MSA, { layoutType: "MSA_2", content1: content1, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1 })),
|
|
12
13
|
MSB_1: (react_1.default.createElement(variation_1.MSB, { content1: content1, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1 })),
|
|
13
14
|
MSC_1: (react_1.default.createElement(variation_1.MSC, { layoutType: "MSC_1", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, isLoadingContainer2: isLoadingContainer2 })),
|
|
14
15
|
MSC_2: (react_1.default.createElement(variation_1.MSC, { layoutType: "MSC_2", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, isLoadingContainer2: isLoadingContainer2 })),
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare type MSAProps = {
|
|
3
3
|
content1?: JSX.Element;
|
|
4
|
+
layoutType: 'MSA_1' | 'MSA_2';
|
|
4
5
|
containerColor?: string;
|
|
5
6
|
areaColor?: string;
|
|
6
7
|
isLoadingContainer1?: boolean;
|
|
7
8
|
};
|
|
8
|
-
declare const MSA: ({ content1, containerColor, areaColor, isLoadingContainer1 }: MSAProps) => JSX.Element;
|
|
9
|
+
declare const MSA: ({ content1, layoutType, containerColor, areaColor, isLoadingContainer1 }: MSAProps) => JSX.Element;
|
|
9
10
|
export default MSA;
|
|
@@ -11,8 +11,8 @@ var react_1 = __importDefault(require("react"));
|
|
|
11
11
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
12
|
var components_1 = require("../../../../../../common/components");
|
|
13
13
|
var MSA = function (_a) {
|
|
14
|
-
var content1 = _a.content1, containerColor = _a.containerColor, areaColor = _a.areaColor, isLoadingContainer1 = _a.isLoadingContainer1;
|
|
15
|
-
return (react_1.default.createElement(S_ContentsContainer, { "x-pds-name": "ContentsContainer", "x-pds-element-type": "layout", "x-pds-device-type": "mobile", "x-pds-layout-type": "MSA", containerColor: containerColor }, isLoadingContainer1 ? (react_1.default.createElement(components_1.ThreeBarProgress, null)) : (react_1.default.createElement(S_ContentsArea, { "x-pds-name": "ContentsArea", "x-pds-element-type": "layout", "x-pds-device-type": "mobile", "x-pds-layout-type": "MSA", areaColor: areaColor },
|
|
14
|
+
var content1 = _a.content1, layoutType = _a.layoutType, containerColor = _a.containerColor, areaColor = _a.areaColor, isLoadingContainer1 = _a.isLoadingContainer1;
|
|
15
|
+
return (react_1.default.createElement(S_ContentsContainer, { "x-pds-name": "ContentsContainer", "x-pds-element-type": "layout", "x-pds-device-type": "mobile", "x-pds-layout-type": "MSA", layoutType: layoutType, containerColor: containerColor }, isLoadingContainer1 ? (react_1.default.createElement(components_1.ThreeBarProgress, null)) : (react_1.default.createElement(S_ContentsArea, { "x-pds-name": "ContentsArea", "x-pds-element-type": "layout", "x-pds-device-type": "mobile", "x-pds-layout-type": "MSA", layoutType: layoutType, areaColor: areaColor },
|
|
16
16
|
react_1.default.createElement(S_Content1, { "x-pds-name": "Content1", "x-pds-element-type": "layout", "x-pds-device-type": "mobile", "x-pds-layout-type": "MSA" }, content1)))));
|
|
17
17
|
};
|
|
18
18
|
var S_ContentsContainer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n min-width: 360px;\n overflow-x: hidden;\n overflow-y: auto;\n height: 100%;\n ", ";\n"], ["\n background-color: ", ";\n min-width: 360px;\n overflow-x: hidden;\n overflow-y: auto;\n height: 100%;\n ", ";\n"])), function (_a) {
|
|
@@ -22,7 +22,13 @@ var S_ContentsContainer = styled_components_1.default.div(templateObject_1 || (t
|
|
|
22
22
|
var containerColor = _a.containerColor;
|
|
23
23
|
return "background-color: " + containerColor;
|
|
24
24
|
});
|
|
25
|
-
var S_ContentsArea = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n min-width: 360px;\n
|
|
25
|
+
var S_ContentsArea = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n min-width: 360px;\n ", ";\n ", ";\n"], ["\n min-width: 360px;\n ", ";\n ", ";\n"])), function (_a) {
|
|
26
|
+
var layoutType = _a.layoutType;
|
|
27
|
+
return ({
|
|
28
|
+
MSA_1: 'padding-bottom: 88px;',
|
|
29
|
+
MSA_2: ''
|
|
30
|
+
}[layoutType]);
|
|
31
|
+
}, function (_a) {
|
|
26
32
|
var areaColor = _a.areaColor;
|
|
27
33
|
return "background-color: " + areaColor;
|
|
28
34
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export declare type ContainersBoxProps = {
|
|
3
|
-
layoutType: 'MSA_1' | 'MSB_1' | 'MSC_1' | 'MSC_2' | 'MSD_1' | 'MSE_1' | 'MSF_1' | 'MSF_2' | 'MSG_1' | 'MSH_1';
|
|
3
|
+
layoutType: 'MSA_1' | 'MSA_2' | 'MSB_1' | 'MSC_1' | 'MSC_2' | 'MSD_1' | 'MSE_1' | 'MSF_1' | 'MSF_2' | 'MSG_1' | 'MSH_1';
|
|
4
4
|
tabContent?: JSX.Element;
|
|
5
5
|
content1?: JSX.Element;
|
|
6
6
|
content2?: JSX.Element;
|
|
@@ -15,6 +15,7 @@ var ContainersBox = function (_a) {
|
|
|
15
15
|
return (react_1.default.createElement(S_ContainersBox, null,
|
|
16
16
|
{
|
|
17
17
|
MSA_1: react_1.default.createElement(react_1.default.Fragment, null),
|
|
18
|
+
MSA_2: react_1.default.createElement(react_1.default.Fragment, null),
|
|
18
19
|
MSB_1: react_1.default.createElement(react_1.default.Fragment, null),
|
|
19
20
|
MSC_1: react_1.default.createElement(react_1.default.Fragment, null),
|
|
20
21
|
MSC_2: react_1.default.createElement(react_1.default.Fragment, null),
|
package/package.json
CHANGED
package/release-note.md
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
# PDS-DEV-KIT-WEB Release Notes
|
|
2
|
-
## [v1.7.
|
|
2
|
+
## [v1.7.4]
|
|
3
3
|
|
|
4
|
-
###
|
|
5
|
-
*
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* ic_dynamic_layout line icon 추가
|
|
10
|
-
* ic_pages line icon 추가
|
|
4
|
+
### Layout
|
|
5
|
+
* WTM_3 생성
|
|
6
|
+
* MSA_2 생성
|
|
7
|
+
### Color
|
|
8
|
+
* 컬러 키 값 22.12.29 12시 51분 기준 싱크
|