@caspeco/casper-ui-library 10.4.0 → 10.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_rolldown/runtime.js +11 -0
- package/dist/_virtual/builtin_esm-external-require-react.js +9 -0
- package/dist/components/accordion/accordion-context.js +5 -6
- package/dist/components/accordion/accordion-item.js +28 -40
- package/dist/components/accordion/accordion-panel.js +17 -14
- package/dist/components/accordion/accordion-recipe.js +85 -120
- package/dist/components/accordion/accordion.js +23 -20
- package/dist/components/alert/alert.js +80 -59
- package/dist/components/alert/helper.js +30 -42
- package/dist/components/alert/types.d.ts.map +1 -1
- package/dist/components/badge/badge-recipe.js +57 -49
- package/dist/components/badge/badge.js +66 -71
- package/dist/components/badge/helper.js +8 -9
- package/dist/components/box/box.js +14 -11
- package/dist/components/breadcrumbs/breadcrumb-item.js +21 -17
- package/dist/components/breadcrumbs/breadcrumb-link.js +21 -20
- package/dist/components/breadcrumbs/breadcrumbs.js +123 -90
- package/dist/components/button/button-recipe.js +280 -315
- package/dist/components/button/button.js +39 -40
- package/dist/components/checkbox/checkbox-icon.js +38 -46
- package/dist/components/checkbox/checkbox-recipe.js +176 -204
- package/dist/components/checkbox/checkbox.js +43 -36
- package/dist/components/checkbox/icons/check.js +5 -5
- package/dist/components/checkbox/icons/minus.js +5 -5
- package/dist/components/checkbox/icons/plus.js +5 -5
- package/dist/components/checkbox-group/checkbox-group.js +17 -16
- package/dist/components/collapsible/collapsible.js +117 -101
- package/dist/components/collapsible/translations.js +29 -29
- package/dist/components/combobox/combobox-button.js +173 -143
- package/dist/components/combobox/combobox-item.js +45 -23
- package/dist/components/combobox/combobox-menu.js +240 -190
- package/dist/components/combobox/combobox-recipe.js +69 -103
- package/dist/components/combobox/combobox.js +243 -273
- package/dist/components/combobox/translations.js +49 -50
- package/dist/components/date-picker/base-date-picker.js +238 -248
- package/dist/components/date-picker/date-cell-recipe.js +149 -179
- package/dist/components/date-picker/date-multi-picker.js +35 -29
- package/dist/components/date-picker/date-picker-date-cell.js +109 -114
- package/dist/components/date-picker/date-picker-header.js +152 -170
- package/dist/components/date-picker/date-picker-week-cell.js +41 -43
- package/dist/components/date-picker/date-picker.js +32 -29
- package/dist/components/date-picker/date-range-picker.js +29 -24
- package/dist/components/date-picker/date-week-picker.js +29 -22
- package/dist/components/date-picker/datepicker-week-recipe.js +75 -91
- package/dist/components/date-picker/helper.js +11 -16
- package/dist/components/divider/divider-recipe.js +9 -11
- package/dist/components/divider/divider.js +19 -18
- package/dist/components/drawer/drawer-recipe.js +21 -50
- package/dist/components/drawer/drawer.js +45 -41
- package/dist/components/drawer/inline-drawer.js +69 -66
- package/dist/components/drawer/use-drawer-key-down.js +20 -20
- package/dist/components/fieldset/fieldset-error-text.js +15 -15
- package/dist/components/fieldset/fieldset-helper-text.js +15 -15
- package/dist/components/fieldset/fieldset-legend.js +15 -15
- package/dist/components/fieldset/fieldset-recipe.js +14 -24
- package/dist/components/fieldset/fieldset.js +17 -17
- package/dist/components/flex/flex.js +15 -15
- package/dist/components/form-control/form-control-recipe.js +42 -46
- package/dist/components/form-control/form-control.js +19 -19
- package/dist/components/form-control/form-error-message.js +15 -15
- package/dist/components/form-control/form-helper-text.js +15 -15
- package/dist/components/form-control/form-label.js +24 -26
- package/dist/components/grid/grid-item.js +15 -15
- package/dist/components/grid/grid.js +15 -15
- package/dist/components/heading/heading.js +24 -23
- package/dist/components/highlight/highlight.js +22 -21
- package/dist/components/icon/create-icon.js +27 -26
- package/dist/components/icon/icons/absence-icon.js +5 -5
- package/dist/components/icon/icons/accessibility-icon.js +5 -5
- package/dist/components/icon/icons/add-absence-icon.js +5 -5
- package/dist/components/icon/icons/add-emoji-icon.js +5 -5
- package/dist/components/icon/icons/add-icon.js +5 -5
- package/dist/components/icon/icons/apple-icon.js +5 -5
- package/dist/components/icon/icons/apps-icon.js +5 -5
- package/dist/components/icon/icons/archive-icon.js +6 -6
- package/dist/components/icon/icons/area-icon.js +5 -5
- package/dist/components/icon/icons/at-icon.js +5 -5
- package/dist/components/icon/icons/attachment-icon.js +5 -5
- package/dist/components/icon/icons/baby-icon.js +5 -5
- package/dist/components/icon/icons/back-icon.js +5 -5
- package/dist/components/icon/icons/backspace-icon.js +5 -5
- package/dist/components/icon/icons/bank-icon.js +5 -5
- package/dist/components/icon/icons/bank-id-icon.js +5 -5
- package/dist/components/icon/icons/barcode-icon.js +5 -5
- package/dist/components/icon/icons/bell-icon.js +5 -5
- package/dist/components/icon/icons/bolt-icon.js +7 -7
- package/dist/components/icon/icons/calendar-icon.js +5 -5
- package/dist/components/icon/icons/camera-icon.js +5 -5
- package/dist/components/icon/icons/cancel-icon.js +5 -5
- package/dist/components/icon/icons/card-icon.js +5 -5
- package/dist/components/icon/icons/cart-icon.js +5 -5
- package/dist/components/icon/icons/caspeco-icon.js +7 -7
- package/dist/components/icon/icons/channels-icon.js +5 -5
- package/dist/components/icon/icons/chart-icon.js +5 -5
- package/dist/components/icon/icons/chart-line-icon.js +5 -5
- package/dist/components/icon/icons/chart-mixed-icon.js +5 -5
- package/dist/components/icon/icons/chart-pie-icon.js +5 -5
- package/dist/components/icon/icons/chart-scatter-icon.js +5 -5
- package/dist/components/icon/icons/check-icon.js +5 -5
- package/dist/components/icon/icons/checkbox-icon.js +5 -5
- package/dist/components/icon/icons/chevron-left-icon.js +5 -5
- package/dist/components/icon/icons/chevron-right-icon.js +5 -5
- package/dist/components/icon/icons/child-icon.js +5 -5
- package/dist/components/icon/icons/circle-info-icon.js +5 -5
- package/dist/components/icon/icons/circle-parking-icon.js +5 -5
- package/dist/components/icon/icons/circle-question-icon.js +5 -5
- package/dist/components/icon/icons/circle-select-icon.js +5 -5
- package/dist/components/icon/icons/circle-success-icon.js +5 -5
- package/dist/components/icon/icons/circle-user-icon.js +5 -5
- package/dist/components/icon/icons/clear-icon.js +5 -5
- package/dist/components/icon/icons/close-icon.js +5 -5
- package/dist/components/icon/icons/closed-icon.js +5 -5
- package/dist/components/icon/icons/collapse-icon.js +5 -5
- package/dist/components/icon/icons/color-icon.js +5 -5
- package/dist/components/icon/icons/columns-icon.js +5 -5
- package/dist/components/icon/icons/comment-add-icon.js +5 -5
- package/dist/components/icon/icons/comment-icon.js +5 -5
- package/dist/components/icon/icons/cookies-icon.js +5 -5
- package/dist/components/icon/icons/copy-icon.js +5 -5
- package/dist/components/icon/icons/date-icon.js +5 -5
- package/dist/components/icon/icons/decrease-icon.js +4 -4
- package/dist/components/icon/icons/delete-icon.js +5 -5
- package/dist/components/icon/icons/deliverect-icon.js +5 -5
- package/dist/components/icon/icons/delivery-icon.js +5 -5
- package/dist/components/icon/icons/description-icon.js +5 -5
- package/dist/components/icon/icons/discount-icon.js +5 -5
- package/dist/components/icon/icons/distribute-evenly-icon.js +5 -5
- package/dist/components/icon/icons/door-closed-icon.js +5 -5
- package/dist/components/icon/icons/door-open-icon.js +5 -5
- package/dist/components/icon/icons/down-icon.js +5 -5
- package/dist/components/icon/icons/eat-in-icon.js +5 -5
- package/dist/components/icon/icons/edit-icon.js +5 -5
- package/dist/components/icon/icons/email-icon.js +5 -5
- package/dist/components/icon/icons/error-icon.js +5 -5
- package/dist/components/icon/icons/expand-icon.js +5 -5
- package/dist/components/icon/icons/export-icon.js +5 -5
- package/dist/components/icon/icons/extract-icon.js +5 -5
- package/dist/components/icon/icons/facebook-icon.js +5 -5
- package/dist/components/icon/icons/failed-print-icon.js +5 -5
- package/dist/components/icon/icons/file-icon.js +5 -5
- package/dist/components/icon/icons/filter-icon.js +5 -5
- package/dist/components/icon/icons/folder-icon.js +5 -5
- package/dist/components/icon/icons/foodora-icon.js +5 -5
- package/dist/components/icon/icons/forward-icon.js +5 -5
- package/dist/components/icon/icons/glovo-icon.js +7 -7
- package/dist/components/icon/icons/goal-icon.js +5 -5
- package/dist/components/icon/icons/google-icon.js +5 -5
- package/dist/components/icon/icons/grip-more-icon.js +5 -5
- package/dist/components/icon/icons/hash-icon.js +5 -5
- package/dist/components/icon/icons/hexagon-error-icon.js +5 -5
- package/dist/components/icon/icons/hide-icon.js +5 -5
- package/dist/components/icon/icons/history-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-anchor-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-asterisk-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-beer-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-bicycle-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-binoculars-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-bomb-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-car-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-cocktail-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-gem-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-heart-full-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-heart-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-magnet-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-money-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-moon-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-music-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-star-full-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-star-half-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-star-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-tint-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-tree-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-utensils-icon.js +5 -5
- package/dist/components/icon/icons/icon-picker-wheelchair-icon.js +5 -5
- package/dist/components/icon/icons/image-icon.js +5 -5
- package/dist/components/icon/icons/import-icon.js +5 -5
- package/dist/components/icon/icons/inbox-icon.js +5 -5
- package/dist/components/icon/icons/increase-icon.js +5 -5
- package/dist/components/icon/icons/indeterminate-icon.js +4 -4
- package/dist/components/icon/icons/info-icon.js +5 -5
- package/dist/components/icon/icons/inheritance-icon.js +5 -5
- package/dist/components/icon/icons/just-eat-icon.js +5 -5
- package/dist/components/icon/icons/karma-icon.js +5 -5
- package/dist/components/icon/icons/key-command-icon.js +5 -5
- package/dist/components/icon/icons/key-enter-icon.js +5 -5
- package/dist/components/icon/icons/key-icon.js +5 -5
- package/dist/components/icon/icons/key-option-icon.js +5 -5
- package/dist/components/icon/icons/language-icon.js +5 -5
- package/dist/components/icon/icons/link-broken-icon.js +5 -5
- package/dist/components/icon/icons/link-external-icon.js +5 -5
- package/dist/components/icon/icons/link-icon.js +5 -5
- package/dist/components/icon/icons/list-ol-icon.js +5 -5
- package/dist/components/icon/icons/list-ul-icon.js +5 -5
- package/dist/components/icon/icons/loading-icon.js +5 -5
- package/dist/components/icon/icons/location-icon.js +5 -5
- package/dist/components/icon/icons/lock-icon.js +5 -5
- package/dist/components/icon/icons/log-in-icon.js +5 -5
- package/dist/components/icon/icons/log-out-icon.js +5 -5
- package/dist/components/icon/icons/map-icon.js +5 -5
- package/dist/components/icon/icons/maximize-icon.js +5 -5
- package/dist/components/icon/icons/members-icon.js +5 -5
- package/dist/components/icon/icons/menu-hide-icon.js +5 -5
- package/dist/components/icon/icons/menu-icon.js +5 -5
- package/dist/components/icon/icons/menu-show-icon.js +5 -5
- package/dist/components/icon/icons/message-add-icon.js +5 -5
- package/dist/components/icon/icons/message-icon.js +5 -5
- package/dist/components/icon/icons/message-lines-icon.js +5 -5
- package/dist/components/icon/icons/minimize-icon.js +5 -5
- package/dist/components/icon/icons/minimize-window-icon.js +5 -5
- package/dist/components/icon/icons/mobile-rotate-icon.js +5 -5
- package/dist/components/icon/icons/module-accounting-icon.js +5 -5
- package/dist/components/icon/icons/module-ai-forecast-icon.js +5 -5
- package/dist/components/icon/icons/module-app-icon.js +5 -5
- package/dist/components/icon/icons/module-articles-icon.js +5 -5
- package/dist/components/icon/icons/module-benchmark-icon.js +5 -5
- package/dist/components/icon/icons/module-booking-icon.js +5 -5
- package/dist/components/icon/icons/module-cai-icon.js +5 -5
- package/dist/components/icon/icons/module-campaigns-icon.js +5 -5
- package/dist/components/icon/icons/module-cashier-icon.js +5 -5
- package/dist/components/icon/icons/module-communication-icon.js +5 -5
- package/dist/components/icon/icons/module-copilot-icon.js +5 -5
- package/dist/components/icon/icons/module-dashboard-icon.js +5 -5
- package/dist/components/icon/icons/module-document-icon.js +5 -5
- package/dist/components/icon/icons/module-employees-icon.js +5 -5
- package/dist/components/icon/icons/module-feed-icon.js +5 -5
- package/dist/components/icon/icons/module-history-icon.js +5 -5
- package/dist/components/icon/icons/module-home-icon.js +5 -5
- package/dist/components/icon/icons/module-insights-icon.js +5 -5
- package/dist/components/icon/icons/module-kds-icon.js +5 -5
- package/dist/components/icon/icons/module-members-icon.js +5 -5
- package/dist/components/icon/icons/module-menus-icon.js +5 -5
- package/dist/components/icon/icons/module-my-city-icon.js +5 -5
- package/dist/components/icon/icons/module-notification-center-icon.js +5 -5
- package/dist/components/icon/icons/module-online-order-icon.js +5 -5
- package/dist/components/icon/icons/module-organisation-icon.js +5 -5
- package/dist/components/icon/icons/module-pos-icon.js +5 -5
- package/dist/components/icon/icons/module-pulse-icon.js +5 -5
- package/dist/components/icon/icons/module-result-icon.js +5 -5
- package/dist/components/icon/icons/module-salary-icon.js +5 -5
- package/dist/components/icon/icons/module-schedule-icon.js +5 -5
- package/dist/components/icon/icons/module-settings-alt-icon.js +5 -5
- package/dist/components/icon/icons/module-settings-icon.js +5 -5
- package/dist/components/icon/icons/module-support-icon.js +5 -5
- package/dist/components/icon/icons/module-survey-icon.js +5 -5
- package/dist/components/icon/icons/module-table-map-icon.js +6 -6
- package/dist/components/icon/icons/module-tablet-icon.js +5 -5
- package/dist/components/icon/icons/module-time-icon.js +5 -5
- package/dist/components/icon/icons/module-timeline-icon.js +5 -5
- package/dist/components/icon/icons/module-tip-icon.js +5 -5
- package/dist/components/icon/icons/module-to-do-icon.js +5 -5
- package/dist/components/icon/icons/module-tools-icon.js +5 -5
- package/dist/components/icon/icons/module-top-list-icon.js +5 -5
- package/dist/components/icon/icons/module-web-charts-icon.js +5 -5
- package/dist/components/icon/icons/module-web-icon.js +5 -5
- package/dist/components/icon/icons/more-horizontal-icon.js +5 -5
- package/dist/components/icon/icons/more-vertical-icon.js +5 -5
- package/dist/components/icon/icons/nfc-icon.js +5 -5
- package/dist/components/icon/icons/no-cart-icon.js +5 -5
- package/dist/components/icon/icons/note-icon.js +5 -5
- package/dist/components/icon/icons/number-icon.js +6 -6
- package/dist/components/icon/icons/open-modal-icon.js +5 -5
- package/dist/components/icon/icons/parking-icon.js +5 -5
- package/dist/components/icon/icons/party-horn-icon.js +5 -5
- package/dist/components/icon/icons/paste-icon.js +5 -5
- package/dist/components/icon/icons/pause-icon.js +5 -5
- package/dist/components/icon/icons/payment-card-icon.js +5 -5
- package/dist/components/icon/icons/payment-cash-icon.js +5 -5
- package/dist/components/icon/icons/payment-generic-icon.js +5 -5
- package/dist/components/icon/icons/payment-giftcard-icon.js +5 -5
- package/dist/components/icon/icons/payment-hotel-icon.js +5 -5
- package/dist/components/icon/icons/payment-invoice-icon.js +5 -5
- package/dist/components/icon/icons/percentage-icon.js +5 -5
- package/dist/components/icon/icons/phone-icon.js +5 -5
- package/dist/components/icon/icons/pin-icon.js +5 -5
- package/dist/components/icon/icons/pin-map-icon.js +5 -5
- package/dist/components/icon/icons/play-icon.js +5 -5
- package/dist/components/icon/icons/preview-icon.js +5 -5
- package/dist/components/icon/icons/print-icon.js +5 -5
- package/dist/components/icon/icons/privacy-icon.js +5 -5
- package/dist/components/icon/icons/product-admin-icon.js +5 -5
- package/dist/components/icon/icons/product-analytics-icon.js +5 -5
- package/dist/components/icon/icons/product-booking-icon.js +5 -5
- package/dist/components/icon/icons/product-checkout-icon.js +5 -5
- package/dist/components/icon/icons/product-my-pages-icon.js +5 -5
- package/dist/components/icon/icons/product-staff-icon.js +5 -5
- package/dist/components/icon/icons/puck-icon.js +5 -5
- package/dist/components/icon/icons/qr-code-icon.js +5 -5
- package/dist/components/icon/icons/question-icon.js +5 -5
- package/dist/components/icon/icons/radio-icon.js +5 -5
- package/dist/components/icon/icons/receipt-icon.js +5 -5
- package/dist/components/icon/icons/redo-icon.js +5 -5
- package/dist/components/icon/icons/refund-icon.js +5 -5
- package/dist/components/icon/icons/remove-icon.js +5 -5
- package/dist/components/icon/icons/replace-icon.js +5 -5
- package/dist/components/icon/icons/schedule-icon.js +5 -5
- package/dist/components/icon/icons/search-icon.js +5 -5
- package/dist/components/icon/icons/select-icon.js +4 -4
- package/dist/components/icon/icons/send-icon.js +5 -5
- package/dist/components/icon/icons/share-icon.js +5 -5
- package/dist/components/icon/icons/show-icon.js +5 -5
- package/dist/components/icon/icons/shuffle-icon.js +5 -5
- package/dist/components/icon/icons/sidebar-hide-icon.js +4 -4
- package/dist/components/icon/icons/sidebar-left-icon.js +4 -4
- package/dist/components/icon/icons/sidebar-right-icon.js +5 -5
- package/dist/components/icon/icons/sidebar-show-icon.js +5 -5
- package/dist/components/icon/icons/sliders-icon.js +5 -5
- package/dist/components/icon/icons/slightly-sad-icon.js +5 -5
- package/dist/components/icon/icons/smile-icon.js +5 -5
- package/dist/components/icon/icons/sort-asc-icon.js +5 -5
- package/dist/components/icon/icons/sort-desc-icon.js +5 -5
- package/dist/components/icon/icons/split-icon.js +5 -5
- package/dist/components/icon/icons/status-icon.js +5 -5
- package/dist/components/icon/icons/stop-icon.js +5 -5
- package/dist/components/icon/icons/submenu-icon.js +5 -5
- package/dist/components/icon/icons/success-icon.js +5 -5
- package/dist/components/icon/icons/swap-icon.js +5 -5
- package/dist/components/icon/icons/swatch-icon.js +5 -5
- package/dist/components/icon/icons/sweat-icon.js +5 -5
- package/dist/components/icon/icons/table-icon.js +5 -5
- package/dist/components/icon/icons/table-map-icon.js +5 -5
- package/dist/components/icon/icons/take-away-dot-com-icon.js +5 -5
- package/dist/components/icon/icons/take-away-icon.js +5 -5
- package/dist/components/icon/icons/talk-icon.js +5 -5
- package/dist/components/icon/icons/thumbtack-icon.js +5 -5
- package/dist/components/icon/icons/time-icon.js +5 -5
- package/dist/components/icon/icons/timeline-icon.js +5 -5
- package/dist/components/icon/icons/tip-icon.js +5 -5
- package/dist/components/icon/icons/title-icon.js +5 -5
- package/dist/components/icon/icons/translate-icon.js +5 -5
- package/dist/components/icon/icons/tree-view-collapse-icon.js +4 -4
- package/dist/components/icon/icons/tree-view-expand-icon.js +4 -4
- package/dist/components/icon/icons/tree-view-last-icon.js +4 -4
- package/dist/components/icon/icons/trend-down-icon.js +5 -5
- package/dist/components/icon/icons/trend-up-icon.js +5 -5
- package/dist/components/icon/icons/triangle-warning-icon.js +5 -5
- package/dist/components/icon/icons/trivec-icon.js +6 -6
- package/dist/components/icon/icons/uber-eats-icon.js +5 -5
- package/dist/components/icon/icons/undo-icon.js +5 -5
- package/dist/components/icon/icons/unlock-icon.js +5 -5
- package/dist/components/icon/icons/unwrap-content-icon.js +5 -5
- package/dist/components/icon/icons/up-icon.js +5 -5
- package/dist/components/icon/icons/user-group-icon.js +5 -5
- package/dist/components/icon/icons/user-icon.js +5 -5
- package/dist/components/icon/icons/user-permissions-icon.js +5 -5
- package/dist/components/icon/icons/user-wait-icon.js +5 -5
- package/dist/components/icon/icons/users-icon.js +5 -5
- package/dist/components/icon/icons/version-control-icon.js +5 -5
- package/dist/components/icon/icons/volume-high-icon.js +5 -5
- package/dist/components/icon/icons/volume-icon.js +5 -5
- package/dist/components/icon/icons/volume-low-icon.js +5 -5
- package/dist/components/icon/icons/volume-off-icon.js +5 -5
- package/dist/components/icon/icons/warning-icon.js +5 -5
- package/dist/components/icon/icons/waste-icon.js +5 -5
- package/dist/components/icon/icons/wifi-icon.js +5 -5
- package/dist/components/icon/icons/wifi-off-icon.js +5 -5
- package/dist/components/icon/icons/wolt-icon.js +5 -5
- package/dist/components/icon/icons/wrap-content-icon.js +5 -5
- package/dist/components/icon-button/icon-button.js +37 -39
- package/dist/components/image/image.js +12 -14
- package/dist/components/image-upload/image-cropper.helper.js +74 -82
- package/dist/components/image-upload/image-cropper.js +156 -183
- package/dist/components/image-upload/image-upload-dropzone.js +134 -112
- package/dist/components/image-upload/image-upload-helper.js +15 -19
- package/dist/components/image-upload/image-upload-icons.js +52 -20
- package/dist/components/image-upload/image-upload-modal.js +131 -106
- package/dist/components/image-upload/image-upload.js +96 -86
- package/dist/components/image-upload/translations.js +65 -65
- package/dist/components/image-upload/types.js +6 -4
- package/dist/components/input/helper.js +18 -29
- package/dist/components/input/input-addon-recipe.js +37 -43
- package/dist/components/input/input-recipe.js +124 -133
- package/dist/components/input/input.js +78 -83
- package/dist/components/link/link-recipe.js +18 -22
- package/dist/components/link/link.js +14 -14
- package/dist/components/list/list-item.js +15 -15
- package/dist/components/list/list.js +19 -20
- package/dist/components/menu/helper.js +12 -16
- package/dist/components/menu/menu-box-button.js +22 -18
- package/dist/components/menu/menu-button.js +18 -16
- package/dist/components/menu/menu-divider.js +31 -28
- package/dist/components/menu/menu-group.js +138 -142
- package/dist/components/menu/menu-icon-button.js +13 -11
- package/dist/components/menu/menu-item.js +44 -45
- package/dist/components/menu/menu-list.js +14 -15
- package/dist/components/menu/menu-recipe.js +67 -81
- package/dist/components/menu/menu.js +34 -41
- package/dist/components/message/message.js +52 -38
- package/dist/components/modal/modal-body-context.js +6 -7
- package/dist/components/modal/modal-body.js +17 -17
- package/dist/components/modal/modal-close-button.js +23 -18
- package/dist/components/modal/modal-footer.js +29 -32
- package/dist/components/modal/modal-header.js +17 -17
- package/dist/components/modal/modal-recipe.js +110 -141
- package/dist/components/modal/modal.js +54 -58
- package/dist/components/navigation-list/navigation-list-item.js +76 -88
- package/dist/components/navigation-list/navigation-list.js +23 -17
- package/dist/components/paginator/paginator-recipe.js +34 -40
- package/dist/components/paginator/paginator.js +65 -70
- package/dist/components/paginator/translations.js +35 -35
- package/dist/components/phone-input/country-data.d.ts +1 -1
- package/dist/components/phone-input/country-data.d.ts.map +1 -1
- package/dist/components/phone-input/country-data.js +31 -36
- package/dist/components/phone-input/country-list.d.ts +1 -1
- package/dist/components/phone-input/country-list.d.ts.map +1 -1
- package/dist/components/phone-input/country-list.js +46 -25
- package/dist/components/phone-input/country-selector.d.ts +1 -1
- package/dist/components/phone-input/country-selector.d.ts.map +1 -1
- package/dist/components/phone-input/country-selector.js +167 -115
- package/dist/components/phone-input/phone-input-helpers.d.ts +1 -1
- package/dist/components/phone-input/phone-input-helpers.d.ts.map +1 -1
- package/dist/components/phone-input/phone-input-helpers.js +91 -119
- package/dist/components/phone-input/phone-input.js +47 -42
- package/dist/components/phone-input/translations.js +53 -53
- package/dist/components/phone-input/types.d.ts +1 -1
- package/dist/components/phone-input/types.d.ts.map +1 -1
- package/dist/components/phone-input/use-phone-input.d.ts +1 -1
- package/dist/components/phone-input/use-phone-input.d.ts.map +1 -1
- package/dist/components/phone-input/use-phone-input.js +110 -137
- package/dist/components/quantity-button/minus-button.js +18 -16
- package/dist/components/quantity-button/plus-button.js +18 -16
- package/dist/components/quantity-button/quantity-button.js +72 -40
- package/dist/components/radio/check-icon.js +5 -5
- package/dist/components/radio/hover-styles.js +21 -36
- package/dist/components/radio/radio-group-context.js +5 -6
- package/dist/components/radio/radio-group-recipe.js +124 -142
- package/dist/components/radio/radio-group.js +30 -28
- package/dist/components/radio/radio.js +72 -55
- package/dist/components/radio-card/hover-styles.js +21 -36
- package/dist/components/radio-card/radio-card-group.js +24 -25
- package/dist/components/radio-card/radio-card.js +87 -67
- package/dist/components/rich-text-editor/boolean-control.js +51 -54
- package/dist/components/rich-text-editor/extensions.js +39 -34
- package/dist/components/rich-text-editor/index.js +26 -22
- package/dist/components/rich-text-editor/rich-text-editor-context.js +9 -11
- package/dist/components/rich-text-editor/rich-text-editor-control.js +290 -284
- package/dist/components/rich-text-editor/rich-text-editor-recipe.js +71 -83
- package/dist/components/rich-text-editor/rich-text-editor.js +72 -69
- package/dist/components/rich-text-editor/rich-text-renderer.js +32 -32
- package/dist/components/rich-text-editor/translations.js +119 -119
- package/dist/components/rich-text-editor/use-rich-text-editor.js +22 -29
- package/dist/components/segmented-control/segmented-control-item.js +24 -25
- package/dist/components/segmented-control/segmented-control.js +49 -40
- package/dist/components/select/select-recipe.js +91 -106
- package/dist/components/select/select.js +27 -29
- package/dist/components/skeleton/skeleton-text.js +18 -19
- package/dist/components/skeleton/skeleton.js +19 -20
- package/dist/components/spinner/spinner.js +44 -28
- package/dist/components/stack/stack.js +18 -18
- package/dist/components/stepper/check-icon.js +5 -5
- package/dist/components/stepper/step-context.js +5 -5
- package/dist/components/stepper/step.js +111 -106
- package/dist/components/stepper/stepper.js +42 -43
- package/dist/components/stepper/times-icon.js +5 -5
- package/dist/components/switch/hover-styles.js +30 -44
- package/dist/components/switch/switch-recipe.js +76 -84
- package/dist/components/switch/switch.d.ts +3 -3
- package/dist/components/switch/switch.d.ts.map +1 -1
- package/dist/components/switch/switch.js +30 -31
- package/dist/components/switch/types.d.ts +4 -2
- package/dist/components/switch/types.d.ts.map +1 -1
- package/dist/components/table/helper.d.ts +6 -0
- package/dist/components/table/helper.d.ts.map +1 -1
- package/dist/components/table/helper.js +29 -9
- package/dist/components/table/index.d.ts +1 -1
- package/dist/components/table/index.d.ts.map +1 -1
- package/dist/components/table/table-cell.d.ts.map +1 -1
- package/dist/components/table/table-cell.js +136 -122
- package/dist/components/table/table-column-resize-handle.d.ts +12 -0
- package/dist/components/table/table-column-resize-handle.d.ts.map +1 -0
- package/dist/components/table/table-column-resize-handle.js +69 -0
- package/dist/components/table/table-content.d.ts.map +1 -1
- package/dist/components/table/table-content.js +174 -98
- package/dist/components/table/table-context-provider.d.ts +7 -2
- package/dist/components/table/table-context-provider.d.ts.map +1 -1
- package/dist/components/table/table-context-provider.js +203 -151
- package/dist/components/table/table-context.d.ts +24 -0
- package/dist/components/table/table-context.d.ts.map +1 -1
- package/dist/components/table/table-context.js +18 -11
- package/dist/components/table/table-filter.js +170 -118
- package/dist/components/table/table-header-dropdown.js +131 -89
- package/dist/components/table/table-header-row.d.ts.map +1 -1
- package/dist/components/table/table-header-row.js +202 -140
- package/dist/components/table/table-recipe.d.ts.map +1 -1
- package/dist/components/table/table-recipe.js +75 -96
- package/dist/components/table/table-row-expand-toggle-button.js +28 -35
- package/dist/components/table/table-row.d.ts.map +1 -1
- package/dist/components/table/table-row.js +51 -41
- package/dist/components/table/table-toolbar-actions.js +19 -19
- package/dist/components/table/table-toolbar-add-button.js +18 -13
- package/dist/components/table/table-toolbar-search.js +17 -12
- package/dist/components/table/table-toolbar-settings.js +180 -133
- package/dist/components/table/table-toolbar.js +72 -51
- package/dist/components/table/table.composition.d.ts +1 -0
- package/dist/components/table/table.composition.d.ts.map +1 -1
- package/dist/components/table/table.constants.d.ts +4 -0
- package/dist/components/table/table.constants.d.ts.map +1 -1
- package/dist/components/table/table.constants.js +9 -4
- package/dist/components/table/table.d.ts +1 -1
- package/dist/components/table/table.d.ts.map +1 -1
- package/dist/components/table/table.js +41 -37
- package/dist/components/table/translations.d.ts +7 -0
- package/dist/components/table/translations.d.ts.map +1 -1
- package/dist/components/table/translations.js +199 -194
- package/dist/components/table/types.d.ts +33 -2
- package/dist/components/table/types.d.ts.map +1 -1
- package/dist/components/tabs/tab-list.js +16 -17
- package/dist/components/tabs/tab-panel.js +14 -14
- package/dist/components/tabs/tab-panels.js +15 -15
- package/dist/components/tabs/tab-with-image.js +60 -53
- package/dist/components/tabs/tab.js +26 -22
- package/dist/components/tabs/tabs-recipe.js +96 -116
- package/dist/components/tabs/tabs.js +25 -24
- package/dist/components/tag/tag-recipe.js +225 -252
- package/dist/components/tag/tag.js +121 -62
- package/dist/components/text/text-recipe.js +3 -8
- package/dist/components/text/text.js +26 -27
- package/dist/components/textarea/textarea-recipe.js +90 -96
- package/dist/components/textarea/textarea.js +19 -19
- package/dist/components/toaster/toast-store.d.ts +2 -2
- package/dist/components/toaster/toast-store.d.ts.map +1 -1
- package/dist/components/toaster/toast-store.js +25 -32
- package/dist/components/toaster/toaster.js +39 -34
- package/dist/components/toggle-button/toggle-button.js +23 -25
- package/dist/components/toggle-button/use-button-children.js +36 -35
- package/dist/components/tooltip/tooltip.js +43 -47
- package/dist/hooks/use-color-mode.js +17 -22
- package/dist/hooks/use-disclosure.js +10 -13
- package/dist/hooks/use-measured-width.js +21 -21
- package/dist/hooks/use-remove-attributes.js +25 -24
- package/dist/index.js +396 -802
- package/dist/node_modules/@dnd-kit/abstract/index.js +658 -1185
- package/dist/node_modules/@dnd-kit/collision/dist/index.js +51 -90
- package/dist/node_modules/@dnd-kit/dom/index.js +1256 -1518
- package/dist/node_modules/@dnd-kit/dom/sortable.js +529 -654
- package/dist/node_modules/@dnd-kit/dom/utilities.js +772 -940
- package/dist/node_modules/@dnd-kit/geometry/dist/index.js +228 -196
- package/dist/node_modules/@dnd-kit/react/hooks.js +51 -63
- package/dist/node_modules/@dnd-kit/react/index.js +175 -235
- package/dist/node_modules/@dnd-kit/react/sortable.js +67 -142
- package/dist/node_modules/@dnd-kit/react/utilities.js +7 -9
- package/dist/node_modules/@dnd-kit/state/dist/index.js +157 -172
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +154 -243
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +294 -369
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +95 -133
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +96 -122
- package/dist/node_modules/@preact/signals-core/dist/signals-core.module.js +249 -264
- package/dist/node_modules/@tanstack/react-table/build/lib/index.js +34 -88
- package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.js +74 -88
- package/dist/node_modules/@tanstack/table-core/build/lib/index.js +1463 -1822
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +633 -768
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/lazy-measurements.js +30 -32
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +35 -48
- package/dist/node_modules/@tiptap/core/dist/index.js +3433 -3946
- package/dist/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js +19 -19
- package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +73 -1498
- package/dist/node_modules/@tiptap/extension-bold/dist/index.js +71 -84
- package/dist/node_modules/@tiptap/extension-code/dist/index.js +65 -70
- package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +155 -216
- package/dist/node_modules/@tiptap/extension-document/dist/index.js +9 -11
- package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js +48 -60
- package/dist/node_modules/@tiptap/extension-heading/dist/index.js +65 -66
- package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +47 -55
- package/dist/node_modules/@tiptap/extension-italic/dist/index.js +68 -82
- package/dist/node_modules/@tiptap/extension-link/dist/index.js +365 -334
- package/dist/node_modules/@tiptap/extension-list/dist/index.js +936 -1105
- package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +43 -48
- package/dist/node_modules/@tiptap/extension-strike/dist/index.js +53 -65
- package/dist/node_modules/@tiptap/extension-text/dist/index.js +12 -12
- package/dist/node_modules/@tiptap/extension-underline/dist/index.js +60 -64
- package/dist/node_modules/@tiptap/extensions/dist/index.js +439 -462
- package/dist/node_modules/@tiptap/react/dist/index.js +314 -0
- package/dist/node_modules/@tiptap/starter-kit/dist/index.js +23 -24
- package/dist/node_modules/country-flag-icons/modules/countries.json.js +4 -4
- package/dist/node_modules/country-flag-icons/modules/hasFlag.js +6 -6
- package/dist/node_modules/country-flag-icons/modules/react/3x2/index.js +5469 -6298
- package/dist/node_modules/country-flag-icons/react/3x2/index.js +273 -269
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +5 -6
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +6 -6
- package/dist/node_modules/date-fns/_lib/format/formatters.js +385 -544
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +42 -57
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +37 -48
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +7 -17
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +6 -9
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +19 -16
- package/dist/node_modules/date-fns/addDays.js +8 -8
- package/dist/node_modules/date-fns/addMonths.js +11 -18
- package/dist/node_modules/date-fns/addWeeks.js +6 -6
- package/dist/node_modules/date-fns/constants.js +10 -6
- package/dist/node_modules/date-fns/constructFrom.js +6 -6
- package/dist/node_modules/date-fns/constructNow.js +6 -6
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +10 -14
- package/dist/node_modules/date-fns/endOfDay.js +7 -7
- package/dist/node_modules/date-fns/endOfMonth.js +7 -7
- package/dist/node_modules/date-fns/format.js +57 -55
- package/dist/node_modules/date-fns/getDayOfYear.js +9 -9
- package/dist/node_modules/date-fns/getISOWeek.js +10 -10
- package/dist/node_modules/date-fns/getISOWeekYear.js +13 -13
- package/dist/node_modules/date-fns/getWeek.js +10 -10
- package/dist/node_modules/date-fns/getWeekYear.js +14 -14
- package/dist/node_modules/date-fns/isBefore.js +6 -6
- package/dist/node_modules/date-fns/isDate.js +5 -5
- package/dist/node_modules/date-fns/isPast.js +6 -6
- package/dist/node_modules/date-fns/isSameDay.js +8 -12
- package/dist/node_modules/date-fns/isSameMonth.js +7 -11
- package/dist/node_modules/date-fns/isSameWeek.js +8 -12
- package/dist/node_modules/date-fns/isSameYear.js +7 -11
- package/dist/node_modules/date-fns/isToday.js +7 -10
- package/dist/node_modules/date-fns/isValid.js +7 -7
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +8 -8
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +16 -17
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +19 -28
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +17 -14
- package/dist/node_modules/date-fns/locale/da/_lib/formatDistance.js +68 -69
- package/dist/node_modules/date-fns/locale/da/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/da/_lib/formatRelative.js +11 -11
- package/dist/node_modules/date-fns/locale/da/_lib/localize.js +193 -142
- package/dist/node_modules/date-fns/locale/da/_lib/match.js +123 -109
- package/dist/node_modules/date-fns/locale/da.js +17 -17
- package/dist/node_modules/date-fns/locale/en-GB/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/en-GB.js +18 -18
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +68 -69
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -11
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +200 -153
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +123 -109
- package/dist/node_modules/date-fns/locale/en-US.js +18 -18
- package/dist/node_modules/date-fns/locale/es/_lib/formatDistance.js +68 -69
- package/dist/node_modules/date-fns/locale/es/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/es/_lib/formatRelative.js +18 -18
- package/dist/node_modules/date-fns/locale/es/_lib/localize.js +192 -141
- package/dist/node_modules/date-fns/locale/es/_lib/match.js +127 -114
- package/dist/node_modules/date-fns/locale/es.js +18 -18
- package/dist/node_modules/date-fns/locale/et/_lib/formatDistance.js +161 -162
- package/dist/node_modules/date-fns/locale/et/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/et/_lib/formatRelative.js +11 -11
- package/dist/node_modules/date-fns/locale/et/_lib/localize.js +196 -152
- package/dist/node_modules/date-fns/locale/et/_lib/match.js +109 -107
- package/dist/node_modules/date-fns/locale/et.js +19 -19
- package/dist/node_modules/date-fns/locale/fi/_lib/formatDistance.js +101 -101
- package/dist/node_modules/date-fns/locale/fi/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/fi/_lib/formatRelative.js +11 -11
- package/dist/node_modules/date-fns/locale/fi/_lib/localize.js +192 -140
- package/dist/node_modules/date-fns/locale/fi/_lib/match.js +122 -108
- package/dist/node_modules/date-fns/locale/fi.js +18 -18
- package/dist/node_modules/date-fns/locale/fr/_lib/formatDistance.js +68 -69
- package/dist/node_modules/date-fns/locale/fr/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/fr/_lib/formatRelative.js +11 -11
- package/dist/node_modules/date-fns/locale/fr/_lib/localize.js +176 -120
- package/dist/node_modules/date-fns/locale/fr/_lib/match.js +122 -108
- package/dist/node_modules/date-fns/locale/fr.js +18 -18
- package/dist/node_modules/date-fns/locale/lt/_lib/formatDistance.js +93 -109
- package/dist/node_modules/date-fns/locale/lt/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/lt/_lib/formatRelative.js +11 -11
- package/dist/node_modules/date-fns/locale/lt/_lib/localize.js +298 -195
- package/dist/node_modules/date-fns/locale/lt/_lib/match.js +154 -121
- package/dist/node_modules/date-fns/locale/lt.js +19 -19
- package/dist/node_modules/date-fns/locale/lv/_lib/formatDistance.js +226 -120
- package/dist/node_modules/date-fns/locale/lv/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/lv/_lib/formatRelative.js +22 -22
- package/dist/node_modules/date-fns/locale/lv/_lib/localize.js +298 -221
- package/dist/node_modules/date-fns/locale/lv/_lib/match.js +138 -112
- package/dist/node_modules/date-fns/locale/lv.js +18 -18
- package/dist/node_modules/date-fns/locale/nb/_lib/formatDistance.js +68 -69
- package/dist/node_modules/date-fns/locale/nb/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/nb/_lib/formatRelative.js +11 -11
- package/dist/node_modules/date-fns/locale/nb/_lib/localize.js +159 -108
- package/dist/node_modules/date-fns/locale/nb/_lib/match.js +112 -108
- package/dist/node_modules/date-fns/locale/nb.js +18 -18
- package/dist/node_modules/date-fns/locale/nl/_lib/formatDistance.js +68 -69
- package/dist/node_modules/date-fns/locale/nl/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/nl/_lib/formatRelative.js +11 -11
- package/dist/node_modules/date-fns/locale/nl/_lib/localize.js +160 -109
- package/dist/node_modules/date-fns/locale/nl/_lib/match.js +120 -108
- package/dist/node_modules/date-fns/locale/nl-BE/_lib/formatDistance.js +68 -69
- package/dist/node_modules/date-fns/locale/nl-BE/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/nl-BE/_lib/formatRelative.js +11 -11
- package/dist/node_modules/date-fns/locale/nl-BE/_lib/localize.js +160 -109
- package/dist/node_modules/date-fns/locale/nl-BE/_lib/match.js +120 -108
- package/dist/node_modules/date-fns/locale/nl-BE.js +18 -18
- package/dist/node_modules/date-fns/locale/nl.js +18 -18
- package/dist/node_modules/date-fns/locale/sv/_lib/formatDistance.js +82 -86
- package/dist/node_modules/date-fns/locale/sv/_lib/formatLong.js +31 -32
- package/dist/node_modules/date-fns/locale/sv/_lib/formatRelative.js +11 -11
- package/dist/node_modules/date-fns/locale/sv/_lib/localize.js +199 -142
- package/dist/node_modules/date-fns/locale/sv/_lib/match.js +109 -107
- package/dist/node_modules/date-fns/locale/sv.js +18 -18
- package/dist/node_modules/date-fns/startOfDay.js +7 -7
- package/dist/node_modules/date-fns/startOfISOWeek.js +9 -6
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +9 -9
- package/dist/node_modules/date-fns/startOfMonth.js +7 -7
- package/dist/node_modules/date-fns/startOfWeek.js +8 -8
- package/dist/node_modules/date-fns/startOfWeekYear.js +10 -10
- package/dist/node_modules/date-fns/startOfYear.js +7 -7
- package/dist/node_modules/date-fns/subDays.js +6 -6
- package/dist/node_modules/date-fns/subMonths.js +6 -6
- package/dist/node_modules/date-fns/subWeeks.js +6 -6
- package/dist/node_modules/date-fns/toDate.js +6 -6
- package/dist/node_modules/fast-equals/dist/es/index.js +239 -298
- package/dist/node_modules/libphonenumber-js/es6-modern/ParseError.js +8 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/PhoneNumber.js +73 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/constants.js +4 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/format.js +77 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/getCountries.js +7 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/RFC3966.js +8 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/applyInternationalSeparatorStyle.js +7 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/checkNumberLength.js +21 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/extension/createExtensionPattern.js +9 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/extension/extractExtension.js +17 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/extractCountryCallingCode.js +37 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +21 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js +21 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/extractNationalNumber.js +27 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +27 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/extractPhoneContext.js +16 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/formatNationalNumberUsingFormat.js +9 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/getCountryAndCallingCodeFromOneOfThem.js +12 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/getCountryByCallingCode.js +8 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/getCountryByNationalNumber.js +14 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/getIddPrefix.js +10 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/getNumberType.js +30 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/getPossibleCountriesForNumber.js +12 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/isCallingCode.js +7 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/isCountryCode.js +7 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/isObject.js +7 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/isViablePhoneNumber.js +12 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/matchesEntirely.js +6 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/mergeArrays.js +8 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/parseDigits.js +48 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/helpers/stripIddPrefix.js +16 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/isPossible.js +32 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/isValid.js +13 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/isValidPhoneNumber.js +20 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/metadata.js +254 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/normalizeArguments.js +26 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/parse.js +100 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/parseIncompletePhoneNumber.js +19 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/parsePhoneNumber.js +9 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/parsePhoneNumberWithError_.js +16 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/parsePhoneNumber_.js +24 -0
- package/dist/node_modules/libphonenumber-js/es6-modern/tools/semver-compare.js +14 -0
- package/dist/node_modules/libphonenumber-js/max/es6/exports/PhoneNumber.js +10 -0
- package/dist/node_modules/libphonenumber-js/max/es6/exports/getCountries.js +8 -0
- package/dist/node_modules/libphonenumber-js/max/es6/exports/getCountryCallingCode.js +8 -0
- package/dist/node_modules/libphonenumber-js/max/es6/exports/isSupportedCountry.js +8 -0
- package/dist/node_modules/libphonenumber-js/max/es6/exports/isValidPhoneNumber.js +8 -0
- package/dist/node_modules/libphonenumber-js/max/es6/exports/parsePhoneNumber.js +9 -0
- package/dist/node_modules/libphonenumber-js/max/es6/exports/withMetadataArgument.js +10 -0
- package/dist/node_modules/libphonenumber-js/metadata.max.json.js +10497 -0
- package/dist/node_modules/linkifyjs/dist/linkify.js +486 -679
- package/dist/node_modules/next-themes/dist/index.js +120 -85
- package/dist/node_modules/orderedmap/dist/index.js +64 -100
- package/dist/node_modules/prosemirror-commands/dist/index.js +313 -368
- package/dist/node_modules/prosemirror-dropcursor/dist/index.js +109 -84
- package/dist/node_modules/prosemirror-gapcursor/dist/index.js +162 -195
- package/dist/node_modules/prosemirror-history/dist/index.js +203 -239
- package/dist/node_modules/prosemirror-keymap/dist/index.js +45 -57
- package/dist/node_modules/prosemirror-model/dist/index.js +1783 -2735
- package/dist/node_modules/prosemirror-schema-list/dist/index.js +66 -81
- package/dist/node_modules/prosemirror-state/dist/index.js +517 -814
- package/dist/node_modules/prosemirror-transform/dist/index.js +1104 -1505
- package/dist/node_modules/prosemirror-view/dist/index.js +3274 -3782
- package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +15 -21
- package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +12 -14
- package/dist/node_modules/react/compiler-runtime.js +10 -10
- package/dist/node_modules/rope-sequence/dist/index.js +82 -99
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +55 -58
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +53 -57
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +53 -58
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +45 -46
- package/dist/node_modules/use-sync-external-store/shim/index.js +10 -10
- package/dist/node_modules/use-sync-external-store/shim/with-selector.js +10 -10
- package/dist/node_modules/w3c-keyname/index.js +87 -92
- package/dist/theme/component-recipes.js +52 -53
- package/dist/theme/theme-casper-ui.js +179 -420
- package/dist/theme/theme-helper.js +4 -4
- package/dist/theme/theme-provider.js +33 -34
- package/dist/theme/theme-style-props.d.ts.map +1 -1
- package/dist/theme/theme-tokens.js +22 -12
- package/dist/theme/theme-types.js +22 -12
- package/dist/theme/theme.js +213 -268
- package/package.json +30 -29
- package/dist/_virtual/compiler-runtime.js +0 -5
- package/dist/_virtual/compiler-runtime2.js +0 -4
- package/dist/_virtual/index.js +0 -5
- package/dist/_virtual/index2.js +0 -4
- package/dist/_virtual/react-compiler-runtime.development.js +0 -4
- package/dist/_virtual/react-compiler-runtime.production.js +0 -4
- package/dist/_virtual/use-sync-external-store-shim.development.js +0 -4
- package/dist/_virtual/use-sync-external-store-shim.production.js +0 -4
- package/dist/_virtual/with-selector.development.js +0 -4
- package/dist/_virtual/with-selector.js +0 -5
- package/dist/_virtual/with-selector.production.js +0 -4
- package/dist/_virtual/with-selector2.js +0 -4
- package/dist/node_modules/libphonenumber-js/es6/ParseError.js +0 -89
- package/dist/node_modules/libphonenumber-js/es6/PhoneNumber.js +0 -192
- package/dist/node_modules/libphonenumber-js/es6/constants.js +0 -10
- package/dist/node_modules/libphonenumber-js/es6/format.js +0 -98
- package/dist/node_modules/libphonenumber-js/es6/getCountries.js +0 -7
- package/dist/node_modules/libphonenumber-js/es6/helpers/RFC3966.js +0 -11
- package/dist/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +0 -7
- package/dist/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js +0 -16
- package/dist/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +0 -11
- package/dist/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.js +0 -18
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +0 -46
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +0 -27
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js +0 -23
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js +0 -39
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +0 -31
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js +0 -23
- package/dist/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +0 -25
- package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryAndCallingCodeFromOneOfThem.js +0 -12
- package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +0 -9
- package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +0 -43
- package/dist/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js +0 -12
- package/dist/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +0 -52
- package/dist/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.js +0 -14
- package/dist/node_modules/libphonenumber-js/es6/helpers/isCallingCode.js +0 -7
- package/dist/node_modules/libphonenumber-js/es6/helpers/isCountryCode.js +0 -7
- package/dist/node_modules/libphonenumber-js/es6/helpers/isObject.js +0 -7
- package/dist/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +0 -20
- package/dist/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js +0 -6
- package/dist/node_modules/libphonenumber-js/es6/helpers/parseDigits.js +0 -79
- package/dist/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js +0 -19
- package/dist/node_modules/libphonenumber-js/es6/isPossible.js +0 -35
- package/dist/node_modules/libphonenumber-js/es6/isValid.js +0 -14
- package/dist/node_modules/libphonenumber-js/es6/isValidPhoneNumber.js +0 -59
- package/dist/node_modules/libphonenumber-js/es6/metadata.js +0 -494
- package/dist/node_modules/libphonenumber-js/es6/normalizeArguments.js +0 -108
- package/dist/node_modules/libphonenumber-js/es6/parse.js +0 -138
- package/dist/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +0 -40
- package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber.js +0 -9
- package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js +0 -55
- package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +0 -62
- package/dist/node_modules/libphonenumber-js/es6/tools/semver-compare.js +0 -14
- package/dist/node_modules/libphonenumber-js/metadata.min.json.js +0 -4
- package/dist/node_modules/libphonenumber-js/min/exports/getCountries.js +0 -8
- package/dist/node_modules/libphonenumber-js/min/exports/getCountryCallingCode.js +0 -8
- package/dist/node_modules/libphonenumber-js/min/exports/isSupportedCountry.js +0 -8
- package/dist/node_modules/libphonenumber-js/min/exports/isValidPhoneNumber.js +0 -8
- package/dist/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.js +0 -8
- package/dist/node_modules/libphonenumber-js/min/exports/withMetadataArgument.js +0 -8
- package/dist/packages/casper-ui-library/node_modules/@tiptap/react/dist/index.js +0 -506
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/constants.js
|
|
2
|
+
var e = "0-90-9٠-٩۰-۹", t = "-‐-―−ー-", n = "//", r = "..", i = " \xA0 ", a = `${t}${n}${r}${i}()()[]\\[\\]~⁓∼~`, o = "++";
|
|
3
|
+
//#endregion
|
|
4
|
+
export { o as PLUS_CHARS, e as VALID_DIGITS, a as VALID_PUNCTUATION, i as WHITESPACE };
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import e, { getCountryCallingCode as t } from "./metadata.js";
|
|
2
|
+
import n from "./helpers/matchesEntirely.js";
|
|
3
|
+
import r from "./helpers/formatNationalNumberUsingFormat.js";
|
|
4
|
+
import i from "./helpers/getIddPrefix.js";
|
|
5
|
+
import { formatRFC3966 as a } from "./helpers/RFC3966.js";
|
|
6
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/format.js
|
|
7
|
+
var o = { formatExtension: (e, t, n) => `${e}${n.ext()}${t}` };
|
|
8
|
+
function s(t, n, r, i) {
|
|
9
|
+
r = r ? f({}, o, r) : o;
|
|
10
|
+
let s = new e(i);
|
|
11
|
+
if (t.country && t.country !== "001") {
|
|
12
|
+
if (!s.hasCountry(t.country)) throw Error(`Unknown country: ${t.country}`);
|
|
13
|
+
s.selectNumberingPlan(t.country);
|
|
14
|
+
} else if (t.countryCallingCode) s.selectNumberingPlan(t.countryCallingCode);
|
|
15
|
+
else return t.phone || "";
|
|
16
|
+
let l = s.countryCallingCode(), p = r.v2 ? t.nationalNumber : t.phone, m;
|
|
17
|
+
switch (n) {
|
|
18
|
+
case "NATIONAL": return p ? (m = c(p, t.carrierCode, "NATIONAL", s, r), u(m, t.ext, s, r.formatExtension)) : "";
|
|
19
|
+
case "INTERNATIONAL": return p ? (m = c(p, null, "INTERNATIONAL", s, r), m = `+${l} ${m}`, u(m, t.ext, s, r.formatExtension)) : `+${l}`;
|
|
20
|
+
case "E.164": return `+${l}${p}`;
|
|
21
|
+
case "RFC3966": return a({
|
|
22
|
+
number: `+${l}${p}`,
|
|
23
|
+
ext: t.ext
|
|
24
|
+
});
|
|
25
|
+
case "IDD":
|
|
26
|
+
if (!r.fromCountry) return;
|
|
27
|
+
let e = d(p, t.carrierCode, l, r.fromCountry, s);
|
|
28
|
+
return e ? u(e, t.ext, s, r.formatExtension) : void 0;
|
|
29
|
+
default: throw Error(`Unknown "format" argument passed to "formatNumber()": "${n}"`);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
function c(e, t, n, i, a) {
|
|
33
|
+
let o = l(i.formats(), e);
|
|
34
|
+
return o ? r(e, o, {
|
|
35
|
+
useInternationalFormat: n === "INTERNATIONAL",
|
|
36
|
+
withNationalPrefix: !(o.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && a && a.nationalPrefix === !1),
|
|
37
|
+
carrierCode: t,
|
|
38
|
+
metadata: i
|
|
39
|
+
}) : e;
|
|
40
|
+
}
|
|
41
|
+
function l(e, t) {
|
|
42
|
+
return p(e, (e) => {
|
|
43
|
+
if (e.leadingDigitsPatterns().length > 0) {
|
|
44
|
+
let n = e.leadingDigitsPatterns()[e.leadingDigitsPatterns().length - 1];
|
|
45
|
+
if (t.search(n) !== 0) return !1;
|
|
46
|
+
}
|
|
47
|
+
return n(t, e.pattern());
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
function u(e, t, n, r) {
|
|
51
|
+
return t ? r(e, t, n) : e;
|
|
52
|
+
}
|
|
53
|
+
function d(e, n, r, a, o) {
|
|
54
|
+
if (t(a, o.metadata) === r) {
|
|
55
|
+
let t = c(e, n, "NATIONAL", o);
|
|
56
|
+
return r === "1" ? r + " " + t : t;
|
|
57
|
+
}
|
|
58
|
+
let s = i(a, void 0, o.metadata);
|
|
59
|
+
if (s) return `${s} ${r} ${c(e, null, "INTERNATIONAL", o)}`;
|
|
60
|
+
}
|
|
61
|
+
function f(...e) {
|
|
62
|
+
let t = 1;
|
|
63
|
+
for (; t < e.length;) {
|
|
64
|
+
if (e[t]) for (let n in e[t]) e[0][n] = e[t][n];
|
|
65
|
+
t++;
|
|
66
|
+
}
|
|
67
|
+
return e[0];
|
|
68
|
+
}
|
|
69
|
+
function p(e, t) {
|
|
70
|
+
let n = 0;
|
|
71
|
+
for (; n < e.length;) {
|
|
72
|
+
if (t(e[n])) return e[n];
|
|
73
|
+
n++;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
//#endregion
|
|
77
|
+
export { l as chooseFormatForNumber, s as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/helpers/RFC3966.js
|
|
2
|
+
function e({ number: e, ext: t }) {
|
|
3
|
+
if (!e) return "";
|
|
4
|
+
if (e[0] !== "+") throw Error("\"formatRFC3966()\" expects \"number\" to be in E.164 format.");
|
|
5
|
+
return `tel:${e}${t ? ";ext=" + t : ""}`;
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { e as formatRFC3966 };
|
package/dist/node_modules/libphonenumber-js/es6-modern/helpers/applyInternationalSeparatorStyle.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { VALID_PUNCTUATION as e } from "../constants.js";
|
|
2
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/helpers/applyInternationalSeparatorStyle.js
|
|
3
|
+
function t(t) {
|
|
4
|
+
return t.replace(RegExp(`[${e}]+`, "g"), " ").trim();
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
export { t as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import e from "../metadata.js";
|
|
2
|
+
import t from "./mergeArrays.js";
|
|
3
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/helpers/checkNumberLength.js
|
|
4
|
+
function n(e, t, n) {
|
|
5
|
+
return r(e, void 0, t, n);
|
|
6
|
+
}
|
|
7
|
+
function r(n, i, a, o) {
|
|
8
|
+
a && (o = new e(o.metadata), o.selectNumberingPlan(a));
|
|
9
|
+
let s = o.type(i), c = s && s.possibleLengths() || o.possibleLengths();
|
|
10
|
+
if (!c) return "IS_POSSIBLE";
|
|
11
|
+
if (i === "FIXED_LINE_OR_MOBILE") {
|
|
12
|
+
/* istanbul ignore next */
|
|
13
|
+
if (!o.type("FIXED_LINE")) return r(n, "MOBILE", a, o);
|
|
14
|
+
let e = o.type("MOBILE");
|
|
15
|
+
e && (c = t(c, e.possibleLengths()));
|
|
16
|
+
} else if (i && !s) return "INVALID_LENGTH";
|
|
17
|
+
let l = n.length, u = c[0];
|
|
18
|
+
return u === l ? "IS_POSSIBLE" : u > l ? "TOO_SHORT" : c[c.length - 1] < l ? "TOO_LONG" : c.indexOf(l, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
export { r as checkNumberLengthForType, n as default };
|
package/dist/node_modules/libphonenumber-js/es6-modern/helpers/extension/createExtensionPattern.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { VALID_DIGITS as e } from "../../constants.js";
|
|
2
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/helpers/extension/createExtensionPattern.js
|
|
3
|
+
var t = ";ext=", n = (t) => `([${e}]{1,${t}})`;
|
|
4
|
+
function r(e) {
|
|
5
|
+
var r = "20", i = "15", a = "9", o = "6", s = "[ \xA0\\t,]*", c = "[:\\..]?[ \xA0\\t,-]*", l = "#?", u = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", d = "(?:[xx##~~]|int|int)", f = "[- ]+", p = "[ \xA0\\t]*", m = "(?:,{2}|;)", h = t + n(r), g = s + u + c + n(r) + l, _ = s + d + c + n(a) + l, v = f + n(o) + "#", y = p + m + c + n(i) + l, b = p + "(?:,)+" + c + n(a) + l;
|
|
6
|
+
return h + "|" + g + "|" + _ + "|" + v + "|" + y + "|" + b;
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { r as default };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import e from "./createExtensionPattern.js";
|
|
2
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/helpers/extension/extractExtension.js
|
|
3
|
+
var t = RegExp("(?:" + e() + ")$", "i");
|
|
4
|
+
function n(e) {
|
|
5
|
+
let n = e.search(t);
|
|
6
|
+
if (n < 0) return {};
|
|
7
|
+
let r = e.slice(0, n), i = e.match(t), a = 1;
|
|
8
|
+
for (; a < i.length;) {
|
|
9
|
+
if (i[a]) return {
|
|
10
|
+
number: r,
|
|
11
|
+
ext: i[a]
|
|
12
|
+
};
|
|
13
|
+
a++;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//#endregion
|
|
17
|
+
export { n as default };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import e from "../metadata.js";
|
|
2
|
+
import t from "./stripIddPrefix.js";
|
|
3
|
+
import n from "./extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js";
|
|
4
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/helpers/extractCountryCallingCode.js
|
|
5
|
+
function r(r, i, a, o, s) {
|
|
6
|
+
if (!r) return {};
|
|
7
|
+
let c;
|
|
8
|
+
if (r[0] !== "+") {
|
|
9
|
+
let e = t(r, i || a, o, s);
|
|
10
|
+
if (e && e !== r) c = !0, r = "+" + e;
|
|
11
|
+
else {
|
|
12
|
+
if (i || a || o) {
|
|
13
|
+
let { countryCallingCode: e, number: t } = n(r, i, a, o, s);
|
|
14
|
+
if (e) return {
|
|
15
|
+
countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
|
|
16
|
+
countryCallingCode: e,
|
|
17
|
+
number: t
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
return { number: r };
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
if (r[1] === "0") return {};
|
|
24
|
+
let l = new e(s), u = 2;
|
|
25
|
+
for (; u - 1 <= 3 && u <= r.length;) {
|
|
26
|
+
let e = r.slice(1, u);
|
|
27
|
+
if (l.hasCallingCode(e)) return l.selectNumberingPlan(e), {
|
|
28
|
+
countryCallingCodeSource: c ? "FROM_NUMBER_WITH_IDD" : "FROM_NUMBER_WITH_PLUS_SIGN",
|
|
29
|
+
countryCallingCode: e,
|
|
30
|
+
number: r.slice(u)
|
|
31
|
+
};
|
|
32
|
+
u++;
|
|
33
|
+
}
|
|
34
|
+
return {};
|
|
35
|
+
}
|
|
36
|
+
//#endregion
|
|
37
|
+
export { r as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import e, { getCountryCallingCode as t } from "../metadata.js";
|
|
2
|
+
import n from "./checkNumberLength.js";
|
|
3
|
+
import r from "./matchesEntirely.js";
|
|
4
|
+
import i from "./extractNationalNumber.js";
|
|
5
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js
|
|
6
|
+
function a(a, o, s, c, l) {
|
|
7
|
+
if (!(o || s || c)) return { number: a };
|
|
8
|
+
let u = o || s ? t(o || s, l) : c;
|
|
9
|
+
if (a.indexOf(u) === 0) {
|
|
10
|
+
let t = new e(l);
|
|
11
|
+
t.selectNumberingPlan(o || s || c);
|
|
12
|
+
let d = a.slice(u.length), { nationalNumber: f } = i(d, void 0, t), { nationalNumber: p } = i(a, void 0, t);
|
|
13
|
+
if (!r(p, t.nationalNumberPattern()) && r(f, t.nationalNumberPattern()) || n(p, void 0, t) === "TOO_LONG") return {
|
|
14
|
+
countryCallingCode: u,
|
|
15
|
+
number: d
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
return { number: a };
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
export { a as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import e from "../ParseError.js";
|
|
2
|
+
import t, { RFC3966_ISDN_SUBADDRESS_ as n, RFC3966_PHONE_CONTEXT_ as r, RFC3966_PREFIX_ as i, isPhoneContextValid as a } from "./extractPhoneContext.js";
|
|
3
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js
|
|
4
|
+
function o(o, { extractFormattedPhoneNumber: s }) {
|
|
5
|
+
let c = t(o);
|
|
6
|
+
if (!a(c)) throw new e("NOT_A_NUMBER");
|
|
7
|
+
let l;
|
|
8
|
+
if (c === null) l = s(o) || "";
|
|
9
|
+
else {
|
|
10
|
+
l = "", c.charAt(0) === "+" && (l += c);
|
|
11
|
+
let e = o.indexOf(i), t;
|
|
12
|
+
/* istanbul ignore else */
|
|
13
|
+
t = e >= 0 ? e + i.length : 0;
|
|
14
|
+
let n = o.indexOf(r);
|
|
15
|
+
l += o.substring(t, n);
|
|
16
|
+
}
|
|
17
|
+
let u = l.indexOf(n);
|
|
18
|
+
if (u > 0 && (l = l.substring(0, u)), l !== "") return l;
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
export { o as default };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import e from "./checkNumberLength.js";
|
|
2
|
+
import t from "./matchesEntirely.js";
|
|
3
|
+
import n from "./extractNationalNumberFromPossiblyIncompleteNumber.js";
|
|
4
|
+
import r from "./getCountryByCallingCode.js";
|
|
5
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/helpers/extractNationalNumber.js
|
|
6
|
+
function i(e, t, i) {
|
|
7
|
+
let { carrierCode: s, nationalNumber: c } = n(e, i);
|
|
8
|
+
return c !== e && (!a(e, c, i) || i.numberingPlan.possibleLengths() && (t ||= r(i.numberingPlan.callingCode(), {
|
|
9
|
+
nationalNumber: c,
|
|
10
|
+
metadata: i
|
|
11
|
+
}), !o(c, t, i))) ? { nationalNumber: e } : {
|
|
12
|
+
nationalNumber: c,
|
|
13
|
+
carrierCode: s
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function a(e, n, r) {
|
|
17
|
+
return !(t(e, r.nationalNumberPattern()) && !t(n, r.nationalNumberPattern()));
|
|
18
|
+
}
|
|
19
|
+
function o(t, n, r) {
|
|
20
|
+
switch (e(t, n, r)) {
|
|
21
|
+
case "TOO_SHORT":
|
|
22
|
+
case "INVALID_LENGTH": return !1;
|
|
23
|
+
default: return !0;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
export { i as default };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
if (e && t.numberingPlan.nationalPrefixForParsing()) {
|
|
4
|
+
let n = RegExp("^(?:" + t.numberingPlan.nationalPrefixForParsing() + ")"), r = n.exec(e);
|
|
5
|
+
if (r) {
|
|
6
|
+
let i, a, o = r.length - 1, s = o > 0 && r[o];
|
|
7
|
+
if (t.nationalPrefixTransformRule() && s) i = e.replace(n, t.nationalPrefixTransformRule()), o > 1 && (a = r[1]);
|
|
8
|
+
else {
|
|
9
|
+
let t = r[0];
|
|
10
|
+
i = e.slice(t.length), s && (a = r[1]);
|
|
11
|
+
}
|
|
12
|
+
let c;
|
|
13
|
+
if (s) {
|
|
14
|
+
let n = e.indexOf(r[1]);
|
|
15
|
+
e.slice(0, n) === t.numberingPlan.nationalPrefix() && (c = t.numberingPlan.nationalPrefix());
|
|
16
|
+
} else c = r[0];
|
|
17
|
+
return {
|
|
18
|
+
nationalNumber: i,
|
|
19
|
+
nationalPrefix: c,
|
|
20
|
+
carrierCode: a
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
return { nationalNumber: e };
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
export { e as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { VALID_DIGITS as e } from "../constants.js";
|
|
2
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/helpers/extractPhoneContext.js
|
|
3
|
+
var t = "([" + e + "]|[\\-\\.\\(\\)]?)", n = "^\\+" + t + "*[" + e + "]" + t + "*$", r = new RegExp(n, "g"), i = e, a = "[" + i + "]+((\\-)*[" + i + "])*", o = "[a-zA-Z]+((\\-)*[" + i + "])*", s = "^(" + a + "\\.)*" + o + "\\.?$", c = new RegExp(s, "g"), l = "tel:", u = ";phone-context=", d = ";isub=";
|
|
4
|
+
function f(e) {
|
|
5
|
+
let t = e.indexOf(u);
|
|
6
|
+
if (t < 0) return null;
|
|
7
|
+
let n = t + 15;
|
|
8
|
+
if (n >= e.length) return "";
|
|
9
|
+
let r = e.indexOf(";", n);
|
|
10
|
+
return r >= 0 ? e.substring(n, r) : e.substring(n);
|
|
11
|
+
}
|
|
12
|
+
function p(e) {
|
|
13
|
+
return e === null ? !0 : e.length === 0 ? !1 : r.test(e) || c.test(e);
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { d as RFC3966_ISDN_SUBADDRESS_, u as RFC3966_PHONE_CONTEXT_, l as RFC3966_PREFIX_, f as default, p as isPhoneContextValid };
|
package/dist/node_modules/libphonenumber-js/es6-modern/helpers/formatNationalNumberUsingFormat.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import e from "./applyInternationalSeparatorStyle.js";
|
|
2
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/helpers/formatNationalNumberUsingFormat.js
|
|
3
|
+
var t = /(\$\d)/;
|
|
4
|
+
function n(n, r, { useInternationalFormat: i, withNationalPrefix: a, carrierCode: o, metadata: s }) {
|
|
5
|
+
let c = n.replace(new RegExp(r.pattern()), i ? r.internationalFormat() : a && r.nationalPrefixFormattingRule() ? r.format().replace(t, r.nationalPrefixFormattingRule()) : r.format());
|
|
6
|
+
return i ? e(c) : c;
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { t as FIRST_GROUP_PATTERN, n as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import e from "../metadata.js";
|
|
2
|
+
import t from "./isCountryCode.js";
|
|
3
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/helpers/getCountryAndCallingCodeFromOneOfThem.js
|
|
4
|
+
function n(n, r) {
|
|
5
|
+
let i, a, o = new e(r);
|
|
6
|
+
return t(n) ? (i = n, o.selectNumberingPlan(i), a = o.countryCallingCode()) : a = n, {
|
|
7
|
+
country: i,
|
|
8
|
+
callingCode: a
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { n as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import e from "./getCountryByNationalNumber.js";
|
|
2
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/helpers/getCountryByCallingCode.js
|
|
3
|
+
function t(t, { nationalNumber: n, metadata: r }) {
|
|
4
|
+
let i = r.getCountryCodesForCallingCode(t);
|
|
5
|
+
if (i) return i.length === 1 ? i[0] : e(n, i, r.metadata);
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { t as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import e from "../metadata.js";
|
|
2
|
+
import t from "./getNumberType.js";
|
|
3
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/helpers/getCountryByNationalNumber.js
|
|
4
|
+
function n(n, r, i) {
|
|
5
|
+
let a = new e(i);
|
|
6
|
+
for (let e of r) if (a.selectNumberingPlan(e), a.leadingDigits()) {
|
|
7
|
+
if (n && n.search(a.leadingDigits()) === 0) return e;
|
|
8
|
+
} else if (t({
|
|
9
|
+
phone: n,
|
|
10
|
+
country: e
|
|
11
|
+
}, void 0, a.metadata)) return e;
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
export { n as default };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import e from "../metadata.js";
|
|
2
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/helpers/getIddPrefix.js
|
|
3
|
+
var t = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
|
|
4
|
+
function n(n, r, i) {
|
|
5
|
+
let a = new e(i);
|
|
6
|
+
if (a.selectNumberingPlan(n || r), a.defaultIDDPrefix()) return a.defaultIDDPrefix();
|
|
7
|
+
if (t.test(a.IDDPrefix())) return a.IDDPrefix();
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
export { n as default };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import e from "../metadata.js";
|
|
2
|
+
import t from "./matchesEntirely.js";
|
|
3
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/helpers/getNumberType.js
|
|
4
|
+
var n = [
|
|
5
|
+
"MOBILE",
|
|
6
|
+
"PREMIUM_RATE",
|
|
7
|
+
"TOLL_FREE",
|
|
8
|
+
"SHARED_COST",
|
|
9
|
+
"VOIP",
|
|
10
|
+
"PERSONAL_NUMBER",
|
|
11
|
+
"PAGER",
|
|
12
|
+
"UAN",
|
|
13
|
+
"VOICEMAIL"
|
|
14
|
+
];
|
|
15
|
+
function r(r, a, o) {
|
|
16
|
+
if (a ||= {}, !r.country && !r.countryCallingCode) return;
|
|
17
|
+
let s = new e(o);
|
|
18
|
+
s.selectNumberingPlan(r.country || r.countryCallingCode);
|
|
19
|
+
let c = a.v2 ? r.nationalNumber : r.phone;
|
|
20
|
+
if (t(c, s.nationalNumberPattern())) {
|
|
21
|
+
if (i(c, "FIXED_LINE", s)) return s.type("MOBILE") && s.type("MOBILE").pattern() === "" || !s.type("MOBILE") || i(c, "MOBILE", s) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
|
|
22
|
+
for (let e of n) if (i(c, e, s)) return e;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
function i(e, n, r) {
|
|
26
|
+
let i = r.type(n);
|
|
27
|
+
return !i || !i.pattern() || i.possibleLengths() && i.possibleLengths().indexOf(e.length) < 0 ? !1 : t(e, i.pattern());
|
|
28
|
+
}
|
|
29
|
+
//#endregion
|
|
30
|
+
export { r as default, i as isNumberTypeEqualTo };
|
package/dist/node_modules/libphonenumber-js/es6-modern/helpers/getPossibleCountriesForNumber.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import e from "../metadata.js";
|
|
2
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/helpers/getPossibleCountriesForNumber.js
|
|
3
|
+
function t(t, r, i) {
|
|
4
|
+
let a = new e(i).getCountryCodesForCallingCode(t);
|
|
5
|
+
return a ? a.filter((e) => n(r, e, i)) : [];
|
|
6
|
+
}
|
|
7
|
+
function n(t, n, r) {
|
|
8
|
+
let i = new e(r);
|
|
9
|
+
return i.selectNumberingPlan(n), i.numberingPlan.possibleLengths().indexOf(t.length) >= 0;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { t as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PLUS_CHARS as e, VALID_DIGITS as t, VALID_PUNCTUATION as n } from "../constants.js";
|
|
2
|
+
import r from "./extension/createExtensionPattern.js";
|
|
3
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/helpers/isViablePhoneNumber.js
|
|
4
|
+
var i = "[" + t + "]{2}", a = "[" + e + "]{0,1}(?:[" + n + "]*[" + t + "]){3,}[" + n + t + "]*", o = RegExp("^[" + e + "]{0,1}(?:[" + n + "]*[" + t + "]){1,2}$", "i"), s = a + "(?:" + r() + ")?", c = RegExp("^" + i + "$|^" + s + "$", "i");
|
|
5
|
+
function l(e) {
|
|
6
|
+
return e.length >= 2 && c.test(e);
|
|
7
|
+
}
|
|
8
|
+
function u(e) {
|
|
9
|
+
return o.test(e);
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { a as VALID_PHONE_NUMBER, s as VALID_PHONE_NUMBER_WITH_EXTENSION, l as default, u as isViablePhoneNumberStart };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/helpers/parseDigits.js
|
|
2
|
+
var e = {
|
|
3
|
+
0: "0",
|
|
4
|
+
1: "1",
|
|
5
|
+
2: "2",
|
|
6
|
+
3: "3",
|
|
7
|
+
4: "4",
|
|
8
|
+
5: "5",
|
|
9
|
+
6: "6",
|
|
10
|
+
7: "7",
|
|
11
|
+
8: "8",
|
|
12
|
+
9: "9",
|
|
13
|
+
"0": "0",
|
|
14
|
+
"1": "1",
|
|
15
|
+
"2": "2",
|
|
16
|
+
"3": "3",
|
|
17
|
+
"4": "4",
|
|
18
|
+
"5": "5",
|
|
19
|
+
"6": "6",
|
|
20
|
+
"7": "7",
|
|
21
|
+
"8": "8",
|
|
22
|
+
"9": "9",
|
|
23
|
+
"٠": "0",
|
|
24
|
+
"١": "1",
|
|
25
|
+
"٢": "2",
|
|
26
|
+
"٣": "3",
|
|
27
|
+
"٤": "4",
|
|
28
|
+
"٥": "5",
|
|
29
|
+
"٦": "6",
|
|
30
|
+
"٧": "7",
|
|
31
|
+
"٨": "8",
|
|
32
|
+
"٩": "9",
|
|
33
|
+
"۰": "0",
|
|
34
|
+
"۱": "1",
|
|
35
|
+
"۲": "2",
|
|
36
|
+
"۳": "3",
|
|
37
|
+
"۴": "4",
|
|
38
|
+
"۵": "5",
|
|
39
|
+
"۶": "6",
|
|
40
|
+
"۷": "7",
|
|
41
|
+
"۸": "8",
|
|
42
|
+
"۹": "9"
|
|
43
|
+
};
|
|
44
|
+
function t(t) {
|
|
45
|
+
return e[t];
|
|
46
|
+
}
|
|
47
|
+
//#endregion
|
|
48
|
+
export { e as DIGITS, t as parseDigit };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import e from "../metadata.js";
|
|
2
|
+
import { VALID_DIGITS as t } from "../constants.js";
|
|
3
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/helpers/stripIddPrefix.js
|
|
4
|
+
var n = RegExp("([" + t + "])");
|
|
5
|
+
function r(t, r, i, a) {
|
|
6
|
+
if (!r) return;
|
|
7
|
+
let o = new e(a);
|
|
8
|
+
o.selectNumberingPlan(r || i);
|
|
9
|
+
let s = new RegExp(o.IDDPrefix());
|
|
10
|
+
if (t.search(s) !== 0) return;
|
|
11
|
+
t = t.slice(t.match(s)[0].length);
|
|
12
|
+
let c = t.match(n);
|
|
13
|
+
if (!(c && c[1] != null && c[1].length > 0 && c[1] === "0")) return t;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { r as default };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import e from "./metadata.js";
|
|
2
|
+
import t from "./helpers/checkNumberLength.js";
|
|
3
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/isPossible.js
|
|
4
|
+
function n(t, n, i) {
|
|
5
|
+
/* istanbul ignore if */
|
|
6
|
+
n === void 0 && (n = {});
|
|
7
|
+
let a = new e(i);
|
|
8
|
+
if (n.v2) {
|
|
9
|
+
if (!t.countryCallingCode) throw Error("Invalid phone number object passed");
|
|
10
|
+
a.selectNumberingPlan(t.country || t.countryCallingCode);
|
|
11
|
+
} else {
|
|
12
|
+
if (!t.phone) return !1;
|
|
13
|
+
if (t.country) {
|
|
14
|
+
if (!a.hasCountry(t.country)) throw Error(`Unknown country: ${t.country}`);
|
|
15
|
+
a.selectNumberingPlan(t.country);
|
|
16
|
+
} else {
|
|
17
|
+
if (!t.countryCallingCode) throw Error("Invalid phone number object passed");
|
|
18
|
+
a.selectNumberingPlan(t.countryCallingCode);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
if (a.possibleLengths()) return r(t.phone || t.nationalNumber, a);
|
|
22
|
+
if (t.countryCallingCode && a.isNonGeographicCallingCode(t.countryCallingCode)) return !0;
|
|
23
|
+
throw Error("Missing \"possibleLengths\" in metadata. Perhaps the metadata has been generated before v1.0.18.");
|
|
24
|
+
}
|
|
25
|
+
function r(e, n) {
|
|
26
|
+
switch (t(e, void 0, n)) {
|
|
27
|
+
case "IS_POSSIBLE": return !0;
|
|
28
|
+
default: return !1;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
//#endregion
|
|
32
|
+
export { n as default, r as isPossibleNumber };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import e from "./metadata.js";
|
|
2
|
+
import t from "./helpers/matchesEntirely.js";
|
|
3
|
+
import n from "./helpers/getNumberType.js";
|
|
4
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/isValid.js
|
|
5
|
+
function r(r, i, a) {
|
|
6
|
+
i ||= {};
|
|
7
|
+
let o = new e(a);
|
|
8
|
+
if (o.selectNumberingPlan(r.country || r.countryCallingCode), o.hasTypes()) return n(r, i, o.metadata) !== void 0;
|
|
9
|
+
let s = i.v2 ? r.nationalNumber : r.phone;
|
|
10
|
+
return t(s, o.nationalNumberPattern());
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { r as default };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import e from "./normalizeArguments.js";
|
|
2
|
+
import t from "./parsePhoneNumber_.js";
|
|
3
|
+
//#region ../../node_modules/libphonenumber-js/es6-modern/isValidPhoneNumber.js
|
|
4
|
+
function n() {
|
|
5
|
+
return n = Object.assign ? Object.assign.bind() : function(e) {
|
|
6
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
7
|
+
var n = arguments[t];
|
|
8
|
+
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
9
|
+
}
|
|
10
|
+
return e;
|
|
11
|
+
}, n.apply(null, arguments);
|
|
12
|
+
}
|
|
13
|
+
function r() {
|
|
14
|
+
let { text: r, options: i, metadata: a } = e(arguments);
|
|
15
|
+
i = n({}, i, { extract: !1 });
|
|
16
|
+
let o = t(r, i, a);
|
|
17
|
+
return o && o.isValid() || !1;
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
export { r as default };
|