pds-dev-kit-web-test 2.5.411 → 2.5.412

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.
Files changed (20) hide show
  1. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.d.ts +12 -0
  2. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.js +76 -0
  3. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.d.ts +4 -0
  4. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.js +47 -0
  5. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.d.ts +12 -0
  6. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.js +76 -0
  7. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.d.ts +12 -0
  8. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.js +76 -0
  9. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.d.ts +12 -0
  10. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.js +76 -0
  11. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.d.ts +40 -0
  12. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.js +36 -177
  13. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +1 -1
  14. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.js +44 -15
  15. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +3 -2
  16. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.js +882 -202
  17. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.js +44 -15
  18. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +3 -2
  19. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.js +882 -202
  20. package/package.json +1 -1
@@ -1,4 +1,38 @@
1
1
  "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
2
36
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
37
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
38
  };
@@ -45,6 +79,7 @@ var Developer_1 = __importDefault(require("./Developer"));
45
79
  var Download_1 = __importDefault(require("./Download"));
46
80
  var Edit_1 = __importDefault(require("./Edit"));
47
81
  var Editor_1 = __importDefault(require("./Editor"));
82
+ var editorNavigationIcons = __importStar(require("./editorNavigationIcons"));
48
83
  var End_1 = __importDefault(require("./End"));
49
84
  var Error_1 = __importDefault(require("./Error"));
50
85
  var Eye_1 = __importDefault(require("./Eye"));
@@ -178,181 +213,5 @@ var VodShorts_1 = __importDefault(require("./VodShorts"));
178
213
  var Warning_1 = __importDefault(require("./Warning"));
179
214
  var Weblink_1 = __importDefault(require("./Weblink"));
180
215
  var Xmark_1 = __importDefault(require("./Xmark"));
