@cloud-app-dev/vidc 3.2.37 → 3.2.39

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 (127) hide show
  1. package/.dumirc.ts +7 -11
  2. package/.fatherrc.ts +0 -1
  3. package/es/CheckGroupFixed/demo.js +2 -3
  4. package/es/CheckGroupFixed/index.js +4 -7
  5. package/es/Config/index.js +10 -9
  6. package/es/Config/interface.d.ts +2 -3
  7. package/es/CustomRenderSelect/index.js +2 -3
  8. package/es/DynamicList/demo.js +3 -4
  9. package/es/DynamicList/index.js +2 -3
  10. package/es/ErrorFallback/index.js +3 -6
  11. package/es/FrontendPlayer/index.d.ts +4 -2
  12. package/es/List/index.d.ts +0 -13
  13. package/es/List/index.js +1 -19
  14. package/es/LoaderScript/utils.d.ts +0 -1
  15. package/es/LoaderScript/utils.js +1 -36
  16. package/es/Map/FindPio/index.js +2 -3
  17. package/es/Map/LevelCenter/demo.js +2 -4
  18. package/es/Map/ResetTools/index.js +4 -5
  19. package/es/Picture/component/Tools/index.d.ts +1 -2
  20. package/es/Picture/component/Tools/index.js +7 -14
  21. package/es/Picture/demo.js +14 -28
  22. package/es/Picture/index.d.ts +1 -1
  23. package/es/Picture/index.js +91 -141
  24. package/es/Picture/index.less +7 -2
  25. package/es/Picture/utils.d.ts +6 -0
  26. package/es/Picture/utils.js +57 -2
  27. package/es/Player/api/index.js +2 -1
  28. package/es/Player/contraller_bar/volume.js +3 -6
  29. package/es/Player/demo.js +28 -58
  30. package/es/Player/frontend_timeline.js +1 -1
  31. package/es/Player/segment_timeline.js +3 -5
  32. package/es/Player/single_player.js +1 -1
  33. package/es/Player/util.d.ts +0 -1
  34. package/es/Player/util.js +2 -40
  35. package/es/PlayerExt/demo.js +12 -20
  36. package/es/Progress/index.js +4 -6
  37. package/es/RefDrawer/Footer.d.ts +9 -0
  38. package/es/{Drawer → RefDrawer}/Footer.js +3 -5
  39. package/es/{Drawer/Demo.d.ts → RefDrawer/demo.d.ts} +0 -0
  40. package/es/RefDrawer/demo.js +35 -0
  41. package/es/RefDrawer/index.d.ts +26 -0
  42. package/es/{Input → RefDrawer}/index.js +54 -58
  43. package/es/{Input → RefModal}/demo.d.ts +0 -0
  44. package/es/RefModal/demo.js +35 -0
  45. package/es/RefModal/index.d.ts +17 -0
  46. package/es/RefModal/index.js +71 -0
  47. package/es/ScreenPlayer/PlayerWithExt.js +1 -1
  48. package/es/ScreenPlayer/RatePick.js +8 -9
  49. package/es/ScreenPlayer/ScreenSelect.js +2 -3
  50. package/es/ScreenPlayer/SegmentTimeLine.js +3 -11
  51. package/es/ScreenPlayer/TimeMode.js +3 -4
  52. package/es/ScreenPlayer/TimeSelect.js +14 -39
  53. package/es/ScreenPlayer/demo.js +2 -3
  54. package/es/ScreenPlayer/demo2.js +8 -28
  55. package/es/ScreenPlayer/useTimeSlider.js +1 -1
  56. package/es/Service/http.js +6 -8
  57. package/es/TableLayout/index.d.ts +0 -3
  58. package/es/TableLayout/index.js +8 -10
  59. package/es/ThemeAntd/demo.js +21 -40
  60. package/es/ThemeAntd/index.js +16 -2
  61. package/es/ThemeAntd/index.less +0 -12
  62. package/es/Timeout/index.js +2 -2
  63. package/es/core.d.ts +0 -149
  64. package/es/index.d.ts +2 -6
  65. package/es/index.js +2 -6
  66. package/es/useDrawROI/index.js +4 -4
  67. package/es/utils.d.ts +1 -12
  68. package/es/utils.js +0 -56
  69. package/package.json +24 -24
  70. package/theme-config.ts +3 -1
  71. package/typings/global.d.ts +4 -4
  72. package/es/Api/index.d.ts +0 -12
  73. package/es/Api/index.js +0 -267
  74. package/es/Box/BetweenBox/index.d.ts +0 -12
  75. package/es/Box/BetweenBox/index.js +0 -31
  76. package/es/Box/BetweenBox/index.less +0 -5
  77. package/es/Box/InfoBox/index.d.ts +0 -12
  78. package/es/Box/InfoBox/index.js +0 -30
  79. package/es/Box/InfoBox/index.less +0 -24
  80. package/es/Box/TwoColumnBox/index.d.ts +0 -10
  81. package/es/Box/TwoColumnBox/index.js +0 -54
  82. package/es/Box/TwoColumnBox/index.less +0 -80
  83. package/es/Box/deps/content-grid.d.ts +0 -9
  84. package/es/Box/deps/content-grid.js +0 -9
  85. package/es/Box/deps/grid-factory.d.ts +0 -10
  86. package/es/Box/deps/grid-factory.js +0 -72
  87. package/es/Box/deps/simple-grid.d.ts +0 -9
  88. package/es/Box/deps/simple-grid.js +0 -8
  89. package/es/Box/index.d.ts +0 -14
  90. package/es/Box/index.js +0 -39
  91. package/es/Box/index.less +0 -10
  92. package/es/Drawer/Demo.js +0 -109
  93. package/es/Drawer/Footer.d.ts +0 -5
  94. package/es/Drawer/index.d.ts +0 -38
  95. package/es/Drawer/index.js +0 -207
  96. package/es/Drawer/index.less +0 -42
  97. package/es/Drawer/interface.d.ts +0 -22
  98. package/es/Input/demo.js +0 -16
  99. package/es/Input/index.d.ts +0 -19
  100. package/es/Input/index.less +0 -12
  101. package/es/Modal/demo.d.ts +0 -3
  102. package/es/Modal/demo.js +0 -106
  103. package/es/Modal/index.d.ts +0 -44
  104. package/es/Modal/index.js +0 -197
  105. package/es/Modal/index.less +0 -44
  106. package/es/Modal/interface.d.ts +0 -23
  107. package/es/Picture/dragBound.d.ts +0 -5
  108. package/es/Picture/dragBound.js +0 -77
  109. package/es/Service/fetch-adapter.d.ts +0 -12
  110. package/es/Service/fetch-adapter.js +0 -203
  111. package/es/ThemeAntd/style/button.less +0 -67
  112. package/es/ThemeAntd/style/checkbox.less +0 -72
  113. package/es/ThemeAntd/style/form.less +0 -12
  114. package/es/ThemeAntd/style/input.less +0 -83
  115. package/es/ThemeAntd/style/pagination.less +0 -96
  116. package/es/ThemeAntd/style/picker.less +0 -106
  117. package/es/ThemeAntd/style/popover.less +0 -5
  118. package/es/ThemeAntd/style/radio.less +0 -87
  119. package/es/ThemeAntd/style/scrollbar.less +0 -23
  120. package/es/ThemeAntd/style/select.less +0 -81
  121. package/es/ThemeAntd/style/table.less +0 -57
  122. package/es/ThemeAntd/style/tree.less +0 -18
  123. package/es/Tree/demo.d.ts +0 -3
  124. package/es/Tree/demo.js +0 -32
  125. package/es/Tree/index.d.ts +0 -24
  126. package/es/Tree/index.js +0 -100
  127. package/es/Tree/index.less +0 -60
