@hero-design/rn-work-uikit 1.9.5 → 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 +9 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +69810 -0
- package/lib/index.js +798 -411
- package/package.json +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 -190
- 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
|
|
|
@@ -3735,13 +3740,13 @@ var StyledDivider = index$c(reactNative.View)(function (_ref) {
|
|
|
3735
3740
|
}, horizontalMargin), verticalMargin);
|
|
3736
3741
|
});
|
|
3737
3742
|
|
|
3738
|
-
var _excluded$
|
|
3743
|
+
var _excluded$R = ["marginHorizontal", "marginVertical", "style", "testID"];
|
|
3739
3744
|
var Divider = function Divider(_ref) {
|
|
3740
3745
|
var marginHorizontal = _ref.marginHorizontal,
|
|
3741
3746
|
marginVertical = _ref.marginVertical,
|
|
3742
3747
|
style = _ref.style,
|
|
3743
3748
|
testID = _ref.testID,
|
|
3744
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
3749
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$R);
|
|
3745
3750
|
return /*#__PURE__*/React__namespace.default.createElement(StyledDivider, _extends$1({}, nativeProps, {
|
|
3746
3751
|
themeMarginHorizontal: marginHorizontal,
|
|
3747
3752
|
themeMarginVertical: marginVertical,
|
|
@@ -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
|
});
|
|
@@ -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,
|
|
@@ -8080,7 +8093,7 @@ var StyledLoadingDot = index$c(reactNative.View)(function (_ref) {
|
|
|
8080
8093
|
}, themeStyling());
|
|
8081
8094
|
});
|
|
8082
8095
|
|
|
8083
|
-
var _excluded$
|
|
8096
|
+
var _excluded$Q = ["count", "size", "testID", "themeVariant"];
|
|
8084
8097
|
var AnimatedLoadingIndicatorWrapper = reactNative.Animated.createAnimatedComponent(StyledLoadingIndicatorWrapper);
|
|
8085
8098
|
var AnimatedLoadingDot = reactNative.Animated.createAnimatedComponent(StyledLoadingDot);
|
|
8086
8099
|
var renderDotComponent = function renderDotComponent(_ref) {
|
|
@@ -8112,7 +8125,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
|
|
|
8112
8125
|
size = _ref2$size === void 0 ? 12 : _ref2$size,
|
|
8113
8126
|
testID = _ref2.testID,
|
|
8114
8127
|
themeVariant = _ref2.themeVariant,
|
|
8115
|
-
nativeProps = _objectWithoutProperties(_ref2, _excluded$
|
|
8128
|
+
nativeProps = _objectWithoutProperties(_ref2, _excluded$Q);
|
|
8116
8129
|
var progressAnimation = React.useRef(new reactNative.Animated.Value(0));
|
|
8117
8130
|
React.useEffect(function () {
|
|
8118
8131
|
var animation = reactNative.Animated.loop(reactNative.Animated.timing(progressAnimation.current, {
|
|
@@ -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');
|
|
@@ -8739,10 +8755,10 @@ var StyledHeroIcon = index$c(HeroIcon)(function (_ref) {
|
|
|
8739
8755
|
};
|
|
8740
8756
|
});
|
|
8741
8757
|
|
|
8742
|
-
var _excluded$
|
|
8758
|
+
var _excluded$P = ["style"];
|
|
8743
8759
|
var AnimatedIcon = function AnimatedIcon(_ref) {
|
|
8744
8760
|
var style = _ref.style,
|
|
8745
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
8761
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$P);
|
|
8746
8762
|
var rotateAnimation = React.useRef(new reactNative.Animated.Value(0));
|
|
8747
8763
|
React.useEffect(function () {
|
|
8748
8764
|
var animation = reactNative.Animated.loop(reactNative.Animated.timing(rotateAnimation.current, {
|
|
@@ -8842,7 +8858,7 @@ var StyledText$4 = index$c(reactNative.Text)(function (_ref) {
|
|
|
8842
8858
|
});
|
|
8843
8859
|
});
|
|
8844
8860
|
|
|
8845
|
-
var _excluded$
|
|
8861
|
+
var _excluded$O = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
|
|
8846
8862
|
/**
|
|
8847
8863
|
* @deprecated Typography.Text is deprecated and will be removed in the next major release, please refer to https://design.employmenthero.com/mobile/Components/typography for the appropriate alternatives.
|
|
8848
8864
|
*/
|
|
@@ -8858,7 +8874,7 @@ var Text = function Text(_ref) {
|
|
|
8858
8874
|
typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
|
|
8859
8875
|
_ref$allowFontScaling = _ref.allowFontScaling,
|
|
8860
8876
|
allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
|
|
8861
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
8877
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$O);
|
|
8862
8878
|
useDeprecation('Typography.Text is deprecated and will be removed in the next major release, please refer to https://design.employmenthero.com/mobile/Components/typography for the appropriate alternatives.');
|
|
8863
8879
|
return /*#__PURE__*/React__namespace.default.createElement(StyledText$4, _extends$1({}, nativeProps, {
|
|
8864
8880
|
themeFontSize: fontSize,
|
|
@@ -8891,7 +8907,7 @@ var StyledCaption = index$c(reactNative.Text)(function (_ref) {
|
|
|
8891
8907
|
};
|
|
8892
8908
|
});
|
|
8893
8909
|
|
|
8894
|
-
var _excluded$
|
|
8910
|
+
var _excluded$N = ["children", "fontWeight", "intent", "allowFontScaling", "fontStyle"];
|
|
8895
8911
|
var Caption = function Caption(_ref) {
|
|
8896
8912
|
var children = _ref.children,
|
|
8897
8913
|
_ref$fontWeight = _ref.fontWeight,
|
|
@@ -8902,7 +8918,7 @@ var Caption = function Caption(_ref) {
|
|
|
8902
8918
|
allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
|
|
8903
8919
|
_ref$fontStyle = _ref.fontStyle,
|
|
8904
8920
|
fontStyle = _ref$fontStyle === void 0 ? 'normal' : _ref$fontStyle,
|
|
8905
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
8921
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$N);
|
|
8906
8922
|
return /*#__PURE__*/React__namespace.default.createElement(StyledCaption, _extends$1({}, nativeProps, {
|
|
8907
8923
|
themeFontWeight: fontWeight,
|
|
8908
8924
|
themeIntent: intent,
|
|
@@ -8927,7 +8943,7 @@ var StyledLabel$2 = index$c(reactNative.Text)(function (_ref) {
|
|
|
8927
8943
|
};
|
|
8928
8944
|
});
|
|
8929
8945
|
|
|
8930
|
-
var _excluded$
|
|
8946
|
+
var _excluded$M = ["children", "intent", "allowFontScaling", "fontStyle"];
|
|
8931
8947
|
var Label = function Label(_ref) {
|
|
8932
8948
|
var children = _ref.children,
|
|
8933
8949
|
_ref$intent = _ref.intent,
|
|
@@ -8936,7 +8952,7 @@ var Label = function Label(_ref) {
|
|
|
8936
8952
|
allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
|
|
8937
8953
|
_ref$fontStyle = _ref.fontStyle,
|
|
8938
8954
|
fontStyle = _ref$fontStyle === void 0 ? 'normal' : _ref$fontStyle,
|
|
8939
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
8955
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$M);
|
|
8940
8956
|
return /*#__PURE__*/React__namespace.default.createElement(StyledLabel$2, _extends$1({}, nativeProps, {
|
|
8941
8957
|
themeIntent: intent,
|
|
8942
8958
|
themeIsItalic: fontStyle === 'italic',
|
|
@@ -8959,7 +8975,7 @@ var StyledTitle$1 = index$c(reactNative.Text)(function (_ref) {
|
|
|
8959
8975
|
};
|
|
8960
8976
|
});
|
|
8961
8977
|
|
|
8962
|
-
var _excluded$
|
|
8978
|
+
var _excluded$L = ["children", "intent", "allowFontScaling", "level", "typeface", "fontStyle"];
|
|
8963
8979
|
var Title = function Title(_ref) {
|
|
8964
8980
|
var children = _ref.children,
|
|
8965
8981
|
_ref$intent = _ref.intent,
|
|
@@ -8972,7 +8988,7 @@ var Title = function Title(_ref) {
|
|
|
8972
8988
|
typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
|
|
8973
8989
|
_ref$fontStyle = _ref.fontStyle,
|
|
8974
8990
|
fontStyle = _ref$fontStyle === void 0 ? 'normal' : _ref$fontStyle,
|
|
8975
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
8991
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$L);
|
|
8976
8992
|
return /*#__PURE__*/React__namespace.default.createElement(StyledTitle$1, _extends$1({}, nativeProps, {
|
|
8977
8993
|
themeLevel: level,
|
|
8978
8994
|
themeTypeface: typeface,
|
|
@@ -9011,7 +9027,7 @@ var StyledBody$2 = index$c(reactNative.Text)(function (_ref) {
|
|
|
9011
9027
|
};
|
|
9012
9028
|
});
|
|
9013
9029
|
|
|
9014
|
-
var _excluded$
|
|
9030
|
+
var _excluded$K = ["children", "intent", "allowFontScaling", "typeface", "variant", "fontStyle"];
|
|
9015
9031
|
var Body = function Body(_ref) {
|
|
9016
9032
|
var children = _ref.children,
|
|
9017
9033
|
_ref$intent = _ref.intent,
|
|
@@ -9024,7 +9040,7 @@ var Body = function Body(_ref) {
|
|
|
9024
9040
|
variant = _ref$variant === void 0 ? 'regular' : _ref$variant,
|
|
9025
9041
|
_ref$fontStyle = _ref.fontStyle,
|
|
9026
9042
|
fontStyle = _ref$fontStyle === void 0 ? 'normal' : _ref$fontStyle,
|
|
9027
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
9043
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$K);
|
|
9028
9044
|
return /*#__PURE__*/React__namespace.default.createElement(StyledBody$2, _extends$1({}, nativeProps, {
|
|
9029
9045
|
themeTypeface: typeface,
|
|
9030
9046
|
themeIntent: intent,
|
|
@@ -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: {
|
|
@@ -9647,11 +9663,11 @@ var Header = function Header(_ref) {
|
|
|
9647
9663
|
}))) : null), showDivider ? /*#__PURE__*/React__namespace.default.createElement(Divider, null) : null);
|
|
9648
9664
|
};
|
|
9649
9665
|
|
|
9650
|
-
var _excluded$
|
|
9666
|
+
var _excluded$J = ["scrollEventThrottle"];
|
|
9651
9667
|
var BottomSheetScrollView = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9652
9668
|
var _ref$scrollEventThrot = _ref.scrollEventThrottle,
|
|
9653
9669
|
scrollEventThrottle = _ref$scrollEventThrot === void 0 ? 100 : _ref$scrollEventThrot,
|
|
9654
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9670
|
+
props = _objectWithoutProperties(_ref, _excluded$J);
|
|
9655
9671
|
var _useContext = React.useContext(BottomSheetContext),
|
|
9656
9672
|
setInternalShowDivider = _useContext.setInternalShowDivider;
|
|
9657
9673
|
var onScrollBeginDrag = React.useCallback(function (e) {
|
|
@@ -9984,7 +10000,7 @@ var borderWidths = {
|
|
|
9984
10000
|
var config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, colors), space), radii), borderWidths);
|
|
9985
10001
|
var flexPropsKey = ['alignContent', 'alignItems', 'alignSelf', 'display', 'flex', 'flexBasis', 'flexDirection', 'flexGrow', 'flexShrink', 'flexWrap', 'justifyContent'];
|
|
9986
10002
|
|
|
9987
|
-
var _excluded$
|
|
10003
|
+
var _excluded$I = ["theme"];
|
|
9988
10004
|
var getThemeValue = function getThemeValue(theme, key, props) {
|
|
9989
10005
|
var propConfig = config[key];
|
|
9990
10006
|
var propValue = props[key];
|
|
@@ -10011,18 +10027,18 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
|
|
|
10011
10027
|
var configKeys = Object.keys(config);
|
|
10012
10028
|
var StyledBox = index$c(reactNative.View)(function (_ref5) {
|
|
10013
10029
|
var theme = _ref5.theme,
|
|
10014
|
-
otherProps = _objectWithoutProperties(_ref5, _excluded$
|
|
10030
|
+
otherProps = _objectWithoutProperties(_ref5, _excluded$I);
|
|
10015
10031
|
var styleProps = pick(configKeys, otherProps);
|
|
10016
10032
|
var flexProps = pick(_toConsumableArray(flexPropsKey), otherProps);
|
|
10017
10033
|
return _objectSpread2(_objectSpread2({}, mapStylePropToThemeValue(theme, styleProps)), flexProps);
|
|
10018
10034
|
});
|
|
10019
10035
|
|
|
10020
|
-
var _excluded$
|
|
10036
|
+
var _excluded$H = ["children", "style", "testID"];
|
|
10021
10037
|
var Box = function Box(_ref) {
|
|
10022
10038
|
var children = _ref.children,
|
|
10023
10039
|
style = _ref.style,
|
|
10024
10040
|
testID = _ref.testID,
|
|
10025
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
10041
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$H);
|
|
10026
10042
|
return /*#__PURE__*/React__namespace.default.createElement(StyledBox, _extends$1({}, otherProps, {
|
|
10027
10043
|
style: style,
|
|
10028
10044
|
testID: testID
|
|
@@ -10160,7 +10176,7 @@ var StyledErrorAndMaxLengthContainer = index$c(reactNative.View)(function (_ref1
|
|
|
10160
10176
|
};
|
|
10161
10177
|
});
|
|
10162
10178
|
|
|
10163
|
-
var _excluded$
|
|
10179
|
+
var _excluded$G = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling", "variant"];
|
|
10164
10180
|
var getState$4 = function getState(_ref) {
|
|
10165
10181
|
var disabled = _ref.disabled,
|
|
10166
10182
|
error = _ref.error,
|
|
@@ -10280,7 +10296,7 @@ var TextInput$1 = /*#__PURE__*/React.forwardRef(function (_ref8, ref) {
|
|
|
10280
10296
|
allowFontScaling = _ref8$allowFontScalin === void 0 ? false : _ref8$allowFontScalin,
|
|
10281
10297
|
_ref8$variant = _ref8.variant,
|
|
10282
10298
|
variant = _ref8$variant === void 0 ? 'text' : _ref8$variant,
|
|
10283
|
-
nativeProps = _objectWithoutProperties(_ref8, _excluded$
|
|
10299
|
+
nativeProps = _objectWithoutProperties(_ref8, _excluded$G);
|
|
10284
10300
|
var displayText = getDisplayText(value, defaultValue);
|
|
10285
10301
|
var isEmptyValue = displayText.length === 0;
|
|
10286
10302
|
var _React$useState = React__namespace.default.useState({
|
|
@@ -10758,14 +10774,14 @@ var AnimatedSpinner = function AnimatedSpinner(_ref) {
|
|
|
10758
10774
|
}, dotProps))));
|
|
10759
10775
|
};
|
|
10760
10776
|
|
|
10761
|
-
var _excluded$
|
|
10777
|
+
var _excluded$F = ["testID", "size", "intent"];
|
|
10762
10778
|
var Spinner = function Spinner(_ref) {
|
|
10763
10779
|
var testID = _ref.testID,
|
|
10764
10780
|
_ref$size = _ref.size,
|
|
10765
10781
|
size = _ref$size === void 0 ? 'medium' : _ref$size,
|
|
10766
10782
|
_ref$intent = _ref.intent,
|
|
10767
10783
|
intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
|
|
10768
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
10784
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$F);
|
|
10769
10785
|
return /*#__PURE__*/React__namespace.default.createElement(StyledView$2, nativeProps, /*#__PURE__*/React__namespace.default.createElement(StyledSpinnerContainer, {
|
|
10770
10786
|
testID: testID
|
|
10771
10787
|
}, /*#__PURE__*/React__namespace.default.createElement(AnimatedSpinner, {
|
|
@@ -10774,7 +10790,7 @@ var Spinner = function Spinner(_ref) {
|
|
|
10774
10790
|
})));
|
|
10775
10791
|
};
|
|
10776
10792
|
|
|
10777
|
-
var _excluded$
|
|
10793
|
+
var _excluded$E = ["keyExtractor", "loading", "onEndReached", "onQueryChange", "sections", "renderItem", "sectionListRef"];
|
|
10778
10794
|
var BaseOptionList = function BaseOptionList(_ref) {
|
|
10779
10795
|
var keyExtractor = _ref.keyExtractor,
|
|
10780
10796
|
loading = _ref.loading,
|
|
@@ -10783,7 +10799,7 @@ var BaseOptionList = function BaseOptionList(_ref) {
|
|
|
10783
10799
|
sections = _ref.sections,
|
|
10784
10800
|
renderItem = _ref.renderItem,
|
|
10785
10801
|
sectionListRef = _ref.sectionListRef,
|
|
10786
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10802
|
+
rest = _objectWithoutProperties(_ref, _excluded$E);
|
|
10787
10803
|
var theme = useTheme$1();
|
|
10788
10804
|
var _useState = React.useState(false),
|
|
10789
10805
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -11050,7 +11066,7 @@ var isOptionSelected = function isOptionSelected(value, option) {
|
|
|
11050
11066
|
});
|
|
11051
11067
|
};
|
|
11052
11068
|
|
|
11053
|
-
var _excluded$
|
|
11069
|
+
var _excluded$D = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
|
|
11054
11070
|
var OptionList$1 = function OptionList(_ref) {
|
|
11055
11071
|
var keyExtractor = _ref.keyExtractor,
|
|
11056
11072
|
loading = _ref.loading,
|
|
@@ -11061,7 +11077,7 @@ var OptionList$1 = function OptionList(_ref) {
|
|
|
11061
11077
|
renderOption = _ref.renderOption,
|
|
11062
11078
|
value = _ref.value,
|
|
11063
11079
|
sectionListRef = _ref.sectionListRef,
|
|
11064
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11080
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
11065
11081
|
var renderItem = function renderItem(info) {
|
|
11066
11082
|
var item = info.item;
|
|
11067
11083
|
var selected = isOptionSelected(value, item);
|
|
@@ -11096,7 +11112,7 @@ var OptionList$1 = function OptionList(_ref) {
|
|
|
11096
11112
|
}, rest));
|
|
11097
11113
|
};
|
|
11098
11114
|
|
|
11099
|
-
var _excluded$
|
|
11115
|
+
var _excluded$C = ["footerLabel", "label", "loading", "inputProps", "onConfirm", "onDismiss", "onEndReached", "onQueryChange", "options", "renderOption", "renderSelectedValue", "query", "error", "editable", "disabled", "required", "style", "testID", "value", "supportedOrientations", "bottomSheetConfig", "groupStyleEnabled"];
|
|
11100
11116
|
|
|
11101
11117
|
// Add an internal prop type for TextInputComponent, not exported
|
|
11102
11118
|
|
|
@@ -11129,7 +11145,7 @@ function MultiSelect$1(_ref) {
|
|
|
11129
11145
|
bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi,
|
|
11130
11146
|
_ref$groupStyleEnable = _ref.groupStyleEnabled,
|
|
11131
11147
|
groupStyleEnabled = _ref$groupStyleEnable === void 0 ? false : _ref$groupStyleEnable,
|
|
11132
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11148
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
11133
11149
|
var _useKeyboard = useKeyboard(),
|
|
11134
11150
|
isKeyboardVisible = _useKeyboard.isKeyboardVisible,
|
|
11135
11151
|
keyboardHeight = _useKeyboard.keyboardHeight;
|
|
@@ -11269,7 +11285,7 @@ var StyledOptionList = index$c(BaseOptionList)(function (_ref) {
|
|
|
11269
11285
|
};
|
|
11270
11286
|
});
|
|
11271
11287
|
|
|
11272
|
-
var _excluded$
|
|
11288
|
+
var _excluded$B = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
|
|
11273
11289
|
var OptionList = function OptionList(_ref) {
|
|
11274
11290
|
var keyExtractor = _ref.keyExtractor,
|
|
11275
11291
|
loading = _ref.loading,
|
|
@@ -11280,7 +11296,7 @@ var OptionList = function OptionList(_ref) {
|
|
|
11280
11296
|
renderOption = _ref.renderOption,
|
|
11281
11297
|
value = _ref.value,
|
|
11282
11298
|
sectionListRef = _ref.sectionListRef,
|
|
11283
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11299
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
11284
11300
|
var renderItem = function renderItem(info) {
|
|
11285
11301
|
var item = info.item;
|
|
11286
11302
|
var selected = _deepCompareValue(item.value, value);
|
|
@@ -11316,7 +11332,7 @@ var OptionList = function OptionList(_ref) {
|
|
|
11316
11332
|
}, rest));
|
|
11317
11333
|
};
|
|
11318
11334
|
|
|
11319
|
-
var _excluded$
|
|
11335
|
+
var _excluded$A = ["label", "loading", "inputProps", "onConfirm", "onDismiss", "onEndReached", "onQueryChange", "options", "renderOption", "renderSelectedValue", "query", "error", "editable", "disabled", "required", "style", "testID", "value", "supportedOrientations", "bottomSheetConfig", "groupStyleEnabled"];
|
|
11320
11336
|
|
|
11321
11337
|
// Add an internal prop type for TextInputComponent, not exported
|
|
11322
11338
|
|
|
@@ -11349,7 +11365,7 @@ var SingleSelect$1 = function SingleSelect(_ref) {
|
|
|
11349
11365
|
bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi,
|
|
11350
11366
|
_ref$groupStyleEnable = _ref.groupStyleEnabled,
|
|
11351
11367
|
groupStyleEnabled = _ref$groupStyleEnable === void 0 ? false : _ref$groupStyleEnable,
|
|
11352
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11368
|
+
rest = _objectWithoutProperties(_ref, _excluded$A);
|
|
11353
11369
|
var _useKeyboard = useKeyboard(),
|
|
11354
11370
|
isKeyboardVisible = _useKeyboard.isKeyboardVisible,
|
|
11355
11371
|
keyboardHeight = _useKeyboard.keyboardHeight;
|
|
@@ -14988,13 +15004,13 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
|
|
|
14988
15004
|
}));
|
|
14989
15005
|
};
|
|
14990
15006
|
|
|
14991
|
-
var _excluded$
|
|
15007
|
+
var _excluded$z = ["variant", "TextInputComponent"];
|
|
14992
15008
|
var DatePicker$1 = function DatePicker(_ref) {
|
|
14993
15009
|
var _ref$variant = _ref.variant,
|
|
14994
15010
|
variant = _ref$variant === void 0 ? 'default' : _ref$variant,
|
|
14995
15011
|
_ref$TextInputCompone = _ref.TextInputComponent,
|
|
14996
15012
|
TextInputComponent = _ref$TextInputCompone === void 0 ? TextInput$1 : _ref$TextInputCompone,
|
|
14997
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15013
|
+
props = _objectWithoutProperties(_ref, _excluded$z);
|
|
14998
15014
|
if (variant === 'calendar') {
|
|
14999
15015
|
return /*#__PURE__*/React__namespace.default.createElement(DatePickerCalendar, _extends$1({}, props, {
|
|
15000
15016
|
TextInputComponent: TextInputComponent
|
|
@@ -15352,7 +15368,7 @@ var AccordionItem = function AccordionItem(_ref) {
|
|
|
15352
15368
|
}, content));
|
|
15353
15369
|
};
|
|
15354
15370
|
|
|
15355
|
-
var _excluded$
|
|
15371
|
+
var _excluded$y = ["key"];
|
|
15356
15372
|
var Accordion = function Accordion(_ref) {
|
|
15357
15373
|
var items = _ref.items,
|
|
15358
15374
|
activeItemKey = _ref.activeItemKey,
|
|
@@ -15375,7 +15391,7 @@ var Accordion = function Accordion(_ref) {
|
|
|
15375
15391
|
accessible: accessible
|
|
15376
15392
|
}, items.map(function (_ref2, index) {
|
|
15377
15393
|
var key = _ref2.key,
|
|
15378
|
-
props = _objectWithoutProperties(_ref2, _excluded$
|
|
15394
|
+
props = _objectWithoutProperties(_ref2, _excluded$y);
|
|
15379
15395
|
var open = _activeItemKey === key;
|
|
15380
15396
|
return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, {
|
|
15381
15397
|
key: key
|
|
@@ -16300,7 +16316,7 @@ var StyledIcon$4 = index$c(Icon)(function (_ref6) {
|
|
|
16300
16316
|
};
|
|
16301
16317
|
});
|
|
16302
16318
|
|
|
16303
|
-
var _excluded$
|
|
16319
|
+
var _excluded$x = ["children", "visible", "intent", "style", "testID"];
|
|
16304
16320
|
var Status$1 = function Status(_ref) {
|
|
16305
16321
|
var children = _ref.children,
|
|
16306
16322
|
_ref$visible = _ref.visible,
|
|
@@ -16309,7 +16325,7 @@ var Status$1 = function Status(_ref) {
|
|
|
16309
16325
|
intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
|
|
16310
16326
|
style = _ref.style,
|
|
16311
16327
|
testID = _ref.testID,
|
|
16312
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
16328
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$x);
|
|
16313
16329
|
var _React$useRef = React__namespace.default.useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
|
|
16314
16330
|
opacity = _React$useRef.current;
|
|
16315
16331
|
var isFirstRendering = React__namespace.default.useRef(true);
|
|
@@ -16345,7 +16361,7 @@ var Status$1 = function Status(_ref) {
|
|
|
16345
16361
|
|
|
16346
16362
|
var DEFAULT_MAX_NUMBER = 99;
|
|
16347
16363
|
|
|
16348
|
-
var _excluded$
|
|
16364
|
+
var _excluded$w = ["children", "visible", "style", "max", "testID", "content"];
|
|
16349
16365
|
var Status = function Status(_ref) {
|
|
16350
16366
|
var children = _ref.children,
|
|
16351
16367
|
_ref$visible = _ref.visible,
|
|
@@ -16355,7 +16371,7 @@ var Status = function Status(_ref) {
|
|
|
16355
16371
|
max = _ref$max === void 0 ? DEFAULT_MAX_NUMBER : _ref$max,
|
|
16356
16372
|
testID = _ref.testID,
|
|
16357
16373
|
originalContent = _ref.content,
|
|
16358
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
16374
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$w);
|
|
16359
16375
|
var content = React.useMemo(function () {
|
|
16360
16376
|
return originalContent > max ? "".concat(max, "+") : String(originalContent);
|
|
16361
16377
|
}, [originalContent, max]);
|
|
@@ -16367,7 +16383,7 @@ var Status = function Status(_ref) {
|
|
|
16367
16383
|
}, /*#__PURE__*/React__namespace.default.createElement(StyledCountText, null, content)));
|
|
16368
16384
|
};
|
|
16369
16385
|
|
|
16370
|
-
var _excluded$
|
|
16386
|
+
var _excluded$v = ["content", "visible", "max", "intent", "style", "testID", "size", "variant", "icon"];
|
|
16371
16387
|
var getPaddingState = function getPaddingState(content) {
|
|
16372
16388
|
return content.length > 1 ? 'wideContent' : 'narrowContent';
|
|
16373
16389
|
};
|
|
@@ -16386,7 +16402,7 @@ var Badge = function Badge(_ref) {
|
|
|
16386
16402
|
_ref$variant = _ref.variant,
|
|
16387
16403
|
variant = _ref$variant === void 0 ? 'filled' : _ref$variant,
|
|
16388
16404
|
icon = _ref.icon,
|
|
16389
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
16405
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$v);
|
|
16390
16406
|
var _React$useRef = React__namespace.default.useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
|
|
16391
16407
|
opacity = _React$useRef.current;
|
|
16392
16408
|
var isFirstRendering = React__namespace.default.useRef(true);
|
|
@@ -16485,7 +16501,7 @@ var StyledBottomBarText = index$c(Typography.Label)(function (_ref3) {
|
|
|
16485
16501
|
};
|
|
16486
16502
|
});
|
|
16487
16503
|
|
|
16488
|
-
var _excluded$
|
|
16504
|
+
var _excluded$u = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
|
|
16489
16505
|
var getInactiveIcon = function getInactiveIcon(icon) {
|
|
16490
16506
|
var inactiveIcon = "".concat(icon, "-outlined");
|
|
16491
16507
|
return isHeroIcon(inactiveIcon) ? inactiveIcon : icon;
|
|
@@ -16496,7 +16512,7 @@ var BottomNavigation = function BottomNavigation(_ref) {
|
|
|
16496
16512
|
renderActiveTabOnly = _ref$renderActiveTabO === void 0 ? false : _ref$renderActiveTabO,
|
|
16497
16513
|
selectedTabKey = _ref.selectedTabKey,
|
|
16498
16514
|
tabs = _ref.tabs,
|
|
16499
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
16515
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$u);
|
|
16500
16516
|
var insets = reactNativeSafeAreaContext.useSafeAreaInsets();
|
|
16501
16517
|
|
|
16502
16518
|
/**
|
|
@@ -16589,12 +16605,12 @@ var Indicator = index$c(reactNative.View)(function (_ref3) {
|
|
|
16589
16605
|
};
|
|
16590
16606
|
});
|
|
16591
16607
|
|
|
16592
|
-
var _excluded$
|
|
16608
|
+
var _excluded$t = ["intent", "children"];
|
|
16593
16609
|
var DataCard = function DataCard(_ref) {
|
|
16594
16610
|
var _ref$intent = _ref.intent,
|
|
16595
16611
|
intent = _ref$intent === void 0 ? 'info' : _ref$intent,
|
|
16596
16612
|
children = _ref.children,
|
|
16597
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
16613
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$t);
|
|
16598
16614
|
return /*#__PURE__*/React__namespace.default.createElement(StyledDataCard, nativeProps, /*#__PURE__*/React__namespace.default.createElement(Indicator, {
|
|
16599
16615
|
themeIntent: intent,
|
|
16600
16616
|
testID: "data-card-indicator"
|
|
@@ -16613,13 +16629,13 @@ var StyledCard$1 = index$c(reactNative.View)(function (_ref) {
|
|
|
16613
16629
|
});
|
|
16614
16630
|
});
|
|
16615
16631
|
|
|
16616
|
-
var _excluded$
|
|
16632
|
+
var _excluded$s = ["intent", "children", "variant"];
|
|
16617
16633
|
var Card = function Card(_ref) {
|
|
16618
16634
|
var intent = _ref.intent,
|
|
16619
16635
|
children = _ref.children,
|
|
16620
16636
|
_ref$variant = _ref.variant,
|
|
16621
16637
|
variant = _ref$variant === void 0 ? 'basic' : _ref$variant,
|
|
16622
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
16638
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$s);
|
|
16623
16639
|
return /*#__PURE__*/React__namespace.default.createElement(StyledCard$1, _extends$1({}, nativeProps, {
|
|
16624
16640
|
themeIntent: intent,
|
|
16625
16641
|
themeVariant: variant
|
|
@@ -16888,7 +16904,7 @@ var CardCarousel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
16888
16904
|
});
|
|
16889
16905
|
CardCarousel.displayName = 'CardCarousel';
|
|
16890
16906
|
|
|
16891
|
-
var _excluded$
|
|
16907
|
+
var _excluded$r = ["rounded", "size", "testID", "style"];
|
|
16892
16908
|
/**
|
|
16893
16909
|
* @deprecated Image component will soon be deprecated. Please use `Image` from `react-native` instead.
|
|
16894
16910
|
*/
|
|
@@ -16899,7 +16915,7 @@ var Image = function Image(_ref) {
|
|
|
16899
16915
|
size = _ref$size === void 0 ? '6xlarge' : _ref$size,
|
|
16900
16916
|
testID = _ref.testID,
|
|
16901
16917
|
style = _ref.style,
|
|
16902
|
-
imageNativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
16918
|
+
imageNativeProps = _objectWithoutProperties(_ref, _excluded$r);
|
|
16903
16919
|
useDeprecation('Image component will soon be deprecated. Please use `Image` from `react-native` instead.');
|
|
16904
16920
|
var theme = useTheme();
|
|
16905
16921
|
var imageSize = theme.__hd__.image.sizes[size];
|
|
@@ -17034,7 +17050,7 @@ var CarouselItem = function CarouselItem(_ref) {
|
|
|
17034
17050
|
}, heading), !!body && /*#__PURE__*/React__namespace.default.createElement(Typography.Body, null, body)));
|
|
17035
17051
|
};
|
|
17036
17052
|
|
|
17037
|
-
var _excluded$
|
|
17053
|
+
var _excluded$q = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "testID", "pageControlPosition"];
|
|
17038
17054
|
function useStateFromProp(initialValue) {
|
|
17039
17055
|
var _useState = React.useState(initialValue),
|
|
17040
17056
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -17061,7 +17077,7 @@ var Carousel = function Carousel(_ref) {
|
|
|
17061
17077
|
testID = _ref.testID,
|
|
17062
17078
|
_ref$pageControlPosit = _ref.pageControlPosition,
|
|
17063
17079
|
pageControlPosition = _ref$pageControlPosit === void 0 ? 'top' : _ref$pageControlPosit,
|
|
17064
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
17080
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$q);
|
|
17065
17081
|
useDeprecation("shouldShowPagination prop has been deprecated", shouldShowPagination !== noop$1);
|
|
17066
17082
|
useDeprecation("The use of 'pageControlPosition == bottom' has been deprecated", pageControlPosition === 'bottom');
|
|
17067
17083
|
var theme = useTheme();
|
|
@@ -22201,7 +22217,7 @@ var StyledChipIcon = index$c(Icon)(function (_ref2) {
|
|
|
22201
22217
|
};
|
|
22202
22218
|
});
|
|
22203
22219
|
|
|
22204
|
-
var _excluded$
|
|
22220
|
+
var _excluded$p = ["label", "variant", "selected", "icon", "onPress", "showSelectedIcon", "accessible"];
|
|
22205
22221
|
|
|
22206
22222
|
/**
|
|
22207
22223
|
* @deprecated Use 'selection' | 'filter' | 'compact' | 'compact-outlined' instead.
|
|
@@ -22240,7 +22256,7 @@ var Chip = function Chip(_ref) {
|
|
|
22240
22256
|
_ref$showSelectedIcon = _ref.showSelectedIcon,
|
|
22241
22257
|
showSelectedIcon = _ref$showSelectedIcon === void 0 ? true : _ref$showSelectedIcon,
|
|
22242
22258
|
accessible = _ref.accessible,
|
|
22243
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
22259
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$p);
|
|
22244
22260
|
useDeprecation('Chip variant `outlined` and `filled` are deprecated.', variant === 'outlined' || variant === 'filled');
|
|
22245
22261
|
var renamedVariant = getChipVariant(variant);
|
|
22246
22262
|
var shouldShowSelectedIcon = (renamedVariant === 'selection' || renamedVariant === 'compact-outlined') && selected && showSelectedIcon;
|
|
@@ -24509,7 +24525,7 @@ var StyledErrorDescription = index$c(Typography.Body)(function (_ref10) {
|
|
|
24509
24525
|
};
|
|
24510
24526
|
});
|
|
24511
24527
|
|
|
24512
|
-
var _excluded$
|
|
24528
|
+
var _excluded$o = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress", "icon"],
|
|
24513
24529
|
_excluded2$1 = ["visible", "variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
|
|
24514
24530
|
var renderImage$1 = function renderImage(image) {
|
|
24515
24531
|
if (/*#__PURE__*/React.isValidElement(image)) {
|
|
@@ -24550,7 +24566,7 @@ var ErrorPage = function ErrorPage(_ref2) {
|
|
|
24550
24566
|
secondaryCtaText = _ref2.secondaryCtaText,
|
|
24551
24567
|
onSecondaryCtaPress = _ref2.onSecondaryCtaPress,
|
|
24552
24568
|
icon = _ref2.icon,
|
|
24553
|
-
nativeProps = _objectWithoutProperties(_ref2, _excluded$
|
|
24569
|
+
nativeProps = _objectWithoutProperties(_ref2, _excluded$o);
|
|
24554
24570
|
var showCta = ctaText && onCtaPress !== undefined;
|
|
24555
24571
|
var showSecondaryCta = secondaryCtaText && onSecondaryCtaPress !== undefined;
|
|
24556
24572
|
var showButtonContainer = showCta || showSecondaryCta;
|
|
@@ -24777,13 +24793,13 @@ var ActionItem = function ActionItem(_ref) {
|
|
|
24777
24793
|
})), /*#__PURE__*/React__namespace.default.createElement(StyledActionItemText, null, title))));
|
|
24778
24794
|
};
|
|
24779
24795
|
|
|
24780
|
-
var _excluded$
|
|
24796
|
+
var _excluded$n = ["active"];
|
|
24781
24797
|
var AnimatedIcons = reactNative.Animated.createAnimatedComponent(/*#__PURE__*/React__namespace.default.forwardRef(function (props, _) {
|
|
24782
24798
|
return /*#__PURE__*/React__namespace.default.createElement(StyledFABIcon, props);
|
|
24783
24799
|
}));
|
|
24784
24800
|
var AnimatedFABIcon = function AnimatedFABIcon(_ref) {
|
|
24785
24801
|
var active = _ref.active,
|
|
24786
|
-
iconProps = _objectWithoutProperties(_ref, _excluded$
|
|
24802
|
+
iconProps = _objectWithoutProperties(_ref, _excluded$n);
|
|
24787
24803
|
var rotateAnimation = React.useRef(new reactNative.Animated.Value(active ? 1 : 0));
|
|
24788
24804
|
React.useEffect(function () {
|
|
24789
24805
|
var animation = reactNative.Animated.spring(rotateAnimation.current, {
|
|
@@ -25141,11 +25157,11 @@ var StyledFAB = index$c(FAB$1)(function (_ref) {
|
|
|
25141
25157
|
};
|
|
25142
25158
|
});
|
|
25143
25159
|
|
|
25144
|
-
var _excluded$
|
|
25160
|
+
var _excluded$m = ["fabConfig", "onCancel"];
|
|
25145
25161
|
var Pair = function Pair(_ref) {
|
|
25146
25162
|
var fabConfig = _ref.fabConfig,
|
|
25147
25163
|
onCancel = _ref.onCancel,
|
|
25148
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
25164
|
+
props = _objectWithoutProperties(_ref, _excluded$m);
|
|
25149
25165
|
var icon = fabConfig.icon,
|
|
25150
25166
|
title = fabConfig.title,
|
|
25151
25167
|
onPress = fabConfig.onPress,
|
|
@@ -25875,11 +25891,11 @@ var StyledFocusIcon = index$c(Icon)(function (_ref7) {
|
|
|
25875
25891
|
};
|
|
25876
25892
|
});
|
|
25877
25893
|
|
|
25878
|
-
var _excluded$
|
|
25894
|
+
var _excluded$l = ["style", "testID"];
|
|
25879
25895
|
var MapPinFocussed = function MapPinFocussed(_ref) {
|
|
25880
25896
|
var style = _ref.style,
|
|
25881
25897
|
testID = _ref.testID,
|
|
25882
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
25898
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$l);
|
|
25883
25899
|
return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$4, _extends$1({}, nativeProps, {
|
|
25884
25900
|
style: style,
|
|
25885
25901
|
testID: testID
|
|
@@ -25889,7 +25905,7 @@ var MapPinFocussed = function MapPinFocussed(_ref) {
|
|
|
25889
25905
|
}));
|
|
25890
25906
|
};
|
|
25891
25907
|
|
|
25892
|
-
var _excluded$
|
|
25908
|
+
var _excluded$k = ["style", "testID", "state", "image", "icon"];
|
|
25893
25909
|
var getBadgeIconName = function getBadgeIconName(state) {
|
|
25894
25910
|
var iconMap = {
|
|
25895
25911
|
idle: undefined,
|
|
@@ -25905,7 +25921,7 @@ var MapPin = function MapPin(_ref) {
|
|
|
25905
25921
|
state = _ref$state === void 0 ? 'idle' : _ref$state,
|
|
25906
25922
|
image = _ref.image,
|
|
25907
25923
|
icon = _ref.icon,
|
|
25908
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
25924
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$k);
|
|
25909
25925
|
var badgeIcon = getBadgeIconName(state);
|
|
25910
25926
|
return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$4, _extends$1({}, nativeProps, {
|
|
25911
25927
|
style: style,
|
|
@@ -26227,7 +26243,7 @@ var THEME_INTENT_MAP = {
|
|
|
26227
26243
|
'archived-inverted': 'archivedInverted'
|
|
26228
26244
|
};
|
|
26229
26245
|
|
|
26230
|
-
var _excluded$
|
|
26246
|
+
var _excluded$j = ["value", "renderValue", "intent", "style", "testID"];
|
|
26231
26247
|
var defaultRenderValue = function defaultRenderValue(value) {
|
|
26232
26248
|
return "".concat(value, "%");
|
|
26233
26249
|
};
|
|
@@ -26240,7 +26256,7 @@ var ProgressCircle = function ProgressCircle(_ref) {
|
|
|
26240
26256
|
intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
|
|
26241
26257
|
style = _ref.style,
|
|
26242
26258
|
testID = _ref.testID,
|
|
26243
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
26259
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$j);
|
|
26244
26260
|
var theme = useTheme$1();
|
|
26245
26261
|
var size = theme.__hd__.progress.sizes.circleDiameter;
|
|
26246
26262
|
var strokeWidth = theme.__hd__.progress.sizes.circleCompletenessHeight;
|
|
@@ -26311,14 +26327,14 @@ var StyledInner = index$c(reactNative.Animated.View)(function (_ref2) {
|
|
|
26311
26327
|
};
|
|
26312
26328
|
});
|
|
26313
26329
|
|
|
26314
|
-
var _excluded$
|
|
26330
|
+
var _excluded$i = ["value", "intent", "style", "testID"];
|
|
26315
26331
|
var ProgressBar = function ProgressBar(_ref) {
|
|
26316
26332
|
var value = _ref.value,
|
|
26317
26333
|
_ref$intent = _ref.intent,
|
|
26318
26334
|
intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
|
|
26319
26335
|
style = _ref.style,
|
|
26320
26336
|
testID = _ref.testID,
|
|
26321
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
26337
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$i);
|
|
26322
26338
|
var _useState = React.useState(0),
|
|
26323
26339
|
_useState2 = _slicedToArray(_useState, 2),
|
|
26324
26340
|
width = _useState2[0],
|
|
@@ -26408,7 +26424,7 @@ var StyledSingleStep = index$c(Box)(function (_ref3) {
|
|
|
26408
26424
|
};
|
|
26409
26425
|
});
|
|
26410
26426
|
|
|
26411
|
-
var _excluded$
|
|
26427
|
+
var _excluded$h = ["steps", "current", "onLayout"];
|
|
26412
26428
|
var getStepState = function getStepState(current, index) {
|
|
26413
26429
|
if (index < current) {
|
|
26414
26430
|
return 'complete';
|
|
@@ -26422,7 +26438,7 @@ var ProgressStep = function ProgressStep(_ref) {
|
|
|
26422
26438
|
var steps = _ref.steps,
|
|
26423
26439
|
current = _ref.current,
|
|
26424
26440
|
onLayout = _ref.onLayout,
|
|
26425
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
26441
|
+
props = _objectWithoutProperties(_ref, _excluded$h);
|
|
26426
26442
|
var theme = useTheme$1();
|
|
26427
26443
|
var _React$useState = React__namespace.default.useState(0),
|
|
26428
26444
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -26458,9 +26474,375 @@ var ProgressStep = function ProgressStep(_ref) {
|
|
|
26458
26474
|
}));
|
|
26459
26475
|
};
|
|
26460
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
|
+
|
|
26461
26842
|
var Progress = {
|
|
26462
26843
|
Circle: ProgressCircle,
|
|
26463
26844
|
Bar: ProgressBar,
|
|
26845
|
+
SegmentedBar: ProgressSegmentedBar,
|
|
26464
26846
|
Step: ProgressStep
|
|
26465
26847
|
};
|
|
26466
26848
|
|
|
@@ -27903,7 +28285,8 @@ var ScrollableTab = function ScrollableTab(_ref) {
|
|
|
27903
28285
|
swipeEnabled = _ref$swipeEnabled === void 0 ? true : _ref$swipeEnabled,
|
|
27904
28286
|
componentTestID = _ref.testID,
|
|
27905
28287
|
_ref$variant = _ref.variant,
|
|
27906
|
-
variant = _ref$variant === void 0 ? 'highlighted' : _ref$variant
|
|
28288
|
+
variant = _ref$variant === void 0 ? 'highlighted' : _ref$variant,
|
|
28289
|
+
header = _ref.header;
|
|
27907
28290
|
var pagerViewRef = React.useRef(null);
|
|
27908
28291
|
var insets = reactNativeSafeAreaContext.useSafeAreaInsets();
|
|
27909
28292
|
var selectedTabIndex = tabs.findIndex(function (item) {
|
|
@@ -27934,20 +28317,23 @@ var ScrollableTab = function ScrollableTab(_ref) {
|
|
|
27934
28317
|
selectedTabKey: selectedTabKey
|
|
27935
28318
|
};
|
|
27936
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]);
|
|
27937
28331
|
return /*#__PURE__*/React__namespace.default.createElement(TabContext.Provider, {
|
|
27938
28332
|
value: tabContextProviderValue
|
|
27939
28333
|
}, /*#__PURE__*/React__namespace.default.createElement(TabContainer, {
|
|
27940
28334
|
style: containerStyle,
|
|
27941
28335
|
testID: componentTestID
|
|
27942
|
-
}, /*#__PURE__*/React__namespace.default.createElement(ScrollableTabHeader, {
|
|
27943
|
-
tabs: tabs,
|
|
27944
|
-
selectedIndex: selectedTabIndex,
|
|
27945
|
-
onTabPress: onTabPress,
|
|
27946
|
-
barStyle: barStyle,
|
|
27947
|
-
insets: insets,
|
|
27948
|
-
testID: componentTestID ? "".concat(componentTestID, "-tab-bar") : undefined,
|
|
27949
|
-
variant: variant
|
|
27950
|
-
}), /*#__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, {
|
|
27951
28337
|
initialPage: selectedTabIndex,
|
|
27952
28338
|
ref: pagerViewRef,
|
|
27953
28339
|
onPageScrollStateChanged: onPageScrollStateChanged,
|
|
@@ -28124,6 +28510,7 @@ var Tabs = function Tabs(_ref2) {
|
|
|
28124
28510
|
};
|
|
28125
28511
|
var index$4 = Object.assign(Tabs, {
|
|
28126
28512
|
Scroll: ScrollableTab,
|
|
28513
|
+
ScrollHeader: ScrollableTabHeader,
|
|
28127
28514
|
useIsFocused: useIsFocused
|
|
28128
28515
|
});
|
|
28129
28516
|
|