181
- var lineIcons = {
182
- ic_arrow_down: ArrowDown_1.default,
183
- ic_arrow_down_bold: ArrowDownBold_1.default,
184
- ic_arrow_left: ArrowLeft_1.default,
185
- ic_arrow_left_2: ArrowLeft2_1.default,
186
- ic_arrow_left_bold: ArrowLeftBold_1.default,
187
- ic_arrow_left_thin: ArrowLeftThin_1.default,
188
- ic_arrow_right: ArrowRight_1.default,
189
- ic_arrow_right_2: ArrowRight2_1.default,
190
- ic_arrow_right_bold: ArrowRightBold_1.default,
191
- ic_arrow_right_thin: ArrowRightThin_1.default,
192
- ic_arrow_round_left: ArrowRoundLeft_1.default,
193
- ic_arrow_up: ArrowUp_1.default,
194
- ic_arrow_up_bold: ArrowUpBold_1.default,
195
- ic_bell: Bell_1.default,
196
- ic_bell_notification: BellNotification_1.default,
197
- ic_booking: Booking_1.default,
198
- ic_booking_completed: BookingCompleted_1.default,
199
- ic_booking_history: BookingHistory_1.default,
200
- ic_booking_papp: BookingPapp_1.default,
201
- ic_booking_ticket: BookingTicket_1.default,
202
- ic_bookmark: Bookmark_1.default,
203
- ic_business: Business_1.default,
204
- ic_call: Call_1.default,
205
- ic_camera: Camera_1.default,
206
- ic_channel: Channel_1.default,
207
- ic_channel_setting: ChannelSetting_1.default,
208
- ic_chat: Chat_1.default,
209
- ic_chat_counseling: ChatCounseling_1.default,
210
- ic_chat_crm: ChatCrm_1.default,
211
- ic_check: Check_1.default,
212
- ic_checkbox_off: CheckboxOff_1.default,
213
- ic_clip: Clip_1.default,
214
- ic_coins: Coins_1.default,
215
- ic_cont_watching: ContWatching_1.default,
216
- ic_copy: Copy_1.default,
217
- ic_cs: Cs_1.default,
218
- ic_dashboard: Dashboard_1.default,
219
- ic_design_preference: DesignPreference_1.default,
220
- ic_developer: Developer_1.default,
221
- ic_download: Download_1.default,
222
- ic_edit: Edit_1.default,
223
- ic_editor: Editor_1.default,
224
- ic_end: End_1.default,
225
- ic_error: Error_1.default,
226
- ic_eye: Eye_1.default,
227
- ic_eye_close: EyeClose_1.default,
228
- ic_filter: Filter_1.default,
229
- ic_folder: Folder_1.default,
230
- ic_ghost: Ghost_1.default,
231
- ic_heart_care: HeartCare_1.default,
232
- ic_home: Home_1.default,
233
- ic_information: Information_1.default,
234
- ic_internal: Internal_1.default,
235
- ic_language: Language_1.default,
236
- ic_links: Links_1.default,
237
- ic_live: Live_1.default,
238
- ic_live_broadcast: LiveBroadcast_1.default,
239
- ic_live_commerce: LiveCommerce_1.default,
240
- ic_live_concert: LiveConcert_1.default,
241
- ic_live_event: LiveEvent_1.default,
242
- ic_live_personal: LivePersonal_1.default,
243
- ic_lock: Lock_1.default,
244
- ic_menu: Menu_1.default,
245
- ic_mic_off: MicOff_1.default,
246
- ic_mic_on: MicOn_1.default,
247
- ic_minus_circle: MinusCircle_1.default,
248
- ic_open_page: OpenPage_1.default,
249
- ic_order: Order_1.default,
250
- ic_page_size_expand: PageSizeExpand_1.default,
251
- ic_page_size_reduce: PageSizeReduce_1.default,
252
- ic_papp: Papp_1.default,
253
- ic_papp_type: PappType_1.default,
254
- ic_payment: Payment_1.default,
255
- ic_payment_free_trial: PaymentFreeTrial_1.default,
256
- ic_payment_gift: PaymentGift_1.default,
257
- ic_payment_onetime: PaymentOnetime_1.default,
258
- ic_payment_regularly: PaymentRegularly_1.default,
259
- ic_payment_setting: PaymentSetting_1.default,
260
- ic_photo: Photo_1.default,
261
- ic_photo_multiple: PhotoMultiple_1.default,
262
- ic_plan: Plan_1.default,
263
- ic_plus: Plus_1.default,
264
- ic_plus_circle: PlusCircle_1.default,
265
- ic_post_article: PostArticle_1.default,
266
- ic_post_blog: PostBlog_1.default,
267
- ic_post_column: PostColumn_1.default,
268
- ic_post_community_p: PostCommunityP_1.default,
269
- ic_post_free: PostFree_1.default,
270
- ic_post_inquiry: PostInquiry_1.default,
271
- ic_post_magazine: PostMagazine_1.default,
272
- ic_post_notice: PostNotice_1.default,
273
- ic_post_paper_plane: PostPaperPlane_1.default,
274
- ic_post_photobook: PostPhotobook_1.default,
275
- ic_post_promotion: PostPromotion_1.default,
276
- ic_post_promotion_p: PostPromotionP_1.default,
277
- ic_post_social: PostSocial_1.default,
278
- ic_post_vote: PostVote_1.default,
279
- ic_post_welcome: PostWelcome_1.default,
280
- ic_profit: Profit_1.default,
281
- ic_qr: Qr_1.default,
282
- ic_question: Question_1.default,
283
- ic_radio_off: RadioOff_1.default,
284
- ic_radio_on: RadioOn_1.default,
285
- ic_report: Report_1.default,
286
- ic_requirement: Requirement_1.default,
287
- ic_sales: Sales_1.default,
288
- ic_search: Search_1.default,
289
- ic_section_content_32: SectionContent32_1.default,
290
- ic_section_content_40: SectionContent40_1.default,
291
- ic_section_contents_carousel_32: SectionContentsCarousel32_1.default,
292
- ic_section_contents_carousel_40: SectionContentsCarousel40_1.default,
293
- ic_section_divider_32: SectionDivider32_1.default,
294
- ic_section_divider_40: SectionDivider40_1.default,
295
- ic_section_footer_32: SectionFooter32_1.default,
296
- ic_section_footer_40: SectionFooter40_1.default,
297
- ic_section_info_box_32: SectionInfoBox32_1.default,
298
- ic_section_info_box_40: SectionInfoBox40_1.default,
299
- ic_section_intro_32: SectionIntro32_1.default,
300
- ic_section_intro_40: SectionIntro40_1.default,
301
- ic_section_map_32: SectionMap32_1.default,
302
- ic_section_map_40: SectionMap40_1.default,
303
- ic_section_price_box_32: SectionPriceBox32_1.default,
304
- ic_section_price_box_40: SectionPriceBox40_1.default,
305
- ic_section_products_carousel_32: SectionProductsCarousel32_1.default,
306
- ic_section_products_carousel_40: SectionProductsCarousel40_1.default,
307
- ic_section_review_32: SectionReview32_1.default,
308
- ic_section_review_40: SectionReview40_1.default,
309
- ic_section_slider_32: SectionSlider32_1.default,
310
- ic_section_slider_40: SectionSlider40_1.default,
311
- ic_section_tab_32: SectionTab32_1.default,
312
- ic_section_tab_40: SectionTab40_1.default,
313
- ic_seller_info: SellerInfo_1.default,
314
- ic_seller_intro: SellerIntro_1.default,
315
- ic_seller_page: SellerPage_1.default,
316
- ic_series: Series_1.default,
317
- ic_series_list: SeriesList_1.default,
318
- ic_setting: Setting_1.default,
319
- ic_settlement: Settlement_1.default,
320
- ic_share: Share_1.default,
321
- ic_slideBanner: SlideBanner_1.default,
322
- ic_sort: Sort_1.default,
323
- ic_speaker_off: SpeakerOff_1.default,
324
- ic_speaker_wave_1: SpeakerWave1_1.default,
325
- ic_speaker_wave_2: SpeakerWave2_1.default,
326
- ic_standard_banner: StandardBanner_1.default,
327
- ic_subscribers: Subscribers_1.default,
328
- ic_success: Success_1.default,
329
- ic_ten_sec_back: TenSecBack_1.default,
330
- ic_ten_sec_back_arrow: TenSecBackArrow_1.default,
331
- ic_ten_sec_forward: TenSecForward_1.default,
332
- ic_ten_sec_forward_arrow: TenSecForwardArrow_1.default,
333
- ic_time: Time_1.default,
334
- ic_toggle_down: ToggleDown_1.default,
335
- ic_toggle_up: ToggleUp_1.default,
336
- ic_trashcan: Trashcan_1.default,
337
- ic_unavailable: Unavailable_1.default,
338
- ic_unlock: Unlock_1.default,
339
- ic_upload: Upload_1.default,
340
- ic_video: Video_1.default,
341
- ic_videocall: Videocall_1.default,
342
- ic_videocall_pro: VideocallPro_1.default,
343
- ic_video_off: VideoOff_1.default,
344
- ic_video_pip: VideoPip_1.default,
345
- ic_video_play: VideoPlay_1.default,
346
- ic_video_playback_speed: VideoPlaybackSpeed_1.default,
347
- ic_video_play_circle: VideoPlayCircle_1.default,
348
- ic_video_playlist: VideoPlaylist_1.default,
349
- ic_vod: Vod_1.default,
350
- ic_vodclass: VodClass_1.default,
351
- ic_vodplus: Vodplus_1.default,
352
- ic_vods: Vods_1.default,
353
- ic_vod_shorts: VodShorts_1.default,
354
- ic_warning: Warning_1.default,
355
- ic_weblink: Weblink_1.default,
356
- ic_xmark: Xmark_1.default
357
- };
216
+ var lineIcons = __assign({ ic_arrow_down: ArrowDown_1.default, ic_arrow_down_bold: ArrowDownBold_1.default, ic_arrow_left: ArrowLeft_1.default, ic_arrow_left_2: ArrowLeft2_1.default, ic_arrow_left_bold: ArrowLeftBold_1.default, ic_arrow_left_thin: ArrowLeftThin_1.default, ic_arrow_right: ArrowRight_1.default, ic_arrow_right_2: ArrowRight2_1.default, ic_arrow_right_bold: ArrowRightBold_1.default, ic_arrow_right_thin: ArrowRightThin_1.default, ic_arrow_round_left: ArrowRoundLeft_1.default, ic_arrow_up: ArrowUp_1.default, ic_arrow_up_bold: ArrowUpBold_1.default, ic_bell: Bell_1.default, ic_bell_notification: BellNotification_1.default, ic_booking: Booking_1.default, ic_booking_completed: BookingCompleted_1.default, ic_booking_history: BookingHistory_1.default, ic_booking_papp: BookingPapp_1.default, ic_booking_ticket: BookingTicket_1.default, ic_bookmark: Bookmark_1.default, ic_business: Business_1.default, ic_call: Call_1.default, ic_camera: Camera_1.default, ic_channel: Channel_1.default, ic_channel_setting: ChannelSetting_1.default, ic_chat: Chat_1.default, ic_chat_counseling: ChatCounseling_1.default, ic_chat_crm: ChatCrm_1.default, ic_check: Check_1.default, ic_checkbox_off: CheckboxOff_1.default, ic_clip: Clip_1.default, ic_coins: Coins_1.default, ic_cont_watching: ContWatching_1.default, ic_copy: Copy_1.default, ic_cs: Cs_1.default, ic_dashboard: Dashboard_1.default, ic_design_preference: DesignPreference_1.default, ic_developer: Developer_1.default, ic_download: Download_1.default, ic_edit: Edit_1.default, ic_editor: Editor_1.default, ic_end: End_1.default, ic_error: Error_1.default, ic_eye: Eye_1.default, ic_eye_close: EyeClose_1.default, ic_filter: Filter_1.default, ic_folder: Folder_1.default, ic_ghost: Ghost_1.default, ic_heart_care: HeartCare_1.default, ic_home: Home_1.default, ic_information: Information_1.default, ic_internal: Internal_1.default, ic_language: Language_1.default, ic_links: Links_1.default, ic_live: Live_1.default, ic_live_broadcast: LiveBroadcast_1.default, ic_live_commerce: LiveCommerce_1.default, ic_live_concert: LiveConcert_1.default, ic_live_event: LiveEvent_1.default, ic_live_personal: LivePersonal_1.default, ic_lock: Lock_1.default, ic_menu: Menu_1.default, ic_mic_off: MicOff_1.default, ic_mic_on: MicOn_1.default, ic_minus_circle: MinusCircle_1.default, ic_open_page: OpenPage_1.default, ic_order: Order_1.default, ic_page_size_expand: PageSizeExpand_1.default, ic_page_size_reduce: PageSizeReduce_1.default, ic_papp: Papp_1.default, ic_papp_type: PappType_1.default, ic_payment: Payment_1.default, ic_payment_free_trial: PaymentFreeTrial_1.default, ic_payment_gift: PaymentGift_1.default, ic_payment_onetime: PaymentOnetime_1.default, ic_payment_regularly: PaymentRegularly_1.default, ic_payment_setting: PaymentSetting_1.default, ic_photo: Photo_1.default, ic_photo_multiple: PhotoMultiple_1.default, ic_plan: Plan_1.default, ic_plus: Plus_1.default, ic_plus_circle: PlusCircle_1.default, ic_post_article: PostArticle_1.default, ic_post_blog: PostBlog_1.default, ic_post_column: PostColumn_1.default, ic_post_community_p: PostCommunityP_1.default, ic_post_free: PostFree_1.default, ic_post_inquiry: PostInquiry_1.default, ic_post_magazine: PostMagazine_1.default, ic_post_notice: PostNotice_1.default, ic_post_paper_plane: PostPaperPlane_1.default, ic_post_photobook: PostPhotobook_1.default, ic_post_promotion: PostPromotion_1.default, ic_post_promotion_p: PostPromotionP_1.default, ic_post_social: PostSocial_1.default, ic_post_vote: PostVote_1.default, ic_post_welcome: PostWelcome_1.default, ic_profit: Profit_1.default, ic_qr: Qr_1.default, ic_question: Question_1.default, ic_radio_off: RadioOff_1.default, ic_radio_on: RadioOn_1.default, ic_report: Report_1.default, ic_requirement: Requirement_1.default, ic_sales: Sales_1.default, ic_search: Search_1.default, ic_section_content_32: SectionContent32_1.default, ic_section_content_40: SectionContent40_1.default, ic_section_contents_carousel_32: SectionContentsCarousel32_1.default, ic_section_contents_carousel_40: SectionContentsCarousel40_1.default, ic_section_divider_32: SectionDivider32_1.default, ic_section_divider_40: SectionDivider40_1.default, ic_section_footer_32: SectionFooter32_1.default, ic_section_footer_40: SectionFooter40_1.default, ic_section_info_box_32: SectionInfoBox32_1.default, ic_section_info_box_40: SectionInfoBox40_1.default, ic_section_intro_32: SectionIntro32_1.default, ic_section_intro_40: SectionIntro40_1.default, ic_section_map_32: SectionMap32_1.default, ic_section_map_40: SectionMap40_1.default, ic_section_price_box_32: SectionPriceBox32_1.default, ic_section_price_box_40: SectionPriceBox40_1.default, ic_section_products_carousel_32: SectionProductsCarousel32_1.default, ic_section_products_carousel_40: SectionProductsCarousel40_1.default, ic_section_review_32: SectionReview32_1.default, ic_section_review_40: SectionReview40_1.default, ic_section_slider_32: SectionSlider32_1.default, ic_section_slider_40: SectionSlider40_1.default, ic_section_tab_32: SectionTab32_1.default, ic_section_tab_40: SectionTab40_1.default, ic_seller_info: SellerInfo_1.default, ic_seller_intro: SellerIntro_1.default, ic_seller_page: SellerPage_1.default, ic_series: Series_1.default, ic_series_list: SeriesList_1.default, ic_setting: Setting_1.default, ic_settlement: Settlement_1.default, ic_share: Share_1.default, ic_slideBanner: SlideBanner_1.default, ic_sort: Sort_1.default, ic_speaker_off: SpeakerOff_1.default, ic_speaker_wave_1: SpeakerWave1_1.default, ic_speaker_wave_2: SpeakerWave2_1.default, ic_standard_banner: StandardBanner_1.default, ic_subscribers: Subscribers_1.default, ic_success: Success_1.default, ic_ten_sec_back: TenSecBack_1.default, ic_ten_sec_back_arrow: TenSecBackArrow_1.default, ic_ten_sec_forward: TenSecForward_1.default, ic_ten_sec_forward_arrow: TenSecForwardArrow_1.default, ic_time: Time_1.default, ic_toggle_down: ToggleDown_1.default, ic_toggle_up: ToggleUp_1.default, ic_trashcan: Trashcan_1.default, ic_unavailable: Unavailable_1.default, ic_unlock: Unlock_1.default, ic_upload: Upload_1.default, ic_video: Video_1.default, ic_videocall: Videocall_1.default, ic_videocall_pro: VideocallPro_1.default, ic_video_off: VideoOff_1.default, ic_video_pip: VideoPip_1.default, ic_video_play: VideoPlay_1.default, ic_video_playback_speed: VideoPlaybackSpeed_1.default, ic_video_play_circle: VideoPlayCircle_1.default, ic_video_playlist: VideoPlaylist_1.default, ic_vod: Vod_1.default, ic_vodclass: VodClass_1.default, ic_vodplus: Vodplus_1.default, ic_vods: Vods_1.default, ic_vod_shorts: VodShorts_1.default, ic_warning: Warning_1.default, ic_weblink: Weblink_1.default, ic_xmark: Xmark_1.default }, editorNavigationIcons);
358
217
  exports.default = lineIcons;