@@ -1,203 +0,0 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
-
3
- function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel; context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method"); } return ContinueSentinel; } var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
4
-
5
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
6
-
7
- function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
8
-
9
- /* eslint-disable no-promise-executor-return */
10
-
11
- /* eslint-disable @typescript-eslint/no-use-before-define */
12
-
13
- /* eslint-disable @typescript-eslint/triple-slash-reference */
14
- /// <reference path="../../typings/global.d.ts"/>
15
- import { AxiosError } from 'axios';
16
- import CanceledError from 'axios/lib/cancel/CanceledError';
17
- import buildFullPath from 'axios/lib/core/buildFullPath';
18
- import settle from 'axios/lib/core/settle';
19
- import buildURL from 'axios/lib/helpers/buildURL';
20
- import { isUndefined } from 'lodash-es';
21
- export default function fetchAdapter(config) {
22
- return new Promise(function (resolve, reject) {
23
- var controller = new AbortController();
24
- var signal = controller.signal;
25
- var request = createRequest(config, signal);
26
- var promises = [getResponse(request, config)];
27
-
28
- if (config.timeout && config.timeout > 0) {
29
- promises.push(timeoutHandle(request, controller, config));
30
- }
31
-
32
- if (config.cancelToken) {
33
- // Handle cancellation
34
- config.cancelToken.promise.then(function onCanceled(cancel) {
35
- if (!request) {
36
- return;
37
- }
38
-
39
- reject(!cancel ? new CanceledError(null, config, request) : cancel);
40
- controller.abort();
41
- });
42
- }
43
-
44
- return Promise.race(promises).then(function (data) {
45
- return settle(resolve, reject, data);
46
- }).catch(reject);
47
- });
48
- }
49
-
50
- function timeoutHandle(request, controller, config) {
51
- return new Promise(function (resolve) {
52
- setTimeout(function () {
53
- var message = config.timeoutErrorMessage ? config.timeoutErrorMessage : 'timeout of ' + config.timeout + 'ms exceeded';
54
- resolve(createError(message, config, 'ECONNABORTED', request));
55
- controller.abort();
56
- }, config.timeout);
57
- });
58
- }
59
-
60
- function getResponse(_x, _x2) {
61
- return _getResponse.apply(this, arguments);
62
- }
63
-
64
- function _getResponse() {
65
- _getResponse = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(request, config) {
66
- var stageOne, response;
67
- return _regeneratorRuntime().wrap(function _callee$(_context) {
68
- while (1) {
69
- switch (_context.prev = _context.next) {
70
- case 0:
71
- _context.prev = 0;
72
- _context.next = 3;
73
- return fetch(request);
74
-
75
- case 3:
76
- stageOne = _context.sent;
77
- _context.next = 9;
78
- break;
79
-
80
- case 6:
81
- _context.prev = 6;
82
- _context.t0 = _context["catch"](0);
83
- return _context.abrupt("return", createError('Network Error', config, 'ERR_NETWORK', request));
84
-
85
- case 9:
86
- response = {
87
- ok: stageOne.ok,
88
- status: stageOne.status,
89
- statusText: stageOne.statusText,
90
- headers: new Headers(stageOne.headers),
91
- config: config,
92
- request: request
93
- };
94
-
95
- if (!(stageOne.status >= 200 && stageOne.status !== 204)) {
96
- _context.next = 30;
97
- break;
98
- }
99
-
100
- _context.t1 = config.responseType;
101
- _context.next = _context.t1 === 'arraybuffer' ? 14 : _context.t1 === 'blob' ? 18 : _context.t1 === 'json' ? 22 : 26;
102
- break;
103
-
104
- case 14:
105
- _context.next = 16;
106
- return stageOne.arrayBuffer();
107
-
108
- case 16:
109
- response.data = _context.sent;
110
- return _context.abrupt("break", 30);
111
-
112
- case 18:
113
- _context.next = 20;
114
- return stageOne.blob();
115
-
116
- case 20:
117
- response.data = _context.sent;
118
- return _context.abrupt("break", 30);
119
-
120
- case 22:
121
- _context.next = 24;
122
- return stageOne.json();
123
-
124
- case 24:
125
- response.data = _context.sent;
126
- return _context.abrupt("break", 30);
127
-
128
- case 26:
129
- _context.next = 28;
130
- return stageOne.text();
131
-
132
- case 28:
133
- response.data = _context.sent;
134
- return _context.abrupt("break", 30);
135
-
136
- case 30:
137
- return _context.abrupt("return", response);
138
-
139
- case 31:
140
- case "end":
141
- return _context.stop();
142
- }
143
- }
144
- }, _callee, null, [[0, 6]]);
145
- }));
146
- return _getResponse.apply(this, arguments);
147
- }
148
-
149
- function createRequest(config, signal) {
150
- var _config$method;
151
-
152
- var headers = new Headers(config.headers);
153
-
154
- if (config.auth) {
155
- var username = config.auth.username || '';
156
- var password = config.auth.password ? decodeURI(encodeURIComponent(config.auth.password)) : '';
157
- headers.set('Authorization', "Basic ".concat(btoa(username + ':' + password)));
158
- }
159
-
160
- var method = config === null || config === void 0 ? void 0 : (_config$method = config.method) === null || _config$method === void 0 ? void 0 : _config$method.toUpperCase();
161
- var options = {
162
- headers: headers,
163
- method: method,
164
- signal: signal
165
- };
166
-
167
- if (method !== 'GET' && method !== 'HEAD') {
168
- options.body = config.data;
169
- }
170
-
171
- if (config.mode) {
172
- options.mode = config.mode;
173
- }
174
-
175
- if (config.cache) {
176
- options.cache = config.cache;
177
- }
178
-
179
- if (config.integrity) {
180
- options.integrity = config.integrity;
181
- }
182
-
183
- if (config.redirect) {
184
- options.redirect = config.redirect;
185
- }
186
-
187
- if (config.referrer) {
188
- options.referrer = config.referrer;
189
- }
190
-
191
- if (!isUndefined(config.withCredentials)) {
192
- options.credentials = config.withCredentials ? 'include' : 'omit';
193
- }
194
-
195
- var fullPath = buildFullPath(config.baseURL, config.url);
196
- var url = buildURL(fullPath, config.params, config.paramsSerializer); // Expected browser to throw error if there is any wrong configuration value
197
-
198
- return new Request(url, options);
199
- }
200
-
201
- function createError(message, config, code, request, response) {
202
- return new AxiosError(message, AxiosError[code], config, request, response);
203
- }
@@ -1,67 +0,0 @@
1
- div {
2
- .@{ant-prefix}-btn {
3
- border-radius: var(--radius1);
4
- }
5
-
6
- .@{ant-prefix}-btn:hover,
7
- .@{ant-prefix}-btn:focus {
8
- color: var(--primary-dark);
9
- border-color: var(--primary-dark);
10
- }
11
-
12
- .@{ant-prefix}-btn-primary {
13
- background: var(--primary);
14
- border-color: var(--primary);
15
- }
16
-
17
- .@{ant-prefix}-btn-primary:hover,
18
- .@{ant-prefix}-btn-primary:focus {
19
- color: #fff;
20
- background: var(--primary-dark);
21
- border-color: var(--primary-dark);
22
- }
23
-
24
- .@{ant-prefix}-btn-primary[disabled],
25
- .@{ant-prefix}-btn-primary[disabled]:hover,
26
- .@{ant-prefix}-btn-primary[disabled]:focus,
27
- .@{ant-prefix}-btn-primary[disabled]:active {
28
- color: #fff;
29
- background: var(--primary-dark);
30
- opacity: .8;
31
- border-color: var(--primary-dark);
32
- }
33
-
34
- .@{ant-prefix}-btn-background-ghost.@{ant-prefix}-btn-primary {
35
- color: var(--primary);
36
- border-color: var(--primary);
37
- }
38
-
39
- .@{ant-prefix}-btn-background-ghost.@{ant-prefix}-btn-primary:hover,
40
- .@{ant-prefix}-btn-background-ghost.@{ant-prefix}-btn-primary:focus {
41
- border-color: var(--primary-dark);
42
- color: var(--primary-dark);
43
- }
44
-
45
- .@{ant-prefix}-btn-danger {
46
- background: var(--danger);
47
- border-color: var(--danger);
48
- }
49
-
50
- .@{ant-prefix}-btn-danger:hover,
51
- .@{ant-prefix}-btn-danger:focus {
52
- color: #fff;
53
- background: var(--danger-dark);
54
- border-color: var(--danger-dark);
55
- }
56
-
57
- .@{ant-prefix}-btn-background-ghost.@{ant-prefix}-btn-danger {
58
- color: var(--danger);
59
- border-color: var(--danger);
60
- }
61
-
62
- .@{ant-prefix}-btn-background-ghost.@{ant-prefix}-btn-danger:hover,
63
- .@{ant-prefix}-btn-background-ghost.@{ant-prefix}-btn-danger:focus {
64
- color: var(--danger-dark);
65
- border-color: var(--danger-dark);
66
- }
67
- }
@@ -1,72 +0,0 @@
1
- div {
2
- .@{ant-prefix}-checkbox {
3
- color: inherit;
4
- }
5
- .@{ant-prefix}-checkbox-checked .@{ant-prefix}-checkbox-inner {
6
- border-color: var(--form-active-bg);
7
- background-color: var(--form-active-bg);
8
- }
9
- .@{ant-prefix}-checkbox-inner {
10
- background-color: var(--form-bg);
11
- border-radius: var(--radius1);
12
- border-color: var(--form-bd);
13
- }
14
- .@{ant-prefix}-checkbox-wrapper {
15
- color: inherit;
16
- }
17
- .@{ant-prefix}-checkbox-disabled + span {
18
- color: inherit;
19
- opacity: .8;
20
- }
21
- .@{ant-prefix}-checkbox-disabled.@{ant-prefix}-checkbox-checked .@{ant-prefix}-checkbox-inner::after {
22
- border-color: var(--form-bd);
23
- }
24
-
25
- .@{ant-prefix}-checkbox-wrapper:hover .@{ant-prefix}-checkbox-inner,
26
- .@{ant-prefix}-checkbox:hover .@{ant-prefix}-checkbox-inner,
27
- .@{ant-prefix}-checkbox-input:focus + .@{ant-prefix}-checkbox-inner {
28
- border-color: var(--form-active-bg);
29
- }
30
-
31
- .@{ant-prefix}-checkbox-indeterminate .@{ant-prefix}-checkbox-inner::after {
32
- background-color: var(--form-active-bg);
33
- }
34
-
35
- .@{ant-prefix}-checkbox-disabled .@{ant-prefix}-checkbox-inner {
36
- background-color: var(--form-bg);
37
- opacity: .8;
38
- }
39
- .@{ant-prefix}-checkbox-indeterminate .@{ant-prefix}-checkbox-inner {
40
- background-color: #fff;
41
- border-color: var(--form-bd) !important;
42
- }
43
-
44
- //Tree
45
- .@{ant-prefix}-tree-checkbox-inner {
46
- border-color: var(--form-bd);
47
- border-radius: var(--radius1);
48
- }
49
- .@{ant-prefix}-tree-checkbox-wrapper:hover .@{ant-prefix}-tree-checkbox-inner,
50
- .@{ant-prefix}-tree-checkbox:hover .@{ant-prefix}-tree-checkbox-inner,
51
- .@{ant-prefix}-tree-checkbox-input:focus + .@{ant-prefix}-tree-checkbox-inner {
52
- border-color: var(--form-active-bg);
53
- }
54
- .@{ant-prefix}-tree-checkbox-checked .@{ant-prefix}-tree-checkbox-inner {
55
- border-color: var(--form-active-bg);
56
- background-color: var(--form-active-bg);
57
- }
58
- .@{ant-prefix}-tree-checkbox-disabled .@{ant-prefix}-tree-checkbox-inner {
59
- background-color: var(--form-bg);
60
- border-color: var(--form-bd);
61
- }
62
-
63
- .@{ant-prefix}-tree-checkbox-indeterminate .@{ant-prefix}-tree-checkbox-inner::after {
64
- background-color: var(--form-active-bg);
65
- }
66
- .@{ant-prefix}-checkbox-checked::after {
67
- border-color: var(--form-active-bg);
68
- }
69
- .@{ant-prefix}-checkbox-group {
70
- color: inherit;
71
- }
72
- }
@@ -1,12 +0,0 @@
1
- div {
2
- .@{ant-prefix}-form {
3
- color: inherit;
4
- }
5
- .@{ant-prefix}-form-item-label > label {
6
- color: inherit;
7
- }
8
- .@{ant-prefix}-form-item {
9
- font-size: var(--fs);
10
- color: inherit;
11
- }
12
- }
@@ -1,83 +0,0 @@
1
- div {
2
- .@{ant-prefix}-input {
3
- color: inherit;
4
- background-color: var(--form-bg);
5
- border-radius: var(--radius1);
6
- border-color: var(--form-bd);
7
- }
8
-
9
- .@{ant-prefix}-input-affix-wrapper:not(.@{ant-prefix}-input-affix-wrapper-disabled):hover {
10
- border-color: var(--form-active-bg);
11
- }
12
-
13
- .@{ant-prefix}-input:hover {
14
- border-color: var(--form-active-bg);
15
- }
16
-
17
- .@{ant-prefix}-input:focus,
18
- .@{ant-prefix}-input-focused {
19
- border-color: var(--form-active-bg);
20
- box-shadow: unset;
21
- }
22
-
23
- .@{ant-prefix}-input-affix-wrapper {
24
- color: inherit;
25
- background-color: var(--form-bg);
26
- border-radius: var(--radius1);
27
- border-color: var(--form-bd);
28
- }
29
-
30
- .@{ant-prefix}-input-affix-wrapper:hover {
31
- border-color: var(--form-active-bg);
32
- }
33
-
34
- .@{ant-prefix}-input-affix-wrapper:focus,
35
- .@{ant-prefix}-input-affix-wrapper-focused {
36
- border-color: var(--form-active-bg);
37
- box-shadow: unset;
38
- }
39
-
40
- .@{ant-prefix}-input[disabled] {
41
- color: inherit;
42
- background-color: var(--form-bd);
43
- opacity: .7;
44
- border-color: var(--form-bd);
45
- }
46
-
47
- .@{ant-prefix}-input-number {
48
- color: inherit;
49
- background-color: var(--form-bg);
50
- border-radius: var(--radius1);
51
- border-color: var(--form-bd);
52
- }
53
-
54
- .@{ant-prefix}-input-number:hover {
55
- border-color: var(--form-active-bg);
56
- }
57
-
58
- .@{ant-prefix}-input-number:focus,
59
- .@{ant-prefix}-input-number-focused {
60
- border-color: var(--form-active-bg);
61
- box-shadow: unset;
62
- }
63
-
64
- .@{ant-prefix}-input-number-handler-wrap {
65
- color: inherit;
66
- background-color: var(--form-bg);
67
- border-radius: 0 var(--radius1) var(--redius1) 0;
68
- }
69
-
70
- .@{ant-prefix}-input-number-handler {
71
- color: inherit;
72
- border-top-color: var(--form-bd);
73
- }
74
-
75
- .@{ant-prefix}-input-number-handler-up-inner,
76
- .@{ant-prefix}-input-number-handler-down-inner {
77
- color: inherit;
78
- }
79
- .@{ant-prefix}-input-status-error:not(.@{ant-prefix}-input-disabled):not(.@{ant-prefix}-input-borderless).@{ant-prefix}-input,
80
- .@{ant-prefix}-input-status-error:not(.@{ant-prefix}-input-disabled):not(.@{ant-prefix}-input-borderless).@{ant-prefix}-input:hover {
81
- background-color: var(--form-bg);
82
- }
83
- }
@@ -1,96 +0,0 @@
1
- div {
2
- .@{ant-prefix}-pagination {
3
- color: inherit;
4
- }
5
-
6
- .@{ant-prefix}-pagination-prev,
7
- .@{ant-prefix}-pagination-next,
8
- .@{ant-prefix}-pagination-jump-prev,
9
- .@{ant-prefix}-pagination-jump-next {
10
- line-height: 28px;
11
- border-radius: var(--radius1);
12
- }
13
-
14
- .@{ant-prefix}-pagination-prev .@{ant-prefix}-pagination-item-link,
15
- .@{ant-prefix}-pagination-next .@{ant-prefix}-pagination-item-link {
16
- background-color: var(--form-bg);
17
- border-radius: var(--radius1);
18
- border-color: var(--form-bd);
19
- }
20
-
21
- .@{ant-prefix}-pagination-jump-prev .@{ant-prefix}-pagination-item-container .@{ant-prefix}-pagination-item-link-icon,
22
- .@{ant-prefix}-pagination-jump-next .@{ant-prefix}-pagination-item-container .@{ant-prefix}-pagination-item-link-icon {
23
- color: var(--form-active-bg);
24
- }
25
-
26
- .@{ant-prefix}-pagination-item {
27
- background-color: var(--form-bg);
28
- border-radius: var(--radius1);
29
- border-color: var(--form-bd);
30
- }
31
-
32
- .@{ant-prefix}-pagination-item a {
33
- color: inherit;
34
- }
35
-
36
- .@{ant-prefix}-pagination-item-active {
37
- border-color: var(--form-active-bg);
38
- color: var(--form-active-bg);
39
- }
40
-
41
- .@{ant-prefix}-pagination-item:focus,
42
- .@{ant-prefix}-pagination-item:hover {
43
- border-color: var(--form-active-bg);
44
- }
45
-
46
- .@{ant-prefix}-pagination-item:focus a,
47
- .@{ant-prefix}-pagination-item:hover a {
48
- color: var(--form-active-bg);
49
- }
50
-
51
- .@{ant-prefix}-pagination-prev:focus:not(.@{ant-prefix}-pagination-disabled) .@{ant-prefix}-pagination-item-link,
52
- .@{ant-prefix}-pagination-next:focus:not(.@{ant-prefix}-pagination-disabled) .@{ant-prefix}-pagination-item-link,
53
- .@{ant-prefix}-pagination-prev:hover:not(.@{ant-prefix}-pagination-disabled) .@{ant-prefix}-pagination-item-link,
54
- .@{ant-prefix}-pagination-next:hover:not(.@{ant-prefix}-pagination-disabled) .@{ant-prefix}-pagination-item-link {
55
- color: #fff;
56
- background-color: var(--form-active-bg);
57
- border-color: var(--form-active-bg);
58
- }
59
-
60
- .@{ant-prefix}-pagination-disabled .@{ant-prefix}-pagination-item-link,
61
- .@{ant-prefix}-pagination-disabled:hover .@{ant-prefix}-pagination-item-link,
62
- .@{ant-prefix}-pagination-disabled:focus .@{ant-prefix}-pagination-item-link {
63
- border-color: var(--form-bd);
64
- }
65
- .@{ant-prefix}-pagination-prev button,
66
- .@{ant-prefix}-pagination-next button {
67
- color: inherit;
68
- }
69
- .@{ant-prefix}-pagination-prev,
70
- .@{ant-prefix}-pagination-next,
71
- .@{ant-prefix}-pagination-jump-prev,
72
- .@{ant-prefix}-pagination-jump-next {
73
- color: inherit;
74
- }
75
- .@{ant-prefix}-pagination-disabled .@{ant-prefix}-pagination-item-link,
76
- .@{ant-prefix}-pagination-disabled:hover .@{ant-prefix}-pagination-item-link {
77
- color: inherit;
78
- }
79
-
80
- .@{ant-prefix}-pagination-jump-prev .@{ant-prefix}-pagination-item-container .@{ant-prefix}-pagination-item-ellipsis,
81
- .@{ant-prefix}-pagination-jump-next .@{ant-prefix}-pagination-item-container .@{ant-prefix}-pagination-item-ellipsis {
82
- color: inherit;
83
- }
84
- .@{ant-prefix}-pagination-options-quick-jumper input {
85
- background-color: var(--form-bg);
86
- border-color: var(--form-bd);
87
- }
88
- .@{ant-prefix}-pagination-options-quick-jumper input:hover {
89
- border-color: var(--form-active-bg);
90
- }
91
- .@{ant-prefix}-pagination-options-quick-jumper input:focus,
92
- .@{ant-prefix}-pagination-options-quick-jumper input-focused {
93
- border-color: var(--form-active-bg);
94
- box-shadow: none;
95
- }
96
- }
@@ -1,106 +0,0 @@
1
- div {
2
- .@{ant-prefix}-picker {
3
- color: inherit;
4
- background-color: var(--form-bg);
5
- border-radius: var(--radius1);
6
- border-color: var(--form-bd);
7
- }
8
-
9
- .@{ant-prefix}-picker:hover,
10
- .@{ant-prefix}-picker-focused {
11
- border-color: var(--form-active-bg);
12
- }
13
- .@{ant-prefix}-picker-suffix {
14
- color: inherit;
15
- }
16
- .@{ant-prefix}-picker-panel {
17
- background-color: var(--form-bg);
18
- border-color: var(--form-bd);
19
- }
20
- .@{ant-prefix}-picker-panel .@{ant-prefix}-picker-footer {
21
- border-color: var(--form-bd);
22
- }
23
- .@{ant-prefix}-picker-header {
24
- border-bottom-color: var(--form-bd);
25
- color: inherit;
26
- }
27
- .@{ant-prefix}-picker-header button {
28
- color: inherit;
29
- }
30
- .@{ant-prefix}-picker-panel-container {
31
- background-color: var(--form-bg);
32
- border-radius: var(--radius1);
33
- }
34
- .@{ant-prefix}-picker-dropdown {
35
- color: inherit;
36
- border-radius: var(--radius1);
37
- }
38
-
39
- .@{ant-prefix}-picker-cell {
40
- color: inherit;
41
- opacity: .6;
42
- }
43
- .@{ant-prefix}-picker-cell-in-view {
44
- color: inherit;
45
- opacity: 1;
46
- }
47
- .@{ant-prefix}-picker-content th {
48
- color: inherit;
49
- }
50
- .@{ant-prefix}-picker-today-btn {
51
- color: var(--form-active-bg);
52
- }
53
-
54
- .@{ant-prefix}-picker-cell .@{ant-prefix}-picker-cell-inner {
55
- border-radius: var(--radius1);
56
- }
57
- .@{ant-prefix}-picker-cell-in-view.@{ant-prefix}-picker-cell-today .@{ant-prefix}-picker-cell-inner::before {
58
- border-radius: var(--radius1);
59
- border-color: var(--form-active-bg);
60
- }
61
- .@{ant-prefix}-picker-cell:hover:not(.@{ant-prefix}-picker-cell-in-view) .@{ant-prefix}-picker-cell-inner,
62
- .@{ant-prefix}-picker-cell:hover:not(.@{ant-prefix}-picker-cell-selected):not(.@{ant-prefix}-picker-cell-range-start):not(.@{ant-prefix}-picker-cell-range-end):not(.@{ant-prefix}-picker-cell-range-hover-start):not(.@{ant-prefix}-picker-cell-range-hover-end)
63
- .@{ant-prefix}-picker-cell-inner {
64
- background-color: var(--form-bg);
65
- }
66
- .@{ant-prefix}-picker-input > input {
67
- color: inherit;
68
- }
69
- .@{ant-prefix}-picker-range-arrow::after {
70
- border-color: var(--form-bd);
71
- }
72
- .@{ant-prefix}-picker-cell-in-view.@{ant-prefix}-picker-cell-selected .@{ant-prefix}-picker-cell-inner,
73
- .@{ant-prefix}-picker-cell-in-view.@{ant-prefix}-picker-cell-range-start .@{ant-prefix}-picker-cell-inner,
74
- .@{ant-prefix}-picker-cell-in-view.@{ant-prefix}-picker-cell-range-end .@{ant-prefix}-picker-cell-inner {
75
- background-color: var(--form-active-bg);
76
- }
77
- .@{ant-prefix}-picker-cell-in-view.@{ant-prefix}-picker-cell-range-start:not(.@{ant-prefix}-picker-cell-range-start-single)::before,
78
- .@{ant-prefix}-picker-cell-in-view.@{ant-prefix}-picker-cell-range-end:not(.@{ant-prefix}-picker-cell-range-end-single)::before {
79
- background-color: var(--form-active-bg);
80
- opacity: .8;
81
- }
82
- .@{ant-prefix}-picker-cell-in-view.@{ant-prefix}-picker-cell-in-range::before {
83
- background-color: var(--form-active-bg);
84
- opacity: .8;
85
- }
86
- .@{ant-prefix}-picker-focused .@{ant-prefix}-picker-separator {
87
- color: inherit;
88
- }
89
- .@{ant-prefix}-picker-separator {
90
- color: inherit;
91
- }
92
- .@{ant-prefix}-picker-range .@{ant-prefix}-picker-active-bar {
93
- background-color: var(--form-active-bg);
94
- }
95
-
96
- .@{ant-prefix}-picker-time-panel-column > li.@{ant-prefix}-picker-time-panel-cell .@{ant-prefix}-picker-time-panel-cell-inner {
97
- color: inherit;
98
- }
99
-
100
- .@{ant-prefix}-picker-time-panel-column > li.@{ant-prefix}-picker-time-panel-cell-selected .@{ant-prefix}-picker-time-panel-cell-inner {
101
- background-color: var(--form-active-bg);
102
- }
103
- .@{ant-prefix}-picker-time-panel-column > li.@{ant-prefix}-picker-time-panel-cell .@{ant-prefix}-picker-time-panel-cell-inner:hover {
104
- background-color: var(--form-active-bg);
105
- }
106
- }
@@ -1,5 +0,0 @@
1
- div {
2
- .@{ant-prefix}-popover-inner {
3
- border-radius: var(--radius1);
4
- }
5
- }