dtable-ui-component 6.0.26 → 6.0.28

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.
Files changed (79) hide show
  1. package/lib/DateEditor/mb-date-editor-popover/index.js +3 -3
  2. package/lib/Department-editor/department-multiple-select/index.css +4 -1
  3. package/lib/Department-editor/department-multiple-select/index.js +7 -4
  4. package/lib/Department-editor/department-single-select.js +7 -4
  5. package/lib/Department-editor/index.css +4 -0
  6. package/lib/FileFormatter/index.js +98 -38
  7. package/lib/FileItemFormatter/index.js +3 -1
  8. package/lib/constants/file.js +1 -0
  9. package/lib/index.js +1 -106
  10. package/lib/locales/zh-CN.json +1 -1
  11. package/package.json +3 -12
  12. package/lib/ActionSheet/index.js +0 -194
  13. package/lib/ActionSheet/style/index.css +0 -365
  14. package/lib/ActivityIndicator/index.css +0 -108
  15. package/lib/ActivityIndicator/index.js +0 -76
  16. package/lib/Badge/index.css +0 -96
  17. package/lib/Badge/index.js +0 -65
  18. package/lib/DatePicker/index.js +0 -120
  19. package/lib/DatePicker/locale/en_US.js +0 -14
  20. package/lib/DatePicker/locale/ru_RU.js +0 -14
  21. package/lib/DatePicker/locale/sv_SE.js +0 -14
  22. package/lib/DatePicker/locale/zh_CN.js +0 -14
  23. package/lib/DatePicker/style/index.css +0 -290
  24. package/lib/DatePicker/utils.js +0 -36
  25. package/lib/Drawer/index.css +0 -142
  26. package/lib/Drawer/index.js +0 -21
  27. package/lib/Icon/index.css +0 -50
  28. package/lib/Icon/index.js +0 -35
  29. package/lib/Icon/load-sprite.js +0 -56
  30. package/lib/InputItem/custom-input.js +0 -321
  31. package/lib/InputItem/custom-keyboard.js +0 -162
  32. package/lib/InputItem/index.js +0 -389
  33. package/lib/InputItem/input.js +0 -45
  34. package/lib/InputItem/locale/en_US.js +0 -12
  35. package/lib/InputItem/locale/ru_RU.js +0 -12
  36. package/lib/InputItem/locale/sv_SE.js +0 -12
  37. package/lib/InputItem/locale/zh_CN.js +0 -12
  38. package/lib/InputItem/portal.js +0 -23
  39. package/lib/InputItem/style/index.css +0 -512
  40. package/lib/List/index.css +0 -381
  41. package/lib/List/index.js +0 -41
  42. package/lib/List/list-item.js +0 -169
  43. package/lib/Modal/alert.js +0 -82
  44. package/lib/Modal/index.js +0 -16
  45. package/lib/Modal/modal.js +0 -118
  46. package/lib/Modal/operation.js +0 -77
  47. package/lib/Modal/prompt.js +0 -207
  48. package/lib/Modal/style/index.css +0 -580
  49. package/lib/Picker/AbstractPicker.js +0 -190
  50. package/lib/Picker/index.js +0 -28
  51. package/lib/Picker/locale/en_US.js +0 -12
  52. package/lib/Picker/locale/ru_RU.js +0 -12
  53. package/lib/Picker/locale/sv_SE.js +0 -12
  54. package/lib/Picker/locale/zh_CN.js +0 -12
  55. package/lib/Picker/popupProps.js +0 -12
  56. package/lib/Picker/style/index.css +0 -141
  57. package/lib/Popover/index.js +0 -63
  58. package/lib/Popover/item.js +0 -55
  59. package/lib/Popover/style/index.css +0 -229
  60. package/lib/Progress/index.css +0 -22
  61. package/lib/Progress/index.js +0 -66
  62. package/lib/Radio/Radio.js +0 -47
  63. package/lib/Radio/RadioItem.js +0 -57
  64. package/lib/Radio/index.css +0 -90
  65. package/lib/Radio/index.js +0 -12
  66. package/lib/TabBar/Tab.js +0 -76
  67. package/lib/TabBar/index.css +0 -138
  68. package/lib/TabBar/index.js +0 -129
  69. package/lib/Tabs/index.css +0 -443
  70. package/lib/Tabs/index.js +0 -39
  71. package/lib/TextareaItem/index.css +0 -231
  72. package/lib/TextareaItem/index.js +0 -231
  73. package/lib/Toast/index.css +0 -65
  74. package/lib/Toast/index.js +0 -131
  75. package/lib/_util/class.js +0 -34
  76. package/lib/_util/closest.js +0 -17
  77. package/lib/_util/exenv.js +0 -8
  78. package/lib/_util/getDataAttr.js +0 -15
  79. package/lib/_util/getLocale.js +0 -42
