@rahmatsaputra-my-id/react-js-library 0.0.72 → 0.0.73

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.js CHANGED
@@ -419,16 +419,193 @@ var View = function (_a) {
419
419
  return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx("div", __assign({ style: __assign({ display: display, flexDirection: flexDirection, marginTop: top, marginRight: right, marginBottom: bottom, marginLeft: left }, style) }, props, { children: children })) }));
420
420
  };
421
421
 
422
- var ICONS = { arrow_bottom: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-arrow-bottom.png", arrow_left_white: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-arrow-left-white.png", arrow_left: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-arrow-left.png", arrow_right_thin: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-arrow-right-thin.png", arrow_right_white: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-arrow-right-white.png", arrow_right: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-arrow-right.png", arrow_top: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-arrow-top.png", bulk_product: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-bulk-product.png", calendar_white: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-calendar-white.png", camera: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-camera.png", cart: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-cart.png", checklist_green: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-checklist-green.png", close_circle_red: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-close-circle-red.png", close: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-close.png", copy_brown: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-copy-brown.png", copy: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-copy.png", couple_white: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-couple-white.png", css: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-css.png", download_app_store_white: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-download-app-store-white.png", download_app_store: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-download-app-store.png", download_play_store_white: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-download-play-store-white.png", download_play_store: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-download-play-store.png", download: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-download.png", edit: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-edit.png", email_circle: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-email-circle.png", exit: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-exit.png", filter: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-filter.png", flag_indonesia: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-flag-indonesia.png", flag_united_states: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-flag-united-states.png", flash_off: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-flash-off.png", flash_on: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-flash-on.png", galery_white: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-galery-white.png", github: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-github.png", history_transaction: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-history-transaction.png", home_bold: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-home-bold.png", html: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-html.png", information: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-information.png", java: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-java.png", javascript: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-javascript.png", language: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-language.png", linkedin: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-linkedin.png", list: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-list.png", logo_white: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-logo-white.png", logo: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-logo.png", love_bold: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-love-bold.png", love_linear: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-love-linear.png", marker_brown: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-marker-brown.png", marker_white: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-marker-white.png", member: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-member.png", menu: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-menu.png", mobile: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-mobile.png", more: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-more.png", news: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-news.png", outlet: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-outlet.png", pause_brown: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-pause-brown.png", php: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-php.png", play_brown: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-play-brown.png", printer: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-printer.png", privilege: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-privilege.png", question: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-question.png", react: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-react.png", role_privilege: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-role-privilege.png", role: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-role.png", rotate: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-rotate.png", scan_qr: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-scan-qr.png", send: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-send.png", support: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-support.png", tax: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-tax.png", terms_and_conditions: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-terms-and-conditions.png", texting_white: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-texting-white.png", thumbs_down_bold: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-thumbs-down-bold.png", thumbs_down_linear: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-thumbs-down-linear.png", thumbs_up_bold: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-thumbs-up-bold.png", thumbs_up_linear: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-thumbs-up-linear.png", typescript: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-typescript.png", ui: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-ui.png", wallet: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-wallet.png", web: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-web.png", whatsapp_green: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-whatsapp-green.png", whatsapp: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-whatsapp.png" };
422
+ var icons = {
423
+ arrow_bottom: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-arrow-bottom.png",
424
+ arrow_left_white: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-arrow-left-white.png",
425
+ arrow_left: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-arrow-left.png",
426
+ arrow_right_thin: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-arrow-right-thin.png",
427
+ arrow_right_white: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-arrow-right-white.png",
428
+ arrow_right: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-arrow-right.png",
429
+ arrow_top: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-arrow-top.png",
430
+ bulk_product: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-bulk-product.png",
431
+ calendar_white: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-calendar-white.png",
432
+ camera: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-camera.png",
433
+ cart: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-cart.png",
434
+ checklist_green: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-checklist-green.png",
435
+ close_circle_red: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-close-circle-red.png",
436
+ close: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-close.png",
437
+ copy_brown: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-copy-brown.png",
438
+ copy: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-copy.png",
439
+ couple_white: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-couple-white.png",
440
+ css: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-css.png",
441
+ download_app_store_white: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-download-app-store-white.png",
442
+ download_app_store: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-download-app-store.png",
443
+ download_play_store_white: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-download-play-store-white.png",
444
+ download_play_store: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-download-play-store.png",
445
+ download: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-download.png",
446
+ edit: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-edit.png",
447
+ email_circle: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-email-circle.png",
448
+ exit: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-exit.png",
449
+ filter: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-filter.png",
450
+ flag_indonesia: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-flag-indonesia.png",
451
+ flag_united_states: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-flag-united-states.png",
452
+ flash_off: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-flash-off.png",
453
+ flash_on: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-flash-on.png",
454
+ galery_white: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-galery-white.png",
455
+ github: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-github.png",
456
+ history_transaction: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-history-transaction.png",
457
+ home_bold: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-home-bold.png",
458
+ html: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-html.png",
459
+ information: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-information.png",
460
+ java: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-java.png",
461
+ javascript: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-javascript.png",
462
+ language: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-language.png",
463
+ linkedin: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-linkedin.png",
464
+ list: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-list.png",
465
+ logo_white: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-logo-white.png",
466
+ logo: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-logo.png",
467
+ love_bold: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-love-bold.png",
468
+ love_linear: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-love-linear.png",
469
+ marker_brown: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-marker-brown.png",
470
+ marker_white: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-marker-white.png",
471
+ member: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-member.png",
472
+ menu: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-menu.png",
473
+ mobile: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-mobile.png",
474
+ more: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-more.png",
475
+ news: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-news.png",
476
+ outlet: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-outlet.png",
477
+ pause_brown: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-pause-brown.png",
478
+ php: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-php.png",
479
+ play_brown: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-play-brown.png",
480
+ printer: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-printer.png",
481
+ privilege: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-privilege.png",
482
+ question: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-question.png",
483
+ react: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-react.png",
484
+ role_privilege: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-role-privilege.png",
485
+ role: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-role.png",
486
+ rotate: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-rotate.png",
487
+ scan_qr: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-scan-qr.png",
488
+ send: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-send.png",
489
+ support: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-support.png",
490
+ tax: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-tax.png",
491
+ terms_and_conditions: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-terms-and-conditions.png",
492
+ texting_white: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-texting-white.png",
493
+ thumbs_down_bold: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-thumbs-down-bold.png",
494
+ thumbs_down_linear: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-thumbs-down-linear.png",
495
+ thumbs_up_bold: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-thumbs-up-bold.png",
496
+ thumbs_up_linear: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-thumbs-up-linear.png",
497
+ typescript: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-typescript.png",
498
+ ui: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-ui.png",
499
+ wallet: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-wallet.png",
500
+ web: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-web.png",
501
+ whatsapp_green: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-whatsapp-green.png",
502
+ whatsapp: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/icons/icon-whatsapp.png"
503
+ };
504
+
505
+ var images = {
506
+ depracated: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/depracated",
507
+ image_alt_business: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-alt-business.png",
508
+ image_alt_entertainment: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-alt-entertainment.png",
509
+ image_alt_general: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-alt-general.png",
510
+ image_alt_health: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-alt-health.png",
511
+ image_alt_science: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-alt-science.png",
512
+ image_alt_sport: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-alt-sport.png",
513
+ image_alt_technology: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-alt-technology.png",
514
+ image_background_cover: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-background-cover.png",
515
+ image_background_gift_section_2: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-background-gift-section-2.png",
516
+ image_background_gift_section: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-background-gift-section.jpg",
517
+ image_background_home: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-background-home.jpg",
518
+ image_background_leaf_2: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-background-leaf-2.png",
519
+ image_background_leaf: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-background-leaf.jpg",
520
+ image_background_oval_border: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-background-oval-border.png",
521
+ image_badge: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-badge.png",
522
+ image_bca: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-bca.png",
523
+ image_bni: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-bni.png",
524
+ image_border_bottom: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-border-bottom.png",
525
+ image_bottom_leaf: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-bottom-leaf.png",
526
+ image_bride: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-bride.jpg",
527
+ image_card_background: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-card-background.png",
528
+ image_certificate_1: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-1.jpg",
529
+ image_certificate_10: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-10.jpg",
530
+ image_certificate_11: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-11.jpg",
531
+ image_certificate_12: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-12.jpg",
532
+ image_certificate_13: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-13.jpg",
533
+ image_certificate_14: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-14.jpg",
534
+ image_certificate_15: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-15.jpg",
535
+ image_certificate_16: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-16.jpg",
536
+ image_certificate_17: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-17.jpg",
537
+ image_certificate_18: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-18.jpg",
538
+ image_certificate_19: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-19.jpg",
539
+ image_certificate_2: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-2.jpg",
540
+ image_certificate_3: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-3.jpg",
541
+ image_certificate_4: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-4.jpg",
542
+ image_certificate_5: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-5.jpg",
543
+ image_certificate_6: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-6.jpg",
544
+ image_certificate_7: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-7.jpg",
545
+ image_certificate_8: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-8.jpg",
546
+ image_certificate_9: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-9.jpg",
547
+ image_comment_top: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-comment-top.png",
548
+ image_couple_bottom: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-couple-bottom.png",
549
+ image_couple_top: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-couple-top.png",
550
+ image_couple: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-couple.jpg",
551
+ image_cover_bottom: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-cover-bottom.png",
552
+ image_cover_couple: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-cover-couple.jpg",
553
+ image_cover_top: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-cover-top.png",
554
+ image_date_bottom: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-date-bottom.png",
555
+ image_frame_2: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-frame-2.png",
556
+ image_frame: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-frame.png",
557
+ image_full_qris: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-full-qris.png",
558
+ image_gallery_1: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-gallery-1.jpg",
559
+ image_gallery_2: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-gallery-2.jpg",
560
+ image_gallery_3: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-gallery-3.jpg",
561
+ image_gallery_4: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-gallery-4.jpg",
562
+ image_gallery_5: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-gallery-5.jpg",
563
+ image_gallery_6: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-gallery-6.jpg",
564
+ image_groom: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-groom.jpg",
565
+ image_not_available: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-not-available.png",
566
+ image_profile: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-profile.webp",
567
+ image_qris: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-qris.png",
568
+ image_quote_header: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-quote-header.png"
569
+ };
423
570
 