@@ -267,7 +267,7 @@ exports.SAMPLE_CONTENTSCAROUSEL_CB = {
267
267
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE:HOVER': null,
268
268
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE:MOBILE:HOVER': null,
269
269
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE:MOBILE': null,
270
- CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNLOCATION: 'OUTSET2',
270
+ CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNLOCATION: 'INSET5',
271
271
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNLOCATION:HOVER': null,
272
272
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNLOCATION:MOBILE': null,
273
273
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNLOCATION:MOBILE:HOVER': null,
@@ -40,6 +40,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
40
40
  Object.defineProperty(exports, "__esModule", { value: true });
41
41
  exports.CustomNavigation = void 0;
42
42
  var jsx_runtime_1 = require("react/jsx-runtime");
43
+ var IconButton_1 = require("../../../../../../../../DynamicLayout/components/pdsOriginal/desktop/IconButton");
43
44
  var styled_components_1 = __importStar(require("styled-components"));
44
45
  var navigationConfigs_1 = require("./navigationConfigs");
45
46
  var CustomNavigation = function (_a) {
@@ -54,12 +55,15 @@ var CustomNavigation = function (_a) {
54
55
  prevBtnOffset.transformOrigin === nextBtnOffset.transformOrigin);
55
56
  };
56
57
  var isSameOffset = getIsSameOffset(prevBtnOffset, nextBtnOffset);
57
- var prevButton = navigationConfigs_1.prevButtonMappedIcons[prevBtnType];
58
- var nextButton = navigationConfigs_1.nextButtonMappedIcons[nextBtnType];
59
- return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(S_NavigationButtonWrapper, __assign({ className: prevBtnDisabled ? 'disabled' : '', "$offset": isSameOffset ? undefined : prevBtnOffset, "$size": prevBtnSize, onClick: onPrevBtnClick }, { children: (0, jsx_runtime_1.jsx)(S_ButtonImage, { src: prevButton }) })), (0, jsx_runtime_1.jsx)(S_NavigationButtonWrapper, __assign({ className: nextBtnDisabled ? 'disabled' : '', "$offset": isSameOffset ? undefined : nextBtnOffset, "$size": nextBtnSize, onClick: onNextBtnClick }, { children: (0, jsx_runtime_1.jsx)(S_ButtonImage, { src: nextButton }) }))] }));
58
+ var prevButton = prevBtnType === 'NONE' ? undefined : navigationConfigs_1.prevButtonMappedIcons[prevBtnType];
59
+ var nextButton = nextBtnType === 'NONE' ? undefined : navigationConfigs_1.nextButtonMappedIcons[nextBtnType];
60
+ return ((0, jsx_runtime_1.jsxs)(S_Navigation, __assign({ "$offset": isSameOffset ? prevBtnOffset : undefined, "$size": isSameOffset ? prevBtnSize : 1 }, { children: [prevButton && ((0, jsx_runtime_1.jsx)(S_PrevButton, __assign({ className: "".concat(prevBtnDisabled ? 'disabled' : ''), "$offset": isSameOffset ? undefined : prevBtnOffset, "$size": isSameOffset ? undefined : prevBtnSize }, { children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { fillType: "fill", baseSize: "large", shapeType: prevButton.shapeType, baseColorKey: prevButton.baseColorKey || 'ui_cpnt_button_fill_base_transparent', borderColorKey: prevButton.borderColorKey, iconName: prevButton.iconName, iconFillType: "line", iconColorKey: prevButton.iconColorKey || 'ui_cpnt_icon_sys_black', shadow: prevButton.shadow, onClick: onPrevBtnClick }) }))), nextButton && ((0, jsx_runtime_1.jsx)(S_NextButton, __assign({ className: "".concat(nextBtnDisabled ? 'disabled' : ''), "$offset": isSameOffset ? undefined : nextBtnOffset, "$size": isSameOffset ? undefined : nextBtnSize }, { children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { fillType: "fill", baseSize: "large", shapeType: nextButton.shapeType, baseColorKey: nextButton.baseColorKey || 'ui_cpnt_button_fill_base_transparent', borderColorKey: nextButton.baseColorKey, iconName: nextButton.iconName, iconFillType: "line", iconColorKey: nextButton.iconColorKey || 'ui_cpnt_icon_sys_black', shadow: nextButton.shadow, onClick: onNextBtnClick }) })))] })));
60
61
  };