@@ -1,194 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
4
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.default = void 0;
9
- var _classnames = _interopRequireDefault(require("classnames"));
10
- var React = _interopRequireWildcard(require("react"));
11
- var ReactDOM = _interopRequireWildcard(require("react-dom"));
12
- var _rmcDialog = _interopRequireDefault(require("rmc-dialog"));
13
- var _rmcFeedback = _interopRequireDefault(require("rmc-feedback"));
14
- var _getDataAttr = _interopRequireDefault(require("../_util/getDataAttr"));
15
- var _Badge = _interopRequireDefault(require("../Badge"));
16
- require("./style/index.css");
17
- /* tslint:disable:jsx-no-multiline-js */
18
-
19
- const NORMAL = 'NORMAL';
20
- const SHARE = 'SHARE';
21
- // tslint:disable-next-line:no-empty
22
- function noop() {}
23
- const queue = [];
24
- function createActionSheet(flag, config, callback) {
25
- const props = {
26
- prefixCls: 'am-action-sheet',
27
- cancelButtonText: '取消',
28
- ...config
29
- };
30
- const {
31
- prefixCls,
32
- className,
33
- transitionName,
34
- maskTransitionName,
35
- maskClosable = true
36
- } = props;
37
- const div = document.createElement('div');
38
- document.body.appendChild(div);
39
- queue.push(close);
40
- function close() {
41
- if (div) {
42
- ReactDOM.unmountComponentAtNode(div);
43
- if (div.parentNode) {
44
- div.parentNode.removeChild(div);
45
- }
46
- const index = queue.indexOf(close);
47
- if (index !== -1) {
48
- queue.splice(index, 1);
49
- }
50
- }
51
- }
52
- function cb(index) {
53
- let rowIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
54
- const res = callback(index, rowIndex);
55
- if (res && res.then) {
56
- res.then(() => {
57
- close();
58
- });
59
- } else {
60
- close();
61
- }
62
- }
63
- const {
64
- title,
65
- message,
66
- options,
67
- destructiveButtonIndex,
68
- cancelButtonIndex,
69
- cancelButtonText,
70
- badges = []
71
- } = props;
72
- const titleMsg = [title ? /*#__PURE__*/React.createElement("h3", {
73
- key: "0",
74
- className: "".concat(prefixCls, "-title")
75
- }, title) : null, message ? /*#__PURE__*/React.createElement("div", {
76
- key: "1",
77
- className: "".concat(prefixCls, "-message")
78
- }, message) : null];
79
- let children = null;
80
- let mode = 'normal';
81
- switch (flag) {
82
- case NORMAL:
83
- mode = 'normal';
84
- const normalOptions = options;
85
- const badgesMap = {};
86
- if (badges && badges.length > 0) {
87
- badges.forEach(element => {
88
- if (element.index >= 0) {
89
- badgesMap[element.index] = /*#__PURE__*/React.createElement(_Badge.default, element);
90
- }
91
- });
92
- }
93
- children = /*#__PURE__*/React.createElement("div", (0, _getDataAttr.default)(props), titleMsg, /*#__PURE__*/React.createElement("div", {
94
- className: "".concat(prefixCls, "-button-list"),
95
- role: "group"
96
- }, normalOptions.map((item, index) => {
97
- const itemProps = {
98
- className: (0, _classnames.default)("".concat(prefixCls, "-button-list-item"), {
99
- ["".concat(prefixCls, "-destructive-button")]: destructiveButtonIndex === index,
100
- ["".concat(prefixCls, "-cancel-button")]: cancelButtonIndex === index
101
- }),
102
- onClick: () => cb(index),
103
- role: 'button'
104
- };
105
- let bContent = /*#__PURE__*/React.createElement("div", itemProps, item);
106
- // 仅在设置徽标的情况下修改dom结构
107
- if (badgesMap[index]) {
108
- bContent = /*#__PURE__*/React.createElement("div", Object.assign({}, itemProps, {
109
- className: "".concat(itemProps.className, " ").concat(prefixCls, "-button-list-badge")
110
- }), /*#__PURE__*/React.createElement("span", {
111
- className: "".concat(prefixCls, "-button-list-item-content")
112
- }, item), badgesMap[index]);
113
- }
114
- let bItem = /*#__PURE__*/React.createElement(_rmcFeedback.default, {
115
- key: index,
116
- activeClassName: "".concat(prefixCls, "-button-list-item-active")
117
- }, bContent);
118
- if (cancelButtonIndex === index || destructiveButtonIndex === index) {
119
- bItem = /*#__PURE__*/React.createElement(_rmcFeedback.default, {
120
- key: index,
121
- activeClassName: "".concat(prefixCls, "-button-list-item-active")
122
- }, /*#__PURE__*/React.createElement("div", itemProps, item, cancelButtonIndex === index ? /*#__PURE__*/React.createElement("span", {
123
- className: "".concat(prefixCls, "-cancel-button-mask")
124
- }) : null));
125
- }
126
- return bItem;
127
- })));
128
- break;
129
- case SHARE:
130
- mode = 'share';
131
- const multipleLine = options.length && Array.isArray(options[0]) || false;
132
- const createList = function (item, index) {
133
- let rowIndex = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
134
- return /*#__PURE__*/React.createElement("div", {
135
- className: "".concat(prefixCls, "-share-list-item"),
136
- role: "button",
137
- key: index,
138
- onClick: () => cb(index, rowIndex)
139
- }, /*#__PURE__*/React.createElement("div", {
140
- className: "".concat(prefixCls, "-share-list-item-icon")
141
- }, item.icon), /*#__PURE__*/React.createElement("div", {
142
- className: "".concat(prefixCls, "-share-list-item-title")
143
- }, item.title));
144
- };
145
- children = /*#__PURE__*/React.createElement("div", (0, _getDataAttr.default)(props), titleMsg, /*#__PURE__*/React.createElement("div", {
146
- className: "".concat(prefixCls, "-share")
147
- }, multipleLine ? options.map((item, index) => /*#__PURE__*/React.createElement("div", {
148
- key: index,
149
- className: "".concat(prefixCls, "-share-list")
150
- }, item.map((ii, ind) => createList(ii, ind, index)))) : /*#__PURE__*/React.createElement("div", {
151
- className: "".concat(prefixCls, "-share-list")
152
- }, options.map((item, index) => createList(item, index))), /*#__PURE__*/React.createElement(_rmcFeedback.default, {
153
- activeClassName: "".concat(prefixCls, "-share-cancel-button-active")
154
- }, /*#__PURE__*/React.createElement("div", {
155
- className: "".concat(prefixCls, "-share-cancel-button"),
156
- role: "button",
157
- onClick: () => cb(-1)
158
- }, cancelButtonText))));
159
- break;
160
- default:
161
- break;
162
- }
163
- const rootCls = (0, _classnames.default)("".concat(prefixCls, "-").concat(mode), className);
164
- ReactDOM.render( /*#__PURE__*/React.createElement(_rmcDialog.default, {
165
- visible: true,
166
- title: "",
167
- footer: "",
168
- prefixCls: prefixCls,
169
- className: rootCls,
170
- transitionName: transitionName || 'am-slide-up',
171
- maskTransitionName: maskTransitionName || 'am-fade',
172
- onClose: () => cb(cancelButtonIndex || -1),
173
- maskClosable: maskClosable,
174
- wrapProps: props.wrapProps || {}
175
- }, children), div);
176
- return {
177
- close
178
- };
179
- }
180
-
181
- // eslint-disable-next-line import/no-anonymous-default-export
182
- var _default = exports.default = {
183
- showActionSheetWithOptions(config) {
184
- let callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : noop;
185
- createActionSheet(NORMAL, config, callback);
186
- },
187
- showShareActionSheetWithOptions(config) {
188
- let callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : noop;
189
- createActionSheet(SHARE, config, callback);
190
- },
191
- close() {
192
- queue.forEach(q => q());
193
- }
194
- };
@@ -1,365 +0,0 @@
1
- .am-action-sheet-wrap {
2
- position: fixed;
3
- overflow: auto;
4
- top: 0;
5
- right: 0;
6
- bottom: 0;
7
- left: 0;
8
- z-index: 1000;
9
- -webkit-overflow-scrolling: touch;
10
- outline: 0;
11
- }
12
-
13
- .am-action-sheet-mask {
14
- position: fixed;
15
- top: 0;
16
- right: 0;
17
- left: 0;
18
- bottom: 0;
19
- background-color: rgba(0, 0, 0, 0.4);
20
- height: 100%;
21
- z-index: 1000;
22
- }
23
-
24
- .am-action-sheet-mask-hidden {
25
- display: none;
26
- }
27
-
28
- .am-action-sheet-close {
29
- display: none;
30
- }
31
-
32
- .am-action-sheet {
33
- position: fixed;
34
- left: 0;
35
- bottom: 0;
36
- width: 100%;
37
- background-color: #fff;
38
- padding-bottom: env(safe-area-inset-bottom);
39
- }
40
-
41
- .am-action-sheet.am-action-sheet-share {
42
- background-color: #f2f2f2;
43
- }
44
-
45
- .am-action-sheet-title,
46
- .am-action-sheet-message {
47
- margin: 15px auto;
48
- padding: 0 15px;
49
- text-align: center;
50
- }
51
-
52
- .am-action-sheet-title {
53
- font-size: 17px;
54
- }
55
-
56
- .am-action-sheet-message {
57
- color: #888;
58
- font-size: 14px;
59
- }
60
-
61
- .am-action-sheet-button-list {
62
- text-align: center;
63
- color: #000;
64
- }
65
-
66
- .am-action-sheet-button-list-item {
67
- font-size: 18px;
68
- padding: 0 8px;
69
- margin: 0;
70
- position: relative;
71
- height: 50px;
72
- line-height: 50px;
73
- -webkit-box-sizing: border-box;
74
- box-sizing: border-box;
75
- white-space: nowrap;
76
- text-overflow: ellipsis;
77
- overflow-x: hidden;
78
- border-top: 1PX solid #ddd;
79
- }
80
-
81
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
82
- html:not([data-scale]) .am-action-sheet-button-list-item {
83
- border-top: none;
84
- }
85
-
86
- html:not([data-scale]) .am-action-sheet-button-list-item::before {
87
- content: '';
88
- position: absolute;
89
- background-color: #ddd;
90
- display: block;
91
- z-index: 1;
92
- top: 0;
93
- right: auto;
94
- bottom: auto;
95
- left: 0;
96
- width: 100%;
97
- height: 1PX;
98
- -webkit-transform-origin: 50% 50%;
99
- -ms-transform-origin: 50% 50%;
100
- transform-origin: 50% 50%;
101
- -webkit-transform: scaleY(0.5);
102
- -ms-transform: scaleY(0.5);
103
- transform: scaleY(0.5);
104
- }
105
- }
106
-
107
- @media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3), (min-resolution: 2dppx) and (min-resolution: 3dppx) {
108
- html:not([data-scale]) .am-action-sheet-button-list-item::before {
109
- -webkit-transform: scaleY(0.33);
110
- -ms-transform: scaleY(0.33);
111
- transform: scaleY(0.33);
112
- }
113
- }
114
-
115
- .am-action-sheet-button-list-item.am-action-sheet-button-list-item-active {
116
- background-color: #ddd;
117
- }
118
-
119
- .am-action-sheet-button-list-badge {
120
- display: -webkit-box;
121
- display: -webkit-flex;
122
- display: -ms-flexbox;
123
- display: flex;
124
- -webkit-box-align: center;
125
- -webkit-align-items: center;
126
- -ms-flex-align: center;
127
- align-items: center;
128
- -webkit-box-pack: center;
129
- -webkit-justify-content: center;
130
- -ms-flex-pack: center;
131
- justify-content: center;
132
- }
133
-
134
- .am-action-sheet-button-list-badge .am-badge {
135
- margin-left: 8px;
136
- -webkit-flex-shrink: 0;
137
- -ms-flex-negative: 0;
138
- flex-shrink: 0;
139
- }
140
-
141
- .am-action-sheet-button-list-item-content {
142
- display: inline-block;
143
- white-space: nowrap;
144
- overflow: hidden;
145
- text-overflow: ellipsis;
146
- }
147
-
148
- .am-action-sheet-button-list .am-action-sheet-cancel-button {
149
- padding-top: 6px;
150
- position: relative;
151
- }
152
-
153
- .am-action-sheet-button-list .am-action-sheet-cancel-button-mask {
154
- position: absolute;
155
- top: 0;
156
- left: 0;
157
- width: 100%;
158
- height: 6px;
159
- background-color: #e7e7ed;
160
- border-top: 1PX solid #ddd;
161
- border-bottom: 1PX solid #ddd;
162
- }
163
-
164
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
165
- html:not([data-scale]) .am-action-sheet-button-list .am-action-sheet-cancel-button-mask {
166
- border-top: none;
167
- }
168
-
169
- html:not([data-scale]) .am-action-sheet-button-list .am-action-sheet-cancel-button-mask::before {
170
- content: '';
171
- position: absolute;
172
- background-color: #ddd;
173
- display: block;
174
- z-index: 1;
175
- top: 0;
176
- right: auto;
177
- bottom: auto;
178
- left: 0;
179
- width: 100%;
180
- height: 1PX;
181
- -webkit-transform-origin: 50% 50%;
182
- -ms-transform-origin: 50% 50%;
183
- transform-origin: 50% 50%;
184
- -webkit-transform: scaleY(0.5);
185
- -ms-transform: scaleY(0.5);
186
- transform: scaleY(0.5);
187
- }
188
- }
189
-
190
- @media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3), (min-resolution: 2dppx) and (min-resolution: 3dppx) {
191
- html:not([data-scale]) .am-action-sheet-button-list .am-action-sheet-cancel-button-mask::before {
192
- -webkit-transform: scaleY(0.33);
193
- -ms-transform: scaleY(0.33);
194
- transform: scaleY(0.33);
195
- }
196
- }
197
-
198
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
199
- html:not([data-scale]) .am-action-sheet-button-list .am-action-sheet-cancel-button-mask {
200
- border-bottom: none;
201
- }
202
-
203
- html:not([data-scale]) .am-action-sheet-button-list .am-action-sheet-cancel-button-mask::after {
204
- content: '';
205
- position: absolute;
206
- background-color: #ddd;
207
- display: block;
208
- z-index: 1;
209
- top: auto;
210
- right: auto;
211
- bottom: 0;
212
- left: 0;
213
- width: 100%;
214
- height: 1PX;
215
- -webkit-transform-origin: 50% 100%;
216
- -ms-transform-origin: 50% 100%;
217
- transform-origin: 50% 100%;
218
- -webkit-transform: scaleY(0.5);
219
- -ms-transform: scaleY(0.5);
220
- transform: scaleY(0.5);
221
- }
222
- }
223
-
224
- @media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3), (min-resolution: 2dppx) and (min-resolution: 3dppx) {
225
- html:not([data-scale]) .am-action-sheet-button-list .am-action-sheet-cancel-button-mask::after {
226
- -webkit-transform: scaleY(0.33);
227
- -ms-transform: scaleY(0.33);
228
- transform: scaleY(0.33);
229
- }
230
- }
231
-
232
- .am-action-sheet-button-list .am-action-sheet-destructive-button {
233
- color: #f4333c;
234
- }
235
-
236
- .am-action-sheet-share-list {
237
- display: -webkit-box;
238
- display: -webkit-flex;
239
- display: -ms-flexbox;
240
- display: flex;
241
- position: relative;
242
- border-top: 1PX solid #ddd;
243
- padding: 21px 0 21px 15px;
244
- overflow-y: scroll;
245
- -webkit-overflow-scrolling: touch;
246
- }
247
-
248
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
249
- html:not([data-scale]) .am-action-sheet-share-list {
250
- border-top: none;
251
- }
252
-
253
- html:not([data-scale]) .am-action-sheet-share-list::before {
254
- content: '';
255
- position: absolute;
256
- background-color: #ddd;
257
- display: block;
258
- z-index: 1;
259
- top: 0;
260
- right: auto;
261
- bottom: auto;
262
- left: 0;
263
- width: 100%;
264
- height: 1PX;
265
- -webkit-transform-origin: 50% 50%;
266
- -ms-transform-origin: 50% 50%;
267
- transform-origin: 50% 50%;
268
- -webkit-transform: scaleY(0.5);
269
- -ms-transform: scaleY(0.5);
270
- transform: scaleY(0.5);
271
- }
272
- }
273
-
274
- @media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3), (min-resolution: 2dppx) and (min-resolution: 3dppx) {
275
- html:not([data-scale]) .am-action-sheet-share-list::before {
276
- -webkit-transform: scaleY(0.33);
277
- -ms-transform: scaleY(0.33);
278
- transform: scaleY(0.33);
279
- }
280
- }
281
-
282
- .am-action-sheet-share-list-item {
283
- -webkit-box-flex: 0;
284
- -webkit-flex: none;
285
- -ms-flex: none;
286
- flex: none;
287
- margin: 0 12px 0 0;
288
- }
289
-
290
- .am-action-sheet-share-list-item-icon {
291
- margin-bottom: 9px;
292
- width: 60px;
293
- height: 60px;
294
- background-color: #fff;
295
- border-radius: 3px;
296
- display: -webkit-box;
297
- display: -webkit-flex;
298
- display: -ms-flexbox;
299
- display: flex;
300
- -webkit-box-pack: center;
301
- -webkit-justify-content: center;
302
- -ms-flex-pack: center;
303
- justify-content: center;
304
- -webkit-box-align: center;
305
- -webkit-align-items: center;
306
- -ms-flex-align: center;
307
- align-items: center;
308
- }
309
-
310
- .am-action-sheet-share-list-item-title {
311
- color: #888;
312
- font-size: 10px;
313
- text-align: center;
314
- }
315
-
316
- .am-action-sheet-share-cancel-button {
317
- height: 50px;
318
- line-height: 50px;
319
- text-align: center;
320
- background-color: #fff;
321
- color: #000;
322
- font-size: 18px;
323
- position: relative;
324
- border-top: 1PX solid #ddd;
325
- -webkit-box-sizing: border-box;
326
- box-sizing: border-box;
327
- }
328
-
329
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
330
- html:not([data-scale]) .am-action-sheet-share-cancel-button {
331
- border-top: none;
332
- }
333
-
334
- html:not([data-scale]) .am-action-sheet-share-cancel-button::before {
335
- content: '';
336
- position: absolute;
337
- background-color: #ddd;
338
- display: block;
339
- z-index: 1;
340
- top: 0;
341
- right: auto;
342
- bottom: auto;
343
- left: 0;
344
- width: 100%;
345
- height: 1PX;
346
- -webkit-transform-origin: 50% 50%;
347
- -ms-transform-origin: 50% 50%;
348
- transform-origin: 50% 50%;
349
- -webkit-transform: scaleY(0.5);
350
- -ms-transform: scaleY(0.5);
351
- transform: scaleY(0.5);
352
- }
353
- }
354
-
355
- @media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3), (min-resolution: 2dppx) and (min-resolution: 3dppx) {
356
- html:not([data-scale]) .am-action-sheet-share-cancel-button::before {
357
- -webkit-transform: scaleY(0.33);
358
- -ms-transform: scaleY(0.33);
359
- transform: scaleY(0.33);
360
- }
361
- }
362
-
363
- .am-action-sheet-share-cancel-button.am-action-sheet-share-cancel-button-active {
364
- background-color: #ddd;
365
- }
@@ -1,108 +0,0 @@
1
- .am-activity-indicator {
2
- display: -webkit-box;
3
- display: -webkit-flex;
4
- display: -ms-flexbox;
5
- display: flex;
6
- -webkit-box-align: center;
7
- -webkit-align-items: center;
8
- -ms-flex-align: center;
9
- align-items: center;
10
- z-index: 99;
11
- }
12
-
13
- .am-activity-indicator-spinner {
14
- display: inline-block;
15
- width: 20px;
16
- height: 20px;
17
- background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%22-2.125%20-1.875%2064%2064%22%3E%3Cpath%20fill%3D%22%23CCC%22%20d%3D%22M29.875-1.875c-17.673%200-32%2014.327-32%2032s14.327%2032%2032%2032%2032-14.327%2032-32-14.327-32-32-32zm0%2060.7c-15.85%200-28.7-12.85-28.7-28.7s12.85-28.7%2028.7-28.7%2028.7%2012.85%2028.7%2028.7-12.85%2028.7-28.7%2028.7z%22%2F%3E%3Cpath%20fill%3D%22%23108ee9%22%20d%3D%22M61.858%2030.34c.003-.102.008-.203.008-.305%200-11.43-5.996-21.452-15.01-27.113l-.013.026c-.24-.137-.515-.22-.81-.22-.912%200-1.65.738-1.65%201.65%200%20.654.384%201.215.937%201.482%207.963%205.1%2013.247%2014.017%2013.247%2024.176%200%20.147-.01.293-.01.44h.022c0%20.01-.004.02-.004.03%200%20.91.74%201.65%201.65%201.65s1.65-.74%201.65-1.65c0-.06-.012-.112-.018-.167z%22%2F%3E%3C%2Fsvg%3E");
18
- background-position: 50%;
19
- background-size: 100%;
20
- background-repeat: no-repeat;
21
- -webkit-animation: spinner-anime 1s linear infinite;
22
- animation: spinner-anime 1s linear infinite;
23
- }
24
-
25
- .am-activity-indicator-tip {
26
- font-size: 14px;
27
- margin-left: 8px;
28
- color: #000;
29
- opacity: 0.4;
30
- }
31
-
32
- .am-activity-indicator.am-activity-indicator-toast {
33
- position: fixed;
34
- top: 0;
35
- left: 0;
36
- width: 100%;
37
- height: 100%;
38
- display: -webkit-box;
39
- display: -webkit-flex;
40
- display: -ms-flexbox;
41
- display: flex;
42
- -webkit-box-pack: center;
43
- -webkit-justify-content: center;
44
- -ms-flex-pack: center;
45
- justify-content: center;
46
- -webkit-box-align: center;
47
- -webkit-align-items: center;
48
- -ms-flex-align: center;
49
- align-items: center;
50
- text-align: center;
51
- z-index: 1999;
52
- }
53
-
54
- .am-activity-indicator.am-activity-indicator-toast .am-activity-indicator-spinner {
55
- margin: 0;
56
- }
57
-
58
- .am-activity-indicator.am-activity-indicator-toast .am-activity-indicator-toast {
59
- display: inline-block;
60
- position: relative;
61
- top: 4px;
62
- }
63
-
64
- .am-activity-indicator-content {
65
- display: -webkit-box;
66
- display: -webkit-flex;
67
- display: -ms-flexbox;
68
- display: flex;
69
- -webkit-box-orient: vertical;
70
- -webkit-box-direction: normal;
71
- -webkit-flex-direction: column;
72
- -ms-flex-direction: column;
73
- flex-direction: column;
74
- -webkit-box-pack: center;
75
- -webkit-justify-content: center;
76
- -ms-flex-pack: center;
77
- justify-content: center;
78
- -webkit-box-align: center;
79
- -webkit-align-items: center;
80
- -ms-flex-align: center;
81
- align-items: center;
82
- padding: 15px 15px;
83
- border-radius: 7px;
84
- background-clip: padding-box;
85
- color: #fff;
86
- background-color: rgba(58, 58, 58, 0.9);
87
- font-size: 15px;
88
- line-height: 20px;
89
- }
90
-
91
- .am-activity-indicator-spinner-lg {
92
- width: 32px;
93
- height: 32px;
94
- }
95
-
96
- @-webkit-keyframes spinner-anime {
97
- 100% {
98
- -webkit-transform: rotate(360deg);
99
- transform: rotate(360deg);
100
- }
101
- }
102
-
103
- @keyframes spinner-anime {
104
- 100% {
105
- -webkit-transform: rotate(360deg);
106
- transform: rotate(360deg);
107
- }
108
- }