yootd 0.0.95 → 0.1.9-6.1
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/dist/Preview/components/icons/AdaptIcon.js +2 -3
- package/dist/Preview/components/icons/MagnifyIcon.js +2 -3
- package/dist/Preview/components/icons/ResetIcon.js +2 -3
- package/dist/Preview/components/icons/ShrinkIcon.js +2 -3
- package/dist/Preview/components/reactflow/Controls.js +2 -3
- package/dist/Preview/index.js +2 -12
- package/dist/affix/index.d.ts +1 -3
- package/dist/affix/index.js +2 -3
- package/dist/alert/index.js +2 -3
- package/dist/anchor/index.js +5 -7
- package/dist/app/index.js +2 -3
- package/dist/approval-process/components/Avatar.js +2 -3
- package/dist/approval-process/components/BackOut.js +2 -3
- package/dist/approval-process/components/Failed.js +2 -3
- package/dist/approval-process/components/Pending.js +2 -3
- package/dist/approval-process/components/StartIcon.js +2 -3
- package/dist/approval-process/components/Success.js +2 -3
- package/dist/areas/index.js +1 -6
- package/dist/areas-treeSelect/index.js +7 -17
- package/dist/aside/components/AddBtnIcon.js +2 -3
- package/dist/aside/components/DelBtnIcon.js +2 -3
- package/dist/aside/components/DragBtnIcon.js +2 -3
- package/dist/aside/components/EditBtnIcon.js +2 -3
- package/dist/aside/components/SortableItem.js +2 -7
- package/dist/aside/index.js +2 -12
- package/dist/auto-complete/index.js +2 -3
- package/dist/avatar/index.d.ts +1 -1
- package/dist/avatar/index.js +2 -3
- package/dist/badge/index.d.ts +3 -2
- package/dist/badge/index.js +6 -7
- package/dist/breadcrumb/index.js +5 -6
- package/dist/buildings/index.js +2 -3
- package/dist/business-tree/components/dept.js +2 -2
- package/dist/business-tree/components/space.js +2 -3
- package/dist/business-tree/index.js +2 -3
- package/dist/button/index.js +5 -7
- package/dist/calendar/index.js +2 -3
- package/dist/card/index.js +2 -3
- package/dist/carousel/index.js +2 -3
- package/dist/cascader/index.d.ts +1 -1
- package/dist/cascader/index.js +7 -9
- package/dist/checkbox/index.d.ts +1 -1
- package/dist/checkbox/index.js +5 -6
- package/dist/collapse/index.js +2 -3
- package/dist/color-picker/index.js +2 -3
- package/dist/config-provider/context.d.ts +1 -1
- package/dist/config-provider/index.js +8 -10
- package/dist/courses/index.js +2 -3
- package/dist/date-interval/index.d.ts +1 -1
- package/dist/date-interval/index.js +11 -20
- package/dist/date-picker/index.js +2 -3
- package/dist/date-range/index.d.ts +1 -1
- package/dist/date-range/index.js +11 -22
- package/dist/department/index.js +2 -2
- package/dist/description/index.js +4 -6
- package/dist/dictionary/index.js +2 -3
- package/dist/divider/index.js +2 -3
- package/dist/drawer/index.js +2 -3
- package/dist/drawer-modal/index.js +4 -6
- package/dist/dropdown/index.js +3 -4
- package/dist/dropdown-select/assets/ArrowDown.js +2 -3
- package/dist/dropdown-select/index.js +5 -12
- package/dist/empty/index.js +6 -8
- package/dist/export/components/DownIcon.js +2 -3
- package/dist/export/components/UpIcon.js +2 -3
- package/dist/export/index.js +3 -9
- package/dist/flex/index.js +2 -3
- package/dist/float-button/index.js +5 -6
- package/dist/form/index.js +2 -3
- package/dist/go-back/components/GoBackIcon.js +2 -3
- package/dist/grid/index.js +3 -6
- package/dist/group-title/index.js +2 -3
- package/dist/holiday/index.js +2 -3
- package/dist/hooks/useBem.js +3 -7
- package/dist/image/index.js +6 -13
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -2
- package/dist/input/index.js +9 -11
- package/dist/input-number/index.js +2 -3
- package/dist/job-title/index.js +2 -3
- package/dist/layout/index.js +2 -3
- package/dist/list/index.js +2 -3
- package/dist/mentions/index.js +2 -3
- package/dist/menu/index.js +7 -8
- package/dist/message/index.js +2 -3
- package/dist/modal/index.d.ts +1 -1
- package/dist/modal/index.js +15 -17
- package/dist/notification/index.js +2 -3
- package/dist/pagination/index.js +4 -5
- package/dist/pop-confirm/index.js +2 -3
- package/dist/popover/index.js +2 -3
- package/dist/progress/index.js +2 -3
- package/dist/qrcode/index.js +2 -3
- package/dist/radio/index.d.ts +1 -0
- package/dist/radio/index.js +3 -3
- package/dist/rate/index.js +2 -3
- package/dist/result/index.js +2 -3
- package/dist/role/index.js +2 -3
- package/dist/school/index.js +5 -15
- package/dist/segmented/index.js +2 -3
- package/dist/select/index.js +2 -3
- package/dist/skeleton/index.js +2 -3
- package/dist/slider/index.js +2 -3
- package/dist/space/index.js +2 -3
- package/dist/spin/index.js +2 -3
- package/dist/splitter/index.js +2 -3
- package/dist/state/index.js +2 -3
- package/dist/statistic/index.js +2 -3
- package/dist/steps/index.js +5 -7
- package/dist/student-dropdown/index.js +3 -9
- package/dist/switch/index.js +2 -3
- package/dist/table/components/icons/DownOutlined.js +2 -3
- package/dist/table/components/icons/DragHandler.js +2 -3
- package/dist/table/components/icons/SettingFilled.js +2 -3
- package/dist/table/components/icons/UpOutlined.js +2 -3
- package/dist/table/components/primary-header-row/index.js +3 -9
- package/dist/table/components/primary-tbody-row/index.js +3 -9
- package/dist/table/index.d.ts +2 -2
- package/dist/table/index.js +17 -25
- package/dist/tabs/index.js +8 -17
- package/dist/tag/index.js +5 -6
- package/dist/teacher/index.js +3 -9
- package/dist/time-picker/index.js +2 -3
- package/dist/timeline/index.js +2 -3
- package/dist/tooltip/index.js +2 -3
- package/dist/tour/index.js +2 -3
- package/dist/transfer/index.js +2 -3
- package/dist/tree/components/BedIcon.js +2 -3
- package/dist/tree/components/CampusIcon.js +2 -3
- package/dist/tree/components/DeptIcon.js +2 -3
- package/dist/tree/components/FloorIcon.js +2 -3
- package/dist/tree/components/RoomIcon.js +2 -3
- package/dist/tree/components/SchoolIcon.js +2 -3
- package/dist/tree/components/TierlIcon.js +2 -3
- package/dist/tree/index.js +8 -23
- package/dist/tree-select/index.js +2 -3
- package/dist/typography/index.js +2 -3
- package/dist/upload/components/AgainIcon.js +2 -3
- package/dist/upload/components/DeleteIcon.js +2 -3
- package/dist/upload/components/DeleteImage.js +2 -3
- package/dist/upload/components/SuccessIcon.js +2 -3
- package/dist/upload/components/UpLoadIconAdd.js +2 -3
- package/dist/upload/components/UploadIcon.js +2 -3
- package/dist/upload/components/fileUpload.d.ts +1 -1
- package/dist/upload/components/fileUpload.js +8 -23
- package/dist/upload/components/imageUpload.d.ts +1 -1
- package/dist/upload/components/imageUpload.js +10 -26
- package/dist/upload/index.d.ts +1 -1
- package/dist/upload/index.js +4 -6
- package/dist/user-dropdown/index.js +4 -15
- package/dist/utils/utils.js +1 -6
- package/dist/video-player/index.js +6 -16
- package/dist/watermark/index.js +2 -3
- package/dist/year-options/index.js +4 -6
- package/dist/year-term/index.js +3 -9
- package/dist/zones/index.js +3 -16
- package/package.json +12 -15
@@ -1,25 +1,10 @@
|
|
1
|
-
|
2
|
-
import "
|
3
|
-
import
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
9
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
10
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
11
|
-
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
12
|
-
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
13
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
14
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
15
|
-
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); } }
|
16
|
-
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); }); }; }
|
17
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
18
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
19
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
20
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
21
|
-
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
22
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
1
|
+
import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
2
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
3
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
4
|
+
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
5
|
+
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
6
|
+
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
7
|
+
import { Upload as AntUpload } from 'antd';
|
23
8
|
import React, { useEffect, useMemo, useState } from 'react';
|
24
9
|
import { Button, message } from "../..";
|
25
10
|
import { useRequest } from "../../hooks/useRequest";
|
@@ -209,7 +194,7 @@ var InternalUpload = function InternalUpload(props, ref) {
|
|
209
194
|
className: "".concat(mb.b('file').b('btn').e('icon'))
|
210
195
|
})
|
211
196
|
}, "\u4E0A\u4F20\u6587\u4EF6"));
|
212
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, contextHolder, /*#__PURE__*/React.createElement(
|
197
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, contextHolder, /*#__PURE__*/React.createElement(AntUpload, _extends({
|
213
198
|
ref: ref,
|
214
199
|
className: "".concat(mb, " ").concat(props.className),
|
215
200
|
fileList: newFileList,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { UploadFile } from 'antd';
|
2
2
|
import React from 'react';
|
3
3
|
import '../index.scss';
|
4
|
-
import
|
4
|
+
import { UploadRef } from 'antd/es/upload/Upload';
|
5
5
|
declare const ImageUpload: React.ForwardRefExoticComponent<import("antd").UploadProps<any> & {
|
6
6
|
maxCount?: number | undefined;
|
7
7
|
accept?: string | undefined;
|
@@ -1,28 +1,12 @@
|
|
1
|
-
|
2
|
-
import "
|
3
|
-
import
|
4
|
-
import "
|
5
|
-
import
|
6
|
-
|
7
|
-
|
8
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
9
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
10
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
11
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
12
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
13
|
-
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
14
|
-
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
15
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
16
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
17
|
-
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); } }
|
18
|
-
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); }); }; }
|
19
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
20
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
21
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
22
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
23
|
-
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
24
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
1
|
+
import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
2
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
3
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
4
|
+
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
5
|
+
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
6
|
+
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
7
|
+
import { Upload as AntUpload } from 'antd';
|
25
8
|
import React, { useEffect, useMemo, useState } from 'react';
|
9
|
+
import { Image as AntdImage } from 'antd';
|
26
10
|
import { message } from "../..";
|
27
11
|
import { useRequest } from "../../hooks/useRequest";
|
28
12
|
import "../index.scss";
|
@@ -263,7 +247,7 @@ var InternalUpload = function InternalUpload(props, ref) {
|
|
263
247
|
}, /*#__PURE__*/React.createElement(UpLoadIconAdd, null), /*#__PURE__*/React.createElement("span", {
|
264
248
|
className: "".concat(mb.b('image').b('btn').e('text'))
|
265
249
|
}, "\u4E0A\u4F20\u56FE\u7247"));
|
266
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, contextHolder, /*#__PURE__*/React.createElement(
|
250
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, contextHolder, /*#__PURE__*/React.createElement(AntUpload, _extends({
|
267
251
|
ref: ref,
|
268
252
|
className: "".concat(mb, " ").concat(props.className),
|
269
253
|
fileList: newFileList,
|
@@ -278,7 +262,7 @@ var InternalUpload = function InternalUpload(props, ref) {
|
|
278
262
|
onChange: undefined
|
279
263
|
}), (fileList === null || fileList === void 0 || (_fileList$filter = fileList.filter(function (item) {
|
280
264
|
return item.url != null;
|
281
|
-
})) === null || _fileList$filter === void 0 ? void 0 : _fileList$filter.length) >= (maxCount != null ? maxCount : 1) ? null : uploadButton), (previewFile === null || previewFile === void 0 ? void 0 : previewFile.url) != null ? /*#__PURE__*/React.createElement(
|
265
|
+
})) === null || _fileList$filter === void 0 ? void 0 : _fileList$filter.length) >= (maxCount != null ? maxCount : 1) ? null : uploadButton), (previewFile === null || previewFile === void 0 ? void 0 : previewFile.url) != null ? /*#__PURE__*/React.createElement(AntdImage, {
|
282
266
|
wrapperStyle: {
|
283
267
|
display: 'none'
|
284
268
|
},
|
package/dist/upload/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { UploadProps as AntUploadProps, UploadFile } from 'antd';
|
2
2
|
import React from 'react';
|
3
3
|
import { Upload as AntUpload } from 'antd';
|
4
|
-
import
|
4
|
+
import { UploadRef } from 'antd/es/upload/Upload';
|
5
5
|
export type { DraggerProps, RcFile, UploadChangeParam, UploadFile, UploadListProps, } from 'antd/es/upload';
|
6
6
|
export type UploadProps = AntUploadProps & {
|
7
7
|
maxCount?: number;
|
package/dist/upload/index.js
CHANGED
@@ -1,10 +1,8 @@
|
|
1
|
-
import "
|
2
|
-
import
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
3
3
|
var _excluded = ["fileType"];
|
4
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
5
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
6
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
7
4
|
import React, { forwardRef } from 'react';
|
5
|
+
import { Upload as AntUpload } from 'antd';
|
8
6
|
import FileUpload from "./components/fileUpload";
|
9
7
|
import ImageUpload from "./components/imageUpload";
|
10
8
|
var UploadInternal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
@@ -17,4 +15,4 @@ var UploadInternal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
17
15
|
}, props)));
|
18
16
|
});
|
19
17
|
export var Upload = UploadInternal;
|
20
|
-
Upload.AntdUpload =
|
18
|
+
Upload.AntdUpload = AntUpload;
|
@@ -1,19 +1,8 @@
|
|
1
|
-
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
3
|
+
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
4
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
2
5
|
var _excluded = ["type", "label", "connectors", "loading", "onChange", "showSearch", "optionFilterProp", "teacher_id"];
|
3
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
4
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
5
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
6
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
7
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
8
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
9
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
10
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
11
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
12
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
13
|
-
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
14
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
15
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
16
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
17
6
|
import { useQuery } from '@tanstack/react-query';
|
18
7
|
import React, { useMemo, useRef, useState } from 'react';
|
19
8
|
import { Select } from "./..";
|
package/dist/utils/utils.js
CHANGED
@@ -1,9 +1,4 @@
|
|
1
|
-
|
2
|
-
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
3
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
4
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
5
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
6
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
1
|
+
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
7
2
|
export var arrayMove = function arrayMove(arr, from, to) {
|
8
3
|
var newArr = _toConsumableArray(arr);
|
9
4
|
newArr.splice(from, 1);
|
@@ -1,19 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
8
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
9
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
10
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
11
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
12
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
13
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
14
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
15
|
-
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
16
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
1
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
2
|
+
import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
3
|
+
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
4
|
+
import _createForOfIteratorHelper from "@babel/runtime/helpers/esm/createForOfIteratorHelper";
|
5
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
6
|
+
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
17
7
|
// import * as faceapi from '@vladmandic/face-api';
|
18
8
|
//
|
19
9
|
// import * as posedetection from '@tensorflow-models/pose-detection';
|
package/dist/watermark/index.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var Watermark = _Watermark;
|
1
|
+
import { Watermark as AntWatermark } from 'antd';
|
2
|
+
export var Watermark = AntWatermark;
|
@@ -1,9 +1,7 @@
|
|
1
|
-
import "
|
2
|
-
import
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
3
3
|
var _excluded = ["value", "onChange", "rangeYear", "labelYear", "showSearch"];
|
4
|
-
|
5
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
6
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
4
|
+
import { Select } from 'antd';
|
7
5
|
import React from 'react';
|
8
6
|
export var YearOptions = function YearOptions(_ref) {
|
9
7
|
var value = _ref.value,
|
@@ -23,7 +21,7 @@ export var YearOptions = function YearOptions(_ref) {
|
|
23
21
|
value: "".concat(new Date().getFullYear() - index)
|
24
22
|
};
|
25
23
|
});
|
26
|
-
return /*#__PURE__*/React.createElement(
|
24
|
+
return /*#__PURE__*/React.createElement(Select, _extends({
|
27
25
|
options: options,
|
28
26
|
value: value,
|
29
27
|
onChange: onChange,
|
package/dist/year-term/index.js
CHANGED
@@ -1,13 +1,7 @@
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
|
+
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
3
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
1
4
|
var _excluded = ["type", "style", "showSearch", "value", "onChange", "allowClear", "placeholder", "responseType"];
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
3
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
4
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
5
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
6
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
7
|
-
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
8
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
9
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
10
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
11
5
|
import { useQuery } from '@tanstack/react-query';
|
12
6
|
import React, { useEffect, useMemo, useState } from 'react';
|
13
7
|
import { Select } from "./..";
|
package/dist/zones/index.js
CHANGED
@@ -1,19 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
5
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
6
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
7
|
-
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
8
|
-
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
9
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
10
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
11
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
12
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
13
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
14
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
15
|
-
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
16
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
1
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
2
|
+
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
3
|
+
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
17
4
|
import { useQuery } from '@tanstack/react-query';
|
18
5
|
import React, { useEffect, useState } from 'react';
|
19
6
|
import { Select } from "./..";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "yootd",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.1.96.1",
|
4
4
|
"description": "A react library developed with dumi",
|
5
5
|
"license": "MIT",
|
6
6
|
"module": "dist/index.js",
|
@@ -44,6 +44,9 @@
|
|
44
44
|
"prettier --parser=typescript --write"
|
45
45
|
]
|
46
46
|
},
|
47
|
+
"dependencies": {
|
48
|
+
"@babel/runtime": "^7.26.9"
|
49
|
+
},
|
47
50
|
"devDependencies": {
|
48
51
|
"@commitlint/cli": "^17.1.2",
|
49
52
|
"@commitlint/config-conventional": "^17.1.0",
|
@@ -51,15 +54,14 @@
|
|
51
54
|
"@dnd-kit/modifiers": "^7.0.0",
|
52
55
|
"@dnd-kit/sortable": "^8.0.0",
|
53
56
|
"@dnd-kit/utilities": "^3.2.2",
|
54
|
-
"@
|
57
|
+
"@tensorflow-models/pose-detection": "^2.1.3",
|
58
|
+
"@tensorflow/tfjs": "^4.22.0",
|
55
59
|
"@types/lodash": "^4.17.12",
|
56
60
|
"@types/react": "^18.0.0",
|
57
61
|
"@types/react-dom": "^18.0.0",
|
58
62
|
"@umijs/lint": "^4.0.0",
|
59
63
|
"@vladmandic/face-api": "^1.7.14",
|
60
|
-
"@xyflow/react": "^12.
|
61
|
-
"axios": "^1.8.1",
|
62
|
-
"babel-plugin-import": "^1.13.8",
|
64
|
+
"@xyflow/react": "^12.3.3",
|
63
65
|
"dumi": "^2.3.0",
|
64
66
|
"dumi-theme-antd": "^0.4.2",
|
65
67
|
"eslint": "^8.23.0",
|
@@ -71,10 +73,7 @@
|
|
71
73
|
"prettier-plugin-packagejson": "^2.2.18",
|
72
74
|
"sass": "^1.80.0",
|
73
75
|
"stylelint": "^14.9.1",
|
74
|
-
"yootd-webrtc-sdk": "^1.0.1"
|
75
|
-
"antd": "^5.21.4",
|
76
|
-
"@tensorflow-models/pose-detection": "^2.1.3",
|
77
|
-
"@tensorflow/tfjs": "^4.22.0"
|
76
|
+
"yootd-webrtc-sdk": "^1.0.1"
|
78
77
|
},
|
79
78
|
"peerDependencies": {
|
80
79
|
"@dnd-kit/core": ">=6.1.0",
|
@@ -82,22 +81,20 @@
|
|
82
81
|
"@dnd-kit/sortable": ">=8.0.0",
|
83
82
|
"@dnd-kit/utilities": ">=3.2.2",
|
84
83
|
"@tanstack/react-query": ">=5.59.15",
|
85
|
-
"@
|
84
|
+
"@tensorflow-models/pose-detection": ">=2.1.3",
|
85
|
+
"@tensorflow/tfjs": ">=4.22.0",
|
86
|
+
"@vladmandic/face-api": ">=1.7.14",
|
86
87
|
"@xyflow/react": ">=12.3.3",
|
87
88
|
"antd": ">=5.21.4",
|
88
89
|
"axios": ">=1.7.7",
|
89
90
|
"dayjs": ">=1.11.13",
|
90
91
|
"lodash": ">=4.17.21",
|
91
|
-
"nanoid": ">=5.0.8",
|
92
92
|
"react": ">=18.0.0",
|
93
93
|
"react-dom": ">=18.0.0",
|
94
|
-
"yootd-webrtc-sdk": ">=1.0.1"
|
95
|
-
"@tensorflow-models/pose-detection": ">=2.1.3",
|
96
|
-
"@tensorflow/tfjs": ">=4.22.0"
|
94
|
+
"yootd-webrtc-sdk": ">=1.0.1"
|
97
95
|
},
|
98
96
|
"publishConfig": {
|
99
97
|
"access": "public"
|
100
98
|
},
|
101
|
-
"slideEffects": false,
|
102
99
|
"authors": []
|
103
100
|
}
|