61
62
  exports.CustomNavigation = CustomNavigation;
62
- var S_NavigationButtonWrapper = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n cursor: pointer;\n padding: ", ";\n position: ", ";\n transform: ", ";\n transform-origin: ", ";\n z-index: 3;\n\n & .disabled {\n cursor: auto;\n opacity: 0.35;\n pointer-events: none;\n }\n\n ", ";\n\n ", "\n"], ["\n cursor: pointer;\n padding: ", ";\n position: ", ";\n transform: ", ";\n transform-origin: ", ";\n z-index: 3;\n\n & .disabled {\n cursor: auto;\n opacity: 0.35;\n pointer-events: none;\n }\n\n ", ";\n\n ", "\n"])), function (_a) {
63
+ var S_Navigation = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: ", ";\n padding: ", ";\n position: ", ";\n transform: ", ";\n ", ";\n transform-origin: ", ";\n z-index: 3;\n"], ["\n display: ", ";\n padding: ", ";\n position: ", ";\n transform: ", ";\n ", ";\n transform-origin: ", ";\n z-index: 3;\n"])), function (_a) {
64
+ var $offset = _a.$offset;
65
+ return ($offset ? 'flex' : 'contents');
66
+ }, function (_a) {
63
67
  var $offset = _a.$offset;
64
68
  return ($offset ? '5px' : 0);
65
69
  }, function (_a) {
@@ -67,23 +71,48 @@ var S_NavigationButtonWrapper = styled_components_1.default.div(templateObject_3
67
71
  return ($offset ? 'absolute' : 'static');
68
72
  }, function (_a) {
69
73
  var _b, _c;
74
+ var $size = _a.$size, $offset = _a.$offset;
75
+ return "scale(".concat($size, ") translate(").concat((_b = $offset === null || $offset === void 0 ? void 0 : $offset.translateX) !== null && _b !== void 0 ? _b : 0, "%, ").concat((_c = $offset === null || $offset === void 0 ? void 0 : $offset.translateY) !== null && _c !== void 0 ? _c : 0, "%)");
76
+ }, function (_a) {
70
77
  var $offset = _a.$offset;
71
- return "translate(".concat((_b = $offset === null || $offset === void 0 ? void 0 : $offset.translateX) !== null && _b !== void 0 ? _b : 0, "%, ").concat((_c = $offset === null || $offset === void 0 ? void 0 : $offset.translateY) !== null && _c !== void 0 ? _c : 0, "%)");
78
+ return (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n ", "\n ", "\n "])), ($offset === null || $offset === void 0 ? void 0 : $offset.top) !== undefined ? "top: ".concat($offset.top, ";") : '', ($offset === null || $offset === void 0 ? void 0 : $offset.bottom) !== undefined ? "bottom: ".concat($offset.bottom, ";") : '', ($offset === null || $offset === void 0 ? void 0 : $offset.left) !== undefined ? "left: ".concat($offset.left, ";") : '', ($offset === null || $offset === void 0 ? void 0 : $offset.right) !== undefined ? "right: ".concat($offset.right, ";") : '');
72
79
  }, function (_a) {
73
80
  var $offset = _a.$offset;
74
81
  return ($offset === null || $offset === void 0 ? void 0 : $offset.transformOrigin) || 'center center';
82
+ });
83
+ var S_PrevButton = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n cursor: pointer;\n padding: ", ";\n position: ", ";\n transform: ", ";\n\n ", ";\n transform-origin: ", ";\n z-index: 3;\n\n &.disabled {\n cursor: auto;\n opacity: 0.35;\n pointer-events: none;\n }\n"], ["\n cursor: pointer;\n padding: ", ";\n position: ", ";\n transform: ", ";\n\n ", ";\n transform-origin: ", ";\n z-index: 3;\n\n &.disabled {\n cursor: auto;\n opacity: 0.35;\n pointer-events: none;\n }\n"])), function (_a) {
84
+ var $offset = _a.$offset;
85
+ return ($offset ? '5px' : 0);
86
+ }, function (_a) {
87
+ var $offset = _a.$offset;
88
+ return ($offset ? 'absolute' : 'static');
89
+ }, function (_a) {
90
+ var _b, _c;
91
+ var $size = _a.$size, $offset = _a.$offset;
92
+ return "scale(".concat($size, ") translate(").concat((_b = $offset === null || $offset === void 0 ? void 0 : $offset.translateX) !== null && _b !== void 0 ? _b : 0, "%, ").concat((_c = $offset === null || $offset === void 0 ? void 0 : $offset.translateY) !== null && _c !== void 0 ? _c : 0, "%)");
75
93
  }, function (_a) {
76
94
  var $offset = _a.$offset;
77
- return (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n ", "\n ", "\n "])), ($offset === null || $offset === void 0 ? void 0 : $offset.top) !== undefined ? "top: ".concat($offset === null || $offset === void 0 ? void 0 : $offset.top, ";") : '', ($offset === null || $offset === void 0 ? void 0 : $offset.bottom) !== undefined ? "bottom: ".concat($offset === null || $offset === void 0 ? void 0 : $offset.bottom, ";") : '', ($offset === null || $offset === void 0 ? void 0 : $offset.left) !== undefined ? "left: ".concat($offset === null || $offset === void 0 ? void 0 : $offset.left, ";") : '', ($offset === null || $offset === void 0 ? void 0 : $offset.right) !== undefined ? "right: ".concat($offset === null || $offset === void 0 ? void 0 : $offset.right, ";") : '');
95
+ return (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n ", "\n ", "\n "])), ($offset === null || $offset === void 0 ? void 0 : $offset.top) !== undefined ? "top: ".concat($offset === null || $offset === void 0 ? void 0 : $offset.top, ";") : '', ($offset === null || $offset === void 0 ? void 0 : $offset.bottom) !== undefined ? "bottom: ".concat($offset === null || $offset === void 0 ? void 0 : $offset.bottom, ";") : '', ($offset === null || $offset === void 0 ? void 0 : $offset.left) !== undefined ? "left: ".concat($offset === null || $offset === void 0 ? void 0 : $offset.left, ";") : '', ($offset === null || $offset === void 0 ? void 0 : $offset.right) !== undefined ? "right: ".concat($offset === null || $offset === void 0 ? void 0 : $offset.right, ";") : '');
78
96
  }, function (_a) {
79
- var _b = _a.$size, $size = _b === void 0 ? 1 : _b;
80
- var sizeMap = {
81
- 3: '120px',
82
- 1.5: '100px',
83
- 1: '56px'
84
- };
85
- return (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: ", ";\n width: ", ";\n "], ["\n height: ", ";\n width: ", ";\n "])), sizeMap[$size], sizeMap[$size]);
97
+ var $offset = _a.$offset;
98
+ return ($offset === null || $offset === void 0 ? void 0 : $offset.transformOrigin) || 'center center';
99
+ });
100
+ var S_NextButton = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n cursor: pointer;\n padding: ", ";\n position: ", ";\n transform: ", ";\n ", ";\n transform-origin: ", ";\n z-index: 3;\n\n &.disabled {\n cursor: auto;\n opacity: 0.35;\n pointer-events: none;\n }\n"], ["\n cursor: pointer;\n padding: ", ";\n position: ", ";\n transform: ", ";\n ", ";\n transform-origin: ", ";\n z-index: 3;\n\n &.disabled {\n cursor: auto;\n opacity: 0.35;\n pointer-events: none;\n }\n"])), function (_a) {
101
+ var $offset = _a.$offset;
102
+ return ($offset ? '5px' : 0);
103
+ }, function (_a) {
104
+ var $offset = _a.$offset;
105
+ return ($offset ? 'absolute' : 'static');
106
+ }, function (_a) {
107
+ var _b, _c;
108
+ var $size = _a.$size, $offset = _a.$offset;
109
+ return "scale(".concat($size, ") translate(").concat((_b = $offset === null || $offset === void 0 ? void 0 : $offset.translateX) !== null && _b !== void 0 ? _b : 0, "%, ").concat((_c = $offset === null || $offset === void 0 ? void 0 : $offset.translateY) !== null && _c !== void 0 ? _c : 0, "%)");
110
+ }, function (_a) {
111
+ var $offset = _a.$offset;
112
+ return (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n ", "\n ", "\n "])), ($offset === null || $offset === void 0 ? void 0 : $offset.top) !== undefined ? "top: ".concat($offset === null || $offset === void 0 ? void 0 : $offset.top, ";") : '', ($offset === null || $offset === void 0 ? void 0 : $offset.bottom) !== undefined ? "bottom: ".concat($offset === null || $offset === void 0 ? void 0 : $offset.bottom, ";") : '', ($offset === null || $offset === void 0 ? void 0 : $offset.left) !== undefined ? "left: ".concat($offset === null || $offset === void 0 ? void 0 : $offset.left, ";") : '', ($offset === null || $offset === void 0 ? void 0 : $offset.right) !== undefined ? "right: ".concat($offset === null || $offset === void 0 ? void 0 : $offset.right, ";") : '');
113
+ }, function (_a) {
114
+ var $offset = _a.$offset;
115
+ return ($offset === null || $offset === void 0 ? void 0 : $offset.transformOrigin) || 'center center';
86
116
  });
87
- var S_ButtonImage = styled_components_1.default.img(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n"], ["\n height: 100%;\n width: 100%;\n"])));
88
117
  exports.default = exports.CustomNavigation;
89
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
118
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
@@ -1,3 +1,4 @@
1
1
  import type { CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSTYLE_TYPE, CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE_TYPE } from '../types';
2
- export declare const prevButtonMappedIcons: Record<CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSTYLE_TYPE, string>;
3
- export declare const nextButtonMappedIcons: Record<CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE_TYPE, string>;
2
+ import type { IconButtonProps } from '../../../../../../../../DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton';
3
+ export declare const prevButtonMappedIcons: Record<CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSTYLE_TYPE, IconButtonProps>;
4
+ export declare const nextButtonMappedIcons: Record<CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE_TYPE, IconButtonProps>;