424
- var IMAGES = { depracated: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/depracated", image_alt_business: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-alt-business.png", image_alt_entertainment: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-alt-entertainment.png", image_alt_general: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-alt-general.png", image_alt_health: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-alt-health.png", image_alt_science: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-alt-science.png", image_alt_sport: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-alt-sport.png", image_alt_technology: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-alt-technology.png", image_background_cover: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-background-cover.png", image_background_gift_section_2: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-background-gift-section-2.png", image_background_gift_section: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-background-gift-section.jpg", image_background_home: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-background-home.jpg", image_background_leaf_2: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-background-leaf-2.png", image_background_leaf: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-background-leaf.jpg", image_background_oval_border: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-background-oval-border.png", image_badge: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-badge.png", image_bca: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-bca.png", image_bni: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-bni.png", image_border_bottom: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-border-bottom.png", image_bottom_leaf: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-bottom-leaf.png", image_bride: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-bride.jpg", image_card_background: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-card-background.png", image_certificate_1: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-1.jpg", image_certificate_10: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-10.jpg", image_certificate_11: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-11.jpg", image_certificate_12: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-12.jpg", image_certificate_13: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-13.jpg", image_certificate_14: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-14.jpg", image_certificate_15: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-15.jpg", image_certificate_16: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-16.jpg", image_certificate_17: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-17.jpg", image_certificate_18: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-18.jpg", image_certificate_19: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-19.jpg", image_certificate_2: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-2.jpg", image_certificate_3: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-3.jpg", image_certificate_4: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-4.jpg", image_certificate_5: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-5.jpg", image_certificate_6: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-6.jpg", image_certificate_7: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-7.jpg", image_certificate_8: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-8.jpg", image_certificate_9: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-certificate-9.jpg", image_comment_top: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-comment-top.png", image_couple_bottom: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-couple-bottom.png", image_couple_top: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-couple-top.png", image_couple: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-couple.jpg", image_cover_bottom: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-cover-bottom.png", image_cover_couple: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-cover-couple.jpg", image_cover_top: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-cover-top.png", image_date_bottom: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-date-bottom.png", image_frame_2: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-frame-2.png", image_frame: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-frame.png", image_full_qris: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-full-qris.png", image_gallery_1: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-gallery-1.jpg", image_gallery_2: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-gallery-2.jpg", image_gallery_3: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-gallery-3.jpg", image_gallery_4: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-gallery-4.jpg", image_gallery_5: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-gallery-5.jpg", image_gallery_6: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-gallery-6.jpg", image_groom: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-groom.jpg", image_not_available: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-not-available.png", image_profile: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-profile.webp", image_qris: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-qris.png", image_quote_header: "https://raw.githubusercontent.com/rahmatsaputra-my-id/global-assets/master/images/image-quote-header.png" };
571
+ ({
572
+ white: "#ffffff",
573
+ black: "#000000",
574
+ gray: "#808080",
575
+ lightGray: "#d3d3d3",
576
+ darkGray: "#4b4b4b",
577
+ silver: "#c0c0c0",
578
+ red: Object.assign("#bb1909", { "50": "#ffffff", "100": "#ffcfbf", "200": "#ff9e81", "300": "#ff6846", "400": "#ff0000", "500": "#bb1909", "600": "#7a1b0c", "700": "#3f1508", "800": "#000000" }),
579
+ blue: Object.assign("#230eb9", { "50": "#ffffff", "100": "#dcc4ff", "200": "#b38bff", "300": "#7e52ff", "400": "#0000ff", "500": "#230eb9", "600": "#241178", "700": "#1b0f3c", "800": "#000000" }),
580
+ green: Object.assign("#22b917", { "50": "#ffffff", "100": "#dbffcd", "200": "#b1ff9a", "300": "#7dff64", "400": "#00ff00", "500": "#22b917", "600": "#247719", "700": "#1b3c14", "800": "#000000" }),
581
+ yellow: Object.assign("#b9b919", { "50": "#ffffff", "100": "#ffffcf", "200": "#ffff9e", "300": "#ffff67", "400": "#ffff00", "500": "#b9b919", "600": "#78771b", "700": "#3d3b15", "800": "#000000" }),
582
+ orange: Object.assign("#ba7912", { "50": "#ffffff", "100": "#ffe8c7", "200": "#ffd191", "300": "#ffbb58", "400": "#ffa500", "500": "#ba7912", "600": "#795014", "700": "#3d2a11", "800": "#000000" }),
583
+ purple: Object.assign("#5f0f5f", { "50": "#ffffff", "100": "#e2c5df", "200": "#c38bbf", "300": "#a2529f", "400": "#800080", "500": "#5f0f5f", "600": "#411140", "700": "#240f23", "800": "#000000" }),
584
+ pink: Object.assign("#b98c94", { "50": "#ffffff", "100": "#ffeff2", "200": "#ffe0e5", "300": "#ffd0d8", "400": "#ffc0cb", "500": "#b98c94", "600": "#775c60", "700": "#3c2f31", "800": "#000000" }),
585
+ cyan: Object.assign("#23b9b9", { "50": "#ffffff", "100": "#dbffff", "200": "#b2ffff", "300": "#7effff", "400": "#00ffff", "500": "#23b9b9", "600": "#247777", "700": "#1b3c3b", "800": "#000000" }),
586
+ teal: Object.assign("#135f5f", { "50": "#ffffff", "100": "#c9dede", "200": "#93bebd", "300": "#5b9f9e", "400": "#008080", "500": "#135f5f", "600": "#15403f", "700": "#112322", "800": "#000000" }),
587
+ indigo: Object.assign("#3a0a60", { "50": "#ffffff", "100": "#d4c0e0", "200": "#a883c0", "300": "#7b48a1", "400": "#4b0082", "500": "#3a0a60", "600": "#2a0d41", "700": "#1a0a23", "800": "#000000" }),
588
+ brown: Object.assign("#7a2421", { "50": "#ffffff", "100": "#f0cac5", "200": "#dc968d", "300": "#c3635a", "400": "#a52a2a", "500": "#7a2421", "600": "#521c19", "700": "#2c130f", "800": "#000000" }),
589
+ lime: Object.assign("#2e962a", { "50": "#ffffff", "100": "#d6f4cd", "200": "#aae89c", "300": "#79db6b", "400": "#32cd32", "500": "#2e962a", "600": "#256220", "700": "#193215", "800": "#000000" }),
590
+ magenta: Object.assign("#b91cb9", { "50": "#ffffff", "100": "#ffd3ff", "200": "#ffa5ff", "300": "#ff70ff", "400": "#ff00ff", "500": "#b91cb9", "600": "#781e77", "700": "#3d173c", "800": "#000000" }),
591
+ navy: Object.assign("#13065f", { "50": "#ffffff", "100": "#cabbe0", "200": "#947bc0", "300": "#5c3fa0", "400": "#000080", "500": "#13065f", "600": "#160840", "700": "#140423", "800": "#000000" }),
592
+ olive: Object.assign("#5f5f0c", { "50": "#ffffff", "100": "#e2dec2", "200": "#c3bd87", "300": "#a29e4d", "400": "#808000", "500": "#5f5f0c", "600": "#403f0f", "700": "#24220c", "800": "#000000" }),
593
+ maroon: Object.assign("#600c01", { "50": "#ffffff", "100": "#e8c2b9", "200": "#cb8777", "300": "#a84d3b", "400": "#800000", "500": "#600c01", "600": "#430f02", "700": "#270d01", "800": "#000000" }),
594
+ gold: Object.assign("#b99c16", { "50": "#ffffff", "100": "#fff4cc", "200": "#ffea98", "300": "#ffe061", "400": "#ffd700", "500": "#b99c16", "600": "#786518", "700": "#3d3313", "800": "#000000" }),
595
+ primary: Object.assign("#881f1e", { "50": "#ffffff", "100": "#f7cac3", "200": "#e8968b", "300": "#d26156", "400": "#b82025", "500": "#881f1e", "600": "#5a1a17", "700": "#30130e", "800": "#000000" }),
596
+ secondary: Object.assign("#2846b9", { "50": "#ffffff", "100": "#d9d4ff", "200": "#aeabff", "300": "#7c83ff", "400": "#1e5eff", "500": "#2846b9", "600": "#253077", "700": "#1a1b3c", "800": "#000000" }),
597
+ success: Object.assign("#29914f", { "50": "#ffffff", "100": "#d3f2d9", "200": "#a5e5b3", "300": "#73d68e", "400": "#2ac769", "500": "#29914f", "600": "#225f36", "700": "#18311e", "800": "#000000" }),
598
+ warning: Object.assign("#ba811f", { "50": "#ffffff", "100": "#ffebcb", "200": "#ffd797", "300": "#ffc362", "400": "#ffb020", "500": "#ba811f", "600": "#79541b", "700": "#3d2c13", "800": "#000000" }),
599
+ error: Object.assign("#ba4326", { "50": "#ffffff", "100": "#ffd7c9", "200": "#ffaf94", "300": "#ff8562", "400": "#ff5630", "500": "#ba4326", "600": "#792f1d", "700": "#3e1c13", "800": "#000000" }),
600
+ info: Object.assign("#3568b9", { "50": "#ffffff", "100": "#d9e1ff", "200": "#b1c4ff", "300": "#82a8ff", "400": "#3c8dff", "500": "#3568b9", "600": "#2a4577", "700": "#1c253c", "800": "#000000" }),
601
+ });
425
602
 
