@hero-design/rn 8.4.0 → 8.5.0-alpha.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 +66 -9
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +818 -485
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +818 -485
- package/package.json +5 -7
- package/rollup.config.js +0 -1
- package/src/components/Carousel/CarouselItem.tsx +3 -1
- package/src/components/Carousel/StyledCarousel.tsx +2 -0
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +18 -15
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +2 -0
- package/src/components/List/ListItem.tsx +1 -5
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +8 -8
- package/src/components/Select/BaseOptionList.tsx +5 -12
- package/src/components/Select/MultiSelect/OptionList.tsx +6 -6
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/components/Select/MultiSelect/index.tsx +9 -0
- package/src/components/Select/SingleSelect/OptionList.tsx +5 -3
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +24 -4
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +21 -3
- package/src/components/Select/SingleSelect/index.tsx +8 -0
- package/src/components/Swipeable/Buttons.tsx +65 -0
- package/src/components/Swipeable/StyledSwipeable.tsx +14 -2
- package/src/components/Swipeable/SwipeableAction.tsx +15 -7
- package/src/components/Swipeable/index.tsx +531 -136
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +1 -1
- package/src/theme/components/carousel.ts +1 -1
- package/types/components/Calendar/helpers.d.ts +2 -2
- 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/helpers.d.ts +1 -1
- package/types/components/Swipeable/Buttons.d.ts +15 -0
- package/types/components/Swipeable/StyledSwipeable.d.ts +15 -2
- package/types/components/Swipeable/SwipeableAction.d.ts +10 -6
- package/types/components/Swipeable/index.d.ts +24 -41
- package/types/components/Toolbar/index.d.ts +2 -3
- package/types/testHelpers/renderWithTheme.d.ts +1 -1
- package/.turbo/turbo-publish:npm.log +0 -0
package/lib/index.js
CHANGED
|
@@ -8,7 +8,6 @@ var reactNativeVectorIcons = require('react-native-vector-icons');
|
|
|
8
8
|
var reactNativeSafeAreaContext = require('react-native-safe-area-context');
|
|
9
9
|
var DateTimePicker = require('@react-native-community/datetimepicker');
|
|
10
10
|
var RnSlider = require('@react-native-community/slider');
|
|
11
|
-
var reactNativeGestureHandler = require('react-native-gesture-handler');
|
|
12
11
|
var PagerView = require('react-native-pager-view');
|
|
13
12
|
var events = require('events');
|
|
14
13
|
var reactNativeWebview = require('react-native-webview');
|
|
@@ -5636,7 +5635,7 @@ var index$a = components.reduce(function (acc, comp) {
|
|
|
5636
5635
|
});
|
|
5637
5636
|
}, styled);
|
|
5638
5637
|
|
|
5639
|
-
var StyledWrapper$
|
|
5638
|
+
var StyledWrapper$c = index$a(reactNative.Animated.View)(function () {
|
|
5640
5639
|
return {
|
|
5641
5640
|
margin: 0,
|
|
5642
5641
|
padding: 0,
|
|
@@ -5710,7 +5709,7 @@ var Collapse = function Collapse(_ref) {
|
|
|
5710
5709
|
var height = _ref2.height;
|
|
5711
5710
|
setContentHeight(height);
|
|
5712
5711
|
}, []);
|
|
5713
|
-
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$
|
|
5712
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$c, {
|
|
5714
5713
|
style: {
|
|
5715
5714
|
height: collapseAnim
|
|
5716
5715
|
},
|
|
@@ -5723,7 +5722,7 @@ var Collapse = function Collapse(_ref) {
|
|
|
5723
5722
|
}, children)));
|
|
5724
5723
|
};
|
|
5725
5724
|
|
|
5726
|
-
var StyledWrapper$
|
|
5725
|
+
var StyledWrapper$b = index$a(reactNative.View)(function () {
|
|
5727
5726
|
return {};
|
|
5728
5727
|
});
|
|
5729
5728
|
var StyledItemWrapper = index$a(reactNative.View)(function (_ref) {
|
|
@@ -5776,7 +5775,7 @@ var StyledText$3 = index$a(reactNative.Text)(function (_ref) {
|
|
|
5776
5775
|
});
|
|
5777
5776
|
});
|
|
5778
5777
|
|
|
5779
|
-
var _excluded$
|
|
5778
|
+
var _excluded$l = ["children", "fontSize", "fontWeight", "intent", "typeface"];
|
|
5780
5779
|
var Text = function Text(_ref) {
|
|
5781
5780
|
var children = _ref.children,
|
|
5782
5781
|
_ref$fontSize = _ref.fontSize,
|
|
@@ -5787,7 +5786,7 @@ var Text = function Text(_ref) {
|
|
|
5787
5786
|
intent = _ref$intent === void 0 ? 'body' : _ref$intent,
|
|
5788
5787
|
_ref$typeface = _ref.typeface,
|
|
5789
5788
|
typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
|
|
5790
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
5789
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$l);
|
|
5791
5790
|
return /*#__PURE__*/React__default["default"].createElement(StyledText$3, _extends$1({}, nativeProps, {
|
|
5792
5791
|
themeFontSize: fontSize,
|
|
5793
5792
|
themeFontWeight: fontWeight,
|
|
@@ -5801,7 +5800,7 @@ var Typography = {
|
|
|
5801
5800
|
};
|
|
5802
5801
|
|
|
5803
5802
|
// 🔴 DO NOT EDIT — This file is generated automatically.
|
|
5804
|
-
var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bookmark
|
|
5803
|
+
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'];
|
|
5805
5804
|
|
|
5806
5805
|
var activate = 59000;
|
|
5807
5806
|
var adjustment = 59003;
|
|
@@ -5811,81 +5810,81 @@ var archive = 59006;
|
|
|
5811
5810
|
var bank = 59008;
|
|
5812
5811
|
var bell = 59009;
|
|
5813
5812
|
var billing = 59010;
|
|
5814
|
-
var bookmark =
|
|
5815
|
-
var box =
|
|
5816
|
-
var buildings =
|
|
5817
|
-
var cake =
|
|
5818
|
-
var calendar =
|
|
5819
|
-
var clock =
|
|
5820
|
-
var cog =
|
|
5821
|
-
var coin =
|
|
5822
|
-
var contacts =
|
|
5823
|
-
var diamond =
|
|
5824
|
-
var directory =
|
|
5825
|
-
var document$1 =
|
|
5826
|
-
var envelope =
|
|
5827
|
-
var expense =
|
|
5828
|
-
var eye =
|
|
5829
|
-
var feed =
|
|
5830
|
-
var feedbacks =
|
|
5831
|
-
var file =
|
|
5832
|
-
var filter =
|
|
5833
|
-
var folder =
|
|
5834
|
-
var globe =
|
|
5835
|
-
var graph =
|
|
5836
|
-
var heart =
|
|
5837
|
-
var home =
|
|
5838
|
-
var image =
|
|
5839
|
-
var instapay =
|
|
5840
|
-
var list =
|
|
5841
|
-
var loading =
|
|
5842
|
-
var location =
|
|
5843
|
-
var lock =
|
|
5844
|
-
var menu =
|
|
5845
|
-
var moneybag =
|
|
5846
|
-
var moon =
|
|
5847
|
-
var node =
|
|
5848
|
-
var paperclip =
|
|
5849
|
-
var pencil =
|
|
5850
|
-
var phone =
|
|
5851
|
-
var plane =
|
|
5852
|
-
var print =
|
|
5853
|
-
var reply =
|
|
5854
|
-
var reschedule =
|
|
5855
|
-
var rostering =
|
|
5856
|
-
var save =
|
|
5857
|
-
var schedule =
|
|
5858
|
-
var send =
|
|
5859
|
-
var speaker =
|
|
5860
|
-
var star =
|
|
5861
|
-
var stopwatch =
|
|
5862
|
-
var suitcase =
|
|
5863
|
-
var survey =
|
|
5864
|
-
var swag =
|
|
5865
|
-
var tag =
|
|
5866
|
-
var target =
|
|
5867
|
-
var teams =
|
|
5868
|
-
var timesheet =
|
|
5869
|
-
var unlock =
|
|
5870
|
-
var user =
|
|
5871
|
-
var wallet =
|
|
5872
|
-
var warning =
|
|
5873
|
-
var add =
|
|
5874
|
-
var bold =
|
|
5875
|
-
var cancel =
|
|
5876
|
-
var checkmark =
|
|
5877
|
-
var italic =
|
|
5878
|
-
var number =
|
|
5879
|
-
var percentage =
|
|
5880
|
-
var redeem =
|
|
5881
|
-
var refresh =
|
|
5882
|
-
var remove =
|
|
5883
|
-
var restart =
|
|
5884
|
-
var strikethrough =
|
|
5885
|
-
var sync =
|
|
5886
|
-
var transfer =
|
|
5887
|
-
var unavailable =
|
|
5888
|
-
var underline =
|
|
5813
|
+
var bookmark = 59011;
|
|
5814
|
+
var box = 59013;
|
|
5815
|
+
var buildings = 59014;
|
|
5816
|
+
var cake = 59015;
|
|
5817
|
+
var calendar = 59017;
|
|
5818
|
+
var clock = 59042;
|
|
5819
|
+
var cog = 59045;
|
|
5820
|
+
var coin = 59046;
|
|
5821
|
+
var contacts = 59047;
|
|
5822
|
+
var diamond = 59049;
|
|
5823
|
+
var directory = 59051;
|
|
5824
|
+
var document$1 = 59052;
|
|
5825
|
+
var envelope = 59056;
|
|
5826
|
+
var expense = 59057;
|
|
5827
|
+
var eye = 59060;
|
|
5828
|
+
var feed = 59064;
|
|
5829
|
+
var feedbacks = 59065;
|
|
5830
|
+
var file = 59083;
|
|
5831
|
+
var filter = 59084;
|
|
5832
|
+
var folder = 59086;
|
|
5833
|
+
var globe = 59096;
|
|
5834
|
+
var graph = 59098;
|
|
5835
|
+
var heart = 59101;
|
|
5836
|
+
var home = 59102;
|
|
5837
|
+
var image = 59103;
|
|
5838
|
+
var instapay = 59106;
|
|
5839
|
+
var list = 59107;
|
|
5840
|
+
var loading = 59109;
|
|
5841
|
+
var location = 59110;
|
|
5842
|
+
var lock = 59111;
|
|
5843
|
+
var menu = 59115;
|
|
5844
|
+
var moneybag = 59116;
|
|
5845
|
+
var moon = 59117;
|
|
5846
|
+
var node = 59120;
|
|
5847
|
+
var paperclip = 59122;
|
|
5848
|
+
var pencil = 59124;
|
|
5849
|
+
var phone = 59125;
|
|
5850
|
+
var plane = 59127;
|
|
5851
|
+
var print = 59129;
|
|
5852
|
+
var reply = 59132;
|
|
5853
|
+
var reschedule = 59133;
|
|
5854
|
+
var rostering = 59134;
|
|
5855
|
+
var save = 59135;
|
|
5856
|
+
var schedule = 59137;
|
|
5857
|
+
var send = 59139;
|
|
5858
|
+
var speaker = 59141;
|
|
5859
|
+
var star = 59145;
|
|
5860
|
+
var stopwatch = 59147;
|
|
5861
|
+
var suitcase = 59148;
|
|
5862
|
+
var survey = 59149;
|
|
5863
|
+
var swag = 59150;
|
|
5864
|
+
var tag = 59152;
|
|
5865
|
+
var target = 59153;
|
|
5866
|
+
var teams = 59154;
|
|
5867
|
+
var timesheet = 59155;
|
|
5868
|
+
var unlock = 59158;
|
|
5869
|
+
var user = 59159;
|
|
5870
|
+
var wallet = 59162;
|
|
5871
|
+
var warning = 59163;
|
|
5872
|
+
var add = 59169;
|
|
5873
|
+
var bold = 59188;
|
|
5874
|
+
var cancel = 59198;
|
|
5875
|
+
var checkmark = 59201;
|
|
5876
|
+
var italic = 59273;
|
|
5877
|
+
var number = 59296;
|
|
5878
|
+
var percentage = 59300;
|
|
5879
|
+
var redeem = 59309;
|
|
5880
|
+
var refresh = 59310;
|
|
5881
|
+
var remove = 59311;
|
|
5882
|
+
var restart = 59313;
|
|
5883
|
+
var strikethrough = 59332;
|
|
5884
|
+
var sync = 59337;
|
|
5885
|
+
var transfer = 59341;
|
|
5886
|
+
var unavailable = 59344;
|
|
5887
|
+
var underline = 59345;
|
|
5889
5888
|
var glyphMap = {
|
|
5890
5889
|
activate: activate,
|
|
5891
5890
|
"add-emoji": 59001,
|
|
@@ -5898,357 +5897,350 @@ var glyphMap = {
|
|
|
5898
5897
|
bank: bank,
|
|
5899
5898
|
bell: bell,
|
|
5900
5899
|
billing: billing,
|
|
5901
|
-
"bookmark-added": 59011,
|
|
5902
5900
|
bookmark: bookmark,
|
|
5903
|
-
"box-check":
|
|
5901
|
+
"box-check": 59012,
|
|
5904
5902
|
box: box,
|
|
5905
5903
|
buildings: buildings,
|
|
5906
5904
|
cake: cake,
|
|
5907
|
-
"calendar-clock":
|
|
5905
|
+
"calendar-clock": 59016,
|
|
5908
5906
|
calendar: calendar,
|
|
5909
|
-
"candy-box-menu":
|
|
5910
|
-
"caret-down-small":
|
|
5911
|
-
"caret-down":
|
|
5912
|
-
"caret-left-small":
|
|
5913
|
-
"caret-left":
|
|
5914
|
-
"caret-right-small":
|
|
5915
|
-
"caret-right":
|
|
5916
|
-
"caret-up-small":
|
|
5917
|
-
"caret-up":
|
|
5918
|
-
"check-radio":
|
|
5919
|
-
"circle-add":
|
|
5920
|
-
"circle-cancel":
|
|
5921
|
-
"circle-check":
|
|
5922
|
-
"circle-down":
|
|
5923
|
-
"circle-info":
|
|
5924
|
-
"circle-left":
|
|
5925
|
-
"circle-ok":
|
|
5926
|
-
"circle-pencil":
|
|
5927
|
-
"circle-question":
|
|
5928
|
-
"circle-remove":
|
|
5929
|
-
"circle-right":
|
|
5930
|
-
"circle-up":
|
|
5931
|
-
"circle-warning":
|
|
5932
|
-
"clock-3":
|
|
5907
|
+
"candy-box-menu": 59018,
|
|
5908
|
+
"caret-down-small": 59019,
|
|
5909
|
+
"caret-down": 59020,
|
|
5910
|
+
"caret-left-small": 59021,
|
|
5911
|
+
"caret-left": 59022,
|
|
5912
|
+
"caret-right-small": 59023,
|
|
5913
|
+
"caret-right": 59024,
|
|
5914
|
+
"caret-up-small": 59025,
|
|
5915
|
+
"caret-up": 59026,
|
|
5916
|
+
"check-radio": 59027,
|
|
5917
|
+
"circle-add": 59028,
|
|
5918
|
+
"circle-cancel": 59029,
|
|
5919
|
+
"circle-check": 59030,
|
|
5920
|
+
"circle-down": 59031,
|
|
5921
|
+
"circle-info": 59032,
|
|
5922
|
+
"circle-left": 59033,
|
|
5923
|
+
"circle-ok": 59034,
|
|
5924
|
+
"circle-pencil": 59035,
|
|
5925
|
+
"circle-question": 59036,
|
|
5926
|
+
"circle-remove": 59037,
|
|
5927
|
+
"circle-right": 59038,
|
|
5928
|
+
"circle-up": 59039,
|
|
5929
|
+
"circle-warning": 59040,
|
|
5930
|
+
"clock-3": 59041,
|
|
5933
5931
|
clock: clock,
|
|
5934
|
-
"cloud-download":
|
|
5935
|
-
"cloud-upload":
|
|
5932
|
+
"cloud-download": 59043,
|
|
5933
|
+
"cloud-upload": 59044,
|
|
5936
5934
|
cog: cog,
|
|
5937
5935
|
coin: coin,
|
|
5938
5936
|
contacts: contacts,
|
|
5939
|
-
"credit-card":
|
|
5937
|
+
"credit-card": 59048,
|
|
5940
5938
|
diamond: diamond,
|
|
5941
|
-
"direction-arrows":
|
|
5939
|
+
"direction-arrows": 59050,
|
|
5942
5940
|
directory: directory,
|
|
5943
5941
|
document: document$1,
|
|
5944
|
-
"dollar-coin-shine":
|
|
5945
|
-
"double-buildings":
|
|
5946
|
-
"edit-template":
|
|
5942
|
+
"dollar-coin-shine": 59053,
|
|
5943
|
+
"double-buildings": 59054,
|
|
5944
|
+
"edit-template": 59055,
|
|
5947
5945
|
envelope: envelope,
|
|
5948
5946
|
expense: expense,
|
|
5949
|
-
"eye-circle":
|
|
5950
|
-
"eye-invisible":
|
|
5947
|
+
"eye-circle": 59058,
|
|
5948
|
+
"eye-invisible": 59059,
|
|
5951
5949
|
eye: eye,
|
|
5952
|
-
"face-meh":
|
|
5953
|
-
"face-sad":
|
|
5954
|
-
"face-smiley":
|
|
5950
|
+
"face-meh": 59061,
|
|
5951
|
+
"face-sad": 59062,
|
|
5952
|
+
"face-smiley": 59063,
|
|
5955
5953
|
feed: feed,
|
|
5956
5954
|
feedbacks: feedbacks,
|
|
5957
|
-
"file-certified":
|
|
5958
|
-
"file-clone":
|
|
5959
|
-
"file-copy":
|
|
5960
|
-
"file-csv":
|
|
5961
|
-
"file-dispose":
|
|
5962
|
-
"file-doc":
|
|
5963
|
-
"file-excel":
|
|
5964
|
-
"file-export":
|
|
5965
|
-
"file-lock":
|
|
5966
|
-
"file-pdf":
|
|
5967
|
-
"file-powerpoint":
|
|
5968
|
-
"file-search":
|
|
5969
|
-
"file-secured":
|
|
5970
|
-
"file-sheets":
|
|
5971
|
-
"file-slide":
|
|
5972
|
-
"file-verified":
|
|
5973
|
-
"file-word":
|
|
5955
|
+
"file-certified": 59066,
|
|
5956
|
+
"file-clone": 59067,
|
|
5957
|
+
"file-copy": 59068,
|
|
5958
|
+
"file-csv": 59069,
|
|
5959
|
+
"file-dispose": 59070,
|
|
5960
|
+
"file-doc": 59071,
|
|
5961
|
+
"file-excel": 59072,
|
|
5962
|
+
"file-export": 59073,
|
|
5963
|
+
"file-lock": 59074,
|
|
5964
|
+
"file-pdf": 59075,
|
|
5965
|
+
"file-powerpoint": 59076,
|
|
5966
|
+
"file-search": 59077,
|
|
5967
|
+
"file-secured": 59078,
|
|
5968
|
+
"file-sheets": 59079,
|
|
5969
|
+
"file-slide": 59080,
|
|
5970
|
+
"file-verified": 59081,
|
|
5971
|
+
"file-word": 59082,
|
|
5974
5972
|
file: file,
|
|
5975
5973
|
filter: filter,
|
|
5976
|
-
"folder-user":
|
|
5974
|
+
"folder-user": 59085,
|
|
5977
5975
|
folder: folder,
|
|
5978
|
-
"format-bold":
|
|
5979
|
-
"format-heading1":
|
|
5980
|
-
"format-heading2":
|
|
5981
|
-
"format-italic":
|
|
5982
|
-
"format-list-bulleted":
|
|
5983
|
-
"format-list-numbered":
|
|
5984
|
-
"format-underlined":
|
|
5985
|
-
"funnel-filter":
|
|
5986
|
-
"global-dollar":
|
|
5976
|
+
"format-bold": 59087,
|
|
5977
|
+
"format-heading1": 59088,
|
|
5978
|
+
"format-heading2": 59089,
|
|
5979
|
+
"format-italic": 59090,
|
|
5980
|
+
"format-list-bulleted": 59091,
|
|
5981
|
+
"format-list-numbered": 59092,
|
|
5982
|
+
"format-underlined": 59093,
|
|
5983
|
+
"funnel-filter": 59094,
|
|
5984
|
+
"global-dollar": 59095,
|
|
5987
5985
|
globe: globe,
|
|
5988
|
-
"graduation-cap":
|
|
5986
|
+
"graduation-cap": 59097,
|
|
5989
5987
|
graph: graph,
|
|
5990
|
-
"happy-sun":
|
|
5991
|
-
"health-bag":
|
|
5988
|
+
"happy-sun": 59099,
|
|
5989
|
+
"health-bag": 59100,
|
|
5992
5990
|
heart: heart,
|
|
5993
5991
|
home: home,
|
|
5994
5992
|
image: image,
|
|
5995
|
-
"import":
|
|
5996
|
-
"incident-siren":
|
|
5993
|
+
"import": 59104,
|
|
5994
|
+
"incident-siren": 59105,
|
|
5997
5995
|
instapay: instapay,
|
|
5998
5996
|
list: list,
|
|
5999
|
-
"loading-2":
|
|
5997
|
+
"loading-2": 59108,
|
|
6000
5998
|
loading: loading,
|
|
6001
5999
|
location: location,
|
|
6002
6000
|
lock: lock,
|
|
6003
|
-
"looks-one":
|
|
6004
|
-
"looks-two":
|
|
6005
|
-
"media-content":
|
|
6001
|
+
"looks-one": 59112,
|
|
6002
|
+
"looks-two": 59113,
|
|
6003
|
+
"media-content": 59114,
|
|
6006
6004
|
menu: menu,
|
|
6007
6005
|
moneybag: moneybag,
|
|
6008
6006
|
moon: moon,
|
|
6009
|
-
"multiple-stars":
|
|
6010
|
-
"multiple-users":
|
|
6007
|
+
"multiple-stars": 59118,
|
|
6008
|
+
"multiple-users": 59119,
|
|
6011
6009
|
node: node,
|
|
6012
|
-
"open-folder":
|
|
6010
|
+
"open-folder": 59121,
|
|
6013
6011
|
paperclip: paperclip,
|
|
6014
|
-
"payment-summary":
|
|
6012
|
+
"payment-summary": 59123,
|
|
6015
6013
|
pencil: pencil,
|
|
6016
6014
|
phone: phone,
|
|
6017
|
-
"piggy-bank":
|
|
6015
|
+
"piggy-bank": 59126,
|
|
6018
6016
|
plane: plane,
|
|
6019
|
-
"play-circle":
|
|
6017
|
+
"play-circle": 59128,
|
|
6020
6018
|
print: print,
|
|
6021
|
-
"raising-hands":
|
|
6022
|
-
"reply-arrow":
|
|
6019
|
+
"raising-hands": 59130,
|
|
6020
|
+
"reply-arrow": 59131,
|
|
6023
6021
|
reply: reply,
|
|
6024
6022
|
reschedule: reschedule,
|
|
6025
6023
|
rostering: rostering,
|
|
6026
6024
|
save: save,
|
|
6027
|
-
"schedule-send":
|
|
6025
|
+
"schedule-send": 59136,
|
|
6028
6026
|
schedule: schedule,
|
|
6029
|
-
"search-person":
|
|
6027
|
+
"search-person": 59138,
|
|
6030
6028
|
send: send,
|
|
6031
|
-
"speaker-active":
|
|
6029
|
+
"speaker-active": 59140,
|
|
6032
6030
|
speaker: speaker,
|
|
6033
|
-
"star-award":
|
|
6034
|
-
"star-badge":
|
|
6035
|
-
"star-
|
|
6036
|
-
"star-medal": 59146,
|
|
6031
|
+
"star-award": 59142,
|
|
6032
|
+
"star-badge": 59143,
|
|
6033
|
+
"star-medal": 59144,
|
|
6037
6034
|
star: star,
|
|
6038
|
-
"steps-circle":
|
|
6035
|
+
"steps-circle": 59146,
|
|
6039
6036
|
stopwatch: stopwatch,
|
|
6040
6037
|
suitcase: suitcase,
|
|
6041
6038
|
survey: survey,
|
|
6042
6039
|
swag: swag,
|
|
6043
|
-
"switch":
|
|
6040
|
+
"switch": 59151,
|
|
6044
6041
|
tag: tag,
|
|
6045
6042
|
target: target,
|
|
6046
6043
|
teams: teams,
|
|
6047
6044
|
timesheet: timesheet,
|
|
6048
|
-
"touch-id":
|
|
6049
|
-
"trash-bin":
|
|
6045
|
+
"touch-id": 59156,
|
|
6046
|
+
"trash-bin": 59157,
|
|
6050
6047
|
unlock: unlock,
|
|
6051
6048
|
user: user,
|
|
6052
|
-
"video-1":
|
|
6053
|
-
"video-2":
|
|
6049
|
+
"video-1": 59160,
|
|
6050
|
+
"video-2": 59161,
|
|
6054
6051
|
wallet: wallet,
|
|
6055
6052
|
warning: warning,
|
|
6056
|
-
"activate-outlined":
|
|
6057
|
-
"add-credit-card-outlined":
|
|
6058
|
-
"add-person-outlined":
|
|
6059
|
-
"add-section-outlined":
|
|
6060
|
-
"add-time-outlined":
|
|
6053
|
+
"activate-outlined": 59164,
|
|
6054
|
+
"add-credit-card-outlined": 59165,
|
|
6055
|
+
"add-person-outlined": 59166,
|
|
6056
|
+
"add-section-outlined": 59167,
|
|
6057
|
+
"add-time-outlined": 59168,
|
|
6061
6058
|
add: add,
|
|
6062
|
-
"adjustment-outlined":
|
|
6063
|
-
"alignment-2-outlined":
|
|
6064
|
-
"alignment-outlined":
|
|
6065
|
-
"all-caps":
|
|
6066
|
-
"arrow-down":
|
|
6067
|
-
"arrow-downwards":
|
|
6068
|
-
"arrow-left":
|
|
6069
|
-
"arrow-leftwards":
|
|
6070
|
-
"arrow-right":
|
|
6071
|
-
"arrow-rightwards":
|
|
6072
|
-
"arrow-up":
|
|
6073
|
-
"arrow-upwards":
|
|
6074
|
-
"
|
|
6075
|
-
"
|
|
6076
|
-
"
|
|
6077
|
-
"bell-
|
|
6078
|
-
"
|
|
6079
|
-
"
|
|
6080
|
-
"billing-outlined": 59190,
|
|
6081
|
-
"body-outlined": 59191,
|
|
6059
|
+
"adjustment-outlined": 59170,
|
|
6060
|
+
"alignment-2-outlined": 59171,
|
|
6061
|
+
"alignment-outlined": 59172,
|
|
6062
|
+
"all-caps": 59173,
|
|
6063
|
+
"arrow-down": 59174,
|
|
6064
|
+
"arrow-downwards": 59175,
|
|
6065
|
+
"arrow-left": 59176,
|
|
6066
|
+
"arrow-leftwards": 59177,
|
|
6067
|
+
"arrow-right": 59178,
|
|
6068
|
+
"arrow-rightwards": 59179,
|
|
6069
|
+
"arrow-up": 59180,
|
|
6070
|
+
"arrow-upwards": 59181,
|
|
6071
|
+
"at-sign": 59182,
|
|
6072
|
+
"bell-active-outlined": 59183,
|
|
6073
|
+
"bell-outlined": 59184,
|
|
6074
|
+
"bell-slash-outlined": 59185,
|
|
6075
|
+
"billing-outlined": 59186,
|
|
6076
|
+
"body-outlined": 59187,
|
|
6082
6077
|
bold: bold,
|
|
6083
|
-
"bookmark-added-outlined":
|
|
6084
|
-
"bookmark-outlined":
|
|
6085
|
-
"box-check-outlined":
|
|
6086
|
-
"box-outlined":
|
|
6087
|
-
"bullet-points":
|
|
6088
|
-
"cake-outlined":
|
|
6089
|
-
"calendar-dates-outlined":
|
|
6090
|
-
"calendar-star-outlined":
|
|
6091
|
-
"camera-outlined":
|
|
6078
|
+
"bookmark-added-outlined": 59189,
|
|
6079
|
+
"bookmark-outlined": 59190,
|
|
6080
|
+
"box-check-outlined": 59191,
|
|
6081
|
+
"box-outlined": 59192,
|
|
6082
|
+
"bullet-points": 59193,
|
|
6083
|
+
"cake-outlined": 59194,
|
|
6084
|
+
"calendar-dates-outlined": 59195,
|
|
6085
|
+
"calendar-star-outlined": 59196,
|
|
6086
|
+
"camera-outlined": 59197,
|
|
6092
6087
|
cancel: cancel,
|
|
6093
|
-
"chat-bubble-outlined":
|
|
6094
|
-
"chat-unread-outlined":
|
|
6088
|
+
"chat-bubble-outlined": 59199,
|
|
6089
|
+
"chat-unread-outlined": 59200,
|
|
6095
6090
|
checkmark: checkmark,
|
|
6096
|
-
"circle-add-outlined":
|
|
6097
|
-
"circle-cancel-outlined":
|
|
6098
|
-
"circle-down-outlined":
|
|
6099
|
-
"circle-info-outlined":
|
|
6100
|
-
"circle-left-outlined":
|
|
6101
|
-
"circle-ok-outlined":
|
|
6102
|
-
"circle-question-outlined":
|
|
6103
|
-
"circle-remove-outlined":
|
|
6104
|
-
"circle-right-outlined":
|
|
6105
|
-
"circle-up-outlined":
|
|
6106
|
-
"circle-warning-outlined":
|
|
6107
|
-
"clock-2-outlined":
|
|
6108
|
-
"clock-outlined":
|
|
6109
|
-
"cog-outlined":
|
|
6110
|
-
"coin-outlined":
|
|
6111
|
-
"comment-outlined":
|
|
6112
|
-
"contacts-outlined":
|
|
6113
|
-
"credit-card-outlined":
|
|
6114
|
-
"cup-outlined":
|
|
6115
|
-
"direction-arrows-outlined":
|
|
6116
|
-
"directory-outlined":
|
|
6117
|
-
"document-outlined":
|
|
6118
|
-
"dollar-card-outlined":
|
|
6119
|
-
"dollar-coin-shine-outlined":
|
|
6120
|
-
"dollar-sign":
|
|
6121
|
-
"double-buildings-outlined":
|
|
6122
|
-
"double-left-arrows":
|
|
6123
|
-
"double-right-arrows":
|
|
6124
|
-
"download-outlined":
|
|
6125
|
-
"edit-template-outlined":
|
|
6126
|
-
"email-outlined":
|
|
6127
|
-
"enter-arrow":
|
|
6128
|
-
"envelope-outlined":
|
|
6129
|
-
"expense-outlined":
|
|
6130
|
-
"explore-outlined":
|
|
6131
|
-
"external-link":
|
|
6132
|
-
"eye-invisible-outlined":
|
|
6133
|
-
"eye-outlined":
|
|
6134
|
-
"face-id":
|
|
6135
|
-
"face-meh-outlined":
|
|
6136
|
-
"face-open-smiley-outlined":
|
|
6137
|
-
"face-sad-outlined":
|
|
6138
|
-
"face-smiley-outlined":
|
|
6139
|
-
"feed-outlined":
|
|
6140
|
-
"file-certified-outlined":
|
|
6141
|
-
"file-clone-outlined":
|
|
6142
|
-
"file-copy-outlined":
|
|
6143
|
-
"file-dispose-outlined":
|
|
6144
|
-
"file-dollar-outlined":
|
|
6145
|
-
"file-download-outlined":
|
|
6146
|
-
"file-export-outlined":
|
|
6147
|
-
"file-lock-outlined":
|
|
6148
|
-
"file-outlined":
|
|
6149
|
-
"file-search-outlined":
|
|
6150
|
-
"file-secured-outlined":
|
|
6151
|
-
"file-verified-outlined":
|
|
6152
|
-
"filter-outlined":
|
|
6153
|
-
"folder-outlined":
|
|
6154
|
-
"folder-user-outlined":
|
|
6155
|
-
"funnel-filter-outline":
|
|
6156
|
-
"graph-outlined":
|
|
6157
|
-
"hand-holding-user-outlined":
|
|
6158
|
-
"happy-sun-outlined":
|
|
6159
|
-
"health-bag-outlined":
|
|
6160
|
-
"heart-outlined":
|
|
6161
|
-
"home-active-outlined":
|
|
6162
|
-
"home-outlined":
|
|
6163
|
-
"id-card-outlined":
|
|
6164
|
-
"image-outlined":
|
|
6165
|
-
"import-outlined":
|
|
6166
|
-
"instapay-outlined":
|
|
6091
|
+
"circle-add-outlined": 59202,
|
|
6092
|
+
"circle-cancel-outlined": 59203,
|
|
6093
|
+
"circle-down-outlined": 59204,
|
|
6094
|
+
"circle-info-outlined": 59205,
|
|
6095
|
+
"circle-left-outlined": 59206,
|
|
6096
|
+
"circle-ok-outlined": 59207,
|
|
6097
|
+
"circle-question-outlined": 59208,
|
|
6098
|
+
"circle-remove-outlined": 59209,
|
|
6099
|
+
"circle-right-outlined": 59210,
|
|
6100
|
+
"circle-up-outlined": 59211,
|
|
6101
|
+
"circle-warning-outlined": 59212,
|
|
6102
|
+
"clock-2-outlined": 59213,
|
|
6103
|
+
"clock-outlined": 59214,
|
|
6104
|
+
"cog-outlined": 59215,
|
|
6105
|
+
"coin-outlined": 59216,
|
|
6106
|
+
"comment-outlined": 59217,
|
|
6107
|
+
"contacts-outlined": 59218,
|
|
6108
|
+
"credit-card-outlined": 59219,
|
|
6109
|
+
"cup-outlined": 59220,
|
|
6110
|
+
"direction-arrows-outlined": 59221,
|
|
6111
|
+
"directory-outlined": 59222,
|
|
6112
|
+
"document-outlined": 59223,
|
|
6113
|
+
"dollar-card-outlined": 59224,
|
|
6114
|
+
"dollar-coin-shine-outlined": 59225,
|
|
6115
|
+
"dollar-sign": 59226,
|
|
6116
|
+
"double-buildings-outlined": 59227,
|
|
6117
|
+
"double-left-arrows": 59228,
|
|
6118
|
+
"double-right-arrows": 59229,
|
|
6119
|
+
"download-outlined": 59230,
|
|
6120
|
+
"edit-template-outlined": 59231,
|
|
6121
|
+
"email-outlined": 59232,
|
|
6122
|
+
"enter-arrow": 59233,
|
|
6123
|
+
"envelope-outlined": 59234,
|
|
6124
|
+
"expense-outlined": 59235,
|
|
6125
|
+
"explore-outlined": 59236,
|
|
6126
|
+
"external-link": 59237,
|
|
6127
|
+
"eye-invisible-outlined": 59238,
|
|
6128
|
+
"eye-outlined": 59239,
|
|
6129
|
+
"face-id": 59240,
|
|
6130
|
+
"face-meh-outlined": 59241,
|
|
6131
|
+
"face-open-smiley-outlined": 59242,
|
|
6132
|
+
"face-sad-outlined": 59243,
|
|
6133
|
+
"face-smiley-outlined": 59244,
|
|
6134
|
+
"feed-outlined": 59245,
|
|
6135
|
+
"file-certified-outlined": 59246,
|
|
6136
|
+
"file-clone-outlined": 59247,
|
|
6137
|
+
"file-copy-outlined": 59248,
|
|
6138
|
+
"file-dispose-outlined": 59249,
|
|
6139
|
+
"file-dollar-outlined": 59250,
|
|
6140
|
+
"file-download-outlined": 59251,
|
|
6141
|
+
"file-export-outlined": 59252,
|
|
6142
|
+
"file-lock-outlined": 59253,
|
|
6143
|
+
"file-outlined": 59254,
|
|
6144
|
+
"file-search-outlined": 59255,
|
|
6145
|
+
"file-secured-outlined": 59256,
|
|
6146
|
+
"file-verified-outlined": 59257,
|
|
6147
|
+
"filter-outlined": 59258,
|
|
6148
|
+
"folder-outlined": 59259,
|
|
6149
|
+
"folder-user-outlined": 59260,
|
|
6150
|
+
"funnel-filter-outline": 59261,
|
|
6151
|
+
"graph-outlined": 59262,
|
|
6152
|
+
"hand-holding-user-outlined": 59263,
|
|
6153
|
+
"happy-sun-outlined": 59264,
|
|
6154
|
+
"health-bag-outlined": 59265,
|
|
6155
|
+
"heart-outlined": 59266,
|
|
6156
|
+
"home-active-outlined": 59267,
|
|
6157
|
+
"home-outlined": 59268,
|
|
6158
|
+
"id-card-outlined": 59269,
|
|
6159
|
+
"image-outlined": 59270,
|
|
6160
|
+
"import-outlined": 59271,
|
|
6161
|
+
"instapay-outlined": 59272,
|
|
6167
6162
|
italic: italic,
|
|
6168
|
-
"link-1":
|
|
6169
|
-
"link-2":
|
|
6170
|
-
"list-outlined":
|
|
6171
|
-
"live-help-outlined":
|
|
6172
|
-
"location-outlined":
|
|
6173
|
-
"lock-outlined":
|
|
6174
|
-
"locked-file-outlined":
|
|
6175
|
-
"log-out":
|
|
6176
|
-
"media-content-outlined":
|
|
6177
|
-
"menu-close":
|
|
6178
|
-
"menu-expand":
|
|
6179
|
-
"menu-fold-outlined":
|
|
6180
|
-
"menu-unfold-outlined":
|
|
6181
|
-
"moneybag-outlined":
|
|
6182
|
-
"moon-outlined":
|
|
6183
|
-
"more-horizontal":
|
|
6184
|
-
"more-vertical":
|
|
6185
|
-
"multiple-folders-outlined":
|
|
6186
|
-
"multiple-users-outlined":
|
|
6187
|
-
"near-me-outlined":
|
|
6188
|
-
"node-outlined":
|
|
6189
|
-
"number-points":
|
|
6163
|
+
"link-1": 59274,
|
|
6164
|
+
"link-2": 59275,
|
|
6165
|
+
"list-outlined": 59276,
|
|
6166
|
+
"live-help-outlined": 59277,
|
|
6167
|
+
"location-outlined": 59278,
|
|
6168
|
+
"lock-outlined": 59279,
|
|
6169
|
+
"locked-file-outlined": 59280,
|
|
6170
|
+
"log-out": 59281,
|
|
6171
|
+
"media-content-outlined": 59282,
|
|
6172
|
+
"menu-close": 59283,
|
|
6173
|
+
"menu-expand": 59284,
|
|
6174
|
+
"menu-fold-outlined": 59285,
|
|
6175
|
+
"menu-unfold-outlined": 59286,
|
|
6176
|
+
"moneybag-outlined": 59287,
|
|
6177
|
+
"moon-outlined": 59288,
|
|
6178
|
+
"more-horizontal": 59289,
|
|
6179
|
+
"more-vertical": 59290,
|
|
6180
|
+
"multiple-folders-outlined": 59291,
|
|
6181
|
+
"multiple-users-outlined": 59292,
|
|
6182
|
+
"near-me-outlined": 59293,
|
|
6183
|
+
"node-outlined": 59294,
|
|
6184
|
+
"number-points": 59295,
|
|
6190
6185
|
number: number,
|
|
6191
|
-
"
|
|
6192
|
-
"
|
|
6193
|
-
"
|
|
6194
|
-
"pencil-outlined": 59304,
|
|
6186
|
+
"payment-summary-outlined": 59297,
|
|
6187
|
+
"payslip-outlined": 59298,
|
|
6188
|
+
"pencil-outlined": 59299,
|
|
6195
6189
|
percentage: percentage,
|
|
6196
|
-
"phone-outlined":
|
|
6197
|
-
"piggy-bank-outlined":
|
|
6198
|
-
"plane-outlined":
|
|
6199
|
-
"play-circle-outlined":
|
|
6200
|
-
"print-outlined":
|
|
6201
|
-
"qr-code-outlined":
|
|
6202
|
-
"qualification-outlined":
|
|
6203
|
-
"re-assign":
|
|
6190
|
+
"phone-outlined": 59301,
|
|
6191
|
+
"piggy-bank-outlined": 59302,
|
|
6192
|
+
"plane-outlined": 59303,
|
|
6193
|
+
"play-circle-outlined": 59304,
|
|
6194
|
+
"print-outlined": 59305,
|
|
6195
|
+
"qr-code-outlined": 59306,
|
|
6196
|
+
"qualification-outlined": 59307,
|
|
6197
|
+
"re-assign": 59308,
|
|
6204
6198
|
redeem: redeem,
|
|
6205
6199
|
refresh: refresh,
|
|
6206
6200
|
remove: remove,
|
|
6207
|
-
"reply-outlined":
|
|
6201
|
+
"reply-outlined": 59312,
|
|
6208
6202
|
restart: restart,
|
|
6209
|
-
"return-arrow":
|
|
6210
|
-
"rostering-outlined":
|
|
6211
|
-
"save-outlined":
|
|
6212
|
-
"schedule-outlined":
|
|
6213
|
-
"search-outlined":
|
|
6214
|
-
"search-secured-outlined":
|
|
6215
|
-
"send-outlined":
|
|
6216
|
-
"share-1":
|
|
6217
|
-
"share-2":
|
|
6218
|
-
"share-outlined":
|
|
6219
|
-
"
|
|
6220
|
-
"single-
|
|
6221
|
-
"single-
|
|
6222
|
-
"single-
|
|
6223
|
-
"
|
|
6224
|
-
"speaker-
|
|
6225
|
-
"
|
|
6226
|
-
"
|
|
6227
|
-
"star-outlined": 59337,
|
|
6228
|
-
"stopwatch-outlined": 59338,
|
|
6203
|
+
"return-arrow": 59314,
|
|
6204
|
+
"rostering-outlined": 59315,
|
|
6205
|
+
"save-outlined": 59316,
|
|
6206
|
+
"schedule-outlined": 59317,
|
|
6207
|
+
"search-outlined": 59318,
|
|
6208
|
+
"search-secured-outlined": 59319,
|
|
6209
|
+
"send-outlined": 59320,
|
|
6210
|
+
"share-1": 59321,
|
|
6211
|
+
"share-2": 59322,
|
|
6212
|
+
"share-outlined": 59323,
|
|
6213
|
+
"single-down-arrow": 59324,
|
|
6214
|
+
"single-left-arrow": 59325,
|
|
6215
|
+
"single-right-arrow": 59326,
|
|
6216
|
+
"single-up-arrow": 59327,
|
|
6217
|
+
"speaker-active-outlined": 59328,
|
|
6218
|
+
"speaker-outlined": 59329,
|
|
6219
|
+
"star-outlined": 59330,
|
|
6220
|
+
"stopwatch-outlined": 59331,
|
|
6229
6221
|
strikethrough: strikethrough,
|
|
6230
|
-
"suitcase-clock-outlined":
|
|
6231
|
-
"suitcase-outlined":
|
|
6232
|
-
"survey-outlined":
|
|
6233
|
-
"switch-outlined":
|
|
6222
|
+
"suitcase-clock-outlined": 59333,
|
|
6223
|
+
"suitcase-outlined": 59334,
|
|
6224
|
+
"survey-outlined": 59335,
|
|
6225
|
+
"switch-outlined": 59336,
|
|
6234
6226
|
sync: sync,
|
|
6235
|
-
"target-outlined":
|
|
6236
|
-
"timesheet-outlined":
|
|
6237
|
-
"today-outlined":
|
|
6227
|
+
"target-outlined": 59338,
|
|
6228
|
+
"timesheet-outlined": 59339,
|
|
6229
|
+
"today-outlined": 59340,
|
|
6238
6230
|
transfer: transfer,
|
|
6239
|
-
"trash-bin-outlined":
|
|
6240
|
-
"umbrela-outlined":
|
|
6231
|
+
"trash-bin-outlined": 59342,
|
|
6232
|
+
"umbrela-outlined": 59343,
|
|
6241
6233
|
unavailable: unavailable,
|
|
6242
6234
|
underline: underline,
|
|
6243
|
-
"unlock-outlined":
|
|
6244
|
-
"upload-outlined":
|
|
6245
|
-
"user-circle-outlined":
|
|
6246
|
-
"user-gear-outlined":
|
|
6247
|
-
"user-outlined":
|
|
6248
|
-
"user-rectangle-outlined":
|
|
6249
|
-
"video-1-outlined":
|
|
6250
|
-
"video-2-outlined":
|
|
6251
|
-
"wallet-outlined":
|
|
6235
|
+
"unlock-outlined": 59346,
|
|
6236
|
+
"upload-outlined": 59347,
|
|
6237
|
+
"user-circle-outlined": 59348,
|
|
6238
|
+
"user-gear-outlined": 59349,
|
|
6239
|
+
"user-outlined": 59350,
|
|
6240
|
+
"user-rectangle-outlined": 59351,
|
|
6241
|
+
"video-1-outlined": 59352,
|
|
6242
|
+
"video-2-outlined": 59353,
|
|
6243
|
+
"wallet-outlined": 59354
|
|
6252
6244
|
};
|
|
6253
6245
|
|
|
6254
6246
|
var HeroIcon = reactNativeVectorIcons.createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
|
|
@@ -6273,10 +6265,10 @@ var StyledHeroIcon = index$a(HeroIcon)(function (_ref) {
|
|
|
6273
6265
|
};
|
|
6274
6266
|
});
|
|
6275
6267
|
|
|
6276
|
-
var _excluded$
|
|
6268
|
+
var _excluded$k = ["style"];
|
|
6277
6269
|
var AnimatedIcon = function AnimatedIcon(_ref) {
|
|
6278
6270
|
var style = _ref.style,
|
|
6279
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
6271
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$k);
|
|
6280
6272
|
var rotateAnimation = React.useRef(new reactNative.Animated.Value(0));
|
|
6281
6273
|
React.useEffect(function () {
|
|
6282
6274
|
var animation = reactNative.Animated.loop(reactNative.Animated.timing(rotateAnimation.current, {
|
|
@@ -6382,7 +6374,7 @@ var AccordionItem = function AccordionItem(_ref) {
|
|
|
6382
6374
|
}, content));
|
|
6383
6375
|
};
|
|
6384
6376
|
|
|
6385
|
-
var _excluded$
|
|
6377
|
+
var _excluded$j = ["key"];
|
|
6386
6378
|
var Accordion = function Accordion(_ref) {
|
|
6387
6379
|
var items = _ref.items,
|
|
6388
6380
|
activeItemKey = _ref.activeItemKey,
|
|
@@ -6398,12 +6390,12 @@ var Accordion = function Accordion(_ref) {
|
|
|
6398
6390
|
_usePropsOrInternalSt2 = _slicedToArray(_usePropsOrInternalSt, 2),
|
|
6399
6391
|
_activeItemKey = _usePropsOrInternalSt2[0],
|
|
6400
6392
|
_onItemPress = _usePropsOrInternalSt2[1];
|
|
6401
|
-
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$
|
|
6393
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$b, {
|
|
6402
6394
|
style: style,
|
|
6403
6395
|
testID: testID
|
|
6404
6396
|
}, items.map(function (_ref2, index) {
|
|
6405
6397
|
var key = _ref2.key,
|
|
6406
|
-
props = _objectWithoutProperties(_ref2, _excluded$
|
|
6398
|
+
props = _objectWithoutProperties(_ref2, _excluded$j);
|
|
6407
6399
|
var open = _activeItemKey === key;
|
|
6408
6400
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
|
|
6409
6401
|
key: key
|
|
@@ -6585,7 +6577,7 @@ var Attachment = function Attachment(_ref) {
|
|
|
6585
6577
|
})) : null);
|
|
6586
6578
|
};
|
|
6587
6579
|
|
|
6588
|
-
var StyledWrapper$
|
|
6580
|
+
var StyledWrapper$a = index$a(reactNative.TouchableOpacity)(function (_ref) {
|
|
6589
6581
|
var themeSize = _ref.themeSize,
|
|
6590
6582
|
themeIntent = _ref.themeIntent,
|
|
6591
6583
|
theme = _ref.theme;
|
|
@@ -6640,7 +6632,7 @@ var Avatar = function Avatar(_ref) {
|
|
|
6640
6632
|
hasImageError = _useState2[0],
|
|
6641
6633
|
setHasImageError = _useState2[1];
|
|
6642
6634
|
if (title === undefined && source === undefined) return null;
|
|
6643
|
-
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$
|
|
6635
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$a, {
|
|
6644
6636
|
testID: testID,
|
|
6645
6637
|
onPress: onPress,
|
|
6646
6638
|
disabled: onPress === undefined,
|
|
@@ -6664,7 +6656,7 @@ var Avatar = function Avatar(_ref) {
|
|
|
6664
6656
|
};
|
|
6665
6657
|
|
|
6666
6658
|
var VISIBLE_RATIO = 0.7;
|
|
6667
|
-
var StyledWrapper$
|
|
6659
|
+
var StyledWrapper$9 = index$a(reactNative.View)(function (_ref) {
|
|
6668
6660
|
var theme = _ref.theme,
|
|
6669
6661
|
themeSize = _ref.themeSize,
|
|
6670
6662
|
themeAvatarCount = _ref.themeAvatarCount;
|
|
@@ -6726,7 +6718,7 @@ var AvatarStack = function AvatarStack(_ref) {
|
|
|
6726
6718
|
});
|
|
6727
6719
|
avatars.push(remainingAvatar);
|
|
6728
6720
|
}
|
|
6729
|
-
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$
|
|
6721
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$9, {
|
|
6730
6722
|
themeSize: size,
|
|
6731
6723
|
themeAvatarCount: avatars.length,
|
|
6732
6724
|
style: style,
|
|
@@ -6785,7 +6777,7 @@ var StyledStatus = index$a(reactNative.Animated.View)(function (_ref3) {
|
|
|
6785
6777
|
};
|
|
6786
6778
|
});
|
|
6787
6779
|
|
|
6788
|
-
var _excluded$
|
|
6780
|
+
var _excluded$i = ["children", "visible", "intent", "style", "testID"];
|
|
6789
6781
|
var Status = function Status(_ref) {
|
|
6790
6782
|
var children = _ref.children,
|
|
6791
6783
|
_ref$visible = _ref.visible,
|
|
@@ -6794,7 +6786,7 @@ var Status = function Status(_ref) {
|
|
|
6794
6786
|
intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
|
|
6795
6787
|
style = _ref.style,
|
|
6796
6788
|
testID = _ref.testID,
|
|
6797
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
6789
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$i);
|
|
6798
6790
|
var _React$useRef = React__default["default"].useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
|
|
6799
6791
|
opacity = _React$useRef.current;
|
|
6800
6792
|
var isFirstRendering = React__default["default"].useRef(true);
|
|
@@ -6827,7 +6819,7 @@ var Status = function Status(_ref) {
|
|
|
6827
6819
|
}));
|
|
6828
6820
|
};
|
|
6829
6821
|
|
|
6830
|
-
var _excluded$
|
|
6822
|
+
var _excluded$h = ["content", "visible", "max", "intent", "style", "testID"];
|
|
6831
6823
|
var DEFAULT_MAX_NUMBER = 99;
|
|
6832
6824
|
var getPaddingState = function getPaddingState(content) {
|
|
6833
6825
|
return content.length > 1 ? 'wideContent' : 'narrowContent';
|
|
@@ -6842,7 +6834,7 @@ var Badge = function Badge(_ref) {
|
|
|
6842
6834
|
intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
|
|
6843
6835
|
style = _ref.style,
|
|
6844
6836
|
testID = _ref.testID,
|
|
6845
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
6837
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$h);
|
|
6846
6838
|
var _React$useRef = React__default["default"].useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
|
|
6847
6839
|
opacity = _React$useRef.current;
|
|
6848
6840
|
var isFirstRendering = React__default["default"].useRef(true);
|
|
@@ -6946,7 +6938,7 @@ function omit(keys, obj) {
|
|
|
6946
6938
|
return result;
|
|
6947
6939
|
}
|
|
6948
6940
|
|
|
6949
|
-
var _excluded$
|
|
6941
|
+
var _excluded$g = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
|
|
6950
6942
|
var getInactiveIcon = function getInactiveIcon(icon) {
|
|
6951
6943
|
var inactiveIcon = "".concat(icon, "-outlined");
|
|
6952
6944
|
return isHeroIcon(inactiveIcon) ? inactiveIcon : icon;
|
|
@@ -6957,7 +6949,7 @@ var BottomNavigation = function BottomNavigation(_ref) {
|
|
|
6957
6949
|
renderActiveTabOnly = _ref$renderActiveTabO === void 0 ? false : _ref$renderActiveTabO,
|
|
6958
6950
|
selectedTabKey = _ref.selectedTabKey,
|
|
6959
6951
|
tabs = _ref.tabs,
|
|
6960
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
6952
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$g);
|
|
6961
6953
|
var insets = reactNativeSafeAreaContext.useSafeAreaInsets();
|
|
6962
6954
|
/**
|
|
6963
6955
|
* List of loaded tabs, tabs will be loaded when navigated to.
|
|
@@ -7044,13 +7036,13 @@ var StyledDivider = index$a(reactNative.View)(function (_ref) {
|
|
|
7044
7036
|
}, horizontalMargin), verticalMargin);
|
|
7045
7037
|
});
|
|
7046
7038
|
|
|
7047
|
-
var _excluded$
|
|
7039
|
+
var _excluded$f = ["marginHorizontal", "marginVertical", "style", "testID"];
|
|
7048
7040
|
var Divider = function Divider(_ref) {
|
|
7049
7041
|
var marginHorizontal = _ref.marginHorizontal,
|
|
7050
7042
|
marginVertical = _ref.marginVertical,
|
|
7051
7043
|
style = _ref.style,
|
|
7052
7044
|
testID = _ref.testID,
|
|
7053
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7045
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$f);
|
|
7054
7046
|
return /*#__PURE__*/React__default["default"].createElement(StyledDivider, _extends$1({}, nativeProps, {
|
|
7055
7047
|
themeMarginHorizontal: marginHorizontal,
|
|
7056
7048
|
themeMarginVertical: marginVertical,
|
|
@@ -7061,7 +7053,7 @@ var Divider = function Divider(_ref) {
|
|
|
7061
7053
|
|
|
7062
7054
|
var AnimatedPressable$1 = reactNative.Animated.createAnimatedComponent(reactNative.Pressable);
|
|
7063
7055
|
var AnimatedSafeAreaView = reactNative.Animated.createAnimatedComponent(reactNative.SafeAreaView);
|
|
7064
|
-
var StyledWrapper$
|
|
7056
|
+
var StyledWrapper$8 = index$a(reactNative.View)(_objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
|
|
7065
7057
|
flexDirection: 'column-reverse'
|
|
7066
7058
|
}));
|
|
7067
7059
|
var StyledKeyboardAvoidingView = index$a(reactNative.KeyboardAvoidingView)(function () {
|
|
@@ -7180,7 +7172,7 @@ var StyledLoadingDot = index$a(reactNative.View)(function (_ref2) {
|
|
|
7180
7172
|
}, themeStyling());
|
|
7181
7173
|
});
|
|
7182
7174
|
|
|
7183
|
-
var _excluded$
|
|
7175
|
+
var _excluded$e = ["count", "size", "testID", "themeVariant"];
|
|
7184
7176
|
var AnimatedLoadingIndicatorWrapper = reactNative.Animated.createAnimatedComponent(StyledLoadingIndicatorWrapper);
|
|
7185
7177
|
var AnimatedLoadingDot = reactNative.Animated.createAnimatedComponent(StyledLoadingDot);
|
|
7186
7178
|
var renderDotComponent = function renderDotComponent(_ref) {
|
|
@@ -7212,7 +7204,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
|
|
|
7212
7204
|
size = _ref2$size === void 0 ? 12 : _ref2$size,
|
|
7213
7205
|
testID = _ref2.testID,
|
|
7214
7206
|
themeVariant = _ref2.themeVariant,
|
|
7215
|
-
nativeProps = _objectWithoutProperties(_ref2, _excluded$
|
|
7207
|
+
nativeProps = _objectWithoutProperties(_ref2, _excluded$e);
|
|
7216
7208
|
var progressAnimation = React.useRef(new reactNative.Animated.Value(0));
|
|
7217
7209
|
React.useEffect(function () {
|
|
7218
7210
|
var animation = reactNative.Animated.loop(reactNative.Animated.timing(progressAnimation.current, {
|
|
@@ -7608,11 +7600,11 @@ var Header = function Header(_ref) {
|
|
|
7608
7600
|
})) : null), showDivider ? /*#__PURE__*/React__default["default"].createElement(Divider, null) : null);
|
|
7609
7601
|
};
|
|
7610
7602
|
|
|
7611
|
-
var _excluded$
|
|
7603
|
+
var _excluded$d = ["scrollEventThrottle"];
|
|
7612
7604
|
var BottomSheetScrollView = function BottomSheetScrollView(_ref) {
|
|
7613
7605
|
var _ref$scrollEventThrot = _ref.scrollEventThrottle,
|
|
7614
7606
|
scrollEventThrottle = _ref$scrollEventThrot === void 0 ? 100 : _ref$scrollEventThrot,
|
|
7615
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7607
|
+
props = _objectWithoutProperties(_ref, _excluded$d);
|
|
7616
7608
|
var _useContext = React.useContext(BottomSheetContext),
|
|
7617
7609
|
setInternalShowDivider = _useContext.setInternalShowDivider;
|
|
7618
7610
|
var onScrollBeginDrag = React.useCallback(function (e) {
|
|
@@ -7720,7 +7712,7 @@ var BottomSheet = function BottomSheet(_ref) {
|
|
|
7720
7712
|
transparent: true,
|
|
7721
7713
|
testID: testID,
|
|
7722
7714
|
onShow: onOpen
|
|
7723
|
-
}, /*#__PURE__*/React__default["default"].createElement(StyledWrapper$
|
|
7715
|
+
}, /*#__PURE__*/React__default["default"].createElement(StyledWrapper$8, {
|
|
7724
7716
|
pointerEvents: "box-none"
|
|
7725
7717
|
}, /*#__PURE__*/React__default["default"].createElement(StyledKeyboardAvoidingView, _extends$1({
|
|
7726
7718
|
behavior: reactNative.Platform.OS === 'ios' ? 'padding' : 'height'
|
|
@@ -7927,7 +7919,7 @@ var borderWidths = {
|
|
|
7927
7919
|
var config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, colors), space), radii), borderWidths);
|
|
7928
7920
|
var flexPropsKey = ['alignContent', 'alignItems', 'alignSelf', 'display', 'flex', 'flexBasis', 'flexDirection', 'flexGrow', 'flexShrink', 'flexWrap', 'justifyContent'];
|
|
7929
7921
|
|
|
7930
|
-
var _excluded$
|
|
7922
|
+
var _excluded$c = ["theme"];
|
|
7931
7923
|
var getThemeValue = function getThemeValue(theme, key, props) {
|
|
7932
7924
|
var propConfig = config[key];
|
|
7933
7925
|
var propValue = props[key];
|
|
@@ -7954,18 +7946,18 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
|
|
|
7954
7946
|
var configKeys = Object.keys(config);
|
|
7955
7947
|
var StyledBox = index$a(reactNative.View)(function (_ref5) {
|
|
7956
7948
|
var theme = _ref5.theme,
|
|
7957
|
-
otherProps = _objectWithoutProperties(_ref5, _excluded$
|
|
7949
|
+
otherProps = _objectWithoutProperties(_ref5, _excluded$c);
|
|
7958
7950
|
var styleProps = pick(configKeys, otherProps);
|
|
7959
7951
|
var flexProps = pick(_toConsumableArray(flexPropsKey), otherProps);
|
|
7960
7952
|
return _objectSpread2(_objectSpread2({}, mapStylePropToThemeValue(theme, styleProps)), flexProps);
|
|
7961
7953
|
});
|
|
7962
7954
|
|
|
7963
|
-
var _excluded$
|
|
7955
|
+
var _excluded$b = ["children", "style", "testID"];
|
|
7964
7956
|
var Box = function Box(_ref) {
|
|
7965
7957
|
var children = _ref.children,
|
|
7966
7958
|
style = _ref.style,
|
|
7967
7959
|
testID = _ref.testID,
|
|
7968
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
7960
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$b);
|
|
7969
7961
|
return /*#__PURE__*/React__default["default"].createElement(StyledBox, _extends$1({}, otherProps, {
|
|
7970
7962
|
style: style,
|
|
7971
7963
|
testID: testID
|
|
@@ -10576,7 +10568,7 @@ var CarouselPaginator = function CarouselPaginator(_ref) {
|
|
|
10576
10568
|
}));
|
|
10577
10569
|
};
|
|
10578
10570
|
|
|
10579
|
-
var _excluded$
|
|
10571
|
+
var _excluded$a = ["rounded", "size", "testID", "style"];
|
|
10580
10572
|
var Image = function Image(_ref) {
|
|
10581
10573
|
var _ref$rounded = _ref.rounded,
|
|
10582
10574
|
rounded = _ref$rounded === void 0 ? false : _ref$rounded,
|
|
@@ -10584,7 +10576,7 @@ var Image = function Image(_ref) {
|
|
|
10584
10576
|
size = _ref$size === void 0 ? '6xlarge' : _ref$size,
|
|
10585
10577
|
testID = _ref.testID,
|
|
10586
10578
|
style = _ref.style,
|
|
10587
|
-
imageNativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
10579
|
+
imageNativeProps = _objectWithoutProperties(_ref, _excluded$a);
|
|
10588
10580
|
var theme = useTheme();
|
|
10589
10581
|
var imageSize = theme.__hd__.image.sizes[size];
|
|
10590
10582
|
return /*#__PURE__*/React__default["default"].createElement(reactNative.Image, _extends$1({
|
|
@@ -10669,7 +10661,7 @@ var CarouselItem = function CarouselItem(_ref) {
|
|
|
10669
10661
|
}, content, /*#__PURE__*/React__default["default"].createElement(StyledCarouselHeading, null, heading), body ? /*#__PURE__*/React__default["default"].createElement(Typography.Text, null, body) : null));
|
|
10670
10662
|
};
|
|
10671
10663
|
|
|
10672
|
-
var _excluded$
|
|
10664
|
+
var _excluded$9 = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style"];
|
|
10673
10665
|
function useStateFromProp(initialValue) {
|
|
10674
10666
|
var _useState = React.useState(initialValue),
|
|
10675
10667
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -10687,7 +10679,7 @@ var Carousel = function Carousel(_ref) {
|
|
|
10687
10679
|
_ref$selectedItemInde = _ref.selectedItemIndex,
|
|
10688
10680
|
selectedItemIndex = _ref$selectedItemInde === void 0 ? 0 : _ref$selectedItemInde,
|
|
10689
10681
|
style = _ref.style,
|
|
10690
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
10682
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$9);
|
|
10691
10683
|
var carouselRef = React.useRef(null);
|
|
10692
10684
|
var _useStateFromProp = useStateFromProp(selectedItemIndex),
|
|
10693
10685
|
_useStateFromProp2 = _slicedToArray(_useStateFromProp, 2),
|
|
@@ -10787,12 +10779,12 @@ var Indicator = index$a(reactNative.View)(function (_ref2) {
|
|
|
10787
10779
|
};
|
|
10788
10780
|
});
|
|
10789
10781
|
|
|
10790
|
-
var _excluded$
|
|
10782
|
+
var _excluded$8 = ["intent", "children"];
|
|
10791
10783
|
var DataCard = function DataCard(_ref) {
|
|
10792
10784
|
var _ref$intent = _ref.intent,
|
|
10793
10785
|
intent = _ref$intent === void 0 ? 'info' : _ref$intent,
|
|
10794
10786
|
children = _ref.children,
|
|
10795
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
10787
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$8);
|
|
10796
10788
|
return /*#__PURE__*/React__default["default"].createElement(StyledDataCard, nativeProps, /*#__PURE__*/React__default["default"].createElement(Indicator, {
|
|
10797
10789
|
themeIntent: intent,
|
|
10798
10790
|
testID: "data-card-indicator"
|
|
@@ -10810,11 +10802,11 @@ var StyledCard = index$a(reactNative.View)(function (_ref) {
|
|
|
10810
10802
|
});
|
|
10811
10803
|
});
|
|
10812
10804
|
|
|
10813
|
-
var _excluded$
|
|
10805
|
+
var _excluded$7 = ["intent", "children"];
|
|
10814
10806
|
var Card = function Card(_ref) {
|
|
10815
10807
|
var intent = _ref.intent,
|
|
10816
10808
|
children = _ref.children,
|
|
10817
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
10809
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$7);
|
|
10818
10810
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends$1({}, nativeProps, {
|
|
10819
10811
|
themeIntent: intent
|
|
10820
10812
|
}), children);
|
|
@@ -10823,7 +10815,7 @@ var index$8 = Object.assign(Card, {
|
|
|
10823
10815
|
Data: DataCard
|
|
10824
10816
|
});
|
|
10825
10817
|
|
|
10826
|
-
var StyledWrapper$
|
|
10818
|
+
var StyledWrapper$7 = index$a(reactNative.TouchableOpacity)(function (_ref) {
|
|
10827
10819
|
var theme = _ref.theme,
|
|
10828
10820
|
themeWithBorder = _ref.themeWithBorder,
|
|
10829
10821
|
themeDisabled = _ref.themeDisabled;
|
|
@@ -10880,7 +10872,7 @@ var Checkbox = function Checkbox(_ref) {
|
|
|
10880
10872
|
onPress = _ref.onPress,
|
|
10881
10873
|
style = _ref.style,
|
|
10882
10874
|
testID = _ref.testID;
|
|
10883
|
-
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$
|
|
10875
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$7, {
|
|
10884
10876
|
onPress: onPress,
|
|
10885
10877
|
disabled: disabled,
|
|
10886
10878
|
themeDisabled: disabled,
|
|
@@ -11048,7 +11040,7 @@ var StyledErrorAndMaxLengthContainer = index$a(reactNative.View)(function () {
|
|
|
11048
11040
|
};
|
|
11049
11041
|
});
|
|
11050
11042
|
|
|
11051
|
-
var _excluded$
|
|
11043
|
+
var _excluded$6 = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "helpText", "value", "defaultValue", "renderInputValue"];
|
|
11052
11044
|
var getVariant$1 = function getVariant(_ref) {
|
|
11053
11045
|
var disabled = _ref.disabled,
|
|
11054
11046
|
error = _ref.error,
|
|
@@ -11094,7 +11086,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
11094
11086
|
value = _ref2.value,
|
|
11095
11087
|
defaultValue = _ref2.defaultValue,
|
|
11096
11088
|
renderInputValue = _ref2.renderInputValue,
|
|
11097
|
-
nativeProps = _objectWithoutProperties(_ref2, _excluded$
|
|
11089
|
+
nativeProps = _objectWithoutProperties(_ref2, _excluded$6);
|
|
11098
11090
|
var displayText = (_ref3 = value !== undefined ? value : defaultValue) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
11099
11091
|
var isEmptyValue = displayText.length === 0;
|
|
11100
11092
|
var actualSuffix = loading ? 'loading' : suffix;
|
|
@@ -11680,7 +11672,7 @@ var index$7 = Object.assign(Drawer, {
|
|
|
11680
11672
|
Dragable: DragableDrawer
|
|
11681
11673
|
});
|
|
11682
11674
|
|
|
11683
|
-
var StyledWrapper$
|
|
11675
|
+
var StyledWrapper$6 = index$a(reactNative.View)(function (_ref) {
|
|
11684
11676
|
var theme = _ref.theme;
|
|
11685
11677
|
return {
|
|
11686
11678
|
display: 'flex',
|
|
@@ -11722,7 +11714,7 @@ var Empty = function Empty(_ref) {
|
|
|
11722
11714
|
_ref$variant = _ref.variant,
|
|
11723
11715
|
variant = _ref$variant === void 0 ? 'light' : _ref$variant;
|
|
11724
11716
|
var theme = useTheme();
|
|
11725
|
-
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$
|
|
11717
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$6, {
|
|
11726
11718
|
style: style,
|
|
11727
11719
|
testID: testID
|
|
11728
11720
|
}, image !== undefined && /*#__PURE__*/React__default["default"].cloneElement(image, _objectSpread2(_objectSpread2({}, image.props), {}, {
|
|
@@ -11772,11 +11764,11 @@ var StyledFABText = index$a(reactNative.Text)(function (_ref3) {
|
|
|
11772
11764
|
};
|
|
11773
11765
|
});
|
|
11774
11766
|
|
|
11775
|
-
var _excluded$
|
|
11767
|
+
var _excluded$5 = ["active"];
|
|
11776
11768
|
var AnimatedIcons = reactNative.Animated.createAnimatedComponent(StyledFABIcon);
|
|
11777
11769
|
var AnimatedFABIcon = function AnimatedFABIcon(_ref) {
|
|
11778
11770
|
var active = _ref.active,
|
|
11779
|
-
iconProps = _objectWithoutProperties(_ref, _excluded$
|
|
11771
|
+
iconProps = _objectWithoutProperties(_ref, _excluded$5);
|
|
11780
11772
|
var rotateAnimation = React.useRef(new reactNative.Animated.Value(active ? 1 : 0));
|
|
11781
11773
|
React.useEffect(function () {
|
|
11782
11774
|
var animation = reactNative.Animated.timing(rotateAnimation.current, {
|
|
@@ -12212,7 +12204,7 @@ var List = {
|
|
|
12212
12204
|
BasicItem: BasicListItem
|
|
12213
12205
|
};
|
|
12214
12206
|
|
|
12215
|
-
var StyledWrapper$
|
|
12207
|
+
var StyledWrapper$5 = index$a(reactNative.View)(function () {
|
|
12216
12208
|
return {
|
|
12217
12209
|
alignContent: 'flex-start'
|
|
12218
12210
|
};
|
|
@@ -12390,7 +12382,7 @@ function PinInput(_ref2) {
|
|
|
12390
12382
|
reactNative.InteractionManager.runAfterInteractions(focus);
|
|
12391
12383
|
}
|
|
12392
12384
|
}, [inputRef]);
|
|
12393
|
-
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$
|
|
12385
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$5, {
|
|
12394
12386
|
style: style,
|
|
12395
12387
|
testID: testID
|
|
12396
12388
|
}, /*#__PURE__*/React__default["default"].createElement(StyledPinWrapper, null, _toConsumableArray(Array(length).keys()).map(function (index) {
|
|
@@ -12507,7 +12499,7 @@ var StyledStrokeEnd = index$a(reactNative.View)(function (_ref6) {
|
|
|
12507
12499
|
};
|
|
12508
12500
|
});
|
|
12509
12501
|
|
|
12510
|
-
var _excluded$
|
|
12502
|
+
var _excluded$4 = ["value", "renderValue", "intent", "style", "testID"];
|
|
12511
12503
|
var HalfCircle = function HalfCircle(_ref) {
|
|
12512
12504
|
var type = _ref.type,
|
|
12513
12505
|
themeIntent = _ref.themeIntent;
|
|
@@ -12528,7 +12520,7 @@ var ProgressCircle = function ProgressCircle(_ref2) {
|
|
|
12528
12520
|
intent = _ref2$intent === void 0 ? 'primary' : _ref2$intent,
|
|
12529
12521
|
style = _ref2.style,
|
|
12530
12522
|
testID = _ref2.testID,
|
|
12531
|
-
nativeProps = _objectWithoutProperties(_ref2, _excluded$
|
|
12523
|
+
nativeProps = _objectWithoutProperties(_ref2, _excluded$4);
|
|
12532
12524
|
var theme = useTheme$1();
|
|
12533
12525
|
var radius = theme.__hd__.progress.sizes.circleDiameter / 2;
|
|
12534
12526
|
var progressAnimatedValue = React.useRef(new reactNative.Animated.Value(0));
|
|
@@ -12625,7 +12617,7 @@ var ProgressCircle = function ProgressCircle(_ref2) {
|
|
|
12625
12617
|
}, renderValue(value)))));
|
|
12626
12618
|
};
|
|
12627
12619
|
|
|
12628
|
-
var StyledWrapper$
|
|
12620
|
+
var StyledWrapper$4 = index$a(reactNative.View)(function (_ref) {
|
|
12629
12621
|
var theme = _ref.theme,
|
|
12630
12622
|
themeIntent = _ref.themeIntent;
|
|
12631
12623
|
return {
|
|
@@ -12645,14 +12637,14 @@ var StyledInner = index$a(reactNative.Animated.View)(function (_ref2) {
|
|
|
12645
12637
|
};
|
|
12646
12638
|
});
|
|
12647
12639
|
|
|
12648
|
-
var _excluded$
|
|
12640
|
+
var _excluded$3 = ["value", "intent", "style", "testID"];
|
|
12649
12641
|
var ProgressBar = function ProgressBar(_ref) {
|
|
12650
12642
|
var value = _ref.value,
|
|
12651
12643
|
_ref$intent = _ref.intent,
|
|
12652
12644
|
intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
|
|
12653
12645
|
style = _ref.style,
|
|
12654
12646
|
testID = _ref.testID,
|
|
12655
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
12647
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$3);
|
|
12656
12648
|
var _useState = React.useState(0),
|
|
12657
12649
|
_useState2 = _slicedToArray(_useState, 2),
|
|
12658
12650
|
width = _useState2[0],
|
|
@@ -12678,7 +12670,7 @@ var ProgressBar = function ProgressBar(_ref) {
|
|
|
12678
12670
|
outputRange: [999, 0],
|
|
12679
12671
|
extrapolate: 'clamp'
|
|
12680
12672
|
});
|
|
12681
|
-
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$
|
|
12673
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$4, _extends$1({}, nativeProps, {
|
|
12682
12674
|
testID: testID,
|
|
12683
12675
|
style: style,
|
|
12684
12676
|
themeIntent: intent
|
|
@@ -12843,14 +12835,14 @@ var AnimatedSpinner = function AnimatedSpinner(_ref) {
|
|
|
12843
12835
|
}, dotProps))));
|
|
12844
12836
|
};
|
|
12845
12837
|
|
|
12846
|
-
var _excluded$
|
|
12838
|
+
var _excluded$2 = ["testID", "size", "intent"];
|
|
12847
12839
|
var Spinner = function Spinner(_ref) {
|
|
12848
12840
|
var testID = _ref.testID,
|
|
12849
12841
|
_ref$size = _ref.size,
|
|
12850
12842
|
size = _ref$size === void 0 ? 'medium' : _ref$size,
|
|
12851
12843
|
_ref$intent = _ref.intent,
|
|
12852
12844
|
intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
|
|
12853
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
12845
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$2);
|
|
12854
12846
|
return /*#__PURE__*/React__default["default"].createElement(StyledView$1, nativeProps, /*#__PURE__*/React__default["default"].createElement(StyledSpinnerContainer, {
|
|
12855
12847
|
testID: testID
|
|
12856
12848
|
}, /*#__PURE__*/React__default["default"].createElement(AnimatedSpinner, {
|
|
@@ -12859,12 +12851,60 @@ var Spinner = function Spinner(_ref) {
|
|
|
12859
12851
|
})));
|
|
12860
12852
|
};
|
|
12861
12853
|
|
|
12854
|
+
var Buttons = function Buttons(_ref) {
|
|
12855
|
+
var _buttons$length;
|
|
12856
|
+
var buttons = _ref.buttons,
|
|
12857
|
+
isLeftButtons = _ref.isLeftButtons,
|
|
12858
|
+
leftButtonContainerStyle = _ref.leftButtonContainerStyle,
|
|
12859
|
+
rightButtonContainerStyle = _ref.rightButtonContainerStyle,
|
|
12860
|
+
panAnimatedValue = _ref.panAnimatedValue,
|
|
12861
|
+
width = _ref.width,
|
|
12862
|
+
canSwipeLeft = _ref.canSwipeLeft,
|
|
12863
|
+
canSwipeRight = _ref.canSwipeRight,
|
|
12864
|
+
buttonWidth = _ref.buttonWidth;
|
|
12865
|
+
var count = (_buttons$length = buttons === null || buttons === void 0 ? void 0 : buttons.length) !== null && _buttons$length !== void 0 ? _buttons$length : 0;
|
|
12866
|
+
var leftEnd = canSwipeLeft ? -width : 0;
|
|
12867
|
+
var rightEnd = canSwipeRight ? width : 0;
|
|
12868
|
+
var inputRange = isLeftButtons ? [0, rightEnd] : [leftEnd, 0];
|
|
12869
|
+
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, buttons === null || buttons === void 0 ? void 0 : buttons.map(function (buttonContent, index) {
|
|
12870
|
+
var outputMultiplier = -index / count;
|
|
12871
|
+
var outputRange = isLeftButtons ? [0, rightEnd * outputMultiplier] : [leftEnd * outputMultiplier, 0];
|
|
12872
|
+
var transform = [{
|
|
12873
|
+
translateX: panAnimatedValue.x.interpolate({
|
|
12874
|
+
inputRange: inputRange,
|
|
12875
|
+
outputRange: outputRange,
|
|
12876
|
+
extrapolate: 'clamp'
|
|
12877
|
+
})
|
|
12878
|
+
}];
|
|
12879
|
+
var buttonStyle = [reactNative.StyleSheet.absoluteFill, {
|
|
12880
|
+
width: buttonWidth,
|
|
12881
|
+
transform: transform
|
|
12882
|
+
}, isLeftButtons ? leftButtonContainerStyle : rightButtonContainerStyle];
|
|
12883
|
+
return /*#__PURE__*/React__default["default"].createElement(reactNative.Animated.View, {
|
|
12884
|
+
key: index,
|
|
12885
|
+
style: buttonStyle
|
|
12886
|
+
}, buttonContent);
|
|
12887
|
+
}));
|
|
12888
|
+
};
|
|
12889
|
+
|
|
12862
12890
|
var StyledRectButton = index$a(reactNative.TouchableOpacity)(function (_ref) {
|
|
12863
12891
|
var theme = _ref.theme,
|
|
12864
12892
|
themeIntent = _ref.themeIntent;
|
|
12865
12893
|
return {
|
|
12866
12894
|
flex: 1,
|
|
12867
|
-
backgroundColor: theme.__hd__.swipeable.colors[themeIntent]
|
|
12895
|
+
backgroundColor: theme.__hd__.swipeable.colors[themeIntent],
|
|
12896
|
+
alignItems: 'center',
|
|
12897
|
+
justifyContent: 'center'
|
|
12898
|
+
};
|
|
12899
|
+
});
|
|
12900
|
+
var StyledWrapper$3 = index$a(reactNative.View)(function () {
|
|
12901
|
+
return {
|
|
12902
|
+
flexDirection: 'row'
|
|
12903
|
+
};
|
|
12904
|
+
});
|
|
12905
|
+
var StyledContent = index$a(reactNative.Animated.View)(function () {
|
|
12906
|
+
return {
|
|
12907
|
+
flex: 1
|
|
12868
12908
|
};
|
|
12869
12909
|
});
|
|
12870
12910
|
|
|
@@ -12873,86 +12913,381 @@ var SwipeableAction = function SwipeableAction(_ref) {
|
|
|
12873
12913
|
intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
|
|
12874
12914
|
onPress = _ref.onPress,
|
|
12875
12915
|
style = _ref.style,
|
|
12876
|
-
|
|
12877
|
-
|
|
12916
|
+
testID = _ref.testID,
|
|
12917
|
+
label = _ref.label,
|
|
12918
|
+
icon = _ref.icon;
|
|
12878
12919
|
return /*#__PURE__*/React__default["default"].createElement(StyledRectButton, {
|
|
12879
12920
|
onPress: onPress,
|
|
12880
12921
|
themeIntent: intent,
|
|
12881
12922
|
style: style,
|
|
12882
12923
|
testID: testID
|
|
12883
|
-
},
|
|
12924
|
+
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
12925
|
+
icon: icon,
|
|
12926
|
+
size: "xsmall"
|
|
12927
|
+
}), /*#__PURE__*/React__default["default"].createElement(Typography.Text, {
|
|
12928
|
+
fontSize: "small"
|
|
12929
|
+
}, label));
|
|
12930
|
+
};
|
|
12931
|
+
|
|
12932
|
+
var _excluded$1 = ["children", "leftActions", "leftContent", "rightActions", "rightContent", "style", "leftActionsWidth", "leftButtonWidth", "onSwipeLeftStart", "onSwipeLeftEnd", "rightActionsWidth", "rightButtonWidth", "onSwipeRightStart", "onSwipeRightEnd", "swipeState", "onStateChange"];
|
|
12933
|
+
var swipeStartMinDistance = 15;
|
|
12934
|
+
var getReleaseAnimationConfig = function getReleaseAnimationConfig(swipeState, props) {
|
|
12935
|
+
var totalLeftButtonsWidth = props.totalLeftButtonsWidth,
|
|
12936
|
+
totalRightButtonsWidth = props.totalRightButtonsWidth;
|
|
12937
|
+
var swipeReleaseAnimationConfig = {
|
|
12938
|
+
toValue: {
|
|
12939
|
+
x: 0,
|
|
12940
|
+
y: 0
|
|
12941
|
+
},
|
|
12942
|
+
duration: 100,
|
|
12943
|
+
easing: reactNative.Easing.elastic(0.5),
|
|
12944
|
+
useNativeDriver: true
|
|
12945
|
+
};
|
|
12946
|
+
if (swipeState === 'leftOpen') {
|
|
12947
|
+
return _objectSpread2(_objectSpread2({}, swipeReleaseAnimationConfig), {}, {
|
|
12948
|
+
toValue: {
|
|
12949
|
+
x: totalLeftButtonsWidth,
|
|
12950
|
+
y: 0
|
|
12951
|
+
}
|
|
12952
|
+
});
|
|
12953
|
+
}
|
|
12954
|
+
if (swipeState === 'rightOpen') {
|
|
12955
|
+
return _objectSpread2(_objectSpread2({}, swipeReleaseAnimationConfig), {}, {
|
|
12956
|
+
toValue: {
|
|
12957
|
+
x: totalRightButtonsWidth * -1,
|
|
12958
|
+
y: 0
|
|
12959
|
+
}
|
|
12960
|
+
});
|
|
12961
|
+
}
|
|
12962
|
+
return swipeReleaseAnimationConfig;
|
|
12884
12963
|
};
|
|
12885
|
-
|
|
12886
|
-
var
|
|
12887
|
-
|
|
12888
|
-
|
|
12889
|
-
|
|
12890
|
-
|
|
12891
|
-
|
|
12964
|
+
var getPos = function getPos(_ref) {
|
|
12965
|
+
var swipeState = _ref.swipeState,
|
|
12966
|
+
totalLeftButtonsWidth = _ref.totalLeftButtonsWidth,
|
|
12967
|
+
totalRightButtonsWidth = _ref.totalRightButtonsWidth;
|
|
12968
|
+
if (swipeState === 'leftOpen') {
|
|
12969
|
+
return {
|
|
12970
|
+
x: totalLeftButtonsWidth,
|
|
12971
|
+
y: 0
|
|
12972
|
+
};
|
|
12973
|
+
}
|
|
12974
|
+
if (swipeState === 'rightOpen') {
|
|
12975
|
+
return {
|
|
12976
|
+
x: totalRightButtonsWidth * -1,
|
|
12977
|
+
y: 0
|
|
12978
|
+
};
|
|
12979
|
+
}
|
|
12980
|
+
return {
|
|
12981
|
+
x: 0,
|
|
12982
|
+
y: 0
|
|
12983
|
+
};
|
|
12984
|
+
};
|
|
12985
|
+
var Swipeable = function Swipeable(_ref2) {
|
|
12986
|
+
var children = _ref2.children,
|
|
12987
|
+
_ref2$leftActions = _ref2.leftActions,
|
|
12988
|
+
leftActions = _ref2$leftActions === void 0 ? [] : _ref2$leftActions,
|
|
12989
|
+
leftContent = _ref2.leftContent,
|
|
12990
|
+
_ref2$rightActions = _ref2.rightActions,
|
|
12991
|
+
rightActions = _ref2$rightActions === void 0 ? [] : _ref2$rightActions,
|
|
12992
|
+
rightContent = _ref2.rightContent,
|
|
12993
|
+
style = _ref2.style,
|
|
12994
|
+
_ref2$leftActionsWidt = _ref2.leftActionsWidth,
|
|
12995
|
+
leftActionsWidth = _ref2$leftActionsWidt === void 0 ? scale(85) : _ref2$leftActionsWidt,
|
|
12996
|
+
_ref2$leftButtonWidth = _ref2.leftButtonWidth,
|
|
12997
|
+
leftButtonWidth = _ref2$leftButtonWidth === void 0 ? scale(85) : _ref2$leftButtonWidth,
|
|
12998
|
+
_ref2$onSwipeLeftStar = _ref2.onSwipeLeftStart,
|
|
12999
|
+
onSwipeLeftStart = _ref2$onSwipeLeftStar === void 0 ? noop : _ref2$onSwipeLeftStar,
|
|
13000
|
+
_ref2$onSwipeLeftEnd = _ref2.onSwipeLeftEnd,
|
|
13001
|
+
onSwipeLeftEnd = _ref2$onSwipeLeftEnd === void 0 ? noop : _ref2$onSwipeLeftEnd,
|
|
13002
|
+
_ref2$rightActionsWid = _ref2.rightActionsWidth,
|
|
13003
|
+
rightActionsWidth = _ref2$rightActionsWid === void 0 ? scale(85) : _ref2$rightActionsWid,
|
|
13004
|
+
_ref2$rightButtonWidt = _ref2.rightButtonWidth,
|
|
13005
|
+
rightButtonWidth = _ref2$rightButtonWidt === void 0 ? scale(85) : _ref2$rightButtonWidt,
|
|
13006
|
+
_ref2$onSwipeRightSta = _ref2.onSwipeRightStart,
|
|
13007
|
+
onSwipeRightStart = _ref2$onSwipeRightSta === void 0 ? noop : _ref2$onSwipeRightSta,
|
|
13008
|
+
_ref2$onSwipeRightEnd = _ref2.onSwipeRightEnd,
|
|
13009
|
+
onSwipeRightEnd = _ref2$onSwipeRightEnd === void 0 ? noop : _ref2$onSwipeRightEnd,
|
|
13010
|
+
_ref2$swipeState = _ref2.swipeState,
|
|
13011
|
+
swipeState = _ref2$swipeState === void 0 ? 'closed' : _ref2$swipeState,
|
|
13012
|
+
_ref2$onStateChange = _ref2.onStateChange,
|
|
13013
|
+
onStateChange = _ref2$onStateChange === void 0 ? noop : _ref2$onStateChange,
|
|
13014
|
+
rest = _objectWithoutProperties(_ref2, _excluded$1);
|
|
13015
|
+
var propsWithDefaultValue = _objectSpread2({
|
|
13016
|
+
children: children,
|
|
13017
|
+
leftActions: leftActions,
|
|
13018
|
+
leftContent: leftContent,
|
|
13019
|
+
rightActions: rightActions,
|
|
13020
|
+
rightContent: rightContent,
|
|
13021
|
+
style: style,
|
|
13022
|
+
leftActionsWidth: leftActionsWidth,
|
|
13023
|
+
leftButtonWidth: leftButtonWidth,
|
|
13024
|
+
onSwipeLeftStart: onSwipeLeftStart,
|
|
13025
|
+
onSwipeLeftEnd: onSwipeLeftEnd,
|
|
13026
|
+
rightActionsWidth: rightActionsWidth,
|
|
13027
|
+
rightButtonWidth: rightButtonWidth,
|
|
13028
|
+
onSwipeRightStart: onSwipeRightStart,
|
|
13029
|
+
onSwipeRightEnd: onSwipeRightEnd,
|
|
13030
|
+
swipeState: swipeState,
|
|
13031
|
+
onStateChange: onStateChange
|
|
13032
|
+
}, rest);
|
|
13033
|
+
var unmountedRef = React__default["default"].useRef(false);
|
|
13034
|
+
React.useEffect(function () {
|
|
13035
|
+
return function () {
|
|
13036
|
+
unmountedRef.current = true;
|
|
13037
|
+
};
|
|
13038
|
+
}, []);
|
|
13039
|
+
var totalLeftButtonsWidth = leftActions.length * leftButtonWidth;
|
|
13040
|
+
var totalRightButtonsWidth = rightActions.length * rightButtonWidth;
|
|
13041
|
+
var _React$useState = React__default["default"].useState(0),
|
|
13042
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
13043
|
+
width = _React$useState2[0],
|
|
13044
|
+
setWidth = _React$useState2[1];
|
|
13045
|
+
var hasLeftButtons = !leftContent && leftActions && leftActions.length > 0;
|
|
13046
|
+
var hasRightButtons = !rightContent && rightActions && rightActions.length > 0;
|
|
13047
|
+
var canSwipeRight = !!leftContent || !!hasLeftButtons;
|
|
13048
|
+
var canSwipeLeft = !!rightContent || !!hasRightButtons;
|
|
13049
|
+
var propsRef = React__default["default"].useRef(undefined);
|
|
13050
|
+
var _React$useState3 = React__default["default"].useState({
|
|
13051
|
+
pan: new reactNative.Animated.ValueXY(getPos({
|
|
13052
|
+
swipeState: swipeState,
|
|
13053
|
+
totalLeftButtonsWidth: totalLeftButtonsWidth,
|
|
13054
|
+
totalRightButtonsWidth: totalRightButtonsWidth
|
|
13055
|
+
})),
|
|
13056
|
+
lastOffset: {
|
|
13057
|
+
x: 0,
|
|
13058
|
+
y: 0
|
|
13059
|
+
},
|
|
13060
|
+
leftActionActivated: false,
|
|
13061
|
+
rightActionActivated: true,
|
|
13062
|
+
swipeState: 'closed'
|
|
13063
|
+
}),
|
|
13064
|
+
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
13065
|
+
state = _React$useState4[0],
|
|
13066
|
+
setState = _React$useState4[1];
|
|
13067
|
+
propsRef.current = _objectSpread2(_objectSpread2({}, propsWithDefaultValue), {}, {
|
|
13068
|
+
canSwipeLeft: canSwipeLeft,
|
|
13069
|
+
canSwipeRight: canSwipeRight,
|
|
13070
|
+
totalLeftButtonsWidth: totalLeftButtonsWidth,
|
|
13071
|
+
totalRightButtonsWidth: totalRightButtonsWidth,
|
|
13072
|
+
hasLeftButtons: hasLeftButtons,
|
|
13073
|
+
hasRightButtons: hasRightButtons,
|
|
13074
|
+
unmountedRef: unmountedRef
|
|
12892
13075
|
});
|
|
12893
|
-
return /*#__PURE__*/React__default["default"].createElement(reactNative.Animated.View, {
|
|
12894
|
-
style: {
|
|
12895
|
-
width: width,
|
|
12896
|
-
flexDirection: 'row',
|
|
12897
|
-
transform: [{
|
|
12898
|
-
translateX: trans
|
|
12899
|
-
}]
|
|
12900
|
-
}
|
|
12901
|
-
}, actions);
|
|
12902
|
-
};
|
|
12903
|
-
var Swipeable = function Swipeable(_ref) {
|
|
12904
|
-
var children = _ref.children,
|
|
12905
|
-
state = _ref.state,
|
|
12906
|
-
onStateChange = _ref.onStateChange,
|
|
12907
|
-
leftActions = _ref.leftActions,
|
|
12908
|
-
leftActionsWidth = _ref.leftActionsWidth,
|
|
12909
|
-
rightActions = _ref.rightActions,
|
|
12910
|
-
rightActionsWidth = _ref.rightActionsWidth,
|
|
12911
|
-
swipeableProps = _objectWithoutProperties(_ref, _excluded$2);
|
|
12912
|
-
var _useWindowDimensions = reactNative.useWindowDimensions(),
|
|
12913
|
-
width = _useWindowDimensions.width;
|
|
12914
|
-
var swipeableRef = React.useRef(null);
|
|
12915
|
-
var renderLeftActions = React.useCallback(function (progress) {
|
|
12916
|
-
return renderActions(leftActions, leftActionsWidth || width, progress, 'left');
|
|
12917
|
-
}, [leftActions, leftActionsWidth, width]);
|
|
12918
|
-
var renderRightActions = React.useCallback(function (progress) {
|
|
12919
|
-
return renderActions(rightActions, rightActionsWidth || width, progress, 'right');
|
|
12920
|
-
}, [rightActions, rightActionsWidth, width]);
|
|
12921
13076
|
React.useEffect(function () {
|
|
12922
|
-
|
|
12923
|
-
|
|
12924
|
-
|
|
12925
|
-
|
|
12926
|
-
break;
|
|
12927
|
-
case 'rightOpen':
|
|
12928
|
-
swipeableRef.current.openRight();
|
|
12929
|
-
break;
|
|
12930
|
-
case 'closed':
|
|
12931
|
-
swipeableRef.current.close();
|
|
12932
|
-
break;
|
|
13077
|
+
var animation = null;
|
|
13078
|
+
if (state.swipeState !== swipeState) {
|
|
13079
|
+
animation = animationToNewState(swipeState, state.pan, totalLeftButtonsWidth, totalRightButtonsWidth);
|
|
13080
|
+
animation.start();
|
|
12933
13081
|
}
|
|
12934
|
-
|
|
12935
|
-
|
|
12936
|
-
|
|
12937
|
-
|
|
12938
|
-
|
|
12939
|
-
},
|
|
12940
|
-
|
|
12941
|
-
|
|
12942
|
-
|
|
12943
|
-
|
|
13082
|
+
return function () {
|
|
13083
|
+
if (animation) {
|
|
13084
|
+
animation.stop();
|
|
13085
|
+
}
|
|
13086
|
+
};
|
|
13087
|
+
}, [swipeState]);
|
|
13088
|
+
var transform = [{
|
|
13089
|
+
translateX: state.pan.x.interpolate({
|
|
13090
|
+
inputRange: [canSwipeLeft ? -width : 0, canSwipeRight ? width : 0],
|
|
13091
|
+
outputRange: [canSwipeLeft ? -width + reactNative.StyleSheet.hairlineWidth : 0, canSwipeRight ? width - reactNative.StyleSheet.hairlineWidth : 0],
|
|
13092
|
+
extrapolate: 'clamp'
|
|
13093
|
+
})
|
|
13094
|
+
}];
|
|
13095
|
+
var panResponder = React__default["default"].useRef(reactNative.PanResponder.create({
|
|
13096
|
+
onMoveShouldSetPanResponder: function onMoveShouldSetPanResponder(_, gestureState) {
|
|
13097
|
+
return Math.abs(gestureState.dx) > swipeStartMinDistance;
|
|
13098
|
+
},
|
|
13099
|
+
onMoveShouldSetPanResponderCapture: function onMoveShouldSetPanResponderCapture(_, gestureState) {
|
|
13100
|
+
return Math.abs(gestureState.dx) > swipeStartMinDistance;
|
|
13101
|
+
},
|
|
13102
|
+
onPanResponderGrant: function onPanResponderGrant() {
|
|
13103
|
+
setState(function (prevState) {
|
|
13104
|
+
prevState.pan.setOffset(prevState.lastOffset);
|
|
13105
|
+
return prevState;
|
|
13106
|
+
});
|
|
13107
|
+
},
|
|
13108
|
+
onPanResponderMove: function onPanResponderMove(event, gestureState) {
|
|
13109
|
+
setState(function (prevState) {
|
|
13110
|
+
return hanleOnPanResponderMove(prevState, propsRef.current, event, gestureState);
|
|
13111
|
+
});
|
|
12944
13112
|
},
|
|
12945
|
-
|
|
12946
|
-
|
|
13113
|
+
onPanResponderRelease: function onPanResponderRelease(event, gestureState) {
|
|
13114
|
+
setState(function (prevState) {
|
|
13115
|
+
return hanleOnPanResponderEnd(prevState, propsRef.current, event, gestureState);
|
|
13116
|
+
});
|
|
12947
13117
|
},
|
|
12948
|
-
|
|
12949
|
-
return
|
|
13118
|
+
onPanResponderTerminationRequest: function onPanResponderTerminationRequest() {
|
|
13119
|
+
return false;
|
|
13120
|
+
},
|
|
13121
|
+
onPanResponderTerminate: function onPanResponderTerminate(event, gestureState) {
|
|
13122
|
+
setState(function (prevState) {
|
|
13123
|
+
return hanleOnPanResponderEnd(prevState, propsRef.current, event, gestureState);
|
|
13124
|
+
});
|
|
13125
|
+
}
|
|
13126
|
+
})).current;
|
|
13127
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$3, _extends$1({
|
|
13128
|
+
onLayout: function onLayout(event) {
|
|
13129
|
+
var width = event.nativeEvent.layout.width;
|
|
13130
|
+
setWidth(width);
|
|
13131
|
+
},
|
|
13132
|
+
style: [{
|
|
13133
|
+
flexDirection: 'row'
|
|
13134
|
+
}, style]
|
|
13135
|
+
}, panResponder.panHandlers, rest), canSwipeRight && /*#__PURE__*/React__default["default"].createElement(reactNative.Animated.View, {
|
|
13136
|
+
style: [{
|
|
13137
|
+
transform: transform,
|
|
13138
|
+
marginLeft: -width,
|
|
13139
|
+
width: width
|
|
13140
|
+
}]
|
|
13141
|
+
}, leftContent || /*#__PURE__*/React__default["default"].createElement(Buttons, {
|
|
13142
|
+
buttons: leftActions,
|
|
13143
|
+
isLeftButtons: true,
|
|
13144
|
+
panAnimatedValue: state.pan,
|
|
13145
|
+
width: width,
|
|
13146
|
+
canSwipeLeft: canSwipeLeft,
|
|
13147
|
+
canSwipeRight: canSwipeRight,
|
|
13148
|
+
buttonWidth: leftButtonWidth
|
|
13149
|
+
})), /*#__PURE__*/React__default["default"].createElement(StyledContent, {
|
|
13150
|
+
style: {
|
|
13151
|
+
transform: transform
|
|
13152
|
+
}
|
|
13153
|
+
}, children), canSwipeLeft && /*#__PURE__*/React__default["default"].createElement(reactNative.Animated.View, {
|
|
13154
|
+
style: [{
|
|
13155
|
+
transform: transform,
|
|
13156
|
+
marginRight: -width,
|
|
13157
|
+
width: width
|
|
13158
|
+
}]
|
|
13159
|
+
}, rightContent || /*#__PURE__*/React__default["default"].createElement(Buttons, {
|
|
13160
|
+
buttons: rightActions,
|
|
13161
|
+
isLeftButtons: false,
|
|
13162
|
+
panAnimatedValue: state.pan,
|
|
13163
|
+
width: width,
|
|
13164
|
+
canSwipeRight: canSwipeRight,
|
|
13165
|
+
canSwipeLeft: canSwipeLeft,
|
|
13166
|
+
buttonWidth: rightButtonWidth
|
|
13167
|
+
})));
|
|
13168
|
+
};
|
|
13169
|
+
var animationToNewState = function animationToNewState(swipeState, pan, totalLeftButtonsWidth, totalRightButtonsWidth) {
|
|
13170
|
+
var animationConfig = getReleaseAnimationConfig(swipeState, {
|
|
13171
|
+
totalLeftButtonsWidth: totalLeftButtonsWidth,
|
|
13172
|
+
totalRightButtonsWidth: totalRightButtonsWidth
|
|
13173
|
+
});
|
|
13174
|
+
pan.flattenOffset();
|
|
13175
|
+
return reactNative.Animated.timing(pan, animationConfig);
|
|
13176
|
+
};
|
|
13177
|
+
var hanleOnPanResponderEnd = function hanleOnPanResponderEnd(state, contextValues, event, gestureState) {
|
|
13178
|
+
var totalLeftButtonsWidth = contextValues.totalLeftButtonsWidth,
|
|
13179
|
+
totalRightButtonsWidth = contextValues.totalRightButtonsWidth,
|
|
13180
|
+
unmountedRef = contextValues.unmountedRef,
|
|
13181
|
+
onSwipeLeftEnd = contextValues.onSwipeLeftEnd,
|
|
13182
|
+
onSwipeRightEnd = contextValues.onSwipeRightEnd,
|
|
13183
|
+
onStateChange = contextValues.onStateChange;
|
|
13184
|
+
var leftActionActivated = state.leftActionActivated,
|
|
13185
|
+
rightActionActivated = state.rightActionActivated,
|
|
13186
|
+
pan = state.pan,
|
|
13187
|
+
swipeState = state.swipeState;
|
|
13188
|
+
var animationConfig = getReleaseAnimationConfig(swipeState, {
|
|
13189
|
+
totalLeftButtonsWidth: totalLeftButtonsWidth,
|
|
13190
|
+
totalRightButtonsWidth: totalRightButtonsWidth
|
|
13191
|
+
});
|
|
13192
|
+
animationToNewState(swipeState, pan, totalLeftButtonsWidth, totalRightButtonsWidth).start(function () {
|
|
13193
|
+
if (unmountedRef.current) {
|
|
13194
|
+
return;
|
|
12950
13195
|
}
|
|
12951
|
-
|
|
13196
|
+
if (leftActionActivated && onSwipeLeftEnd) {
|
|
13197
|
+
onSwipeLeftEnd(event, gestureState);
|
|
13198
|
+
}
|
|
13199
|
+
if (rightActionActivated && onSwipeRightEnd) {
|
|
13200
|
+
onSwipeRightEnd(event, gestureState);
|
|
13201
|
+
}
|
|
13202
|
+
onStateChange(swipeState);
|
|
13203
|
+
});
|
|
13204
|
+
return _objectSpread2(_objectSpread2({}, state), {}, {
|
|
13205
|
+
lastOffset: {
|
|
13206
|
+
x: animationConfig.toValue.x,
|
|
13207
|
+
y: animationConfig.toValue.y
|
|
13208
|
+
},
|
|
13209
|
+
leftActionActivated: false,
|
|
13210
|
+
rightActionActivated: false
|
|
13211
|
+
});
|
|
13212
|
+
};
|
|
13213
|
+
var hanleOnPanResponderMove = function hanleOnPanResponderMove(state, contextValues, event, gestureState) {
|
|
13214
|
+
var leftActionsWidth = contextValues.leftActionsWidth,
|
|
13215
|
+
rightActionsWidth = contextValues.rightActionsWidth,
|
|
13216
|
+
onSwipeLeftStart = contextValues.onSwipeLeftStart,
|
|
13217
|
+
onSwipeRightStart = contextValues.onSwipeRightStart,
|
|
13218
|
+
canSwipeRight = contextValues.canSwipeRight,
|
|
13219
|
+
canSwipeLeft = contextValues.canSwipeLeft,
|
|
13220
|
+
hasLeftButtons = contextValues.hasLeftButtons,
|
|
13221
|
+
hasRightButtons = contextValues.hasRightButtons;
|
|
13222
|
+
var lastOffset = state.lastOffset,
|
|
13223
|
+
leftActionActivated = state.leftActionActivated,
|
|
13224
|
+
swipeState = state.swipeState,
|
|
13225
|
+
rightActionActivated = state.rightActionActivated;
|
|
13226
|
+
var dx = gestureState.dx,
|
|
13227
|
+
vx = gestureState.vx;
|
|
13228
|
+
var x = dx + lastOffset.x;
|
|
13229
|
+
var isSwipingLeft = vx < 0;
|
|
13230
|
+
var isSwipingRight = vx > 0;
|
|
13231
|
+
var leftActionsActivated = swipeState === 'leftOpen';
|
|
13232
|
+
var rightActionsActivated = swipeState === 'rightOpen';
|
|
13233
|
+
var nextLeftActionActivated = leftActionActivated;
|
|
13234
|
+
var nextLeftButtonsActivated = leftActionsActivated;
|
|
13235
|
+
var nextRightActionActivated = rightActionActivated;
|
|
13236
|
+
var nextRightButtonsActivated = rightActionsActivated;
|
|
13237
|
+
reactNative.Animated.event([null, {
|
|
13238
|
+
dx: state.pan.x,
|
|
13239
|
+
dy: state.pan.y
|
|
13240
|
+
}], {
|
|
13241
|
+
useNativeDriver: false
|
|
13242
|
+
})(event, gestureState);
|
|
13243
|
+
if (!leftActionActivated && canSwipeRight && x >= leftActionsWidth) {
|
|
13244
|
+
nextLeftActionActivated = true;
|
|
13245
|
+
onSwipeRightStart(event, gestureState);
|
|
13246
|
+
}
|
|
13247
|
+
if (leftActionActivated && canSwipeRight && x < leftActionsWidth) {
|
|
13248
|
+
nextLeftActionActivated = false;
|
|
13249
|
+
}
|
|
13250
|
+
if (!rightActionActivated && canSwipeLeft && x <= -rightActionsWidth) {
|
|
13251
|
+
nextRightActionActivated = true;
|
|
13252
|
+
onSwipeLeftStart(event, gestureState);
|
|
13253
|
+
}
|
|
13254
|
+
if (rightActionActivated && canSwipeLeft && x > -rightActionsWidth) {
|
|
13255
|
+
nextRightActionActivated = false;
|
|
13256
|
+
}
|
|
13257
|
+
if (!leftActionsActivated && hasLeftButtons && !isSwipingLeft && x >= leftActionsWidth) {
|
|
13258
|
+
nextLeftButtonsActivated = true;
|
|
13259
|
+
}
|
|
13260
|
+
if (leftActionsActivated && hasLeftButtons && isSwipingLeft) {
|
|
13261
|
+
nextLeftButtonsActivated = false;
|
|
13262
|
+
}
|
|
13263
|
+
if (!rightActionsActivated && hasRightButtons && !isSwipingRight && x <= -rightActionsWidth) {
|
|
13264
|
+
nextRightButtonsActivated = true;
|
|
13265
|
+
}
|
|
13266
|
+
if (rightActionsActivated && hasRightButtons && isSwipingRight) {
|
|
13267
|
+
nextRightButtonsActivated = false;
|
|
13268
|
+
}
|
|
13269
|
+
var needsUpdate = nextLeftActionActivated !== leftActionActivated || nextLeftButtonsActivated !== leftActionsActivated || nextRightActionActivated !== rightActionActivated || nextRightButtonsActivated !== rightActionsActivated;
|
|
13270
|
+
if (needsUpdate) {
|
|
13271
|
+
var nextSwipeState = function () {
|
|
13272
|
+
if (nextLeftButtonsActivated) {
|
|
13273
|
+
return 'leftOpen';
|
|
13274
|
+
} else if (nextRightButtonsActivated) {
|
|
13275
|
+
return 'rightOpen';
|
|
13276
|
+
} else {
|
|
13277
|
+
return 'closed';
|
|
13278
|
+
}
|
|
13279
|
+
}();
|
|
13280
|
+
return _objectSpread2(_objectSpread2({}, state), {}, {
|
|
13281
|
+
leftActionActivated: nextLeftActionActivated,
|
|
13282
|
+
rightActionActivated: nextRightActionActivated,
|
|
13283
|
+
swipeState: nextSwipeState
|
|
13284
|
+
});
|
|
13285
|
+
} else {
|
|
13286
|
+
return state;
|
|
13287
|
+
}
|
|
12952
13288
|
};
|
|
12953
|
-
var index$5 = Object.assign(Swipeable, {
|
|
12954
|
-
Action: SwipeableAction
|
|
12955
|
-
Content: reactNativeGestureHandler.RectButton
|
|
13289
|
+
var index$5 = Object.assign( /*#__PURE__*/React__default["default"].memo(Swipeable), {
|
|
13290
|
+
Action: SwipeableAction
|
|
12956
13291
|
});
|
|
12957
13292
|
|
|
12958
13293
|
var Circle = index$a(reactNative.View)(function (_ref) {
|
|
@@ -14293,7 +14628,7 @@ var StyledText = index$a(reactNative.Text)(function (_ref3) {
|
|
|
14293
14628
|
};
|
|
14294
14629
|
});
|
|
14295
14630
|
|
|
14296
|
-
var _excluded
|
|
14631
|
+
var _excluded = ["content", "variant", "intent", "style", "testID"];
|
|
14297
14632
|
var Tag = function Tag(_ref) {
|
|
14298
14633
|
var content = _ref.content,
|
|
14299
14634
|
_ref$variant = _ref.variant,
|
|
@@ -14302,7 +14637,7 @@ var Tag = function Tag(_ref) {
|
|
|
14302
14637
|
intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
|
|
14303
14638
|
style = _ref.style,
|
|
14304
14639
|
testID = _ref.testID,
|
|
14305
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded
|
|
14640
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded);
|
|
14306
14641
|
return /*#__PURE__*/React__default["default"].createElement(StyledView, _extends$1({}, nativeProps, {
|
|
14307
14642
|
themeIntent: intent,
|
|
14308
14643
|
themeVariant: variant,
|
|
@@ -14863,11 +15198,9 @@ var ToolbarGroup = function ToolbarGroup(_ref) {
|
|
|
14863
15198
|
}));
|
|
14864
15199
|
};
|
|
14865
15200
|
|
|
14866
|
-
var _excluded = ["children"];
|
|
14867
15201
|
var Toolbar = function Toolbar(_ref) {
|
|
14868
|
-
var children = _ref.children
|
|
14869
|
-
|
|
14870
|
-
return /*#__PURE__*/React__default["default"].createElement(ToolbarWrapper, rest, children);
|
|
15202
|
+
var children = _ref.children;
|
|
15203
|
+
return /*#__PURE__*/React__default["default"].createElement(ToolbarWrapper, null, children);
|
|
14871
15204
|
};
|
|
14872
15205
|
var index$1 = Object.assign(Toolbar, {
|
|
14873
15206
|
Group: ToolbarGroup
|