pds-dev-kit-web 2.0.0-beta.1 → 2.0.1
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/PaletteColor_Dark.json +3 -1
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +3 -1
- package/dist/src/common/styles/colorSet/UIColor.json +4 -1
- package/dist/src/common/styles/colorSet/index.d.ts +290 -283
- package/dist/src/common/styles/colorSet/index.js +3 -3
- package/dist/src/common/styles/colorSet/ui-type.d.ts +3 -0
- package/dist/src/desktop/components/AdminList/AdminList.js +21 -7
- package/dist/src/desktop/components/Dropdown/Dropdown.d.ts +2 -3
- package/dist/src/mobile/components/Dropdown/Dropdown.d.ts +2 -3
- package/dist/src/sub/AdminList/AdminList/AdminList.d.ts +14 -14
- package/dist/src/sub/AdminList/AdminList/AdminList.js +22 -8
- package/dist/src/sub/AdminList/AdminList/HeaderRow.d.ts +10 -10
- package/dist/src/sub/AdminList/AdminListHeader/AdminListHeader.d.ts +2 -3
- package/dist/src/sub/AdminList/AdminListHeader/HeaderBar.d.ts +1 -2
- package/dist/src/sub/AdminList/AdminListItem/AdminListItem.d.ts +3 -4
- package/dist/src/sub/AdminList/AdminListItem/AdminListItem.js +3 -3
- package/dist/src/sub/AdminList/BulkActionBar/BulkActionBar.d.ts +7 -8
- package/package.json +1 -1
- package/release-note.md +5 -3
|
@@ -278,5 +278,7 @@
|
|
|
278
278
|
"sys_storyboard_card_base_blue01": "blue30",
|
|
279
279
|
"sys_storyboard_card_base_red01": "red30",
|
|
280
280
|
"sys_storyboard_card_base_green01": "green50",
|
|
281
|
-
"sys_brand_secondary_variant": "darkgreen700"
|
|
281
|
+
"sys_brand_secondary_variant": "darkgreen700",
|
|
282
|
+
"sys_button_tooltip_base": "white/opacity50",
|
|
283
|
+
"sys_text_button_tooltip": "grey900"
|
|
282
284
|
}
|
|
@@ -278,5 +278,7 @@
|
|
|
278
278
|
"sys_storyboard_card_base_blue01": "blue30",
|
|
279
279
|
"sys_storyboard_card_base_red01": "red30",
|
|
280
280
|
"sys_storyboard_card_base_green01": "green50",
|
|
281
|
-
"sys_brand_secondary_variant": "green700"
|
|
281
|
+
"sys_brand_secondary_variant": "green700",
|
|
282
|
+
"sys_button_tooltip_base": "black/opacity70",
|
|
283
|
+
"sys_text_button_tooltip": "white"
|
|
282
284
|
}
|
|
@@ -744,5 +744,8 @@
|
|
|
744
744
|
"ui_95": "sys_storyboard_card_base_green01",
|
|
745
745
|
"ui_cpnt_icon_sys_brandsecondary_variant": "sys_brand_secondary_variant",
|
|
746
746
|
"ui_96": "sys_component_base_10",
|
|
747
|
-
"ui_97": "sys_component_base_black"
|
|
747
|
+
"ui_97": "sys_component_base_black",
|
|
748
|
+
"ui_cpnt_button_tooltip_base": "sys_button_tooltip_base",
|
|
749
|
+
"ui_cpnt_textlabel_button_tooltip": "sys_text_button_tooltip",
|
|
750
|
+
"ui_cpnt_textlabel_step_prev": "sys_text_white_opacity_01"
|
|
748
751
|
}
|
|
@@ -102,289 +102,7 @@ declare const colorSet: {
|
|
|
102
102
|
blue30: string;
|
|
103
103
|
red30: string;
|
|
104
104
|
};
|
|
105
|
-
readonly
|
|
106
|
-
sys_container_background_01: string;
|
|
107
|
-
sys_container_background_02: string;
|
|
108
|
-
sys_container_background_03: string;
|
|
109
|
-
sys_background_dimmed: string;
|
|
110
|
-
sys_text_grey_01: string;
|
|
111
|
-
sys_text_grey_02: string;
|
|
112
|
-
sys_text_grey_03: string;
|
|
113
|
-
sys_text_white: string;
|
|
114
|
-
sys_text_brand_primary: string;
|
|
115
|
-
sys_text_error_01: string;
|
|
116
|
-
sys_widget_grey_01: string;
|
|
117
|
-
sys_widget_grey_02: string;
|
|
118
|
-
sys_widget_grey_03: string;
|
|
119
|
-
sys_widget_primary_01: string;
|
|
120
|
-
sys_widget_error_01: string;
|
|
121
|
-
sys_widget_warning_01: string;
|
|
122
|
-
sys_widget_success_01: string;
|
|
123
|
-
sys_widget_white: string;
|
|
124
|
-
sys_border_area_01: string;
|
|
125
|
-
sys_border_line_01: string;
|
|
126
|
-
sys_border_line_02: string;
|
|
127
|
-
sys_border_line_03: string;
|
|
128
|
-
sys_border_line_04: string;
|
|
129
|
-
sys_border_line_05: string;
|
|
130
|
-
sys_component_base_01: string;
|
|
131
|
-
sys_component_base_02: string;
|
|
132
|
-
sys_component_base_03: string;
|
|
133
|
-
sys_component_base_red: string;
|
|
134
|
-
sys_component_base_white: string;
|
|
135
|
-
sys_component_base_white_opacity00: string;
|
|
136
|
-
sys_on_base_white_opacity00: string;
|
|
137
|
-
sys_on_base_white_opacity30: string;
|
|
138
|
-
sys_on_base_black_opacity20: string;
|
|
139
|
-
usr_brand_primary: string;
|
|
140
|
-
usr_brand_secondary: string;
|
|
141
|
-
usr_brand_secondary_variant: string;
|
|
142
|
-
usr_background: string;
|
|
143
|
-
usr_surface: string;
|
|
144
|
-
usr_border: string;
|
|
145
|
-
usr_on_brand_primary: string;
|
|
146
|
-
usr_on_brand_secondary: string;
|
|
147
|
-
usr_on_background: string;
|
|
148
|
-
usr_on_surface: string;
|
|
149
|
-
sys_widget_status_active_01: string;
|
|
150
|
-
sys_text_success_01: string;
|
|
151
|
-
sys_widget_grey_04: string;
|
|
152
|
-
sys_text_active: string;
|
|
153
|
-
sys_component_base_blue: string;
|
|
154
|
-
sys_on_base_black_opacity65: string;
|
|
155
|
-
sys_component_base_04: string;
|
|
156
|
-
sys_component_base_black: string;
|
|
157
|
-
sys_component_base_black_opacity00: string;
|
|
158
|
-
usr_text_brand_secondary_variant: string;
|
|
159
|
-
usr_text_brand_primary: string;
|
|
160
|
-
usr_text_brand_on_primary: string;
|
|
161
|
-
sys_text_brand_secondary_variant: string;
|
|
162
|
-
sys_component_base_navy: string;
|
|
163
|
-
sys_widget_lightgreen: string;
|
|
164
|
-
sys_border_line_06: string;
|
|
165
|
-
sys_background_dimmed_20: string;
|
|
166
|
-
sys_widget_pink: string;
|
|
167
|
-
sys_widget_primary_opacity20: string;
|
|
168
|
-
sys_widget_secondary_variant_01: string;
|
|
169
|
-
usr_component_base_brand_primary_opacity10: string;
|
|
170
|
-
sys_temp_grey_01: string;
|
|
171
|
-
sys_temp_grey_02: string;
|
|
172
|
-
sys_temp_grey_03: string;
|
|
173
|
-
sys_temp_grey_04: string;
|
|
174
|
-
sys_temp_grey_05: string;
|
|
175
|
-
sys_temp_white: string;
|
|
176
|
-
sys_temp_primary_01: string;
|
|
177
|
-
sys_temp_secondary_01: string;
|
|
178
|
-
sys_temp_red: string;
|
|
179
|
-
sys_temp_white_opacity_00: string;
|
|
180
|
-
sys_temp_dimmed: string;
|
|
181
|
-
sys_temp_black: string;
|
|
182
|
-
sys_temp_primary_02: string;
|
|
183
|
-
sys_temp_primary_03: string;
|
|
184
|
-
sys_temp_secondary_02: string;
|
|
185
|
-
sys_temp_lightgreen_01: string;
|
|
186
|
-
sys_text_grey_04: string;
|
|
187
|
-
sys_papp_post_social_background: string;
|
|
188
|
-
sys_papp_post_notice_background: string;
|
|
189
|
-
sys_papp_post_free_background: string;
|
|
190
|
-
sys_papp_vod_background: string;
|
|
191
|
-
sys_papp_vodplus_background: string;
|
|
192
|
-
sys_papp_live_background: string;
|
|
193
|
-
sys_selcontrols_base_off_disabled: string;
|
|
194
|
-
sys_selcontrols_base_on_disabled: string;
|
|
195
|
-
sys_component_base_blue_opacity10: string;
|
|
196
|
-
sys_component_base_05: string;
|
|
197
|
-
sys_background_dimmed_65: string;
|
|
198
|
-
sys_temp_grey_06: string;
|
|
199
|
-
sys_on_base_white_opacity10: string;
|
|
200
|
-
sys_on_base_black_opacity10: string;
|
|
201
|
-
sys_component_base_05_opacity00: string;
|
|
202
|
-
sys_papp_post_notice_link: string;
|
|
203
|
-
sys_component_base_navy_light: string;
|
|
204
|
-
sys_component_base_orange: string;
|
|
205
|
-
sys_component_base_grey: string;
|
|
206
|
-
sys_component_base_black_opacity80: string;
|
|
207
|
-
sys_text_darkgrey_02: string;
|
|
208
|
-
sys_border_line_darktheme_01: string;
|
|
209
|
-
sys_border_line_darktheme_02: string;
|
|
210
|
-
sys_component_base_darktheme_01: string;
|
|
211
|
-
sys_component_base_darktheme_02: string;
|
|
212
|
-
sys_component_base_darktheme_03: string;
|
|
213
|
-
sys_text_grey_darktheme_01: string;
|
|
214
|
-
sys_text_grey_darktheme_02: string;
|
|
215
|
-
sys_text_grey_darktheme_03: string;
|
|
216
|
-
sys_widget_grey_darktheme_01: string;
|
|
217
|
-
sys_widget_grey_darktheme_02: string;
|
|
218
|
-
sys_widget_grey_darktheme_03: string;
|
|
219
|
-
sys_component_base_green: string;
|
|
220
|
-
sys_text_error_darktheme_01: string;
|
|
221
|
-
sys_border_line_darktheme_03: string;
|
|
222
|
-
sys_border_line_darktheme_04: string;
|
|
223
|
-
usr_widget_brand_primary_darktheme_01: string;
|
|
224
|
-
usr_text_brand_primary_darktheme_01: string;
|
|
225
|
-
sys_component_base_black_opacity50: string;
|
|
226
|
-
sys_component_base_card: string;
|
|
227
|
-
sys_cpnt_textlabel_sys_brand_primary_opacity50: string;
|
|
228
|
-
sys_widget_green_01: string;
|
|
229
|
-
sys_component_base_black_opacity30: string;
|
|
230
|
-
sys_area_background: string;
|
|
231
|
-
sys_border_white_opacity30: string;
|
|
232
|
-
sys_container_background_wt: string;
|
|
233
|
-
sys_channeldesc_grey_03: string;
|
|
234
|
-
sys_channeldesc_border_grey_03: string;
|
|
235
|
-
sys_gradient_base_01: string;
|
|
236
|
-
sys_gradient_base_01_opacity00: string;
|
|
237
|
-
sys_channeldesc_background: string;
|
|
238
|
-
sys_channeldesc_bottomsheet_base: string;
|
|
239
|
-
sys_channeldesc_bottomsheet_border: string;
|
|
240
|
-
sys_channeldesc_contents_base: string;
|
|
241
|
-
sys_channeldesc_dimmed: string;
|
|
242
|
-
sys_gradient_base_01_opacity50: string;
|
|
243
|
-
sys_gradient_base_01_opacity75: string;
|
|
244
|
-
sys_gradient_base_01_opacity40: string;
|
|
245
|
-
sys_widget_black: string;
|
|
246
|
-
usr_temp_primary_01: string;
|
|
247
|
-
sys_cpnt_sheet_base_02_opacity50: string;
|
|
248
|
-
usr_menu_primarymenu_main: string;
|
|
249
|
-
usr_menu_primarymenu_sub: string;
|
|
250
|
-
usr_menu_secondarymenu_main: string;
|
|
251
|
-
usr_menu_secondarymenu_sub: string;
|
|
252
|
-
usr_menu_hover: string;
|
|
253
|
-
usr_menu_active: string;
|
|
254
|
-
usr_menu_background: string;
|
|
255
|
-
sys_cpnt_base_white_opacity50: string;
|
|
256
|
-
sys_widget_dark_01: string;
|
|
257
|
-
usr_menu_background_gradient_opacity00: string;
|
|
258
|
-
sys_border_line_white: string;
|
|
259
|
-
sys_component_base_white_opacity10: string;
|
|
260
|
-
sys_cpnt_sheet_base_01: string;
|
|
261
|
-
sys_component_base_white_opacity20: string;
|
|
262
|
-
sys_border_line_07: string;
|
|
263
|
-
sys_border_line_white_opacity50: string;
|
|
264
|
-
sys_background_dimmed_02: string;
|
|
265
|
-
sys_border_line_08: string;
|
|
266
|
-
sys_component_base_06: string;
|
|
267
|
-
sys_component_base_07: string;
|
|
268
|
-
sys_border_line_09: string;
|
|
269
|
-
sys_component_base_darktheme_04: string;
|
|
270
|
-
sys_border_line_10: string;
|
|
271
|
-
sys_component_base_darktheme_05: string;
|
|
272
|
-
sys_border_line_darktheme_05: string;
|
|
273
|
-
sys_component_base_darktheme_06: string;
|
|
274
|
-
sys_border_line_darktheme_06: string;
|
|
275
|
-
sys_border_line_darktheme_07: string;
|
|
276
|
-
sys_border_line_11: string;
|
|
277
|
-
sys_base_dimmed_01: string;
|
|
278
|
-
sys_kakao: string;
|
|
279
|
-
sys_border_line_12: string;
|
|
280
|
-
sys_component_base_08: string;
|
|
281
|
-
sys_text_social_login_01: string;
|
|
282
|
-
sys_text_social_login_02: string;
|
|
283
|
-
sys_papp_livechat_link: string;
|
|
284
|
-
sys_text_lighttone_grey_01: string;
|
|
285
|
-
sys_widget_lighttone_primary_01: string;
|
|
286
|
-
sys_text_lighttone_grey_02: string;
|
|
287
|
-
sys_component_base_09: string;
|
|
288
|
-
sys_component_base_darktheme_opacity20: string;
|
|
289
|
-
sys_component_base_darktheme_disabled_opacity20: string;
|
|
290
|
-
sys_border_white_opacity00: string;
|
|
291
|
-
sys_border_line_darktheme_07_opacity00: string;
|
|
292
|
-
sys_border_line_darktheme_02_opacity20: string;
|
|
293
|
-
sys_border_line_darktheme_03_opacity20: string;
|
|
294
|
-
sys_border_line_darktheme_07_opacity20: string;
|
|
295
|
-
sys_component_base_grey_02_opacity80: string;
|
|
296
|
-
sys_component_base_10: string;
|
|
297
|
-
sys_component_pastel_base_01: string;
|
|
298
|
-
sys_component_pastel_base_02: string;
|
|
299
|
-
sys_component_pastel_base_03: string;
|
|
300
|
-
sys_component_pastel_base_04: string;
|
|
301
|
-
sys_component_pastel_base_05: string;
|
|
302
|
-
sys_component_base_11: string;
|
|
303
|
-
sys_loading_skeleton_01: string;
|
|
304
|
-
sys_loading_skeleton_02: string;
|
|
305
|
-
sys_loading_linear_bar: string;
|
|
306
|
-
sys_loading_linear_base: string;
|
|
307
|
-
sys_loading_three_bar: string;
|
|
308
|
-
sys_widget_grey_05: string;
|
|
309
|
-
sys_menu_background_transparent: string;
|
|
310
|
-
sys_container_background_04: string;
|
|
311
|
-
sys_menu_button_base: string;
|
|
312
|
-
sys_background_dimmed_03: string;
|
|
313
|
-
sys_cpnt_sheet_base_03: string;
|
|
314
|
-
sys_dimmed_gradient_01: string;
|
|
315
|
-
sys_dimmed_gradient_02: string;
|
|
316
|
-
sys_border_line_13: string;
|
|
317
|
-
sys_component_base_12: string;
|
|
318
|
-
sys_border_line_14: string;
|
|
319
|
-
sys_component_base_13: string;
|
|
320
|
-
sys_component_base_14: string;
|
|
321
|
-
sys_component_base_15: string;
|
|
322
|
-
sys_component_base_16: string;
|
|
323
|
-
sys_component_base_17: string;
|
|
324
|
-
sys_widget_red_01: string;
|
|
325
|
-
sys_widget_orange_01: string;
|
|
326
|
-
sys_text_warning_01: string;
|
|
327
|
-
sys_component_base_18: string;
|
|
328
|
-
sys_cpnt_sheet_base_04: string;
|
|
329
|
-
sys_cpnt_sheet_base_05: string;
|
|
330
|
-
sys_cpnt_sheet_base_06: string;
|
|
331
|
-
sys_facebook: string;
|
|
332
|
-
sys_component_base_19: string;
|
|
333
|
-
sys_cpnt_pagination_dot_01: string;
|
|
334
|
-
sys_cpnt_pagination_dot_02: string;
|
|
335
|
-
sys_component_base_white_opacity50: string;
|
|
336
|
-
sys_component_base_20: string;
|
|
337
|
-
sys_component_base_22: string;
|
|
338
|
-
sys_component_base_21: string;
|
|
339
|
-
sys_component_border_white_opacity20: string;
|
|
340
|
-
sys_component_base_23: string;
|
|
341
|
-
sys_component_base_darkgreen: string;
|
|
342
|
-
sys_component_base_24: string;
|
|
343
|
-
sys_border_line_15: string;
|
|
344
|
-
sys_border_line_16: string;
|
|
345
|
-
sys_component_base_hover_01: string;
|
|
346
|
-
sys_component_on_base_01: string;
|
|
347
|
-
sys_component_on_base_02: string;
|
|
348
|
-
sys_component_on_base_03: string;
|
|
349
|
-
sys_component_on_base_04: string;
|
|
350
|
-
sys_component_on_base_05: string;
|
|
351
|
-
sys_component_base_hover_02: string;
|
|
352
|
-
sys_component_base_pressed_01: string;
|
|
353
|
-
sys_widget_white_02: string;
|
|
354
|
-
sys_component_base_hover_03: string;
|
|
355
|
-
sys_component_base_pressed_02: string;
|
|
356
|
-
sys_component_base_25: string;
|
|
357
|
-
sys_editor_base_pages: string;
|
|
358
|
-
sys_editor_base_papp: string;
|
|
359
|
-
sys_text_black: string;
|
|
360
|
-
sys_component_base_26: string;
|
|
361
|
-
sys_component_base_27: string;
|
|
362
|
-
sys_component_base_28: string;
|
|
363
|
-
sys_widget_sidebar_label_text: string;
|
|
364
|
-
sys_component_base_hover_darktheme: string;
|
|
365
|
-
sys_component_base_pressed_darktheme: string;
|
|
366
|
-
sys_component_base_hover_white: string;
|
|
367
|
-
sys_component_base_pressed_white: string;
|
|
368
|
-
sys_component_base_hover_transparent: string;
|
|
369
|
-
sys_component_base_pressed_transparent: string;
|
|
370
|
-
sys_text_white_opacity_01: string;
|
|
371
|
-
sys_component_base_hover_04: string;
|
|
372
|
-
sys_component_base_pressed_03: string;
|
|
373
|
-
sys_cpnt_sheet_base_07: string;
|
|
374
|
-
sys_cpnt_sheet_base_08: string;
|
|
375
|
-
sys_cpnt_sheet_base_09: string;
|
|
376
|
-
sys_cpnt_sheet_base_10: string;
|
|
377
|
-
sys_component_base_29: string;
|
|
378
|
-
sys_storyboard_group_base_grey01: string;
|
|
379
|
-
sys_storyboard_group_base_blue01: string;
|
|
380
|
-
sys_storyboard_group_base_red01: string;
|
|
381
|
-
sys_storyboard_group_base_green01: string;
|
|
382
|
-
sys_storyboard_card_base_blue01: string;
|
|
383
|
-
sys_storyboard_card_base_red01: string;
|
|
384
|
-
sys_storyboard_card_base_green01: string;
|
|
385
|
-
sys_brand_secondary_variant: string;
|
|
386
|
-
};
|
|
387
|
-
readonly PaletteColor_light: {
|
|
105
|
+
readonly PaletteColor_light: {
|
|
388
106
|
sys_container_background_01: string;
|
|
389
107
|
sys_container_background_02: string;
|
|
390
108
|
sys_container_background_03: string;
|
|
@@ -665,6 +383,8 @@ declare const colorSet: {
|
|
|
665
383
|
sys_storyboard_card_base_red01: string;
|
|
666
384
|
sys_storyboard_card_base_green01: string;
|
|
667
385
|
sys_brand_secondary_variant: string;
|
|
386
|
+
sys_button_tooltip_base: string;
|
|
387
|
+
sys_text_button_tooltip: string;
|
|
668
388
|
};
|
|
669
389
|
readonly UIColor: {
|
|
670
390
|
ui_cpnt_button_fill_base_primary: string;
|
|
@@ -1413,6 +1133,293 @@ declare const colorSet: {
|
|
|
1413
1133
|
ui_cpnt_icon_sys_brandsecondary_variant: string;
|
|
1414
1134
|
ui_96: string;
|
|
1415
1135
|
ui_97: string;
|
|
1136
|
+
ui_cpnt_button_tooltip_base: string;
|
|
1137
|
+
ui_cpnt_textlabel_button_tooltip: string;
|
|
1138
|
+
ui_cpnt_textlabel_step_prev: string;
|
|
1139
|
+
};
|
|
1140
|
+
readonly PaletteColor_Dark: {
|
|
1141
|
+
sys_container_background_01: string;
|
|
1142
|
+
sys_container_background_02: string;
|
|
1143
|
+
sys_container_background_03: string;
|
|
1144
|
+
sys_background_dimmed: string;
|
|
1145
|
+
sys_text_grey_01: string;
|
|
1146
|
+
sys_text_grey_02: string;
|
|
1147
|
+
sys_text_grey_03: string;
|
|
1148
|
+
sys_text_white: string;
|
|
1149
|
+
sys_text_brand_primary: string;
|
|
1150
|
+
sys_text_error_01: string;
|
|
1151
|
+
sys_widget_grey_01: string;
|
|
1152
|
+
sys_widget_grey_02: string;
|
|
1153
|
+
sys_widget_grey_03: string;
|
|
1154
|
+
sys_widget_primary_01: string;
|
|
1155
|
+
sys_widget_error_01: string;
|
|
1156
|
+
sys_widget_warning_01: string;
|
|
1157
|
+
sys_widget_success_01: string;
|
|
1158
|
+
sys_widget_white: string;
|
|
1159
|
+
sys_border_area_01: string;
|
|
1160
|
+
sys_border_line_01: string;
|
|
1161
|
+
sys_border_line_02: string;
|
|
1162
|
+
sys_border_line_03: string;
|
|
1163
|
+
sys_border_line_04: string;
|
|
1164
|
+
sys_border_line_05: string;
|
|
1165
|
+
sys_component_base_01: string;
|
|
1166
|
+
sys_component_base_02: string;
|
|
1167
|
+
sys_component_base_03: string;
|
|
1168
|
+
sys_component_base_red: string;
|
|
1169
|
+
sys_component_base_white: string;
|
|
1170
|
+
sys_component_base_white_opacity00: string;
|
|
1171
|
+
sys_on_base_white_opacity00: string;
|
|
1172
|
+
sys_on_base_white_opacity30: string;
|
|
1173
|
+
sys_on_base_black_opacity20: string;
|
|
1174
|
+
usr_brand_primary: string;
|
|
1175
|
+
usr_brand_secondary: string;
|
|
1176
|
+
usr_brand_secondary_variant: string;
|
|
1177
|
+
usr_background: string;
|
|
1178
|
+
usr_surface: string;
|
|
1179
|
+
usr_border: string;
|
|
1180
|
+
usr_on_brand_primary: string;
|
|
1181
|
+
usr_on_brand_secondary: string;
|
|
1182
|
+
usr_on_background: string;
|
|
1183
|
+
usr_on_surface: string;
|
|
1184
|
+
sys_widget_status_active_01: string;
|
|
1185
|
+
sys_text_success_01: string;
|
|
1186
|
+
sys_widget_grey_04: string;
|
|
1187
|
+
sys_text_active: string;
|
|
1188
|
+
sys_component_base_blue: string;
|
|
1189
|
+
sys_on_base_black_opacity65: string;
|
|
1190
|
+
sys_component_base_04: string;
|
|
1191
|
+
sys_component_base_black: string;
|
|
1192
|
+
sys_component_base_black_opacity00: string;
|
|
1193
|
+
usr_text_brand_secondary_variant: string;
|
|
1194
|
+
usr_text_brand_primary: string;
|
|
1195
|
+
usr_text_brand_on_primary: string;
|
|
1196
|
+
sys_text_brand_secondary_variant: string;
|
|
1197
|
+
sys_component_base_navy: string;
|
|
1198
|
+
sys_widget_lightgreen: string;
|
|
1199
|
+
sys_border_line_06: string;
|
|
1200
|
+
sys_background_dimmed_20: string;
|
|
1201
|
+
sys_widget_pink: string;
|
|
1202
|
+
sys_widget_primary_opacity20: string;
|
|
1203
|
+
sys_widget_secondary_variant_01: string;
|
|
1204
|
+
usr_component_base_brand_primary_opacity10: string;
|
|
1205
|
+
sys_temp_grey_01: string;
|
|
1206
|
+
sys_temp_grey_02: string;
|
|
1207
|
+
sys_temp_grey_03: string;
|
|
1208
|
+
sys_temp_grey_04: string;
|
|
1209
|
+
sys_temp_grey_05: string;
|
|
1210
|
+
sys_temp_white: string;
|
|
1211
|
+
sys_temp_primary_01: string;
|
|
1212
|
+
sys_temp_secondary_01: string;
|
|
1213
|
+
sys_temp_red: string;
|
|
1214
|
+
sys_temp_white_opacity_00: string;
|
|
1215
|
+
sys_temp_dimmed: string;
|
|
1216
|
+
sys_temp_black: string;
|
|
1217
|
+
sys_temp_primary_02: string;
|
|
1218
|
+
sys_temp_primary_03: string;
|
|
1219
|
+
sys_temp_secondary_02: string;
|
|
1220
|
+
sys_temp_lightgreen_01: string;
|
|
1221
|
+
sys_text_grey_04: string;
|
|
1222
|
+
sys_papp_post_social_background: string;
|
|
1223
|
+
sys_papp_post_notice_background: string;
|
|
1224
|
+
sys_papp_post_free_background: string;
|
|
1225
|
+
sys_papp_vod_background: string;
|
|
1226
|
+
sys_papp_vodplus_background: string;
|
|
1227
|
+
sys_papp_live_background: string;
|
|
1228
|
+
sys_selcontrols_base_off_disabled: string;
|
|
1229
|
+
sys_selcontrols_base_on_disabled: string;
|
|
1230
|
+
sys_component_base_blue_opacity10: string;
|
|
1231
|
+
sys_component_base_05: string;
|
|
1232
|
+
sys_background_dimmed_65: string;
|
|
1233
|
+
sys_temp_grey_06: string;
|
|
1234
|
+
sys_on_base_white_opacity10: string;
|
|
1235
|
+
sys_on_base_black_opacity10: string;
|
|
1236
|
+
sys_component_base_05_opacity00: string;
|
|
1237
|
+
sys_papp_post_notice_link: string;
|
|
1238
|
+
sys_component_base_navy_light: string;
|
|
1239
|
+
sys_component_base_orange: string;
|
|
1240
|
+
sys_component_base_grey: string;
|
|
1241
|
+
sys_component_base_black_opacity80: string;
|
|
1242
|
+
sys_text_darkgrey_02: string;
|
|
1243
|
+
sys_border_line_darktheme_01: string;
|
|
1244
|
+
sys_border_line_darktheme_02: string;
|
|
1245
|
+
sys_component_base_darktheme_01: string;
|
|
1246
|
+
sys_component_base_darktheme_02: string;
|
|
1247
|
+
sys_component_base_darktheme_03: string;
|
|
1248
|
+
sys_text_grey_darktheme_01: string;
|
|
1249
|
+
sys_text_grey_darktheme_02: string;
|
|
1250
|
+
sys_text_grey_darktheme_03: string;
|
|
1251
|
+
sys_widget_grey_darktheme_01: string;
|
|
1252
|
+
sys_widget_grey_darktheme_02: string;
|
|
1253
|
+
sys_widget_grey_darktheme_03: string;
|
|
1254
|
+
sys_component_base_green: string;
|
|
1255
|
+
sys_text_error_darktheme_01: string;
|
|
1256
|
+
sys_border_line_darktheme_03: string;
|
|
1257
|
+
sys_border_line_darktheme_04: string;
|
|
1258
|
+
usr_widget_brand_primary_darktheme_01: string;
|
|
1259
|
+
usr_text_brand_primary_darktheme_01: string;
|
|
1260
|
+
sys_component_base_black_opacity50: string;
|
|
1261
|
+
sys_component_base_card: string;
|
|
1262
|
+
sys_cpnt_textlabel_sys_brand_primary_opacity50: string;
|
|
1263
|
+
sys_widget_green_01: string;
|
|
1264
|
+
sys_component_base_black_opacity30: string;
|
|
1265
|
+
sys_area_background: string;
|
|
1266
|
+
sys_border_white_opacity30: string;
|
|
1267
|
+
sys_container_background_wt: string;
|
|
1268
|
+
sys_channeldesc_grey_03: string;
|
|
1269
|
+
sys_channeldesc_border_grey_03: string;
|
|
1270
|
+
sys_gradient_base_01: string;
|
|
1271
|
+
sys_gradient_base_01_opacity00: string;
|
|
1272
|
+
sys_channeldesc_background: string;
|
|
1273
|
+
sys_channeldesc_bottomsheet_base: string;
|
|
1274
|
+
sys_channeldesc_bottomsheet_border: string;
|
|
1275
|
+
sys_channeldesc_contents_base: string;
|
|
1276
|
+
sys_channeldesc_dimmed: string;
|
|
1277
|
+
sys_gradient_base_01_opacity50: string;
|
|
1278
|
+
sys_gradient_base_01_opacity75: string;
|
|
1279
|
+
sys_gradient_base_01_opacity40: string;
|
|
1280
|
+
sys_widget_black: string;
|
|
1281
|
+
usr_temp_primary_01: string;
|
|
1282
|
+
sys_cpnt_sheet_base_02_opacity50: string;
|
|
1283
|
+
usr_menu_primarymenu_main: string;
|
|
1284
|
+
usr_menu_primarymenu_sub: string;
|
|
1285
|
+
usr_menu_secondarymenu_main: string;
|
|
1286
|
+
usr_menu_secondarymenu_sub: string;
|
|
1287
|
+
usr_menu_hover: string;
|
|
1288
|
+
usr_menu_active: string;
|
|
1289
|
+
usr_menu_background: string;
|
|
1290
|
+
sys_cpnt_base_white_opacity50: string;
|
|
1291
|
+
sys_widget_dark_01: string;
|
|
1292
|
+
usr_menu_background_gradient_opacity00: string;
|
|
1293
|
+
sys_border_line_white: string;
|
|
1294
|
+
sys_component_base_white_opacity10: string;
|
|
1295
|
+
sys_cpnt_sheet_base_01: string;
|
|
1296
|
+
sys_component_base_white_opacity20: string;
|
|
1297
|
+
sys_border_line_07: string;
|
|
1298
|
+
sys_border_line_white_opacity50: string;
|
|
1299
|
+
sys_background_dimmed_02: string;
|
|
1300
|
+
sys_border_line_08: string;
|
|
1301
|
+
sys_component_base_06: string;
|
|
1302
|
+
sys_component_base_07: string;
|
|
1303
|
+
sys_border_line_09: string;
|
|
1304
|
+
sys_component_base_darktheme_04: string;
|
|
1305
|
+
sys_border_line_10: string;
|
|
1306
|
+
sys_component_base_darktheme_05: string;
|
|
1307
|
+
sys_border_line_darktheme_05: string;
|
|
1308
|
+
sys_component_base_darktheme_06: string;
|
|
1309
|
+
sys_border_line_darktheme_06: string;
|
|
1310
|
+
sys_border_line_darktheme_07: string;
|
|
1311
|
+
sys_border_line_11: string;
|
|
1312
|
+
sys_base_dimmed_01: string;
|
|
1313
|
+
sys_kakao: string;
|
|
1314
|
+
sys_border_line_12: string;
|
|
1315
|
+
sys_component_base_08: string;
|
|
1316
|
+
sys_text_social_login_01: string;
|
|
1317
|
+
sys_text_social_login_02: string;
|
|
1318
|
+
sys_papp_livechat_link: string;
|
|
1319
|
+
sys_text_lighttone_grey_01: string;
|
|
1320
|
+
sys_widget_lighttone_primary_01: string;
|
|
1321
|
+
sys_text_lighttone_grey_02: string;
|
|
1322
|
+
sys_component_base_09: string;
|
|
1323
|
+
sys_component_base_darktheme_opacity20: string;
|
|
1324
|
+
sys_component_base_darktheme_disabled_opacity20: string;
|
|
1325
|
+
sys_border_white_opacity00: string;
|
|
1326
|
+
sys_border_line_darktheme_07_opacity00: string;
|
|
1327
|
+
sys_border_line_darktheme_02_opacity20: string;
|
|
1328
|
+
sys_border_line_darktheme_03_opacity20: string;
|
|
1329
|
+
sys_border_line_darktheme_07_opacity20: string;
|
|
1330
|
+
sys_component_base_grey_02_opacity80: string;
|
|
1331
|
+
sys_component_base_10: string;
|
|
1332
|
+
sys_component_pastel_base_01: string;
|
|
1333
|
+
sys_component_pastel_base_02: string;
|
|
1334
|
+
sys_component_pastel_base_03: string;
|
|
1335
|
+
sys_component_pastel_base_04: string;
|
|
1336
|
+
sys_component_pastel_base_05: string;
|
|
1337
|
+
sys_component_base_11: string;
|
|
1338
|
+
sys_loading_skeleton_01: string;
|
|
1339
|
+
sys_loading_skeleton_02: string;
|
|
1340
|
+
sys_loading_linear_bar: string;
|
|
1341
|
+
sys_loading_linear_base: string;
|
|
1342
|
+
sys_loading_three_bar: string;
|
|
1343
|
+
sys_widget_grey_05: string;
|
|
1344
|
+
sys_menu_background_transparent: string;
|
|
1345
|
+
sys_container_background_04: string;
|
|
1346
|
+
sys_menu_button_base: string;
|
|
1347
|
+
sys_background_dimmed_03: string;
|
|
1348
|
+
sys_cpnt_sheet_base_03: string;
|
|
1349
|
+
sys_dimmed_gradient_01: string;
|
|
1350
|
+
sys_dimmed_gradient_02: string;
|
|
1351
|
+
sys_border_line_13: string;
|
|
1352
|
+
sys_component_base_12: string;
|
|
1353
|
+
sys_border_line_14: string;
|
|
1354
|
+
sys_component_base_13: string;
|
|
1355
|
+
sys_component_base_14: string;
|
|
1356
|
+
sys_component_base_15: string;
|
|
1357
|
+
sys_component_base_16: string;
|
|
1358
|
+
sys_component_base_17: string;
|
|
1359
|
+
sys_widget_red_01: string;
|
|
1360
|
+
sys_widget_orange_01: string;
|
|
1361
|
+
sys_text_warning_01: string;
|
|
1362
|
+
sys_component_base_18: string;
|
|
1363
|
+
sys_cpnt_sheet_base_04: string;
|
|
1364
|
+
sys_cpnt_sheet_base_05: string;
|
|
1365
|
+
sys_cpnt_sheet_base_06: string;
|
|
1366
|
+
sys_facebook: string;
|
|
1367
|
+
sys_component_base_19: string;
|
|
1368
|
+
sys_cpnt_pagination_dot_01: string;
|
|
1369
|
+
sys_cpnt_pagination_dot_02: string;
|
|
1370
|
+
sys_component_base_white_opacity50: string;
|
|
1371
|
+
sys_component_base_20: string;
|
|
1372
|
+
sys_component_base_22: string;
|
|
1373
|
+
sys_component_base_21: string;
|
|
1374
|
+
sys_component_border_white_opacity20: string;
|
|
1375
|
+
sys_component_base_23: string;
|
|
1376
|
+
sys_component_base_darkgreen: string;
|
|
1377
|
+
sys_component_base_24: string;
|
|
1378
|
+
sys_border_line_15: string;
|
|
1379
|
+
sys_border_line_16: string;
|
|
1380
|
+
sys_component_base_hover_01: string;
|
|
1381
|
+
sys_component_on_base_01: string;
|
|
1382
|
+
sys_component_on_base_02: string;
|
|
1383
|
+
sys_component_on_base_03: string;
|
|
1384
|
+
sys_component_on_base_04: string;
|
|
1385
|
+
sys_component_on_base_05: string;
|
|
1386
|
+
sys_component_base_hover_02: string;
|
|
1387
|
+
sys_component_base_pressed_01: string;
|
|
1388
|
+
sys_widget_white_02: string;
|
|
1389
|
+
sys_component_base_hover_03: string;
|
|
1390
|
+
sys_component_base_pressed_02: string;
|
|
1391
|
+
sys_component_base_25: string;
|
|
1392
|
+
sys_editor_base_pages: string;
|
|
1393
|
+
sys_editor_base_papp: string;
|
|
1394
|
+
sys_text_black: string;
|
|
1395
|
+
sys_component_base_26: string;
|
|
1396
|
+
sys_component_base_27: string;
|
|
1397
|
+
sys_component_base_28: string;
|
|
1398
|
+
sys_widget_sidebar_label_text: string;
|
|
1399
|
+
sys_component_base_hover_darktheme: string;
|
|
1400
|
+
sys_component_base_pressed_darktheme: string;
|
|
1401
|
+
sys_component_base_hover_white: string;
|
|
1402
|
+
sys_component_base_pressed_white: string;
|
|
1403
|
+
sys_component_base_hover_transparent: string;
|
|
1404
|
+
sys_component_base_pressed_transparent: string;
|
|
1405
|
+
sys_text_white_opacity_01: string;
|
|
1406
|
+
sys_component_base_hover_04: string;
|
|
1407
|
+
sys_component_base_pressed_03: string;
|
|
1408
|
+
sys_cpnt_sheet_base_07: string;
|
|
1409
|
+
sys_cpnt_sheet_base_08: string;
|
|
1410
|
+
sys_cpnt_sheet_base_09: string;
|
|
1411
|
+
sys_cpnt_sheet_base_10: string;
|
|
1412
|
+
sys_component_base_29: string;
|
|
1413
|
+
sys_storyboard_group_base_grey01: string;
|
|
1414
|
+
sys_storyboard_group_base_blue01: string;
|
|
1415
|
+
sys_storyboard_group_base_red01: string;
|
|
1416
|
+
sys_storyboard_group_base_green01: string;
|
|
1417
|
+
sys_storyboard_card_base_blue01: string;
|
|
1418
|
+
sys_storyboard_card_base_red01: string;
|
|
1419
|
+
sys_storyboard_card_base_green01: string;
|
|
1420
|
+
sys_brand_secondary_variant: string;
|
|
1421
|
+
sys_button_tooltip_base: string;
|
|
1422
|
+
sys_text_button_tooltip: string;
|
|
1416
1423
|
};
|
|
1417
1424
|
};
|
|
1418
1425
|
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"));
|
|
10
9
|
var UIColor_json_1 = __importDefault(require("./UIColor.json"));
|
|
10
|
+
var PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.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,
|
|
15
|
-
UIColor: UIColor_json_1.default
|
|
14
|
+
UIColor: UIColor_json_1.default,
|
|
15
|
+
PaletteColor_Dark: PaletteColor_Dark_json_1.default
|
|
16
16
|
};
|
|
17
17
|
exports.default = colorSet;
|
|
@@ -54,14 +54,24 @@ var TextLabel_1 = require("../TextLabel");
|
|
|
54
54
|
var BulkActionBar_1 = __importDefault(require("./BulkActionBar"));
|
|
55
55
|
var HeaderRow_1 = __importDefault(require("./HeaderRow"));
|
|
56
56
|
function AdminList(_a) {
|
|
57
|
-
var _b
|
|
57
|
+
var _b;
|
|
58
|
+
var _c = _a.selectionMode, selectionMode = _c === void 0 ? 'multi' : _c, _d = _a.headerRowMode, headerRowMode = _d === void 0 ? 'use' : _d, column2HeaderText = _a.column2HeaderText, column3HeaderText = _a.column3HeaderText, _e = _a.column3Width, column3Width = _e === void 0 ? 'small' : _e, column4HeaderText = _a.column4HeaderText, _f = _a.column4Width, column4Width = _f === void 0 ? 'small' : _f, column5HeaderText = _a.column5HeaderText, _g = _a.column5Width, column5Width = _g === void 0 ? 'small' : _g, column6HeaderText = _a.column6HeaderText, _h = _a.column6Width, column6Width = _h === void 0 ? 'small' : _h, column7HeaderText = _a.column7HeaderText, _j = _a.column7Width, column7Width = _j === void 0 ? 'small' : _j, column8HeaderText = _a.column8HeaderText, _k = _a.column8Width, column8Width = _k === void 0 ? 'small' : _k, column9HeaderText = _a.column9HeaderText, _l = _a.column9Width, column9Width = _l === void 0 ? 'small' : _l, column10HeaderText = _a.column10HeaderText, _m = _a.column10Width, column10Width = _m === void 0 ? 'small' : _m, _o = _a.dropdownMode, dropdownMode = _o === void 0 ? 'dropdown_amount1' : _o, dropdown1Value = _a.dropdown1Value, dropdown2Value = _a.dropdown2Value, dropdown3Value = _a.dropdown3Value, dropdown1DefaultText = _a.dropdown1DefaultText, dropdown2DefaultText = _a.dropdown2DefaultText, dropdown3DefaultText = _a.dropdown3DefaultText, dropdown1HintText = _a.dropdown1HintText, dropdown2HintText = _a.dropdown2HintText, dropdown3HintText = _a.dropdown3HintText, dropdown1ValueArray = _a.dropdown1ValueArray, dropdown2ValueArray = _a.dropdown2ValueArray, dropdown3ValueArray = _a.dropdown3ValueArray, _p = _a.quickActionBtnMode, quickActionBtnMode = _p === void 0 ? 'btn_amount2' : _p, quickActionBtn1Text = _a.quickActionBtn1Text, quickActionBtn2Text = _a.quickActionBtn2Text, quickActionBtn3Text = _a.quickActionBtn3Text, _q = _a.quickActionBtnType, quickActionBtnType = _q === void 0 ? 'fix' : _q, tBtnMode = _a.tBtnMode, tBtn1Text = _a.tBtn1Text, tBtn2Text = _a.tBtn2Text, tBtn3Text = _a.tBtn3Text, emptyText = _a.emptyText, _r = _a.scrollMode, scrollMode = _r === void 0 ? 'infinite' : _r, _s = _a.scrollVisibleType, scrollVisibleType = _s === void 0 ? 'moving' : _s, selectedIds = _a.selectedIds, maintainIds = _a.maintainIds, children = _a.children, _t = _a.headerRowCheckboxName, headerRowCheckboxName = _t === void 0 ? 'all' : _t, _u = _a.flexibleHideInfoMode, flexibleHideInfoMode = _u === void 0 ? 'use' : _u, onChangeDropdown1 = _a.onChangeDropdown1, onChangeDropdown2 = _a.onChangeDropdown2, onChangeDropdown3 = _a.onChangeDropdown3, onClickTBtn1 = _a.onClickTBtn1, onClickTBtn2 = _a.onClickTBtn2, onClickTBtn3 = _a.onClickTBtn3, onClickQuickActionBtn1 = _a.onClickQuickActionBtn1, onClickQuickActionBtn2 = _a.onClickQuickActionBtn2, onClickQuickActionBtn3 = _a.onClickQuickActionBtn3, onSelect = _a.onSelect, quickActionBtn1State = _a.quickActionBtn1State, quickActionBtn2State = _a.quickActionBtn2State, quickActionBtn3State = _a.quickActionBtn3State, _v = _a.mBtnMode, mBtnMode = _v === void 0 ? 'mbtn_amount1' : _v, mBtn1Text = _a.mBtn1Text, mBtn2Text = _a.mBtn2Text, mBtn3Text = _a.mBtn3Text, onClickMBtn1 = _a.onClickMBtn1, onClickMBtn2 = _a.onClickMBtn2, onClickMBtn3 = _a.onClickMBtn3;
|
|
58
59
|
var selectAllMethods = (0, react_hook_form_1.useForm)();
|
|
59
60
|
var checkboxMethods = (0, react_hook_form_1.useForm)();
|
|
60
61
|
var isAllCheckboxSelected = (0, react_hook_form_1.useWatch)({
|
|
61
62
|
name: headerRowCheckboxName,
|
|
62
63
|
control: selectAllMethods.control
|
|
63
64
|
});
|
|
64
|
-
var
|
|
65
|
+
var _w = (0, react_1.useState)(false), isBulkActionBarOpen = _w[0], setIsBulkActionBarOpen = _w[1];
|
|
66
|
+
var childrenPropIds = [];
|
|
67
|
+
if (children && Array.isArray(children)) {
|
|
68
|
+
childrenPropIds = (_b = react_1.default.Children.map(children, function (child) {
|
|
69
|
+
if (react_1.default.isValidElement(child)) {
|
|
70
|
+
return child.props.id;
|
|
71
|
+
}
|
|
72
|
+
return null;
|
|
73
|
+
})) === null || _b === void 0 ? void 0 : _b.filter(Boolean);
|
|
74
|
+
}
|
|
65
75
|
/**
|
|
66
76
|
* @when AdminListItem이 선택되었을 때
|
|
67
77
|
* @expected 벌크액션바 활성화 여부와 체크박스 선택 여부를 결정합니다.
|
|
@@ -89,19 +99,23 @@ function AdminList(_a) {
|
|
|
89
99
|
}
|
|
90
100
|
setIsBulkActionBarOpen(true);
|
|
91
101
|
selectedIds.forEach(function (val) { return checkboxMethods.setValue(val.toString(), true); });
|
|
102
|
+
// NOTE Children에 포함된 요소의 id와 선택되어 있는 id를 비교해 전체 체크박스의 상태를 변경합니다.
|
|
103
|
+
var hasAllIds = childrenPropIds === null || childrenPropIds === void 0 ? void 0 : childrenPropIds.every(function (id) {
|
|
104
|
+
return selectedIds.some(function (selectedId) { return selectedId === id; });
|
|
105
|
+
});
|
|
106
|
+
selectAllMethods.setValue(headerRowCheckboxName, hasAllIds ? true : false);
|
|
92
107
|
}, [selectedIds, maintainIds]);
|
|
93
108
|
var handleSelectAllCheckbox = function () {
|
|
94
|
-
var
|
|
95
|
-
var basicIds = allIds.filter(function (id) { return !(maintainIds === null || maintainIds === void 0 ? void 0 : maintainIds.includes(id)); });
|
|
109
|
+
var basicIds = childrenPropIds === null || childrenPropIds === void 0 ? void 0 : childrenPropIds.filter(function (id) { return !(maintainIds === null || maintainIds === void 0 ? void 0 : maintainIds.includes(id)); });
|
|
96
110
|
if (!isAllCheckboxSelected) {
|
|
97
|
-
|
|
98
|
-
if (onSelect) {
|
|
111
|
+
childrenPropIds === null || childrenPropIds === void 0 ? void 0 : childrenPropIds.forEach(function (id) { return checkboxMethods.setValue(id.toString(), true); });
|
|
112
|
+
if (onSelect && basicIds) {
|
|
99
113
|
onSelect(basicIds);
|
|
100
114
|
}
|
|
101
115
|
return;
|
|
102
116
|
}
|
|
103
117
|
if (maintainIds === null || maintainIds === void 0 ? void 0 : maintainIds.length) {
|
|
104
|
-
basicIds.forEach(function (id) { return checkboxMethods.setValue(id.toString(), false); });
|
|
118
|
+
basicIds === null || basicIds === void 0 ? void 0 : basicIds.forEach(function (id) { return checkboxMethods.setValue(id.toString(), false); });
|
|
105
119
|
if (onSelect) {
|
|
106
120
|
onSelect([]);
|
|
107
121
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { PDSValueOption } from '../../../common';
|
|
3
|
-
import type { TFunctionResult } from 'i18next';
|
|
2
|
+
import type { PDSTextType, PDSValueOption } from '../../../common';
|
|
4
3
|
declare type DropDownValues = PDSValueOption & {
|
|
5
4
|
state?: 'normal' | 'disabled';
|
|
6
5
|
};
|
|
7
6
|
declare type Props = {
|
|
8
7
|
colorTheme?: 'none' | 'dark' | 'white';
|
|
9
|
-
hintText?:
|
|
8
|
+
hintText?: PDSTextType;
|
|
10
9
|
maxHeightItemNumber?: number;
|
|
11
10
|
defaultValue?: PDSValueOption;
|
|
12
11
|
value?: PDSValueOption | null;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { PDSValueOption } from '../../../common';
|
|
3
|
-
import type { TFunctionResult } from 'i18next';
|
|
2
|
+
import type { PDSTextType, PDSValueOption } from '../../../common';
|
|
4
3
|
declare type DropDownValues = PDSValueOption & {
|
|
5
4
|
state?: 'normal' | 'disabled';
|
|
6
5
|
};
|
|
@@ -8,7 +7,7 @@ declare type Props = {
|
|
|
8
7
|
colorTheme?: 'none' | 'dark' | 'white';
|
|
9
8
|
defaultValue?: PDSValueOption;
|
|
10
9
|
value?: PDSValueOption | null;
|
|
11
|
-
hintText?:
|
|
10
|
+
hintText?: PDSTextType;
|
|
12
11
|
maxHeightItemNumber?: number;
|
|
13
12
|
responsiveMode?: 'none' | 'use';
|
|
14
13
|
size?: 'large' | 'small';
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { BulkActionBar } from '../BulkActionBar';
|
|
3
3
|
import type { ToolBar } from '../ToolBar';
|
|
4
|
-
import type {
|
|
4
|
+
import type { PDSTextType } from '../../../common/types';
|
|
5
5
|
declare type ColumnWidthType = 'small' | 'medium' | 'large' | 'xlarge';
|
|
6
6
|
declare type Props = {
|
|
7
7
|
selectionMode?: 'none' | 'single' | 'multi';
|
|
8
8
|
headerRowMode?: 'none' | 'use';
|
|
9
|
-
column2HeaderText:
|
|
10
|
-
column3HeaderText?:
|
|
9
|
+
column2HeaderText: PDSTextType;
|
|
10
|
+
column3HeaderText?: PDSTextType;
|
|
11
11
|
column3Width?: ColumnWidthType;
|
|
12
|
-
column4HeaderText?:
|
|
12
|
+
column4HeaderText?: PDSTextType;
|
|
13
13
|
column4Width?: ColumnWidthType;
|
|
14
|
-
column5HeaderText?:
|
|
14
|
+
column5HeaderText?: PDSTextType;
|
|
15
15
|
column5Width?: ColumnWidthType;
|
|
16
|
-
column6HeaderText?:
|
|
16
|
+
column6HeaderText?: PDSTextType;
|
|
17
17
|
column6Width?: ColumnWidthType;
|
|
18
|
-
column7HeaderText?:
|
|
18
|
+
column7HeaderText?: PDSTextType;
|
|
19
19
|
column7Width?: ColumnWidthType;
|
|
20
|
-
column8HeaderText?:
|
|
20
|
+
column8HeaderText?: PDSTextType;
|
|
21
21
|
column8Width?: ColumnWidthType;
|
|
22
|
-
column9HeaderText?:
|
|
22
|
+
column9HeaderText?: PDSTextType;
|
|
23
23
|
column9Width?: ColumnWidthType;
|
|
24
|
-
column10HeaderText?:
|
|
24
|
+
column10HeaderText?: PDSTextType;
|
|
25
25
|
column10Width?: ColumnWidthType;
|
|
26
26
|
quickActionBtnMode?: 'none' | 'btn_amount1' | 'btn_amount2' | 'btn_amount3';
|
|
27
|
-
quickActionBtn1Text?:
|
|
28
|
-
quickActionBtn2Text?:
|
|
29
|
-
quickActionBtn3Text?:
|
|
27
|
+
quickActionBtn1Text?: PDSTextType;
|
|
28
|
+
quickActionBtn2Text?: PDSTextType;
|
|
29
|
+
quickActionBtn3Text?: PDSTextType;
|
|
30
30
|
quickActionBtnType?: 'hover' | 'fix';
|
|
31
|
-
emptyText?:
|
|
31
|
+
emptyText?: PDSTextType;
|
|
32
32
|
scrollMode?: 'infinite' | 'none' | 'page';
|
|
33
33
|
scrollVisibleType?: 'moving' | 'hidden' | 'visible';
|
|
34
34
|
headerRowCheckboxName?: string;
|
|
@@ -54,14 +54,24 @@ var components_2 = require("../../../hybrid/components");
|
|
|
54
54
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
55
55
|
var HeaderRow_1 = __importDefault(require("./HeaderRow"));
|
|
56
56
|
function AdminList(_a) {
|
|
57
|
-
var
|
|
57
|
+
var _b;
|
|
58
|
+
var toolBar = _a.toolBar, bulkActionBar = _a.bulkActionBar, _c = _a.selectionMode, selectionMode = _c === void 0 ? 'multi' : _c, _d = _a.headerRowMode, headerRowMode = _d === void 0 ? 'use' : _d, column2HeaderText = _a.column2HeaderText, column3HeaderText = _a.column3HeaderText, _e = _a.column3Width, column3Width = _e === void 0 ? 'small' : _e, column4HeaderText = _a.column4HeaderText, _f = _a.column4Width, column4Width = _f === void 0 ? 'small' : _f, column5HeaderText = _a.column5HeaderText, _g = _a.column5Width, column5Width = _g === void 0 ? 'small' : _g, column6HeaderText = _a.column6HeaderText, _h = _a.column6Width, column6Width = _h === void 0 ? 'small' : _h, column7HeaderText = _a.column7HeaderText, _j = _a.column7Width, column7Width = _j === void 0 ? 'small' : _j, column8HeaderText = _a.column8HeaderText, _k = _a.column8Width, column8Width = _k === void 0 ? 'small' : _k, column9HeaderText = _a.column9HeaderText, _l = _a.column9Width, column9Width = _l === void 0 ? 'small' : _l, column10HeaderText = _a.column10HeaderText, _m = _a.column10Width, column10Width = _m === void 0 ? 'small' : _m, _o = _a.quickActionBtnMode, quickActionBtnMode = _o === void 0 ? 'btn_amount2' : _o, quickActionBtn1Text = _a.quickActionBtn1Text, quickActionBtn2Text = _a.quickActionBtn2Text, quickActionBtn3Text = _a.quickActionBtn3Text, _p = _a.quickActionBtnType, quickActionBtnType = _p === void 0 ? 'fix' : _p, emptyText = _a.emptyText, _q = _a.scrollMode, scrollMode = _q === void 0 ? 'infinite' : _q, _r = _a.scrollVisibleType, scrollVisibleType = _r === void 0 ? 'moving' : _r, selectedIds = _a.selectedIds, maintainIds = _a.maintainIds, children = _a.children, _s = _a.headerRowCheckboxName, headerRowCheckboxName = _s === void 0 ? 'all' : _s, _t = _a.flexibleHideInfoMode, flexibleHideInfoMode = _t === void 0 ? 'use' : _t, onClickQuickActionBtn1 = _a.onClickQuickActionBtn1, onClickQuickActionBtn2 = _a.onClickQuickActionBtn2, onClickQuickActionBtn3 = _a.onClickQuickActionBtn3, onSelect = _a.onSelect;
|
|
58
59
|
var selectAllMethods = (0, react_hook_form_1.useForm)();
|
|
59
60
|
var checkboxMethods = (0, react_hook_form_1.useForm)();
|
|
60
61
|
var isAllCheckboxSelected = (0, react_hook_form_1.useWatch)({
|
|
61
62
|
name: headerRowCheckboxName,
|
|
62
63
|
control: selectAllMethods.control
|
|
63
64
|
});
|
|
64
|
-
var
|
|
65
|
+
var _u = (0, react_1.useState)(false), isBulkActionBarOpen = _u[0], setIsBulkActionBarOpen = _u[1];
|
|
66
|
+
var childrenPropIds = [];
|
|
67
|
+
if (children && Array.isArray(children)) {
|
|
68
|
+
childrenPropIds = (_b = react_1.default.Children.map(children, function (child) {
|
|
69
|
+
if (react_1.default.isValidElement(child)) {
|
|
70
|
+
return child.props.id;
|
|
71
|
+
}
|
|
72
|
+
return null;
|
|
73
|
+
})) === null || _b === void 0 ? void 0 : _b.filter(Boolean);
|
|
74
|
+
}
|
|
65
75
|
/**
|
|
66
76
|
* @when AdminListItem이 선택되었을 때
|
|
67
77
|
* @expected 벌크액션바 활성화 여부와 체크박스 선택 여부를 결정합니다.
|
|
@@ -72,7 +82,7 @@ function AdminList(_a) {
|
|
|
72
82
|
}
|
|
73
83
|
if (!selectedIds.length) {
|
|
74
84
|
checkboxMethods.reset();
|
|
75
|
-
selectAllMethods.
|
|
85
|
+
selectAllMethods.setValue(headerRowCheckboxName, false);
|
|
76
86
|
if (maintainIds === null || maintainIds === void 0 ? void 0 : maintainIds.length) {
|
|
77
87
|
setIsBulkActionBarOpen(true);
|
|
78
88
|
maintainIds.forEach(function (id) { return checkboxMethods.setValue(id.toString(), true); });
|
|
@@ -89,19 +99,23 @@ function AdminList(_a) {
|
|
|
89
99
|
}
|
|
90
100
|
setIsBulkActionBarOpen(true);
|
|
91
101
|
selectedIds.forEach(function (val) { return checkboxMethods.setValue(val.toString(), true); });
|
|
102
|
+
// NOTE Children에 포함된 요소의 id와 선택되어 있는 id를 비교해 전체 체크박스의 상태를 변경합니다.
|
|
103
|
+
var hasAllIds = childrenPropIds === null || childrenPropIds === void 0 ? void 0 : childrenPropIds.every(function (id) {
|
|
104
|
+
return selectedIds.some(function (selectedId) { return selectedId === id; });
|
|
105
|
+
});
|
|
106
|
+
selectAllMethods.setValue(headerRowCheckboxName, hasAllIds ? true : false);
|
|
92
107
|
}, [selectedIds, maintainIds]);
|
|
93
108
|
var handleSelectAllCheckbox = function () {
|
|
94
|
-
var
|
|
95
|
-
var basicIds = allIds.filter(function (id) { return !(maintainIds === null || maintainIds === void 0 ? void 0 : maintainIds.includes(id)); });
|
|
109
|
+
var basicIds = childrenPropIds === null || childrenPropIds === void 0 ? void 0 : childrenPropIds.filter(function (id) { return !(maintainIds === null || maintainIds === void 0 ? void 0 : maintainIds.includes(id)); });
|
|
96
110
|
if (!isAllCheckboxSelected) {
|
|
97
|
-
|
|
98
|
-
if (onSelect) {
|
|
111
|
+
childrenPropIds === null || childrenPropIds === void 0 ? void 0 : childrenPropIds.forEach(function (id) { return checkboxMethods.setValue(id.toString(), true); });
|
|
112
|
+
if (onSelect && basicIds) {
|
|
99
113
|
onSelect(basicIds);
|
|
100
114
|
}
|
|
101
115
|
return;
|
|
102
116
|
}
|
|
103
117
|
if (maintainIds === null || maintainIds === void 0 ? void 0 : maintainIds.length) {
|
|
104
|
-
basicIds.forEach(function (id) { return checkboxMethods.setValue(id.toString(), false); });
|
|
118
|
+
basicIds === null || basicIds === void 0 ? void 0 : basicIds.forEach(function (id) { return checkboxMethods.setValue(id.toString(), false); });
|
|
105
119
|
if (onSelect) {
|
|
106
120
|
onSelect([]);
|
|
107
121
|
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type {
|
|
2
|
+
import type { PDSTextType } from '../../../common/types';
|
|
3
3
|
declare type ColumnWidthType = 'small' | 'medium' | 'large' | 'xlarge';
|
|
4
4
|
declare type Props = {
|
|
5
5
|
selectionMode: 'none' | 'single' | 'multi';
|
|
6
|
-
column2HeaderText?:
|
|
7
|
-
column3HeaderText?:
|
|
6
|
+
column2HeaderText?: PDSTextType;
|
|
7
|
+
column3HeaderText?: PDSTextType;
|
|
8
8
|
column3HeaderWidth?: ColumnWidthType;
|
|
9
|
-
column4HeaderText?:
|
|
9
|
+
column4HeaderText?: PDSTextType;
|
|
10
10
|
column4HeaderWidth?: ColumnWidthType;
|
|
11
|
-
column5HeaderText?:
|
|
11
|
+
column5HeaderText?: PDSTextType;
|
|
12
12
|
column5HeaderWidth?: ColumnWidthType;
|
|
13
|
-
column6HeaderText?:
|
|
13
|
+
column6HeaderText?: PDSTextType;
|
|
14
14
|
column6HeaderWidth?: ColumnWidthType;
|
|
15
|
-
column7HeaderText?:
|
|
15
|
+
column7HeaderText?: PDSTextType;
|
|
16
16
|
column7HeaderWidth?: ColumnWidthType;
|
|
17
|
-
column8HeaderText?:
|
|
17
|
+
column8HeaderText?: PDSTextType;
|
|
18
18
|
column8HeaderWidth?: ColumnWidthType;
|
|
19
|
-
column9HeaderText?:
|
|
19
|
+
column9HeaderText?: PDSTextType;
|
|
20
20
|
column9HeaderWidth?: ColumnWidthType;
|
|
21
|
-
column10HeaderText?:
|
|
21
|
+
column10HeaderText?: PDSTextType;
|
|
22
22
|
column10HeaderWidth?: ColumnWidthType;
|
|
23
23
|
quickActionBtnType?: 'hover' | 'fix';
|
|
24
24
|
quickActionButtonCount?: number;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { PDSTextType, PDSValueOption } from '../../../common/types';
|
|
3
|
-
import type { TFunctionResult } from 'i18next';
|
|
4
3
|
declare type Props = {
|
|
5
4
|
headerBarSize?: 'regular' | 'small';
|
|
6
|
-
headerBarTitleText?:
|
|
5
|
+
headerBarTitleText?: PDSTextType;
|
|
7
6
|
tooltipText?: PDSTextType;
|
|
8
7
|
currentPage?: number;
|
|
9
8
|
totalPage?: number;
|
|
10
|
-
contentText?:
|
|
9
|
+
contentText?: PDSTextType;
|
|
11
10
|
dropdownTextArray?: PDSValueOption[];
|
|
12
11
|
dropdownDefaultValue?: PDSValueOption;
|
|
13
12
|
onChangeCount?: (option: PDSValueOption) => void;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { PDSTextType, PDSValueOption } from '../../../common/types';
|
|
3
|
-
import type { TFunctionResult } from 'i18next';
|
|
4
3
|
declare type Props = {
|
|
5
|
-
titleText?:
|
|
4
|
+
titleText?: PDSTextType;
|
|
6
5
|
tooltipText?: PDSTextType;
|
|
7
6
|
size?: 'regular' | 'small';
|
|
8
7
|
currentPage?: number;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { PDSTextType } from '../../../common/types';
|
|
3
|
-
import type { TFunctionResult } from 'i18next';
|
|
4
3
|
declare type ColumnWidthType = 'small' | 'medium' | 'large' | 'xlarge';
|
|
5
4
|
declare type ColumnTextType = 'normal' | 'active' | 'active2' | 'inactive' | 'report' | 'report2';
|
|
6
5
|
export declare type AdminListItemProps = {
|
|
@@ -38,9 +37,9 @@ export declare type AdminListItemProps = {
|
|
|
38
37
|
column10TextWidth?: ColumnWidthType;
|
|
39
38
|
column10TextStyleTheme?: ColumnTextType;
|
|
40
39
|
quickActionBtnMode?: 'none' | 'btn_amount1' | 'btn_amount2' | 'btn_amount3';
|
|
41
|
-
quickActionBtn1Text?:
|
|
42
|
-
quickActionBtn2Text?:
|
|
43
|
-
quickActionBtn3Text?:
|
|
40
|
+
quickActionBtn1Text?: PDSTextType;
|
|
41
|
+
quickActionBtn2Text?: PDSTextType;
|
|
42
|
+
quickActionBtn3Text?: PDSTextType;
|
|
44
43
|
quickActionBtnType?: 'hover' | 'fix';
|
|
45
44
|
quickActionBtn1State?: 'normal' | 'disabled';
|
|
46
45
|
quickActionBtn2State?: 'normal' | 'disabled';
|
|
@@ -152,7 +152,7 @@ var AdminListItem = (0, react_1.forwardRef)(function (_a, ref) {
|
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
return ((0, jsx_runtime_1.jsxs)(S_AdminListItem, __assign({ "x-pds-name": "AdminListItem", "x-pds-element-type": "component", "x-pds-device-type": "desktop", ref: ref, rowSize: rowSize, onClick: handleClick, isSelected: isSelected, quickActionBtnType: quickActionBtnType, flexibleHideInfoMode: flexibleHideInfoMode }, { children: [(0, jsx_runtime_1.jsx)(S_SelectionColumn, __assign({ rowSize: rowSize }, { children: selectionMode === 'multi' && ((0, jsx_runtime_1.jsx)(S_Selection, { children: (0, jsx_runtime_1.jsx)(components_1.Checkbox, { name: id.toString(), state: selectedState === 'maintain' ? 'disabled' : 'normal' }, void 0) }, void 0)) }), void 0), (0, jsx_runtime_1.jsxs)(S_ImageColumn, __assign({ rowSize: rowSize }, { children: [column2Type === 'image_text' && (rowSize === 'high' || rowSize === 'medium') && ((0, jsx_runtime_1.jsx)(S_ImageWrapper, __assign({ rowSize: rowSize }, { children: (0, jsx_runtime_1.jsx)(components_2.ImageView, { src: imageSrc, shapeType: imageShapeType, width: imageWidth, ratio: imageRatio, scaleType: imageScaleType, radius: imageShapeType === 'round' ? imageRadius : undefined, backgroundFillMode: "use" }, void 0) }), void 0)), (rowSize === 'low' || rowSize === 'medium') && ((0, jsx_runtime_1.jsx)(S_RowTextWrapper, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column2Text, styleTheme: "body2Bold", colorTheme: "sysTextPrimary", ellipsisMode: "use", lineLimit: 2 }, void 0) }, void 0)), rowSize === 'high' && ((0, jsx_runtime_1.jsx)(S_HighTextWrapper, __assign({ ref: contentRef, hasScroll: hasScroll }, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column2Text, styleTheme: "body2Bold", colorTheme: "sysTextPrimary" }, void 0) }), void 0))] }), void 0), column3Text && ((0, jsx_runtime_1.jsx)(S_Column, __assign({ columnSize: column3TextWidth, className: "hidableColumn" }, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column3Text, styleTheme: column3TextStyleTheme === 'normal' ? 'body2Regular' : 'body2Bold', colorTheme: getColumnColorTheme(column3TextStyleTheme)
|
|
155
|
+
return ((0, jsx_runtime_1.jsxs)(S_AdminListItem, __assign({ "x-pds-name": "AdminListItem", "x-pds-element-type": "component", "x-pds-device-type": "desktop", ref: ref, rowSize: rowSize, onClick: handleClick, isSelected: isSelected, quickActionBtnType: quickActionBtnType, flexibleHideInfoMode: flexibleHideInfoMode }, { children: [(0, jsx_runtime_1.jsx)(S_SelectionColumn, __assign({ rowSize: rowSize }, { children: selectionMode === 'multi' && ((0, jsx_runtime_1.jsx)(S_Selection, { children: (0, jsx_runtime_1.jsx)(components_1.Checkbox, { name: id.toString(), state: selectedState === 'maintain' ? 'disabled' : 'normal' }, void 0) }, void 0)) }), void 0), (0, jsx_runtime_1.jsxs)(S_ImageColumn, __assign({ rowSize: rowSize }, { children: [column2Type === 'image_text' && (rowSize === 'high' || rowSize === 'medium') && ((0, jsx_runtime_1.jsx)(S_ImageWrapper, __assign({ rowSize: rowSize }, { children: (0, jsx_runtime_1.jsx)(components_2.ImageView, { src: imageSrc, shapeType: imageShapeType, width: imageWidth, ratio: imageRatio, scaleType: imageScaleType, radius: imageShapeType === 'round' ? imageRadius : undefined, backgroundFillMode: "use" }, void 0) }), void 0)), (rowSize === 'low' || rowSize === 'medium') && ((0, jsx_runtime_1.jsx)(S_RowTextWrapper, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column2Text, styleTheme: "body2Bold", colorTheme: "sysTextPrimary", ellipsisMode: "use", lineLimit: 2 }, void 0) }, void 0)), rowSize === 'high' && ((0, jsx_runtime_1.jsx)(S_HighTextWrapper, __assign({ ref: contentRef, hasScroll: hasScroll }, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column2Text, styleTheme: "body2Bold", colorTheme: "sysTextPrimary" }, void 0) }), void 0))] }), void 0), column3Text && ((0, jsx_runtime_1.jsx)(S_Column, __assign({ columnSize: column3TextWidth, className: "hidableColumn" }, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column3Text, styleTheme: column3TextStyleTheme === 'normal' ? 'body2Regular' : 'body2Bold', colorTheme: getColumnColorTheme(column3TextStyleTheme) }, void 0) }), void 0)), column4Text && ((0, jsx_runtime_1.jsx)(S_Column, __assign({ columnSize: column4TextWidth, className: "hidableColumn" }, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column4Text, styleTheme: column4TextStyleTheme === 'normal' ? 'body2Regular' : 'body2Bold', colorTheme: getColumnColorTheme(column4TextStyleTheme) }, void 0) }), void 0)), column5Text && ((0, jsx_runtime_1.jsx)(S_Column, __assign({ columnSize: column5TextWidth, className: "hidableColumn" }, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column5Text, styleTheme: column5TextStyleTheme === 'normal' ? 'body2Regular' : 'body2Bold', colorTheme: getColumnColorTheme(column5TextStyleTheme) }, void 0) }), void 0)), column6Text && ((0, jsx_runtime_1.jsx)(S_Column, __assign({ columnSize: column6TextWidth, className: "hidableColumn" }, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column6Text, styleTheme: column6TextStyleTheme === 'normal' ? 'body2Regular' : 'body2Bold', colorTheme: getColumnColorTheme(column6TextStyleTheme) }, void 0) }), void 0)), column7Text && ((0, jsx_runtime_1.jsx)(S_Column, __assign({ columnSize: column7TextWidth, className: "hidableColumn" }, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column7Text, styleTheme: column7TextStyleTheme === 'normal' ? 'body2Regular' : 'body2Bold', colorTheme: getColumnColorTheme(column7TextStyleTheme) }, void 0) }), void 0)), column8Text && ((0, jsx_runtime_1.jsx)(S_Column, __assign({ columnSize: column8TextWidth, className: "hidableColumn" }, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column8Text, styleTheme: column8TextStyleTheme === 'normal' ? 'body2Regular' : 'body2Bold', colorTheme: getColumnColorTheme(column8TextStyleTheme) }, void 0) }), void 0)), column9Text && ((0, jsx_runtime_1.jsx)(S_Column, __assign({ columnSize: column9TextWidth, className: "hidableColumn" }, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column9Text, styleTheme: column9TextStyleTheme === 'normal' ? 'body2Regular' : 'body2Bold', colorTheme: getColumnColorTheme(column9TextStyleTheme) }, void 0) }), void 0)), column10Text && ((0, jsx_runtime_1.jsx)(S_Column, __assign({ columnSize: column10TextWidth, className: "hidableColumn" }, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: column10Text, styleTheme: column10TextStyleTheme === 'normal' ? 'body2Regular' : 'body2Bold', colorTheme: getColumnColorTheme(column10TextStyleTheme) }, void 0) }), void 0)), quickActionBtnMode !== 'none' && ((0, jsx_runtime_1.jsx)(S_QuickActionButtonBox, __assign({ quickActionBtnType: quickActionBtnType }, { children: quickActionButtons() }), void 0)), quickActionBtnType === 'hover' && (0, jsx_runtime_1.jsx)(components_2.Spacing, { size: "spacing_f", spacingType: "width" }, void 0)] }), void 0));
|
|
156
156
|
});
|
|
157
157
|
var highRow = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 200px;\n max-height: 200px;\n"], ["\n height: 200px;\n max-height: 200px;\n"])));
|
|
158
158
|
var mediumRow = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: 100px;\n max-height: 100px;\n"], ["\n height: 100px;\n max-height: 100px;\n"])));
|
|
@@ -160,7 +160,7 @@ var lowRow = (0, styled_components_1.css)(templateObject_3 || (templateObject_3
|
|
|
160
160
|
var smallColumnWidth = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n width: 56px;\n"], ["\n width: 56px;\n"])));
|
|
161
161
|
var mediumColumnWidth = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n width: 80px;\n"], ["\n width: 80px;\n"])));
|
|
162
162
|
var largeColumnWidth = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n width: 144px;\n"], ["\n width: 144px;\n"])));
|
|
163
|
-
var xlargeColumnWidth = (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n width:
|
|
163
|
+
var xlargeColumnWidth = (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n width: 240px;\n"], ["\n width: 240px;\n"])));
|
|
164
164
|
var fixedColumn = (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n"], ["\n align-items: center;\n display: flex;\n"])));
|
|
165
165
|
var hoverColumn = (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n height: 100%;\n"], ["\n height: 100%;\n"])));
|
|
166
166
|
var hoverQuickActionBtnBox = (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n display: none;\n height: 100%;\n position: absolute;\n right: 0;\n"], ["\n align-items: center;\n background-color: ", ";\n display: none;\n height: 100%;\n position: absolute;\n right: 0;\n"])), function (_a) {
|
|
@@ -248,7 +248,7 @@ var S_SelectionColumn = styled_components_1.default.div(templateObject_24 || (te
|
|
|
248
248
|
var hoverAdminListItem = (0, styled_components_1.css)(templateObject_25 || (templateObject_25 = __makeTemplateObject(["\n align-items: center;\n position: relative;\n"], ["\n align-items: center;\n position: relative;\n"])));
|
|
249
249
|
var fixedAdminListItem = (0, styled_components_1.css)(templateObject_26 || (templateObject_26 = __makeTemplateObject(["\n justify-content: space-between;\n"], ["\n justify-content: space-between;\n"])));
|
|
250
250
|
var flexibleHideColumnStyle = (0, styled_components_1.css)(templateObject_27 || (templateObject_27 = __makeTemplateObject(["\n @media only screen and (max-width: 1400px) {\n .hidableColumn {\n display: none;\n }\n }\n"], ["\n @media only screen and (max-width: 1400px) {\n .hidableColumn {\n display: none;\n }\n }\n"])));
|
|
251
|
-
var S_AdminListItem = styled_components_1.default.div(templateObject_28 || (templateObject_28 = __makeTemplateObject(["\n background-color: ", ";\n display: flex;\n padding-left: ", ";\n\n ", "\n\n ", ";\n ", "\n\n :hover {\n background-color: ", ";\n\n ", " {\n display: ", ";\n visibility: visible;\n }\n }\n\n &:last-child {\n margin-bottom: 88px;\n }\n\n ", "\n"], ["\n background-color: ", ";\n display: flex;\n padding-left: ", ";\n\n ", "\n\n ", ";\n ", "\n\n :hover {\n background-color: ", ";\n\n ", " {\n display: ", ";\n visibility: visible;\n }\n }\n\n &:last-child {\n margin-bottom: 88px;\n }\n\n ", "\n"])), function (_a) {
|
|
251
|
+
var S_AdminListItem = styled_components_1.default.div(templateObject_28 || (templateObject_28 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n display: flex;\n padding-left: ", ";\n\n ", "\n\n ", ";\n ", "\n\n :hover {\n background-color: ", ";\n\n ", " {\n display: ", ";\n visibility: visible;\n }\n }\n\n &:last-child {\n margin-bottom: 88px;\n }\n\n ", "\n"], ["\n align-items: center;\n background-color: ", ";\n display: flex;\n padding-left: ", ";\n\n ", "\n\n ", ";\n ", "\n\n :hover {\n background-color: ", ";\n\n ", " {\n display: ", ";\n visibility: visible;\n }\n }\n\n &:last-child {\n margin-bottom: 88px;\n }\n\n ", "\n"])), function (_a) {
|
|
252
252
|
var theme = _a.theme, isSelected = _a.isSelected;
|
|
253
253
|
return isSelected ? theme.ui_cpnt_datatable_base_selected : theme.ui_cpnt_datatable_base_default;
|
|
254
254
|
}, function (_a) {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { PDSValueOption } from '../../../common/types';
|
|
3
|
-
import type { TFunctionResult } from 'i18next';
|
|
2
|
+
import type { PDSTextType, PDSValueOption } from '../../../common/types';
|
|
4
3
|
declare type Props = {
|
|
5
4
|
itemCount?: number;
|
|
6
5
|
dropdownMode?: 'none' | 'dropdown_amount1' | 'dropdown_amount2' | 'dropdown_amount3';
|
|
@@ -10,16 +9,16 @@ declare type Props = {
|
|
|
10
9
|
dropdown1DefaultText?: PDSValueOption;
|
|
11
10
|
dropdown2DefaultText?: PDSValueOption;
|
|
12
11
|
dropdown3DefaultText?: PDSValueOption;
|
|
13
|
-
dropdown1HintText?:
|
|
14
|
-
dropdown2HintText?:
|
|
15
|
-
dropdown3HintText?:
|
|
12
|
+
dropdown1HintText?: PDSTextType;
|
|
13
|
+
dropdown2HintText?: PDSTextType;
|
|
14
|
+
dropdown3HintText?: PDSTextType;
|
|
16
15
|
dropdown1ValueArray?: PDSValueOption[];
|
|
17
16
|
dropdown2ValueArray?: PDSValueOption[];
|
|
18
17
|
dropdown3ValueArray?: PDSValueOption[];
|
|
19
18
|
tBtnMode?: 'none' | 'tbtn_amount1' | 'tbtn_amount2' | 'tbtn_amount3';
|
|
20
|
-
tBtn1Text?:
|
|
21
|
-
tBtn2Text?:
|
|
22
|
-
tBtn3Text?:
|
|
19
|
+
tBtn1Text?: PDSTextType;
|
|
20
|
+
tBtn2Text?: PDSTextType;
|
|
21
|
+
tBtn3Text?: PDSTextType;
|
|
23
22
|
onChangeDropdown1?: (value: PDSValueOption) => void;
|
|
24
23
|
onChangeDropdown2?: (value: PDSValueOption) => void;
|
|
25
24
|
onChangeDropdown3?: (value: PDSValueOption) => void;
|
package/package.json
CHANGED
package/release-note.md
CHANGED