426
603
  var Images = function (_a) {
427
604
  var _b = _a.bottom, bottom = _b === void 0 ? 0 : _b, _c = _a.center, center = _c === void 0 ? false : _c, _d = _a.height, height = _d === void 0 ? 16 : _d, _e = _a.left, left = _e === void 0 ? 0 : _e, _f = _a.resizeMode, resizeMode = _f === void 0 ? 'contain' : _f, _g = _a.right, right = _g === void 0 ? 0 : _g, _h = _a.style, style = _h === void 0 ? {} : _h, _j = _a.top, top = _j === void 0 ? 0 : _j, _k = _a.width, width = _k === void 0 ? 16 : _k, props = __rest(_a, ["bottom", "center", "height", "left", "resizeMode", "right", "style", "top", "width"]);
428
605
  return (jsxRuntime.jsx("img", __assign({ style: __assign({ height: height, marginBottom: bottom, marginRight: right, marginLeft: left, marginTop: top, objectFit: resizeMode, textAlign: center ? 'center' : 'left', width: width }, style), alt: '', onError: function (_a) {
429
606
  var currentTarget = _a.currentTarget;
430
607
  currentTarget.onerror = null;
431
- currentTarget.src = IMAGES.image_not_available;
608
+ currentTarget.src = images.image_not_available;
432
609
  } }, props)));
433
610
  };
