@hero-design/rn 8.5.0-alpha.0 → 8.6.0
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/.turbo/turbo-build.log +9 -66
- package/.turbo/turbo-publish:npm.log +0 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +641 -719
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +641 -718
- package/package.json +7 -5
- package/rollup.config.js +1 -0
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +1 -0
- package/src/components/Swipeable/StyledSwipeable.tsx +2 -14
- package/src/components/Swipeable/SwipeableAction.tsx +7 -15
- package/src/components/Swipeable/index.tsx +136 -531
- package/src/components/SwipeableV2/StyledSwipeable.tsx +14 -0
- package/src/components/SwipeableV2/__tests__/__snapshots__/index.spec.tsx.snap +161 -0
- package/src/components/SwipeableV2/__tests__/index.spec.tsx +48 -0
- package/src/components/SwipeableV2/index.tsx +364 -0
- package/src/index.ts +2 -0
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/Icon/utils.d.ts +1 -1
- package/types/components/Select/BaseOptionList.d.ts +4 -8
- package/types/components/Select/MultiSelect/OptionList.d.ts +4 -7
- package/types/components/Select/SingleSelect/OptionList.d.ts +4 -4
- package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +1 -1
- package/types/components/Swipeable/StyledSwipeable.d.ts +2 -15
- package/types/components/Swipeable/SwipeableAction.d.ts +6 -10
- package/types/components/Swipeable/index.d.ts +41 -24
- package/types/components/SwipeableV2/StyledSwipeable.d.ts +15 -0
- package/types/components/SwipeableV2/index.d.ts +46 -0
- package/types/components/Toolbar/index.d.ts +3 -2
- package/types/index.d.ts +2 -1
- package/src/components/Swipeable/Buttons.tsx +0 -65
- package/types/components/Swipeable/Buttons.d.ts +0 -15
package/es/index.js
CHANGED
|
@@ -5,6 +5,7 @@ import { createIconSet } from 'react-native-vector-icons';
|
|
|
5
5
|
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
6
6
|
import DateTimePicker from '@react-native-community/datetimepicker';
|
|
7
7
|
import RnSlider from '@react-native-community/slider';
|
|
8
|
+
import { RectButton, GestureHandlerRootView, Swipeable as Swipeable$1 } from 'react-native-gesture-handler';
|
|
8
9
|
import PagerView from 'react-native-pager-view';
|
|
9
10
|
import { EventEmitter } from 'events';
|
|
10
11
|
import { WebView } from 'react-native-webview';
|
|
@@ -1819,7 +1820,7 @@ var getCarouselTheme = function getCarouselTheme(theme) {
|
|
|
1819
1820
|
paginatorBorderRadius: theme.radii.rounded
|
|
1820
1821
|
};
|
|
1821
1822
|
var fontSizes = {
|
|
1822
|
-
heading: theme.fontSizes['
|
|
1823
|
+
heading: theme.fontSizes['xxxxxlarge']
|
|
1823
1824
|
};
|
|
1824
1825
|
var fonts = {
|
|
1825
1826
|
heading: theme.fonts.playful.semiBold
|
|
@@ -5746,7 +5747,7 @@ var StyledText$3 = index$a(Text$1)(function (_ref) {
|
|
|
5746
5747
|
});
|
|
5747
5748
|
});
|
|
5748
5749
|
|
|
5749
|
-
var _excluded$
|
|
5750
|
+
var _excluded$q = ["children", "fontSize", "fontWeight", "intent", "typeface"];
|
|
5750
5751
|
var Text = function Text(_ref) {
|
|
5751
5752
|
var children = _ref.children,
|
|
5752
5753
|
_ref$fontSize = _ref.fontSize,
|
|
@@ -5757,7 +5758,7 @@ var Text = function Text(_ref) {
|
|
|
5757
5758
|
intent = _ref$intent === void 0 ? 'body' : _ref$intent,
|
|
5758
5759
|
_ref$typeface = _ref.typeface,
|
|
5759
5760
|
typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
|
|
5760
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
5761
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$q);
|
|
5761
5762
|
return /*#__PURE__*/React.createElement(StyledText$3, _extends$1({}, nativeProps, {
|
|
5762
5763
|
themeFontSize: fontSize,
|
|
5763
5764
|
themeFontWeight: fontWeight,
|
|
@@ -5771,7 +5772,7 @@ var Typography = {
|
|
|
5771
5772
|
};
|
|
5772
5773
|
|
|
5773
5774
|
// 🔴 DO NOT EDIT — This file is generated automatically.
|
|
5774
|
-
var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bookmark', 'box-check', 'box', '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', 'double-buildings', 'edit-template', 'envelope', 'expense', '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', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'home', 'image', 'import', 'incident-siren', 'instapay', 'list', 'loading-2', 'loading', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'node', 'open-folder', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane', 'play-circle', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rostering', 'save', 'schedule-send', 'schedule', 'search-person', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'survey', 'swag', 'switch', 'tag', 'target', 'teams', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'at-sign', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bookmark-added-outlined', 'bookmark-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'camera-outlined', 'cancel', '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-outlined', 'cog-outlined', 'coin-outlined', 'comment-outlined', 'contacts-outlined', 'credit-card-outlined', 'cup-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-outlined', 'edit-template-outlined', 'email-outlined', 'enter-arrow', 'envelope-outlined', 'expense-outlined', 'explore-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-verified-outlined', 'filter-outlined', 'folder-outlined', 'folder-user-outlined', 'funnel-filter-outline', 'graph-outlined', 'hand-holding-user-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'print-outlined', 'qr-code-outlined', 'qualification-outlined', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'return-arrow', 'rostering-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'speaker-active-outlined', 'speaker-outlined', 'star-outlined', 'stopwatch-outlined', 'strikethrough', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'target-outlined', 'timesheet-outlined', 'today-outlined', 'transfer', 'trash-bin-outlined', 'umbrela-outlined', 'unavailable', 'underline', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'wallet-outlined'];
|
|
5775
|
+
var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bookmark-added', 'bookmark', 'box-check', 'box', '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', 'double-buildings', 'edit-template', 'envelope', 'expense', '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', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'home', 'image', 'import', 'incident-siren', 'instapay', 'list', 'loading-2', 'loading', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'node', 'open-folder', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane', 'play-circle', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rostering', 'save', 'schedule-send', 'schedule', 'search-person', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-circle', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'survey', 'swag', 'switch', 'tag', 'target', 'teams', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'at-sign', 'auto-graph-outlined', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bookmark-added-outlined', 'bookmark-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'camera-outlined', 'cancel', '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-outlined', 'cog-outlined', 'coin-outlined', 'comment-outlined', 'contacts-outlined', 'credit-card-outlined', 'cup-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-outlined', 'edit-template-outlined', 'email-outlined', 'enter-arrow', 'envelope-outlined', 'expense-outlined', 'explore-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-statutory-outlined', 'file-verified-outlined', 'filter-outlined', 'folder-outlined', 'folder-user-outlined', 'funnel-filter-outline', 'graph-outlined', 'hand-holding-user-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'print-outlined', 'qr-code-outlined', 'qualification-outlined', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'return-arrow', 'rostering-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'stopwatch-outlined', 'strikethrough', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'target-outlined', 'timesheet-outlined', 'today-outlined', 'transfer', 'trash-bin-outlined', 'umbrela-outlined', 'unavailable', 'underline', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'wallet-outlined'];
|
|
5775
5776
|
|
|
5776
5777
|
var activate = 59000;
|
|
5777
5778
|
var adjustment = 59003;
|
|
@@ -5781,81 +5782,81 @@ var archive = 59006;
|
|
|
5781
5782
|
var bank = 59008;
|
|
5782
5783
|
var bell = 59009;
|
|
5783
5784
|
var billing = 59010;
|
|
5784
|
-
var bookmark =
|
|
5785
|
-
var box =
|
|
5786
|
-
var buildings =
|
|
5787
|
-
var cake =
|
|
5788
|
-
var calendar =
|
|
5789
|
-
var clock =
|
|
5790
|
-
var cog =
|
|
5791
|
-
var coin =
|
|
5792
|
-
var contacts =
|
|
5793
|
-
var diamond =
|
|
5794
|
-
var directory =
|
|
5795
|
-
var document$1 =
|
|
5796
|
-
var envelope =
|
|
5797
|
-
var expense =
|
|
5798
|
-
var eye =
|
|
5799
|
-
var feed =
|
|
5800
|
-
var feedbacks =
|
|
5801
|
-
var file =
|
|
5802
|
-
var filter =
|
|
5803
|
-
var folder =
|
|
5804
|
-
var globe =
|
|
5805
|
-
var graph =
|
|
5806
|
-
var heart =
|
|
5807
|
-
var home =
|
|
5808
|
-
var image =
|
|
5809
|
-
var instapay =
|
|
5810
|
-
var list =
|
|
5811
|
-
var loading =
|
|
5812
|
-
var location =
|
|
5813
|
-
var lock =
|
|
5814
|
-
var menu =
|
|
5815
|
-
var moneybag =
|
|
5816
|
-
var moon =
|
|
5817
|
-
var node =
|
|
5818
|
-
var paperclip =
|
|
5819
|
-
var pencil =
|
|
5820
|
-
var phone =
|
|
5821
|
-
var plane =
|
|
5822
|
-
var print =
|
|
5823
|
-
var reply =
|
|
5824
|
-
var reschedule =
|
|
5825
|
-
var rostering =
|
|
5826
|
-
var save =
|
|
5827
|
-
var schedule =
|
|
5828
|
-
var send =
|
|
5829
|
-
var speaker =
|
|
5830
|
-
var star =
|
|
5831
|
-
var stopwatch =
|
|
5832
|
-
var suitcase =
|
|
5833
|
-
var survey =
|
|
5834
|
-
var swag =
|
|
5835
|
-
var tag =
|
|
5836
|
-
var target =
|
|
5837
|
-
var teams =
|
|
5838
|
-
var timesheet =
|
|
5839
|
-
var unlock =
|
|
5840
|
-
var user =
|
|
5841
|
-
var wallet =
|
|
5842
|
-
var warning =
|
|
5843
|
-
var add =
|
|
5844
|
-
var bold =
|
|
5845
|
-
var cancel =
|
|
5846
|
-
var checkmark =
|
|
5847
|
-
var italic =
|
|
5848
|
-
var number =
|
|
5849
|
-
var percentage =
|
|
5850
|
-
var redeem =
|
|
5851
|
-
var refresh =
|
|
5852
|
-
var remove =
|
|
5853
|
-
var restart =
|
|
5854
|
-
var strikethrough =
|
|
5855
|
-
var sync =
|
|
5856
|
-
var transfer =
|
|
5857
|
-
var unavailable =
|
|
5858
|
-
var underline =
|
|
5785
|
+
var bookmark = 59012;
|
|
5786
|
+
var box = 59014;
|
|
5787
|
+
var buildings = 59015;
|
|
5788
|
+
var cake = 59016;
|
|
5789
|
+
var calendar = 59018;
|
|
5790
|
+
var clock = 59043;
|
|
5791
|
+
var cog = 59046;
|
|
5792
|
+
var coin = 59047;
|
|
5793
|
+
var contacts = 59048;
|
|
5794
|
+
var diamond = 59050;
|
|
5795
|
+
var directory = 59052;
|
|
5796
|
+
var document$1 = 59053;
|
|
5797
|
+
var envelope = 59057;
|
|
5798
|
+
var expense = 59058;
|
|
5799
|
+
var eye = 59061;
|
|
5800
|
+
var feed = 59065;
|
|
5801
|
+
var feedbacks = 59066;
|
|
5802
|
+
var file = 59084;
|
|
5803
|
+
var filter = 59085;
|
|
5804
|
+
var folder = 59087;
|
|
5805
|
+
var globe = 59097;
|
|
5806
|
+
var graph = 59099;
|
|
5807
|
+
var heart = 59102;
|
|
5808
|
+
var home = 59103;
|
|
5809
|
+
var image = 59104;
|
|
5810
|
+
var instapay = 59107;
|
|
5811
|
+
var list = 59108;
|
|
5812
|
+
var loading = 59110;
|
|
5813
|
+
var location = 59111;
|
|
5814
|
+
var lock = 59112;
|
|
5815
|
+
var menu = 59116;
|
|
5816
|
+
var moneybag = 59118;
|
|
5817
|
+
var moon = 59119;
|
|
5818
|
+
var node = 59122;
|
|
5819
|
+
var paperclip = 59124;
|
|
5820
|
+
var pencil = 59126;
|
|
5821
|
+
var phone = 59127;
|
|
5822
|
+
var plane = 59129;
|
|
5823
|
+
var print = 59131;
|
|
5824
|
+
var reply = 59134;
|
|
5825
|
+
var reschedule = 59135;
|
|
5826
|
+
var rostering = 59136;
|
|
5827
|
+
var save = 59137;
|
|
5828
|
+
var schedule = 59139;
|
|
5829
|
+
var send = 59141;
|
|
5830
|
+
var speaker = 59143;
|
|
5831
|
+
var star = 59148;
|
|
5832
|
+
var stopwatch = 59150;
|
|
5833
|
+
var suitcase = 59151;
|
|
5834
|
+
var survey = 59152;
|
|
5835
|
+
var swag = 59153;
|
|
5836
|
+
var tag = 59155;
|
|
5837
|
+
var target = 59156;
|
|
5838
|
+
var teams = 59157;
|
|
5839
|
+
var timesheet = 59158;
|
|
5840
|
+
var unlock = 59161;
|
|
5841
|
+
var user = 59162;
|
|
5842
|
+
var wallet = 59165;
|
|
5843
|
+
var warning = 59166;
|
|
5844
|
+
var add = 59172;
|
|
5845
|
+
var bold = 59193;
|
|
5846
|
+
var cancel = 59203;
|
|
5847
|
+
var checkmark = 59206;
|
|
5848
|
+
var italic = 59280;
|
|
5849
|
+
var number = 59303;
|
|
5850
|
+
var percentage = 59308;
|
|
5851
|
+
var redeem = 59317;
|
|
5852
|
+
var refresh = 59318;
|
|
5853
|
+
var remove = 59319;
|
|
5854
|
+
var restart = 59321;
|
|
5855
|
+
var strikethrough = 59342;
|
|
5856
|
+
var sync = 59347;
|
|
5857
|
+
var transfer = 59351;
|
|
5858
|
+
var unavailable = 59354;
|
|
5859
|
+
var underline = 59355;
|
|
5859
5860
|
var glyphMap = {
|
|
5860
5861
|
activate: activate,
|
|
5861
5862
|
"add-emoji": 59001,
|
|
@@ -5868,350 +5869,360 @@ var glyphMap = {
|
|
|
5868
5869
|
bank: bank,
|
|
5869
5870
|
bell: bell,
|
|
5870
5871
|
billing: billing,
|
|
5872
|
+
"bookmark-added": 59011,
|
|
5871
5873
|
bookmark: bookmark,
|
|
5872
|
-
"box-check":
|
|
5874
|
+
"box-check": 59013,
|
|
5873
5875
|
box: box,
|
|
5874
5876
|
buildings: buildings,
|
|
5875
5877
|
cake: cake,
|
|
5876
|
-
"calendar-clock":
|
|
5878
|
+
"calendar-clock": 59017,
|
|
5877
5879
|
calendar: calendar,
|
|
5878
|
-
"candy-box-menu":
|
|
5879
|
-
"caret-down-small":
|
|
5880
|
-
"caret-down":
|
|
5881
|
-
"caret-left-small":
|
|
5882
|
-
"caret-left":
|
|
5883
|
-
"caret-right-small":
|
|
5884
|
-
"caret-right":
|
|
5885
|
-
"caret-up-small":
|
|
5886
|
-
"caret-up":
|
|
5887
|
-
"check-radio":
|
|
5888
|
-
"circle-add":
|
|
5889
|
-
"circle-cancel":
|
|
5890
|
-
"circle-check":
|
|
5891
|
-
"circle-down":
|
|
5892
|
-
"circle-info":
|
|
5893
|
-
"circle-left":
|
|
5894
|
-
"circle-ok":
|
|
5895
|
-
"circle-pencil":
|
|
5896
|
-
"circle-question":
|
|
5897
|
-
"circle-remove":
|
|
5898
|
-
"circle-right":
|
|
5899
|
-
"circle-up":
|
|
5900
|
-
"circle-warning":
|
|
5901
|
-
"clock-3":
|
|
5880
|
+
"candy-box-menu": 59019,
|
|
5881
|
+
"caret-down-small": 59020,
|
|
5882
|
+
"caret-down": 59021,
|
|
5883
|
+
"caret-left-small": 59022,
|
|
5884
|
+
"caret-left": 59023,
|
|
5885
|
+
"caret-right-small": 59024,
|
|
5886
|
+
"caret-right": 59025,
|
|
5887
|
+
"caret-up-small": 59026,
|
|
5888
|
+
"caret-up": 59027,
|
|
5889
|
+
"check-radio": 59028,
|
|
5890
|
+
"circle-add": 59029,
|
|
5891
|
+
"circle-cancel": 59030,
|
|
5892
|
+
"circle-check": 59031,
|
|
5893
|
+
"circle-down": 59032,
|
|
5894
|
+
"circle-info": 59033,
|
|
5895
|
+
"circle-left": 59034,
|
|
5896
|
+
"circle-ok": 59035,
|
|
5897
|
+
"circle-pencil": 59036,
|
|
5898
|
+
"circle-question": 59037,
|
|
5899
|
+
"circle-remove": 59038,
|
|
5900
|
+
"circle-right": 59039,
|
|
5901
|
+
"circle-up": 59040,
|
|
5902
|
+
"circle-warning": 59041,
|
|
5903
|
+
"clock-3": 59042,
|
|
5902
5904
|
clock: clock,
|
|
5903
|
-
"cloud-download":
|
|
5904
|
-
"cloud-upload":
|
|
5905
|
+
"cloud-download": 59044,
|
|
5906
|
+
"cloud-upload": 59045,
|
|
5905
5907
|
cog: cog,
|
|
5906
5908
|
coin: coin,
|
|
5907
5909
|
contacts: contacts,
|
|
5908
|
-
"credit-card":
|
|
5910
|
+
"credit-card": 59049,
|
|
5909
5911
|
diamond: diamond,
|
|
5910
|
-
"direction-arrows":
|
|
5912
|
+
"direction-arrows": 59051,
|
|
5911
5913
|
directory: directory,
|
|
5912
5914
|
document: document$1,
|
|
5913
|
-
"dollar-coin-shine":
|
|
5914
|
-
"double-buildings":
|
|
5915
|
-
"edit-template":
|
|
5915
|
+
"dollar-coin-shine": 59054,
|
|
5916
|
+
"double-buildings": 59055,
|
|
5917
|
+
"edit-template": 59056,
|
|
5916
5918
|
envelope: envelope,
|
|
5917
5919
|
expense: expense,
|
|
5918
|
-
"eye-circle":
|
|
5919
|
-
"eye-invisible":
|
|
5920
|
+
"eye-circle": 59059,
|
|
5921
|
+
"eye-invisible": 59060,
|
|
5920
5922
|
eye: eye,
|
|
5921
|
-
"face-meh":
|
|
5922
|
-
"face-sad":
|
|
5923
|
-
"face-smiley":
|
|
5923
|
+
"face-meh": 59062,
|
|
5924
|
+
"face-sad": 59063,
|
|
5925
|
+
"face-smiley": 59064,
|
|
5924
5926
|
feed: feed,
|
|
5925
5927
|
feedbacks: feedbacks,
|
|
5926
|
-
"file-certified":
|
|
5927
|
-
"file-clone":
|
|
5928
|
-
"file-copy":
|
|
5929
|
-
"file-csv":
|
|
5930
|
-
"file-dispose":
|
|
5931
|
-
"file-doc":
|
|
5932
|
-
"file-excel":
|
|
5933
|
-
"file-export":
|
|
5934
|
-
"file-lock":
|
|
5935
|
-
"file-pdf":
|
|
5936
|
-
"file-powerpoint":
|
|
5937
|
-
"file-search":
|
|
5938
|
-
"file-secured":
|
|
5939
|
-
"file-sheets":
|
|
5940
|
-
"file-slide":
|
|
5941
|
-
"file-verified":
|
|
5942
|
-
"file-word":
|
|
5928
|
+
"file-certified": 59067,
|
|
5929
|
+
"file-clone": 59068,
|
|
5930
|
+
"file-copy": 59069,
|
|
5931
|
+
"file-csv": 59070,
|
|
5932
|
+
"file-dispose": 59071,
|
|
5933
|
+
"file-doc": 59072,
|
|
5934
|
+
"file-excel": 59073,
|
|
5935
|
+
"file-export": 59074,
|
|
5936
|
+
"file-lock": 59075,
|
|
5937
|
+
"file-pdf": 59076,
|
|
5938
|
+
"file-powerpoint": 59077,
|
|
5939
|
+
"file-search": 59078,
|
|
5940
|
+
"file-secured": 59079,
|
|
5941
|
+
"file-sheets": 59080,
|
|
5942
|
+
"file-slide": 59081,
|
|
5943
|
+
"file-verified": 59082,
|
|
5944
|
+
"file-word": 59083,
|
|
5943
5945
|
file: file,
|
|
5944
5946
|
filter: filter,
|
|
5945
|
-
"folder-user":
|
|
5947
|
+
"folder-user": 59086,
|
|
5946
5948
|
folder: folder,
|
|
5947
|
-
"format-bold":
|
|
5948
|
-
"format-heading1":
|
|
5949
|
-
"format-heading2":
|
|
5950
|
-
"format-italic":
|
|
5951
|
-
"format-list-bulleted":
|
|
5952
|
-
"format-list-numbered":
|
|
5953
|
-
"format-underlined":
|
|
5954
|
-
"funnel-filter":
|
|
5955
|
-
"global-dollar":
|
|
5949
|
+
"format-bold": 59088,
|
|
5950
|
+
"format-heading1": 59089,
|
|
5951
|
+
"format-heading2": 59090,
|
|
5952
|
+
"format-italic": 59091,
|
|
5953
|
+
"format-list-bulleted": 59092,
|
|
5954
|
+
"format-list-numbered": 59093,
|
|
5955
|
+
"format-underlined": 59094,
|
|
5956
|
+
"funnel-filter": 59095,
|
|
5957
|
+
"global-dollar": 59096,
|
|
5956
5958
|
globe: globe,
|
|
5957
|
-
"graduation-cap":
|
|
5959
|
+
"graduation-cap": 59098,
|
|
5958
5960
|
graph: graph,
|
|
5959
|
-
"happy-sun":
|
|
5960
|
-
"health-bag":
|
|
5961
|
+
"happy-sun": 59100,
|
|
5962
|
+
"health-bag": 59101,
|
|
5961
5963
|
heart: heart,
|
|
5962
5964
|
home: home,
|
|
5963
5965
|
image: image,
|
|
5964
|
-
"import":
|
|
5965
|
-
"incident-siren":
|
|
5966
|
+
"import": 59105,
|
|
5967
|
+
"incident-siren": 59106,
|
|
5966
5968
|
instapay: instapay,
|
|
5967
5969
|
list: list,
|
|
5968
|
-
"loading-2":
|
|
5970
|
+
"loading-2": 59109,
|
|
5969
5971
|
loading: loading,
|
|
5970
5972
|
location: location,
|
|
5971
5973
|
lock: lock,
|
|
5972
|
-
"looks-one":
|
|
5973
|
-
"looks-two":
|
|
5974
|
-
"media-content":
|
|
5974
|
+
"looks-one": 59113,
|
|
5975
|
+
"looks-two": 59114,
|
|
5976
|
+
"media-content": 59115,
|
|
5975
5977
|
menu: menu,
|
|
5978
|
+
"money-notes": 59117,
|
|
5976
5979
|
moneybag: moneybag,
|
|
5977
5980
|
moon: moon,
|
|
5978
|
-
"multiple-stars":
|
|
5979
|
-
"multiple-users":
|
|
5981
|
+
"multiple-stars": 59120,
|
|
5982
|
+
"multiple-users": 59121,
|
|
5980
5983
|
node: node,
|
|
5981
|
-
"open-folder":
|
|
5984
|
+
"open-folder": 59123,
|
|
5982
5985
|
paperclip: paperclip,
|
|
5983
|
-
"payment-summary":
|
|
5986
|
+
"payment-summary": 59125,
|
|
5984
5987
|
pencil: pencil,
|
|
5985
5988
|
phone: phone,
|
|
5986
|
-
"piggy-bank":
|
|
5989
|
+
"piggy-bank": 59128,
|
|
5987
5990
|
plane: plane,
|
|
5988
|
-
"play-circle":
|
|
5991
|
+
"play-circle": 59130,
|
|
5989
5992
|
print: print,
|
|
5990
|
-
"raising-hands":
|
|
5991
|
-
"reply-arrow":
|
|
5993
|
+
"raising-hands": 59132,
|
|
5994
|
+
"reply-arrow": 59133,
|
|
5992
5995
|
reply: reply,
|
|
5993
5996
|
reschedule: reschedule,
|
|
5994
5997
|
rostering: rostering,
|
|
5995
5998
|
save: save,
|
|
5996
|
-
"schedule-send":
|
|
5999
|
+
"schedule-send": 59138,
|
|
5997
6000
|
schedule: schedule,
|
|
5998
|
-
"search-person":
|
|
6001
|
+
"search-person": 59140,
|
|
5999
6002
|
send: send,
|
|
6000
|
-
"speaker-active":
|
|
6003
|
+
"speaker-active": 59142,
|
|
6001
6004
|
speaker: speaker,
|
|
6002
|
-
"star-award":
|
|
6003
|
-
"star-badge":
|
|
6004
|
-
"star-
|
|
6005
|
+
"star-award": 59144,
|
|
6006
|
+
"star-badge": 59145,
|
|
6007
|
+
"star-circle": 59146,
|
|
6008
|
+
"star-medal": 59147,
|
|
6005
6009
|
star: star,
|
|
6006
|
-
"steps-circle":
|
|
6010
|
+
"steps-circle": 59149,
|
|
6007
6011
|
stopwatch: stopwatch,
|
|
6008
6012
|
suitcase: suitcase,
|
|
6009
6013
|
survey: survey,
|
|
6010
6014
|
swag: swag,
|
|
6011
|
-
"switch":
|
|
6015
|
+
"switch": 59154,
|
|
6012
6016
|
tag: tag,
|
|
6013
6017
|
target: target,
|
|
6014
6018
|
teams: teams,
|
|
6015
6019
|
timesheet: timesheet,
|
|
6016
|
-
"touch-id":
|
|
6017
|
-
"trash-bin":
|
|
6020
|
+
"touch-id": 59159,
|
|
6021
|
+
"trash-bin": 59160,
|
|
6018
6022
|
unlock: unlock,
|
|
6019
6023
|
user: user,
|
|
6020
|
-
"video-1":
|
|
6021
|
-
"video-2":
|
|
6024
|
+
"video-1": 59163,
|
|
6025
|
+
"video-2": 59164,
|
|
6022
6026
|
wallet: wallet,
|
|
6023
6027
|
warning: warning,
|
|
6024
|
-
"activate-outlined":
|
|
6025
|
-
"add-credit-card-outlined":
|
|
6026
|
-
"add-person-outlined":
|
|
6027
|
-
"add-section-outlined":
|
|
6028
|
-
"add-time-outlined":
|
|
6028
|
+
"activate-outlined": 59167,
|
|
6029
|
+
"add-credit-card-outlined": 59168,
|
|
6030
|
+
"add-person-outlined": 59169,
|
|
6031
|
+
"add-section-outlined": 59170,
|
|
6032
|
+
"add-time-outlined": 59171,
|
|
6029
6033
|
add: add,
|
|
6030
|
-
"adjustment-outlined":
|
|
6031
|
-
"alignment-2-outlined":
|
|
6032
|
-
"alignment-outlined":
|
|
6033
|
-
"all-caps":
|
|
6034
|
-
"arrow-down":
|
|
6035
|
-
"arrow-downwards":
|
|
6036
|
-
"arrow-left":
|
|
6037
|
-
"arrow-leftwards":
|
|
6038
|
-
"arrow-right":
|
|
6039
|
-
"arrow-rightwards":
|
|
6040
|
-
"arrow-up":
|
|
6041
|
-
"arrow-upwards":
|
|
6042
|
-
"
|
|
6043
|
-
"
|
|
6044
|
-
"
|
|
6045
|
-
"bell-
|
|
6046
|
-
"
|
|
6047
|
-
"
|
|
6034
|
+
"adjustment-outlined": 59173,
|
|
6035
|
+
"alignment-2-outlined": 59174,
|
|
6036
|
+
"alignment-outlined": 59175,
|
|
6037
|
+
"all-caps": 59176,
|
|
6038
|
+
"arrow-down": 59177,
|
|
6039
|
+
"arrow-downwards": 59178,
|
|
6040
|
+
"arrow-left": 59179,
|
|
6041
|
+
"arrow-leftwards": 59180,
|
|
6042
|
+
"arrow-right": 59181,
|
|
6043
|
+
"arrow-rightwards": 59182,
|
|
6044
|
+
"arrow-up": 59183,
|
|
6045
|
+
"arrow-upwards": 59184,
|
|
6046
|
+
"article-outlined": 59185,
|
|
6047
|
+
"at-sign": 59186,
|
|
6048
|
+
"auto-graph-outlined": 59187,
|
|
6049
|
+
"bell-active-outlined": 59188,
|
|
6050
|
+
"bell-outlined": 59189,
|
|
6051
|
+
"bell-slash-outlined": 59190,
|
|
6052
|
+
"billing-outlined": 59191,
|
|
6053
|
+
"body-outlined": 59192,
|
|
6048
6054
|
bold: bold,
|
|
6049
|
-
"bookmark-added-outlined":
|
|
6050
|
-
"bookmark-outlined":
|
|
6051
|
-
"box-check-outlined":
|
|
6052
|
-
"box-outlined":
|
|
6053
|
-
"bullet-points":
|
|
6054
|
-
"cake-outlined":
|
|
6055
|
-
"calendar-dates-outlined":
|
|
6056
|
-
"calendar-star-outlined":
|
|
6057
|
-
"camera-outlined":
|
|
6055
|
+
"bookmark-added-outlined": 59194,
|
|
6056
|
+
"bookmark-outlined": 59195,
|
|
6057
|
+
"box-check-outlined": 59196,
|
|
6058
|
+
"box-outlined": 59197,
|
|
6059
|
+
"bullet-points": 59198,
|
|
6060
|
+
"cake-outlined": 59199,
|
|
6061
|
+
"calendar-dates-outlined": 59200,
|
|
6062
|
+
"calendar-star-outlined": 59201,
|
|
6063
|
+
"camera-outlined": 59202,
|
|
6058
6064
|
cancel: cancel,
|
|
6059
|
-
"chat-bubble-outlined":
|
|
6060
|
-
"chat-unread-outlined":
|
|
6065
|
+
"chat-bubble-outlined": 59204,
|
|
6066
|
+
"chat-unread-outlined": 59205,
|
|
6061
6067
|
checkmark: checkmark,
|
|
6062
|
-
"circle-add-outlined":
|
|
6063
|
-
"circle-cancel-outlined":
|
|
6064
|
-
"circle-down-outlined":
|
|
6065
|
-
"circle-info-outlined":
|
|
6066
|
-
"circle-left-outlined":
|
|
6067
|
-
"circle-ok-outlined":
|
|
6068
|
-
"circle-question-outlined":
|
|
6069
|
-
"circle-remove-outlined":
|
|
6070
|
-
"circle-right-outlined":
|
|
6071
|
-
"circle-up-outlined":
|
|
6072
|
-
"circle-warning-outlined":
|
|
6073
|
-
"clock-2-outlined":
|
|
6074
|
-
"clock-outlined":
|
|
6075
|
-
"cog-outlined":
|
|
6076
|
-
"coin-outlined":
|
|
6077
|
-
"comment-outlined":
|
|
6078
|
-
"contacts-outlined":
|
|
6079
|
-
"credit-card-outlined":
|
|
6080
|
-
"cup-outlined":
|
|
6081
|
-
"direction-arrows-outlined":
|
|
6082
|
-
"directory-outlined":
|
|
6083
|
-
"document-outlined":
|
|
6084
|
-
"dollar-card-outlined":
|
|
6085
|
-
"dollar-coin-shine-outlined":
|
|
6086
|
-
"dollar-
|
|
6087
|
-
"
|
|
6088
|
-
"double-
|
|
6089
|
-
"double-
|
|
6090
|
-
"
|
|
6091
|
-
"
|
|
6092
|
-
"
|
|
6093
|
-
"
|
|
6094
|
-
"
|
|
6095
|
-
"
|
|
6096
|
-
"
|
|
6097
|
-
"
|
|
6098
|
-
"
|
|
6099
|
-
"eye-outlined":
|
|
6100
|
-
"
|
|
6101
|
-
"face-
|
|
6102
|
-
"face-
|
|
6103
|
-
"face-
|
|
6104
|
-
"face-
|
|
6105
|
-
"
|
|
6106
|
-
"
|
|
6107
|
-
"file-
|
|
6108
|
-
"file-
|
|
6109
|
-
"file-
|
|
6110
|
-
"file-
|
|
6111
|
-
"file-
|
|
6112
|
-
"file-
|
|
6113
|
-
"file-
|
|
6114
|
-
"file-outlined":
|
|
6115
|
-
"file-
|
|
6116
|
-
"file-
|
|
6117
|
-
"file-
|
|
6118
|
-
"
|
|
6119
|
-
"
|
|
6120
|
-
"
|
|
6121
|
-
"
|
|
6122
|
-
"
|
|
6123
|
-
"
|
|
6124
|
-
"
|
|
6125
|
-
"
|
|
6126
|
-
"
|
|
6127
|
-
"
|
|
6128
|
-
"
|
|
6129
|
-
"
|
|
6130
|
-
"
|
|
6131
|
-
"
|
|
6132
|
-
"
|
|
6068
|
+
"circle-add-outlined": 59207,
|
|
6069
|
+
"circle-cancel-outlined": 59208,
|
|
6070
|
+
"circle-down-outlined": 59209,
|
|
6071
|
+
"circle-info-outlined": 59210,
|
|
6072
|
+
"circle-left-outlined": 59211,
|
|
6073
|
+
"circle-ok-outlined": 59212,
|
|
6074
|
+
"circle-question-outlined": 59213,
|
|
6075
|
+
"circle-remove-outlined": 59214,
|
|
6076
|
+
"circle-right-outlined": 59215,
|
|
6077
|
+
"circle-up-outlined": 59216,
|
|
6078
|
+
"circle-warning-outlined": 59217,
|
|
6079
|
+
"clock-2-outlined": 59218,
|
|
6080
|
+
"clock-outlined": 59219,
|
|
6081
|
+
"cog-outlined": 59220,
|
|
6082
|
+
"coin-outlined": 59221,
|
|
6083
|
+
"comment-outlined": 59222,
|
|
6084
|
+
"contacts-outlined": 59223,
|
|
6085
|
+
"credit-card-outlined": 59224,
|
|
6086
|
+
"cup-outlined": 59225,
|
|
6087
|
+
"direction-arrows-outlined": 59226,
|
|
6088
|
+
"directory-outlined": 59227,
|
|
6089
|
+
"document-outlined": 59228,
|
|
6090
|
+
"dollar-card-outlined": 59229,
|
|
6091
|
+
"dollar-coin-shine-outlined": 59230,
|
|
6092
|
+
"dollar-credit-card-outlined": 59231,
|
|
6093
|
+
"dollar-sign": 59232,
|
|
6094
|
+
"double-buildings-outlined": 59233,
|
|
6095
|
+
"double-left-arrows": 59234,
|
|
6096
|
+
"double-right-arrows": 59235,
|
|
6097
|
+
"download-outlined": 59236,
|
|
6098
|
+
"edit-template-outlined": 59237,
|
|
6099
|
+
"email-outlined": 59238,
|
|
6100
|
+
"enter-arrow": 59239,
|
|
6101
|
+
"envelope-outlined": 59240,
|
|
6102
|
+
"expense-outlined": 59241,
|
|
6103
|
+
"explore-outlined": 59242,
|
|
6104
|
+
"external-link": 59243,
|
|
6105
|
+
"eye-invisible-outlined": 59244,
|
|
6106
|
+
"eye-outlined": 59245,
|
|
6107
|
+
"face-id": 59246,
|
|
6108
|
+
"face-meh-outlined": 59247,
|
|
6109
|
+
"face-open-smiley-outlined": 59248,
|
|
6110
|
+
"face-sad-outlined": 59249,
|
|
6111
|
+
"face-smiley-outlined": 59250,
|
|
6112
|
+
"feed-outlined": 59251,
|
|
6113
|
+
"file-certified-outlined": 59252,
|
|
6114
|
+
"file-clone-outlined": 59253,
|
|
6115
|
+
"file-copy-outlined": 59254,
|
|
6116
|
+
"file-dispose-outlined": 59255,
|
|
6117
|
+
"file-dollar-outlined": 59256,
|
|
6118
|
+
"file-download-outlined": 59257,
|
|
6119
|
+
"file-export-outlined": 59258,
|
|
6120
|
+
"file-lock-outlined": 59259,
|
|
6121
|
+
"file-outlined": 59260,
|
|
6122
|
+
"file-search-outlined": 59261,
|
|
6123
|
+
"file-secured-outlined": 59262,
|
|
6124
|
+
"file-statutory-outlined": 59263,
|
|
6125
|
+
"file-verified-outlined": 59264,
|
|
6126
|
+
"filter-outlined": 59265,
|
|
6127
|
+
"folder-outlined": 59266,
|
|
6128
|
+
"folder-user-outlined": 59267,
|
|
6129
|
+
"funnel-filter-outline": 59268,
|
|
6130
|
+
"graph-outlined": 59269,
|
|
6131
|
+
"hand-holding-user-outlined": 59270,
|
|
6132
|
+
"happy-sun-outlined": 59271,
|
|
6133
|
+
"health-bag-outlined": 59272,
|
|
6134
|
+
"heart-outlined": 59273,
|
|
6135
|
+
"home-active-outlined": 59274,
|
|
6136
|
+
"home-outlined": 59275,
|
|
6137
|
+
"id-card-outlined": 59276,
|
|
6138
|
+
"image-outlined": 59277,
|
|
6139
|
+
"import-outlined": 59278,
|
|
6140
|
+
"instapay-outlined": 59279,
|
|
6133
6141
|
italic: italic,
|
|
6134
|
-
"link-1":
|
|
6135
|
-
"link-2":
|
|
6136
|
-
"list-outlined":
|
|
6137
|
-
"live-help-outlined":
|
|
6138
|
-
"location-outlined":
|
|
6139
|
-
"lock-outlined":
|
|
6140
|
-
"locked-file-outlined":
|
|
6141
|
-
"log-out":
|
|
6142
|
-
"media-content-outlined":
|
|
6143
|
-
"menu-close":
|
|
6144
|
-
"menu-expand":
|
|
6145
|
-
"menu-fold-outlined":
|
|
6146
|
-
"menu-unfold-outlined":
|
|
6147
|
-
"moneybag-outlined":
|
|
6148
|
-
"moon-outlined":
|
|
6149
|
-
"more-horizontal":
|
|
6150
|
-
"more-vertical":
|
|
6151
|
-
"multiple-folders-outlined":
|
|
6152
|
-
"multiple-users-outlined":
|
|
6153
|
-
"near-me-outlined":
|
|
6154
|
-
"node-outlined":
|
|
6155
|
-
"number-points":
|
|
6142
|
+
"link-1": 59281,
|
|
6143
|
+
"link-2": 59282,
|
|
6144
|
+
"list-outlined": 59283,
|
|
6145
|
+
"live-help-outlined": 59284,
|
|
6146
|
+
"location-outlined": 59285,
|
|
6147
|
+
"lock-outlined": 59286,
|
|
6148
|
+
"locked-file-outlined": 59287,
|
|
6149
|
+
"log-out": 59288,
|
|
6150
|
+
"media-content-outlined": 59289,
|
|
6151
|
+
"menu-close": 59290,
|
|
6152
|
+
"menu-expand": 59291,
|
|
6153
|
+
"menu-fold-outlined": 59292,
|
|
6154
|
+
"menu-unfold-outlined": 59293,
|
|
6155
|
+
"moneybag-outlined": 59294,
|
|
6156
|
+
"moon-outlined": 59295,
|
|
6157
|
+
"more-horizontal": 59296,
|
|
6158
|
+
"more-vertical": 59297,
|
|
6159
|
+
"multiple-folders-outlined": 59298,
|
|
6160
|
+
"multiple-users-outlined": 59299,
|
|
6161
|
+
"near-me-outlined": 59300,
|
|
6162
|
+
"node-outlined": 59301,
|
|
6163
|
+
"number-points": 59302,
|
|
6156
6164
|
number: number,
|
|
6157
|
-
"
|
|
6158
|
-
"
|
|
6159
|
-
"
|
|
6165
|
+
"overview-outlined": 59304,
|
|
6166
|
+
"payment-summary-outlined": 59305,
|
|
6167
|
+
"payslip-outlined": 59306,
|
|
6168
|
+
"pencil-outlined": 59307,
|
|
6160
6169
|
percentage: percentage,
|
|
6161
|
-
"phone-outlined":
|
|
6162
|
-
"piggy-bank-outlined":
|
|
6163
|
-
"plane-outlined":
|
|
6164
|
-
"play-circle-outlined":
|
|
6165
|
-
"print-outlined":
|
|
6166
|
-
"qr-code-outlined":
|
|
6167
|
-
"qualification-outlined":
|
|
6168
|
-
"re-assign":
|
|
6170
|
+
"phone-outlined": 59309,
|
|
6171
|
+
"piggy-bank-outlined": 59310,
|
|
6172
|
+
"plane-outlined": 59311,
|
|
6173
|
+
"play-circle-outlined": 59312,
|
|
6174
|
+
"print-outlined": 59313,
|
|
6175
|
+
"qr-code-outlined": 59314,
|
|
6176
|
+
"qualification-outlined": 59315,
|
|
6177
|
+
"re-assign": 59316,
|
|
6169
6178
|
redeem: redeem,
|
|
6170
6179
|
refresh: refresh,
|
|
6171
6180
|
remove: remove,
|
|
6172
|
-
"reply-outlined":
|
|
6181
|
+
"reply-outlined": 59320,
|
|
6173
6182
|
restart: restart,
|
|
6174
|
-
"return-arrow":
|
|
6175
|
-
"rostering-outlined":
|
|
6176
|
-
"save-outlined":
|
|
6177
|
-
"schedule-outlined":
|
|
6178
|
-
"search-outlined":
|
|
6179
|
-
"search-secured-outlined":
|
|
6180
|
-
"send-outlined":
|
|
6181
|
-
"share-1":
|
|
6182
|
-
"share-2":
|
|
6183
|
-
"share-outlined":
|
|
6184
|
-
"
|
|
6185
|
-
"single-
|
|
6186
|
-
"single-
|
|
6187
|
-
"single-
|
|
6188
|
-
"
|
|
6189
|
-
"speaker-outlined":
|
|
6190
|
-
"
|
|
6191
|
-
"
|
|
6183
|
+
"return-arrow": 59322,
|
|
6184
|
+
"rostering-outlined": 59323,
|
|
6185
|
+
"save-outlined": 59324,
|
|
6186
|
+
"schedule-outlined": 59325,
|
|
6187
|
+
"search-outlined": 59326,
|
|
6188
|
+
"search-secured-outlined": 59327,
|
|
6189
|
+
"send-outlined": 59328,
|
|
6190
|
+
"share-1": 59329,
|
|
6191
|
+
"share-2": 59330,
|
|
6192
|
+
"share-outlined": 59331,
|
|
6193
|
+
"show-chart-outlined": 59332,
|
|
6194
|
+
"single-down-arrow": 59333,
|
|
6195
|
+
"single-left-arrow": 59334,
|
|
6196
|
+
"single-right-arrow": 59335,
|
|
6197
|
+
"single-up-arrow": 59336,
|
|
6198
|
+
"speaker-active-outlined": 59337,
|
|
6199
|
+
"speaker-outlined": 59338,
|
|
6200
|
+
"star-circle-outlined": 59339,
|
|
6201
|
+
"star-outlined": 59340,
|
|
6202
|
+
"stopwatch-outlined": 59341,
|
|
6192
6203
|
strikethrough: strikethrough,
|
|
6193
|
-
"suitcase-clock-outlined":
|
|
6194
|
-
"suitcase-outlined":
|
|
6195
|
-
"survey-outlined":
|
|
6196
|
-
"switch-outlined":
|
|
6204
|
+
"suitcase-clock-outlined": 59343,
|
|
6205
|
+
"suitcase-outlined": 59344,
|
|
6206
|
+
"survey-outlined": 59345,
|
|
6207
|
+
"switch-outlined": 59346,
|
|
6197
6208
|
sync: sync,
|
|
6198
|
-
"target-outlined":
|
|
6199
|
-
"timesheet-outlined":
|
|
6200
|
-
"today-outlined":
|
|
6209
|
+
"target-outlined": 59348,
|
|
6210
|
+
"timesheet-outlined": 59349,
|
|
6211
|
+
"today-outlined": 59350,
|
|
6201
6212
|
transfer: transfer,
|
|
6202
|
-
"trash-bin-outlined":
|
|
6203
|
-
"umbrela-outlined":
|
|
6213
|
+
"trash-bin-outlined": 59352,
|
|
6214
|
+
"umbrela-outlined": 59353,
|
|
6204
6215
|
unavailable: unavailable,
|
|
6205
6216
|
underline: underline,
|
|
6206
|
-
"unlock-outlined":
|
|
6207
|
-
"upload-outlined":
|
|
6208
|
-
"user-circle-outlined":
|
|
6209
|
-
"user-gear-outlined":
|
|
6210
|
-
"user-outlined":
|
|
6211
|
-
"user-rectangle-outlined":
|
|
6212
|
-
"video-1-outlined":
|
|
6213
|
-
"video-2-outlined":
|
|
6214
|
-
"wallet-outlined":
|
|
6217
|
+
"unlock-outlined": 59356,
|
|
6218
|
+
"upload-outlined": 59357,
|
|
6219
|
+
"user-circle-outlined": 59358,
|
|
6220
|
+
"user-gear-outlined": 59359,
|
|
6221
|
+
"user-outlined": 59360,
|
|
6222
|
+
"user-rectangle-outlined": 59361,
|
|
6223
|
+
"video-1-outlined": 59362,
|
|
6224
|
+
"video-2-outlined": 59363,
|
|
6225
|
+
"wallet-outlined": 59364
|
|
6215
6226
|
};
|
|
6216
6227
|
|
|
6217
6228
|
var HeroIcon = createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
|
|
@@ -6236,10 +6247,10 @@ var StyledHeroIcon = index$a(HeroIcon)(function (_ref) {
|
|
|
6236
6247
|
};
|
|
6237
6248
|
});
|
|
6238
6249
|
|
|
6239
|
-
var _excluded$
|
|
6250
|
+
var _excluded$p = ["style"];
|
|
6240
6251
|
var AnimatedIcon = function AnimatedIcon(_ref) {
|
|
6241
6252
|
var style = _ref.style,
|
|
6242
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
6253
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$p);
|
|
6243
6254
|
var rotateAnimation = useRef(new Animated.Value(0));
|
|
6244
6255
|
useEffect(function () {
|
|
6245
6256
|
var animation = Animated.loop(Animated.timing(rotateAnimation.current, {
|
|
@@ -6345,7 +6356,7 @@ var AccordionItem = function AccordionItem(_ref) {
|
|
|
6345
6356
|
}, content));
|
|
6346
6357
|
};
|
|
6347
6358
|
|
|
6348
|
-
var _excluded$
|
|
6359
|
+
var _excluded$o = ["key"];
|
|
6349
6360
|
var Accordion = function Accordion(_ref) {
|
|
6350
6361
|
var items = _ref.items,
|
|
6351
6362
|
activeItemKey = _ref.activeItemKey,
|
|
@@ -6366,7 +6377,7 @@ var Accordion = function Accordion(_ref) {
|
|
|
6366
6377
|
testID: testID
|
|
6367
6378
|
}, items.map(function (_ref2, index) {
|
|
6368
6379
|
var key = _ref2.key,
|
|
6369
|
-
props = _objectWithoutProperties(_ref2, _excluded$
|
|
6380
|
+
props = _objectWithoutProperties(_ref2, _excluded$o);
|
|
6370
6381
|
var open = _activeItemKey === key;
|
|
6371
6382
|
return /*#__PURE__*/React.createElement(React.Fragment, {
|
|
6372
6383
|
key: key
|
|
@@ -6748,7 +6759,7 @@ var StyledStatus = index$a(Animated.View)(function (_ref3) {
|
|
|
6748
6759
|
};
|
|
6749
6760
|
});
|
|
6750
6761
|
|
|
6751
|
-
var _excluded$
|
|
6762
|
+
var _excluded$n = ["children", "visible", "intent", "style", "testID"];
|
|
6752
6763
|
var Status = function Status(_ref) {
|
|
6753
6764
|
var children = _ref.children,
|
|
6754
6765
|
_ref$visible = _ref.visible,
|
|
@@ -6757,7 +6768,7 @@ var Status = function Status(_ref) {
|
|
|
6757
6768
|
intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
|
|
6758
6769
|
style = _ref.style,
|
|
6759
6770
|
testID = _ref.testID,
|
|
6760
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
6771
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$n);
|
|
6761
6772
|
var _React$useRef = React.useRef(new Animated.Value(visible ? 1 : 0)),
|
|
6762
6773
|
opacity = _React$useRef.current;
|
|
6763
6774
|
var isFirstRendering = React.useRef(true);
|
|
@@ -6790,7 +6801,7 @@ var Status = function Status(_ref) {
|
|
|
6790
6801
|
}));
|
|
6791
6802
|
};
|
|
6792
6803
|
|
|
6793
|
-
var _excluded$
|
|
6804
|
+
var _excluded$m = ["content", "visible", "max", "intent", "style", "testID"];
|
|
6794
6805
|
var DEFAULT_MAX_NUMBER = 99;
|
|
6795
6806
|
var getPaddingState = function getPaddingState(content) {
|
|
6796
6807
|
return content.length > 1 ? 'wideContent' : 'narrowContent';
|
|
@@ -6805,7 +6816,7 @@ var Badge = function Badge(_ref) {
|
|
|
6805
6816
|
intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
|
|
6806
6817
|
style = _ref.style,
|
|
6807
6818
|
testID = _ref.testID,
|
|
6808
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
6819
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$m);
|
|
6809
6820
|
var _React$useRef = React.useRef(new Animated.Value(visible ? 1 : 0)),
|
|
6810
6821
|
opacity = _React$useRef.current;
|
|
6811
6822
|
var isFirstRendering = React.useRef(true);
|
|
@@ -6909,7 +6920,7 @@ function omit(keys, obj) {
|
|
|
6909
6920
|
return result;
|
|
6910
6921
|
}
|
|
6911
6922
|
|
|
6912
|
-
var _excluded$
|
|
6923
|
+
var _excluded$l = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
|
|
6913
6924
|
var getInactiveIcon = function getInactiveIcon(icon) {
|
|
6914
6925
|
var inactiveIcon = "".concat(icon, "-outlined");
|
|
6915
6926
|
return isHeroIcon(inactiveIcon) ? inactiveIcon : icon;
|
|
@@ -6920,7 +6931,7 @@ var BottomNavigation = function BottomNavigation(_ref) {
|
|
|
6920
6931
|
renderActiveTabOnly = _ref$renderActiveTabO === void 0 ? false : _ref$renderActiveTabO,
|
|
6921
6932
|
selectedTabKey = _ref.selectedTabKey,
|
|
6922
6933
|
tabs = _ref.tabs,
|
|
6923
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
6934
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$l);
|
|
6924
6935
|
var insets = useSafeAreaInsets();
|
|
6925
6936
|
/**
|
|
6926
6937
|
* List of loaded tabs, tabs will be loaded when navigated to.
|
|
@@ -7007,13 +7018,13 @@ var StyledDivider = index$a(View)(function (_ref) {
|
|
|
7007
7018
|
}, horizontalMargin), verticalMargin);
|
|
7008
7019
|
});
|
|
7009
7020
|
|
|
7010
|
-
var _excluded$
|
|
7021
|
+
var _excluded$k = ["marginHorizontal", "marginVertical", "style", "testID"];
|
|
7011
7022
|
var Divider = function Divider(_ref) {
|
|
7012
7023
|
var marginHorizontal = _ref.marginHorizontal,
|
|
7013
7024
|
marginVertical = _ref.marginVertical,
|
|
7014
7025
|
style = _ref.style,
|
|
7015
7026
|
testID = _ref.testID,
|
|
7016
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7027
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$k);
|
|
7017
7028
|
return /*#__PURE__*/React.createElement(StyledDivider, _extends$1({}, nativeProps, {
|
|
7018
7029
|
themeMarginHorizontal: marginHorizontal,
|
|
7019
7030
|
themeMarginVertical: marginVertical,
|
|
@@ -7143,7 +7154,7 @@ var StyledLoadingDot = index$a(View)(function (_ref2) {
|
|
|
7143
7154
|
}, themeStyling());
|
|
7144
7155
|
});
|
|
7145
7156
|
|
|
7146
|
-
var _excluded$
|
|
7157
|
+
var _excluded$j = ["count", "size", "testID", "themeVariant"];
|
|
7147
7158
|
var AnimatedLoadingIndicatorWrapper = Animated.createAnimatedComponent(StyledLoadingIndicatorWrapper);
|
|
7148
7159
|
var AnimatedLoadingDot = Animated.createAnimatedComponent(StyledLoadingDot);
|
|
7149
7160
|
var renderDotComponent = function renderDotComponent(_ref) {
|
|
@@ -7175,7 +7186,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
|
|
|
7175
7186
|
size = _ref2$size === void 0 ? 12 : _ref2$size,
|
|
7176
7187
|
testID = _ref2.testID,
|
|
7177
7188
|
themeVariant = _ref2.themeVariant,
|
|
7178
|
-
nativeProps = _objectWithoutProperties(_ref2, _excluded$
|
|
7189
|
+
nativeProps = _objectWithoutProperties(_ref2, _excluded$j);
|
|
7179
7190
|
var progressAnimation = useRef(new Animated.Value(0));
|
|
7180
7191
|
useEffect(function () {
|
|
7181
7192
|
var animation = Animated.loop(Animated.timing(progressAnimation.current, {
|
|
@@ -7571,11 +7582,11 @@ var Header = function Header(_ref) {
|
|
|
7571
7582
|
})) : null), showDivider ? /*#__PURE__*/React.createElement(Divider, null) : null);
|
|
7572
7583
|
};
|
|
7573
7584
|
|
|
7574
|
-
var _excluded$
|
|
7585
|
+
var _excluded$i = ["scrollEventThrottle"];
|
|
7575
7586
|
var BottomSheetScrollView = function BottomSheetScrollView(_ref) {
|
|
7576
7587
|
var _ref$scrollEventThrot = _ref.scrollEventThrottle,
|
|
7577
7588
|
scrollEventThrottle = _ref$scrollEventThrot === void 0 ? 100 : _ref$scrollEventThrot,
|
|
7578
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7589
|
+
props = _objectWithoutProperties(_ref, _excluded$i);
|
|
7579
7590
|
var _useContext = useContext(BottomSheetContext),
|
|
7580
7591
|
setInternalShowDivider = _useContext.setInternalShowDivider;
|
|
7581
7592
|
var onScrollBeginDrag = useCallback(function (e) {
|
|
@@ -7890,7 +7901,7 @@ var borderWidths = {
|
|
|
7890
7901
|
var config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, colors), space), radii), borderWidths);
|
|
7891
7902
|
var flexPropsKey = ['alignContent', 'alignItems', 'alignSelf', 'display', 'flex', 'flexBasis', 'flexDirection', 'flexGrow', 'flexShrink', 'flexWrap', 'justifyContent'];
|
|
7892
7903
|
|
|
7893
|
-
var _excluded$
|
|
7904
|
+
var _excluded$h = ["theme"];
|
|
7894
7905
|
var getThemeValue = function getThemeValue(theme, key, props) {
|
|
7895
7906
|
var propConfig = config[key];
|
|
7896
7907
|
var propValue = props[key];
|
|
@@ -7917,18 +7928,18 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
|
|
|
7917
7928
|
var configKeys = Object.keys(config);
|
|
7918
7929
|
var StyledBox = index$a(View)(function (_ref5) {
|
|
7919
7930
|
var theme = _ref5.theme,
|
|
7920
|
-
otherProps = _objectWithoutProperties(_ref5, _excluded$
|
|
7931
|
+
otherProps = _objectWithoutProperties(_ref5, _excluded$h);
|
|
7921
7932
|
var styleProps = pick(configKeys, otherProps);
|
|
7922
7933
|
var flexProps = pick(_toConsumableArray(flexPropsKey), otherProps);
|
|
7923
7934
|
return _objectSpread2(_objectSpread2({}, mapStylePropToThemeValue(theme, styleProps)), flexProps);
|
|
7924
7935
|
});
|
|
7925
7936
|
|
|
7926
|
-
var _excluded$
|
|
7937
|
+
var _excluded$g = ["children", "style", "testID"];
|
|
7927
7938
|
var Box = function Box(_ref) {
|
|
7928
7939
|
var children = _ref.children,
|
|
7929
7940
|
style = _ref.style,
|
|
7930
7941
|
testID = _ref.testID,
|
|
7931
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
7942
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$g);
|
|
7932
7943
|
return /*#__PURE__*/React.createElement(StyledBox, _extends$1({}, otherProps, {
|
|
7933
7944
|
style: style,
|
|
7934
7945
|
testID: testID
|
|
@@ -10539,7 +10550,7 @@ var CarouselPaginator = function CarouselPaginator(_ref) {
|
|
|
10539
10550
|
}));
|
|
10540
10551
|
};
|
|
10541
10552
|
|
|
10542
|
-
var _excluded$
|
|
10553
|
+
var _excluded$f = ["rounded", "size", "testID", "style"];
|
|
10543
10554
|
var Image = function Image(_ref) {
|
|
10544
10555
|
var _ref$rounded = _ref.rounded,
|
|
10545
10556
|
rounded = _ref$rounded === void 0 ? false : _ref$rounded,
|
|
@@ -10547,7 +10558,7 @@ var Image = function Image(_ref) {
|
|
|
10547
10558
|
size = _ref$size === void 0 ? '6xlarge' : _ref$size,
|
|
10548
10559
|
testID = _ref.testID,
|
|
10549
10560
|
style = _ref.style,
|
|
10550
|
-
imageNativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
10561
|
+
imageNativeProps = _objectWithoutProperties(_ref, _excluded$f);
|
|
10551
10562
|
var theme = useTheme();
|
|
10552
10563
|
var imageSize = theme.__hd__.image.sizes[size];
|
|
10553
10564
|
return /*#__PURE__*/React.createElement(Image$1, _extends$1({
|
|
@@ -10597,7 +10608,8 @@ var StyledCarouselImage = index$a(Image)(function () {
|
|
|
10597
10608
|
var StyledCarouselContentWrapper = index$a(Box)(function (_ref3) {
|
|
10598
10609
|
var width = _ref3.width;
|
|
10599
10610
|
return {
|
|
10600
|
-
width: width
|
|
10611
|
+
width: width,
|
|
10612
|
+
minHeight: scale(250)
|
|
10601
10613
|
};
|
|
10602
10614
|
});
|
|
10603
10615
|
var StyledCarouselFooterWrapper = index$a(View)(function (_ref4) {
|
|
@@ -10629,10 +10641,12 @@ var CarouselItem = function CarouselItem(_ref) {
|
|
|
10629
10641
|
paddingHorizontal: "large",
|
|
10630
10642
|
marginTop: "large",
|
|
10631
10643
|
width: width
|
|
10632
|
-
}, content, /*#__PURE__*/React.createElement(StyledCarouselHeading, null, heading), body ? /*#__PURE__*/React.createElement(Typography.Text,
|
|
10644
|
+
}, content, /*#__PURE__*/React.createElement(StyledCarouselHeading, null, heading), body ? /*#__PURE__*/React.createElement(Typography.Text, {
|
|
10645
|
+
fontSize: "large"
|
|
10646
|
+
}, body) : null));
|
|
10633
10647
|
};
|
|
10634
10648
|
|
|
10635
|
-
var _excluded$
|
|
10649
|
+
var _excluded$e = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style"];
|
|
10636
10650
|
function useStateFromProp(initialValue) {
|
|
10637
10651
|
var _useState = useState(initialValue),
|
|
10638
10652
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -10650,7 +10664,7 @@ var Carousel = function Carousel(_ref) {
|
|
|
10650
10664
|
_ref$selectedItemInde = _ref.selectedItemIndex,
|
|
10651
10665
|
selectedItemIndex = _ref$selectedItemInde === void 0 ? 0 : _ref$selectedItemInde,
|
|
10652
10666
|
style = _ref.style,
|
|
10653
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
10667
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$e);
|
|
10654
10668
|
var carouselRef = useRef(null);
|
|
10655
10669
|
var _useStateFromProp = useStateFromProp(selectedItemIndex),
|
|
10656
10670
|
_useStateFromProp2 = _slicedToArray(_useStateFromProp, 2),
|
|
@@ -10750,12 +10764,12 @@ var Indicator = index$a(View)(function (_ref2) {
|
|
|
10750
10764
|
};
|
|
10751
10765
|
});
|
|
10752
10766
|
|
|
10753
|
-
var _excluded$
|
|
10767
|
+
var _excluded$d = ["intent", "children"];
|
|
10754
10768
|
var DataCard = function DataCard(_ref) {
|
|
10755
10769
|
var _ref$intent = _ref.intent,
|
|
10756
10770
|
intent = _ref$intent === void 0 ? 'info' : _ref$intent,
|
|
10757
10771
|
children = _ref.children,
|
|
10758
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
10772
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$d);
|
|
10759
10773
|
return /*#__PURE__*/React.createElement(StyledDataCard, nativeProps, /*#__PURE__*/React.createElement(Indicator, {
|
|
10760
10774
|
themeIntent: intent,
|
|
10761
10775
|
testID: "data-card-indicator"
|
|
@@ -10773,11 +10787,11 @@ var StyledCard = index$a(View)(function (_ref) {
|
|
|
10773
10787
|
});
|
|
10774
10788
|
});
|
|
10775
10789
|
|
|
10776
|
-
var _excluded$
|
|
10790
|
+
var _excluded$c = ["intent", "children"];
|
|
10777
10791
|
var Card = function Card(_ref) {
|
|
10778
10792
|
var intent = _ref.intent,
|
|
10779
10793
|
children = _ref.children,
|
|
10780
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
10794
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$c);
|
|
10781
10795
|
return /*#__PURE__*/React.createElement(StyledCard, _extends$1({}, nativeProps, {
|
|
10782
10796
|
themeIntent: intent
|
|
10783
10797
|
}), children);
|
|
@@ -11011,7 +11025,7 @@ var StyledErrorAndMaxLengthContainer = index$a(View)(function () {
|
|
|
11011
11025
|
};
|
|
11012
11026
|
});
|
|
11013
11027
|
|
|
11014
|
-
var _excluded$
|
|
11028
|
+
var _excluded$b = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "helpText", "value", "defaultValue", "renderInputValue"];
|
|
11015
11029
|
var getVariant$1 = function getVariant(_ref) {
|
|
11016
11030
|
var disabled = _ref.disabled,
|
|
11017
11031
|
error = _ref.error,
|
|
@@ -11057,7 +11071,7 @@ var TextInput = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
11057
11071
|
value = _ref2.value,
|
|
11058
11072
|
defaultValue = _ref2.defaultValue,
|
|
11059
11073
|
renderInputValue = _ref2.renderInputValue,
|
|
11060
|
-
nativeProps = _objectWithoutProperties(_ref2, _excluded$
|
|
11074
|
+
nativeProps = _objectWithoutProperties(_ref2, _excluded$b);
|
|
11061
11075
|
var displayText = (_ref3 = value !== undefined ? value : defaultValue) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
11062
11076
|
var isEmptyValue = displayText.length === 0;
|
|
11063
11077
|
var actualSuffix = loading ? 'loading' : suffix;
|
|
@@ -11735,11 +11749,11 @@ var StyledFABText = index$a(Text$1)(function (_ref3) {
|
|
|
11735
11749
|
};
|
|
11736
11750
|
});
|
|
11737
11751
|
|
|
11738
|
-
var _excluded$
|
|
11752
|
+
var _excluded$a = ["active"];
|
|
11739
11753
|
var AnimatedIcons = Animated.createAnimatedComponent(StyledFABIcon);
|
|
11740
11754
|
var AnimatedFABIcon = function AnimatedFABIcon(_ref) {
|
|
11741
11755
|
var active = _ref.active,
|
|
11742
|
-
iconProps = _objectWithoutProperties(_ref, _excluded$
|
|
11756
|
+
iconProps = _objectWithoutProperties(_ref, _excluded$a);
|
|
11743
11757
|
var rotateAnimation = useRef(new Animated.Value(active ? 1 : 0));
|
|
11744
11758
|
useEffect(function () {
|
|
11745
11759
|
var animation = Animated.timing(rotateAnimation.current, {
|
|
@@ -12092,8 +12106,7 @@ var ListItem = function ListItem(_ref) {
|
|
|
12092
12106
|
intent: disabled ? 'disabled-text' : 'primary'
|
|
12093
12107
|
}) : prefix), /*#__PURE__*/React.createElement(StyledTitleContainer$1, null, /*#__PURE__*/React.createElement(Typography.Text, {
|
|
12094
12108
|
intent: "body",
|
|
12095
|
-
fontSize: "large"
|
|
12096
|
-
fontWeight: "semi-bold"
|
|
12109
|
+
fontSize: "large"
|
|
12097
12110
|
}, title), !!subtitle && /*#__PURE__*/React.createElement(Typography.Text, {
|
|
12098
12111
|
intent: "subdued",
|
|
12099
12112
|
fontSize: "small"
|
|
@@ -12470,7 +12483,7 @@ var StyledStrokeEnd = index$a(View)(function (_ref6) {
|
|
|
12470
12483
|
};
|
|
12471
12484
|
});
|
|
12472
12485
|
|
|
12473
|
-
var _excluded$
|
|
12486
|
+
var _excluded$9 = ["value", "renderValue", "intent", "style", "testID"];
|
|
12474
12487
|
var HalfCircle = function HalfCircle(_ref) {
|
|
12475
12488
|
var type = _ref.type,
|
|
12476
12489
|
themeIntent = _ref.themeIntent;
|
|
@@ -12491,7 +12504,7 @@ var ProgressCircle = function ProgressCircle(_ref2) {
|
|
|
12491
12504
|
intent = _ref2$intent === void 0 ? 'primary' : _ref2$intent,
|
|
12492
12505
|
style = _ref2.style,
|
|
12493
12506
|
testID = _ref2.testID,
|
|
12494
|
-
nativeProps = _objectWithoutProperties(_ref2, _excluded$
|
|
12507
|
+
nativeProps = _objectWithoutProperties(_ref2, _excluded$9);
|
|
12495
12508
|
var theme = useTheme$1();
|
|
12496
12509
|
var radius = theme.__hd__.progress.sizes.circleDiameter / 2;
|
|
12497
12510
|
var progressAnimatedValue = useRef(new Animated.Value(0));
|
|
@@ -12608,14 +12621,14 @@ var StyledInner = index$a(Animated.View)(function (_ref2) {
|
|
|
12608
12621
|
};
|
|
12609
12622
|
});
|
|
12610
12623
|
|
|
12611
|
-
var _excluded$
|
|
12624
|
+
var _excluded$8 = ["value", "intent", "style", "testID"];
|
|
12612
12625
|
var ProgressBar = function ProgressBar(_ref) {
|
|
12613
12626
|
var value = _ref.value,
|
|
12614
12627
|
_ref$intent = _ref.intent,
|
|
12615
12628
|
intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
|
|
12616
12629
|
style = _ref.style,
|
|
12617
12630
|
testID = _ref.testID,
|
|
12618
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
12631
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$8);
|
|
12619
12632
|
var _useState = useState(0),
|
|
12620
12633
|
_useState2 = _slicedToArray(_useState, 2),
|
|
12621
12634
|
width = _useState2[0],
|
|
@@ -12806,14 +12819,14 @@ var AnimatedSpinner = function AnimatedSpinner(_ref) {
|
|
|
12806
12819
|
}, dotProps))));
|
|
12807
12820
|
};
|
|
12808
12821
|
|
|
12809
|
-
var _excluded$
|
|
12822
|
+
var _excluded$7 = ["testID", "size", "intent"];
|
|
12810
12823
|
var Spinner = function Spinner(_ref) {
|
|
12811
12824
|
var testID = _ref.testID,
|
|
12812
12825
|
_ref$size = _ref.size,
|
|
12813
12826
|
size = _ref$size === void 0 ? 'medium' : _ref$size,
|
|
12814
12827
|
_ref$intent = _ref.intent,
|
|
12815
12828
|
intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
|
|
12816
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
12829
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$7);
|
|
12817
12830
|
return /*#__PURE__*/React.createElement(StyledView$1, nativeProps, /*#__PURE__*/React.createElement(StyledSpinnerContainer, {
|
|
12818
12831
|
testID: testID
|
|
12819
12832
|
}, /*#__PURE__*/React.createElement(AnimatedSpinner, {
|
|
@@ -12822,60 +12835,12 @@ var Spinner = function Spinner(_ref) {
|
|
|
12822
12835
|
})));
|
|
12823
12836
|
};
|
|
12824
12837
|
|
|
12825
|
-
var Buttons = function Buttons(_ref) {
|
|
12826
|
-
var _buttons$length;
|
|
12827
|
-
var buttons = _ref.buttons,
|
|
12828
|
-
isLeftButtons = _ref.isLeftButtons,
|
|
12829
|
-
leftButtonContainerStyle = _ref.leftButtonContainerStyle,
|
|
12830
|
-
rightButtonContainerStyle = _ref.rightButtonContainerStyle,
|
|
12831
|
-
panAnimatedValue = _ref.panAnimatedValue,
|
|
12832
|
-
width = _ref.width,
|
|
12833
|
-
canSwipeLeft = _ref.canSwipeLeft,
|
|
12834
|
-
canSwipeRight = _ref.canSwipeRight,
|
|
12835
|
-
buttonWidth = _ref.buttonWidth;
|
|
12836
|
-
var count = (_buttons$length = buttons === null || buttons === void 0 ? void 0 : buttons.length) !== null && _buttons$length !== void 0 ? _buttons$length : 0;
|
|
12837
|
-
var leftEnd = canSwipeLeft ? -width : 0;
|
|
12838
|
-
var rightEnd = canSwipeRight ? width : 0;
|
|
12839
|
-
var inputRange = isLeftButtons ? [0, rightEnd] : [leftEnd, 0];
|
|
12840
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, buttons === null || buttons === void 0 ? void 0 : buttons.map(function (buttonContent, index) {
|
|
12841
|
-
var outputMultiplier = -index / count;
|
|
12842
|
-
var outputRange = isLeftButtons ? [0, rightEnd * outputMultiplier] : [leftEnd * outputMultiplier, 0];
|
|
12843
|
-
var transform = [{
|
|
12844
|
-
translateX: panAnimatedValue.x.interpolate({
|
|
12845
|
-
inputRange: inputRange,
|
|
12846
|
-
outputRange: outputRange,
|
|
12847
|
-
extrapolate: 'clamp'
|
|
12848
|
-
})
|
|
12849
|
-
}];
|
|
12850
|
-
var buttonStyle = [StyleSheet$1.absoluteFill, {
|
|
12851
|
-
width: buttonWidth,
|
|
12852
|
-
transform: transform
|
|
12853
|
-
}, isLeftButtons ? leftButtonContainerStyle : rightButtonContainerStyle];
|
|
12854
|
-
return /*#__PURE__*/React.createElement(Animated.View, {
|
|
12855
|
-
key: index,
|
|
12856
|
-
style: buttonStyle
|
|
12857
|
-
}, buttonContent);
|
|
12858
|
-
}));
|
|
12859
|
-
};
|
|
12860
|
-
|
|
12861
12838
|
var StyledRectButton = index$a(TouchableOpacity)(function (_ref) {
|
|
12862
12839
|
var theme = _ref.theme,
|
|
12863
12840
|
themeIntent = _ref.themeIntent;
|
|
12864
12841
|
return {
|
|
12865
12842
|
flex: 1,
|
|
12866
|
-
backgroundColor: theme.__hd__.swipeable.colors[themeIntent]
|
|
12867
|
-
alignItems: 'center',
|
|
12868
|
-
justifyContent: 'center'
|
|
12869
|
-
};
|
|
12870
|
-
});
|
|
12871
|
-
var StyledWrapper$3 = index$a(View)(function () {
|
|
12872
|
-
return {
|
|
12873
|
-
flexDirection: 'row'
|
|
12874
|
-
};
|
|
12875
|
-
});
|
|
12876
|
-
var StyledContent = index$a(Animated.View)(function () {
|
|
12877
|
-
return {
|
|
12878
|
-
flex: 1
|
|
12843
|
+
backgroundColor: theme.__hd__.swipeable.colors[themeIntent]
|
|
12879
12844
|
};
|
|
12880
12845
|
});
|
|
12881
12846
|
|
|
@@ -12884,122 +12849,215 @@ var SwipeableAction = function SwipeableAction(_ref) {
|
|
|
12884
12849
|
intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
|
|
12885
12850
|
onPress = _ref.onPress,
|
|
12886
12851
|
style = _ref.style,
|
|
12887
|
-
|
|
12888
|
-
|
|
12889
|
-
icon = _ref.icon;
|
|
12852
|
+
children = _ref.children,
|
|
12853
|
+
testID = _ref.testID;
|
|
12890
12854
|
return /*#__PURE__*/React.createElement(StyledRectButton, {
|
|
12891
12855
|
onPress: onPress,
|
|
12892
12856
|
themeIntent: intent,
|
|
12893
12857
|
style: style,
|
|
12894
12858
|
testID: testID
|
|
12895
|
-
},
|
|
12896
|
-
|
|
12897
|
-
|
|
12898
|
-
|
|
12899
|
-
|
|
12900
|
-
|
|
12859
|
+
}, children);
|
|
12860
|
+
};
|
|
12861
|
+
|
|
12862
|
+
var _excluded$6 = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth"];
|
|
12863
|
+
var renderActions = function renderActions(actions, width, progress, direction) {
|
|
12864
|
+
var trans = progress.interpolate({
|
|
12865
|
+
inputRange: [0, 1],
|
|
12866
|
+
outputRange: direction === 'left' ? [-width, 0] : [width, 0],
|
|
12867
|
+
extrapolate: 'clamp'
|
|
12868
|
+
});
|
|
12869
|
+
return /*#__PURE__*/React.createElement(Animated.View, {
|
|
12870
|
+
style: {
|
|
12871
|
+
width: width,
|
|
12872
|
+
flexDirection: 'row',
|
|
12873
|
+
transform: [{
|
|
12874
|
+
translateX: trans
|
|
12875
|
+
}]
|
|
12876
|
+
}
|
|
12877
|
+
}, actions);
|
|
12878
|
+
};
|
|
12879
|
+
var Swipeable = function Swipeable(_ref) {
|
|
12880
|
+
var children = _ref.children,
|
|
12881
|
+
state = _ref.state,
|
|
12882
|
+
onStateChange = _ref.onStateChange,
|
|
12883
|
+
leftActions = _ref.leftActions,
|
|
12884
|
+
leftActionsWidth = _ref.leftActionsWidth,
|
|
12885
|
+
rightActions = _ref.rightActions,
|
|
12886
|
+
rightActionsWidth = _ref.rightActionsWidth,
|
|
12887
|
+
swipeableProps = _objectWithoutProperties(_ref, _excluded$6);
|
|
12888
|
+
var _useWindowDimensions = useWindowDimensions(),
|
|
12889
|
+
width = _useWindowDimensions.width;
|
|
12890
|
+
var swipeableRef = useRef(null);
|
|
12891
|
+
var renderLeftActions = useCallback(function (progress) {
|
|
12892
|
+
return renderActions(leftActions, leftActionsWidth || width, progress, 'left');
|
|
12893
|
+
}, [leftActions, leftActionsWidth, width]);
|
|
12894
|
+
var renderRightActions = useCallback(function (progress) {
|
|
12895
|
+
return renderActions(rightActions, rightActionsWidth || width, progress, 'right');
|
|
12896
|
+
}, [rightActions, rightActionsWidth, width]);
|
|
12897
|
+
useEffect(function () {
|
|
12898
|
+
if (swipeableRef.current === null) return;
|
|
12899
|
+
switch (state) {
|
|
12900
|
+
case 'leftOpen':
|
|
12901
|
+
swipeableRef.current.openLeft();
|
|
12902
|
+
break;
|
|
12903
|
+
case 'rightOpen':
|
|
12904
|
+
swipeableRef.current.openRight();
|
|
12905
|
+
break;
|
|
12906
|
+
case 'closed':
|
|
12907
|
+
swipeableRef.current.close();
|
|
12908
|
+
break;
|
|
12909
|
+
}
|
|
12910
|
+
}, [state]);
|
|
12911
|
+
return /*#__PURE__*/React.createElement(GestureHandlerRootView, null, /*#__PURE__*/React.createElement(Swipeable$1, _extends$1({}, swipeableProps, {
|
|
12912
|
+
ref: swipeableRef
|
|
12913
|
+
}, leftActions !== undefined && {
|
|
12914
|
+
renderLeftActions: renderLeftActions
|
|
12915
|
+
}, rightActions !== undefined && {
|
|
12916
|
+
renderRightActions: renderRightActions
|
|
12917
|
+
}, {
|
|
12918
|
+
onSwipeableLeftOpen: function onSwipeableLeftOpen() {
|
|
12919
|
+
return onStateChange === null || onStateChange === void 0 ? void 0 : onStateChange('leftOpen');
|
|
12920
|
+
},
|
|
12921
|
+
onSwipeableRightOpen: function onSwipeableRightOpen() {
|
|
12922
|
+
return onStateChange === null || onStateChange === void 0 ? void 0 : onStateChange('rightOpen');
|
|
12923
|
+
},
|
|
12924
|
+
onSwipeableClose: function onSwipeableClose() {
|
|
12925
|
+
return onStateChange === null || onStateChange === void 0 ? void 0 : onStateChange('closed');
|
|
12926
|
+
}
|
|
12927
|
+
}), children));
|
|
12901
12928
|
};
|
|
12929
|
+
var index$5 = Object.assign(Swipeable, {
|
|
12930
|
+
Action: SwipeableAction,
|
|
12931
|
+
Content: RectButton
|
|
12932
|
+
});
|
|
12902
12933
|
|
|
12903
|
-
var
|
|
12934
|
+
var StyledWrapper$3 = index$a(View)(function () {
|
|
12935
|
+
return {
|
|
12936
|
+
flexDirection: 'row'
|
|
12937
|
+
};
|
|
12938
|
+
});
|
|
12939
|
+
var StyledContent = index$a(Animated.View)(function () {
|
|
12940
|
+
return {
|
|
12941
|
+
flex: 1
|
|
12942
|
+
};
|
|
12943
|
+
});
|
|
12944
|
+
|
|
12945
|
+
var _excluded$5 = ["children", "leftContent", "rightContent", "style", "leftActionsWidth", "onSwipeLeftStart", "onSwipeLeftEnd", "rightActionsWidth", "onSwipeRightStart", "onSwipeRightEnd"];
|
|
12904
12946
|
var swipeStartMinDistance = 15;
|
|
12905
|
-
var
|
|
12906
|
-
|
|
12907
|
-
|
|
12908
|
-
|
|
12909
|
-
|
|
12910
|
-
|
|
12911
|
-
|
|
12947
|
+
var ReleaseAnimationConfig = {
|
|
12948
|
+
toValue: {
|
|
12949
|
+
x: 0,
|
|
12950
|
+
y: 0
|
|
12951
|
+
},
|
|
12952
|
+
duration: 100,
|
|
12953
|
+
easing: Easing.elastic(0.5),
|
|
12954
|
+
useNativeDriver: true
|
|
12955
|
+
};
|
|
12956
|
+
var animationToNewState = function animationToNewState(pan) {
|
|
12957
|
+
var animationConfig = ReleaseAnimationConfig;
|
|
12958
|
+
pan.flattenOffset();
|
|
12959
|
+
return Animated.timing(pan, animationConfig);
|
|
12960
|
+
};
|
|
12961
|
+
var hanleOnPanResponderEnd = function hanleOnPanResponderEnd(state, contextValues, event, gestureState) {
|
|
12962
|
+
var unmountedRef = contextValues.unmountedRef,
|
|
12963
|
+
onSwipeLeftEnd = contextValues.onSwipeLeftEnd,
|
|
12964
|
+
onSwipeRightEnd = contextValues.onSwipeRightEnd;
|
|
12965
|
+
var leftActionActivated = state.leftActionActivated,
|
|
12966
|
+
rightActionActivated = state.rightActionActivated,
|
|
12967
|
+
pan = state.pan;
|
|
12968
|
+
var animationConfig = ReleaseAnimationConfig;
|
|
12969
|
+
animationToNewState(pan).start(function () {
|
|
12970
|
+
if (unmountedRef.current) {
|
|
12971
|
+
return;
|
|
12972
|
+
}
|
|
12973
|
+
if (leftActionActivated && onSwipeRightEnd) {
|
|
12974
|
+
onSwipeRightEnd(event, gestureState);
|
|
12975
|
+
}
|
|
12976
|
+
if (rightActionActivated && onSwipeLeftEnd) {
|
|
12977
|
+
onSwipeLeftEnd(event, gestureState);
|
|
12978
|
+
}
|
|
12979
|
+
});
|
|
12980
|
+
return _objectSpread2(_objectSpread2({}, state), {}, {
|
|
12981
|
+
lastOffset: {
|
|
12982
|
+
x: animationConfig.toValue.x,
|
|
12983
|
+
y: animationConfig.toValue.y
|
|
12912
12984
|
},
|
|
12913
|
-
|
|
12914
|
-
|
|
12915
|
-
|
|
12916
|
-
|
|
12917
|
-
|
|
12918
|
-
|
|
12919
|
-
|
|
12920
|
-
|
|
12921
|
-
|
|
12922
|
-
|
|
12923
|
-
|
|
12985
|
+
leftActionActivated: false,
|
|
12986
|
+
rightActionActivated: false
|
|
12987
|
+
});
|
|
12988
|
+
};
|
|
12989
|
+
var hanleOnPanResponderMove = function hanleOnPanResponderMove(state, contextValues, event, gestureState) {
|
|
12990
|
+
var leftActionsWidth = contextValues.leftActionsWidth,
|
|
12991
|
+
rightActionsWidth = contextValues.rightActionsWidth,
|
|
12992
|
+
onSwipeLeftStart = contextValues.onSwipeLeftStart,
|
|
12993
|
+
onSwipeRightStart = contextValues.onSwipeRightStart,
|
|
12994
|
+
canSwipeRight = contextValues.canSwipeRight,
|
|
12995
|
+
canSwipeLeft = contextValues.canSwipeLeft;
|
|
12996
|
+
var lastOffset = state.lastOffset,
|
|
12997
|
+
leftActionActivated = state.leftActionActivated,
|
|
12998
|
+
rightActionActivated = state.rightActionActivated;
|
|
12999
|
+
var dx = gestureState.dx;
|
|
13000
|
+
var x = dx + lastOffset.x;
|
|
13001
|
+
var nextLeftActionActivated = leftActionActivated;
|
|
13002
|
+
var nextRightActionActivated = rightActionActivated;
|
|
13003
|
+
Animated.event([null, {
|
|
13004
|
+
dx: state.pan.x,
|
|
13005
|
+
dy: state.pan.y
|
|
13006
|
+
}], {
|
|
13007
|
+
useNativeDriver: false
|
|
13008
|
+
})(event, gestureState);
|
|
13009
|
+
if (!leftActionActivated && canSwipeRight && x >= leftActionsWidth) {
|
|
13010
|
+
nextLeftActionActivated = true;
|
|
13011
|
+
onSwipeRightStart(event, gestureState);
|
|
12924
13012
|
}
|
|
12925
|
-
if (
|
|
12926
|
-
|
|
12927
|
-
toValue: {
|
|
12928
|
-
x: totalRightButtonsWidth * -1,
|
|
12929
|
-
y: 0
|
|
12930
|
-
}
|
|
12931
|
-
});
|
|
13013
|
+
if (leftActionActivated && canSwipeRight && x < leftActionsWidth) {
|
|
13014
|
+
nextLeftActionActivated = false;
|
|
12932
13015
|
}
|
|
12933
|
-
|
|
12934
|
-
|
|
12935
|
-
|
|
12936
|
-
var swipeState = _ref.swipeState,
|
|
12937
|
-
totalLeftButtonsWidth = _ref.totalLeftButtonsWidth,
|
|
12938
|
-
totalRightButtonsWidth = _ref.totalRightButtonsWidth;
|
|
12939
|
-
if (swipeState === 'leftOpen') {
|
|
12940
|
-
return {
|
|
12941
|
-
x: totalLeftButtonsWidth,
|
|
12942
|
-
y: 0
|
|
12943
|
-
};
|
|
13016
|
+
if (!rightActionActivated && canSwipeLeft && x <= -rightActionsWidth) {
|
|
13017
|
+
nextRightActionActivated = true;
|
|
13018
|
+
onSwipeLeftStart(event, gestureState);
|
|
12944
13019
|
}
|
|
12945
|
-
if (
|
|
12946
|
-
|
|
12947
|
-
x: totalRightButtonsWidth * -1,
|
|
12948
|
-
y: 0
|
|
12949
|
-
};
|
|
13020
|
+
if (rightActionActivated && canSwipeLeft && x > -rightActionsWidth) {
|
|
13021
|
+
nextRightActionActivated = false;
|
|
12950
13022
|
}
|
|
12951
|
-
|
|
12952
|
-
|
|
12953
|
-
|
|
12954
|
-
|
|
13023
|
+
var needsUpdate = nextLeftActionActivated !== leftActionActivated || nextRightActionActivated !== rightActionActivated;
|
|
13024
|
+
if (needsUpdate) {
|
|
13025
|
+
return _objectSpread2(_objectSpread2({}, state), {}, {
|
|
13026
|
+
leftActionActivated: nextLeftActionActivated,
|
|
13027
|
+
rightActionActivated: nextRightActionActivated
|
|
13028
|
+
});
|
|
13029
|
+
}
|
|
13030
|
+
return state;
|
|
12955
13031
|
};
|
|
12956
|
-
var
|
|
12957
|
-
var children =
|
|
12958
|
-
|
|
12959
|
-
|
|
12960
|
-
|
|
12961
|
-
|
|
12962
|
-
|
|
12963
|
-
|
|
12964
|
-
|
|
12965
|
-
|
|
12966
|
-
|
|
12967
|
-
|
|
12968
|
-
|
|
12969
|
-
|
|
12970
|
-
|
|
12971
|
-
|
|
12972
|
-
|
|
12973
|
-
|
|
12974
|
-
rightActionsWidth = _ref2$rightActionsWid === void 0 ? scale(85) : _ref2$rightActionsWid,
|
|
12975
|
-
_ref2$rightButtonWidt = _ref2.rightButtonWidth,
|
|
12976
|
-
rightButtonWidth = _ref2$rightButtonWidt === void 0 ? scale(85) : _ref2$rightButtonWidt,
|
|
12977
|
-
_ref2$onSwipeRightSta = _ref2.onSwipeRightStart,
|
|
12978
|
-
onSwipeRightStart = _ref2$onSwipeRightSta === void 0 ? noop : _ref2$onSwipeRightSta,
|
|
12979
|
-
_ref2$onSwipeRightEnd = _ref2.onSwipeRightEnd,
|
|
12980
|
-
onSwipeRightEnd = _ref2$onSwipeRightEnd === void 0 ? noop : _ref2$onSwipeRightEnd,
|
|
12981
|
-
_ref2$swipeState = _ref2.swipeState,
|
|
12982
|
-
swipeState = _ref2$swipeState === void 0 ? 'closed' : _ref2$swipeState,
|
|
12983
|
-
_ref2$onStateChange = _ref2.onStateChange,
|
|
12984
|
-
onStateChange = _ref2$onStateChange === void 0 ? noop : _ref2$onStateChange,
|
|
12985
|
-
rest = _objectWithoutProperties(_ref2, _excluded$1);
|
|
13032
|
+
var SwipeableV2 = function SwipeableV2(_ref) {
|
|
13033
|
+
var children = _ref.children,
|
|
13034
|
+
leftContent = _ref.leftContent,
|
|
13035
|
+
rightContent = _ref.rightContent,
|
|
13036
|
+
style = _ref.style,
|
|
13037
|
+
_ref$leftActionsWidth = _ref.leftActionsWidth,
|
|
13038
|
+
leftActionsWidth = _ref$leftActionsWidth === void 0 ? scale(200) : _ref$leftActionsWidth,
|
|
13039
|
+
_ref$onSwipeLeftStart = _ref.onSwipeLeftStart,
|
|
13040
|
+
onSwipeLeftStart = _ref$onSwipeLeftStart === void 0 ? noop : _ref$onSwipeLeftStart,
|
|
13041
|
+
_ref$onSwipeLeftEnd = _ref.onSwipeLeftEnd,
|
|
13042
|
+
onSwipeLeftEnd = _ref$onSwipeLeftEnd === void 0 ? noop : _ref$onSwipeLeftEnd,
|
|
13043
|
+
_ref$rightActionsWidt = _ref.rightActionsWidth,
|
|
13044
|
+
rightActionsWidth = _ref$rightActionsWidt === void 0 ? scale(200) : _ref$rightActionsWidt,
|
|
13045
|
+
_ref$onSwipeRightStar = _ref.onSwipeRightStart,
|
|
13046
|
+
onSwipeRightStart = _ref$onSwipeRightStar === void 0 ? noop : _ref$onSwipeRightStar,
|
|
13047
|
+
_ref$onSwipeRightEnd = _ref.onSwipeRightEnd,
|
|
13048
|
+
onSwipeRightEnd = _ref$onSwipeRightEnd === void 0 ? noop : _ref$onSwipeRightEnd,
|
|
13049
|
+
rest = _objectWithoutProperties(_ref, _excluded$5);
|
|
12986
13050
|
var propsWithDefaultValue = _objectSpread2({
|
|
12987
13051
|
children: children,
|
|
12988
|
-
leftActions: leftActions,
|
|
12989
13052
|
leftContent: leftContent,
|
|
12990
|
-
rightActions: rightActions,
|
|
12991
13053
|
rightContent: rightContent,
|
|
12992
13054
|
style: style,
|
|
12993
13055
|
leftActionsWidth: leftActionsWidth,
|
|
12994
|
-
leftButtonWidth: leftButtonWidth,
|
|
12995
13056
|
onSwipeLeftStart: onSwipeLeftStart,
|
|
12996
13057
|
onSwipeLeftEnd: onSwipeLeftEnd,
|
|
12997
13058
|
rightActionsWidth: rightActionsWidth,
|
|
12998
|
-
rightButtonWidth: rightButtonWidth,
|
|
12999
13059
|
onSwipeRightStart: onSwipeRightStart,
|
|
13000
|
-
onSwipeRightEnd: onSwipeRightEnd
|
|
13001
|
-
swipeState: swipeState,
|
|
13002
|
-
onStateChange: onStateChange
|
|
13060
|
+
onSwipeRightEnd: onSwipeRightEnd
|
|
13003
13061
|
}, rest);
|
|
13004
13062
|
var unmountedRef = React.useRef(false);
|
|
13005
13063
|
useEffect(function () {
|
|
@@ -13007,30 +13065,24 @@ var Swipeable = function Swipeable(_ref2) {
|
|
|
13007
13065
|
unmountedRef.current = true;
|
|
13008
13066
|
};
|
|
13009
13067
|
}, []);
|
|
13010
|
-
var totalLeftButtonsWidth = leftActions.length * leftButtonWidth;
|
|
13011
|
-
var totalRightButtonsWidth = rightActions.length * rightButtonWidth;
|
|
13012
13068
|
var _React$useState = React.useState(0),
|
|
13013
13069
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
13014
13070
|
width = _React$useState2[0],
|
|
13015
13071
|
setWidth = _React$useState2[1];
|
|
13016
|
-
var
|
|
13017
|
-
var
|
|
13018
|
-
var canSwipeRight = !!leftContent || !!hasLeftButtons;
|
|
13019
|
-
var canSwipeLeft = !!rightContent || !!hasRightButtons;
|
|
13072
|
+
var canSwipeRight = !!leftContent;
|
|
13073
|
+
var canSwipeLeft = !!rightContent;
|
|
13020
13074
|
var propsRef = React.useRef(undefined);
|
|
13021
13075
|
var _React$useState3 = React.useState({
|
|
13022
|
-
pan: new Animated.ValueXY(
|
|
13023
|
-
|
|
13024
|
-
|
|
13025
|
-
|
|
13026
|
-
})),
|
|
13076
|
+
pan: new Animated.ValueXY({
|
|
13077
|
+
x: 0,
|
|
13078
|
+
y: 0
|
|
13079
|
+
}),
|
|
13027
13080
|
lastOffset: {
|
|
13028
13081
|
x: 0,
|
|
13029
13082
|
y: 0
|
|
13030
13083
|
},
|
|
13031
13084
|
leftActionActivated: false,
|
|
13032
|
-
rightActionActivated:
|
|
13033
|
-
swipeState: 'closed'
|
|
13085
|
+
rightActionActivated: false
|
|
13034
13086
|
}),
|
|
13035
13087
|
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
13036
13088
|
state = _React$useState4[0],
|
|
@@ -13038,24 +13090,8 @@ var Swipeable = function Swipeable(_ref2) {
|
|
|
13038
13090
|
propsRef.current = _objectSpread2(_objectSpread2({}, propsWithDefaultValue), {}, {
|
|
13039
13091
|
canSwipeLeft: canSwipeLeft,
|
|
13040
13092
|
canSwipeRight: canSwipeRight,
|
|
13041
|
-
totalLeftButtonsWidth: totalLeftButtonsWidth,
|
|
13042
|
-
totalRightButtonsWidth: totalRightButtonsWidth,
|
|
13043
|
-
hasLeftButtons: hasLeftButtons,
|
|
13044
|
-
hasRightButtons: hasRightButtons,
|
|
13045
13093
|
unmountedRef: unmountedRef
|
|
13046
13094
|
});
|
|
13047
|
-
useEffect(function () {
|
|
13048
|
-
var animation = null;
|
|
13049
|
-
if (state.swipeState !== swipeState) {
|
|
13050
|
-
animation = animationToNewState(swipeState, state.pan, totalLeftButtonsWidth, totalRightButtonsWidth);
|
|
13051
|
-
animation.start();
|
|
13052
|
-
}
|
|
13053
|
-
return function () {
|
|
13054
|
-
if (animation) {
|
|
13055
|
-
animation.stop();
|
|
13056
|
-
}
|
|
13057
|
-
};
|
|
13058
|
-
}, [swipeState]);
|
|
13059
13095
|
var transform = [{
|
|
13060
13096
|
translateX: state.pan.x.interpolate({
|
|
13061
13097
|
inputRange: [canSwipeLeft ? -width : 0, canSwipeRight ? width : 0],
|
|
@@ -13097,8 +13133,7 @@ var Swipeable = function Swipeable(_ref2) {
|
|
|
13097
13133
|
})).current;
|
|
13098
13134
|
return /*#__PURE__*/React.createElement(StyledWrapper$3, _extends$1({
|
|
13099
13135
|
onLayout: function onLayout(event) {
|
|
13100
|
-
|
|
13101
|
-
setWidth(width);
|
|
13136
|
+
setWidth(event.nativeEvent.layout.width);
|
|
13102
13137
|
},
|
|
13103
13138
|
style: [{
|
|
13104
13139
|
flexDirection: 'row'
|
|
@@ -13109,15 +13144,7 @@ var Swipeable = function Swipeable(_ref2) {
|
|
|
13109
13144
|
marginLeft: -width,
|
|
13110
13145
|
width: width
|
|
13111
13146
|
}]
|
|
13112
|
-
}, leftContent
|
|
13113
|
-
buttons: leftActions,
|
|
13114
|
-
isLeftButtons: true,
|
|
13115
|
-
panAnimatedValue: state.pan,
|
|
13116
|
-
width: width,
|
|
13117
|
-
canSwipeLeft: canSwipeLeft,
|
|
13118
|
-
canSwipeRight: canSwipeRight,
|
|
13119
|
-
buttonWidth: leftButtonWidth
|
|
13120
|
-
})), /*#__PURE__*/React.createElement(StyledContent, {
|
|
13147
|
+
}, leftContent), /*#__PURE__*/React.createElement(StyledContent, {
|
|
13121
13148
|
style: {
|
|
13122
13149
|
transform: transform
|
|
13123
13150
|
}
|
|
@@ -13127,139 +13154,8 @@ var Swipeable = function Swipeable(_ref2) {
|
|
|
13127
13154
|
marginRight: -width,
|
|
13128
13155
|
width: width
|
|
13129
13156
|
}]
|
|
13130
|
-
}, rightContent
|
|
13131
|
-
buttons: rightActions,
|
|
13132
|
-
isLeftButtons: false,
|
|
13133
|
-
panAnimatedValue: state.pan,
|
|
13134
|
-
width: width,
|
|
13135
|
-
canSwipeRight: canSwipeRight,
|
|
13136
|
-
canSwipeLeft: canSwipeLeft,
|
|
13137
|
-
buttonWidth: rightButtonWidth
|
|
13138
|
-
})));
|
|
13139
|
-
};
|
|
13140
|
-
var animationToNewState = function animationToNewState(swipeState, pan, totalLeftButtonsWidth, totalRightButtonsWidth) {
|
|
13141
|
-
var animationConfig = getReleaseAnimationConfig(swipeState, {
|
|
13142
|
-
totalLeftButtonsWidth: totalLeftButtonsWidth,
|
|
13143
|
-
totalRightButtonsWidth: totalRightButtonsWidth
|
|
13144
|
-
});
|
|
13145
|
-
pan.flattenOffset();
|
|
13146
|
-
return Animated.timing(pan, animationConfig);
|
|
13147
|
-
};
|
|
13148
|
-
var hanleOnPanResponderEnd = function hanleOnPanResponderEnd(state, contextValues, event, gestureState) {
|
|
13149
|
-
var totalLeftButtonsWidth = contextValues.totalLeftButtonsWidth,
|
|
13150
|
-
totalRightButtonsWidth = contextValues.totalRightButtonsWidth,
|
|
13151
|
-
unmountedRef = contextValues.unmountedRef,
|
|
13152
|
-
onSwipeLeftEnd = contextValues.onSwipeLeftEnd,
|
|
13153
|
-
onSwipeRightEnd = contextValues.onSwipeRightEnd,
|
|
13154
|
-
onStateChange = contextValues.onStateChange;
|
|
13155
|
-
var leftActionActivated = state.leftActionActivated,
|
|
13156
|
-
rightActionActivated = state.rightActionActivated,
|
|
13157
|
-
pan = state.pan,
|
|
13158
|
-
swipeState = state.swipeState;
|
|
13159
|
-
var animationConfig = getReleaseAnimationConfig(swipeState, {
|
|
13160
|
-
totalLeftButtonsWidth: totalLeftButtonsWidth,
|
|
13161
|
-
totalRightButtonsWidth: totalRightButtonsWidth
|
|
13162
|
-
});
|
|
13163
|
-
animationToNewState(swipeState, pan, totalLeftButtonsWidth, totalRightButtonsWidth).start(function () {
|
|
13164
|
-
if (unmountedRef.current) {
|
|
13165
|
-
return;
|
|
13166
|
-
}
|
|
13167
|
-
if (leftActionActivated && onSwipeLeftEnd) {
|
|
13168
|
-
onSwipeLeftEnd(event, gestureState);
|
|
13169
|
-
}
|
|
13170
|
-
if (rightActionActivated && onSwipeRightEnd) {
|
|
13171
|
-
onSwipeRightEnd(event, gestureState);
|
|
13172
|
-
}
|
|
13173
|
-
onStateChange(swipeState);
|
|
13174
|
-
});
|
|
13175
|
-
return _objectSpread2(_objectSpread2({}, state), {}, {
|
|
13176
|
-
lastOffset: {
|
|
13177
|
-
x: animationConfig.toValue.x,
|
|
13178
|
-
y: animationConfig.toValue.y
|
|
13179
|
-
},
|
|
13180
|
-
leftActionActivated: false,
|
|
13181
|
-
rightActionActivated: false
|
|
13182
|
-
});
|
|
13157
|
+
}, rightContent));
|
|
13183
13158
|
};
|
|
13184
|
-
var hanleOnPanResponderMove = function hanleOnPanResponderMove(state, contextValues, event, gestureState) {
|
|
13185
|
-
var leftActionsWidth = contextValues.leftActionsWidth,
|
|
13186
|
-
rightActionsWidth = contextValues.rightActionsWidth,
|
|
13187
|
-
onSwipeLeftStart = contextValues.onSwipeLeftStart,
|
|
13188
|
-
onSwipeRightStart = contextValues.onSwipeRightStart,
|
|
13189
|
-
canSwipeRight = contextValues.canSwipeRight,
|
|
13190
|
-
canSwipeLeft = contextValues.canSwipeLeft,
|
|
13191
|
-
hasLeftButtons = contextValues.hasLeftButtons,
|
|
13192
|
-
hasRightButtons = contextValues.hasRightButtons;
|
|
13193
|
-
var lastOffset = state.lastOffset,
|
|
13194
|
-
leftActionActivated = state.leftActionActivated,
|
|
13195
|
-
swipeState = state.swipeState,
|
|
13196
|
-
rightActionActivated = state.rightActionActivated;
|
|
13197
|
-
var dx = gestureState.dx,
|
|
13198
|
-
vx = gestureState.vx;
|
|
13199
|
-
var x = dx + lastOffset.x;
|
|
13200
|
-
var isSwipingLeft = vx < 0;
|
|
13201
|
-
var isSwipingRight = vx > 0;
|
|
13202
|
-
var leftActionsActivated = swipeState === 'leftOpen';
|
|
13203
|
-
var rightActionsActivated = swipeState === 'rightOpen';
|
|
13204
|
-
var nextLeftActionActivated = leftActionActivated;
|
|
13205
|
-
var nextLeftButtonsActivated = leftActionsActivated;
|
|
13206
|
-
var nextRightActionActivated = rightActionActivated;
|
|
13207
|
-
var nextRightButtonsActivated = rightActionsActivated;
|
|
13208
|
-
Animated.event([null, {
|
|
13209
|
-
dx: state.pan.x,
|
|
13210
|
-
dy: state.pan.y
|
|
13211
|
-
}], {
|
|
13212
|
-
useNativeDriver: false
|
|
13213
|
-
})(event, gestureState);
|
|
13214
|
-
if (!leftActionActivated && canSwipeRight && x >= leftActionsWidth) {
|
|
13215
|
-
nextLeftActionActivated = true;
|
|
13216
|
-
onSwipeRightStart(event, gestureState);
|
|
13217
|
-
}
|
|
13218
|
-
if (leftActionActivated && canSwipeRight && x < leftActionsWidth) {
|
|
13219
|
-
nextLeftActionActivated = false;
|
|
13220
|
-
}
|
|
13221
|
-
if (!rightActionActivated && canSwipeLeft && x <= -rightActionsWidth) {
|
|
13222
|
-
nextRightActionActivated = true;
|
|
13223
|
-
onSwipeLeftStart(event, gestureState);
|
|
13224
|
-
}
|
|
13225
|
-
if (rightActionActivated && canSwipeLeft && x > -rightActionsWidth) {
|
|
13226
|
-
nextRightActionActivated = false;
|
|
13227
|
-
}
|
|
13228
|
-
if (!leftActionsActivated && hasLeftButtons && !isSwipingLeft && x >= leftActionsWidth) {
|
|
13229
|
-
nextLeftButtonsActivated = true;
|
|
13230
|
-
}
|
|
13231
|
-
if (leftActionsActivated && hasLeftButtons && isSwipingLeft) {
|
|
13232
|
-
nextLeftButtonsActivated = false;
|
|
13233
|
-
}
|
|
13234
|
-
if (!rightActionsActivated && hasRightButtons && !isSwipingRight && x <= -rightActionsWidth) {
|
|
13235
|
-
nextRightButtonsActivated = true;
|
|
13236
|
-
}
|
|
13237
|
-
if (rightActionsActivated && hasRightButtons && isSwipingRight) {
|
|
13238
|
-
nextRightButtonsActivated = false;
|
|
13239
|
-
}
|
|
13240
|
-
var needsUpdate = nextLeftActionActivated !== leftActionActivated || nextLeftButtonsActivated !== leftActionsActivated || nextRightActionActivated !== rightActionActivated || nextRightButtonsActivated !== rightActionsActivated;
|
|
13241
|
-
if (needsUpdate) {
|
|
13242
|
-
var nextSwipeState = function () {
|
|
13243
|
-
if (nextLeftButtonsActivated) {
|
|
13244
|
-
return 'leftOpen';
|
|
13245
|
-
} else if (nextRightButtonsActivated) {
|
|
13246
|
-
return 'rightOpen';
|
|
13247
|
-
} else {
|
|
13248
|
-
return 'closed';
|
|
13249
|
-
}
|
|
13250
|
-
}();
|
|
13251
|
-
return _objectSpread2(_objectSpread2({}, state), {}, {
|
|
13252
|
-
leftActionActivated: nextLeftActionActivated,
|
|
13253
|
-
rightActionActivated: nextRightActionActivated,
|
|
13254
|
-
swipeState: nextSwipeState
|
|
13255
|
-
});
|
|
13256
|
-
} else {
|
|
13257
|
-
return state;
|
|
13258
|
-
}
|
|
13259
|
-
};
|
|
13260
|
-
var index$5 = Object.assign( /*#__PURE__*/React.memo(Swipeable), {
|
|
13261
|
-
Action: SwipeableAction
|
|
13262
|
-
});
|
|
13263
13159
|
|
|
13264
13160
|
var Circle = index$a(View)(function (_ref) {
|
|
13265
13161
|
var theme = _ref.theme;
|
|
@@ -13519,6 +13415,7 @@ var StyledSectionList = index$a(SectionList)(function (_ref4) {
|
|
|
13519
13415
|
};
|
|
13520
13416
|
});
|
|
13521
13417
|
|
|
13418
|
+
var _excluded$4 = ["keyExtractor", "loading", "onEndReached", "onQueryChange", "sections", "renderItem", "sectionListRef"];
|
|
13522
13419
|
var BaseOptionList = function BaseOptionList(_ref) {
|
|
13523
13420
|
var keyExtractor = _ref.keyExtractor,
|
|
13524
13421
|
loading = _ref.loading,
|
|
@@ -13526,13 +13423,14 @@ var BaseOptionList = function BaseOptionList(_ref) {
|
|
|
13526
13423
|
onQueryChange = _ref.onQueryChange,
|
|
13527
13424
|
sections = _ref.sections,
|
|
13528
13425
|
renderItem = _ref.renderItem,
|
|
13529
|
-
sectionListRef = _ref.sectionListRef
|
|
13426
|
+
sectionListRef = _ref.sectionListRef,
|
|
13427
|
+
rest = _objectWithoutProperties(_ref, _excluded$4);
|
|
13530
13428
|
var theme = useTheme$1();
|
|
13531
13429
|
var _useState = useState(false),
|
|
13532
13430
|
_useState2 = _slicedToArray(_useState, 2),
|
|
13533
13431
|
onEndReachedCalled = _useState2[0],
|
|
13534
13432
|
setOnEndReachedCalled = _useState2[1];
|
|
13535
|
-
return /*#__PURE__*/React.createElement(StyledSectionList, {
|
|
13433
|
+
return /*#__PURE__*/React.createElement(StyledSectionList, _extends$1({
|
|
13536
13434
|
ref: sectionListRef,
|
|
13537
13435
|
style: _objectSpread2({}, onQueryChange ? {
|
|
13538
13436
|
height: Dimensions.get('screen').height
|
|
@@ -13566,7 +13464,7 @@ var BaseOptionList = function BaseOptionList(_ref) {
|
|
|
13566
13464
|
renderItem: renderItem,
|
|
13567
13465
|
ItemSeparatorComponent: OptionSpacer,
|
|
13568
13466
|
SectionSeparatorComponent: SectionSpacer
|
|
13569
|
-
});
|
|
13467
|
+
}, rest));
|
|
13570
13468
|
};
|
|
13571
13469
|
|
|
13572
13470
|
var Option$2 = function Option(_ref) {
|
|
@@ -13595,6 +13493,7 @@ var Option$2 = function Option(_ref) {
|
|
|
13595
13493
|
return highlighted === true ? /*#__PURE__*/React.createElement(List.Item, props) : /*#__PURE__*/React.createElement(List.BasicItem, props);
|
|
13596
13494
|
};
|
|
13597
13495
|
|
|
13496
|
+
var _excluded$3 = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
|
|
13598
13497
|
var OptionList$1 = function OptionList(_ref) {
|
|
13599
13498
|
var keyExtractor = _ref.keyExtractor,
|
|
13600
13499
|
loading = _ref.loading,
|
|
@@ -13604,7 +13503,8 @@ var OptionList$1 = function OptionList(_ref) {
|
|
|
13604
13503
|
sections = _ref.sections,
|
|
13605
13504
|
renderOption = _ref.renderOption,
|
|
13606
13505
|
value = _ref.value,
|
|
13607
|
-
sectionListRef = _ref.sectionListRef
|
|
13506
|
+
sectionListRef = _ref.sectionListRef,
|
|
13507
|
+
rest = _objectWithoutProperties(_ref, _excluded$3);
|
|
13608
13508
|
var renderItem = function renderItem(info) {
|
|
13609
13509
|
var item = info.item;
|
|
13610
13510
|
var selected = value.includes(info.item.value);
|
|
@@ -13628,7 +13528,7 @@ var OptionList$1 = function OptionList(_ref) {
|
|
|
13628
13528
|
highlighted: item.highlighted
|
|
13629
13529
|
});
|
|
13630
13530
|
};
|
|
13631
|
-
return /*#__PURE__*/React.createElement(BaseOptionList, {
|
|
13531
|
+
return /*#__PURE__*/React.createElement(BaseOptionList, _extends$1({
|
|
13632
13532
|
keyExtractor: keyExtractor,
|
|
13633
13533
|
loading: loading,
|
|
13634
13534
|
onEndReached: onEndReached,
|
|
@@ -13636,7 +13536,7 @@ var OptionList$1 = function OptionList(_ref) {
|
|
|
13636
13536
|
sections: sections,
|
|
13637
13537
|
renderItem: renderItem,
|
|
13638
13538
|
sectionListRef: sectionListRef
|
|
13639
|
-
});
|
|
13539
|
+
}, rest));
|
|
13640
13540
|
};
|
|
13641
13541
|
|
|
13642
13542
|
function MultiSelect(_ref) {
|
|
@@ -13754,7 +13654,16 @@ function MultiSelect(_ref) {
|
|
|
13754
13654
|
renderOption: renderOption,
|
|
13755
13655
|
value: selectingValue,
|
|
13756
13656
|
onPress: setSelectingValue,
|
|
13757
|
-
sectionListRef: sectionListRef
|
|
13657
|
+
sectionListRef: sectionListRef,
|
|
13658
|
+
onScrollToIndexFailed: function onScrollToIndexFailed(info) {
|
|
13659
|
+
setTimeout(function () {
|
|
13660
|
+
var scrollParams = getScrollParams(value === null || value === void 0 ? void 0 : value[0], sections);
|
|
13661
|
+
if (scrollParams.itemIndex < info.highestMeasuredFrameIndex) {
|
|
13662
|
+
var _sectionListRef$curre2;
|
|
13663
|
+
(_sectionListRef$curre2 = sectionListRef.current) === null || _sectionListRef$curre2 === void 0 ? void 0 : _sectionListRef$curre2.scrollToLocation(scrollParams);
|
|
13664
|
+
}
|
|
13665
|
+
}, 500);
|
|
13666
|
+
}
|
|
13758
13667
|
})));
|
|
13759
13668
|
}
|
|
13760
13669
|
|
|
@@ -13782,6 +13691,7 @@ var StyledOptionList = index$a(BaseOptionList)(function (_ref) {
|
|
|
13782
13691
|
};
|
|
13783
13692
|
});
|
|
13784
13693
|
|
|
13694
|
+
var _excluded$2 = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
|
|
13785
13695
|
var OptionList = function OptionList(_ref) {
|
|
13786
13696
|
var keyExtractor = _ref.keyExtractor,
|
|
13787
13697
|
loading = _ref.loading,
|
|
@@ -13791,7 +13701,8 @@ var OptionList = function OptionList(_ref) {
|
|
|
13791
13701
|
sections = _ref.sections,
|
|
13792
13702
|
renderOption = _ref.renderOption,
|
|
13793
13703
|
value = _ref.value,
|
|
13794
|
-
sectionListRef = _ref.sectionListRef
|
|
13704
|
+
sectionListRef = _ref.sectionListRef,
|
|
13705
|
+
rest = _objectWithoutProperties(_ref, _excluded$2);
|
|
13795
13706
|
var renderItem = function renderItem(info) {
|
|
13796
13707
|
var item = info.item;
|
|
13797
13708
|
var selected = item.value === value;
|
|
@@ -13813,7 +13724,7 @@ var OptionList = function OptionList(_ref) {
|
|
|
13813
13724
|
highlighted: item.highlighted
|
|
13814
13725
|
});
|
|
13815
13726
|
};
|
|
13816
|
-
return /*#__PURE__*/React.createElement(StyledOptionList, {
|
|
13727
|
+
return /*#__PURE__*/React.createElement(StyledOptionList, _extends$1({
|
|
13817
13728
|
keyExtractor: keyExtractor,
|
|
13818
13729
|
loading: loading,
|
|
13819
13730
|
onEndReached: onEndReached,
|
|
@@ -13821,7 +13732,7 @@ var OptionList = function OptionList(_ref) {
|
|
|
13821
13732
|
sections: sections,
|
|
13822
13733
|
renderItem: renderItem,
|
|
13823
13734
|
sectionListRef: sectionListRef
|
|
13824
|
-
});
|
|
13735
|
+
}, rest));
|
|
13825
13736
|
};
|
|
13826
13737
|
|
|
13827
13738
|
var SingleSelect = function SingleSelect(_ref) {
|
|
@@ -13917,7 +13828,16 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
13917
13828
|
setOpen(false);
|
|
13918
13829
|
onConfirm(selectedValue);
|
|
13919
13830
|
},
|
|
13920
|
-
sectionListRef: sectionListRef
|
|
13831
|
+
sectionListRef: sectionListRef,
|
|
13832
|
+
onScrollToIndexFailed: function onScrollToIndexFailed(info) {
|
|
13833
|
+
setTimeout(function () {
|
|
13834
|
+
var scrollParams = getScrollParams(value, sections);
|
|
13835
|
+
if (scrollParams.itemIndex < info.highestMeasuredFrameIndex) {
|
|
13836
|
+
var _sectionListRef$curre2;
|
|
13837
|
+
(_sectionListRef$curre2 = sectionListRef.current) === null || _sectionListRef$curre2 === void 0 ? void 0 : _sectionListRef$curre2.scrollToLocation(scrollParams);
|
|
13838
|
+
}
|
|
13839
|
+
}, 500);
|
|
13840
|
+
}
|
|
13921
13841
|
})));
|
|
13922
13842
|
};
|
|
13923
13843
|
|
|
@@ -14599,7 +14519,7 @@ var StyledText = index$a(Text$1)(function (_ref3) {
|
|
|
14599
14519
|
};
|
|
14600
14520
|
});
|
|
14601
14521
|
|
|
14602
|
-
var _excluded = ["content", "variant", "intent", "style", "testID"];
|
|
14522
|
+
var _excluded$1 = ["content", "variant", "intent", "style", "testID"];
|
|
14603
14523
|
var Tag = function Tag(_ref) {
|
|
14604
14524
|
var content = _ref.content,
|
|
14605
14525
|
_ref$variant = _ref.variant,
|
|
@@ -14608,7 +14528,7 @@ var Tag = function Tag(_ref) {
|
|
|
14608
14528
|
intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
|
|
14609
14529
|
style = _ref.style,
|
|
14610
14530
|
testID = _ref.testID,
|
|
14611
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded);
|
|
14531
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$1);
|
|
14612
14532
|
return /*#__PURE__*/React.createElement(StyledView, _extends$1({}, nativeProps, {
|
|
14613
14533
|
themeIntent: intent,
|
|
14614
14534
|
themeVariant: variant,
|
|
@@ -15169,9 +15089,11 @@ var ToolbarGroup = function ToolbarGroup(_ref) {
|
|
|
15169
15089
|
}));
|
|
15170
15090
|
};
|
|
15171
15091
|
|
|
15092
|
+
var _excluded = ["children"];
|
|
15172
15093
|
var Toolbar = function Toolbar(_ref) {
|
|
15173
|
-
var children = _ref.children
|
|
15174
|
-
|
|
15094
|
+
var children = _ref.children,
|
|
15095
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
15096
|
+
return /*#__PURE__*/React.createElement(ToolbarWrapper, rest, children);
|
|
15175
15097
|
};
|
|
15176
15098
|
var index$1 = Object.assign(Toolbar, {
|
|
15177
15099
|
Group: ToolbarGroup
|
|
@@ -31563,4 +31485,4 @@ var index = Object.assign(RichTextEditor$1, {
|
|
|
31563
31485
|
Toolbar: EditorToolbar
|
|
31564
31486
|
});
|
|
31565
31487
|
|
|
31566
|
-
export { Accordion, Alert, Attachment, index$9 as Avatar, Badge$1 as Badge, BottomNavigation, BottomSheet$1 as BottomSheet, Box, CompoundButton as Button, Calendar, index$8 as Card, Carousel, Checkbox, Collapse, ContentNavigator, DatePicker, Divider, index$7 as Drawer, Empty, index$6 as FAB, Icon, Image, List, PinInput, Progress, CompoundRadio as Radio, RefreshControl, index as RichTextEditor, SectionHeading, index$4 as Select, Slider, Spinner, index$5 as Swipeable, index$3 as Switch, index$2 as Tabs, Tag, TextInput, ThemeProvider, ThemeSwitcher, TimePicker, Toast, index$1 as Toolbar, Typography, eBensSystemPalette, getTheme$1 as getTheme, jobsSystemPalette, scale, swagSystemPalette, defaultTheme as theme, useAvatarColors, useTheme, walletSystemPalette, workSystemPalette };
|
|
31488
|
+
export { Accordion, Alert, Attachment, index$9 as Avatar, Badge$1 as Badge, BottomNavigation, BottomSheet$1 as BottomSheet, Box, CompoundButton as Button, Calendar, index$8 as Card, Carousel, Checkbox, Collapse, ContentNavigator, DatePicker, Divider, index$7 as Drawer, Empty, index$6 as FAB, Icon, Image, List, PinInput, Progress, CompoundRadio as Radio, RefreshControl, index as RichTextEditor, SectionHeading, index$4 as Select, Slider, Spinner, index$5 as Swipeable, SwipeableV2, index$3 as Switch, index$2 as Tabs, Tag, TextInput, ThemeProvider, ThemeSwitcher, TimePicker, Toast, index$1 as Toolbar, Typography, eBensSystemPalette, getTheme$1 as getTheme, jobsSystemPalette, scale, swagSystemPalette, defaultTheme as theme, useAvatarColors, useTheme, walletSystemPalette, workSystemPalette };
|