pds-dev-kit-web-test 2.2.95 → 2.2.98
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/fill/BellStyle.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/BellStyle.js +30 -0
- package/dist/src/common/assets/icons/fill/Envelope.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/Envelope.js +30 -0
- package/dist/src/common/assets/icons/fill/index.d.ts +2 -0
- package/dist/src/common/assets/icons/fill/index.js +4 -0
- package/dist/src/common/assets/icons/line/BellStyle.d.ts +4 -0
- package/dist/src/common/assets/icons/line/BellStyle.js +30 -0
- package/dist/src/common/assets/icons/line/Envelope.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Envelope.js +30 -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 +3 -2
- 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/desktop/layout/LayoutWS/Containers/ContentsContainer/ContentsContainer.d.ts +1 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/ContentsContainer.js +2 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSJ.d.ts +11 -0
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSJ.js +66 -0
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/index.d.ts +1 -0
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/index.js +3 -1
- package/dist/src/desktop/layout/LayoutWS/ContainersBox/ContainersBox.d.ts +1 -1
- package/dist/src/desktop/layout/LayoutWS/ContainersBox/ContainersBox.js +1 -1
- package/dist/src/sub/AdminList/ToolBar/SearchField.d.ts +2 -1
- package/dist/src/sub/AdminList/ToolBar/SearchField.js +4 -4
- package/dist/src/sub/AdminList/ToolBar/ToolBar.d.ts +9 -2
- package/dist/src/sub/AdminList/ToolBar/ToolBar.js +7 -6
- package/dist/src/sub/DynamicLayout/dynamicLayoutContext.d.ts +1 -3
- package/dist/src/sub/DynamicLayout/pagesPreviewMock.d.ts +373 -2149
- package/dist/src/sub/DynamicLayout/pagesPreviewMock.js +1671 -4326
- package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +4 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +68 -85
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +3 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +1 -6
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +42 -26
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/index.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/index.js +8 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_AnimationObserverBox.d.ts +0 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_AnimationObserverBox.js +5 -31
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +0 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/index.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/index.js +3 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/index.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/index.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/customSectionContext.d.ts +10 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/customSectionContext.js +21 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/textUtil.js +7 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +1 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +13 -25
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +1 -2
- package/package.json +5 -2
- package/release-note.md +4 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/useMaxFontAdjustment.d.ts +0 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/useMaxFontAdjustment.js +0 -61
@@ -0,0 +1,30 @@
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
25
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
26
|
+
var BellStyle = function (_a) {
|
27
|
+
var color = _a.color, size = _a.size, rest = __rest(_a, ["color", "size"]);
|
28
|
+
return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24" }, rest, { children: (0, jsx_runtime_1.jsxs)("g", __assign({ fill: "none", fillRule: "evenodd" }, { children: [(0, jsx_runtime_1.jsx)("path", { stroke: color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", d: "M9.8662,17.2515 C9.3182,17.7985 8.9792,18.5545 8.9792,19.3895 C8.9792,21.0575 10.3322,22.4105 12.0002,22.4105 C13.6682,22.4105 15.0202,21.0575 15.0202,19.3895 C15.0202,18.5895 14.7092,17.8615 14.2012,17.3215 M10.3407,3.8907 L10.3407,3.2487 C10.3407,2.3327 11.0837,1.5897 11.9997,1.5897 L11.9997,1.5897 C12.9167,1.5897 13.6597,2.3327 13.6597,3.2487 L13.6597,3.8907 M8.5891,14.1709 L15.4111,14.1709" }), (0, jsx_runtime_1.jsx)("path", { fill: color, d: "M12,3.1058 C8.992,3.1058 6.369,5.1518 5.637,8.0688 L4.191,13.8278 C3.23,13.9958 2.5,14.8328 2.5,15.8408 C2.5,16.9718 3.416,17.8878 4.547,17.8878 L19.453,17.8878 C20.584,17.8878 21.5,16.9718 21.5,15.8408 C21.5,14.8328 20.77,13.9958 19.809,13.8278 L18.363,8.0688 C17.631,5.1518 15.008,3.1058 12,3.1058 M12,4.6058 C14.324,4.6058 16.342,6.1798 16.908,8.4338 L18.354,14.1928 C18.498,14.7668 18.967,15.2028 19.55,15.3048 C19.811,15.3508 20,15.5758 20,15.8408 C20,16.1428 19.755,16.3878 19.453,16.3878 L4.547,16.3878 C4.245,16.3878 4,16.1428 4,15.8408 C4,15.5758 4.189,15.3508 4.45,15.3048 C5.033,15.2028 5.501,14.7668 5.646,14.1928 L7.092,8.4338 C7.657,6.1798 9.676,4.6058 12,4.6058" })] })) })));
|
29
|
+
};
|
30
|
+
exports.default = BellStyle;
|
@@ -0,0 +1,30 @@
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
25
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
26
|
+
var Envelope = function (_a) {
|
27
|
+
var color = _a.color, size = _a.size, rest = __rest(_a, ["color", "size"]);
|
28
|
+
return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24" }, rest, { children: (0, jsx_runtime_1.jsx)("path", { fill: "none", stroke: color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", d: "M19.7512,5.0298 L4.2492,5.0298 C3.1442,5.0298 2.2492,5.9248 2.2492,7.0298 L2.2492,16.9698 C2.2492,18.0748 3.1442,18.9698 4.2492,18.9698 L19.7512,18.9698 C20.8562,18.9698 21.7512,18.0748 21.7512,16.9698 L21.7512,7.0298 C21.7512,5.9248 20.8562,5.0298 19.7512,5.0298 Z M2.9538,5.6602 L10.5718,13.4302 C11.3558,14.2302 12.6438,14.2302 13.4278,13.4302 L21.0468,5.6602 M2.9542,18.3394 L9.1702,12.0004 M14.8305,12 L21.0475,18.339" }) })));
|
29
|
+
};
|
30
|
+
exports.default = Envelope;
|
@@ -16,6 +16,7 @@ declare const fillIcons: {
|
|
16
16
|
readonly ic_bell: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
17
17
|
readonly ic_bell_notification: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
18
18
|
readonly ic_bell_off: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
19
|
+
readonly ic_bell_style: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
19
20
|
readonly ic_bookmark: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
20
21
|
readonly ic_button: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
21
22
|
readonly ic_calendar: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
@@ -44,6 +45,7 @@ declare const fillIcons: {
|
|
44
45
|
readonly ic_editor_left_side: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
45
46
|
readonly ic_editor_right_side: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
46
47
|
readonly ic_embed: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
48
|
+
readonly ic_envelope: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
47
49
|
readonly ic_eye: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
48
50
|
readonly ic_eye_close: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
49
51
|
readonly ic_face: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
@@ -19,6 +19,7 @@ var Audio_1 = __importDefault(require("./Audio"));
|
|
19
19
|
var Bell_1 = __importDefault(require("./Bell"));
|
20
20
|
var BellNotification_1 = __importDefault(require("./BellNotification"));
|
21
21
|
var BellOff_1 = __importDefault(require("./BellOff"));
|
22
|
+
var BellStyle_1 = __importDefault(require("./BellStyle"));
|
22
23
|
var Bookmark_1 = __importDefault(require("./Bookmark"));
|
23
24
|
var Button_1 = __importDefault(require("./Button"));
|
24
25
|
var Calendar_1 = __importDefault(require("./Calendar"));
|
@@ -47,6 +48,7 @@ var Edit_1 = __importDefault(require("./Edit"));
|
|
47
48
|
var EditorLeftSide_1 = __importDefault(require("./EditorLeftSide"));
|
48
49
|
var EditorRightSide_1 = __importDefault(require("./EditorRightSide"));
|
49
50
|
var Embed_1 = __importDefault(require("./Embed"));
|
51
|
+
var Envelope_1 = __importDefault(require("./Envelope"));
|
50
52
|
var Eye_1 = __importDefault(require("./Eye"));
|
51
53
|
var EyeClose_1 = __importDefault(require("./EyeClose"));
|
52
54
|
var Face_1 = __importDefault(require("./Face"));
|
@@ -157,6 +159,7 @@ var fillIcons = {
|
|
157
159
|
ic_bell: Bell_1.default,
|
158
160
|
ic_bell_notification: BellNotification_1.default,
|
159
161
|
ic_bell_off: BellOff_1.default,
|
162
|
+
ic_bell_style: BellStyle_1.default,
|
160
163
|
ic_bookmark: Bookmark_1.default,
|
161
164
|
ic_button: Button_1.default,
|
162
165
|
ic_calendar: Calendar_1.default,
|
@@ -185,6 +188,7 @@ var fillIcons = {
|
|
185
188
|
ic_editor_left_side: EditorLeftSide_1.default,
|
186
189
|
ic_editor_right_side: EditorRightSide_1.default,
|
187
190
|
ic_embed: Embed_1.default,
|
191
|
+
ic_envelope: Envelope_1.default,
|
188
192
|
ic_eye: Eye_1.default,
|
189
193
|
ic_eye_close: EyeClose_1.default,
|
190
194
|
ic_face: Face_1.default,
|
@@ -0,0 +1,30 @@
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
25
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
26
|
+
var BellStyle = function (_a) {
|
27
|
+
var color = _a.color, size = _a.size, rest = __rest(_a, ["color", "size"]);
|
28
|
+
return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24" }, rest, { children: (0, jsx_runtime_1.jsxs)("g", __assign({ fill: "none", fillRule: "evenodd" }, { children: [(0, jsx_runtime_1.jsx)("path", { stroke: color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", d: "M9.8662,17.2515 C9.3182,17.7985 8.9792,18.5545 8.9792,19.3895 C8.9792,21.0575 10.3322,22.4105 12.0002,22.4105 C13.6682,22.4105 15.0202,21.0575 15.0202,19.3895 C15.0202,18.5895 14.7092,17.8615 14.2012,17.3215 M10.3407,3.8907 L10.3407,3.2487 C10.3407,2.3327 11.0837,1.5897 11.9997,1.5897 L11.9997,1.5897 C12.9167,1.5897 13.6597,2.3327 13.6597,3.2487 L13.6597,3.8907 M8.5891,14.1709 L15.4111,14.1709" }), (0, jsx_runtime_1.jsx)("path", { fill: color, d: "M12,3.1058 C8.992,3.1058 6.369,5.1518 5.637,8.0688 L4.191,13.8278 C3.23,13.9958 2.5,14.8328 2.5,15.8408 C2.5,16.9718 3.416,17.8878 4.547,17.8878 L19.453,17.8878 C20.584,17.8878 21.5,16.9718 21.5,15.8408 C21.5,14.8328 20.77,13.9958 19.809,13.8278 L18.363,8.0688 C17.631,5.1518 15.008,3.1058 12,3.1058 M12,4.6058 C14.324,4.6058 16.342,6.1798 16.908,8.4338 L18.354,14.1928 C18.498,14.7668 18.967,15.2028 19.55,15.3048 C19.811,15.3508 20,15.5758 20,15.8408 C20,16.1428 19.755,16.3878 19.453,16.3878 L4.547,16.3878 C4.245,16.3878 4,16.1428 4,15.8408 C4,15.5758 4.189,15.3508 4.45,15.3048 C5.033,15.2028 5.501,14.7668 5.646,14.1928 L7.092,8.4338 C7.657,6.1798 9.676,4.6058 12,4.6058" })] })) })));
|
29
|
+
};
|
30
|
+
exports.default = BellStyle;
|
@@ -0,0 +1,30 @@
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
25
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
26
|
+
var Envelope = function (_a) {
|
27
|
+
var color = _a.color, size = _a.size, rest = __rest(_a, ["color", "size"]);
|
28
|
+
return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24" }, rest, { children: (0, jsx_runtime_1.jsx)("path", { fill: "none", stroke: color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", d: "M19.7512,5.0298 L4.2492,5.0298 C3.1442,5.0298 2.2492,5.9248 2.2492,7.0298 L2.2492,16.9698 C2.2492,18.0748 3.1442,18.9698 4.2492,18.9698 L19.7512,18.9698 C20.8562,18.9698 21.7512,18.0748 21.7512,16.9698 L21.7512,7.0298 C21.7512,5.9248 20.8562,5.0298 19.7512,5.0298 Z M2.9538,5.6602 L10.5718,13.4302 C11.3558,14.2302 12.6438,14.2302 13.4278,13.4302 L21.0468,5.6602 M2.9542,18.3394 L9.1702,12.0004 M14.8305,12 L21.0475,18.339" }) })));
|
29
|
+
};
|
30
|
+
exports.default = Envelope;
|
@@ -25,6 +25,7 @@ declare const lineIcons: {
|
|
25
25
|
readonly ic_bell: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
26
26
|
readonly ic_bell_notification: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
27
27
|
readonly ic_bell_off: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
28
|
+
readonly ic_bell_style: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
28
29
|
readonly ic_block_user: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
29
30
|
readonly ic_booking: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
30
31
|
readonly ic_booking_completed: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
@@ -80,6 +81,7 @@ declare const lineIcons: {
|
|
80
81
|
readonly ic_editor_left_side: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
81
82
|
readonly ic_editor_right_side: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
82
83
|
readonly ic_embed: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
84
|
+
readonly ic_envelope: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
83
85
|
readonly ic_end: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
84
86
|
readonly ic_error: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
85
87
|
readonly ic_eye: ({ color, size, ...rest }: import("../IconType").default) => JSX.Element;
|
@@ -28,6 +28,7 @@ var Audio_1 = __importDefault(require("./Audio"));
|
|
28
28
|
var Bell_1 = __importDefault(require("./Bell"));
|
29
29
|
var BellNotification_1 = __importDefault(require("./BellNotification"));
|
30
30
|
var BellOff_1 = __importDefault(require("./BellOff"));
|
31
|
+
var BellStyle_1 = __importDefault(require("./BellStyle"));
|
31
32
|
var BlockUser_1 = __importDefault(require("./BlockUser"));
|
32
33
|
var Booking_1 = __importDefault(require("./Booking"));
|
33
34
|
var BookingCompleted_1 = __importDefault(require("./BookingCompleted"));
|
@@ -84,6 +85,7 @@ var EditorLeftSide_1 = __importDefault(require("./EditorLeftSide"));
|
|
84
85
|
var EditorRightSide_1 = __importDefault(require("./EditorRightSide"));
|
85
86
|
var Embed_1 = __importDefault(require("./Embed"));
|
86
87
|
var End_1 = __importDefault(require("./End"));
|
88
|
+
var Envelope_1 = __importDefault(require("./Envelope"));
|
87
89
|
var Error_1 = __importDefault(require("./Error"));
|
88
90
|
var Eye_1 = __importDefault(require("./Eye"));
|
89
91
|
var EyeClose_1 = __importDefault(require("./EyeClose"));
|
@@ -301,6 +303,7 @@ var lineIcons = {
|
|
301
303
|
ic_bell: Bell_1.default,
|
302
304
|
ic_bell_notification: BellNotification_1.default,
|
303
305
|
ic_bell_off: BellOff_1.default,
|
306
|
+
ic_bell_style: BellStyle_1.default,
|
304
307
|
ic_block_user: BlockUser_1.default,
|
305
308
|
ic_booking: Booking_1.default,
|
306
309
|
ic_booking_completed: BookingCompleted_1.default,
|
@@ -356,6 +359,7 @@ var lineIcons = {
|
|
356
359
|
ic_editor_left_side: EditorLeftSide_1.default,
|
357
360
|
ic_editor_right_side: EditorRightSide_1.default,
|
358
361
|
ic_embed: Embed_1.default,
|
362
|
+
ic_envelope: Envelope_1.default,
|
359
363
|
ic_end: End_1.default,
|
360
364
|
ic_error: Error_1.default,
|
361
365
|
ic_eye: Eye_1.default,
|
@@ -119,7 +119,7 @@ declare const colorSet: {
|
|
119
119
|
grey300: string;
|
120
120
|
darkgrey300: string;
|
121
121
|
};
|
122
|
-
readonly
|
122
|
+
readonly PaletteColor_light: {
|
123
123
|
sys_container_background_01: string;
|
124
124
|
sys_container_background_02: string;
|
125
125
|
sys_container_background_03: string;
|
@@ -475,7 +475,7 @@ declare const colorSet: {
|
|
475
475
|
sys_cpnt_sheet_base_13: string;
|
476
476
|
sys_cpnt_sheet_base_14: string;
|
477
477
|
};
|
478
|
-
readonly
|
478
|
+
readonly PaletteColor_Dark: {
|
479
479
|
sys_container_background_01: string;
|
480
480
|
sys_container_background_02: string;
|
481
481
|
sys_container_background_03: string;
|
@@ -1685,6 +1685,7 @@ declare const colorSet: {
|
|
1685
1685
|
ui_114: string;
|
1686
1686
|
ui_115: string;
|
1687
1687
|
ui_116: string;
|
1688
|
+
ui_117: string;
|
1688
1689
|
};
|
1689
1690
|
};
|
1690
1691
|
export default colorSet;
|
@@ -5,13 +5,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
/* eslint-disable import/order */
|
7
7
|
var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
|
8
|
-
var PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
|
9
8
|
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
12
|
SemanticColor: SemanticColor_json_1.default,
|
13
|
-
PaletteColor_Dark: PaletteColor_Dark_json_1.default,
|
14
13
|
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;
|
package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/ContentsContainer.d.ts
CHANGED
@@ -3,7 +3,7 @@ import type { UiColors } from '../../../../../common';
|
|
3
3
|
export type ContentsContainerProps = {
|
4
4
|
content1?: JSX.Element;
|
5
5
|
content2?: JSX.Element;
|
6
|
-
layoutType: 'WSA_1' | 'WSB_1' | 'WSB_2' | 'WSC_1' | 'WSD_1' | 'WSE_1' | 'WSF_1' | 'WSF_2' | 'WSF_3' | 'WSF_4' | 'WSF_5' | 'WSF_6' | 'WSF_7' | 'WSG_1' | 'WSG_2' | 'WSG_3' | 'WSG_4' | 'WSG_5' | 'WSH_1' | 'WSI_1';
|
6
|
+
layoutType: 'WSA_1' | 'WSB_1' | 'WSB_2' | 'WSC_1' | 'WSD_1' | 'WSE_1' | 'WSF_1' | 'WSF_2' | 'WSF_3' | 'WSF_4' | 'WSF_5' | 'WSF_6' | 'WSF_7' | 'WSG_1' | 'WSG_2' | 'WSG_3' | 'WSG_4' | 'WSG_5' | 'WSH_1' | 'WSI_1' | 'WSJ_1';
|
7
7
|
containerColor?: string;
|
8
8
|
areaColor?: string;
|
9
9
|
isLoadingContainer1?: boolean;
|
@@ -24,7 +24,8 @@ var ContentsContainer = function (_a) {
|
|
24
24
|
WSG_4: ((0, jsx_runtime_1.jsx)(variation_1.WSG, { layoutType: "WSG_4", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, isLoadingContainer2: isLoadingContainer2, overrideContainer1ColorKey: overrideContainer1ColorKey, overrideContainer2ColorKey: overrideContainer2ColorKey })),
|
25
25
|
WSG_5: ((0, jsx_runtime_1.jsx)(variation_1.WSG, { layoutType: "WSG_5", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, isLoadingContainer2: isLoadingContainer2, overrideContainer1ColorKey: overrideContainer1ColorKey, overrideContainer2ColorKey: overrideContainer2ColorKey })),
|
26
26
|
WSH_1: ((0, jsx_runtime_1.jsx)(variation_1.WSH, { layoutType: "WSH_1", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, isLoadingContainer2: isLoadingContainer2, overrideContainer1ColorKey: overrideContainer1ColorKey, overrideContainer2ColorKey: overrideContainer2ColorKey })),
|
27
|
-
WSI_1: ((0, jsx_runtime_1.jsx)(variation_1.WSI, { layoutType: "WSI_1", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, isLoadingContainer2: isLoadingContainer2, overrideContainer1ColorKey: overrideContainer1ColorKey, overrideContainer2ColorKey: overrideContainer2ColorKey }))
|
27
|
+
WSI_1: ((0, jsx_runtime_1.jsx)(variation_1.WSI, { layoutType: "WSI_1", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, isLoadingContainer2: isLoadingContainer2, overrideContainer1ColorKey: overrideContainer1ColorKey, overrideContainer2ColorKey: overrideContainer2ColorKey })),
|
28
|
+
WSJ_1: ((0, jsx_runtime_1.jsx)(variation_1.WSJ, { content1: content1, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, overrideContainer1ColorKey: overrideContainer1ColorKey }))
|
28
29
|
}[layoutType] }));
|
29
30
|
};
|
30
31
|
exports.default = ContentsContainer;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { UiColors } from '../../../../../../common';
|
3
|
+
export type WSJProps = {
|
4
|
+
content1?: JSX.Element;
|
5
|
+
containerColor?: string;
|
6
|
+
areaColor?: string;
|
7
|
+
isLoadingContainer1?: boolean;
|
8
|
+
overrideContainer1ColorKey?: UiColors;
|
9
|
+
};
|
10
|
+
declare const WSJ: ({ content1, containerColor, areaColor, isLoadingContainer1, overrideContainer1ColorKey }: WSJProps) => JSX.Element;
|
11
|
+
export default WSJ;
|
@@ -0,0 +1,66 @@
|
|
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
|
+
var __assign = (this && this.__assign) || function () {
|
7
|
+
__assign = Object.assign || function(t) {
|
8
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
9
|
+
s = arguments[i];
|
10
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
11
|
+
t[p] = s[p];
|
12
|
+
}
|
13
|
+
return t;
|
14
|
+
};
|
15
|
+
return __assign.apply(this, arguments);
|
16
|
+
};
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
18
|
+
if (k2 === undefined) k2 = k;
|
19
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
20
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
21
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
22
|
+
}
|
23
|
+
Object.defineProperty(o, k2, desc);
|
24
|
+
}) : (function(o, m, k, k2) {
|
25
|
+
if (k2 === undefined) k2 = k;
|
26
|
+
o[k2] = m[k];
|
27
|
+
}));
|
28
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
29
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
30
|
+
}) : function(o, v) {
|
31
|
+
o["default"] = v;
|
32
|
+
});
|
33
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
34
|
+
if (mod && mod.__esModule) return mod;
|
35
|
+
var result = {};
|
36
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
37
|
+
__setModuleDefault(result, mod);
|
38
|
+
return result;
|
39
|
+
};
|
40
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
41
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
42
|
+
var styled_components_1 = __importStar(require("styled-components"));
|
43
|
+
var components_1 = require("../../../../../../common/components");
|
44
|
+
var scrollbarStyle_1 = require("../../../../../../common/styles/scroll/scrollbarStyle");
|
45
|
+
var WSJ = function (_a) {
|
46
|
+
var content1 = _a.content1, containerColor = _a.containerColor, areaColor = _a.areaColor, isLoadingContainer1 = _a.isLoadingContainer1, overrideContainer1ColorKey = _a.overrideContainer1ColorKey;
|
47
|
+
return ((0, jsx_runtime_1.jsx)(S_ContentsContainer, __assign({ "x-pds-name": "ContentsContainer", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WSJ", containerColor: containerColor, overrideContainer1ColorKey: overrideContainer1ColorKey }, { children: isLoadingContainer1 ? ((0, jsx_runtime_1.jsx)(components_1.ThreeBarProgress, {})) : ((0, jsx_runtime_1.jsx)(S_ContentsArea, __assign({ "x-pds-name": "ContentsArea", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WSJ", areaColor: areaColor }, { children: (0, jsx_runtime_1.jsx)(S_Content1, __assign({ "x-pds-name": "Content1", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WSJ" }, { children: content1 })) }))) })));
|
48
|
+
};
|
49
|
+
var overrideStyleContainer1 = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
|
50
|
+
var theme = _a.theme, overrideContainer1ColorKey = _a.overrideContainer1ColorKey;
|
51
|
+
return overrideContainer1ColorKey && theme[overrideContainer1ColorKey];
|
52
|
+
});
|
53
|
+
var S_ContentsContainer = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n box-sizing: border-box;\n height: 100%;\n min-width: 960px;\n overflow-x: hidden;\n overflow-y: auto;\n ", ";\n\n ", "\n ", "\n"], ["\n background-color: ", ";\n box-sizing: border-box;\n height: 100%;\n min-width: 960px;\n overflow-x: hidden;\n overflow-y: auto;\n ", ";\n\n ", "\n ", "\n"])), function (_a) {
|
54
|
+
var theme = _a.theme;
|
55
|
+
return theme.ui_contentscontainer01_background;
|
56
|
+
}, function (_a) {
|
57
|
+
var containerColor = _a.containerColor;
|
58
|
+
return "background-color: ".concat(containerColor);
|
59
|
+
}, scrollbarStyle_1.scrollbarStyle, overrideStyleContainer1);
|
60
|
+
var S_ContentsArea = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n box-sizing: border-box;\n min-width: 912px;\n padding-bottom: 88px;\n ", ";\n"], ["\n box-sizing: border-box;\n min-width: 912px;\n padding-bottom: 88px;\n ", ";\n"])), function (_a) {
|
61
|
+
var areaColor = _a.areaColor;
|
62
|
+
return "background-color: ".concat(areaColor);
|
63
|
+
});
|
64
|
+
var S_Content1 = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n margin: 0;\n"], ["\n margin: 0;\n"])));
|
65
|
+
exports.default = WSJ;
|
66
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.WSI = exports.WSH = exports.WSG = exports.WSF = exports.WSE = exports.WSD = exports.WSC = exports.WSB = exports.WSA = void 0;
|
6
|
+
exports.WSJ = exports.WSI = exports.WSH = exports.WSG = exports.WSF = exports.WSE = exports.WSD = exports.WSC = exports.WSB = exports.WSA = void 0;
|
7
7
|
var WSA_1 = require("./WSA");
|
8
8
|
Object.defineProperty(exports, "WSA", { enumerable: true, get: function () { return __importDefault(WSA_1).default; } });
|
9
9
|
var WSB_1 = require("./WSB");
|
@@ -22,3 +22,5 @@ var WSH_1 = require("./WSH");
|
|
22
22
|
Object.defineProperty(exports, "WSH", { enumerable: true, get: function () { return __importDefault(WSH_1).default; } });
|
23
23
|
var WSI_1 = require("./WSI");
|
24
24
|
Object.defineProperty(exports, "WSI", { enumerable: true, get: function () { return __importDefault(WSI_1).default; } });
|
25
|
+
var WSJ_1 = require("./WSJ");
|
26
|
+
Object.defineProperty(exports, "WSJ", { enumerable: true, get: function () { return __importDefault(WSJ_1).default; } });
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import type { UiColors } from '../../../../common';
|
3
3
|
export type ContainersBoxProps = {
|
4
|
-
layoutType: 'WSA_1' | 'WSB_1' | 'WSB_2' | 'WSC_1' | 'WSD_1' | 'WSE_1' | 'WSF_1' | 'WSF_2' | 'WSF_3' | 'WSF_4' | 'WSF_5' | 'WSF_6' | 'WSF_7' | 'WSG_1' | 'WSG_2' | 'WSG_3' | 'WSG_4' | 'WSG_5' | 'WSH_1' | 'WSI_1';
|
4
|
+
layoutType: 'WSA_1' | 'WSB_1' | 'WSB_2' | 'WSC_1' | 'WSD_1' | 'WSE_1' | 'WSF_1' | 'WSF_2' | 'WSF_3' | 'WSF_4' | 'WSF_5' | 'WSF_6' | 'WSF_7' | 'WSG_1' | 'WSG_2' | 'WSG_3' | 'WSG_4' | 'WSG_5' | 'WSH_1' | 'WSI_1' | 'WSJ_1';
|
5
5
|
pageMenuContent?: JSX.Element;
|
6
6
|
tabMenuContent?: JSX.Element;
|
7
7
|
content1?: JSX.Element;
|
@@ -12,7 +12,7 @@ var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
12
|
var Containers_1 = require("../Containers");
|
13
13
|
var ContainersBox = function (_a) {
|
14
14
|
var layoutType = _a.layoutType, pageMenuContent = _a.pageMenuContent, content1 = _a.content1, content2 = _a.content2, containerColor = _a.containerColor, areaColor = _a.areaColor, isLoadingContainer1 = _a.isLoadingContainer1, isLoadingContainer2 = _a.isLoadingContainer2, overrideContainer1ColorKey = _a.overrideContainer1ColorKey, overrideContainer2ColorKey = _a.overrideContainer2ColorKey;
|
15
|
-
return ((0, jsx_runtime_1.jsxs)(S_ContainersBox, { children: [(0, jsx_runtime_1.jsx)(S_TopWrapper, { children: (0, jsx_runtime_1.jsx)(Containers_1.PageMenuContainer, { pageMenuContent: pageMenuContent }) }), (0, jsx_runtime_1.jsx)(S_BottomWrapper, { children: (0, jsx_runtime_1.jsx)(Containers_1.ContentsContainer, { layoutType: layoutType, content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, isLoadingContainer2: isLoadingContainer2, overrideContainer1ColorKey: overrideContainer1ColorKey, overrideContainer2ColorKey: overrideContainer2ColorKey }) })] }));
|
15
|
+
return ((0, jsx_runtime_1.jsxs)(S_ContainersBox, { children: [pageMenuContent && ((0, jsx_runtime_1.jsx)(S_TopWrapper, { children: (0, jsx_runtime_1.jsx)(Containers_1.PageMenuContainer, { pageMenuContent: pageMenuContent }) })), (0, jsx_runtime_1.jsx)(S_BottomWrapper, { children: (0, jsx_runtime_1.jsx)(Containers_1.ContentsContainer, { layoutType: layoutType, content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, isLoadingContainer2: isLoadingContainer2, overrideContainer1ColorKey: overrideContainer1ColorKey, overrideContainer2ColorKey: overrideContainer2ColorKey }) })] }));
|
16
16
|
};
|
17
17
|
var S_ContainersBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n height: 100%;\n"], ["\n display: flex;\n flex-direction: column;\n height: 100%;\n"])));
|
18
18
|
var S_TopWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n margin: 0;\n"], ["\n margin: 0;\n"])));
|
@@ -7,9 +7,10 @@ type Props = {
|
|
7
7
|
responsiveMode?: 'none' | 'use';
|
8
8
|
size?: 'small' | 'medium' | 'large';
|
9
9
|
customWidth?: string;
|
10
|
+
arrowBtnMode?: 'use' | 'none';
|
10
11
|
onTarget?: () => void;
|
11
12
|
onClickArrowIBtn?: () => void;
|
12
13
|
onClickSearchIBtn?: (value: string) => void;
|
13
14
|
};
|
14
|
-
declare function SearchField({ name, hintText, defaultText, responsiveMode, size, customWidth, onTarget, onClickArrowIBtn, onClickSearchIBtn }: Props): JSX.Element;
|
15
|
+
declare function SearchField({ name, hintText, defaultText, responsiveMode, size, customWidth, arrowBtnMode, onTarget, onClickArrowIBtn, onClickSearchIBtn }: Props): JSX.Element;
|
15
16
|
export default SearchField;
|
@@ -47,10 +47,10 @@ var components_2 = require("../../../desktop/components");
|
|
47
47
|
var components_3 = require("../../../hybrid/components");
|
48
48
|
var styled_components_1 = __importStar(require("styled-components"));
|
49
49
|
function SearchField(_a) {
|
50
|
-
var name = _a.name, hintText = _a.hintText, defaultText = _a.defaultText, _b = _a.responsiveMode, responsiveMode = _b === void 0 ? 'none' : _b, _c = _a.size, size = _c === void 0 ? 'medium' : _c, customWidth = _a.customWidth, onTarget = _a.onTarget, onClickArrowIBtn = _a.onClickArrowIBtn, onClickSearchIBtn = _a.onClickSearchIBtn;
|
51
|
-
var
|
50
|
+
var name = _a.name, hintText = _a.hintText, defaultText = _a.defaultText, _b = _a.responsiveMode, responsiveMode = _b === void 0 ? 'none' : _b, _c = _a.size, size = _c === void 0 ? 'medium' : _c, customWidth = _a.customWidth, _d = _a.arrowBtnMode, arrowBtnMode = _d === void 0 ? 'use' : _d, onTarget = _a.onTarget, onClickArrowIBtn = _a.onClickArrowIBtn, onClickSearchIBtn = _a.onClickSearchIBtn;
|
51
|
+
var _e = (0, react_1.useState)(false), isFocused = _e[0], setIsFocused = _e[1];
|
52
52
|
var textFieldBaseRef = (0, react_1.useRef)(null);
|
53
|
-
var
|
53
|
+
var _f = (0, react_hook_form_1.useFormContext)(), register = _f.register, getValues = _f.getValues, trigger = _f.trigger;
|
54
54
|
var validateOnBlur = register(name).onBlur;
|
55
55
|
var handleFocus = function () {
|
56
56
|
setIsFocused(true);
|
@@ -76,7 +76,7 @@ function SearchField(_a) {
|
|
76
76
|
onTarget();
|
77
77
|
}
|
78
78
|
};
|
79
|
-
return ((0, jsx_runtime_1.jsx)(S_SearchFieldBox, __assign({ "x-pds-name": "SearchField", "x-pds-element-type": "component", "x-pds-device-type": "desktop", size: size, responsiveMode: responsiveMode, customWidth: customWidth }, { children: (0, jsx_runtime_1.jsxs)(S_SearchFieldWrapper, __assign({ size: size, textLineType: "single", isFocused: isFocused, state: "normal", colorTheme: "none", responsiveMode: responsiveMode, customWidth: customWidth }, { children: [(0, jsx_runtime_1.jsx)(components_2.IconButton, { baseSize: "medium", iconSize: 20, iconName: "ic_arrow_left", baseColorKey: "ui_cpnt_button_fill_base_transparent", onClick: handleArrowIBtnClick }), (0, jsx_runtime_1.jsx)(components_1.TextFieldBase, { inputRef: textFieldBaseRef, name: name, size: size, hintText: hintText, defaultText: defaultText, enterSubmitMode: "use", textLineType: "single", textSize: "form2", textWeight: "normal", fieldPaddingLeft: 8, deleteIconMode: "use", deleteIconSize: size === 'large' ? 20 : 16, deleteIconColor: "ui_cpnt_button_icon_disabled", isFocused: isFocused, onFocus: handleFocus, onBlur: handleBlur, onTarget: handleTarget, onChange: register('searchField').onChange }), (0, jsx_runtime_1.jsx)(components_3.Spacing, { size: "spacing_a", spacingType: "width" }), (0, jsx_runtime_1.jsx)(components_2.IconButton, { baseSize: "medium", iconSize: 20, iconName: "ic_search", baseColorKey: "ui_cpnt_button_fill_base_transparent", onClick: handleSearchIBtnClick })] })) })));
|
79
|
+
return ((0, jsx_runtime_1.jsx)(S_SearchFieldBox, __assign({ "x-pds-name": "SearchField", "x-pds-element-type": "component", "x-pds-device-type": "desktop", size: size, responsiveMode: responsiveMode, customWidth: customWidth }, { children: (0, jsx_runtime_1.jsxs)(S_SearchFieldWrapper, __assign({ size: size, textLineType: "single", isFocused: isFocused, state: "normal", colorTheme: "none", responsiveMode: responsiveMode, customWidth: customWidth }, { children: [arrowBtnMode === 'use' && ((0, jsx_runtime_1.jsx)(components_2.IconButton, { baseSize: "medium", iconSize: 20, iconName: "ic_arrow_left", baseColorKey: "ui_cpnt_button_fill_base_transparent", onClick: handleArrowIBtnClick })), (0, jsx_runtime_1.jsx)(components_1.TextFieldBase, { inputRef: textFieldBaseRef, name: name, size: size, hintText: hintText, defaultText: defaultText, enterSubmitMode: "use", textLineType: "single", textSize: "form2", textWeight: "normal", fieldPaddingLeft: 8, deleteIconMode: "use", deleteIconSize: size === 'large' ? 20 : 16, deleteIconColor: "ui_cpnt_button_icon_disabled", isFocused: isFocused, onFocus: handleFocus, onBlur: handleBlur, onTarget: handleTarget, onChange: register('searchField').onChange }), (0, jsx_runtime_1.jsx)(components_3.Spacing, { size: "spacing_a", spacingType: "width" }), (0, jsx_runtime_1.jsx)(components_2.IconButton, { baseSize: "medium", iconSize: 20, iconName: "ic_search", baseColorKey: "ui_cpnt_button_fill_base_transparent", onClick: handleSearchIBtnClick })] })) })));
|
80
80
|
}
|
81
81
|
var S_SearchFieldBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", ";\n ", ";\n ", "\n"], ["\n ", ";\n ", ";\n ", "\n"])), function (_a) {
|
82
82
|
var size = _a.size;
|
@@ -1,11 +1,17 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import type { FillIconNameKeys, LineIconNameKeys, PDSTextType, PDSValueOption } from '../../../common/types';
|
2
|
+
import type { DropdownValueOption, FillIconNameKeys, LineIconNameKeys, PDSTextType, PDSValueOption } from '../../../common/types';
|
3
3
|
type Props = {
|
4
4
|
searchFieldHintText?: PDSTextType;
|
5
5
|
searchFieldDefaultText?: PDSTextType;
|
6
6
|
chipTextArray?: PDSValueOption[];
|
7
7
|
chipValue?: PDSValueOption;
|
8
8
|
searchMode?: 'none' | 'use';
|
9
|
+
searchStyleTheme?: 'searchField' | 'dropdown_searchField';
|
10
|
+
dropdownArray?: DropdownValueOption[];
|
11
|
+
dropdownDefaultText?: DropdownValueOption;
|
12
|
+
dropdownHintText?: PDSTextType;
|
13
|
+
dropdownValue?: DropdownValueOption | null;
|
14
|
+
dropdownWidth?: string;
|
9
15
|
chipMode?: 'none' | 'use';
|
10
16
|
iBtnMode?: 'none' | 'iBtn_amount1' | 'iBtn_amount2' | 'iBtn_amount3';
|
11
17
|
iBtn1IconName?: FillIconNameKeys | LineIconNameKeys;
|
@@ -14,6 +20,7 @@ type Props = {
|
|
14
20
|
iBtn2IconFillType?: 'fill' | 'line';
|
15
21
|
iBtn3IconName?: FillIconNameKeys | LineIconNameKeys;
|
16
22
|
iBtn3IconFillType?: 'fill' | 'line';
|
23
|
+
onChangeDropdown?: (option: DropdownValueOption) => void;
|
17
24
|
onClickChip?: (option: PDSValueOption) => void;
|
18
25
|
onClickSearchFieldResetIBtn?: () => void;
|
19
26
|
onClickSearchIBtn?: (value: string) => void;
|
@@ -22,5 +29,5 @@ type Props = {
|
|
22
29
|
onClickIBtn2?: () => void;
|
23
30
|
onClickIBtn3?: () => void;
|
24
31
|
};
|
25
|
-
declare function ToolBar({ searchFieldHintText, searchFieldDefaultText, chipTextArray, chipValue, searchMode, chipMode, iBtnMode, iBtn1IconName, iBtn1IconFillType, iBtn2IconName, iBtn2IconFillType, iBtn3IconName, iBtn3IconFillType, onClickChip, onClickSearchFieldResetIBtn, onClickSearchIBtn, onEnterKeyDown, onClickIBtn1, onClickIBtn2, onClickIBtn3 }: Props): JSX.Element;
|
32
|
+
declare function ToolBar({ searchFieldHintText, searchFieldDefaultText, chipTextArray, chipValue, searchMode, searchStyleTheme, dropdownArray, dropdownDefaultText, dropdownHintText, dropdownWidth, dropdownValue, onChangeDropdown, chipMode, iBtnMode, iBtn1IconName, iBtn1IconFillType, iBtn2IconName, iBtn2IconFillType, iBtn3IconName, iBtn3IconFillType, onClickChip, onClickSearchFieldResetIBtn, onClickSearchIBtn, onEnterKeyDown, onClickIBtn1, onClickIBtn2, onClickIBtn3 }: Props): JSX.Element;
|
26
33
|
export default ToolBar;
|
@@ -28,8 +28,8 @@ var styled_components_1 = __importDefault(require("styled-components"));
|
|
28
28
|
var ChipList_1 = __importDefault(require("./ChipList"));
|
29
29
|
var SearchField_1 = __importDefault(require("./SearchField"));
|
30
30
|
function ToolBar(_a) {
|
31
|
-
var searchFieldHintText = _a.searchFieldHintText, searchFieldDefaultText = _a.searchFieldDefaultText, chipTextArray = _a.chipTextArray, chipValue = _a.chipValue, _b = _a.searchMode, searchMode = _b === void 0 ? 'none' : _b, _c = _a.
|
32
|
-
var
|
31
|
+
var searchFieldHintText = _a.searchFieldHintText, searchFieldDefaultText = _a.searchFieldDefaultText, chipTextArray = _a.chipTextArray, chipValue = _a.chipValue, _b = _a.searchMode, searchMode = _b === void 0 ? 'none' : _b, _c = _a.searchStyleTheme, searchStyleTheme = _c === void 0 ? 'searchField' : _c, dropdownArray = _a.dropdownArray, dropdownDefaultText = _a.dropdownDefaultText, dropdownHintText = _a.dropdownHintText, _d = _a.dropdownWidth, dropdownWidth = _d === void 0 ? '240px' : _d, dropdownValue = _a.dropdownValue, onChangeDropdown = _a.onChangeDropdown, _e = _a.chipMode, chipMode = _e === void 0 ? 'none' : _e, _f = _a.iBtnMode, iBtnMode = _f === void 0 ? 'none' : _f, iBtn1IconName = _a.iBtn1IconName, _g = _a.iBtn1IconFillType, iBtn1IconFillType = _g === void 0 ? 'line' : _g, iBtn2IconName = _a.iBtn2IconName, _h = _a.iBtn2IconFillType, iBtn2IconFillType = _h === void 0 ? 'line' : _h, iBtn3IconName = _a.iBtn3IconName, _j = _a.iBtn3IconFillType, iBtn3IconFillType = _j === void 0 ? 'line' : _j, onClickChip = _a.onClickChip, onClickSearchFieldResetIBtn = _a.onClickSearchFieldResetIBtn, onClickSearchIBtn = _a.onClickSearchIBtn, onEnterKeyDown = _a.onEnterKeyDown, onClickIBtn1 = _a.onClickIBtn1, onClickIBtn2 = _a.onClickIBtn2, onClickIBtn3 = _a.onClickIBtn3;
|
32
|
+
var _k = (0, react_1.useState)(!!searchFieldDefaultText), isShowSearchField = _k[0], setIsShowSearchField = _k[1];
|
33
33
|
var methods = (0, react_hook_form_1.useForm)();
|
34
34
|
var reset = methods.reset, handleSubmit = methods.handleSubmit;
|
35
35
|
var onSubmit = function (_a) {
|
@@ -73,14 +73,15 @@ function ToolBar(_a) {
|
|
73
73
|
onClickIBtn3();
|
74
74
|
}
|
75
75
|
};
|
76
|
-
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsxs)(S_ToolBarBox, { children: [(0, jsx_runtime_1.jsx)(S_FilterBox, { children: isShowSearchField ? ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: searchMode === 'use' && ((0, jsx_runtime_1.
|
76
|
+
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsxs)(S_ToolBarBox, { children: [(0, jsx_runtime_1.jsx)(S_FilterBox, { children: isShowSearchField ? ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: searchMode === 'use' && ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)(react_hook_form_1.FormProvider, __assign({}, methods, { children: (0, jsx_runtime_1.jsxs)(components_1.Form, __assign({ onSubmit: handleSubmit(onSubmit) }, { children: [searchStyleTheme === 'searchField' && ((0, jsx_runtime_1.jsxs)(S_Flex, { children: [(0, jsx_runtime_1.jsx)(components_3.Spacing, { size: "spacing_e", spacingType: "width" }), (0, jsx_runtime_1.jsx)(SearchField_1.default, { name: "searchField", hintText: searchFieldHintText, defaultText: searchFieldDefaultText, onClickArrowIBtn: handleArrowIBtnClick, onClickSearchIBtn: handleSearchIBtnClick, customWidth: "424px" })] })), searchStyleTheme === 'dropdown_searchField' && ((0, jsx_runtime_1.jsxs)(S_Flex, { children: [(0, jsx_runtime_1.jsx)(components_3.Spacing, { size: "spacing_c", spacingType: "width" }), (0, jsx_runtime_1.jsx)(components_2.IconButton, { baseSize: "medium", iconSize: 20, iconName: "ic_arrow_left", baseColorKey: "ui_cpnt_button_fill_base_transparent", onClick: handleArrowIBtnClick }), (0, jsx_runtime_1.jsx)(components_2.Dropdown, { valueArray: dropdownArray || [], defaultValue: dropdownDefaultText, hintText: dropdownHintText, value: dropdownValue, onChange: onChangeDropdown, size: "medium", customWidth: dropdownWidth }), (0, jsx_runtime_1.jsx)(components_3.Spacing, { size: "spacing_b", spacingType: "width" }), (0, jsx_runtime_1.jsx)(SearchField_1.default, { name: "searchField", arrowBtnMode: "none", hintText: searchFieldHintText, defaultText: searchFieldDefaultText, onClickSearchIBtn: handleSearchIBtnClick, customWidth: "424px" })] }))] })) })) })) })) : ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [searchMode === 'use' && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_3.Spacing, { size: "spacing_d", spacingType: "width" }), (0, jsx_runtime_1.jsx)(S_SearchIconWrapper, { children: (0, jsx_runtime_1.jsx)(components_2.IconButton, { fillType: "fill", baseSize: "small", iconSize: 24, shapeType: "rectangle", iconName: "ic_search", iconFillType: "fill", iconColorKey: "ui_cpnt_list_icon_01", baseColorKey: "ui_cpnt_button_fill_base_transparent", onClick: handleSearchFieldShowIBtnClick }) })] })), chipMode === 'use' && chipTextArray && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_3.Spacing, { size: searchMode === 'use' ? 'spacing_d' : 'spacing_e', spacingType: "width" }), (0, jsx_runtime_1.jsx)(ChipList_1.default, { textArray: chipTextArray, value: chipValue, onClickChip: handleChipClick })] }))] })) }), (0, jsx_runtime_1.jsx)(S_IconButtonBox, { children: iBtnMode !== 'none' && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [iBtnMode === 'iBtn_amount3' && iBtn3IconName && ((0, jsx_runtime_1.jsx)(components_2.IconButton, { fillType: "fill", baseSize: "medium", iconSize: 24, shapeType: "rectangle", iconName: iBtn3IconName, iconFillType: iBtn3IconFillType, iconColorKey: "ui_cpnt_list_icon_01", baseColorKey: "ui_cpnt_button_fill_base_transparent", onClick: handleIBtn3Click })), (iBtnMode === 'iBtn_amount2' || iBtnMode === 'iBtn_amount3') && iBtn2IconName && ((0, jsx_runtime_1.jsx)(components_2.IconButton, { fillType: "fill", baseSize: "medium", iconSize: 24, shapeType: "rectangle", iconName: iBtn2IconName, iconFillType: iBtn2IconFillType, iconColorKey: "ui_cpnt_list_icon_01", baseColorKey: "ui_cpnt_button_fill_base_transparent", onClick: handleIBtn2Click })), iBtn1IconName && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_2.IconButton, { fillType: "fill", baseSize: "medium", iconSize: 24, shapeType: "rectangle", iconName: iBtn1IconName, iconFillType: iBtn1IconFillType, iconColorKey: "ui_cpnt_list_icon_01", baseColorKey: "ui_cpnt_button_fill_base_transparent", onClick: handleIBtn1Click }), (0, jsx_runtime_1.jsx)(components_3.Spacing, { size: "spacing_d", spacingType: "width" })] }))] })) })] }) }));
|
77
77
|
}
|
78
78
|
var S_ToolBarBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: flex-start;\n display: flex;\n justify-content: space-between;\n min-height: 40px;\n"], ["\n align-items: flex-start;\n display: flex;\n justify-content: space-between;\n min-height: 40px;\n"])));
|
79
79
|
var S_FilterBox = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n"], ["\n display: flex;\n"])));
|
80
|
-
var
|
81
|
-
var
|
80
|
+
var S_Flex = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n"], ["\n display: flex;\n"])));
|
81
|
+
var S_SearchIconWrapper = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n height: 40px;\n"], ["\n align-items: center;\n display: flex;\n height: 40px;\n"])));
|
82
|
+
var S_IconButtonBox = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: flex;\n height: 40px;\n\n & > :not(:first-child) {\n margin-left: ", ";\n }\n"], ["\n display: flex;\n height: 40px;\n\n & > :not(:first-child) {\n margin-left: ", ";\n }\n"])), function (_a) {
|
82
83
|
var theme = _a.theme;
|
83
84
|
return theme.spacing.spacingB;
|
84
85
|
});
|
85
86
|
exports.default = ToolBar;
|
86
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
|
87
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
|
@@ -1,5 +1,3 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import type { DynamicLayoutProps } from './types';
|
3
|
-
|
4
|
-
export declare const dynamicLayoutContext: import("react").Context<DL_CONTEXT_TYPE>;
|
5
|
-
export {};
|
3
|
+
export declare const dynamicLayoutContext: import("react").Context<Omit<DynamicLayoutProps, "sections">>;
|