434
611
 
@@ -582,7 +759,7 @@ var CameraModal = function (_a) {
582
759
  var toggleCamera = function () {
583
760
  setIsFrontCamera(function (prev) { return !prev; });
584
761
  };
585
- return ReactDOM__default["default"].createPortal(jsxRuntime.jsxs("div", __assign({ style: cameraStyles$1.overlay }, { children: [capturedImage ? (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("img", { src: capturedImage, alt: "Captured", style: cameraStyles$1.previewImage }), jsxRuntime.jsx(TouchableOpacity, __assign({ onPress: handleUsePhoto, style: cameraStyles$1.floatingBottomButtons }, { children: jsxRuntime.jsx(View, __assign({ style: cameraStyles$1.captureButton }, { children: jsxRuntime.jsx(View, __assign({ style: cameraStyles$1.innerButton }, { children: jsxRuntime.jsx(Images, { src: ICONS.send, style: cameraStyles$1.sendButton }) })) })) }))] })) : (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("video", { ref: videoRef, autoPlay: true, playsInline: true, style: __assign(__assign({}, cameraStyles$1.video), { transform: isFrontCamera ? 'scaleX(-1)' : 'none' }) }), jsxRuntime.jsx("canvas", { ref: canvasRef, style: { display: 'none' } }), isCameraReady && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(TouchableOpacity, __assign({ onPress: handleCapture, style: cameraStyles$1.floatingBottomButtons }, { children: jsxRuntime.jsx(View, __assign({ style: cameraStyles$1.captureButton }, { children: jsxRuntime.jsx(View, { style: cameraStyles$1.innerButton }) })) })), hasRearCamera && (jsxRuntime.jsx(TouchableOpacity, __assign({ onPress: toggleCamera, style: cameraStyles$1.floatingBottomRotateButtons }, { children: jsxRuntime.jsx(View, __assign({ style: cameraStyles$1.captureRotateButton }, { children: jsxRuntime.jsx(Images, { src: ICONS.rotate, style: cameraStyles$1.rotateButton }) })) })))] }))] })), jsxRuntime.jsx("button", __assign({ onClick: handleOnPressClose, style: cameraStyles$1.closeButton }, { children: "\u00D7" }))] })), document.body);
762
+ return ReactDOM__default["default"].createPortal(jsxRuntime.jsxs("div", __assign({ style: cameraStyles$1.overlay }, { children: [capturedImage ? (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("img", { src: capturedImage, alt: "Captured", style: cameraStyles$1.previewImage }), jsxRuntime.jsx(TouchableOpacity, __assign({ onPress: handleUsePhoto, style: cameraStyles$1.floatingBottomButtons }, { children: jsxRuntime.jsx(View, __assign({ style: cameraStyles$1.captureButton }, { children: jsxRuntime.jsx(View, __assign({ style: cameraStyles$1.innerButton }, { children: jsxRuntime.jsx(Images, { src: icons.send, style: cameraStyles$1.sendButton }) })) })) }))] })) : (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("video", { ref: videoRef, autoPlay: true, playsInline: true, style: __assign(__assign({}, cameraStyles$1.video), { transform: isFrontCamera ? 'scaleX(-1)' : 'none' }) }), jsxRuntime.jsx("canvas", { ref: canvasRef, style: { display: 'none' } }), isCameraReady && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(TouchableOpacity, __assign({ onPress: handleCapture, style: cameraStyles$1.floatingBottomButtons }, { children: jsxRuntime.jsx(View, __assign({ style: cameraStyles$1.captureButton }, { children: jsxRuntime.jsx(View, { style: cameraStyles$1.innerButton }) })) })), hasRearCamera && (jsxRuntime.jsx(TouchableOpacity, __assign({ onPress: toggleCamera, style: cameraStyles$1.floatingBottomRotateButtons }, { children: jsxRuntime.jsx(View, __assign({ style: cameraStyles$1.captureRotateButton }, { children: jsxRuntime.jsx(Images, { src: icons.rotate, style: cameraStyles$1.rotateButton }) })) })))] }))] })), jsxRuntime.jsx("button", __assign({ onClick: handleOnPressClose, style: cameraStyles$1.closeButton }, { children: "\u00D7" }))] })), document.body);
586
763
  };
