pds-dev-kit-web 1.3.6 → 1.3.9
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/index.d.ts +2 -2
- package/dist/src/common/assets/icons/line/ArrowLeftThin.d.ts +4 -0
- package/dist/src/common/assets/icons/line/ArrowLeftThin.js +34 -0
- package/dist/src/common/assets/icons/line/ArrowRightThin.d.ts +4 -0
- package/dist/src/common/assets/icons/line/ArrowRightThin.js +34 -0
- package/dist/src/common/assets/icons/line/Download.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Download.js +34 -0
- package/dist/src/common/assets/icons/line/Folder.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Folder.js +34 -0
- package/dist/src/common/assets/icons/line/Question.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Question.js +34 -0
- package/dist/src/common/assets/icons/line/index.d.ts +5 -0
- package/dist/src/common/assets/icons/line/index.js +10 -0
- package/dist/src/common/index.d.ts +2 -2
- package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +12 -2
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +12 -2
- package/dist/src/common/styles/colorSet/UIColor.json +11 -1
- package/dist/src/common/styles/colorSet/index.d.ts +230 -200
- package/dist/src/common/styles/colorSet/index.js +4 -4
- package/dist/src/common/styles/colorSet/ui-type.d.ts +10 -0
- package/dist/src/desktop/components/AdminList/AdminList.d.ts +3 -2
- package/dist/src/desktop/components/AdminList/AdminList.js +52 -16
- package/dist/src/desktop/components/AdminList/HeaderRow.d.ts +1 -1
- package/dist/src/desktop/components/AdminList/HeaderRow.js +2 -2
- package/dist/src/desktop/components/AdminListHeader/AdminListHeader.d.ts +2 -1
- package/dist/src/desktop/components/AdminListHeader/AdminListHeader.js +4 -4
- package/dist/src/desktop/components/AdminListHeader/HeaderBar.d.ts +1 -2
- package/dist/src/desktop/components/AdminListHeader/HeaderBar.js +2 -2
- package/dist/src/desktop/components/AdminListItem/AdminListItem.d.ts +1 -1
- package/dist/src/desktop/components/AdminListItem/AdminListItem.js +9 -8
- package/dist/src/desktop/components/Checkbox/Checkbox.js +2 -1
- package/dist/src/desktop/components/DesktopBasicModal/DesktopBasicModal.d.ts +4 -1
- package/dist/src/desktop/components/DesktopBasicModal/DesktopBasicModal.js +4 -4
- package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.js +23 -19
- package/dist/src/desktop/components/Dropdown/Dropdown.d.ts +2 -2
- package/dist/src/desktop/components/Dropdown/Dropdown.js +3 -3
- package/dist/src/desktop/components/FilterBar/FilterBar.js +2 -2
- package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +4 -1
- package/dist/src/desktop/components/TextLabel/TextLabel.js +73 -8
- package/dist/src/desktop/layout/LayoutWF/LayoutWF.js +1 -1
- package/dist/src/desktop/layout/LayoutWS/LayoutWS.js +1 -1
- package/dist/src/desktop/layout/LayoutWT/LayoutWT.js +1 -1
- package/dist/src/mobile/components/Dropdown/Dropdown.d.ts +2 -2
- package/dist/src/mobile/components/Dropdown/Dropdown.js +2 -2
- package/package.json +1 -1
- package/release-note.md +18 -14
|
@@ -1,61 +1,4 @@
|
|
|
1
1
|
declare const colorSet: {
|
|
2
|
-
readonly SemanticColor: {
|
|
3
|
-
blue500: string;
|
|
4
|
-
blue700: string;
|
|
5
|
-
blue300: string;
|
|
6
|
-
green700: string;
|
|
7
|
-
green500: string;
|
|
8
|
-
green300: string;
|
|
9
|
-
red500: string;
|
|
10
|
-
grey900: string;
|
|
11
|
-
grey500: string;
|
|
12
|
-
grey400: string;
|
|
13
|
-
grey100: string;
|
|
14
|
-
grey50: string;
|
|
15
|
-
white: string;
|
|
16
|
-
black: string;
|
|
17
|
-
darkblue500: string;
|
|
18
|
-
grey950: string;
|
|
19
|
-
darkgrey900: string;
|
|
20
|
-
darkgrey500: string;
|
|
21
|
-
darkgrey400: string;
|
|
22
|
-
darkgrey100: string;
|
|
23
|
-
darkgrey50: string;
|
|
24
|
-
darkred500: string;
|
|
25
|
-
darkgreen700: string;
|
|
26
|
-
orange500: string;
|
|
27
|
-
darkorange500: string;
|
|
28
|
-
opacity00: string;
|
|
29
|
-
opacity20: string;
|
|
30
|
-
opacity30: string;
|
|
31
|
-
opacity65: string;
|
|
32
|
-
darkgreen500: string;
|
|
33
|
-
grey70: string;
|
|
34
|
-
navy500: string;
|
|
35
|
-
lightgreen500: string;
|
|
36
|
-
pink500: string;
|
|
37
|
-
darkgrey70: string;
|
|
38
|
-
darknavy500: string;
|
|
39
|
-
darkpink500: string;
|
|
40
|
-
darklightgreen500: string;
|
|
41
|
-
opacity10: string;
|
|
42
|
-
grey600: string;
|
|
43
|
-
darkgrey600: string;
|
|
44
|
-
skyblue500: string;
|
|
45
|
-
skyblue300: string;
|
|
46
|
-
pink300: string;
|
|
47
|
-
lightpink500: string;
|
|
48
|
-
darkblue300: string;
|
|
49
|
-
darkblue700: string;
|
|
50
|
-
darkgreen300: string;
|
|
51
|
-
darkskyblue500: string;
|
|
52
|
-
navy100: string;
|
|
53
|
-
darknavy100: string;
|
|
54
|
-
opacity80: string;
|
|
55
|
-
opacity50: string;
|
|
56
|
-
grey30: string;
|
|
57
|
-
opacity95: string;
|
|
58
|
-
};
|
|
59
2
|
readonly PaletteColor_Dark: {
|
|
60
3
|
sys_container_background_01: string;
|
|
61
4
|
sys_container_background_02: string;
|
|
@@ -199,6 +142,170 @@ declare const colorSet: {
|
|
|
199
142
|
sys_widget_black: string;
|
|
200
143
|
usr_temp_primary_01: string;
|
|
201
144
|
sys_cpnt_sheet_base_02_opacity50: string;
|
|
145
|
+
usr_menu_primarymenu_main: string;
|
|
146
|
+
usr_menu_primarymenu_sub: string;
|
|
147
|
+
usr_menu_secondarymenu_main: string;
|
|
148
|
+
usr_menu_secondarymenu_sub: string;
|
|
149
|
+
usr_menu_hover: string;
|
|
150
|
+
usr_menu_active: string;
|
|
151
|
+
usr_menu_background: string;
|
|
152
|
+
sys_cpnt_base_white_opacity50: string;
|
|
153
|
+
sys_widget_dark_01: string;
|
|
154
|
+
usr_menu_background_gradient_opacity00: string;
|
|
155
|
+
};
|
|
156
|
+
readonly PaletteColor_light: {
|
|
157
|
+
sys_container_background_01: string;
|
|
158
|
+
sys_container_background_02: string;
|
|
159
|
+
sys_container_background_03: string;
|
|
160
|
+
sys_background_dimmed: string;
|
|
161
|
+
sys_text_grey_01: string;
|
|
162
|
+
sys_text_grey_02: string;
|
|
163
|
+
sys_text_grey_03: string;
|
|
164
|
+
sys_text_white: string;
|
|
165
|
+
sys_text_brand_primary: string;
|
|
166
|
+
sys_text_error_01: string;
|
|
167
|
+
sys_widget_grey_01: string;
|
|
168
|
+
sys_widget_grey_02: string;
|
|
169
|
+
sys_widget_grey_03: string;
|
|
170
|
+
sys_widget_primary_01: string;
|
|
171
|
+
sys_widget_error_01: string;
|
|
172
|
+
sys_widget_warning_01: string;
|
|
173
|
+
sys_widget_success_01: string;
|
|
174
|
+
sys_widget_white: string;
|
|
175
|
+
sys_border_area_01: string;
|
|
176
|
+
sys_border_line_01: string;
|
|
177
|
+
sys_border_line_02: string;
|
|
178
|
+
sys_border_line_03: string;
|
|
179
|
+
sys_border_line_04: string;
|
|
180
|
+
sys_border_line_05: string;
|
|
181
|
+
sys_component_base_01: string;
|
|
182
|
+
sys_component_base_02: string;
|
|
183
|
+
sys_component_base_03: string;
|
|
184
|
+
sys_component_base_red: string;
|
|
185
|
+
sys_component_base_white: string;
|
|
186
|
+
sys_component_base_white_opacity00: string;
|
|
187
|
+
sys_on_base_white_opacity00: string;
|
|
188
|
+
sys_on_base_white_opacity30: string;
|
|
189
|
+
sys_on_base_black_opacity20: string;
|
|
190
|
+
usr_brand_primary: string;
|
|
191
|
+
usr_brand_secondary: string;
|
|
192
|
+
usr_brand_secondary_variant: string;
|
|
193
|
+
usr_background: string;
|
|
194
|
+
usr_surface: string;
|
|
195
|
+
usr_border: string;
|
|
196
|
+
usr_on_brand_primary: string;
|
|
197
|
+
usr_on_brand_secondary: string;
|
|
198
|
+
usr_on_background: string;
|
|
199
|
+
usr_on_surface: string;
|
|
200
|
+
sys_widget_status_active_01: string;
|
|
201
|
+
sys_text_success_01: string;
|
|
202
|
+
sys_widget_grey_04: string;
|
|
203
|
+
sys_text_active: string;
|
|
204
|
+
sys_component_base_blue: string;
|
|
205
|
+
sys_on_base_black_opacity65: string;
|
|
206
|
+
sys_component_base_04: string;
|
|
207
|
+
sys_component_base_black: string;
|
|
208
|
+
sys_component_base_black_opacity00: string;
|
|
209
|
+
usr_text_brand_secondary_variant: string;
|
|
210
|
+
usr_text_brand_primary: string;
|
|
211
|
+
usr_text_brand_on_primary: string;
|
|
212
|
+
sys_text_brand_secondary_variant: string;
|
|
213
|
+
sys_component_base_navy: string;
|
|
214
|
+
sys_widget_lightgreen: string;
|
|
215
|
+
sys_border_line_06: string;
|
|
216
|
+
sys_background_dimmed_20: string;
|
|
217
|
+
sys_widget_pink: string;
|
|
218
|
+
sys_widget_primary_opacity20: string;
|
|
219
|
+
sys_widget_secondary_variant_01: string;
|
|
220
|
+
usr_component_base_brand_primary_opacity10: string;
|
|
221
|
+
sys_temp_grey_01: string;
|
|
222
|
+
sys_temp_grey_02: string;
|
|
223
|
+
sys_temp_grey_03: string;
|
|
224
|
+
sys_temp_grey_04: string;
|
|
225
|
+
sys_temp_grey_05: string;
|
|
226
|
+
sys_temp_white: string;
|
|
227
|
+
sys_temp_primary_01: string;
|
|
228
|
+
sys_temp_secondary_01: string;
|
|
229
|
+
sys_temp_red: string;
|
|
230
|
+
sys_temp_white_opacity_00: string;
|
|
231
|
+
sys_temp_dimmed: string;
|
|
232
|
+
sys_temp_black: string;
|
|
233
|
+
sys_temp_primary_02: string;
|
|
234
|
+
sys_temp_primary_03: string;
|
|
235
|
+
sys_temp_secondary_02: string;
|
|
236
|
+
sys_temp_lightgreen_01: string;
|
|
237
|
+
sys_text_grey_04: string;
|
|
238
|
+
sys_papp_post_social_background: string;
|
|
239
|
+
sys_papp_post_notice_background: string;
|
|
240
|
+
sys_papp_post_free_background: string;
|
|
241
|
+
sys_papp_vod_background: string;
|
|
242
|
+
sys_papp_vodplus_background: string;
|
|
243
|
+
sys_papp_live_background: string;
|
|
244
|
+
sys_selcontrols_base_off_disabled: string;
|
|
245
|
+
sys_selcontrols_base_on_disabled: string;
|
|
246
|
+
sys_component_base_blue_opacity10: string;
|
|
247
|
+
sys_component_base_05: string;
|
|
248
|
+
sys_background_dimmed_65: string;
|
|
249
|
+
sys_temp_grey_06: string;
|
|
250
|
+
sys_on_base_white_opacity10: string;
|
|
251
|
+
sys_on_base_black_opacity10: string;
|
|
252
|
+
sys_component_base_05_opacity00: string;
|
|
253
|
+
sys_papp_post_notice_link: string;
|
|
254
|
+
sys_component_base_navy_light: string;
|
|
255
|
+
sys_component_base_orange: string;
|
|
256
|
+
sys_component_base_grey: string;
|
|
257
|
+
sys_component_base_black_opacity80: string;
|
|
258
|
+
sys_text_darkgrey_02: string;
|
|
259
|
+
sys_border_line_darktheme_01: string;
|
|
260
|
+
sys_border_line_darktheme_02: string;
|
|
261
|
+
sys_component_base_darktheme_01: string;
|
|
262
|
+
sys_component_base_darktheme_02: string;
|
|
263
|
+
sys_component_base_darktheme_03: string;
|
|
264
|
+
sys_text_grey_darktheme_01: string;
|
|
265
|
+
sys_text_grey_darktheme_02: string;
|
|
266
|
+
sys_text_grey_darktheme_03: string;
|
|
267
|
+
sys_widget_grey_darktheme_01: string;
|
|
268
|
+
sys_widget_grey_darktheme_02: string;
|
|
269
|
+
sys_widget_grey_darktheme_03: string;
|
|
270
|
+
sys_component_base_green: string;
|
|
271
|
+
sys_text_error_darktheme_01: string;
|
|
272
|
+
sys_border_line_darktheme_03: string;
|
|
273
|
+
sys_border_line_darktheme_04: string;
|
|
274
|
+
usr_widget_brand_primary_darktheme_01: string;
|
|
275
|
+
usr_text_brand_primary_darktheme_01: string;
|
|
276
|
+
sys_component_base_black_opacity50: string;
|
|
277
|
+
sys_component_base_card: string;
|
|
278
|
+
sys_cpnt_textlabel_sys_brand_primary_opacity50: string;
|
|
279
|
+
sys_widget_green_01: string;
|
|
280
|
+
sys_component_base_black_opacity30: string;
|
|
281
|
+
sys_area_background: string;
|
|
282
|
+
sys_border_white_opacity30: string;
|
|
283
|
+
sys_container_background_wt: string;
|
|
284
|
+
sys_channeldesc_grey_03: string;
|
|
285
|
+
sys_channeldesc_border_grey_03: string;
|
|
286
|
+
sys_gradient_base_01: string;
|
|
287
|
+
sys_gradient_base_01_opacity00: string;
|
|
288
|
+
sys_channeldesc_background: string;
|
|
289
|
+
sys_channeldesc_bottomsheet_base: string;
|
|
290
|
+
sys_channeldesc_bottomsheet_border: string;
|
|
291
|
+
sys_channeldesc_contents_base: string;
|
|
292
|
+
sys_channeldesc_dimmed: string;
|
|
293
|
+
sys_gradient_base_01_opacity50: string;
|
|
294
|
+
sys_gradient_base_01_opacity75: string;
|
|
295
|
+
sys_gradient_base_01_opacity40: string;
|
|
296
|
+
sys_widget_black: string;
|
|
297
|
+
usr_temp_primary_01: string;
|
|
298
|
+
sys_cpnt_sheet_base_02_opacity50: string;
|
|
299
|
+
usr_menu_primarymenu_main: string;
|
|
300
|
+
usr_menu_primarymenu_sub: string;
|
|
301
|
+
usr_menu_secondarymenu_main: string;
|
|
302
|
+
usr_menu_secondarymenu_sub: string;
|
|
303
|
+
usr_menu_hover: string;
|
|
304
|
+
usr_menu_active: string;
|
|
305
|
+
usr_menu_background: string;
|
|
306
|
+
sys_cpnt_base_white_opacity50: string;
|
|
307
|
+
sys_widget_dark_01: string;
|
|
308
|
+
usr_menu_background_gradient_opacity00: string;
|
|
202
309
|
};
|
|
203
310
|
readonly UIColor: {
|
|
204
311
|
ui_cpnt_button_fill_base_primary: string;
|
|
@@ -673,150 +780,73 @@ declare const colorSet: {
|
|
|
673
780
|
ui_cpnt_mask_base: string;
|
|
674
781
|
ui_temp_usr_primary_01: string;
|
|
675
782
|
ui_cpnt_sheet_base_02_opacity50: string;
|
|
783
|
+
ui_menu_primarymenu_main: string;
|
|
784
|
+
ui_menu_primarymenu_sub: string;
|
|
785
|
+
ui_menu_secondarymenu_main: string;
|
|
786
|
+
ui_menu_secondarymenu_sub: string;
|
|
787
|
+
ui_menu_hover: string;
|
|
788
|
+
ui_menu_active: string;
|
|
789
|
+
ui_menu_background: string;
|
|
790
|
+
ui_cpnt_video_progress_base: string;
|
|
791
|
+
ui_cpnt_icon_sys_dark: string;
|
|
792
|
+
ui_menu_background_gradient_opacity00: string;
|
|
676
793
|
};
|
|
677
|
-
readonly
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
sys_text_brand_secondary_variant: string;
|
|
734
|
-
sys_component_base_navy: string;
|
|
735
|
-
sys_widget_lightgreen: string;
|
|
736
|
-
sys_border_line_06: string;
|
|
737
|
-
sys_background_dimmed_20: string;
|
|
738
|
-
sys_widget_pink: string;
|
|
739
|
-
sys_widget_primary_opacity20: string;
|
|
740
|
-
sys_widget_secondary_variant_01: string;
|
|
741
|
-
usr_component_base_brand_primary_opacity10: string;
|
|
742
|
-
sys_temp_grey_01: string;
|
|
743
|
-
sys_temp_grey_02: string;
|
|
744
|
-
sys_temp_grey_03: string;
|
|
745
|
-
sys_temp_grey_04: string;
|
|
746
|
-
sys_temp_grey_05: string;
|
|
747
|
-
sys_temp_white: string;
|
|
748
|
-
sys_temp_primary_01: string;
|
|
749
|
-
sys_temp_secondary_01: string;
|
|
750
|
-
sys_temp_red: string;
|
|
751
|
-
sys_temp_white_opacity_00: string;
|
|
752
|
-
sys_temp_dimmed: string;
|
|
753
|
-
sys_temp_black: string;
|
|
754
|
-
sys_temp_primary_02: string;
|
|
755
|
-
sys_temp_primary_03: string;
|
|
756
|
-
sys_temp_secondary_02: string;
|
|
757
|
-
sys_temp_lightgreen_01: string;
|
|
758
|
-
sys_text_grey_04: string;
|
|
759
|
-
sys_papp_post_social_background: string;
|
|
760
|
-
sys_papp_post_notice_background: string;
|
|
761
|
-
sys_papp_post_free_background: string;
|
|
762
|
-
sys_papp_vod_background: string;
|
|
763
|
-
sys_papp_vodplus_background: string;
|
|
764
|
-
sys_papp_live_background: string;
|
|
765
|
-
sys_selcontrols_base_off_disabled: string;
|
|
766
|
-
sys_selcontrols_base_on_disabled: string;
|
|
767
|
-
sys_component_base_blue_opacity10: string;
|
|
768
|
-
sys_component_base_05: string;
|
|
769
|
-
sys_background_dimmed_65: string;
|
|
770
|
-
sys_temp_grey_06: string;
|
|
771
|
-
sys_on_base_white_opacity10: string;
|
|
772
|
-
sys_on_base_black_opacity10: string;
|
|
773
|
-
sys_component_base_05_opacity00: string;
|
|
774
|
-
sys_papp_post_notice_link: string;
|
|
775
|
-
sys_component_base_navy_light: string;
|
|
776
|
-
sys_component_base_orange: string;
|
|
777
|
-
sys_component_base_grey: string;
|
|
778
|
-
sys_component_base_black_opacity80: string;
|
|
779
|
-
sys_text_darkgrey_02: string;
|
|
780
|
-
sys_border_line_darktheme_01: string;
|
|
781
|
-
sys_border_line_darktheme_02: string;
|
|
782
|
-
sys_component_base_darktheme_01: string;
|
|
783
|
-
sys_component_base_darktheme_02: string;
|
|
784
|
-
sys_component_base_darktheme_03: string;
|
|
785
|
-
sys_text_grey_darktheme_01: string;
|
|
786
|
-
sys_text_grey_darktheme_02: string;
|
|
787
|
-
sys_text_grey_darktheme_03: string;
|
|
788
|
-
sys_widget_grey_darktheme_01: string;
|
|
789
|
-
sys_widget_grey_darktheme_02: string;
|
|
790
|
-
sys_widget_grey_darktheme_03: string;
|
|
791
|
-
sys_component_base_green: string;
|
|
792
|
-
sys_text_error_darktheme_01: string;
|
|
793
|
-
sys_border_line_darktheme_03: string;
|
|
794
|
-
sys_border_line_darktheme_04: string;
|
|
795
|
-
usr_widget_brand_primary_darktheme_01: string;
|
|
796
|
-
usr_text_brand_primary_darktheme_01: string;
|
|
797
|
-
sys_component_base_black_opacity50: string;
|
|
798
|
-
sys_component_base_card: string;
|
|
799
|
-
sys_cpnt_textlabel_sys_brand_primary_opacity50: string;
|
|
800
|
-
sys_widget_green_01: string;
|
|
801
|
-
sys_component_base_black_opacity30: string;
|
|
802
|
-
sys_area_background: string;
|
|
803
|
-
sys_border_white_opacity30: string;
|
|
804
|
-
sys_container_background_wt: string;
|
|
805
|
-
sys_channeldesc_grey_03: string;
|
|
806
|
-
sys_channeldesc_border_grey_03: string;
|
|
807
|
-
sys_gradient_base_01: string;
|
|
808
|
-
sys_gradient_base_01_opacity00: string;
|
|
809
|
-
sys_channeldesc_background: string;
|
|
810
|
-
sys_channeldesc_bottomsheet_base: string;
|
|
811
|
-
sys_channeldesc_bottomsheet_border: string;
|
|
812
|
-
sys_channeldesc_contents_base: string;
|
|
813
|
-
sys_channeldesc_dimmed: string;
|
|
814
|
-
sys_gradient_base_01_opacity50: string;
|
|
815
|
-
sys_gradient_base_01_opacity75: string;
|
|
816
|
-
sys_gradient_base_01_opacity40: string;
|
|
817
|
-
sys_widget_black: string;
|
|
818
|
-
usr_temp_primary_01: string;
|
|
819
|
-
sys_cpnt_sheet_base_02_opacity50: string;
|
|
794
|
+
readonly SemanticColor: {
|
|
795
|
+
blue500: string;
|
|
796
|
+
blue700: string;
|
|
797
|
+
blue300: string;
|
|
798
|
+
green700: string;
|
|
799
|
+
green500: string;
|
|
800
|
+
green300: string;
|
|
801
|
+
red500: string;
|
|
802
|
+
grey900: string;
|
|
803
|
+
grey500: string;
|
|
804
|
+
grey400: string;
|
|
805
|
+
grey100: string;
|
|
806
|
+
grey50: string;
|
|
807
|
+
white: string;
|
|
808
|
+
black: string;
|
|
809
|
+
darkblue500: string;
|
|
810
|
+
grey950: string;
|
|
811
|
+
darkgrey900: string;
|
|
812
|
+
darkgrey500: string;
|
|
813
|
+
darkgrey400: string;
|
|
814
|
+
darkgrey100: string;
|
|
815
|
+
darkgrey50: string;
|
|
816
|
+
darkred500: string;
|
|
817
|
+
darkgreen700: string;
|
|
818
|
+
orange500: string;
|
|
819
|
+
darkorange500: string;
|
|
820
|
+
opacity00: string;
|
|
821
|
+
opacity20: string;
|
|
822
|
+
opacity30: string;
|
|
823
|
+
opacity65: string;
|
|
824
|
+
darkgreen500: string;
|
|
825
|
+
grey70: string;
|
|
826
|
+
navy500: string;
|
|
827
|
+
lightgreen500: string;
|
|
828
|
+
pink500: string;
|
|
829
|
+
darkgrey70: string;
|
|
830
|
+
darknavy500: string;
|
|
831
|
+
darkpink500: string;
|
|
832
|
+
darklightgreen500: string;
|
|
833
|
+
opacity10: string;
|
|
834
|
+
grey600: string;
|
|
835
|
+
darkgrey600: string;
|
|
836
|
+
skyblue500: string;
|
|
837
|
+
skyblue300: string;
|
|
838
|
+
pink300: string;
|
|
839
|
+
lightpink500: string;
|
|
840
|
+
darkblue300: string;
|
|
841
|
+
darkblue700: string;
|
|
842
|
+
darkgreen300: string;
|
|
843
|
+
darkskyblue500: string;
|
|
844
|
+
navy100: string;
|
|
845
|
+
darknavy100: string;
|
|
846
|
+
opacity80: string;
|
|
847
|
+
opacity50: string;
|
|
848
|
+
grey30: string;
|
|
849
|
+
opacity95: string;
|
|
820
850
|
};
|
|
821
851
|
};
|
|
822
852
|
export default colorSet;
|
|
@@ -4,14 +4,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
/* eslint-disable import/order */
|
|
7
|
-
var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
|
|
8
7
|
var PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
|
|
9
|
-
var UIColor_json_1 = __importDefault(require("./UIColor.json"));
|
|
10
8
|
var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
|
|
9
|
+
var UIColor_json_1 = __importDefault(require("./UIColor.json"));
|
|
10
|
+
var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
|
|
11
11
|
var colorSet = {
|
|
12
|
-
SemanticColor: SemanticColor_json_1.default,
|
|
13
12
|
PaletteColor_Dark: PaletteColor_Dark_json_1.default,
|
|
13
|
+
PaletteColor_light: PaletteColor_light_json_1.default,
|
|
14
14
|
UIColor: UIColor_json_1.default,
|
|
15
|
-
|
|
15
|
+
SemanticColor: SemanticColor_json_1.default
|
|
16
16
|
};
|
|
17
17
|
exports.default = colorSet;
|
|
@@ -471,4 +471,14 @@ export interface UITheme {
|
|
|
471
471
|
ui_cpnt_mask_base: string;
|
|
472
472
|
ui_temp_usr_primary_01: string;
|
|
473
473
|
ui_cpnt_sheet_base_02_opacity50: string;
|
|
474
|
+
ui_menu_primarymenu_main: string;
|
|
475
|
+
ui_menu_primarymenu_sub: string;
|
|
476
|
+
ui_menu_secondarymenu_main: string;
|
|
477
|
+
ui_menu_secondarymenu_sub: string;
|
|
478
|
+
ui_menu_hover: string;
|
|
479
|
+
ui_menu_active: string;
|
|
480
|
+
ui_menu_background: string;
|
|
481
|
+
ui_cpnt_video_progress_base: string;
|
|
482
|
+
ui_cpnt_icon_sys_dark: string;
|
|
483
|
+
ui_menu_background_gradient_opacity00: string;
|
|
474
484
|
}
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { PDSValueOption } from '../../../common';
|
|
4
4
|
declare type ColumnWidthType = 'small' | 'medium' | 'large';
|
|
5
5
|
declare type Props = {
|
|
6
|
-
selectionMode?: 'none' | '
|
|
6
|
+
selectionMode?: 'none' | 'single' | 'multi';
|
|
7
7
|
headerRowMode?: 'none' | 'use';
|
|
8
8
|
column2HeaderText: TFunctionResult;
|
|
9
9
|
column3HeaderText?: TFunctionResult;
|
|
@@ -56,6 +56,7 @@ declare type Props = {
|
|
|
56
56
|
children?: React.ReactNode;
|
|
57
57
|
onSelect?: (ids: number[]) => void;
|
|
58
58
|
selectedIds?: number[];
|
|
59
|
+
maintainIds?: number[];
|
|
59
60
|
};
|
|
60
|
-
declare function AdminList({ selectionMode, headerRowMode, column2HeaderText, column3HeaderText, column3Width, column4HeaderText, column4Width, column5HeaderText, column5Width, column6HeaderText, column6Width, column7HeaderText, column7Width, column8HeaderText, column8Width, column9HeaderText, column9Width, column10HeaderText, column10Width, dropdownMode, dropdown1DefaultText, dropdown2DefaultText, dropdown3DefaultText, dropdown1ValueArray, dropdown2ValueArray, dropdown3ValueArray, quickActionBtnMode, quickActionBtn1Text, quickActionBtn2Text, quickActionBtn3Text, quickActionBtnType, quickActionBtn1State, quickActionBtn2State, quickActionBtn3State, mBtnMode, mBtn1Text, mBtn2Text, mBtn3Text, emptyText, scrollMode, scrollVisibleType, selectedIds, children, onChangeDropdown1, onChangeDropdown2, onChangeDropdown3, onClickMBtn1, onClickMBtn2, onClickMBtn3, onClickQuickActionBtn1, onClickQuickActionBtn2, onClickQuickActionBtn3, onSelect }: Props): JSX.Element;
|
|
61
|
+
declare function AdminList({ selectionMode, headerRowMode, column2HeaderText, column3HeaderText, column3Width, column4HeaderText, column4Width, column5HeaderText, column5Width, column6HeaderText, column6Width, column7HeaderText, column7Width, column8HeaderText, column8Width, column9HeaderText, column9Width, column10HeaderText, column10Width, dropdownMode, dropdown1DefaultText, dropdown2DefaultText, dropdown3DefaultText, dropdown1ValueArray, dropdown2ValueArray, dropdown3ValueArray, quickActionBtnMode, quickActionBtn1Text, quickActionBtn2Text, quickActionBtn3Text, quickActionBtnType, quickActionBtn1State, quickActionBtn2State, quickActionBtn3State, mBtnMode, mBtn1Text, mBtn2Text, mBtn3Text, emptyText, scrollMode, scrollVisibleType, selectedIds, maintainIds, children, onChangeDropdown1, onChangeDropdown2, onChangeDropdown3, onClickMBtn1, onClickMBtn2, onClickMBtn3, onClickQuickActionBtn1, onClickQuickActionBtn2, onClickQuickActionBtn3, onSelect }: Props): JSX.Element;
|
|
61
62
|
export default AdminList;
|
|
@@ -53,7 +53,7 @@ var TextLabel_1 = require("../TextLabel");
|
|
|
53
53
|
var BulkActionBar_1 = __importDefault(require("./BulkActionBar"));
|
|
54
54
|
var HeaderRow_1 = __importDefault(require("./HeaderRow"));
|
|
55
55
|
function AdminList(_a) {
|
|
56
|
-
var _b = _a.selectionMode, selectionMode = _b === void 0 ? '
|
|
56
|
+
var _b = _a.selectionMode, selectionMode = _b === void 0 ? 'multi' : _b, _c = _a.headerRowMode, headerRowMode = _c === void 0 ? 'use' : _c, column2HeaderText = _a.column2HeaderText, column3HeaderText = _a.column3HeaderText, _d = _a.column3Width, column3Width = _d === void 0 ? 'small' : _d, column4HeaderText = _a.column4HeaderText, _e = _a.column4Width, column4Width = _e === void 0 ? 'small' : _e, column5HeaderText = _a.column5HeaderText, _f = _a.column5Width, column5Width = _f === void 0 ? 'small' : _f, column6HeaderText = _a.column6HeaderText, _g = _a.column6Width, column6Width = _g === void 0 ? 'small' : _g, column7HeaderText = _a.column7HeaderText, _h = _a.column7Width, column7Width = _h === void 0 ? 'small' : _h, column8HeaderText = _a.column8HeaderText, _j = _a.column8Width, column8Width = _j === void 0 ? 'small' : _j, column9HeaderText = _a.column9HeaderText, _k = _a.column9Width, column9Width = _k === void 0 ? 'small' : _k, column10HeaderText = _a.column10HeaderText, _l = _a.column10Width, column10Width = _l === void 0 ? 'small' : _l, _m = _a.dropdownMode, dropdownMode = _m === void 0 ? 'dropdown_amount1' : _m, dropdown1DefaultText = _a.dropdown1DefaultText, dropdown2DefaultText = _a.dropdown2DefaultText, dropdown3DefaultText = _a.dropdown3DefaultText, dropdown1ValueArray = _a.dropdown1ValueArray, dropdown2ValueArray = _a.dropdown2ValueArray, dropdown3ValueArray = _a.dropdown3ValueArray, _o = _a.quickActionBtnMode, quickActionBtnMode = _o === void 0 ? 'btn_amount2' : _o, quickActionBtn1Text = _a.quickActionBtn1Text, quickActionBtn2Text = _a.quickActionBtn2Text, quickActionBtn3Text = _a.quickActionBtn3Text, _p = _a.quickActionBtnType, quickActionBtnType = _p === void 0 ? 'fix' : _p, _q = _a.quickActionBtn1State, quickActionBtn1State = _q === void 0 ? 'normal' : _q, _r = _a.quickActionBtn2State, quickActionBtn2State = _r === void 0 ? 'normal' : _r, _s = _a.quickActionBtn3State, quickActionBtn3State = _s === void 0 ? 'normal' : _s, _t = _a.mBtnMode, mBtnMode = _t === void 0 ? 'mbtn_amount1' : _t, mBtn1Text = _a.mBtn1Text, mBtn2Text = _a.mBtn2Text, mBtn3Text = _a.mBtn3Text, emptyText = _a.emptyText, _u = _a.scrollMode, scrollMode = _u === void 0 ? 'infinite' : _u, _v = _a.scrollVisibleType, scrollVisibleType = _v === void 0 ? 'moving' : _v, selectedIds = _a.selectedIds, maintainIds = _a.maintainIds, children = _a.children, onChangeDropdown1 = _a.onChangeDropdown1, onChangeDropdown2 = _a.onChangeDropdown2, onChangeDropdown3 = _a.onChangeDropdown3, onClickMBtn1 = _a.onClickMBtn1, onClickMBtn2 = _a.onClickMBtn2, onClickMBtn3 = _a.onClickMBtn3, onClickQuickActionBtn1 = _a.onClickQuickActionBtn1, onClickQuickActionBtn2 = _a.onClickQuickActionBtn2, onClickQuickActionBtn3 = _a.onClickQuickActionBtn3, onSelect = _a.onSelect;
|
|
57
57
|
var selectAllMethods = (0, react_hook_form_1.useForm)();
|
|
58
58
|
var checkboxMethods = (0, react_hook_form_1.useForm)();
|
|
59
59
|
var isAllCheckboxSelected = (0, react_hook_form_1.useWatch)({ name: 'all', control: selectAllMethods.control });
|
|
@@ -67,20 +67,39 @@ function AdminList(_a) {
|
|
|
67
67
|
return;
|
|
68
68
|
}
|
|
69
69
|
if (!selectedIds.length) {
|
|
70
|
-
setIsBulkActionBarOpen(false);
|
|
71
70
|
checkboxMethods.reset();
|
|
72
71
|
selectAllMethods.reset();
|
|
72
|
+
if (maintainIds === null || maintainIds === void 0 ? void 0 : maintainIds.length) {
|
|
73
|
+
setIsBulkActionBarOpen(true);
|
|
74
|
+
maintainIds.forEach(function (id) { return checkboxMethods.setValue(id.toString(), true); });
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
setIsBulkActionBarOpen(false);
|
|
78
|
+
}
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
if (selectionMode === 'single') {
|
|
82
|
+
checkboxMethods.reset();
|
|
83
|
+
checkboxMethods.setValue(selectedIds[0].toString(), true);
|
|
73
84
|
return;
|
|
74
85
|
}
|
|
75
86
|
setIsBulkActionBarOpen(true);
|
|
76
87
|
selectedIds.forEach(function (val) { return checkboxMethods.setValue(val.toString(), true); });
|
|
77
88
|
}, [selectedIds]);
|
|
78
89
|
var handleSelectAllCheckbox = function () {
|
|
90
|
+
var allIds = Object.keys(checkboxMethods.getValues()).map(function (id) { return Number(id); });
|
|
91
|
+
var basicIds = allIds.filter(function (id) { return !(maintainIds === null || maintainIds === void 0 ? void 0 : maintainIds.includes(id)); });
|
|
79
92
|
if (!isAllCheckboxSelected) {
|
|
80
|
-
var allIds = Object.keys(checkboxMethods.getValues()).map(function (id) { return Number(id); });
|
|
81
93
|
allIds.forEach(function (id) { return checkboxMethods.setValue(id.toString(), true); });
|
|
82
94
|
if (onSelect) {
|
|
83
|
-
onSelect(
|
|
95
|
+
onSelect(basicIds);
|
|
96
|
+
}
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
if (maintainIds === null || maintainIds === void 0 ? void 0 : maintainIds.length) {
|
|
100
|
+
basicIds.forEach(function (id) { return checkboxMethods.setValue(id.toString(), false); });
|
|
101
|
+
if (onSelect) {
|
|
102
|
+
onSelect([]);
|
|
84
103
|
}
|
|
85
104
|
return;
|
|
86
105
|
}
|
|
@@ -93,17 +112,27 @@ function AdminList(_a) {
|
|
|
93
112
|
if (!selectedIds) {
|
|
94
113
|
return;
|
|
95
114
|
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
115
|
+
switch (selectionMode) {
|
|
116
|
+
case 'single': {
|
|
117
|
+
if (onSelect) {
|
|
118
|
+
onSelect([id]);
|
|
119
|
+
}
|
|
120
|
+
break;
|
|
121
|
+
}
|
|
122
|
+
case 'multi': {
|
|
123
|
+
if (!selectedIds.includes(id)) {
|
|
124
|
+
checkboxMethods.setValue(id.toString(), true);
|
|
125
|
+
if (onSelect) {
|
|
126
|
+
onSelect(__spreadArray(__spreadArray([], selectedIds, true), [id], false));
|
|
127
|
+
}
|
|
128
|
+
return;
|
|
129
|
+
}
|
|
130
|
+
var filteredId = selectedIds.filter(function (prevId) { return prevId !== id; });
|
|
131
|
+
checkboxMethods.setValue(id.toString(), false);
|
|
132
|
+
if (onSelect) {
|
|
133
|
+
onSelect(filteredId);
|
|
134
|
+
}
|
|
100
135
|
}
|
|
101
|
-
return;
|
|
102
|
-
}
|
|
103
|
-
var filteredId = selectedIds.filter(function (prevId) { return prevId !== id; });
|
|
104
|
-
checkboxMethods.setValue(id.toString(), false);
|
|
105
|
-
if (onSelect) {
|
|
106
|
-
onSelect(filteredId);
|
|
107
136
|
}
|
|
108
137
|
};
|
|
109
138
|
var getActionButtonCount = function () {
|
|
@@ -118,6 +147,12 @@ function AdminList(_a) {
|
|
|
118
147
|
return 0;
|
|
119
148
|
}
|
|
120
149
|
};
|
|
150
|
+
var totalItemCount = (0, react_1.useMemo)(function () {
|
|
151
|
+
if (maintainIds && selectedIds) {
|
|
152
|
+
return maintainIds.length + selectedIds.length;
|
|
153
|
+
}
|
|
154
|
+
return (selectedIds === null || selectedIds === void 0 ? void 0 : selectedIds.length) || 0;
|
|
155
|
+
}, [selectedIds, maintainIds]);
|
|
121
156
|
var childrenWithWidthProps = react_1.default.Children.map(children, function (child) {
|
|
122
157
|
if (react_1.default.isValidElement(child)) {
|
|
123
158
|
return react_1.default.cloneElement(child, {
|
|
@@ -141,13 +176,14 @@ function AdminList(_a) {
|
|
|
141
176
|
onClickQuickActionBtn2: onClickQuickActionBtn2,
|
|
142
177
|
onClickQuickActionBtn3: onClickQuickActionBtn3,
|
|
143
178
|
selectionMode: selectionMode,
|
|
144
|
-
onClickItem: handleSelectItem
|
|
179
|
+
onClickItem: handleSelectItem,
|
|
180
|
+
selectedState: (maintainIds === null || maintainIds === void 0 ? void 0 : maintainIds.includes(child.props.id)) ? 'maintain' : 'basic'
|
|
145
181
|
});
|
|
146
182
|
}
|
|
147
183
|
return child;
|
|
148
184
|
});
|
|
149
185
|
return (react_1.default.createElement(S_AdminList, null,
|
|
150
|
-
isBulkActionBarOpen && (react_1.default.createElement(BulkActionBar_1.default, { itemCount:
|
|
186
|
+
isBulkActionBarOpen && (react_1.default.createElement(BulkActionBar_1.default, { itemCount: totalItemCount, dropdownMode: dropdownMode, dropdown1DefaultText: dropdown1DefaultText, dropdown2DefaultText: dropdown2DefaultText, dropdown3DefaultText: dropdown3DefaultText, dropdown1ValueArray: dropdown1ValueArray, dropdown2ValueArray: dropdown2ValueArray, dropdown3ValueArray: dropdown3ValueArray, mBtnMode: mBtnMode, mBtn1Text: mBtn1Text, mBtn2Text: mBtn2Text, mBtn3Text: mBtn3Text, onChangeDropdown1: onChangeDropdown1, onChangeDropdown2: onChangeDropdown2, onChangeDropdown3: onChangeDropdown3, onClickMBtn1: onClickMBtn1, onClickMBtn2: onClickMBtn2, onClickMBtn3: onClickMBtn3 })),
|
|
151
187
|
headerRowMode === 'use' && (react_1.default.createElement(react_hook_form_1.FormProvider, __assign({}, selectAllMethods),
|
|
152
188
|
react_1.default.createElement("form", null,
|
|
153
189
|
react_1.default.createElement(HeaderRow_1.default, { selectionMode: selectionMode, column2HeaderText: column2HeaderText, column3HeaderText: column3HeaderText, column3HeaderWidth: column3Width, column4HeaderText: column4HeaderText, column4HeaderWidth: column4Width, column5HeaderText: column5HeaderText, column5HeaderWidth: column5Width, column6HeaderText: column6HeaderText, column6HeaderWidth: column6Width, column7HeaderText: column7HeaderText, column7HeaderWidth: column7Width, column8HeaderText: column8HeaderText, column8HeaderWidth: column8Width, column9HeaderText: column9HeaderText, column9HeaderWidth: column9Width, column10HeaderText: column10HeaderText, column10HeaderWidth: column10Width, quickActionBtnType: quickActionBtnType, quickActionButtonCount: getActionButtonCount(), onClickSelectAllCheckbox: handleSelectAllCheckbox })))),
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { TFunctionResult } from 'i18next';
|
|
3
3
|
declare type ColumnWidthType = 'small' | 'medium' | 'large';
|
|
4
4
|
declare type Props = {
|
|
5
|
-
selectionMode: 'none' | '
|
|
5
|
+
selectionMode: 'none' | 'single' | 'multi';
|
|
6
6
|
column2HeaderText?: TFunctionResult;
|
|
7
7
|
column3HeaderText?: TFunctionResult;
|
|
8
8
|
column3HeaderWidth?: ColumnWidthType;
|
|
@@ -32,10 +32,10 @@ var hybrid_1 = require("../../../hybrid");
|
|
|
32
32
|
var Checkbox_1 = require("../Checkbox");
|
|
33
33
|
var TextLabel_1 = require("../TextLabel");
|
|
34
34
|
function HeaderRow(_a) {
|
|
35
|
-
var _b = _a.selectionMode, selectionMode = _b === void 0 ? '
|
|
35
|
+
var _b = _a.selectionMode, selectionMode = _b === void 0 ? 'multi' : _b, column2HeaderText = _a.column2HeaderText, column3HeaderText = _a.column3HeaderText, _c = _a.column3HeaderWidth, column3HeaderWidth = _c === void 0 ? 'small' : _c, column4HeaderText = _a.column4HeaderText, _d = _a.column4HeaderWidth, column4HeaderWidth = _d === void 0 ? 'small' : _d, column5HeaderText = _a.column5HeaderText, _e = _a.column5HeaderWidth, column5HeaderWidth = _e === void 0 ? 'small' : _e, column6HeaderText = _a.column6HeaderText, _f = _a.column6HeaderWidth, column6HeaderWidth = _f === void 0 ? 'small' : _f, column7HeaderText = _a.column7HeaderText, _g = _a.column7HeaderWidth, column7HeaderWidth = _g === void 0 ? 'small' : _g, column8HeaderText = _a.column8HeaderText, _h = _a.column8HeaderWidth, column8HeaderWidth = _h === void 0 ? 'small' : _h, column9HeaderText = _a.column9HeaderText, _j = _a.column9HeaderWidth, column9HeaderWidth = _j === void 0 ? 'small' : _j, column10HeaderText = _a.column10HeaderText, _k = _a.column10HeaderWidth, column10HeaderWidth = _k === void 0 ? 'small' : _k, _l = _a.quickActionBtnType, quickActionBtnType = _l === void 0 ? 'fix' : _l, _m = _a.quickActionButtonCount, quickActionButtonCount = _m === void 0 ? 2 : _m, onClickSelectAllCheckbox = _a.onClickSelectAllCheckbox;
|
|
36
36
|
return (react_1.default.createElement(S_HeaderRow, null,
|
|
37
37
|
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_c", spacingType: "width" }),
|
|
38
|
-
selectionMode === '
|
|
38
|
+
selectionMode === 'multi' && (react_1.default.createElement(S_CheckBox, null,
|
|
39
39
|
react_1.default.createElement(Checkbox_1.Checkbox, { name: "all", onChange: onClickSelectAllCheckbox }))),
|
|
40
40
|
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_c", spacingType: "width" }),
|
|
41
41
|
react_1.default.createElement(S_FlexColumn, null,
|