@hero-design/rn-work-uikit 1.9.4 → 1.9.6
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/CHANGELOG.md +18 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +69810 -0
- package/lib/index.js +809 -440
- package/package.json +5 -5
- package/src/components/RichTextEditor/MentionList.tsx +2 -1
- package/testUtils/renderWithTheme.tsx +2 -2
- package/types/index.d.ts +525 -0
- package/src/__tests__/index-export.spec.ts +0 -64
- package/src/__tests__/index.spec.tsx +0 -14
- package/src/components/DatePicker/__tests__/__snapshots__/index.spec.tsx.snap +0 -1649
- package/src/components/DatePicker/__tests__/index.spec.tsx +0 -56
- package/src/components/FormGroup/__tests__/__snapshots__/index.spec.tsx.snap +0 -908
- package/src/components/FormGroup/__tests__/index.spec.tsx +0 -319
- package/src/components/FormGroup/__tests__/utils.spec.ts +0 -73
- package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +0 -154
- package/src/components/RichTextEditor/__tests__/MentionList.spec.tsx +0 -105
- package/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx +0 -81
- package/src/components/RichTextEditor/__tests__/RichTextEditorInput.spec.tsx +0 -174
- package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +0 -407
- package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +0 -13
- package/src/components/Select/__tests__/__snapshots__/index.spec.tsx.snap +0 -1324
- package/src/components/Select/__tests__/index.spec.tsx +0 -43
- package/src/components/TextInput/__tests__/ErrorOrHelpText.spec.tsx +0 -20
- package/src/components/TextInput/__tests__/FloatingLabel.spec.tsx +0 -193
- package/src/components/TextInput/__tests__/InputComponent.spec.tsx +0 -41
- package/src/components/TextInput/__tests__/InputRow.spec.tsx +0 -233
- package/src/components/TextInput/__tests__/MaxLengthMessage.spec.tsx +0 -17
- package/src/components/TextInput/__tests__/PrefixComponent.spec.tsx +0 -14
- package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +0 -114
- package/src/components/TextInput/__tests__/SuffixComponent.spec.tsx +0 -20
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +0 -583
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +0 -5835
- package/src/components/TextInput/__tests__/getState.spec.tsx +0 -89
- package/src/components/TextInput/__tests__/index.spec.tsx +0 -679
- package/src/components/TimePicker/__tests__/index.spec.tsx +0 -34
- package/src/theme/__tests__/ThemeProvider.spec.tsx +0 -32
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +0 -2042
- package/src/theme/__tests__/index.spec.ts +0 -7
- package/src/utils/__tests__/helpers.spec.ts +0 -92
- package/stats/1.3.0/rn-work-uikit-stats.html +0 -4842
package/lib/index.js
CHANGED
|
@@ -823,6 +823,11 @@ var transformKebabCaseToCamelCase = function transformKebabCaseToCamelCase(strin
|
|
|
823
823
|
return /[a-z]/.test(_char4) ? _char4.toUpperCase() : _char4;
|
|
824
824
|
});
|
|
825
825
|
};
|
|
826
|
+
function assert(condition, message) {
|
|
827
|
+
if (!condition) {
|
|
828
|
+
throw new Error(message);
|
|
829
|
+
}
|
|
830
|
+
}
|
|
826
831
|
|
|
827
832
|
var BottomSheetContext = /*#__PURE__*/React.createContext({});
|
|
828
833
|
|
|
@@ -3802,7 +3807,7 @@ var StyledHeaderWrapper$1 = index$c(reactNative.View)(function (_ref5) {
|
|
|
3802
3807
|
paddingHorizontal: theme.__hd__.bottomSheet.space.headerWrapperHorizontalPadding
|
|
3803
3808
|
};
|
|
3804
3809
|
});
|
|
3805
|
-
var StyledHeader = index$c(reactNative.View)({
|
|
3810
|
+
var StyledHeader$1 = index$c(reactNative.View)({
|
|
3806
3811
|
flex: 1,
|
|
3807
3812
|
justifyContent: 'center'
|
|
3808
3813
|
});
|
|
@@ -6025,7 +6030,7 @@ var getBottomNavigationTheme = function getBottomNavigationTheme(theme) {
|
|
|
6025
6030
|
wrapper: theme.shadows.medium
|
|
6026
6031
|
};
|
|
6027
6032
|
var space = {
|
|
6028
|
-
titleMarginTop: theme.space.
|
|
6033
|
+
titleMarginTop: theme.space.xxsmall
|
|
6029
6034
|
};
|
|
6030
6035
|
return {
|
|
6031
6036
|
colors: colors,
|
|
@@ -6851,19 +6856,27 @@ var getProgressTheme = function getProgressTheme(theme) {
|
|
|
6851
6856
|
complete: theme.colors.primary,
|
|
6852
6857
|
incomplete: theme.colors.archivedSurface,
|
|
6853
6858
|
current: theme.colors.decorativePrimarySurface
|
|
6854
|
-
}
|
|
6859
|
+
},
|
|
6860
|
+
segmentedRemainderBackground: theme.colors.archivedSurface
|
|
6855
6861
|
};
|
|
6856
6862
|
var sizes = {
|
|
6857
6863
|
circleDiameter: theme.sizes['6xlarge'],
|
|
6858
6864
|
circleCompletenessHeight: theme.sizes.small,
|
|
6859
6865
|
barHeight: theme.sizes.small,
|
|
6860
|
-
stepHeight: theme.sizes.small
|
|
6866
|
+
stepHeight: theme.sizes.small,
|
|
6867
|
+
legendWidth: theme.space.small,
|
|
6868
|
+
legendHeight: theme.space.small
|
|
6861
6869
|
};
|
|
6862
6870
|
var radii = {
|
|
6863
|
-
"default": theme.radii.rounded
|
|
6871
|
+
"default": theme.radii.rounded,
|
|
6872
|
+
legendCircle: theme.radii.rounded
|
|
6864
6873
|
};
|
|
6865
6874
|
var space = {
|
|
6866
|
-
stepGap: theme.space.xsmall
|
|
6875
|
+
stepGap: theme.space.xsmall,
|
|
6876
|
+
segmentedHeaderMarginBottom: theme.space.small,
|
|
6877
|
+
legendGap: theme.space.small,
|
|
6878
|
+
legendInnerGap: theme.space.xsmall,
|
|
6879
|
+
segmentedLegendMarginTop: theme.space.small
|
|
6867
6880
|
};
|
|
6868
6881
|
return {
|
|
6869
6882
|
colors: colors,
|
|
@@ -8144,7 +8157,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
|
|
|
8144
8157
|
};
|
|
8145
8158
|
|
|
8146
8159
|
// 🔴 DO NOT EDIT — This file is generated automatically.
|
|
8147
|
-
var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bolt', 'bookmark-added', 'bookmark-checked', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'dot', 'double-buildings', 'edit-template', 'envelope', 'exclude', 'expand-content', 'expense', 'explore_nearby', 'eye-circle', 'eye-invisible', 'eye', 'face-meh', 'face-sad', 'face-smiley', 'feed', 'feedbacks', 'file-certified', 'file-clone', 'file-copy', 'file-csv', 'file-dispose', 'file-doc', 'file-excel', 'file-export', 'file-lock', 'file-pdf', 'file-powerpoint', 'file-search', 'file-secured', 'file-sheets', 'file-slide', 'file-verified', 'file-word', 'file', 'filter', 'folder-user', 'folder', 'format-bold', 'format-heading1', 'format-heading2', 'format-italic', 'format-list-bulleted', 'format-list-numbered', 'format-underlined', 'funnel-filter', 'global-dollar', 'global-pound', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'hero-points', 'home', 'image', 'import', 'incident-siren', 'instapay-daily', 'instapay-now', 'instapay', 'list', 'loading-2', 'loading', 'location-on', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'near-me', 'node', 'open-folder', 'paperclip-vertical', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane-up', 'plane', 'play-arrow', 'play-circle', 'pound-coin-shine', 'pound-sign', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rostering', 'salary-sacrifice', 'save', 'schedule-send', 'schedule', 'search-person', 'search', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-circle', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'surfing', 'survey', 'swag-pillar-benefit', 'swag-pillar-career', 'swag-pillar-money', 'swag-pillar-work', 'swag', 'swipe-right', 'switch', 'tag', 'target', 'teams', 'thumb-down', 'thumb-up', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'academic-hat-outlined', 'accommodation-outlined', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'afternoon-outlined', 'ai-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'application-outlined', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'at-sign', 'auto-graph-outlined', 'automotive-outlined', 'bakery-outlined', 'bar-outlined', 'beauty-outlined', 'beer-outlined', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'bill-management-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bolt-outlined', 'book-outlined', 'bookmark-added-outlined', 'bookmark-checked-outlined', 'bookmark-outlined', 'box-1-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calculator-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'call-outlined', 'call-split-outlined', 'camera-outlined', 'cancel', 'car-forward-outlined', 'cashback-outlined', 'charging-station-outlined', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-in-outlined', 'clock-out-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'coin-super-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-outlined', 'cultural-site-outlined', 'cup-outlined', 'dentistry-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-box-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-box-outlined', 'download-outlined', 'edit-template-outlined', 'electronics-outlined', 'email-outlined', 'end-break-outlined', 'enter-arrow', 'entertainment-outlined', 'envelope-outlined', 'evening-outlined', 'expense-approval-outlined', 'expense-outlined', 'explore-outlined', 'extension-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'fastfood-outlined', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-certified-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-pound-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-statutory-outlined', 'file-verified-outlined', 'filter-outlined', 'fitness-outlined', 'folder-outlined', 'folder-upload-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'goal-outlined', 'graph-outlined', 'grocery-outlined', 'hand-holding-user-outlined', 'handshake-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'job-search-outlined', 'leave-approval-outlined', 'lighting-outlined', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'local_mall_outlined', 'location-on-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'mail-outlined', 'map-outlined', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'morning-outlined', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-outlined', 'park-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'pound-box-outlined', 'pound-card-outlined', 'pound-coin-shine-outlined', 'pound-credit-card-outlined', 'print-outlined', 'propane-tank-outlined', 'qr-code-outlined', 'qualification-outlined', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'restaurant-outlined', 'resume-outlined', 'return-arrow', 'rostering-outlined', 'safety-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined-2', 'share-outlined', 'shield-check-outlined', 'shop-outlined', 'shopping_basket_outlined', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'smart-match-outlined', 'sparkle-outlined', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'start-break-outlined', 'stash-outlined', 'stopwatch-outlined', 'strikethrough', 'styler-outlined', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'tag-outlined', 'target-outlined', 'tennis-outlined', 'thumb-down-outlined', 'thumb-up-outlined', 'ticket-outlined', 'timesheet-outlined', 'timesheets-outlined', 'today-outlined', 'transfer', 'transportation-outlined', 'trash-bin-outlined', 'umbrela-outlined', 'unavailability-outlined', 'unavailable', 'underline', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'volunteer-outlined', 'wallet-outlined', 'wellness-outlined'];
|
|
8160
|
+
var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bolt', 'bookmark-added', 'bookmark-checked', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'dot', 'double-buildings', 'edit-template', 'envelope', 'exclude', 'expand-content', 'expense', 'explore_nearby', 'eye-circle', 'eye-invisible', 'eye', 'face-meh', 'face-sad', 'face-smiley', 'feed', 'feedbacks', 'file-certified', 'file-clone', 'file-copy', 'file-csv', 'file-dispose', 'file-doc', 'file-excel', 'file-export', 'file-lock', 'file-pdf', 'file-powerpoint', 'file-search', 'file-secured', 'file-sheets', 'file-slide', 'file-verified', 'file-word', 'file', 'filter', 'folder-user', 'folder', 'format-bold', 'format-heading1', 'format-heading2', 'format-italic', 'format-list-bulleted', 'format-list-numbered', 'format-underlined', 'funnel-filter', 'global-dollar', 'global-pound', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'hero-points', 'home', 'image', 'import', 'incident-siren', 'instapay-daily', 'instapay-now', 'instapay', 'list', 'loading-2', 'loading', 'location-on', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'near-me', 'node', 'open-folder', 'paperclip-vertical', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane-up', 'plane', 'play-arrow', 'play-circle', 'pound-coin-shine', 'pound-sign', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rocket-launch', 'rostering', 'salary-sacrifice', 'save', 'schedule-send', 'schedule', 'search-person', 'search', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-circle', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'surfing', 'survey', 'swag-pillar-benefit', 'swag-pillar-career', 'swag-pillar-money', 'swag-pillar-work', 'swag', 'swipe-right', 'switch', 'tag', 'target', 'teams', 'thumb-down', 'thumb-up', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'academic-hat-outlined', 'accommodation-outlined', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'afternoon-outlined', 'ai-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'application-outlined', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'at-sign', 'auto-graph-outlined', 'automotive-outlined', 'bakery-outlined', 'bar-outlined', 'beauty-outlined', 'beer-outlined', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'bill-management-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bolt-outlined', 'book-outlined', 'bookmark-added-outlined', 'bookmark-checked-outlined', 'bookmark-outlined', 'box-1-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calculator-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'call-outlined', 'call-split-outlined', 'camera-outlined', 'cancel', 'car-forward-outlined', 'cashback-outlined', 'charging-station-outlined', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-in-outlined', 'clock-out-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'coin-super-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-outlined', 'cultural-site-outlined', 'cup-outlined', 'dentistry-outlined', 'diamond-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-box-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-box-outlined', 'download-outlined', 'edit-template-outlined', 'electronics-outlined', 'email-outlined', 'end-break-outlined', 'enter-arrow', 'entertainment-outlined', 'envelope-outlined', 'evening-outlined', 'expense-approval-outlined', 'expense-outlined', 'explore-outlined', 'extension-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'fastfood-outlined', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-certified-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-pound-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-statutory-outlined', 'file-verified-outlined', 'filter-outlined', 'fitness-outlined', 'folder-outlined', 'folder-upload-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'goal-outlined', 'graph-outlined', 'grocery-outlined', 'hand-holding-user-outlined', 'handshake-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'job-search-outlined', 'leave-approval-outlined', 'lighting-outlined', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'local_mall_outlined', 'location-on-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'mail-outlined', 'map-outlined', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'morning-outlined', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-outlined', 'park-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'pound-box-outlined', 'pound-card-outlined', 'pound-coin-shine-outlined', 'pound-credit-card-outlined', 'print-outlined', 'propane-tank-outlined', 'qr-code-outlined', 'qualification-outlined', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'restaurant-outlined', 'resume-outlined', 'return-arrow', 'rocket-launch-outlined', 'rostering-outlined', 'safety-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined-2', 'share-outlined', 'shield-check-outlined', 'shop-outlined', 'shopping_basket_outlined', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'smart-match-outlined', 'sparkle-outlined', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'start-break-outlined', 'stash-outlined', 'stopwatch-outlined', 'strikethrough', 'styler-outlined', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'tag-outlined', 'target-outlined', 'tennis-outlined', 'thumb-down-outlined', 'thumb-up-outlined', 'ticket-outlined', 'timesheet-outlined', 'timesheets-outlined', 'today-outlined', 'transfer', 'transportation-outlined', 'trash-bin-outlined', 'umbrela-outlined', 'unavailability-outlined', 'unavailable', 'underline', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'volunteer-outlined', 'wallet-outlined', 'wellness-outlined'];
|
|
8148
8161
|
|
|
8149
8162
|
var activate = 59000;
|
|
8150
8163
|
var adjustment = 59003;
|
|
@@ -8200,44 +8213,44 @@ var plane = 59144;
|
|
|
8200
8213
|
var print = 59149;
|
|
8201
8214
|
var reply = 59152;
|
|
8202
8215
|
var reschedule = 59153;
|
|
8203
|
-
var rostering =
|
|
8204
|
-
var save =
|
|
8205
|
-
var schedule$1 =
|
|
8206
|
-
var search =
|
|
8207
|
-
var send =
|
|
8208
|
-
var speaker =
|
|
8209
|
-
var star =
|
|
8210
|
-
var stopwatch =
|
|
8211
|
-
var suitcase =
|
|
8212
|
-
var surfing =
|
|
8213
|
-
var survey =
|
|
8214
|
-
var swag =
|
|
8215
|
-
var tag =
|
|
8216
|
-
var target =
|
|
8217
|
-
var teams =
|
|
8218
|
-
var timesheet =
|
|
8219
|
-
var unlock =
|
|
8220
|
-
var user =
|
|
8221
|
-
var wallet =
|
|
8222
|
-
var warning =
|
|
8223
|
-
var add =
|
|
8224
|
-
var bold =
|
|
8225
|
-
var cancel =
|
|
8226
|
-
var checkmark =
|
|
8227
|
-
var italic =
|
|
8228
|
-
var local_mall_outlined =
|
|
8229
|
-
var number$2 =
|
|
8230
|
-
var percentage =
|
|
8231
|
-
var redeem =
|
|
8232
|
-
var refresh =
|
|
8233
|
-
var remove$1 =
|
|
8234
|
-
var restart =
|
|
8235
|
-
var shopping_basket_outlined =
|
|
8236
|
-
var strikethrough =
|
|
8237
|
-
var sync =
|
|
8238
|
-
var transfer =
|
|
8239
|
-
var unavailable =
|
|
8240
|
-
var underline =
|
|
8216
|
+
var rostering = 59155;
|
|
8217
|
+
var save = 59157;
|
|
8218
|
+
var schedule$1 = 59159;
|
|
8219
|
+
var search = 59161;
|
|
8220
|
+
var send = 59162;
|
|
8221
|
+
var speaker = 59164;
|
|
8222
|
+
var star = 59169;
|
|
8223
|
+
var stopwatch = 59171;
|
|
8224
|
+
var suitcase = 59172;
|
|
8225
|
+
var surfing = 59173;
|
|
8226
|
+
var survey = 59174;
|
|
8227
|
+
var swag = 59179;
|
|
8228
|
+
var tag = 59182;
|
|
8229
|
+
var target = 59183;
|
|
8230
|
+
var teams = 59184;
|
|
8231
|
+
var timesheet = 59187;
|
|
8232
|
+
var unlock = 59190;
|
|
8233
|
+
var user = 59191;
|
|
8234
|
+
var wallet = 59194;
|
|
8235
|
+
var warning = 59195;
|
|
8236
|
+
var add = 59203;
|
|
8237
|
+
var bold = 59233;
|
|
8238
|
+
var cancel = 59250;
|
|
8239
|
+
var checkmark = 59256;
|
|
8240
|
+
var italic = 59354;
|
|
8241
|
+
var local_mall_outlined = 59362;
|
|
8242
|
+
var number$2 = 59385;
|
|
8243
|
+
var percentage = 59391;
|
|
8244
|
+
var redeem = 59405;
|
|
8245
|
+
var refresh = 59406;
|
|
8246
|
+
var remove$1 = 59407;
|
|
8247
|
+
var restart = 59409;
|
|
8248
|
+
var shopping_basket_outlined = 59427;
|
|
8249
|
+
var strikethrough = 59442;
|
|
8250
|
+
var sync = 59448;
|
|
8251
|
+
var transfer = 59458;
|
|
8252
|
+
var unavailable = 59463;
|
|
8253
|
+
var underline = 59464;
|
|
8241
8254
|
var glyphMap = {
|
|
8242
8255
|
activate: activate,
|
|
8243
8256
|
"add-emoji": 59001,
|
|
@@ -8393,326 +8406,329 @@ var glyphMap = {
|
|
|
8393
8406
|
"reply-arrow": 59151,
|
|
8394
8407
|
reply: reply,
|
|
8395
8408
|
reschedule: reschedule,
|
|
8409
|
+
"rocket-launch": 59154,
|
|
8396
8410
|
rostering: rostering,
|
|
8397
|
-
"salary-sacrifice":
|
|
8411
|
+
"salary-sacrifice": 59156,
|
|
8398
8412
|
save: save,
|
|
8399
|
-
"schedule-send":
|
|
8413
|
+
"schedule-send": 59158,
|
|
8400
8414
|
schedule: schedule$1,
|
|
8401
|
-
"search-person":
|
|
8415
|
+
"search-person": 59160,
|
|
8402
8416
|
search: search,
|
|
8403
8417
|
send: send,
|
|
8404
|
-
"speaker-active":
|
|
8418
|
+
"speaker-active": 59163,
|
|
8405
8419
|
speaker: speaker,
|
|
8406
|
-
"star-award":
|
|
8407
|
-
"star-badge":
|
|
8408
|
-
"star-circle":
|
|
8409
|
-
"star-medal":
|
|
8420
|
+
"star-award": 59165,
|
|
8421
|
+
"star-badge": 59166,
|
|
8422
|
+
"star-circle": 59167,
|
|
8423
|
+
"star-medal": 59168,
|
|
8410
8424
|
star: star,
|
|
8411
|
-
"steps-circle":
|
|
8425
|
+
"steps-circle": 59170,
|
|
8412
8426
|
stopwatch: stopwatch,
|
|
8413
8427
|
suitcase: suitcase,
|
|
8414
8428
|
surfing: surfing,
|
|
8415
8429
|
survey: survey,
|
|
8416
|
-
"swag-pillar-benefit":
|
|
8417
|
-
"swag-pillar-career":
|
|
8418
|
-
"swag-pillar-money":
|
|
8419
|
-
"swag-pillar-work":
|
|
8430
|
+
"swag-pillar-benefit": 59175,
|
|
8431
|
+
"swag-pillar-career": 59176,
|
|
8432
|
+
"swag-pillar-money": 59177,
|
|
8433
|
+
"swag-pillar-work": 59178,
|
|
8420
8434
|
swag: swag,
|
|
8421
|
-
"swipe-right":
|
|
8422
|
-
"switch":
|
|
8435
|
+
"swipe-right": 59180,
|
|
8436
|
+
"switch": 59181,
|
|
8423
8437
|
tag: tag,
|
|
8424
8438
|
target: target,
|
|
8425
8439
|
teams: teams,
|
|
8426
|
-
"thumb-down":
|
|
8427
|
-
"thumb-up":
|
|
8440
|
+
"thumb-down": 59185,
|
|
8441
|
+
"thumb-up": 59186,
|
|
8428
8442
|
timesheet: timesheet,
|
|
8429
|
-
"touch-id":
|
|
8430
|
-
"trash-bin":
|
|
8443
|
+
"touch-id": 59188,
|
|
8444
|
+
"trash-bin": 59189,
|
|
8431
8445
|
unlock: unlock,
|
|
8432
8446
|
user: user,
|
|
8433
|
-
"video-1":
|
|
8434
|
-
"video-2":
|
|
8447
|
+
"video-1": 59192,
|
|
8448
|
+
"video-2": 59193,
|
|
8435
8449
|
wallet: wallet,
|
|
8436
8450
|
warning: warning,
|
|
8437
|
-
"academic-hat-outlined":
|
|
8438
|
-
"accommodation-outlined":
|
|
8439
|
-
"activate-outlined":
|
|
8440
|
-
"add-credit-card-outlined":
|
|
8441
|
-
"add-person-outlined":
|
|
8442
|
-
"add-section-outlined":
|
|
8443
|
-
"add-time-outlined":
|
|
8451
|
+
"academic-hat-outlined": 59196,
|
|
8452
|
+
"accommodation-outlined": 59197,
|
|
8453
|
+
"activate-outlined": 59198,
|
|
8454
|
+
"add-credit-card-outlined": 59199,
|
|
8455
|
+
"add-person-outlined": 59200,
|
|
8456
|
+
"add-section-outlined": 59201,
|
|
8457
|
+
"add-time-outlined": 59202,
|
|
8444
8458
|
add: add,
|
|
8445
|
-
"adjustment-outlined":
|
|
8446
|
-
"afternoon-outlined":
|
|
8447
|
-
"ai-outlined":
|
|
8448
|
-
"alignment-2-outlined":
|
|
8449
|
-
"alignment-outlined":
|
|
8450
|
-
"all-caps":
|
|
8451
|
-
"application-outlined":
|
|
8452
|
-
"arrow-down":
|
|
8453
|
-
"arrow-downwards":
|
|
8454
|
-
"arrow-left":
|
|
8455
|
-
"arrow-leftwards":
|
|
8456
|
-
"arrow-right":
|
|
8457
|
-
"arrow-rightwards":
|
|
8458
|
-
"arrow-up":
|
|
8459
|
-
"arrow-upwards":
|
|
8460
|
-
"article-outlined":
|
|
8461
|
-
"at-sign":
|
|
8462
|
-
"auto-graph-outlined":
|
|
8463
|
-
"automotive-outlined":
|
|
8464
|
-
"bakery-outlined":
|
|
8465
|
-
"bar-outlined":
|
|
8466
|
-
"beauty-outlined":
|
|
8467
|
-
"beer-outlined":
|
|
8468
|
-
"bell-active-outlined":
|
|
8469
|
-
"bell-outlined":
|
|
8470
|
-
"bell-slash-outlined":
|
|
8471
|
-
"bill-management-outlined":
|
|
8472
|
-
"billing-outlined":
|
|
8473
|
-
"body-outlined":
|
|
8459
|
+
"adjustment-outlined": 59204,
|
|
8460
|
+
"afternoon-outlined": 59205,
|
|
8461
|
+
"ai-outlined": 59206,
|
|
8462
|
+
"alignment-2-outlined": 59207,
|
|
8463
|
+
"alignment-outlined": 59208,
|
|
8464
|
+
"all-caps": 59209,
|
|
8465
|
+
"application-outlined": 59210,
|
|
8466
|
+
"arrow-down": 59211,
|
|
8467
|
+
"arrow-downwards": 59212,
|
|
8468
|
+
"arrow-left": 59213,
|
|
8469
|
+
"arrow-leftwards": 59214,
|
|
8470
|
+
"arrow-right": 59215,
|
|
8471
|
+
"arrow-rightwards": 59216,
|
|
8472
|
+
"arrow-up": 59217,
|
|
8473
|
+
"arrow-upwards": 59218,
|
|
8474
|
+
"article-outlined": 59219,
|
|
8475
|
+
"at-sign": 59220,
|
|
8476
|
+
"auto-graph-outlined": 59221,
|
|
8477
|
+
"automotive-outlined": 59222,
|
|
8478
|
+
"bakery-outlined": 59223,
|
|
8479
|
+
"bar-outlined": 59224,
|
|
8480
|
+
"beauty-outlined": 59225,
|
|
8481
|
+
"beer-outlined": 59226,
|
|
8482
|
+
"bell-active-outlined": 59227,
|
|
8483
|
+
"bell-outlined": 59228,
|
|
8484
|
+
"bell-slash-outlined": 59229,
|
|
8485
|
+
"bill-management-outlined": 59230,
|
|
8486
|
+
"billing-outlined": 59231,
|
|
8487
|
+
"body-outlined": 59232,
|
|
8474
8488
|
bold: bold,
|
|
8475
|
-
"bolt-outlined":
|
|
8476
|
-
"book-outlined":
|
|
8477
|
-
"bookmark-added-outlined":
|
|
8478
|
-
"bookmark-checked-outlined":
|
|
8479
|
-
"bookmark-outlined":
|
|
8480
|
-
"box-1-outlined":
|
|
8481
|
-
"box-check-outlined":
|
|
8482
|
-
"box-outlined":
|
|
8483
|
-
"bullet-points":
|
|
8484
|
-
"cake-outlined":
|
|
8485
|
-
"calculator-outlined":
|
|
8486
|
-
"calendar-dates-outlined":
|
|
8487
|
-
"calendar-star-outlined":
|
|
8488
|
-
"call-outlined":
|
|
8489
|
-
"call-split-outlined":
|
|
8490
|
-
"camera-outlined":
|
|
8489
|
+
"bolt-outlined": 59234,
|
|
8490
|
+
"book-outlined": 59235,
|
|
8491
|
+
"bookmark-added-outlined": 59236,
|
|
8492
|
+
"bookmark-checked-outlined": 59237,
|
|
8493
|
+
"bookmark-outlined": 59238,
|
|
8494
|
+
"box-1-outlined": 59239,
|
|
8495
|
+
"box-check-outlined": 59240,
|
|
8496
|
+
"box-outlined": 59241,
|
|
8497
|
+
"bullet-points": 59242,
|
|
8498
|
+
"cake-outlined": 59243,
|
|
8499
|
+
"calculator-outlined": 59244,
|
|
8500
|
+
"calendar-dates-outlined": 59245,
|
|
8501
|
+
"calendar-star-outlined": 59246,
|
|
8502
|
+
"call-outlined": 59247,
|
|
8503
|
+
"call-split-outlined": 59248,
|
|
8504
|
+
"camera-outlined": 59249,
|
|
8491
8505
|
cancel: cancel,
|
|
8492
|
-
"car-forward-outlined":
|
|
8493
|
-
"cashback-outlined":
|
|
8494
|
-
"charging-station-outlined":
|
|
8495
|
-
"chat-bubble-outlined":
|
|
8496
|
-
"chat-unread-outlined":
|
|
8506
|
+
"car-forward-outlined": 59251,
|
|
8507
|
+
"cashback-outlined": 59252,
|
|
8508
|
+
"charging-station-outlined": 59253,
|
|
8509
|
+
"chat-bubble-outlined": 59254,
|
|
8510
|
+
"chat-unread-outlined": 59255,
|
|
8497
8511
|
checkmark: checkmark,
|
|
8498
|
-
"circle-add-outlined":
|
|
8499
|
-
"circle-cancel-outlined":
|
|
8500
|
-
"circle-down-outlined":
|
|
8501
|
-
"circle-info-outlined":
|
|
8502
|
-
"circle-left-outlined":
|
|
8503
|
-
"circle-ok-outlined":
|
|
8504
|
-
"circle-question-outlined":
|
|
8505
|
-
"circle-remove-outlined":
|
|
8506
|
-
"circle-right-outlined":
|
|
8507
|
-
"circle-up-outlined":
|
|
8508
|
-
"circle-warning-outlined":
|
|
8509
|
-
"clock-2-outlined":
|
|
8510
|
-
"clock-in-outlined":
|
|
8511
|
-
"clock-out-outlined":
|
|
8512
|
-
"clock-outlined":
|
|
8513
|
-
"cog-outlined":
|
|
8514
|
-
"coin-outlined":
|
|
8515
|
-
"coin-super-outlined":
|
|
8516
|
-
"comment-outlined":
|
|
8517
|
-
"contacts-outlined":
|
|
8518
|
-
"contacts-user-outlined":
|
|
8519
|
-
"credit-card-outlined":
|
|
8520
|
-
"cultural-site-outlined":
|
|
8521
|
-
"cup-outlined":
|
|
8522
|
-
"dentistry-outlined":
|
|
8523
|
-
"
|
|
8524
|
-
"
|
|
8525
|
-
"
|
|
8526
|
-
"
|
|
8527
|
-
"dollar-
|
|
8528
|
-
"dollar-
|
|
8529
|
-
"dollar-
|
|
8530
|
-
"dollar-
|
|
8531
|
-
"
|
|
8532
|
-
"double-
|
|
8533
|
-
"double-
|
|
8534
|
-
"
|
|
8535
|
-
"download-outlined":
|
|
8536
|
-
"
|
|
8537
|
-
"
|
|
8538
|
-
"
|
|
8539
|
-
"
|
|
8540
|
-
"
|
|
8541
|
-
"
|
|
8542
|
-
"
|
|
8543
|
-
"
|
|
8544
|
-
"
|
|
8545
|
-
"expense-outlined":
|
|
8546
|
-
"
|
|
8547
|
-
"
|
|
8548
|
-
"
|
|
8549
|
-
"
|
|
8550
|
-
"eye-outlined":
|
|
8551
|
-
"
|
|
8552
|
-
"face-
|
|
8553
|
-
"face-
|
|
8554
|
-
"face-
|
|
8555
|
-
"face-
|
|
8556
|
-
"
|
|
8557
|
-
"
|
|
8558
|
-
"
|
|
8559
|
-
"file-
|
|
8560
|
-
"file-
|
|
8561
|
-
"file-
|
|
8562
|
-
"file-
|
|
8563
|
-
"file-dollar-outlined":
|
|
8564
|
-
"file-
|
|
8565
|
-
"file-
|
|
8566
|
-
"file-
|
|
8567
|
-
"file-outlined":
|
|
8568
|
-
"file-
|
|
8569
|
-
"file-
|
|
8570
|
-
"file-
|
|
8571
|
-
"file-
|
|
8572
|
-
"file-
|
|
8573
|
-
"
|
|
8574
|
-
"
|
|
8575
|
-
"
|
|
8576
|
-
"folder-
|
|
8577
|
-
"folder-
|
|
8578
|
-
"
|
|
8579
|
-
"
|
|
8580
|
-
"
|
|
8581
|
-
"
|
|
8582
|
-
"
|
|
8583
|
-
"
|
|
8584
|
-
"
|
|
8585
|
-
"
|
|
8586
|
-
"
|
|
8587
|
-
"
|
|
8588
|
-
"
|
|
8589
|
-
"home-outlined":
|
|
8590
|
-
"
|
|
8591
|
-
"
|
|
8592
|
-
"
|
|
8593
|
-
"
|
|
8512
|
+
"circle-add-outlined": 59257,
|
|
8513
|
+
"circle-cancel-outlined": 59258,
|
|
8514
|
+
"circle-down-outlined": 59259,
|
|
8515
|
+
"circle-info-outlined": 59260,
|
|
8516
|
+
"circle-left-outlined": 59261,
|
|
8517
|
+
"circle-ok-outlined": 59262,
|
|
8518
|
+
"circle-question-outlined": 59263,
|
|
8519
|
+
"circle-remove-outlined": 59264,
|
|
8520
|
+
"circle-right-outlined": 59265,
|
|
8521
|
+
"circle-up-outlined": 59266,
|
|
8522
|
+
"circle-warning-outlined": 59267,
|
|
8523
|
+
"clock-2-outlined": 59268,
|
|
8524
|
+
"clock-in-outlined": 59269,
|
|
8525
|
+
"clock-out-outlined": 59270,
|
|
8526
|
+
"clock-outlined": 59271,
|
|
8527
|
+
"cog-outlined": 59272,
|
|
8528
|
+
"coin-outlined": 59273,
|
|
8529
|
+
"coin-super-outlined": 59274,
|
|
8530
|
+
"comment-outlined": 59275,
|
|
8531
|
+
"contacts-outlined": 59276,
|
|
8532
|
+
"contacts-user-outlined": 59277,
|
|
8533
|
+
"credit-card-outlined": 59278,
|
|
8534
|
+
"cultural-site-outlined": 59279,
|
|
8535
|
+
"cup-outlined": 59280,
|
|
8536
|
+
"dentistry-outlined": 59281,
|
|
8537
|
+
"diamond-outlined": 59282,
|
|
8538
|
+
"direction-arrows-outlined": 59283,
|
|
8539
|
+
"directory-outlined": 59284,
|
|
8540
|
+
"document-outlined": 59285,
|
|
8541
|
+
"dollar-box-outlined": 59286,
|
|
8542
|
+
"dollar-card-outlined": 59287,
|
|
8543
|
+
"dollar-coin-shine-outlined": 59288,
|
|
8544
|
+
"dollar-credit-card-outlined": 59289,
|
|
8545
|
+
"dollar-sign": 59290,
|
|
8546
|
+
"double-buildings-outlined": 59291,
|
|
8547
|
+
"double-left-arrows": 59292,
|
|
8548
|
+
"double-right-arrows": 59293,
|
|
8549
|
+
"download-box-outlined": 59294,
|
|
8550
|
+
"download-outlined": 59295,
|
|
8551
|
+
"edit-template-outlined": 59296,
|
|
8552
|
+
"electronics-outlined": 59297,
|
|
8553
|
+
"email-outlined": 59298,
|
|
8554
|
+
"end-break-outlined": 59299,
|
|
8555
|
+
"enter-arrow": 59300,
|
|
8556
|
+
"entertainment-outlined": 59301,
|
|
8557
|
+
"envelope-outlined": 59302,
|
|
8558
|
+
"evening-outlined": 59303,
|
|
8559
|
+
"expense-approval-outlined": 59304,
|
|
8560
|
+
"expense-outlined": 59305,
|
|
8561
|
+
"explore-outlined": 59306,
|
|
8562
|
+
"extension-outlined": 59307,
|
|
8563
|
+
"external-link": 59308,
|
|
8564
|
+
"eye-invisible-outlined": 59309,
|
|
8565
|
+
"eye-outlined": 59310,
|
|
8566
|
+
"face-id": 59311,
|
|
8567
|
+
"face-meh-outlined": 59312,
|
|
8568
|
+
"face-open-smiley-outlined": 59313,
|
|
8569
|
+
"face-sad-outlined": 59314,
|
|
8570
|
+
"face-smiley-outlined": 59315,
|
|
8571
|
+
"fastfood-outlined": 59316,
|
|
8572
|
+
"feed-outlined": 59317,
|
|
8573
|
+
"file-certified-outlined": 59318,
|
|
8574
|
+
"file-clone-outlined": 59319,
|
|
8575
|
+
"file-copy-outlined": 59320,
|
|
8576
|
+
"file-dispose-outlined": 59321,
|
|
8577
|
+
"file-dollar-certified-outlined": 59322,
|
|
8578
|
+
"file-dollar-outlined": 59323,
|
|
8579
|
+
"file-download-outlined": 59324,
|
|
8580
|
+
"file-export-outlined": 59325,
|
|
8581
|
+
"file-lock-outlined": 59326,
|
|
8582
|
+
"file-outlined": 59327,
|
|
8583
|
+
"file-pound-outlined": 59328,
|
|
8584
|
+
"file-search-outlined": 59329,
|
|
8585
|
+
"file-secured-outlined": 59330,
|
|
8586
|
+
"file-statutory-outlined": 59331,
|
|
8587
|
+
"file-verified-outlined": 59332,
|
|
8588
|
+
"filter-outlined": 59333,
|
|
8589
|
+
"fitness-outlined": 59334,
|
|
8590
|
+
"folder-outlined": 59335,
|
|
8591
|
+
"folder-upload-outlined": 59336,
|
|
8592
|
+
"folder-user-outlined": 59337,
|
|
8593
|
+
"form-outlined": 59338,
|
|
8594
|
+
"funnel-filter-outline": 59339,
|
|
8595
|
+
"goal-outlined": 59340,
|
|
8596
|
+
"graph-outlined": 59341,
|
|
8597
|
+
"grocery-outlined": 59342,
|
|
8598
|
+
"hand-holding-user-outlined": 59343,
|
|
8599
|
+
"handshake-outlined": 59344,
|
|
8600
|
+
"happy-sun-outlined": 59345,
|
|
8601
|
+
"health-bag-outlined": 59346,
|
|
8602
|
+
"heart-outlined": 59347,
|
|
8603
|
+
"home-active-outlined": 59348,
|
|
8604
|
+
"home-outlined": 59349,
|
|
8605
|
+
"id-card-outlined": 59350,
|
|
8606
|
+
"image-outlined": 59351,
|
|
8607
|
+
"import-outlined": 59352,
|
|
8608
|
+
"instapay-outlined": 59353,
|
|
8594
8609
|
italic: italic,
|
|
8595
|
-
"job-search-outlined":
|
|
8596
|
-
"leave-approval-outlined":
|
|
8597
|
-
"lighting-outlined":
|
|
8598
|
-
"link-1":
|
|
8599
|
-
"link-2":
|
|
8600
|
-
"list-outlined":
|
|
8601
|
-
"live-help-outlined":
|
|
8610
|
+
"job-search-outlined": 59355,
|
|
8611
|
+
"leave-approval-outlined": 59356,
|
|
8612
|
+
"lighting-outlined": 59357,
|
|
8613
|
+
"link-1": 59358,
|
|
8614
|
+
"link-2": 59359,
|
|
8615
|
+
"list-outlined": 59360,
|
|
8616
|
+
"live-help-outlined": 59361,
|
|
8602
8617
|
local_mall_outlined: local_mall_outlined,
|
|
8603
|
-
"location-on-outlined":
|
|
8604
|
-
"location-outlined":
|
|
8605
|
-
"lock-outlined":
|
|
8606
|
-
"locked-file-outlined":
|
|
8607
|
-
"log-out":
|
|
8608
|
-
"mail-outlined":
|
|
8609
|
-
"map-outlined":
|
|
8610
|
-
"media-content-outlined":
|
|
8611
|
-
"menu-close":
|
|
8612
|
-
"menu-expand":
|
|
8613
|
-
"menu-fold-outlined":
|
|
8614
|
-
"menu-unfold-outlined":
|
|
8615
|
-
"moneybag-outlined":
|
|
8616
|
-
"moon-outlined":
|
|
8617
|
-
"more-horizontal":
|
|
8618
|
-
"more-vertical":
|
|
8619
|
-
"morning-outlined":
|
|
8620
|
-
"multiple-folders-outlined":
|
|
8621
|
-
"multiple-users-outlined":
|
|
8622
|
-
"near-me-outlined":
|
|
8623
|
-
"node-outlined":
|
|
8624
|
-
"number-points":
|
|
8618
|
+
"location-on-outlined": 59363,
|
|
8619
|
+
"location-outlined": 59364,
|
|
8620
|
+
"lock-outlined": 59365,
|
|
8621
|
+
"locked-file-outlined": 59366,
|
|
8622
|
+
"log-out": 59367,
|
|
8623
|
+
"mail-outlined": 59368,
|
|
8624
|
+
"map-outlined": 59369,
|
|
8625
|
+
"media-content-outlined": 59370,
|
|
8626
|
+
"menu-close": 59371,
|
|
8627
|
+
"menu-expand": 59372,
|
|
8628
|
+
"menu-fold-outlined": 59373,
|
|
8629
|
+
"menu-unfold-outlined": 59374,
|
|
8630
|
+
"moneybag-outlined": 59375,
|
|
8631
|
+
"moon-outlined": 59376,
|
|
8632
|
+
"more-horizontal": 59377,
|
|
8633
|
+
"more-vertical": 59378,
|
|
8634
|
+
"morning-outlined": 59379,
|
|
8635
|
+
"multiple-folders-outlined": 59380,
|
|
8636
|
+
"multiple-users-outlined": 59381,
|
|
8637
|
+
"near-me-outlined": 59382,
|
|
8638
|
+
"node-outlined": 59383,
|
|
8639
|
+
"number-points": 59384,
|
|
8625
8640
|
number: number$2,
|
|
8626
|
-
"overview-outlined":
|
|
8627
|
-
"park-outlined":
|
|
8628
|
-
"payment-summary-outlined":
|
|
8629
|
-
"payslip-outlined":
|
|
8630
|
-
"pencil-outlined":
|
|
8641
|
+
"overview-outlined": 59386,
|
|
8642
|
+
"park-outlined": 59387,
|
|
8643
|
+
"payment-summary-outlined": 59388,
|
|
8644
|
+
"payslip-outlined": 59389,
|
|
8645
|
+
"pencil-outlined": 59390,
|
|
8631
8646
|
percentage: percentage,
|
|
8632
|
-
"phone-outlined":
|
|
8633
|
-
"piggy-bank-outlined":
|
|
8634
|
-
"plane-outlined":
|
|
8635
|
-
"play-circle-outlined":
|
|
8636
|
-
"pound-box-outlined":
|
|
8637
|
-
"pound-card-outlined":
|
|
8638
|
-
"pound-coin-shine-outlined":
|
|
8639
|
-
"pound-credit-card-outlined":
|
|
8640
|
-
"print-outlined":
|
|
8641
|
-
"propane-tank-outlined":
|
|
8642
|
-
"qr-code-outlined":
|
|
8643
|
-
"qualification-outlined":
|
|
8644
|
-
"re-assign":
|
|
8647
|
+
"phone-outlined": 59392,
|
|
8648
|
+
"piggy-bank-outlined": 59393,
|
|
8649
|
+
"plane-outlined": 59394,
|
|
8650
|
+
"play-circle-outlined": 59395,
|
|
8651
|
+
"pound-box-outlined": 59396,
|
|
8652
|
+
"pound-card-outlined": 59397,
|
|
8653
|
+
"pound-coin-shine-outlined": 59398,
|
|
8654
|
+
"pound-credit-card-outlined": 59399,
|
|
8655
|
+
"print-outlined": 59400,
|
|
8656
|
+
"propane-tank-outlined": 59401,
|
|
8657
|
+
"qr-code-outlined": 59402,
|
|
8658
|
+
"qualification-outlined": 59403,
|
|
8659
|
+
"re-assign": 59404,
|
|
8645
8660
|
redeem: redeem,
|
|
8646
8661
|
refresh: refresh,
|
|
8647
8662
|
remove: remove$1,
|
|
8648
|
-
"reply-outlined":
|
|
8663
|
+
"reply-outlined": 59408,
|
|
8649
8664
|
restart: restart,
|
|
8650
|
-
"restaurant-outlined":
|
|
8651
|
-
"resume-outlined":
|
|
8652
|
-
"return-arrow":
|
|
8653
|
-
"
|
|
8654
|
-
"
|
|
8655
|
-
"
|
|
8656
|
-
"
|
|
8657
|
-
"
|
|
8658
|
-
"search-
|
|
8659
|
-
"
|
|
8660
|
-
"
|
|
8661
|
-
"share-
|
|
8662
|
-
"share-
|
|
8663
|
-
"share-outlined":
|
|
8664
|
-
"
|
|
8665
|
-
"
|
|
8665
|
+
"restaurant-outlined": 59410,
|
|
8666
|
+
"resume-outlined": 59411,
|
|
8667
|
+
"return-arrow": 59412,
|
|
8668
|
+
"rocket-launch-outlined": 59413,
|
|
8669
|
+
"rostering-outlined": 59414,
|
|
8670
|
+
"safety-outlined": 59415,
|
|
8671
|
+
"save-outlined": 59416,
|
|
8672
|
+
"schedule-outlined": 59417,
|
|
8673
|
+
"search-outlined": 59418,
|
|
8674
|
+
"search-secured-outlined": 59419,
|
|
8675
|
+
"send-outlined": 59420,
|
|
8676
|
+
"share-1": 59421,
|
|
8677
|
+
"share-2": 59422,
|
|
8678
|
+
"share-outlined-2": 59423,
|
|
8679
|
+
"share-outlined": 59424,
|
|
8680
|
+
"shield-check-outlined": 59425,
|
|
8681
|
+
"shop-outlined": 59426,
|
|
8666
8682
|
shopping_basket_outlined: shopping_basket_outlined,
|
|
8667
|
-
"show-chart-outlined":
|
|
8668
|
-
"single-down-arrow":
|
|
8669
|
-
"single-left-arrow":
|
|
8670
|
-
"single-right-arrow":
|
|
8671
|
-
"single-up-arrow":
|
|
8672
|
-
"smart-match-outlined":
|
|
8673
|
-
"sparkle-outlined":
|
|
8674
|
-
"speaker-active-outlined":
|
|
8675
|
-
"speaker-outlined":
|
|
8676
|
-
"star-circle-outlined":
|
|
8677
|
-
"star-outlined":
|
|
8678
|
-
"start-break-outlined":
|
|
8679
|
-
"stash-outlined":
|
|
8680
|
-
"stopwatch-outlined":
|
|
8683
|
+
"show-chart-outlined": 59428,
|
|
8684
|
+
"single-down-arrow": 59429,
|
|
8685
|
+
"single-left-arrow": 59430,
|
|
8686
|
+
"single-right-arrow": 59431,
|
|
8687
|
+
"single-up-arrow": 59432,
|
|
8688
|
+
"smart-match-outlined": 59433,
|
|
8689
|
+
"sparkle-outlined": 59434,
|
|
8690
|
+
"speaker-active-outlined": 59435,
|
|
8691
|
+
"speaker-outlined": 59436,
|
|
8692
|
+
"star-circle-outlined": 59437,
|
|
8693
|
+
"star-outlined": 59438,
|
|
8694
|
+
"start-break-outlined": 59439,
|
|
8695
|
+
"stash-outlined": 59440,
|
|
8696
|
+
"stopwatch-outlined": 59441,
|
|
8681
8697
|
strikethrough: strikethrough,
|
|
8682
|
-
"styler-outlined":
|
|
8683
|
-
"suitcase-clock-outlined":
|
|
8684
|
-
"suitcase-outlined":
|
|
8685
|
-
"survey-outlined":
|
|
8686
|
-
"switch-outlined":
|
|
8698
|
+
"styler-outlined": 59443,
|
|
8699
|
+
"suitcase-clock-outlined": 59444,
|
|
8700
|
+
"suitcase-outlined": 59445,
|
|
8701
|
+
"survey-outlined": 59446,
|
|
8702
|
+
"switch-outlined": 59447,
|
|
8687
8703
|
sync: sync,
|
|
8688
|
-
"tag-outlined":
|
|
8689
|
-
"target-outlined":
|
|
8690
|
-
"tennis-outlined":
|
|
8691
|
-
"thumb-down-outlined":
|
|
8692
|
-
"thumb-up-outlined":
|
|
8693
|
-
"ticket-outlined":
|
|
8694
|
-
"timesheet-outlined":
|
|
8695
|
-
"timesheets-outlined":
|
|
8696
|
-
"today-outlined":
|
|
8704
|
+
"tag-outlined": 59449,
|
|
8705
|
+
"target-outlined": 59450,
|
|
8706
|
+
"tennis-outlined": 59451,
|
|
8707
|
+
"thumb-down-outlined": 59452,
|
|
8708
|
+
"thumb-up-outlined": 59453,
|
|
8709
|
+
"ticket-outlined": 59454,
|
|
8710
|
+
"timesheet-outlined": 59455,
|
|
8711
|
+
"timesheets-outlined": 59456,
|
|
8712
|
+
"today-outlined": 59457,
|
|
8697
8713
|
transfer: transfer,
|
|
8698
|
-
"transportation-outlined":
|
|
8699
|
-
"trash-bin-outlined":
|
|
8700
|
-
"umbrela-outlined":
|
|
8701
|
-
"unavailability-outlined":
|
|
8714
|
+
"transportation-outlined": 59459,
|
|
8715
|
+
"trash-bin-outlined": 59460,
|
|
8716
|
+
"umbrela-outlined": 59461,
|
|
8717
|
+
"unavailability-outlined": 59462,
|
|
8702
8718
|
unavailable: unavailable,
|
|
8703
8719
|
underline: underline,
|
|
8704
|
-
"union-outlined":
|
|
8705
|
-
"unlock-outlined":
|
|
8706
|
-
"upload-outlined":
|
|
8707
|
-
"user-circle-outlined":
|
|
8708
|
-
"user-gear-outlined":
|
|
8709
|
-
"user-outlined":
|
|
8710
|
-
"user-rectangle-outlined":
|
|
8711
|
-
"video-1-outlined":
|
|
8712
|
-
"video-2-outlined":
|
|
8713
|
-
"volunteer-outlined":
|
|
8714
|
-
"wallet-outlined":
|
|
8715
|
-
"wellness-outlined":
|
|
8720
|
+
"union-outlined": 59465,
|
|
8721
|
+
"unlock-outlined": 59466,
|
|
8722
|
+
"upload-outlined": 59467,
|
|
8723
|
+
"user-circle-outlined": 59468,
|
|
8724
|
+
"user-gear-outlined": 59469,
|
|
8725
|
+
"user-outlined": 59470,
|
|
8726
|
+
"user-rectangle-outlined": 59471,
|
|
8727
|
+
"video-1-outlined": 59472,
|
|
8728
|
+
"video-2-outlined": 59473,
|
|
8729
|
+
"volunteer-outlined": 59474,
|
|
8730
|
+
"wallet-outlined": 59475,
|
|
8731
|
+
"wellness-outlined": 59476
|
|
8716
8732
|
};
|
|
8717
8733
|
|
|
8718
8734
|
var HeroIcon = reactNativeVectorIcons.createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
|
|
@@ -9624,7 +9640,7 @@ var Header = function Header(_ref) {
|
|
|
9624
9640
|
_ref$variant = _ref.variant,
|
|
9625
9641
|
variant = _ref$variant === void 0 ? 'fixed' : _ref$variant;
|
|
9626
9642
|
var theme = useTheme();
|
|
9627
|
-
return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, null, /*#__PURE__*/React__namespace.default.createElement(StyledHeaderWrapper$1, null, typeof content === 'string' ? /*#__PURE__*/React__namespace.default.createElement(StyledHeader, null, /*#__PURE__*/React__namespace.default.createElement(Typography.Body, {
|
|
9643
|
+
return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, null, /*#__PURE__*/React__namespace.default.createElement(StyledHeaderWrapper$1, null, typeof content === 'string' ? /*#__PURE__*/React__namespace.default.createElement(StyledHeader$1, null, /*#__PURE__*/React__namespace.default.createElement(Typography.Body, {
|
|
9628
9644
|
variant: "regular-bold"
|
|
9629
9645
|
}, content)) : /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
|
|
9630
9646
|
style: {
|
|
@@ -16478,7 +16494,7 @@ var BottomBarItem = index$c(reactNative.View)({
|
|
|
16478
16494
|
flex: 1,
|
|
16479
16495
|
alignItems: 'center'
|
|
16480
16496
|
});
|
|
16481
|
-
var StyledBottomBarText = index$c(Typography.
|
|
16497
|
+
var StyledBottomBarText = index$c(Typography.Label)(function (_ref3) {
|
|
16482
16498
|
var theme = _ref3.theme;
|
|
16483
16499
|
return {
|
|
16484
16500
|
marginTop: theme.__hd__.bottomNavigation.space.titleMarginTop
|
|
@@ -16554,11 +16570,10 @@ var BottomNavigation = function BottomNavigation(_ref) {
|
|
|
16554
16570
|
testID: testID
|
|
16555
16571
|
}, /*#__PURE__*/React__namespace.default.createElement(BottomBarItem, null, /*#__PURE__*/React__namespace.default.createElement(Icon, {
|
|
16556
16572
|
icon: active ? icon : inactiveIcon,
|
|
16557
|
-
intent: active ? 'primary' : '
|
|
16573
|
+
intent: active ? 'primary' : 'muted',
|
|
16558
16574
|
testID: "hero-icon-".concat(icon)
|
|
16559
16575
|
}), !!title && /*#__PURE__*/React__namespace.default.createElement(StyledBottomBarText, {
|
|
16560
|
-
|
|
16561
|
-
intent: active ? 'primary' : 'body',
|
|
16576
|
+
intent: active ? 'primary' : 'muted',
|
|
16562
16577
|
numberOfLines: 1
|
|
16563
16578
|
}, title)));
|
|
16564
16579
|
}))));
|
|
@@ -24308,15 +24323,16 @@ var Portal$1 = Object.assign(Portal, {
|
|
|
24308
24323
|
Host: PortalHost
|
|
24309
24324
|
});
|
|
24310
24325
|
|
|
24311
|
-
var _excluded$o = ["visible"];
|
|
24312
24326
|
var DEFAULT_BACKDROP_OPACITY = 0.4;
|
|
24313
24327
|
var DEFAULT_ANIMATION_CONFIG = {
|
|
24314
24328
|
easing: reactNative.Easing.inOut(reactNative.Easing.cubic),
|
|
24315
24329
|
useNativeDriver: reactNative.Platform.OS !== 'web',
|
|
24316
24330
|
duration: 400
|
|
24317
24331
|
};
|
|
24318
|
-
var Modal =
|
|
24332
|
+
var Modal = function Modal(_ref) {
|
|
24319
24333
|
var children = _ref.children,
|
|
24334
|
+
_ref$visible = _ref.visible,
|
|
24335
|
+
visible = _ref$visible === void 0 ? true : _ref$visible,
|
|
24320
24336
|
onShow = _ref.onShow,
|
|
24321
24337
|
onRequestClose = _ref.onRequestClose,
|
|
24322
24338
|
testID = _ref.testID,
|
|
@@ -24328,59 +24344,60 @@ var Modal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
24328
24344
|
var theme = useTheme();
|
|
24329
24345
|
var animatedBackdropValue = React.useRef(new reactNative.Animated.Value(0)).current;
|
|
24330
24346
|
var animatedModalValue = React.useRef(new reactNative.Animated.Value(0)).current;
|
|
24347
|
+
var _useState = React.useState(visible),
|
|
24348
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
24349
|
+
mounted = _useState2[0],
|
|
24350
|
+
setMounted = _useState2[1];
|
|
24351
|
+
var previousVisible = React.useRef(false);
|
|
24331
24352
|
|
|
24332
|
-
//
|
|
24333
|
-
|
|
24334
|
-
|
|
24335
|
-
|
|
24336
|
-
|
|
24337
|
-
|
|
24338
|
-
|
|
24339
|
-
|
|
24340
|
-
|
|
24341
|
-
|
|
24342
|
-
|
|
24343
|
-
|
|
24344
|
-
|
|
24345
|
-
|
|
24346
|
-
|
|
24347
|
-
}, DEFAULT_ANIMATION_CONFIG)).start(callback);
|
|
24348
|
-
} else {
|
|
24349
|
-
callback === null || callback === void 0 || callback();
|
|
24350
|
-
}
|
|
24351
|
-
}, [animationType, onShow, transparent]);
|
|
24352
|
-
var backdropOpacityAnimation = animatedBackdropValue.interpolate({
|
|
24353
|
-
inputRange: [0, 1],
|
|
24354
|
-
outputRange: [0, DEFAULT_BACKDROP_OPACITY]
|
|
24355
|
-
});
|
|
24356
|
-
var modalAnimation = animatedModalValue.interpolate({
|
|
24357
|
-
inputRange: [0, 1],
|
|
24358
|
-
outputRange: animationType === 'slide' ? [reactNative.Dimensions.get('window').height, 0] : [0, 1]
|
|
24359
|
-
});
|
|
24360
|
-
React.useImperativeHandle(ref, function () {
|
|
24361
|
-
return {
|
|
24362
|
-
show: function show() {
|
|
24363
|
-
animateBackdropAndContent({
|
|
24364
|
-
toValue: 1,
|
|
24365
|
-
callback: onShow
|
|
24353
|
+
// Animate in/out based on visible prop
|
|
24354
|
+
React.useEffect(function () {
|
|
24355
|
+
if (visible && !previousVisible.current) {
|
|
24356
|
+
// Show animation
|
|
24357
|
+
setMounted(true);
|
|
24358
|
+
if (animationType !== 'none') {
|
|
24359
|
+
if (!transparent) {
|
|
24360
|
+
reactNative.Animated.timing(animatedBackdropValue, _objectSpread2({
|
|
24361
|
+
toValue: 1
|
|
24362
|
+
}, DEFAULT_ANIMATION_CONFIG)).start();
|
|
24363
|
+
}
|
|
24364
|
+
reactNative.Animated.timing(animatedModalValue, _objectSpread2({
|
|
24365
|
+
toValue: 1
|
|
24366
|
+
}, DEFAULT_ANIMATION_CONFIG)).start(function () {
|
|
24367
|
+
onShow === null || onShow === void 0 || onShow();
|
|
24366
24368
|
});
|
|
24367
|
-
}
|
|
24368
|
-
|
|
24369
|
-
|
|
24370
|
-
|
|
24371
|
-
|
|
24372
|
-
|
|
24373
|
-
|
|
24374
|
-
|
|
24375
|
-
|
|
24369
|
+
} else {
|
|
24370
|
+
onShow === null || onShow === void 0 || onShow();
|
|
24371
|
+
}
|
|
24372
|
+
} else if (!visible && previousVisible.current) {
|
|
24373
|
+
// Hide animation
|
|
24374
|
+
if (animationType !== 'none') {
|
|
24375
|
+
if (!transparent) {
|
|
24376
|
+
reactNative.Animated.timing(animatedBackdropValue, _objectSpread2({
|
|
24377
|
+
toValue: 0
|
|
24378
|
+
}, DEFAULT_ANIMATION_CONFIG)).start();
|
|
24379
|
+
}
|
|
24380
|
+
reactNative.Animated.timing(animatedModalValue, _objectSpread2({
|
|
24381
|
+
toValue: 0
|
|
24382
|
+
}, DEFAULT_ANIMATION_CONFIG)).start(function () {
|
|
24383
|
+
setMounted(false);
|
|
24384
|
+
if (reactNative.Platform.OS === 'ios') {
|
|
24385
|
+
onDismiss === null || onDismiss === void 0 || onDismiss();
|
|
24376
24386
|
}
|
|
24377
24387
|
});
|
|
24388
|
+
} else {
|
|
24389
|
+
setMounted(false);
|
|
24390
|
+
if (reactNative.Platform.OS === 'ios') {
|
|
24391
|
+
onDismiss === null || onDismiss === void 0 || onDismiss();
|
|
24392
|
+
}
|
|
24378
24393
|
}
|
|
24379
|
-
}
|
|
24380
|
-
|
|
24394
|
+
}
|
|
24395
|
+
previousVisible.current = visible;
|
|
24396
|
+
}, [visible, animationType, transparent, onShow, onDismiss]);
|
|
24381
24397
|
|
|
24382
24398
|
// Back button handler
|
|
24383
24399
|
React.useEffect(function () {
|
|
24400
|
+
if (!visible) return;
|
|
24384
24401
|
var backHandler = reactNative.BackHandler.addEventListener('hardwareBackPress', function () {
|
|
24385
24402
|
onRequestClose === null || onRequestClose === void 0 || onRequestClose();
|
|
24386
24403
|
return true;
|
|
@@ -24388,7 +24405,18 @@ var Modal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
24388
24405
|
return function () {
|
|
24389
24406
|
return backHandler.remove();
|
|
24390
24407
|
};
|
|
24391
|
-
}, [onRequestClose]);
|
|
24408
|
+
}, [visible, onRequestClose]);
|
|
24409
|
+
var backdropOpacityAnimation = animatedBackdropValue.interpolate({
|
|
24410
|
+
inputRange: [0, 1],
|
|
24411
|
+
outputRange: [0, DEFAULT_BACKDROP_OPACITY]
|
|
24412
|
+
});
|
|
24413
|
+
var modalAnimation = animatedModalValue.interpolate({
|
|
24414
|
+
inputRange: [0, 1],
|
|
24415
|
+
outputRange: animationType === 'slide' ? [reactNative.Dimensions.get('window').height, 0] : [0, 1]
|
|
24416
|
+
});
|
|
24417
|
+
if (!visible && !mounted) {
|
|
24418
|
+
return null;
|
|
24419
|
+
}
|
|
24392
24420
|
return /*#__PURE__*/React__namespace.default.createElement(Portal$1, null, /*#__PURE__*/React__namespace.default.createElement(reactNative.Animated.View, {
|
|
24393
24421
|
style: _objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
|
|
24394
24422
|
backgroundColor: transparent ? 'transparent' : theme.colors.overlayGlobalSurface,
|
|
@@ -24403,39 +24431,9 @@ var Modal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
24403
24431
|
}]
|
|
24404
24432
|
})
|
|
24405
24433
|
}, children));
|
|
24406
|
-
});
|
|
24407
|
-
var ModalWrapper = function ModalWrapper(_ref3) {
|
|
24408
|
-
var _ref3$visible = _ref3.visible,
|
|
24409
|
-
visible = _ref3$visible === void 0 ? true : _ref3$visible,
|
|
24410
|
-
props = _objectWithoutProperties(_ref3, _excluded$o);
|
|
24411
|
-
var modalRef = React.useRef(null);
|
|
24412
|
-
var _useState = React.useState(visible),
|
|
24413
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
24414
|
-
internalVisible = _useState2[0],
|
|
24415
|
-
setInternalVisible = _useState2[1];
|
|
24416
|
-
React.useEffect(function () {
|
|
24417
|
-
if (visible) {
|
|
24418
|
-
setInternalVisible(true);
|
|
24419
|
-
} else {
|
|
24420
|
-
var _modalRef$current;
|
|
24421
|
-
// Wait for animation to finish before hiding the modal
|
|
24422
|
-
(_modalRef$current = modalRef.current) === null || _modalRef$current === void 0 || _modalRef$current.hide(function () {
|
|
24423
|
-
return setInternalVisible(false);
|
|
24424
|
-
});
|
|
24425
|
-
}
|
|
24426
|
-
}, [visible]);
|
|
24427
|
-
React.useEffect(function () {
|
|
24428
|
-
if (internalVisible) {
|
|
24429
|
-
var _modalRef$current2;
|
|
24430
|
-
(_modalRef$current2 = modalRef.current) === null || _modalRef$current2 === void 0 || _modalRef$current2.show();
|
|
24431
|
-
}
|
|
24432
|
-
}, [internalVisible]);
|
|
24433
|
-
return internalVisible ? /*#__PURE__*/React__namespace.default.createElement(Modal, _extends$1({
|
|
24434
|
-
ref: modalRef
|
|
24435
|
-
}, props)) : null;
|
|
24436
24434
|
};
|
|
24437
24435
|
|
|
24438
|
-
var StyledErrorModal = index$c(
|
|
24436
|
+
var StyledErrorModal = index$c(Modal)({
|
|
24439
24437
|
height: '100%',
|
|
24440
24438
|
width: '100%'
|
|
24441
24439
|
});
|
|
@@ -24527,7 +24525,7 @@ var StyledErrorDescription = index$c(Typography.Body)(function (_ref10) {
|
|
|
24527
24525
|
};
|
|
24528
24526
|
});
|
|
24529
24527
|
|
|
24530
|
-
var _excluded$
|
|
24528
|
+
var _excluded$o = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress", "icon"],
|
|
24531
24529
|
_excluded2$1 = ["visible", "variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
|
|
24532
24530
|
var renderImage$1 = function renderImage(image) {
|
|
24533
24531
|
if (/*#__PURE__*/React.isValidElement(image)) {
|
|
@@ -24568,7 +24566,7 @@ var ErrorPage = function ErrorPage(_ref2) {
|
|
|
24568
24566
|
secondaryCtaText = _ref2.secondaryCtaText,
|
|
24569
24567
|
onSecondaryCtaPress = _ref2.onSecondaryCtaPress,
|
|
24570
24568
|
icon = _ref2.icon,
|
|
24571
|
-
nativeProps = _objectWithoutProperties(_ref2, _excluded$
|
|
24569
|
+
nativeProps = _objectWithoutProperties(_ref2, _excluded$o);
|
|
24572
24570
|
var showCta = ctaText && onCtaPress !== undefined;
|
|
24573
24571
|
var showSecondaryCta = secondaryCtaText && onSecondaryCtaPress !== undefined;
|
|
24574
24572
|
var showButtonContainer = showCta || showSecondaryCta;
|
|
@@ -24795,13 +24793,13 @@ var ActionItem = function ActionItem(_ref) {
|
|
|
24795
24793
|
})), /*#__PURE__*/React__namespace.default.createElement(StyledActionItemText, null, title))));
|
|
24796
24794
|
};
|
|
24797
24795
|
|
|
24798
|
-
var _excluded$
|
|
24796
|
+
var _excluded$n = ["active"];
|
|
24799
24797
|
var AnimatedIcons = reactNative.Animated.createAnimatedComponent(/*#__PURE__*/React__namespace.default.forwardRef(function (props, _) {
|
|
24800
24798
|
return /*#__PURE__*/React__namespace.default.createElement(StyledFABIcon, props);
|
|
24801
24799
|
}));
|
|
24802
24800
|
var AnimatedFABIcon = function AnimatedFABIcon(_ref) {
|
|
24803
24801
|
var active = _ref.active,
|
|
24804
|
-
iconProps = _objectWithoutProperties(_ref, _excluded$
|
|
24802
|
+
iconProps = _objectWithoutProperties(_ref, _excluded$n);
|
|
24805
24803
|
var rotateAnimation = React.useRef(new reactNative.Animated.Value(active ? 1 : 0));
|
|
24806
24804
|
React.useEffect(function () {
|
|
24807
24805
|
var animation = reactNative.Animated.spring(rotateAnimation.current, {
|
|
@@ -25159,11 +25157,11 @@ var StyledFAB = index$c(FAB$1)(function (_ref) {
|
|
|
25159
25157
|
};
|
|
25160
25158
|
});
|
|
25161
25159
|
|
|
25162
|
-
var _excluded$
|
|
25160
|
+
var _excluded$m = ["fabConfig", "onCancel"];
|
|
25163
25161
|
var Pair = function Pair(_ref) {
|
|
25164
25162
|
var fabConfig = _ref.fabConfig,
|
|
25165
25163
|
onCancel = _ref.onCancel,
|
|
25166
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
25164
|
+
props = _objectWithoutProperties(_ref, _excluded$m);
|
|
25167
25165
|
var icon = fabConfig.icon,
|
|
25168
25166
|
title = fabConfig.title,
|
|
25169
25167
|
onPress = fabConfig.onPress,
|
|
@@ -25893,11 +25891,11 @@ var StyledFocusIcon = index$c(Icon)(function (_ref7) {
|
|
|
25893
25891
|
};
|
|
25894
25892
|
});
|
|
25895
25893
|
|
|
25896
|
-
var _excluded$
|
|
25894
|
+
var _excluded$l = ["style", "testID"];
|
|
25897
25895
|
var MapPinFocussed = function MapPinFocussed(_ref) {
|
|
25898
25896
|
var style = _ref.style,
|
|
25899
25897
|
testID = _ref.testID,
|
|
25900
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
25898
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$l);
|
|
25901
25899
|
return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$4, _extends$1({}, nativeProps, {
|
|
25902
25900
|
style: style,
|
|
25903
25901
|
testID: testID
|
|
@@ -25907,7 +25905,7 @@ var MapPinFocussed = function MapPinFocussed(_ref) {
|
|
|
25907
25905
|
}));
|
|
25908
25906
|
};
|
|
25909
25907
|
|
|
25910
|
-
var _excluded$
|
|
25908
|
+
var _excluded$k = ["style", "testID", "state", "image", "icon"];
|
|
25911
25909
|
var getBadgeIconName = function getBadgeIconName(state) {
|
|
25912
25910
|
var iconMap = {
|
|
25913
25911
|
idle: undefined,
|
|
@@ -25923,7 +25921,7 @@ var MapPin = function MapPin(_ref) {
|
|
|
25923
25921
|
state = _ref$state === void 0 ? 'idle' : _ref$state,
|
|
25924
25922
|
image = _ref.image,
|
|
25925
25923
|
icon = _ref.icon,
|
|
25926
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
25924
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$k);
|
|
25927
25925
|
var badgeIcon = getBadgeIconName(state);
|
|
25928
25926
|
return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$4, _extends$1({}, nativeProps, {
|
|
25929
25927
|
style: style,
|
|
@@ -26245,7 +26243,7 @@ var THEME_INTENT_MAP = {
|
|
|
26245
26243
|
'archived-inverted': 'archivedInverted'
|
|
26246
26244
|
};
|
|
26247
26245
|
|
|
26248
|
-
var _excluded$
|
|
26246
|
+
var _excluded$j = ["value", "renderValue", "intent", "style", "testID"];
|
|
26249
26247
|
var defaultRenderValue = function defaultRenderValue(value) {
|
|
26250
26248
|
return "".concat(value, "%");
|
|
26251
26249
|
};
|
|
@@ -26258,7 +26256,7 @@ var ProgressCircle = function ProgressCircle(_ref) {
|
|
|
26258
26256
|
intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
|
|
26259
26257
|
style = _ref.style,
|
|
26260
26258
|
testID = _ref.testID,
|
|
26261
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
26259
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$j);
|
|
26262
26260
|
var theme = useTheme$1();
|
|
26263
26261
|
var size = theme.__hd__.progress.sizes.circleDiameter;
|
|
26264
26262
|
var strokeWidth = theme.__hd__.progress.sizes.circleCompletenessHeight;
|
|
@@ -26329,14 +26327,14 @@ var StyledInner = index$c(reactNative.Animated.View)(function (_ref2) {
|
|
|
26329
26327
|
};
|
|
26330
26328
|
});
|
|
26331
26329
|
|
|
26332
|
-
var _excluded$
|
|
26330
|
+
var _excluded$i = ["value", "intent", "style", "testID"];
|
|
26333
26331
|
var ProgressBar = function ProgressBar(_ref) {
|
|
26334
26332
|
var value = _ref.value,
|
|
26335
26333
|
_ref$intent = _ref.intent,
|
|
26336
26334
|
intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
|
|
26337
26335
|
style = _ref.style,
|
|
26338
26336
|
testID = _ref.testID,
|
|
26339
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
26337
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$i);
|
|
26340
26338
|
var _useState = React.useState(0),
|
|
26341
26339
|
_useState2 = _slicedToArray(_useState, 2),
|
|
26342
26340
|
width = _useState2[0],
|
|
@@ -26426,7 +26424,7 @@ var StyledSingleStep = index$c(Box)(function (_ref3) {
|
|
|
26426
26424
|
};
|
|
26427
26425
|
});
|
|
26428
26426
|
|
|
26429
|
-
var _excluded$
|
|
26427
|
+
var _excluded$h = ["steps", "current", "onLayout"];
|
|
26430
26428
|
var getStepState = function getStepState(current, index) {
|
|
26431
26429
|
if (index < current) {
|
|
26432
26430
|
return 'complete';
|
|
@@ -26440,7 +26438,7 @@ var ProgressStep = function ProgressStep(_ref) {
|
|
|
26440
26438
|
var steps = _ref.steps,
|
|
26441
26439
|
current = _ref.current,
|
|
26442
26440
|
onLayout = _ref.onLayout,
|
|
26443
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
26441
|
+
props = _objectWithoutProperties(_ref, _excluded$h);
|
|
26444
26442
|
var theme = useTheme$1();
|
|
26445
26443
|
var _React$useState = React__namespace.default.useState(0),
|
|
26446
26444
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -26476,9 +26474,375 @@ var ProgressStep = function ProgressStep(_ref) {
|
|
|
26476
26474
|
}));
|
|
26477
26475
|
};
|
|
26478
26476
|
|
|
26477
|
+
var SEGMENTED_BAR_COLORS = ['primaryMedium', 'blueMedium', 'greenMedium', 'redMedium', 'orangeMedium', 'yellowMedium', 'pinkMedium', 'greyMedium', 'primaryLight', 'blueLight', 'greenLight', 'redLight', 'orangeLight', 'yellowLight', 'pinkLight', 'greyLight', 'success', 'onSuccessSurface', 'onInfoSurface', 'warning', 'onWarningSurface', 'error', 'onErrorSurface', 'archive', 'onArchiveSurface'];
|
|
26478
|
+
var MIN_PROGRESS_VALUE = 0;
|
|
26479
|
+
var MAX_PROGRESS_VALUE = 100;
|
|
26480
|
+
var SEGMENTED_BAR_ERRORS = {
|
|
26481
|
+
negativeValue: '[Progress.SegmentedBar] value:$value is less than 0',
|
|
26482
|
+
legendDisplayValues: '[Progress.SegmentedBar] legendConfig.displayValues must include a non-null/non-undefined entry for each data series (length must match and no null/undefined values are allowed)',
|
|
26483
|
+
customColorsInvalid: '[Progress.SegmentedBar] Invalid styleConfig.series: length must match the number of data series, each entry must include a color value, and labels must match the data series labels'
|
|
26484
|
+
};
|
|
26485
|
+
|
|
26486
|
+
var useValidateSegmentedBarData = function useValidateSegmentedBarData(_ref) {
|
|
26487
|
+
var values = _ref.values,
|
|
26488
|
+
dataLength = _ref.dataLength;
|
|
26489
|
+
var _React$useMemo = React__namespace.default.useMemo(function () {
|
|
26490
|
+
var foundNegativeValue = values.find(function (value) {
|
|
26491
|
+
return value < 0;
|
|
26492
|
+
});
|
|
26493
|
+
return {
|
|
26494
|
+
hasNegativeValue: foundNegativeValue !== undefined,
|
|
26495
|
+
negativeValue: foundNegativeValue
|
|
26496
|
+
};
|
|
26497
|
+
}, [dataLength, values]),
|
|
26498
|
+
hasNegativeValue = _React$useMemo.hasNegativeValue,
|
|
26499
|
+
negativeValue = _React$useMemo.negativeValue;
|
|
26500
|
+
assert(!hasNegativeValue, SEGMENTED_BAR_ERRORS.negativeValue.replace('$value', String(negativeValue)));
|
|
26501
|
+
};
|
|
26502
|
+
var useValidateSegmentedBarLegendDisplayValues = function useValidateSegmentedBarLegendDisplayValues(_ref2) {
|
|
26503
|
+
var dataLength = _ref2.dataLength,
|
|
26504
|
+
legendConfig = _ref2.legendConfig,
|
|
26505
|
+
fallbackValues = _ref2.fallbackValues;
|
|
26506
|
+
var displayValues = legendConfig === null || legendConfig === void 0 ? void 0 : legendConfig.displayValues;
|
|
26507
|
+
var _React$useMemo2 = React__namespace.default.useMemo(function () {
|
|
26508
|
+
if (displayValues === undefined) {
|
|
26509
|
+
return {
|
|
26510
|
+
valuesToUse: fallbackValues,
|
|
26511
|
+
hasLengthMismatch: false,
|
|
26512
|
+
hasEmptyEntry: false
|
|
26513
|
+
};
|
|
26514
|
+
}
|
|
26515
|
+
var isLengthMismatch = displayValues.length !== dataLength;
|
|
26516
|
+
var isEmptyEntry = displayValues.some(function (value) {
|
|
26517
|
+
return value === undefined || value === null;
|
|
26518
|
+
});
|
|
26519
|
+
return {
|
|
26520
|
+
valuesToUse: displayValues,
|
|
26521
|
+
hasLengthMismatch: isLengthMismatch,
|
|
26522
|
+
hasEmptyEntry: isEmptyEntry
|
|
26523
|
+
};
|
|
26524
|
+
}, [dataLength, displayValues, fallbackValues]),
|
|
26525
|
+
valuesToUse = _React$useMemo2.valuesToUse,
|
|
26526
|
+
hasLengthMismatch = _React$useMemo2.hasLengthMismatch,
|
|
26527
|
+
hasEmptyEntry = _React$useMemo2.hasEmptyEntry;
|
|
26528
|
+
assert(!(hasLengthMismatch || hasEmptyEntry), SEGMENTED_BAR_ERRORS.legendDisplayValues);
|
|
26529
|
+
return valuesToUse;
|
|
26530
|
+
};
|
|
26531
|
+
var useValidateSegmentedBarStyleConfig = function useValidateSegmentedBarStyleConfig(_ref3) {
|
|
26532
|
+
var dataSeries = _ref3.dataSeries,
|
|
26533
|
+
customSeries = _ref3.customSeries;
|
|
26534
|
+
var _React$useMemo3 = React__namespace.default.useMemo(function () {
|
|
26535
|
+
if (!customSeries || dataSeries.length === 0) {
|
|
26536
|
+
return {
|
|
26537
|
+
hasInvalidLength: false,
|
|
26538
|
+
hasMissingColor: false,
|
|
26539
|
+
hasMissingLabel: false
|
|
26540
|
+
};
|
|
26541
|
+
}
|
|
26542
|
+
var invalidLength = !Array.isArray(customSeries) || customSeries.length !== dataSeries.length;
|
|
26543
|
+
if (invalidLength) {
|
|
26544
|
+
return {
|
|
26545
|
+
hasInvalidLength: invalidLength,
|
|
26546
|
+
hasMissingColor: false,
|
|
26547
|
+
hasMissingLabel: false
|
|
26548
|
+
};
|
|
26549
|
+
}
|
|
26550
|
+
var missingColor = customSeries.some(function (item) {
|
|
26551
|
+
return !(item !== null && item !== void 0 && item.color);
|
|
26552
|
+
});
|
|
26553
|
+
var providedLabels = new Set(customSeries.map(function (item) {
|
|
26554
|
+
return item.label;
|
|
26555
|
+
}));
|
|
26556
|
+
var missingLabel = dataSeries.some(function (_ref4) {
|
|
26557
|
+
var label = _ref4.label;
|
|
26558
|
+
return !providedLabels.has(label);
|
|
26559
|
+
});
|
|
26560
|
+
return {
|
|
26561
|
+
hasInvalidLength: invalidLength,
|
|
26562
|
+
hasMissingColor: missingColor,
|
|
26563
|
+
hasMissingLabel: missingLabel
|
|
26564
|
+
};
|
|
26565
|
+
}, [customSeries, dataSeries]),
|
|
26566
|
+
hasInvalidLength = _React$useMemo3.hasInvalidLength,
|
|
26567
|
+
hasMissingColor = _React$useMemo3.hasMissingColor,
|
|
26568
|
+
hasMissingLabel = _React$useMemo3.hasMissingLabel;
|
|
26569
|
+
assert(!(hasInvalidLength || hasMissingColor || hasMissingLabel), SEGMENTED_BAR_ERRORS.customColorsInvalid);
|
|
26570
|
+
};
|
|
26571
|
+
|
|
26572
|
+
/**
|
|
26573
|
+
* Retrieves a color value from a theme source by token.
|
|
26574
|
+
*/
|
|
26575
|
+
var getThemeColorValue = function getThemeColorValue(source, token) {
|
|
26576
|
+
var value = source === null || source === void 0 ? void 0 : source[token];
|
|
26577
|
+
return typeof value === 'string' ? value : undefined;
|
|
26578
|
+
};
|
|
26579
|
+
|
|
26580
|
+
/**
|
|
26581
|
+
* Resolves a SegmentedBar color token to a concrete CSS color string.
|
|
26582
|
+
* Falls back to the raw token string if not found.
|
|
26583
|
+
*/
|
|
26584
|
+
var getColorFromList = function getColorFromList(_ref) {
|
|
26585
|
+
var _ref2, _getThemeColorValue;
|
|
26586
|
+
var theme = _ref.theme,
|
|
26587
|
+
token = _ref.token;
|
|
26588
|
+
return (_ref2 = (_getThemeColorValue = getThemeColorValue(theme.colors, token)) !== null && _getThemeColorValue !== void 0 ? _getThemeColorValue : getThemeColorValue(palette$9, token)) !== null && _ref2 !== void 0 ? _ref2 : token;
|
|
26589
|
+
};
|
|
26590
|
+
|
|
26591
|
+
/**
|
|
26592
|
+
* Maps custom series colors by matching labels.
|
|
26593
|
+
*/
|
|
26594
|
+
var mapCustomSeriesColors = function mapCustomSeriesColors(_ref3) {
|
|
26595
|
+
var dataSeries = _ref3.dataSeries,
|
|
26596
|
+
customSeries = _ref3.customSeries,
|
|
26597
|
+
theme = _ref3.theme;
|
|
26598
|
+
var colorByLabel = new Map(customSeries.map(function (_ref4) {
|
|
26599
|
+
var label = _ref4.label,
|
|
26600
|
+
color = _ref4.color;
|
|
26601
|
+
return [label, getColorFromList({
|
|
26602
|
+
theme: theme,
|
|
26603
|
+
token: color
|
|
26604
|
+
})];
|
|
26605
|
+
}));
|
|
26606
|
+
return dataSeries.map(function (_ref5) {
|
|
26607
|
+
var label = _ref5.label;
|
|
26608
|
+
var resolvedColor = colorByLabel.get(label);
|
|
26609
|
+
return resolvedColor || '';
|
|
26610
|
+
});
|
|
26611
|
+
};
|
|
26612
|
+
|
|
26613
|
+
/**
|
|
26614
|
+
* Returns an array of colors (index-aligned to the segmented bar data).
|
|
26615
|
+
*
|
|
26616
|
+
* - if `customSeries` is provided, uses the provided series colors (resolved via theme/palette)
|
|
26617
|
+
* - otherwise returns the default palette-based colors
|
|
26618
|
+
*/
|
|
26619
|
+
var useSegmentedBarColors = function useSegmentedBarColors(_ref6) {
|
|
26620
|
+
var dataSeries = _ref6.dataSeries,
|
|
26621
|
+
customSeries = _ref6.customSeries;
|
|
26622
|
+
var theme = useTheme$1();
|
|
26623
|
+
var colors = React.useMemo(function () {
|
|
26624
|
+
if (customSeries !== undefined) {
|
|
26625
|
+
return mapCustomSeriesColors({
|
|
26626
|
+
dataSeries: dataSeries,
|
|
26627
|
+
customSeries: customSeries,
|
|
26628
|
+
theme: theme
|
|
26629
|
+
});
|
|
26630
|
+
}
|
|
26631
|
+
|
|
26632
|
+
// Default colors
|
|
26633
|
+
return Array.from({
|
|
26634
|
+
length: dataSeries.length
|
|
26635
|
+
}, function (_, index) {
|
|
26636
|
+
return getColorFromList({
|
|
26637
|
+
theme: theme,
|
|
26638
|
+
token: SEGMENTED_BAR_COLORS[index % SEGMENTED_BAR_COLORS.length]
|
|
26639
|
+
});
|
|
26640
|
+
});
|
|
26641
|
+
}, [customSeries, dataSeries, theme]);
|
|
26642
|
+
return colors;
|
|
26643
|
+
};
|
|
26644
|
+
|
|
26645
|
+
var LegendBox = index$c(Box)(function (_ref) {
|
|
26646
|
+
var theme = _ref.theme;
|
|
26647
|
+
return {
|
|
26648
|
+
flexDirection: 'row',
|
|
26649
|
+
alignItems: 'center',
|
|
26650
|
+
flexWrap: 'wrap',
|
|
26651
|
+
marginTop: theme.__hd__.progress.space.segmentedLegendMarginTop
|
|
26652
|
+
};
|
|
26653
|
+
});
|
|
26654
|
+
var LegendItem = index$c(Box)(function (_ref2) {
|
|
26655
|
+
var theme = _ref2.theme;
|
|
26656
|
+
return {
|
|
26657
|
+
flexDirection: 'row',
|
|
26658
|
+
alignItems: 'center',
|
|
26659
|
+
marginRight: theme.__hd__.progress.space.legendGap,
|
|
26660
|
+
marginBottom: theme.__hd__.progress.space.legendGap
|
|
26661
|
+
};
|
|
26662
|
+
});
|
|
26663
|
+
var LegendCircle = index$c(Box)(function (_ref3) {
|
|
26664
|
+
var theme = _ref3.theme,
|
|
26665
|
+
themeColor = _ref3.themeColor;
|
|
26666
|
+
return {
|
|
26667
|
+
width: theme.__hd__.progress.sizes.legendWidth,
|
|
26668
|
+
height: theme.__hd__.progress.sizes.legendHeight,
|
|
26669
|
+
borderRadius: theme.__hd__.progress.radii.legendCircle,
|
|
26670
|
+
backgroundColor: themeColor,
|
|
26671
|
+
marginRight: theme.__hd__.progress.space.legendInnerGap
|
|
26672
|
+
};
|
|
26673
|
+
});
|
|
26674
|
+
var LegendValue = index$c(Box)(function (_ref4) {
|
|
26675
|
+
var theme = _ref4.theme;
|
|
26676
|
+
return {
|
|
26677
|
+
marginLeft: theme.__hd__.progress.space.legendInnerGap
|
|
26678
|
+
};
|
|
26679
|
+
});
|
|
26680
|
+
|
|
26681
|
+
var getTextComponent = function getTextComponent(content, textElement) {
|
|
26682
|
+
if (!content) {
|
|
26683
|
+
return null;
|
|
26684
|
+
}
|
|
26685
|
+
if (typeof content === 'string' || typeof content === 'number') {
|
|
26686
|
+
return textElement;
|
|
26687
|
+
}
|
|
26688
|
+
return content;
|
|
26689
|
+
};
|
|
26690
|
+
|
|
26691
|
+
var ProgressSegmentedBarLegendItem = function ProgressSegmentedBarLegendItem(_ref) {
|
|
26692
|
+
var title = _ref.title,
|
|
26693
|
+
color = _ref.color,
|
|
26694
|
+
displayValue = _ref.displayValue,
|
|
26695
|
+
testID = _ref.testID;
|
|
26696
|
+
var renderedDisplayValue = getTextComponent(displayValue, /*#__PURE__*/React__namespace.default.createElement(Typography.Caption, {
|
|
26697
|
+
intent: "muted"
|
|
26698
|
+
}, displayValue));
|
|
26699
|
+
return /*#__PURE__*/React__namespace.default.createElement(LegendItem, {
|
|
26700
|
+
testID: testID
|
|
26701
|
+
}, /*#__PURE__*/React__namespace.default.createElement(LegendCircle, {
|
|
26702
|
+
themeColor: color
|
|
26703
|
+
}), /*#__PURE__*/React__namespace.default.createElement(Typography.Caption, null, "".concat(title, ":")), renderedDisplayValue ? /*#__PURE__*/React__namespace.default.createElement(LegendValue, null, renderedDisplayValue) : null);
|
|
26704
|
+
};
|
|
26705
|
+
|
|
26706
|
+
var StyledHeader = index$c(Box)(function (_ref) {
|
|
26707
|
+
var theme = _ref.theme;
|
|
26708
|
+
return {
|
|
26709
|
+
flexDirection: 'row',
|
|
26710
|
+
justifyContent: 'space-between',
|
|
26711
|
+
alignItems: 'baseline',
|
|
26712
|
+
flexWrap: 'wrap',
|
|
26713
|
+
marginBottom: theme.__hd__.progress.space.segmentedHeaderMarginBottom
|
|
26714
|
+
};
|
|
26715
|
+
});
|
|
26716
|
+
var StyledTrack = index$c(Box)(function (_ref2) {
|
|
26717
|
+
var theme = _ref2.theme;
|
|
26718
|
+
return {
|
|
26719
|
+
width: '100%',
|
|
26720
|
+
height: theme.__hd__.progress.sizes.barHeight,
|
|
26721
|
+
borderRadius: theme.__hd__.progress.radii["default"],
|
|
26722
|
+
overflow: 'hidden',
|
|
26723
|
+
flexDirection: 'row'
|
|
26724
|
+
};
|
|
26725
|
+
});
|
|
26726
|
+
var StyledSegment = index$c(Box)(function (_ref3) {
|
|
26727
|
+
var themeColor = _ref3.themeColor,
|
|
26728
|
+
themeWidthPercent = _ref3.themeWidthPercent;
|
|
26729
|
+
return {
|
|
26730
|
+
backgroundColor: themeColor,
|
|
26731
|
+
flexGrow: 0,
|
|
26732
|
+
flexShrink: 0,
|
|
26733
|
+
width: "".concat(themeWidthPercent, "%")
|
|
26734
|
+
};
|
|
26735
|
+
});
|
|
26736
|
+
var StyledEmptyText = index$c(Typography.Caption)(function (_ref4) {
|
|
26737
|
+
var theme = _ref4.theme;
|
|
26738
|
+
return {
|
|
26739
|
+
marginTop: theme.__hd__.progress.space.segmentedLegendMarginTop
|
|
26740
|
+
};
|
|
26741
|
+
});
|
|
26742
|
+
|
|
26743
|
+
var _excluded$g = ["data", "headerConfig", "emptyText", "legendConfig", "styleConfig", "style", "testID", "collapsable"];
|
|
26744
|
+
var ProgressSegmentedBar = function ProgressSegmentedBar(_ref) {
|
|
26745
|
+
var data = _ref.data,
|
|
26746
|
+
headerConfig = _ref.headerConfig,
|
|
26747
|
+
emptyText = _ref.emptyText,
|
|
26748
|
+
legendConfig = _ref.legendConfig,
|
|
26749
|
+
styleConfig = _ref.styleConfig,
|
|
26750
|
+
style = _ref.style,
|
|
26751
|
+
testID = _ref.testID,
|
|
26752
|
+
collapsable = _ref.collapsable,
|
|
26753
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$g);
|
|
26754
|
+
var values = React__namespace.default.useMemo(function () {
|
|
26755
|
+
return data.map(function (s) {
|
|
26756
|
+
return s.data;
|
|
26757
|
+
});
|
|
26758
|
+
}, [data]);
|
|
26759
|
+
useValidateSegmentedBarData({
|
|
26760
|
+
dataLength: data.length,
|
|
26761
|
+
values: values
|
|
26762
|
+
});
|
|
26763
|
+
var legendDisplayValues = useValidateSegmentedBarLegendDisplayValues({
|
|
26764
|
+
dataLength: data.length,
|
|
26765
|
+
legendConfig: legendConfig,
|
|
26766
|
+
fallbackValues: values
|
|
26767
|
+
});
|
|
26768
|
+
useValidateSegmentedBarStyleConfig({
|
|
26769
|
+
dataSeries: data,
|
|
26770
|
+
customSeries: styleConfig === null || styleConfig === void 0 ? void 0 : styleConfig.series
|
|
26771
|
+
});
|
|
26772
|
+
var theme = useTheme$1();
|
|
26773
|
+
var totalPercent = React__namespace.default.useMemo(function () {
|
|
26774
|
+
return values.reduce(function (acc, value) {
|
|
26775
|
+
return acc + value;
|
|
26776
|
+
}, 0);
|
|
26777
|
+
}, [values]);
|
|
26778
|
+
var ariaValueMax = totalPercent > MAX_PROGRESS_VALUE ? totalPercent : MAX_PROGRESS_VALUE;
|
|
26779
|
+
var remainderPercent = React__namespace.default.useMemo(function () {
|
|
26780
|
+
return totalPercent >= MAX_PROGRESS_VALUE ? 0 : MAX_PROGRESS_VALUE - totalPercent;
|
|
26781
|
+
}, [totalPercent]);
|
|
26782
|
+
var segmentColors = useSegmentedBarColors({
|
|
26783
|
+
dataSeries: data,
|
|
26784
|
+
customSeries: styleConfig === null || styleConfig === void 0 ? void 0 : styleConfig.series
|
|
26785
|
+
});
|
|
26786
|
+
var headerRight = React__namespace.default.useMemo(function () {
|
|
26787
|
+
return getTextComponent(headerConfig === null || headerConfig === void 0 ? void 0 : headerConfig.right, /*#__PURE__*/React__namespace.default.createElement(Typography.Caption, {
|
|
26788
|
+
intent: "muted"
|
|
26789
|
+
}, headerConfig === null || headerConfig === void 0 ? void 0 : headerConfig.right));
|
|
26790
|
+
}, [headerConfig === null || headerConfig === void 0 ? void 0 : headerConfig.right]);
|
|
26791
|
+
var showHeader = Boolean((headerConfig === null || headerConfig === void 0 ? void 0 : headerConfig.left) || headerRight);
|
|
26792
|
+
var showLegend = Boolean(legendConfig && Object.keys(legendConfig).length > 0);
|
|
26793
|
+
var showEmptyText = Boolean(!data.length && emptyText);
|
|
26794
|
+
return /*#__PURE__*/React__namespace.default.createElement(Box, _extends$1({}, nativeProps, {
|
|
26795
|
+
style: style,
|
|
26796
|
+
testID: testID,
|
|
26797
|
+
collapsable: collapsable || false
|
|
26798
|
+
}), showHeader ? /*#__PURE__*/React__namespace.default.createElement(StyledHeader, {
|
|
26799
|
+
testID: testID ? "".concat(testID, "-header") : undefined
|
|
26800
|
+
}, headerConfig !== null && headerConfig !== void 0 && headerConfig.left ? /*#__PURE__*/React__namespace.default.createElement(Typography.Body, {
|
|
26801
|
+
variant: "regular-bold",
|
|
26802
|
+
testID: testID ? "".concat(testID, "-header-left") : undefined
|
|
26803
|
+
}, headerConfig.left) : null, headerRight ? /*#__PURE__*/React__namespace.default.createElement(Box, {
|
|
26804
|
+
testID: testID ? "".concat(testID, "-header-right") : undefined
|
|
26805
|
+
}, headerRight) : null) : null, /*#__PURE__*/React__namespace.default.createElement(StyledTrack, {
|
|
26806
|
+
testID: testID ? "".concat(testID, "-track") : undefined,
|
|
26807
|
+
accessibilityRole: "progressbar",
|
|
26808
|
+
accessibilityValue: {
|
|
26809
|
+
min: MIN_PROGRESS_VALUE,
|
|
26810
|
+
max: ariaValueMax,
|
|
26811
|
+
now: totalPercent
|
|
26812
|
+
}
|
|
26813
|
+
}, data.map(function (s, index) {
|
|
26814
|
+
var segmentColor = segmentColors[index % segmentColors.length];
|
|
26815
|
+
return /*#__PURE__*/React__namespace.default.createElement(StyledSegment, {
|
|
26816
|
+
key: "".concat(s.label, "-").concat(segmentColor),
|
|
26817
|
+
themeColor: segmentColor,
|
|
26818
|
+
themeWidthPercent: s.data,
|
|
26819
|
+
testID: testID ? "".concat(testID, "-segment-").concat(s.label) : undefined
|
|
26820
|
+
});
|
|
26821
|
+
}), remainderPercent > 0 ? /*#__PURE__*/React__namespace.default.createElement(StyledSegment, {
|
|
26822
|
+
key: "remainder",
|
|
26823
|
+
themeColor: theme.__hd__.progress.colors.segmentedRemainderBackground,
|
|
26824
|
+
themeWidthPercent: remainderPercent,
|
|
26825
|
+
testID: testID ? "".concat(testID, "-segment-remainder") : undefined
|
|
26826
|
+
}) : null), showEmptyText ? /*#__PURE__*/React__namespace.default.createElement(StyledEmptyText, {
|
|
26827
|
+
intent: "muted",
|
|
26828
|
+
testID: testID ? "".concat(testID, "-empty-text") : undefined
|
|
26829
|
+
}, emptyText) : null, showLegend ? /*#__PURE__*/React__namespace.default.createElement(LegendBox, {
|
|
26830
|
+
testID: testID ? "".concat(testID, "-legend") : undefined
|
|
26831
|
+
}, data.map(function (item, index) {
|
|
26832
|
+
return /*#__PURE__*/React__namespace.default.createElement(ProgressSegmentedBarLegendItem, {
|
|
26833
|
+
key: "".concat(item.label, "-").concat(segmentColors[index % segmentColors.length]),
|
|
26834
|
+
title: item.label,
|
|
26835
|
+
color: segmentColors[index % segmentColors.length],
|
|
26836
|
+
displayValue: legendDisplayValues[index],
|
|
26837
|
+
testID: testID ? "".concat(testID, "-legend-").concat(item.label) : undefined
|
|
26838
|
+
});
|
|
26839
|
+
})) : null);
|
|
26840
|
+
};
|
|
26841
|
+
|
|
26479
26842
|
var Progress = {
|
|
26480
26843
|
Circle: ProgressCircle,
|
|
26481
26844
|
Bar: ProgressBar,
|
|
26845
|
+
SegmentedBar: ProgressSegmentedBar,
|
|
26482
26846
|
Step: ProgressStep
|
|
26483
26847
|
};
|
|
26484
26848
|
|
|
@@ -27092,7 +27456,7 @@ var StyledSuccessButtonSecondary = index$c(CompoundButton)(function (_ref10) {
|
|
|
27092
27456
|
marginTop: theme.__hd__.success.space.button.secondaryCTAMarginTop
|
|
27093
27457
|
};
|
|
27094
27458
|
});
|
|
27095
|
-
var StyledSuccessModal = index$c(
|
|
27459
|
+
var StyledSuccessModal = index$c(Modal)({
|
|
27096
27460
|
height: '100%',
|
|
27097
27461
|
width: '100%'
|
|
27098
27462
|
});
|
|
@@ -27840,10 +28204,10 @@ var ScrollableTabHeader = function ScrollableTabHeader(_ref2) {
|
|
|
27840
28204
|
badge = tab.badge;
|
|
27841
28205
|
var active = selectedIndex === index;
|
|
27842
28206
|
var activeAnimated = tabsAnims[index];
|
|
27843
|
-
var outlineScale =
|
|
28207
|
+
var outlineScale = activeAnimated.interpolate({
|
|
27844
28208
|
inputRange: [0, 1],
|
|
27845
28209
|
outputRange: [0.5, 1]
|
|
27846
|
-
})
|
|
28210
|
+
});
|
|
27847
28211
|
var inactiveItem = originalInactiveItem !== null && originalInactiveItem !== void 0 ? originalInactiveItem : activeItem;
|
|
27848
28212
|
var tabItem = getTabItem$1({
|
|
27849
28213
|
item: active ? activeItem : inactiveItem,
|
|
@@ -27921,7 +28285,8 @@ var ScrollableTab = function ScrollableTab(_ref) {
|
|
|
27921
28285
|
swipeEnabled = _ref$swipeEnabled === void 0 ? true : _ref$swipeEnabled,
|
|
27922
28286
|
componentTestID = _ref.testID,
|
|
27923
28287
|
_ref$variant = _ref.variant,
|
|
27924
|
-
variant = _ref$variant === void 0 ? 'highlighted' : _ref$variant
|
|
28288
|
+
variant = _ref$variant === void 0 ? 'highlighted' : _ref$variant,
|
|
28289
|
+
header = _ref.header;
|
|
27925
28290
|
var pagerViewRef = React.useRef(null);
|
|
27926
28291
|
var insets = reactNativeSafeAreaContext.useSafeAreaInsets();
|
|
27927
28292
|
var selectedTabIndex = tabs.findIndex(function (item) {
|
|
@@ -27952,20 +28317,23 @@ var ScrollableTab = function ScrollableTab(_ref) {
|
|
|
27952
28317
|
selectedTabKey: selectedTabKey
|
|
27953
28318
|
};
|
|
27954
28319
|
}, [selectedTabKey]);
|
|
28320
|
+
var headerProps = React.useMemo(function () {
|
|
28321
|
+
return {
|
|
28322
|
+
tabs: tabs,
|
|
28323
|
+
selectedIndex: selectedTabIndex,
|
|
28324
|
+
onTabPress: onTabPress,
|
|
28325
|
+
barStyle: barStyle,
|
|
28326
|
+
insets: insets,
|
|
28327
|
+
testID: componentTestID ? "".concat(componentTestID, "-tab-bar") : undefined,
|
|
28328
|
+
variant: variant
|
|
28329
|
+
};
|
|
28330
|
+
}, [tabs, selectedTabIndex, onTabPress, barStyle, insets, componentTestID, variant]);
|
|
27955
28331
|
return /*#__PURE__*/React__namespace.default.createElement(TabContext.Provider, {
|
|
27956
28332
|
value: tabContextProviderValue
|
|
27957
28333
|
}, /*#__PURE__*/React__namespace.default.createElement(TabContainer, {
|
|
27958
28334
|
style: containerStyle,
|
|
27959
28335
|
testID: componentTestID
|
|
27960
|
-
}, /*#__PURE__*/React__namespace.default.createElement(ScrollableTabHeader, {
|
|
27961
|
-
tabs: tabs,
|
|
27962
|
-
selectedIndex: selectedTabIndex,
|
|
27963
|
-
onTabPress: onTabPress,
|
|
27964
|
-
barStyle: barStyle,
|
|
27965
|
-
insets: insets,
|
|
27966
|
-
testID: componentTestID ? "".concat(componentTestID, "-tab-bar") : undefined,
|
|
27967
|
-
variant: variant
|
|
27968
|
-
}), /*#__PURE__*/React__namespace.default.createElement(PagerView__default.default, {
|
|
28336
|
+
}, header ? header(headerProps) : /*#__PURE__*/React__namespace.default.createElement(ScrollableTabHeader, headerProps), /*#__PURE__*/React__namespace.default.createElement(PagerView__default.default, {
|
|
27969
28337
|
initialPage: selectedTabIndex,
|
|
27970
28338
|
ref: pagerViewRef,
|
|
27971
28339
|
onPageScrollStateChanged: onPageScrollStateChanged,
|
|
@@ -28142,6 +28510,7 @@ var Tabs = function Tabs(_ref2) {
|
|
|
28142
28510
|
};
|
|
28143
28511
|
var index$4 = Object.assign(Tabs, {
|
|
28144
28512
|
Scroll: ScrollableTab,
|
|
28513
|
+
ScrollHeader: ScrollableTabHeader,
|
|
28145
28514
|
useIsFocused: useIsFocused
|
|
28146
28515
|
});
|
|
28147
28516
|
|