587
764
 
588
765
  var styles$j = {
@@ -1458,7 +1635,7 @@ var PhotoPreviewModal = function (_a) {
1458
1635
  return ReactDOM__default["default"].createPortal(jsxRuntime.jsx("div", __assign({ onClick: onDismiss, style: styles$9.backdrop }, { children: jsxRuntime.jsx("div", __assign({ onClick: function (e) { return e.stopPropagation(); }, style: styles$9.modalContent }, { children: imageUrl ? (jsxRuntime.jsx("img", { src: imageUrl, alt: '', onError: function (_a) {
1459
1636
  var currentTarget = _a.currentTarget;
1460
1637
  currentTarget.onerror = null;
1461
- currentTarget.src = IMAGES.image_not_available;
1638
+ currentTarget.src = images.image_not_available;
1462
1639
  }, style: styles$9.image })) : (jsxRuntime.jsx("p", __assign({ style: styles$9.noImageContainer }, { children: "No image provided" }))) })) })), document.body);
1463
1640
  };
1464
1641
 
@@ -1469,7 +1646,7 @@ var ImageInput = function (_a) {
1469
1646
  var _h = react.useState(false), isPreviewVisible = _h[0], setIsPreviewVisible = _h[1];
1470
1647
  var handleOnUpload = function () { return setIsVisibleBottomSheet(true); };
1471
1648
  var handleOnPreview = function () { return setIsPreviewVisible(true); };
1472
- return (jsxRuntime.jsxs(View, __assign({ style: __assign(__assign({}, styles$a.container), containerStyle) }, { children: [jsxRuntime.jsx(TouchableOpacity, __assign({ style: styles$a.containerImage, onPress: imagePreview ? handleOnPreview : handleOnUpload }, { children: jsxRuntime.jsx(Images, { src: imagePreview ? imagePreview : ICONS.camera, style: imagePreview ? styles$a.image : styles$a.iconCamera }) })), jsxRuntime.jsxs(View, __assign({ style: styles$a.containerText }, { children: [label && (jsxRuntime.jsx(Text, __assign({ type: "bold_16", style: styles$a.label }, { children: label }))), subLabel && jsxRuntime.jsx(Text, { children: subLabel }), isMandatory && jsxRuntime.jsx(Text, __assign({ type: "normal_14_red" }, { children: '*Wajib' }))] })), isEditAble && imagePreview && (jsxRuntime.jsx(TouchableOpacity, __assign({ onPress: handleOnUpload }, { children: jsxRuntime.jsx(Images, { src: ICONS.edit, style: styles$a.iconEdit }) }))), jsxRuntime.jsx(PhotoPreviewModal, { visible: isPreviewVisible, onDismiss: function () { return setIsPreviewVisible(false); }, imageUrl: imagePreview }), jsxRuntime.jsx(BottomSheetPhoto, { visible: isVisibleBottomSheet, onClose: function () { return setIsVisibleBottomSheet(false); }, onUploadBase64: function (base64) {
1649
+ return (jsxRuntime.jsxs(View, __assign({ style: __assign(__assign({}, styles$a.container), containerStyle) }, { children: [jsxRuntime.jsx(TouchableOpacity, __assign({ style: styles$a.containerImage, onPress: imagePreview ? handleOnPreview : handleOnUpload }, { children: jsxRuntime.jsx(Images, { src: imagePreview ? imagePreview : icons.camera, style: imagePreview ? styles$a.image : styles$a.iconCamera }) })), jsxRuntime.jsxs(View, __assign({ style: styles$a.containerText }, { children: [label && (jsxRuntime.jsx(Text, __assign({ type: "bold_16", style: styles$a.label }, { children: label }))), subLabel && jsxRuntime.jsx(Text, { children: subLabel }), isMandatory && jsxRuntime.jsx(Text, __assign({ type: "normal_14_red" }, { children: '*Wajib' }))] })), isEditAble && imagePreview && (jsxRuntime.jsx(TouchableOpacity, __assign({ onPress: handleOnUpload }, { children: jsxRuntime.jsx(Images, { src: icons.edit, style: styles$a.iconEdit }) }))), jsxRuntime.jsx(PhotoPreviewModal, { visible: isPreviewVisible, onDismiss: function () { return setIsPreviewVisible(false); }, imageUrl: imagePreview }), jsxRuntime.jsx(BottomSheetPhoto, { visible: isVisibleBottomSheet, onClose: function () { return setIsVisibleBottomSheet(false); }, onUploadBase64: function (base64) {
1473
1650
  if (typeof base64 === 'string') {
1474
1651
  setImagePreview(base64);
1475
1652
  if (typeof handleOnPickImage === 'function') {
@@ -1519,7 +1696,7 @@ var styles$8 = {
1519
1696
 
1520
1697
  var ImageSlider = function (_a) {
1521
1698
  var _b, _c;
1522
- var images = _a.images, style = _a.style;
1699
+ var images$1 = _a.images, style = _a.style;
1523
1700
  var _d = react.useState(0), currentIndex = _d[0], setCurrentIndex = _d[1];
1524
1701
  var _e = react.useState(false), isPreviewVisible = _e[0], setIsPreviewVisible = _e[1];
1525
1702
  var startX = react.useRef(0);
@@ -1571,21 +1748,21 @@ var ImageSlider = function (_a) {
1571
1748
  };
1572
1749
  var prevSlide = function () {
1573
1750
  setCurrentIndex(function (prevIndex) {
1574
- return prevIndex === 0 ? images.length - 1 : prevIndex - 1;
1751
+ return prevIndex === 0 ? images$1.length - 1 : prevIndex - 1;
1575
1752
  });
1576
1753
  };
1577
1754
  var nextSlide = function () {
1578
1755
  setCurrentIndex(function (prevIndex) {
1579
- return prevIndex === images.length - 1 ? 0 : prevIndex + 1;
1756
+ return prevIndex === images$1.length - 1 ? 0 : prevIndex + 1;
1580
1757
  });
1581
1758
  };
1582
- return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [images && (images === null || images === void 0 ? void 0 : images.length) > 0 ? (jsxRuntime.jsxs(TouchableOpacity, __assign({ onPress: function () { return setIsPreviewVisible(true); }, style: __assign(__assign({}, styles$8.sliderContainer), style), onTouchStart: handleTouchStart, onTouchMove: handleTouchMove, onTouchEnd: handleTouchEnd, onMouseDown: handleMouseDown, onMouseMove: handleMouseMove, onMouseUp: handleMouseUp, onMouseLeave: handleMouseLeave }, { children: [jsxRuntime.jsx("img", { src: (_b = images === null || images === void 0 ? void 0 : images[currentIndex]) === null || _b === void 0 ? void 0 : _b.file, alt: "slide-".concat(currentIndex), style: styles$8.image, draggable: false, onError: function (_a) {
1759
+ return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [images$1 && (images$1 === null || images$1 === void 0 ? void 0 : images$1.length) > 0 ? (jsxRuntime.jsxs(TouchableOpacity, __assign({ onPress: function () { return setIsPreviewVisible(true); }, style: __assign(__assign({}, styles$8.sliderContainer), style), onTouchStart: handleTouchStart, onTouchMove: handleTouchMove, onTouchEnd: handleTouchEnd, onMouseDown: handleMouseDown, onMouseMove: handleMouseMove, onMouseUp: handleMouseUp, onMouseLeave: handleMouseLeave }, { children: [jsxRuntime.jsx("img", { src: (_b = images$1 === null || images$1 === void 0 ? void 0 : images$1[currentIndex]) === null || _b === void 0 ? void 0 : _b.file, alt: "slide-".concat(currentIndex), style: styles$8.image, draggable: false, onError: function (_a) {
1583
1760
  var currentTarget = _a.currentTarget;
1584
1761
  currentTarget.onerror = null;
1585
- currentTarget.src = IMAGES.image_not_available;
1586
- } }), jsxRuntime.jsxs("div", __assign({ style: styles$8.counter }, { children: [currentIndex + 1, " / ", images.length] }))] }))) : (jsxRuntime.jsx(Images, { src: '', style: __assign(__assign({}, styles$8.imageNotAvailable), style) })), jsxRuntime.jsx(PhotoPreviewModal, { visible: isPreviewVisible, onDismiss: function () { return setIsPreviewVisible(false); }, imageUrl: images.length > 0
1587
- ? (_c = images === null || images === void 0 ? void 0 : images[currentIndex]) === null || _c === void 0 ? void 0 : _c.file
1588
- : IMAGES.image_not_available })] }));
1762
+ currentTarget.src = images.image_not_available;
1763
+ } }), jsxRuntime.jsxs("div", __assign({ style: styles$8.counter }, { children: [currentIndex + 1, " / ", images$1.length] }))] }))) : (jsxRuntime.jsx(Images, { src: '', style: __assign(__assign({}, styles$8.imageNotAvailable), style) })), jsxRuntime.jsx(PhotoPreviewModal, { visible: isPreviewVisible, onDismiss: function () { return setIsPreviewVisible(false); }, imageUrl: images$1.length > 0
1764
+ ? (_c = images$1 === null || images$1 === void 0 ? void 0 : images$1[currentIndex]) === null || _c === void 0 ? void 0 : _c.file
1765
+ : images.image_not_available })] }));
1589
1766
  };
1590
1767
 
1591
1768
  var styles$7 = {
@@ -30441,7 +30618,7 @@ var ScannerCamera = function (_a) {
30441
30618
  stopCamera();
30442
30619
  onClose();
30443
30620
  };
30444
- return ReactDOM__default["default"].createPortal(jsxRuntime.jsxs("div", __assign({ style: cameraStyles.overlay }, { children: [jsxRuntime.jsx("video", { ref: videoRef, autoPlay: true, playsInline: true, style: __assign(__assign({}, cameraStyles.video), { transform: isFrontCamera ? 'scaleX(-1)' : 'none', position: 'absolute', top: 0, left: 0, width: '100%', height: '100%', objectFit: 'cover' }) }), drawBoundingBox(), isCameraReady && hasRearCamera && (jsxRuntime.jsx(TouchableOpacity, __assign({ onPress: toggleCamera, style: cameraStyles.floatingBottomRotateButtons }, { children: jsxRuntime.jsx(View, __assign({ style: cameraStyles.captureRotateButton }, { children: jsxRuntime.jsx(Images, { src: ICONS.rotate, style: cameraStyles.rotateButton }) })) }))), jsxRuntime.jsx("button", __assign({ onClick: handleOnPressClose, style: cameraStyles.closeButton }, { children: "\u00D7" }))] })), document.body);
30621
+ return ReactDOM__default["default"].createPortal(jsxRuntime.jsxs("div", __assign({ style: cameraStyles.overlay }, { children: [jsxRuntime.jsx("video", { ref: videoRef, autoPlay: true, playsInline: true, style: __assign(__assign({}, cameraStyles.video), { transform: isFrontCamera ? 'scaleX(-1)' : 'none', position: 'absolute', top: 0, left: 0, width: '100%', height: '100%', objectFit: 'cover' }) }), drawBoundingBox(), isCameraReady && hasRearCamera && (jsxRuntime.jsx(TouchableOpacity, __assign({ onPress: toggleCamera, style: cameraStyles.floatingBottomRotateButtons }, { children: jsxRuntime.jsx(View, __assign({ style: cameraStyles.captureRotateButton }, { children: jsxRuntime.jsx(Images, { src: icons.rotate, style: cameraStyles.rotateButton }) })) }))), jsxRuntime.jsx("button", __assign({ onClick: handleOnPressClose, style: cameraStyles.closeButton }, { children: "\u00D7" }))] })), document.body);
30445
30622
  };
30446
30623
 
30447
30624
  var styles$2 = {
@@ -30589,7 +30766,7 @@ var TextInput = function (_a) {
30589
30766
  : styles$1.scanQrImageContainer, onPress: function () {
30590
30767
  handleOnScanQr();
30591
30768
  setIsScannerVisible(true);
30592
- } }, { children: jsxRuntime.jsx(Images, { style: styles$1.scanQrImage, src: ICONS.scan_qr }) })))] })), isScannerVisible && (jsxRuntime.jsx(ScannerCamera, { onClose: function () { return setIsScannerVisible(false); }, onCapture: function (data) { return handleOnScanQr && handleOnScanQr(data); } }))] }));
30769
+ } }, { children: jsxRuntime.jsx(Images, { style: styles$1.scanQrImage, src: icons.scan_qr }) })))] })), isScannerVisible && (jsxRuntime.jsx(ScannerCamera, { onClose: function () { return setIsScannerVisible(false); }, onCapture: function (data) { return handleOnScanQr && handleOnScanQr(data); } }))] }));
30593
30770
  };
