@nurihaus/web-design-system 3.0.1 → 3.0.3
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/README.md +104 -5
- package/dist/.storybook/story-kit.d.ts +18 -0
- package/dist/ai/components.md +742 -0
- package/dist/ai/tokens.md +319 -0
- package/dist/avatar.js +336 -0
- package/dist/check-box.js +379 -0
- package/dist/chunk-149.js +57 -0
- package/dist/chunk-298.js +34 -0
- package/dist/chunk-302.js +105 -0
- package/dist/chunk-309.js +36 -0
- package/dist/chunk-364.js +126 -0
- package/dist/chunk-387.js +37 -0
- package/dist/chunk-558.js +200 -0
- package/dist/chunk-563.js +181 -0
- package/dist/chunk-739.js +68 -0
- package/dist/chunk-777.js +117 -0
- package/dist/chunk-917.js +35 -0
- package/dist/chunk-933.js +70 -0
- package/dist/chunk-976.js +29 -0
- package/dist/collapsible-menu.js +394 -0
- package/dist/components/avatar/avatar-props.d.ts +2 -6
- package/dist/components/avatar/avatar-type.d.ts +4 -5
- package/dist/components/avatar/avatar.d.ts +1 -0
- package/dist/components/avatar/avatar.stories.d.ts +17 -1
- package/dist/components/badge/badge-props.d.ts +17 -80
- package/dist/components/badge/badge-type.d.ts +38 -2
- package/dist/components/badge/badge.stories.d.ts +25 -2
- package/dist/components/badge/base-badge.d.ts +2 -1
- package/dist/components/badge/icon-text-badge.d.ts +3 -21
- package/dist/components/badge/icon-text-option-badge.d.ts +2 -15
- package/dist/components/badge/option-badge.d.ts +3 -20
- package/dist/components/button/button-props.d.ts +2 -7
- package/dist/components/button/button-type.d.ts +11 -3
- package/dist/components/button/button.stories.d.ts +13 -10
- package/dist/components/button/cta-button.d.ts +3 -12
- package/dist/components/check-box/base-check-box.d.ts +9 -5
- package/dist/components/check-box/check-box-props.d.ts +2 -7
- package/dist/components/check-box/check-box-type.d.ts +11 -4
- package/dist/components/check-box/check-box.d.ts +3 -10
- package/dist/components/check-box/check-box.stories.d.ts +19 -4
- package/dist/components/collapsible-menu/base-collapsible-menu.d.ts +9 -5
- package/dist/components/collapsible-menu/collapsible-menu-props.d.ts +3 -12
- package/dist/components/collapsible-menu/collapsible-menu-type.d.ts +33 -9
- package/dist/components/collapsible-menu/collapsible-menu.d.ts +3 -23
- package/dist/components/collapsible-menu/collapsible-menu.stories.d.ts +20 -4
- package/dist/components/drop-down/base-drop-down.d.ts +11 -3
- package/dist/components/drop-down/drop-down-props.d.ts +3 -12
- package/dist/components/drop-down/drop-down-type.d.ts +34 -15
- package/dist/components/drop-down/drop-down.d.ts +3 -32
- package/dist/components/drop-down/drop-down.stories.d.ts +23 -4
- package/dist/components/elements/text/base-text.d.ts +3 -0
- package/dist/components/elements/text/text-props.d.ts +16 -0
- package/dist/components/elements/text/text-type.d.ts +6 -2
- package/dist/components/elements/text/text.d.ts +2 -1
- package/dist/components/elements/text/text.stories.d.ts +43 -3
- package/dist/components/loading/index.d.ts +6 -6
- package/dist/components/loading/inline-loading/base-inline-loading.d.ts +3 -0
- package/dist/components/loading/inline-loading/inline-loading-props.d.ts +9 -0
- package/dist/components/loading/inline-loading/inline-loading-type.d.ts +8 -6
- package/dist/components/loading/inline-loading/inline-loading.d.ts +3 -2
- package/dist/components/loading/inline-loading/inline-loading.stories.d.ts +5 -9
- package/dist/components/loading/overlay-loading/base-overlay-loading.d.ts +3 -0
- package/dist/components/loading/overlay-loading/overlay-loading-props.d.ts +7 -0
- package/dist/components/loading/overlay-loading/overlay-loading-type.d.ts +6 -3
- package/dist/components/loading/overlay-loading/overlay-loading.d.ts +3 -3
- package/dist/components/loading/overlay-loading/overlay-loading.stories.d.ts +8 -8
- package/dist/components/loading/spinner/base-spinner.d.ts +4 -0
- package/dist/components/loading/spinner/spinner-props.d.ts +1 -0
- package/dist/components/loading/spinner/spinner-type.d.ts +4 -4
- package/dist/components/loading/spinner/spinner.d.ts +2 -2
- package/dist/components/loading/spinner/spinner.stories.d.ts +5 -12
- package/dist/components/modal/base-modal.d.ts +17 -5
- package/dist/components/modal/modal-props.d.ts +2 -7
- package/dist/components/modal/modal-type.d.ts +20 -10
- package/dist/components/modal/modal-with-double-button.d.ts +4 -16
- package/dist/components/modal/modal.stories.d.ts +15 -2
- package/dist/components/radio/base-radio.d.ts +9 -5
- package/dist/components/radio/radio-props.d.ts +1 -0
- package/dist/components/radio/radio-type.d.ts +6 -8
- package/dist/components/radio/radio.d.ts +2 -2
- package/dist/components/radio/radio.stories.d.ts +13 -4
- package/dist/components/table/base-table.d.ts +4 -5
- package/dist/components/table/data-table.d.ts +5 -22
- package/dist/components/table/table-type.d.ts +22 -1
- package/dist/components/table/table.stories.d.ts +19 -3
- package/dist/components/tabs/base-tabs.d.ts +7 -7
- package/dist/components/tabs/tabs-props.d.ts +1 -1
- package/dist/components/tabs/tabs-type.d.ts +9 -13
- package/dist/components/tabs/tabs.d.ts +3 -3
- package/dist/components/tabs/tabs.stories.d.ts +16 -10
- package/dist/components/text-field/base-text-field.d.ts +5 -3
- package/dist/components/text-field/text-field-props.d.ts +3 -12
- package/dist/components/text-field/text-field-type.d.ts +14 -0
- package/dist/components/text-field/text-field.d.ts +3 -16
- package/dist/components/text-field/text-field.stories.d.ts +24 -0
- package/dist/components/tooltip/base-tooltip.d.ts +13 -3
- package/dist/components/tooltip/tooltip-props.d.ts +3 -2
- package/dist/components/tooltip/tooltip-type.d.ts +17 -5
- package/dist/components/tooltip/tooltip.d.ts +4 -7
- package/dist/components/tooltip/tooltip.stories.d.ts +21 -4
- package/dist/components.css +1984 -0
- package/dist/cta-button.js +236 -0
- package/dist/data-table.js +386 -0
- package/dist/drop-down.js +433 -0
- package/dist/helpers/props/common-props.d.ts +7 -0
- package/dist/helpers/types/common-props.d.ts +8 -0
- package/dist/icon-text-badge.js +294 -0
- package/dist/icon-text-option-badge.js +270 -0
- package/dist/index.d.ts +17 -1
- package/dist/index.js +3021 -10637
- package/dist/loading.js +383 -0
- package/dist/modal-with-double-button.js +527 -0
- package/dist/option-badge.js +293 -0
- package/dist/radio.js +363 -0
- package/dist/reset.css +45 -0
- package/dist/styles.css +465 -219
- package/dist/tabs.js +421 -0
- package/dist/text-field.js +369 -0
- package/dist/text.js +233 -0
- package/dist/tokens.css +73 -0
- package/dist/tokens.js +4 -6
- package/dist/tooltip.js +360 -0
- package/package.json +91 -14
- package/dist/components/text-field/text-filed.stories.d.ts +0 -8
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__ from "react/jsx-runtime";
|
|
4
|
+
/******/ var __webpack_modules__ = ({
|
|
5
|
+
|
|
6
|
+
/***/ 910
|
|
7
|
+
(__unused_webpack_module, __webpack_exports__, __nuri_require__) {
|
|
8
|
+
|
|
9
|
+
/* harmony export */ __nuri_require__.d(__webpack_exports__, {
|
|
10
|
+
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
11
|
+
/* harmony export */ });
|
|
12
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __nuri_require__(612);
|
|
13
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __nuri_require__(41);
|
|
14
|
+
/* harmony import */ var _helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_2__ = __nuri_require__(274);
|
|
15
|
+
/* harmony import */ var _helpers_utils_getMergedProps__WEBPACK_IMPORTED_MODULE_3__ = __nuri_require__(335);
|
|
16
|
+
/* harmony import */ var _loading_spinner_spinner__WEBPACK_IMPORTED_MODULE_4__ = __nuri_require__(302);
|
|
17
|
+
/* harmony import */ var _base_button__WEBPACK_IMPORTED_MODULE_5__ = __nuri_require__(933);
|
|
18
|
+
/* harmony import */ var _button_props__WEBPACK_IMPORTED_MODULE_6__ = __nuri_require__(976);
|
|
19
|
+
var __assign = undefined && undefined.__assign || function () {
|
|
20
|
+
__assign = Object.assign || function (t) {
|
|
21
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
22
|
+
s = arguments[i];
|
|
23
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
24
|
+
}
|
|
25
|
+
return t;
|
|
26
|
+
};
|
|
27
|
+
return __assign.apply(this, arguments);
|
|
28
|
+
};
|
|
29
|
+
var __rest = undefined && undefined.__rest || function (s, e) {
|
|
30
|
+
var t = {};
|
|
31
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
32
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
33
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
34
|
+
}
|
|
35
|
+
return t;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
var CTAButton = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
|
|
45
|
+
var _a = (0,_helpers_utils_getMergedProps__WEBPACK_IMPORTED_MODULE_3__/* .getMergedProps */ .p)(props, _button_props__WEBPACK_IMPORTED_MODULE_6__/* .ctaButtonProps */ .Lr),
|
|
46
|
+
className = _a.className,
|
|
47
|
+
text = _a.text,
|
|
48
|
+
leftIcon = _a.leftIcon,
|
|
49
|
+
rightIcon = _a.rightIcon,
|
|
50
|
+
restProps = __rest(_a, ["className", "text", "leftIcon", "rightIcon"]);
|
|
51
|
+
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_base_button__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A, __assign({
|
|
52
|
+
ref: ref,
|
|
53
|
+
className: (0,_helpers_utils_classNames__WEBPACK_IMPORTED_MODULE_2__/* .classNames */ .x)(className, 'cta-button'),
|
|
54
|
+
loadingComponent: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_loading_spinner_spinner__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A, {})
|
|
55
|
+
}, restProps, {
|
|
56
|
+
children: [leftIcon, text, rightIcon]
|
|
57
|
+
}));
|
|
58
|
+
});
|
|
59
|
+
CTAButton.displayName = 'CTAButton';
|
|
60
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CTAButton);
|
|
61
|
+
|
|
62
|
+
/***/ },
|
|
63
|
+
|
|
64
|
+
/***/ 41
|
|
65
|
+
(module, __unused_webpack_exports, __nuri_require__) {
|
|
66
|
+
|
|
67
|
+
var x = (y) => {
|
|
68
|
+
var x = {}; __nuri_require__.d(x, y); return x
|
|
69
|
+
}
|
|
70
|
+
var y = (x) => (() => (x))
|
|
71
|
+
module.exports = x({ ["Children"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.Children), ["cloneElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.cloneElement), ["forwardRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.forwardRef), ["isValidElement"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.isValidElement) });
|
|
72
|
+
|
|
73
|
+
/***/ },
|
|
74
|
+
|
|
75
|
+
/***/ 612
|
|
76
|
+
(module, __unused_webpack_exports, __nuri_require__) {
|
|
77
|
+
|
|
78
|
+
var x = (y) => {
|
|
79
|
+
var x = {}; __nuri_require__.d(x, y); return x
|
|
80
|
+
}
|
|
81
|
+
var y = (x) => (() => (x))
|
|
82
|
+
module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsx), ["jsxs"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsxs) });
|
|
83
|
+
|
|
84
|
+
/***/ }
|
|
85
|
+
|
|
86
|
+
/******/ });
|
|
87
|
+
/************************************************************************/
|
|
88
|
+
/******/ // The module cache
|
|
89
|
+
/******/ var __webpack_module_cache__ = {};
|
|
90
|
+
/******/
|
|
91
|
+
/******/ // The require function
|
|
92
|
+
/******/ function __nuri_require__(moduleId) {
|
|
93
|
+
/******/ // Check if module is in cache
|
|
94
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
95
|
+
/******/ if (cachedModule !== undefined) {
|
|
96
|
+
/******/ return cachedModule.exports;
|
|
97
|
+
/******/ }
|
|
98
|
+
/******/ // Create a new module (and put it into the cache)
|
|
99
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
100
|
+
/******/ // no module.id needed
|
|
101
|
+
/******/ // no module.loaded needed
|
|
102
|
+
/******/ exports: {}
|
|
103
|
+
/******/ };
|
|
104
|
+
/******/
|
|
105
|
+
/******/ // Execute the module function
|
|
106
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __nuri_require__);
|
|
107
|
+
/******/
|
|
108
|
+
/******/ // Return the exports of the module
|
|
109
|
+
/******/ return module.exports;
|
|
110
|
+
/******/ }
|
|
111
|
+
/******/
|
|
112
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
113
|
+
/******/ __nuri_require__.m = __webpack_modules__;
|
|
114
|
+
/******/
|
|
115
|
+
/************************************************************************/
|
|
116
|
+
/******/ /* webpack/runtime/chunk loaded */
|
|
117
|
+
/******/ (() => {
|
|
118
|
+
/******/ var deferred = [];
|
|
119
|
+
/******/ __nuri_require__.O = (result, chunkIds, fn, priority) => {
|
|
120
|
+
/******/ if(chunkIds) {
|
|
121
|
+
/******/ priority = priority || 0;
|
|
122
|
+
/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
|
|
123
|
+
/******/ deferred[i] = [chunkIds, fn, priority];
|
|
124
|
+
/******/ return;
|
|
125
|
+
/******/ }
|
|
126
|
+
/******/ var notFulfilled = Infinity;
|
|
127
|
+
/******/ for (var i = 0; i < deferred.length; i++) {
|
|
128
|
+
/******/ var [chunkIds, fn, priority] = deferred[i];
|
|
129
|
+
/******/ var fulfilled = true;
|
|
130
|
+
/******/ for (var j = 0; j < chunkIds.length; j++) {
|
|
131
|
+
/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__nuri_require__.O).every((key) => (__nuri_require__.O[key](chunkIds[j])))) {
|
|
132
|
+
/******/ chunkIds.splice(j--, 1);
|
|
133
|
+
/******/ } else {
|
|
134
|
+
/******/ fulfilled = false;
|
|
135
|
+
/******/ if(priority < notFulfilled) notFulfilled = priority;
|
|
136
|
+
/******/ }
|
|
137
|
+
/******/ }
|
|
138
|
+
/******/ if(fulfilled) {
|
|
139
|
+
/******/ deferred.splice(i--, 1)
|
|
140
|
+
/******/ var r = fn();
|
|
141
|
+
/******/ if (r !== undefined) result = r;
|
|
142
|
+
/******/ }
|
|
143
|
+
/******/ }
|
|
144
|
+
/******/ return result;
|
|
145
|
+
/******/ };
|
|
146
|
+
/******/ })();
|
|
147
|
+
/******/
|
|
148
|
+
/******/ /* webpack/runtime/define property getters */
|
|
149
|
+
/******/ (() => {
|
|
150
|
+
/******/ // define getter functions for harmony exports
|
|
151
|
+
/******/ __nuri_require__.d = (exports, definition) => {
|
|
152
|
+
/******/ for(var key in definition) {
|
|
153
|
+
/******/ if(__nuri_require__.o(definition, key) && !__nuri_require__.o(exports, key)) {
|
|
154
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
155
|
+
/******/ }
|
|
156
|
+
/******/ }
|
|
157
|
+
/******/ };
|
|
158
|
+
/******/ })();
|
|
159
|
+
/******/
|
|
160
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
161
|
+
/******/ (() => {
|
|
162
|
+
/******/ __nuri_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
163
|
+
/******/ })();
|
|
164
|
+
/******/
|
|
165
|
+
/******/ /* webpack/runtime/export webpack runtime */
|
|
166
|
+
/******/ export { __nuri_require__ };
|
|
167
|
+
/******/
|
|
168
|
+
/******/ /* webpack/runtime/import chunk loading */
|
|
169
|
+
/******/ (() => {
|
|
170
|
+
/******/ // no baseURI
|
|
171
|
+
/******/
|
|
172
|
+
/******/ // object to store loaded and loading chunks
|
|
173
|
+
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
174
|
+
/******/ // [resolve, Promise] = chunk loading, 0 = chunk loaded
|
|
175
|
+
/******/ var installedChunks = {
|
|
176
|
+
/******/ 440: 0
|
|
177
|
+
/******/ };
|
|
178
|
+
/******/
|
|
179
|
+
/******/ var installChunk = (data) => {
|
|
180
|
+
/******/ var {__webpack_esm_ids__, __webpack_esm_modules__, __webpack_esm_runtime__} = data;
|
|
181
|
+
/******/ // add "modules" to the modules object,
|
|
182
|
+
/******/ // then flag all "ids" as loaded and fire callback
|
|
183
|
+
/******/ var moduleId, chunkId, i = 0;
|
|
184
|
+
/******/ for(moduleId in __webpack_esm_modules__) {
|
|
185
|
+
/******/ if(__nuri_require__.o(__webpack_esm_modules__, moduleId)) {
|
|
186
|
+
/******/ __nuri_require__.m[moduleId] = __webpack_esm_modules__[moduleId];
|
|
187
|
+
/******/ }
|
|
188
|
+
/******/ }
|
|
189
|
+
/******/ if(__webpack_esm_runtime__) __webpack_esm_runtime__(__nuri_require__);
|
|
190
|
+
/******/ for(;i < __webpack_esm_ids__.length; i++) {
|
|
191
|
+
/******/ chunkId = __webpack_esm_ids__[i];
|
|
192
|
+
/******/ if(__nuri_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
193
|
+
/******/ installedChunks[chunkId][0]();
|
|
194
|
+
/******/ }
|
|
195
|
+
/******/ installedChunks[__webpack_esm_ids__[i]] = 0;
|
|
196
|
+
/******/ }
|
|
197
|
+
/******/ __nuri_require__.O();
|
|
198
|
+
/******/ }
|
|
199
|
+
/******/
|
|
200
|
+
/******/ // no chunk on demand loading
|
|
201
|
+
/******/
|
|
202
|
+
/******/ // no prefetching
|
|
203
|
+
/******/
|
|
204
|
+
/******/ // no preloaded
|
|
205
|
+
/******/
|
|
206
|
+
/******/ __nuri_require__.C = installChunk;
|
|
207
|
+
/******/
|
|
208
|
+
/******/ __nuri_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
|
|
209
|
+
/******/ // no HMR
|
|
210
|
+
/******/
|
|
211
|
+
/******/ // no HMR manifest
|
|
212
|
+
/******/ })();
|
|
213
|
+
/******/
|
|
214
|
+
/************************************************************************/
|
|
215
|
+
/******/
|
|
216
|
+
/******/ import * as __webpack_chunk_1__ from "./chunk-364.js";
|
|
217
|
+
/******/ __nuri_require__.C(__webpack_chunk_1__);
|
|
218
|
+
/******/ import * as __webpack_chunk_2__ from "./chunk-777.js";
|
|
219
|
+
/******/ __nuri_require__.C(__webpack_chunk_2__);
|
|
220
|
+
/******/ import * as __webpack_chunk_3__ from "./chunk-298.js";
|
|
221
|
+
/******/ __nuri_require__.C(__webpack_chunk_3__);
|
|
222
|
+
/******/ import * as __webpack_chunk_4__ from "./chunk-302.js";
|
|
223
|
+
/******/ __nuri_require__.C(__webpack_chunk_4__);
|
|
224
|
+
/******/ import * as __webpack_chunk_5__ from "./chunk-933.js";
|
|
225
|
+
/******/ __nuri_require__.C(__webpack_chunk_5__);
|
|
226
|
+
/******/ import * as __webpack_chunk_6__ from "./chunk-976.js";
|
|
227
|
+
/******/ __nuri_require__.C(__webpack_chunk_6__);
|
|
228
|
+
/******/
|
|
229
|
+
/******/ // startup
|
|
230
|
+
/******/ // Load entry module and return exports
|
|
231
|
+
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
232
|
+
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [364,777,298,302,933,976], () => (__nuri_require__(910)))
|
|
233
|
+
/******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
|
|
234
|
+
/******/ const __webpack_exports__default = __webpack_exports__.A;
|
|
235
|
+
/******/ export { __webpack_exports__default as default };
|
|
236
|
+
/******/
|
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__ from "react/jsx-runtime";
|
|
4
|
+
/******/ var __webpack_modules__ = ({
|
|
5
|
+
|
|
6
|
+
/***/ 785
|
|
7
|
+
(__unused_webpack_module, __webpack_exports__, __nuri_require__) {
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
// EXPORTS
|
|
11
|
+
__nuri_require__.d(__webpack_exports__, {
|
|
12
|
+
A: () => (/* binding */ data_table)
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
// EXTERNAL MODULE: external {"root":"jsx-runtime","commonjs2":"react/jsx-runtime","commonjs":"react/jsx-runtime","amd":"react/jsx-runtime","module":"react/jsx-runtime"}
|
|
16
|
+
var jsx_runtime_ = __nuri_require__(612);
|
|
17
|
+
// EXTERNAL MODULE: external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react","module":"react"}
|
|
18
|
+
var external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_ = __nuri_require__(41);
|
|
19
|
+
// EXTERNAL MODULE: ./helpers/utils/classNames.js
|
|
20
|
+
var classNames = __nuri_require__(274);
|
|
21
|
+
// EXTERNAL MODULE: ./helpers/utils/getMergedProps.ts
|
|
22
|
+
var getMergedProps = __nuri_require__(335);
|
|
23
|
+
;// ./components/table/base-table.tsx
|
|
24
|
+
var __assign = undefined && undefined.__assign || function () {
|
|
25
|
+
__assign = Object.assign || function (t) {
|
|
26
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
27
|
+
s = arguments[i];
|
|
28
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
29
|
+
}
|
|
30
|
+
return t;
|
|
31
|
+
};
|
|
32
|
+
return __assign.apply(this, arguments);
|
|
33
|
+
};
|
|
34
|
+
var __rest = undefined && undefined.__rest || function (s, e) {
|
|
35
|
+
var t = {};
|
|
36
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
37
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
38
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
39
|
+
}
|
|
40
|
+
return t;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
var TableRootBase = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
46
|
+
var className = props.className,
|
|
47
|
+
restProps = __rest(props, ["className"]);
|
|
48
|
+
return (0,jsx_runtime_.jsx)("table", __assign({
|
|
49
|
+
ref: ref,
|
|
50
|
+
className: (0,classNames/* classNames */.x)('nuri-theme base-table', className)
|
|
51
|
+
}, restProps));
|
|
52
|
+
});
|
|
53
|
+
TableRootBase.displayName = 'TableRoot';
|
|
54
|
+
var TableHeader = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
55
|
+
var className = props.className,
|
|
56
|
+
restProps = __rest(props, ["className"]);
|
|
57
|
+
return (0,jsx_runtime_.jsx)("thead", __assign({
|
|
58
|
+
ref: ref,
|
|
59
|
+
className: (0,classNames/* classNames */.x)('nuri-theme base-table header', className)
|
|
60
|
+
}, restProps));
|
|
61
|
+
});
|
|
62
|
+
TableHeader.displayName = 'TableHeader';
|
|
63
|
+
var TableBody = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
64
|
+
var className = props.className,
|
|
65
|
+
restProps = __rest(props, ["className"]);
|
|
66
|
+
return (0,jsx_runtime_.jsx)("tbody", __assign({
|
|
67
|
+
ref: ref,
|
|
68
|
+
className: (0,classNames/* classNames */.x)('nuri-theme base-table body', className)
|
|
69
|
+
}, restProps));
|
|
70
|
+
});
|
|
71
|
+
TableBody.displayName = 'TableBody';
|
|
72
|
+
var TableRow = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
73
|
+
var className = props.className,
|
|
74
|
+
restProps = __rest(props, ["className"]);
|
|
75
|
+
return (0,jsx_runtime_.jsx)("tr", __assign({
|
|
76
|
+
ref: ref,
|
|
77
|
+
className: (0,classNames/* classNames */.x)('nuri-theme base-table row', className)
|
|
78
|
+
}, restProps));
|
|
79
|
+
});
|
|
80
|
+
TableRow.displayName = 'TableRow';
|
|
81
|
+
var TableCell = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
82
|
+
var className = props.className,
|
|
83
|
+
restProps = __rest(props, ["className"]);
|
|
84
|
+
return (0,jsx_runtime_.jsx)("td", __assign({
|
|
85
|
+
ref: ref,
|
|
86
|
+
className: (0,classNames/* classNames */.x)('nuri-theme base-table cell', className)
|
|
87
|
+
}, restProps));
|
|
88
|
+
});
|
|
89
|
+
TableCell.displayName = 'TableCell';
|
|
90
|
+
var TableRoot = Object.assign(TableRootBase, {
|
|
91
|
+
Header: TableHeader,
|
|
92
|
+
Body: TableBody,
|
|
93
|
+
Row: TableRow,
|
|
94
|
+
Cell: TableCell
|
|
95
|
+
});
|
|
96
|
+
/* harmony default export */ const base_table = (TableRoot);
|
|
97
|
+
;// ./components/table/table-props.ts
|
|
98
|
+
var table_props_assign = undefined && undefined.__assign || function () {
|
|
99
|
+
table_props_assign = Object.assign || function (t) {
|
|
100
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
101
|
+
s = arguments[i];
|
|
102
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
103
|
+
}
|
|
104
|
+
return t;
|
|
105
|
+
};
|
|
106
|
+
return table_props_assign.apply(this, arguments);
|
|
107
|
+
};
|
|
108
|
+
var dataTableCommonProps = {};
|
|
109
|
+
var dataTableHeaderProps = table_props_assign(table_props_assign({}, dataTableCommonProps), {
|
|
110
|
+
headerHeight: {
|
|
111
|
+
type: 'css',
|
|
112
|
+
key: 'height',
|
|
113
|
+
"default": 85
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
var dataTableRowProps = table_props_assign(table_props_assign({}, dataTableCommonProps), {
|
|
117
|
+
rowHeight: {
|
|
118
|
+
type: 'css',
|
|
119
|
+
key: 'height',
|
|
120
|
+
"default": 60
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
var dataTableCellProps = table_props_assign(table_props_assign({}, dataTableCommonProps), {
|
|
124
|
+
cellHeight: {
|
|
125
|
+
type: 'css',
|
|
126
|
+
key: 'height'
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
;// ./components/table/data-table.tsx
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
var DataTableBase = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_module_react_.forwardRef)(function (props, ref) {
|
|
137
|
+
var rows = props.rows,
|
|
138
|
+
columns = props.columns,
|
|
139
|
+
_a = props.fixedRowsIndex,
|
|
140
|
+
fixedRowsIndex = _a === void 0 ? 0 : _a,
|
|
141
|
+
className = props.className;
|
|
142
|
+
var headerStyle = (0,getMergedProps/* getMergedProps */.p)(props, dataTableHeaderProps).style;
|
|
143
|
+
var rowStyle = (0,getMergedProps/* getMergedProps */.p)(props, dataTableRowProps).style;
|
|
144
|
+
var cellStyle = (0,getMergedProps/* getMergedProps */.p)(props, dataTableCellProps).style;
|
|
145
|
+
return (0,jsx_runtime_.jsxs)(base_table, {
|
|
146
|
+
ref: ref,
|
|
147
|
+
className: (0,classNames/* classNames */.x)('data-table', className),
|
|
148
|
+
children: [(0,jsx_runtime_.jsx)(base_table.Header, {
|
|
149
|
+
className: 'data-table-header',
|
|
150
|
+
style: headerStyle,
|
|
151
|
+
children: (0,jsx_runtime_.jsx)(base_table.Row, {
|
|
152
|
+
className: 'data-table-row',
|
|
153
|
+
style: headerStyle,
|
|
154
|
+
children: rows.map(function (item, index) {
|
|
155
|
+
return (0,jsx_runtime_.jsx)(base_table.Cell, {
|
|
156
|
+
ref: function ref(el) {
|
|
157
|
+
var _a;
|
|
158
|
+
if (index < fixedRowsIndex && el) {
|
|
159
|
+
var leftPosition = 0;
|
|
160
|
+
var cells = (_a = el.parentElement) === null || _a === void 0 ? void 0 : _a.querySelectorAll('.fixed');
|
|
161
|
+
if (cells) {
|
|
162
|
+
for (var i = 0; i < index; i++) {
|
|
163
|
+
leftPosition += cells[i].offsetWidth;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
el.style.left = leftPosition + 'px';
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
className: (0,classNames/* classNames */.x)(index < fixedRowsIndex && 'fixed'),
|
|
170
|
+
onClick: function onClick() {
|
|
171
|
+
var _a;
|
|
172
|
+
return (_a = item.onClickRow) === null || _a === void 0 ? void 0 : _a.call(item, item.id);
|
|
173
|
+
},
|
|
174
|
+
children: item.value
|
|
175
|
+
}, item.id);
|
|
176
|
+
})
|
|
177
|
+
})
|
|
178
|
+
}), (0,jsx_runtime_.jsx)(base_table.Body, {
|
|
179
|
+
className: 'data-table',
|
|
180
|
+
children: columns.map(function (column, columnIndex) {
|
|
181
|
+
var columnKey = Object.keys(column).join('__');
|
|
182
|
+
return (0,jsx_runtime_.jsx)(base_table.Row, {
|
|
183
|
+
className: 'data-table-row',
|
|
184
|
+
style: rowStyle,
|
|
185
|
+
children: rows.map(function (item, i) {
|
|
186
|
+
var cellData = column[item.id];
|
|
187
|
+
var cellValue = cellData === null || cellData === void 0 ? void 0 : cellData.value;
|
|
188
|
+
return (0,jsx_runtime_.jsx)(base_table.Cell, {
|
|
189
|
+
ref: function ref(el) {
|
|
190
|
+
var _a;
|
|
191
|
+
if (i < fixedRowsIndex && el) {
|
|
192
|
+
var leftPosition = 0;
|
|
193
|
+
var cells = (_a = el.parentElement) === null || _a === void 0 ? void 0 : _a.querySelectorAll('.fixed');
|
|
194
|
+
if (cells) {
|
|
195
|
+
for (var j = 0; j < i; j++) {
|
|
196
|
+
leftPosition += cells[j].offsetWidth;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
el.style.left = leftPosition + 'px';
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
className: (0,classNames/* classNames */.x)(i < fixedRowsIndex && 'fixed'),
|
|
203
|
+
"data-id": item.id,
|
|
204
|
+
onClick: function onClick() {
|
|
205
|
+
var _a;
|
|
206
|
+
return (_a = cellData === null || cellData === void 0 ? void 0 : cellData.onClickCell) === null || _a === void 0 ? void 0 : _a.call(cellData);
|
|
207
|
+
},
|
|
208
|
+
style: cellStyle,
|
|
209
|
+
children: typeof cellValue === 'function' ? cellValue(item) : cellValue
|
|
210
|
+
}, "".concat(columnKey, "__").concat(item.id));
|
|
211
|
+
})
|
|
212
|
+
}, "column__".concat(columnKey, "__").concat(columnIndex));
|
|
213
|
+
})
|
|
214
|
+
})]
|
|
215
|
+
});
|
|
216
|
+
});
|
|
217
|
+
DataTableBase.displayName = 'DataTable';
|
|
218
|
+
// forwardRef 는 제네릭을 잃는다. rows 의 id 로 columns 키를 좁히는 타입을 되살린다.
|
|
219
|
+
var DataTable = DataTableBase;
|
|
220
|
+
/* harmony default export */ const data_table = (DataTable);
|
|
221
|
+
|
|
222
|
+
/***/ },
|
|
223
|
+
|
|
224
|
+
/***/ 41
|
|
225
|
+
(module, __unused_webpack_exports, __nuri_require__) {
|
|
226
|
+
|
|
227
|
+
var x = (y) => {
|
|
228
|
+
var x = {}; __nuri_require__.d(x, y); return x
|
|
229
|
+
}
|
|
230
|
+
var y = (x) => (() => (x))
|
|
231
|
+
module.exports = x({ ["forwardRef"]: () => (__WEBPACK_EXTERNAL_MODULE_react__.forwardRef) });
|
|
232
|
+
|
|
233
|
+
/***/ },
|
|
234
|
+
|
|
235
|
+
/***/ 612
|
|
236
|
+
(module, __unused_webpack_exports, __nuri_require__) {
|
|
237
|
+
|
|
238
|
+
var x = (y) => {
|
|
239
|
+
var x = {}; __nuri_require__.d(x, y); return x
|
|
240
|
+
}
|
|
241
|
+
var y = (x) => (() => (x))
|
|
242
|
+
module.exports = x({ ["jsx"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsx), ["jsxs"]: () => (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8__.jsxs) });
|
|
243
|
+
|
|
244
|
+
/***/ }
|
|
245
|
+
|
|
246
|
+
/******/ });
|
|
247
|
+
/************************************************************************/
|
|
248
|
+
/******/ // The module cache
|
|
249
|
+
/******/ var __webpack_module_cache__ = {};
|
|
250
|
+
/******/
|
|
251
|
+
/******/ // The require function
|
|
252
|
+
/******/ function __nuri_require__(moduleId) {
|
|
253
|
+
/******/ // Check if module is in cache
|
|
254
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
255
|
+
/******/ if (cachedModule !== undefined) {
|
|
256
|
+
/******/ return cachedModule.exports;
|
|
257
|
+
/******/ }
|
|
258
|
+
/******/ // Create a new module (and put it into the cache)
|
|
259
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
260
|
+
/******/ // no module.id needed
|
|
261
|
+
/******/ // no module.loaded needed
|
|
262
|
+
/******/ exports: {}
|
|
263
|
+
/******/ };
|
|
264
|
+
/******/
|
|
265
|
+
/******/ // Execute the module function
|
|
266
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __nuri_require__);
|
|
267
|
+
/******/
|
|
268
|
+
/******/ // Return the exports of the module
|
|
269
|
+
/******/ return module.exports;
|
|
270
|
+
/******/ }
|
|
271
|
+
/******/
|
|
272
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
273
|
+
/******/ __nuri_require__.m = __webpack_modules__;
|
|
274
|
+
/******/
|
|
275
|
+
/************************************************************************/
|
|
276
|
+
/******/ /* webpack/runtime/chunk loaded */
|
|
277
|
+
/******/ (() => {
|
|
278
|
+
/******/ var deferred = [];
|
|
279
|
+
/******/ __nuri_require__.O = (result, chunkIds, fn, priority) => {
|
|
280
|
+
/******/ if(chunkIds) {
|
|
281
|
+
/******/ priority = priority || 0;
|
|
282
|
+
/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
|
|
283
|
+
/******/ deferred[i] = [chunkIds, fn, priority];
|
|
284
|
+
/******/ return;
|
|
285
|
+
/******/ }
|
|
286
|
+
/******/ var notFulfilled = Infinity;
|
|
287
|
+
/******/ for (var i = 0; i < deferred.length; i++) {
|
|
288
|
+
/******/ var [chunkIds, fn, priority] = deferred[i];
|
|
289
|
+
/******/ var fulfilled = true;
|
|
290
|
+
/******/ for (var j = 0; j < chunkIds.length; j++) {
|
|
291
|
+
/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__nuri_require__.O).every((key) => (__nuri_require__.O[key](chunkIds[j])))) {
|
|
292
|
+
/******/ chunkIds.splice(j--, 1);
|
|
293
|
+
/******/ } else {
|
|
294
|
+
/******/ fulfilled = false;
|
|
295
|
+
/******/ if(priority < notFulfilled) notFulfilled = priority;
|
|
296
|
+
/******/ }
|
|
297
|
+
/******/ }
|
|
298
|
+
/******/ if(fulfilled) {
|
|
299
|
+
/******/ deferred.splice(i--, 1)
|
|
300
|
+
/******/ var r = fn();
|
|
301
|
+
/******/ if (r !== undefined) result = r;
|
|
302
|
+
/******/ }
|
|
303
|
+
/******/ }
|
|
304
|
+
/******/ return result;
|
|
305
|
+
/******/ };
|
|
306
|
+
/******/ })();
|
|
307
|
+
/******/
|
|
308
|
+
/******/ /* webpack/runtime/define property getters */
|
|
309
|
+
/******/ (() => {
|
|
310
|
+
/******/ // define getter functions for harmony exports
|
|
311
|
+
/******/ __nuri_require__.d = (exports, definition) => {
|
|
312
|
+
/******/ for(var key in definition) {
|
|
313
|
+
/******/ if(__nuri_require__.o(definition, key) && !__nuri_require__.o(exports, key)) {
|
|
314
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
315
|
+
/******/ }
|
|
316
|
+
/******/ }
|
|
317
|
+
/******/ };
|
|
318
|
+
/******/ })();
|
|
319
|
+
/******/
|
|
320
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
321
|
+
/******/ (() => {
|
|
322
|
+
/******/ __nuri_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
323
|
+
/******/ })();
|
|
324
|
+
/******/
|
|
325
|
+
/******/ /* webpack/runtime/export webpack runtime */
|
|
326
|
+
/******/ export { __nuri_require__ };
|
|
327
|
+
/******/
|
|
328
|
+
/******/ /* webpack/runtime/import chunk loading */
|
|
329
|
+
/******/ (() => {
|
|
330
|
+
/******/ // no baseURI
|
|
331
|
+
/******/
|
|
332
|
+
/******/ // object to store loaded and loading chunks
|
|
333
|
+
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
334
|
+
/******/ // [resolve, Promise] = chunk loading, 0 = chunk loaded
|
|
335
|
+
/******/ var installedChunks = {
|
|
336
|
+
/******/ 284: 0
|
|
337
|
+
/******/ };
|
|
338
|
+
/******/
|
|
339
|
+
/******/ var installChunk = (data) => {
|
|
340
|
+
/******/ var {__webpack_esm_ids__, __webpack_esm_modules__, __webpack_esm_runtime__} = data;
|
|
341
|
+
/******/ // add "modules" to the modules object,
|
|
342
|
+
/******/ // then flag all "ids" as loaded and fire callback
|
|
343
|
+
/******/ var moduleId, chunkId, i = 0;
|
|
344
|
+
/******/ for(moduleId in __webpack_esm_modules__) {
|
|
345
|
+
/******/ if(__nuri_require__.o(__webpack_esm_modules__, moduleId)) {
|
|
346
|
+
/******/ __nuri_require__.m[moduleId] = __webpack_esm_modules__[moduleId];
|
|
347
|
+
/******/ }
|
|
348
|
+
/******/ }
|
|
349
|
+
/******/ if(__webpack_esm_runtime__) __webpack_esm_runtime__(__nuri_require__);
|
|
350
|
+
/******/ for(;i < __webpack_esm_ids__.length; i++) {
|
|
351
|
+
/******/ chunkId = __webpack_esm_ids__[i];
|
|
352
|
+
/******/ if(__nuri_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
353
|
+
/******/ installedChunks[chunkId][0]();
|
|
354
|
+
/******/ }
|
|
355
|
+
/******/ installedChunks[__webpack_esm_ids__[i]] = 0;
|
|
356
|
+
/******/ }
|
|
357
|
+
/******/ __nuri_require__.O();
|
|
358
|
+
/******/ }
|
|
359
|
+
/******/
|
|
360
|
+
/******/ // no chunk on demand loading
|
|
361
|
+
/******/
|
|
362
|
+
/******/ // no prefetching
|
|
363
|
+
/******/
|
|
364
|
+
/******/ // no preloaded
|
|
365
|
+
/******/
|
|
366
|
+
/******/ __nuri_require__.C = installChunk;
|
|
367
|
+
/******/
|
|
368
|
+
/******/ __nuri_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
|
|
369
|
+
/******/ // no HMR
|
|
370
|
+
/******/
|
|
371
|
+
/******/ // no HMR manifest
|
|
372
|
+
/******/ })();
|
|
373
|
+
/******/
|
|
374
|
+
/************************************************************************/
|
|
375
|
+
/******/
|
|
376
|
+
/******/ import * as __webpack_chunk_1__ from "./chunk-364.js";
|
|
377
|
+
/******/ __nuri_require__.C(__webpack_chunk_1__);
|
|
378
|
+
/******/
|
|
379
|
+
/******/ // startup
|
|
380
|
+
/******/ // Load entry module and return exports
|
|
381
|
+
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
382
|
+
/******/ var __webpack_exports__ = __nuri_require__.O(undefined, [364], () => (__nuri_require__(785)))
|
|
383
|
+
/******/ __webpack_exports__ = __nuri_require__.O(__webpack_exports__);
|
|
384
|
+
/******/ const __webpack_exports__default = __webpack_exports__.A;
|
|
385
|
+
/******/ export { __webpack_exports__default as default };
|
|
386
|
+
/******/
|