@reapit/elements 5.0.0-beta.77 → 5.0.0-beta.79
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/codemods/apply-textarea-field-sizing/transform.js +14 -11
- package/dist/codemods/at-a-glance-article-card/transform.js +14 -11
- package/dist/codemods/bin.js +1047 -647
- package/dist/codemods/codemods.js +9 -1
- package/dist/codemods/inline-use-click-outside/transform.js +253558 -0
- package/dist/codemods/manifest.json +9 -1
- package/dist/codemods/replace-deprecated-label/transform.js +253627 -0
- package/dist/codemods/rewrite-text-font-imports/transform.js +14 -11
- package/dist/codemods/rewrite-v4-imports/transform.js +14 -11
- package/dist/codemods/rewrite-v5-imports/transform.js +14 -23
- package/dist/codemods/upgrade-deprecated-badge/transform.js +14 -11
- package/dist/codemods/upgrade-deprecated-button/transform.js +14 -11
- package/dist/codemods/upgrade-deprecated-button-group/transform.js +19 -40
- package/dist/codemods/upgrade-deprecated-icon/transform.js +14 -11
- package/dist/codemods/upgrade-deprecated-split-button/transform.js +14 -11
- package/dist/codemods/upgrade-deprecated-tag/transform.js +14 -11
- package/dist/codemods/upgrade-deprecated-use-media-query/transform.js +14 -11
- package/dist/js/app-logo-DI6bR-xZ.js +63 -0
- package/dist/js/{app-switcher-DT-XTre7.js → app-switcher-Bm90a8vK.js} +1 -2
- package/dist/js/autocomplete-control-CZ4Vucbe.js +60 -0
- package/dist/js/checkbox-control-DpvEbZAD.js +24 -0
- package/dist/js/{checkbox-group-control-CGaYWkzO.js → checkbox-group-control-BHPHLTNj.js} +28 -22
- package/dist/js/core/app-switcher.js +1 -1
- package/dist/js/core/autocomplete-control.js +1 -1
- package/dist/js/core/checkbox-control.js +1 -1
- package/dist/js/core/checkbox-group-control.js +1 -1
- package/dist/js/core/date-time-control.js +1 -1
- package/dist/js/core/radio-group-control.js +1 -1
- package/dist/js/core/select-control.js +1 -1
- package/dist/js/core/select-native-control.js +1 -1
- package/dist/js/core/text-control.js +1 -1
- package/dist/js/core/textarea-control.js +1 -1
- package/dist/js/core/top-bar.js +96 -96
- package/dist/js/date-time-control-D3_FLY1i.js +37 -0
- package/dist/js/deprecated/nav.js +1 -1
- package/dist/js/deprecated/page-header.js +1 -1
- package/dist/js/index.js +1700 -1712
- package/dist/js/{nav-responsive-BMQZWB8l.js → nav-responsive-CgrAMnq3.js} +32 -32
- package/dist/js/page-header-mgRtDaDf.js +96 -0
- package/dist/js/{radio-group-control-F5aUqmQr.js → radio-group-control-DpWIWxQk.js} +35 -29
- package/dist/js/{select-control-DNlg4Orc.js → select-control-ClgSoo2Q.js} +22 -20
- package/dist/js/select-native-control-BJdng5Wq.js +37 -0
- package/dist/js/style.css +1 -1
- package/dist/js/text-control-CIDimADU.js +37 -0
- package/dist/js/textarea-control-QGH0MVlk.js +37 -0
- package/dist/js/{top-bar-B9BUqLL8.js → top-bar-BAtb9REF.js} +287 -276
- package/dist/types/core/autocomplete-control/autocomplete-control.d.ts +1 -1
- package/dist/types/core/autocomplete-control/autocomplete-control.d.ts.map +1 -1
- package/dist/types/core/autocomplete-control/autocomplete-control.stories.d.ts +3 -0
- package/dist/types/core/autocomplete-control/autocomplete-control.stories.d.ts.map +1 -1
- package/dist/types/core/checkbox-control/checkbox-control.d.ts +1 -1
- package/dist/types/core/checkbox-control/checkbox-control.d.ts.map +1 -1
- package/dist/types/core/checkbox-control/checkbox-control.stories.d.ts +4 -1
- package/dist/types/core/checkbox-control/checkbox-control.stories.d.ts.map +1 -1
- package/dist/types/core/checkbox-group-control/checkbox-group-control.d.ts.map +1 -1
- package/dist/types/core/checkbox-group-control/checkbox-group-control.stories.d.ts +3 -0
- package/dist/types/core/checkbox-group-control/checkbox-group-control.stories.d.ts.map +1 -1
- package/dist/types/core/checkbox-input/checkbox-input.stories.d.ts +6 -0
- package/dist/types/core/checkbox-input/checkbox-input.stories.d.ts.map +1 -1
- package/dist/types/core/checkbox-input/styles.d.ts.map +1 -1
- package/dist/types/core/combobox/button/button.stories.d.ts +7 -0
- package/dist/types/core/combobox/button/button.stories.d.ts.map +1 -1
- package/dist/types/core/combobox/combobox.stories.d.ts +16 -0
- package/dist/types/core/combobox/combobox.stories.d.ts.map +1 -1
- package/dist/types/core/combobox/styles.d.ts.map +1 -1
- package/dist/types/core/date-time-control/date-time-control.d.ts +1 -1
- package/dist/types/core/date-time-control/date-time-control.d.ts.map +1 -1
- package/dist/types/core/date-time-control/date-time-control.stories.d.ts +3 -0
- package/dist/types/core/date-time-control/date-time-control.stories.d.ts.map +1 -1
- package/dist/types/core/date-time-input/date-time-input.stories.d.ts +6 -0
- package/dist/types/core/date-time-input/date-time-input.stories.d.ts.map +1 -1
- package/dist/types/core/drawer/styles.d.ts.map +1 -1
- package/dist/types/core/radio-group-control/radio-group-control.d.ts.map +1 -1
- package/dist/types/core/radio-group-control/radio-group-control.stories.d.ts +3 -0
- package/dist/types/core/radio-group-control/radio-group-control.stories.d.ts.map +1 -1
- package/dist/types/core/radio-input/radio-input.stories.d.ts +6 -0
- package/dist/types/core/radio-input/radio-input.stories.d.ts.map +1 -1
- package/dist/types/core/radio-input/styles.d.ts.map +1 -1
- package/dist/types/core/select-control/select-control.d.ts +1 -1
- package/dist/types/core/select-control/select-control.d.ts.map +1 -1
- package/dist/types/core/select-control/select-control.stories.d.ts +3 -0
- package/dist/types/core/select-control/select-control.stories.d.ts.map +1 -1
- package/dist/types/core/select-native/select-native.stories.d.ts +6 -0
- package/dist/types/core/select-native/select-native.stories.d.ts.map +1 -1
- package/dist/types/core/select-native/styles.d.ts.map +1 -1
- package/dist/types/core/select-native-control/select-native-control.d.ts +1 -1
- package/dist/types/core/select-native-control/select-native-control.d.ts.map +1 -1
- package/dist/types/core/select-native-control/select-native-control.stories.d.ts +3 -0
- package/dist/types/core/select-native-control/select-native-control.stories.d.ts.map +1 -1
- package/dist/types/core/text-control/text-control.d.ts +1 -1
- package/dist/types/core/text-control/text-control.d.ts.map +1 -1
- package/dist/types/core/text-control/text-control.stories.d.ts +3 -0
- package/dist/types/core/text-control/text-control.stories.d.ts.map +1 -1
- package/dist/types/core/text-input/styles.d.ts.map +1 -1
- package/dist/types/core/text-input/text-input.stories.d.ts +6 -0
- package/dist/types/core/text-input/text-input.stories.d.ts.map +1 -1
- package/dist/types/core/textarea/styles.d.ts.map +1 -1
- package/dist/types/core/textarea/textarea.stories.d.ts +6 -0
- package/dist/types/core/textarea/textarea.stories.d.ts.map +1 -1
- package/dist/types/core/textarea-control/textarea-control.d.ts +1 -1
- package/dist/types/core/textarea-control/textarea-control.d.ts.map +1 -1
- package/dist/types/core/textarea-control/textarea-control.stories.d.ts +3 -0
- package/dist/types/core/textarea-control/textarea-control.stories.d.ts.map +1 -1
- package/dist/types/deprecated/index.d.ts +0 -2
- package/dist/types/deprecated/index.d.ts.map +1 -1
- package/dist/types/deprecated/page-header/page-header.d.ts +7 -2
- package/dist/types/deprecated/page-header/page-header.d.ts.map +1 -1
- package/package.json +20 -23
- package/dist/js/autocomplete-control-BQWChKSS.js +0 -58
- package/dist/js/badge-B1_MUh5J.js +0 -24
- package/dist/js/brand-logo-CI4YsKra.js +0 -74
- package/dist/js/checkbox-control-BGeX2ngp.js +0 -23
- package/dist/js/date-time-control-y5SZfBjd.js +0 -35
- package/dist/js/deprecated/badge.js +0 -8
- package/dist/js/deprecated/tag.js +0 -8
- package/dist/js/icons/add.figma.js +0 -3
- package/dist/js/icons/announcement.figma.js +0 -3
- package/dist/js/icons/app-switcher.figma.js +0 -3
- package/dist/js/icons/archive.figma.js +0 -3
- package/dist/js/icons/arrow-down.figma.js +0 -3
- package/dist/js/icons/arrow-left.figma.js +0 -3
- package/dist/js/icons/arrow-right.figma.js +0 -3
- package/dist/js/icons/arrow-up.figma.js +0 -3
- package/dist/js/icons/asterisk.figma.js +0 -3
- package/dist/js/icons/attachment.figma.js +0 -3
- package/dist/js/icons/automation.figma.js +0 -3
- package/dist/js/icons/bath.figma.js +0 -3
- package/dist/js/icons/bed.figma.js +0 -3
- package/dist/js/icons/bill-bulk.figma.js +0 -3
- package/dist/js/icons/bill.figma.js +0 -3
- package/dist/js/icons/bookmark-bulk.figma.js +0 -3
- package/dist/js/icons/bookmark.figma.js +0 -3
- package/dist/js/icons/buy.figma.js +0 -3
- package/dist/js/icons/calculator.figma.js +0 -3
- package/dist/js/icons/calendar-user.figma.js +0 -3
- package/dist/js/icons/calendar.figma.js +0 -3
- package/dist/js/icons/camera.figma.js +0 -3
- package/dist/js/icons/car.figma.js +0 -3
- package/dist/js/icons/change-log.figma.js +0 -3
- package/dist/js/icons/check-outline.figma.js +0 -3
- package/dist/js/icons/check.figma.js +0 -3
- package/dist/js/icons/checkbox-disabled.figma.js +0 -3
- package/dist/js/icons/checkbox-indeterminate.figma.js +0 -3
- package/dist/js/icons/checkbox-selected.figma.js +0 -3
- package/dist/js/icons/checkbox.figma.js +0 -3
- package/dist/js/icons/chevron-down.figma.js +0 -3
- package/dist/js/icons/chevron-left.figma.js +0 -3
- package/dist/js/icons/chevron-right.figma.js +0 -3
- package/dist/js/icons/chevron-up.figma.js +0 -3
- package/dist/js/icons/circular-add-solid.figma.js +0 -3
- package/dist/js/icons/circular-add.figma.js +0 -3
- package/dist/js/icons/circular-remove-solid.figma.js +0 -3
- package/dist/js/icons/circular-remove.figma.js +0 -3
- package/dist/js/icons/clear.figma.js +0 -3
- package/dist/js/icons/close.figma.js +0 -3
- package/dist/js/icons/cloud.figma.js +0 -3
- package/dist/js/icons/compliance.figma.js +0 -3
- package/dist/js/icons/consolidate.figma.js +0 -3
- package/dist/js/icons/contact.figma.js +0 -3
- package/dist/js/icons/contacts-alt.figma.js +0 -3
- package/dist/js/icons/contacts.figma.js +0 -3
- package/dist/js/icons/copy.figma.js +0 -3
- package/dist/js/icons/dashboard.figma.js +0 -3
- package/dist/js/icons/drag-indicator-alt.figma.js +0 -3
- package/dist/js/icons/drag-indicator.figma.js +0 -3
- package/dist/js/icons/edit.figma.js +0 -3
- package/dist/js/icons/email-disabled.figma.js +0 -3
- package/dist/js/icons/email-fill.figma.js +0 -3
- package/dist/js/icons/email.figma.js +0 -3
- package/dist/js/icons/error.figma.js +0 -3
- package/dist/js/icons/euro.figma.js +0 -3
- package/dist/js/icons/exit.figma.js +0 -3
- package/dist/js/icons/expand.figma.js +0 -3
- package/dist/js/icons/export.figma.js +0 -3
- package/dist/js/icons/favourite.figma.js +0 -3
- package/dist/js/icons/feather.figma.js +0 -3
- package/dist/js/icons/feed.figma.js +0 -3
- package/dist/js/icons/file-attached.figma.js +0 -3
- package/dist/js/icons/file-audio.figma.js +0 -3
- package/dist/js/icons/file-document.figma.js +0 -3
- package/dist/js/icons/file-download.figma.js +0 -3
- package/dist/js/icons/file-excel.figma.js +0 -3
- package/dist/js/icons/file-image.figma.js +0 -3
- package/dist/js/icons/file-pdf.figma.js +0 -3
- package/dist/js/icons/file-powerpoint.figma.js +0 -3
- package/dist/js/icons/file-spreadsheet.figma.js +0 -3
- package/dist/js/icons/file-upload.figma.js +0 -3
- package/dist/js/icons/file-video.figma.js +0 -3
- package/dist/js/icons/file-word.figma.js +0 -3
- package/dist/js/icons/file-zip.figma.js +0 -3
- package/dist/js/icons/file.figma.js +0 -3
- package/dist/js/icons/filter.figma.js +0 -3
- package/dist/js/icons/folder.figma.js +0 -3
- package/dist/js/icons/forward.figma.js +0 -3
- package/dist/js/icons/fullscreen-exit.figma.js +0 -3
- package/dist/js/icons/fullscreen.figma.js +0 -3
- package/dist/js/icons/help.figma.js +0 -3
- package/dist/js/icons/info-outline.figma.js +0 -3
- package/dist/js/icons/info.figma.js +0 -3
- package/dist/js/icons/insights.figma.js +0 -3
- package/dist/js/icons/inspection-template.figma.js +0 -3
- package/dist/js/icons/inspection.figma.js +0 -3
- package/dist/js/icons/insurance.figma.js +0 -3
- package/dist/js/icons/key.figma.js +0 -3
- package/dist/js/icons/keyboard.figma.js +0 -3
- package/dist/js/icons/land-size.figma.js +0 -3
- package/dist/js/icons/laptop.figma.js +0 -3
- package/dist/js/icons/link.figma.js +0 -3
- package/dist/js/icons/location-alt.figma.js +0 -3
- package/dist/js/icons/location-disabled.figma.js +0 -3
- package/dist/js/icons/location-outline.figma.js +0 -3
- package/dist/js/icons/location.figma.js +0 -3
- package/dist/js/icons/lock-outline.figma.js +0 -3
- package/dist/js/icons/lock.figma.js +0 -3
- package/dist/js/icons/maintenance-alt.figma.js +0 -3
- package/dist/js/icons/maintenance.figma.js +0 -3
- package/dist/js/icons/marketplace.figma.js +0 -3
- package/dist/js/icons/menu-alt.figma.js +0 -3
- package/dist/js/icons/menu-collapse.figma.js +0 -3
- package/dist/js/icons/menu-expand.figma.js +0 -3
- package/dist/js/icons/menu.figma.js +0 -3
- package/dist/js/icons/message-alt.figma.js +0 -3
- package/dist/js/icons/message-disabled.figma.js +0 -3
- package/dist/js/icons/message-typing.figma.js +0 -3
- package/dist/js/icons/message.figma.js +0 -3
- package/dist/js/icons/mic-off.figma.js +0 -3
- package/dist/js/icons/mic-on.figma.js +0 -3
- package/dist/js/icons/minus.figma.js +0 -3
- package/dist/js/icons/mobile.figma.js +0 -3
- package/dist/js/icons/money.figma.js +0 -3
- package/dist/js/icons/monitor.figma.js +0 -3
- package/dist/js/icons/mood-happy.figma.js +0 -3
- package/dist/js/icons/mood-neutral.figma.js +0 -3
- package/dist/js/icons/mood-unhappy.figma.js +0 -3
- package/dist/js/icons/more-vert.figma.js +0 -3
- package/dist/js/icons/more.figma.js +0 -3
- package/dist/js/icons/note.figma.js +0 -3
- package/dist/js/icons/notification.figma.js +0 -3
- package/dist/js/icons/payment.figma.js +0 -3
- package/dist/js/icons/people-alt.figma.js +0 -3
- package/dist/js/icons/phone-disabled.figma.js +0 -3
- package/dist/js/icons/phone.figma.js +0 -3
- package/dist/js/icons/photo.figma.js +0 -3
- package/dist/js/icons/pin.figma.js +0 -3
- package/dist/js/icons/pound.figma.js +0 -3
- package/dist/js/icons/power-on.figma.js +0 -3
- package/dist/js/icons/printer.figma.js +0 -3
- package/dist/js/icons/priority-high.figma.js +0 -3
- package/dist/js/icons/priority-low.figma.js +0 -3
- package/dist/js/icons/priority-medium.figma.js +0 -3
- package/dist/js/icons/property-checked.figma.js +0 -3
- package/dist/js/icons/property.figma.js +0 -3
- package/dist/js/icons/radio-disabled.figma.js +0 -3
- package/dist/js/icons/radio-selected.figma.js +0 -3
- package/dist/js/icons/radio.figma.js +0 -3
- package/dist/js/icons/refresh.figma.js +0 -3
- package/dist/js/icons/rent.figma.js +0 -3
- package/dist/js/icons/repeat.figma.js +0 -3
- package/dist/js/icons/reply-all.figma.js +0 -3
- package/dist/js/icons/reply.figma.js +0 -3
- package/dist/js/icons/report.figma.js +0 -3
- package/dist/js/icons/restore.figma.js +0 -3
- package/dist/js/icons/sale.figma.js +0 -3
- package/dist/js/icons/search.figma.js +0 -3
- package/dist/js/icons/send.figma.js +0 -3
- package/dist/js/icons/separator-dot.figma.js +0 -3
- package/dist/js/icons/separator-line.figma.js +0 -3
- package/dist/js/icons/settings-alt.figma.js +0 -3
- package/dist/js/icons/settings.figma.js +0 -3
- package/dist/js/icons/share.figma.js +0 -3
- package/dist/js/icons/skip.figma.js +0 -3
- package/dist/js/icons/social-facebook.figma.js +0 -3
- package/dist/js/icons/social-instagram.figma.js +0 -3
- package/dist/js/icons/social-linkedin.figma.js +0 -3
- package/dist/js/icons/social-x.figma.js +0 -3
- package/dist/js/icons/social-youtube.figma.js +0 -3
- package/dist/js/icons/sort-ascend.figma.js +0 -3
- package/dist/js/icons/sort-descend.figma.js +0 -3
- package/dist/js/icons/sort.figma.js +0 -3
- package/dist/js/icons/sprout.figma.js +0 -3
- package/dist/js/icons/star.figma.js +0 -3
- package/dist/js/icons/status-bad.figma.js +0 -3
- package/dist/js/icons/status-good.figma.js +0 -3
- package/dist/js/icons/status-paused.figma.js +0 -3
- package/dist/js/icons/status-unknown.figma.js +0 -3
- package/dist/js/icons/status.figma.js +0 -3
- package/dist/js/icons/tag.figma.js +0 -3
- package/dist/js/icons/task.figma.js +0 -3
- package/dist/js/icons/time.figma.js +0 -3
- package/dist/js/icons/trash.figma.js +0 -3
- package/dist/js/icons/unarchive.figma.js +0 -3
- package/dist/js/icons/user-outline.figma.js +0 -3
- package/dist/js/icons/user.figma.js +0 -3
- package/dist/js/icons/video.figma.js +0 -3
- package/dist/js/icons/view-disabled.figma.js +0 -3
- package/dist/js/icons/view.figma.js +0 -3
- package/dist/js/icons/w3w.figma.js +0 -3
- package/dist/js/icons/walking.figma.js +0 -3
- package/dist/js/icons/wand.figma.js +0 -3
- package/dist/js/icons/warning-outline.figma.js +0 -3
- package/dist/js/icons/warning.figma.js +0 -3
- package/dist/js/icons/web.figma.js +0 -3
- package/dist/js/icons/workflow.figma.js +0 -3
- package/dist/js/index_react-U2RHnzO6.js +0 -18340
- package/dist/js/page-header-DYxMYNZx.js +0 -87
- package/dist/js/select-native-control-M9D5z1nK.js +0 -35
- package/dist/js/tag-BZTSNcnx.js +0 -24
- package/dist/js/text-control-DRYKDuD6.js +0 -35
- package/dist/js/textarea-control-DSfsLSQu.js +0 -35
- package/dist/types/deprecated/badge/__styles__/index.d.ts +0 -7
- package/dist/types/deprecated/badge/__styles__/index.d.ts.map +0 -1
- package/dist/types/deprecated/badge/__tests__/badge.test.d.ts +0 -2
- package/dist/types/deprecated/badge/__tests__/badge.test.d.ts.map +0 -1
- package/dist/types/deprecated/badge/badge.d.ts +0 -11
- package/dist/types/deprecated/badge/badge.d.ts.map +0 -1
- package/dist/types/deprecated/badge/badge.stories.d.ts +0 -12
- package/dist/types/deprecated/badge/badge.stories.d.ts.map +0 -1
- package/dist/types/deprecated/badge/index.d.ts +0 -3
- package/dist/types/deprecated/badge/index.d.ts.map +0 -1
- package/dist/types/deprecated/tag/__styles__/index.d.ts +0 -7
- package/dist/types/deprecated/tag/__styles__/index.d.ts.map +0 -1
- package/dist/types/deprecated/tag/__tests__/tag.test.d.ts +0 -2
- package/dist/types/deprecated/tag/__tests__/tag.test.d.ts.map +0 -1
- package/dist/types/deprecated/tag/index.d.ts +0 -3
- package/dist/types/deprecated/tag/index.d.ts.map +0 -1
- package/dist/types/deprecated/tag/tag.d.ts +0 -11
- package/dist/types/deprecated/tag/tag.d.ts.map +0 -1
- package/dist/types/deprecated/tag/tag.stories.d.ts +0 -40
- package/dist/types/deprecated/tag/tag.stories.d.ts.map +0 -1
|
@@ -222028,11 +222028,12 @@ var require_commonjs = __commonJS({
|
|
|
222028
222028
|
}
|
|
222029
222029
|
});
|
|
222030
222030
|
|
|
222031
|
-
// node_modules/.store/@isaacs-brace-expansion-npm-5.0.
|
|
222031
|
+
// node_modules/.store/@isaacs-brace-expansion-npm-5.0.1-79f48d6db7/package/dist/commonjs/index.js
|
|
222032
222032
|
var require_commonjs2 = __commonJS({
|
|
222033
|
-
"node_modules/.store/@isaacs-brace-expansion-npm-5.0.
|
|
222033
|
+
"node_modules/.store/@isaacs-brace-expansion-npm-5.0.1-79f48d6db7/package/dist/commonjs/index.js"(exports) {
|
|
222034
222034
|
"use strict";
|
|
222035
222035
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
222036
|
+
exports.EXPANSION_MAX = void 0;
|
|
222036
222037
|
exports.expand = expand;
|
|
222037
222038
|
var balanced_match_1 = require_commonjs();
|
|
222038
222039
|
var escSlash = "\0SLASH" + Math.random() + "\0";
|
|
@@ -222050,6 +222051,7 @@ var require_commonjs2 = __commonJS({
|
|
|
222050
222051
|
var closePattern = /\\}/g;
|
|
222051
222052
|
var commaPattern = /\\,/g;
|
|
222052
222053
|
var periodPattern = /\\./g;
|
|
222054
|
+
exports.EXPANSION_MAX = 1e5;
|
|
222053
222055
|
function numeric(str) {
|
|
222054
222056
|
return !isNaN(str) ? parseInt(str, 10) : str.charCodeAt(0);
|
|
222055
222057
|
}
|
|
@@ -222084,14 +222086,15 @@ var require_commonjs2 = __commonJS({
|
|
|
222084
222086
|
return parts;
|
|
222085
222087
|
}
|
|
222086
222088
|
__name(parseCommaParts, "parseCommaParts");
|
|
222087
|
-
function expand(str) {
|
|
222089
|
+
function expand(str, options = {}) {
|
|
222088
222090
|
if (!str) {
|
|
222089
222091
|
return [];
|
|
222090
222092
|
}
|
|
222093
|
+
const { max = exports.EXPANSION_MAX } = options;
|
|
222091
222094
|
if (str.slice(0, 2) === "{}") {
|
|
222092
222095
|
str = "\\{\\}" + str.slice(2);
|
|
222093
222096
|
}
|
|
222094
|
-
return expand_(escapeBraces(str), true).map(unescapeBraces);
|
|
222097
|
+
return expand_(escapeBraces(str), max, true).map(unescapeBraces);
|
|
222095
222098
|
}
|
|
222096
222099
|
__name(expand, "expand");
|
|
222097
222100
|
function embrace(str) {
|
|
@@ -222110,15 +222113,15 @@ var require_commonjs2 = __commonJS({
|
|
|
222110
222113
|
return i >= y;
|
|
222111
222114
|
}
|
|
222112
222115
|
__name(gte, "gte");
|
|
222113
|
-
function expand_(str, isTop) {
|
|
222116
|
+
function expand_(str, max, isTop) {
|
|
222114
222117
|
const expansions = [];
|
|
222115
222118
|
const m = (0, balanced_match_1.balanced)("{", "}", str);
|
|
222116
222119
|
if (!m)
|
|
222117
222120
|
return [str];
|
|
222118
222121
|
const pre = m.pre;
|
|
222119
|
-
const post = m.post.length ? expand_(m.post, false) : [""];
|
|
222122
|
+
const post = m.post.length ? expand_(m.post, max, false) : [""];
|
|
222120
222123
|
if (/\$$/.test(m.pre)) {
|
|
222121
|
-
for (let k = 0; k < post.length; k++) {
|
|
222124
|
+
for (let k = 0; k < post.length && k < max; k++) {
|
|
222122
222125
|
const expansion = pre + "{" + m.body + "}" + post[k];
|
|
222123
222126
|
expansions.push(expansion);
|
|
222124
222127
|
}
|
|
@@ -222130,7 +222133,7 @@ var require_commonjs2 = __commonJS({
|
|
|
222130
222133
|
if (!isSequence && !isOptions) {
|
|
222131
222134
|
if (m.post.match(/,(?!,).*\}/)) {
|
|
222132
222135
|
str = m.pre + "{" + m.body + escClose + m.post;
|
|
222133
|
-
return expand_(str);
|
|
222136
|
+
return expand_(str, max, true);
|
|
222134
222137
|
}
|
|
222135
222138
|
return [str];
|
|
222136
222139
|
}
|
|
@@ -222140,7 +222143,7 @@ var require_commonjs2 = __commonJS({
|
|
|
222140
222143
|
} else {
|
|
222141
222144
|
n = parseCommaParts(m.body);
|
|
222142
222145
|
if (n.length === 1 && n[0] !== void 0) {
|
|
222143
|
-
n = expand_(n[0], false).map(embrace);
|
|
222146
|
+
n = expand_(n[0], max, false).map(embrace);
|
|
222144
222147
|
if (n.length === 1) {
|
|
222145
222148
|
return post.map((p) => m.pre + n[0] + p);
|
|
222146
222149
|
}
|
|
@@ -222186,11 +222189,11 @@ var require_commonjs2 = __commonJS({
|
|
|
222186
222189
|
} else {
|
|
222187
222190
|
N = [];
|
|
222188
222191
|
for (let j = 0; j < n.length; j++) {
|
|
222189
|
-
N.push.apply(N, expand_(n[j], false));
|
|
222192
|
+
N.push.apply(N, expand_(n[j], max, false));
|
|
222190
222193
|
}
|
|
222191
222194
|
}
|
|
222192
222195
|
for (let j = 0; j < N.length; j++) {
|
|
222193
|
-
for (let k = 0; k < post.length; k++) {
|
|
222196
|
+
for (let k = 0; k < post.length && expansions.length < max; k++) {
|
|
222194
222197
|
const expansion = pre + N[j] + post[k];
|
|
222195
222198
|
if (!isTop || isSequence || expansion) {
|
|
222196
222199
|
expansions.push(expansion);
|
|
@@ -222028,11 +222028,12 @@ var require_commonjs = __commonJS({
|
|
|
222028
222028
|
}
|
|
222029
222029
|
});
|
|
222030
222030
|
|
|
222031
|
-
// node_modules/.store/@isaacs-brace-expansion-npm-5.0.
|
|
222031
|
+
// node_modules/.store/@isaacs-brace-expansion-npm-5.0.1-79f48d6db7/package/dist/commonjs/index.js
|
|
222032
222032
|
var require_commonjs2 = __commonJS({
|
|
222033
|
-
"node_modules/.store/@isaacs-brace-expansion-npm-5.0.
|
|
222033
|
+
"node_modules/.store/@isaacs-brace-expansion-npm-5.0.1-79f48d6db7/package/dist/commonjs/index.js"(exports) {
|
|
222034
222034
|
"use strict";
|
|
222035
222035
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
222036
|
+
exports.EXPANSION_MAX = void 0;
|
|
222036
222037
|
exports.expand = expand;
|
|
222037
222038
|
var balanced_match_1 = require_commonjs();
|
|
222038
222039
|
var escSlash = "\0SLASH" + Math.random() + "\0";
|
|
@@ -222050,6 +222051,7 @@ var require_commonjs2 = __commonJS({
|
|
|
222050
222051
|
var closePattern = /\\}/g;
|
|
222051
222052
|
var commaPattern = /\\,/g;
|
|
222052
222053
|
var periodPattern = /\\./g;
|
|
222054
|
+
exports.EXPANSION_MAX = 1e5;
|
|
222053
222055
|
function numeric(str) {
|
|
222054
222056
|
return !isNaN(str) ? parseInt(str, 10) : str.charCodeAt(0);
|
|
222055
222057
|
}
|
|
@@ -222084,14 +222086,15 @@ var require_commonjs2 = __commonJS({
|
|
|
222084
222086
|
return parts;
|
|
222085
222087
|
}
|
|
222086
222088
|
__name(parseCommaParts, "parseCommaParts");
|
|
222087
|
-
function expand(str) {
|
|
222089
|
+
function expand(str, options = {}) {
|
|
222088
222090
|
if (!str) {
|
|
222089
222091
|
return [];
|
|
222090
222092
|
}
|
|
222093
|
+
const { max = exports.EXPANSION_MAX } = options;
|
|
222091
222094
|
if (str.slice(0, 2) === "{}") {
|
|
222092
222095
|
str = "\\{\\}" + str.slice(2);
|
|
222093
222096
|
}
|
|
222094
|
-
return expand_(escapeBraces(str), true).map(unescapeBraces);
|
|
222097
|
+
return expand_(escapeBraces(str), max, true).map(unescapeBraces);
|
|
222095
222098
|
}
|
|
222096
222099
|
__name(expand, "expand");
|
|
222097
222100
|
function embrace(str) {
|
|
@@ -222110,15 +222113,15 @@ var require_commonjs2 = __commonJS({
|
|
|
222110
222113
|
return i >= y;
|
|
222111
222114
|
}
|
|
222112
222115
|
__name(gte, "gte");
|
|
222113
|
-
function expand_(str, isTop) {
|
|
222116
|
+
function expand_(str, max, isTop) {
|
|
222114
222117
|
const expansions = [];
|
|
222115
222118
|
const m = (0, balanced_match_1.balanced)("{", "}", str);
|
|
222116
222119
|
if (!m)
|
|
222117
222120
|
return [str];
|
|
222118
222121
|
const pre = m.pre;
|
|
222119
|
-
const post = m.post.length ? expand_(m.post, false) : [""];
|
|
222122
|
+
const post = m.post.length ? expand_(m.post, max, false) : [""];
|
|
222120
222123
|
if (/\$$/.test(m.pre)) {
|
|
222121
|
-
for (let k = 0; k < post.length; k++) {
|
|
222124
|
+
for (let k = 0; k < post.length && k < max; k++) {
|
|
222122
222125
|
const expansion = pre + "{" + m.body + "}" + post[k];
|
|
222123
222126
|
expansions.push(expansion);
|
|
222124
222127
|
}
|
|
@@ -222130,7 +222133,7 @@ var require_commonjs2 = __commonJS({
|
|
|
222130
222133
|
if (!isSequence && !isOptions) {
|
|
222131
222134
|
if (m.post.match(/,(?!,).*\}/)) {
|
|
222132
222135
|
str = m.pre + "{" + m.body + escClose + m.post;
|
|
222133
|
-
return expand_(str);
|
|
222136
|
+
return expand_(str, max, true);
|
|
222134
222137
|
}
|
|
222135
222138
|
return [str];
|
|
222136
222139
|
}
|
|
@@ -222140,7 +222143,7 @@ var require_commonjs2 = __commonJS({
|
|
|
222140
222143
|
} else {
|
|
222141
222144
|
n = parseCommaParts(m.body);
|
|
222142
222145
|
if (n.length === 1 && n[0] !== void 0) {
|
|
222143
|
-
n = expand_(n[0], false).map(embrace);
|
|
222146
|
+
n = expand_(n[0], max, false).map(embrace);
|
|
222144
222147
|
if (n.length === 1) {
|
|
222145
222148
|
return post.map((p) => m.pre + n[0] + p);
|
|
222146
222149
|
}
|
|
@@ -222186,11 +222189,11 @@ var require_commonjs2 = __commonJS({
|
|
|
222186
222189
|
} else {
|
|
222187
222190
|
N = [];
|
|
222188
222191
|
for (let j = 0; j < n.length; j++) {
|
|
222189
|
-
N.push.apply(N, expand_(n[j], false));
|
|
222192
|
+
N.push.apply(N, expand_(n[j], max, false));
|
|
222190
222193
|
}
|
|
222191
222194
|
}
|
|
222192
222195
|
for (let j = 0; j < N.length; j++) {
|
|
222193
|
-
for (let k = 0; k < post.length; k++) {
|
|
222196
|
+
for (let k = 0; k < post.length && expansions.length < max; k++) {
|
|
222194
222197
|
const expansion = pre + N[j] + post[k];
|
|
222195
222198
|
if (!isTop || isSequence || expansion) {
|
|
222196
222199
|
expansions.push(expansion);
|