30594
30771
 
30595
30772
  var SearchBox = function (_a) {
@@ -30605,10 +30782,10 @@ var SearchBox = function (_a) {
30605
30782
  if (handleOnSubmitSearch && !handleOnScanQr) {
30606
30783
  handleOnSubmitSearch(value);
30607
30784
  }
30608
- } }, props)), (value === null || value === void 0 ? void 0 : value.length) > 0 && (jsxRuntime.jsx(TouchableOpacity, __assign({ style: styles$2.closeSearchButton, onPress: handleOnClearSearch }, { children: jsxRuntime.jsx(Images, { style: __assign(__assign({}, styles$2.closeSearchButtonImage), { paddingRight: handleOnScanQr ? 48 : 16 }), src: (_b = ICONS.close) !== null && _b !== void 0 ? _b : '' }) }))), handleOnScanQr && (jsxRuntime.jsx(TouchableOpacity, __assign({ style: styles$2.scanQrImageContainer, onPress: function () {
30785
+ } }, props)), (value === null || value === void 0 ? void 0 : value.length) > 0 && (jsxRuntime.jsx(TouchableOpacity, __assign({ style: styles$2.closeSearchButton, onPress: handleOnClearSearch }, { children: jsxRuntime.jsx(Images, { style: __assign(__assign({}, styles$2.closeSearchButtonImage), { paddingRight: handleOnScanQr ? 48 : 16 }), src: (_b = icons.close) !== null && _b !== void 0 ? _b : '' }) }))), handleOnScanQr && (jsxRuntime.jsx(TouchableOpacity, __assign({ style: styles$2.scanQrImageContainer, onPress: function () {
30609
30786
  handleOnScanQr();
30610
30787
  setIsScannerVisible(true);
30611
- } }, { children: jsxRuntime.jsx(Images, { style: styles$2.scanQrImage, src: ICONS.scan_qr }) })))] })), isScannerVisible && (jsxRuntime.jsx(ScannerCamera, { onClose: function () { return setIsScannerVisible(false); }, onCapture: function (data) { return handleOnScanQr === null || handleOnScanQr === void 0 ? void 0 : handleOnScanQr(data); } }))] }));
30788
+ } }, { children: jsxRuntime.jsx(Images, { style: styles$2.scanQrImage, src: icons.scan_qr }) })))] })), isScannerVisible && (jsxRuntime.jsx(ScannerCamera, { onClose: function () { return setIsScannerVisible(false); }, onCapture: function (data) { return handleOnScanQr === null || handleOnScanQr === void 0 ? void 0 : handleOnScanQr(data); } }))] }));
30612
30789
  };
30613
30790
 
30614
30791
  var Swipeable = function (_a) {