wargerm 0.6.13 → 0.6.15
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/{src/components → components}/AutoScroll/index.d.ts +0 -0
- package/dist/{src/components → components}/Breadcrumb/index.d.ts +0 -0
- package/dist/{src/components → components}/Button/index.d.ts +0 -0
- package/dist/{src/components → components}/Calendar/const.d.ts +0 -0
- package/dist/{src/components → components}/Calendar/example/demo1.d.ts +0 -0
- package/dist/{src/components → components}/Calendar/example/demo2.d.ts +0 -0
- package/dist/{src/components → components}/Calendar/index.d.ts +0 -0
- package/dist/{src/components → components}/Calendar/utils.d.ts +0 -0
- package/dist/{src/components → components}/Card/example/demo1.d.ts +0 -0
- package/dist/{src/components → components}/Card/example/demo2.d.ts +0 -0
- package/dist/{src/components → components}/Card/example/demo3.d.ts +0 -0
- package/dist/{src/components → components}/Card/index.d.ts +0 -0
- package/dist/{src/components → components}/Cascader/index.d.ts +0 -0
- package/dist/{src/components → components}/Checkbox/index.d.ts +0 -0
- package/dist/{src/components → components}/CountUp/index.d.ts +0 -0
- package/dist/{src/components → components}/DatePicker/index.d.ts +0 -0
- package/dist/{src/components → components}/DragBox/index.d.ts +0 -0
- package/dist/{src/components → components}/IconFont/index.d.ts +0 -0
- package/dist/{src/components → components}/Input/index.d.ts +0 -0
- package/dist/{src/components → components}/InputNumber/index.d.ts +0 -0
- package/dist/{src/components → components}/Modal/dialog.d.ts +0 -0
- package/dist/{src/components → components}/Modal/index.d.ts +0 -0
- package/dist/{src/components → components}/ModalForm/index.d.ts +0 -0
- package/dist/{src/components → components}/ModalTips/dialog.d.ts +0 -0
- package/dist/{src/components → components}/ModalTips/index.d.ts +0 -0
- package/dist/{src/components → components}/NtTable/FrameBox/index.d.ts +0 -0
- package/dist/{src/components → components}/NtTable/index.d.ts +0 -0
- package/dist/{src/components → components}/Number/index.d.ts +0 -0
- package/dist/{src/components → components}/NumericInput/index.d.ts +0 -0
- package/dist/{src/components → components}/Radio/index.d.ts +0 -0
- package/dist/{src/components → components}/ReactECharts/RAF.d.ts +0 -0
- package/dist/{src/components → components}/ReactECharts/index.d.ts +0 -0
- package/dist/{src/components → components}/ReactECharts/theme.d.ts +0 -0
- package/dist/{src/components → components}/ReactECharts/useRAF.d.ts +0 -0
- package/dist/{src/components → components}/Select/index.d.ts +0 -0
- package/dist/{src/components → components}/Swiper/index.d.ts +0 -0
- package/dist/{src/components → components}/Switch/index.d.ts +0 -0
- package/dist/{src/components → components}/TabelCard/example/InputGroup.d.ts +0 -0
- package/dist/{src/components → components}/TabelCard/example/demo1.d.ts +0 -0
- package/dist/{src/components → components}/TabelCard/example/demo2.d.ts +0 -0
- package/dist/{src/components → components}/TabelCard/example/demo3.d.ts +0 -0
- package/dist/{src/components → components}/TabelCard/index.d.ts +0 -0
- package/dist/{src/components → components}/Table/FrameBox/index.d.ts +0 -0
- package/dist/{src/components → components}/Table/example/demo1.d.ts +0 -0
- package/dist/{src/components → components}/Table/example/demo2.d.ts +0 -0
- package/dist/{src/components → components}/Table/example/demo3.d.ts +0 -0
- package/dist/{src/components → components}/Table/example/demo4.d.ts +0 -0
- package/dist/{src/components → components}/Table/example/demo5.d.ts +0 -0
- package/dist/{src/components → components}/Table/index.d.ts +0 -0
- package/dist/{src/components → components}/TreeSelect/index.d.ts +0 -0
- package/dist/{src/components → components}/Upload/example/demo1.d.ts +0 -0
- package/dist/{src/components → components}/Upload/example/demo2.d.ts +0 -0
- package/dist/{src/components → components}/Upload/index.d.ts +0 -0
- package/dist/{src/components → components}/Video/example/VideoDemo/demo1.d.ts +0 -0
- package/dist/{src/components → components}/Video/example/VideoDemo/demo2.d.ts +0 -0
- package/dist/{src/components → components}/Video/example/VideoDemo/demo3.d.ts +0 -0
- package/dist/{src/components → components}/Video/example/VideoDemo/demo4.d.ts +0 -0
- package/dist/{src/components → components}/Video/example/VideoDemo/demo5.d.ts +0 -0
- package/dist/{src/components → components}/Video/example/VideoDemo/demo6.d.ts +0 -0
- package/dist/{src/components → components}/Video/example/VideoDemo/demo7.d.ts +0 -0
- package/dist/{src/components → components}/Video/example/VideoDemo/demo8.d.ts +0 -0
- package/dist/{src/components → components}/Video/example/VideoDemo/demo9.d.ts +0 -0
- package/dist/{src/components → components}/Video/index.d.ts +0 -0
- package/dist/{src/components → components}/VideoPlayer/example/demo1.d.ts +0 -0
- package/dist/{src/components → components}/VideoPlayer/example/demo2.d.ts +0 -0
- package/dist/{src/components → components}/VideoPlayer/index.d.ts +0 -0
- package/dist/{src/components → components}/VideoPlayer/xgplayer.d.ts +0 -0
- package/dist/{src/components → components}/WDatePicker/index.d.ts +0 -0
- package/dist/{src/components → components}/WForm/example/demo1.d.ts +0 -0
- package/dist/{src/components → components}/WForm/example/demo2.d.ts +0 -0
- package/dist/{src/components → components}/WForm/example/demo3.d.ts +0 -0
- package/dist/{src/components → components}/WForm/index.d.ts +0 -0
- package/dist/{src/components → components}/Wcharts/LineEcharts/index.d.ts +0 -0
- package/dist/{src/components → components}/Wcharts/WaterLevelCharts/index.d.ts +0 -0
- package/dist/{src/components → components}/WebsocketHeart/index.d.ts +0 -0
- package/dist/{src/components → components}/useEventEmitter/example/demo1.d.ts +0 -0
- package/dist/{src/components → components}/wTracing/example/demo1.d.ts +0 -0
- package/dist/components/wTracing/index.d.ts +4 -0
- package/dist/{src/components → components}/wTracing/lib/base.d.ts +0 -0
- package/dist/{src/components → components}/wTracing/lib/err.d.ts +0 -0
- package/dist/{src/components → components}/wTracing/lib/event.d.ts +0 -0
- package/dist/{src/components → components}/wTracing/lib/http-request.d.ts +0 -0
- package/dist/{src/components → components}/wTracing/lib/performance.d.ts +0 -0
- package/dist/{src/components → components}/wTracing/lib/pv.d.ts +0 -0
- package/dist/{src/components → components}/wTracing/utils/constant.d.ts +0 -0
- package/dist/{src/components → components}/wTracing/utils/device.d.ts +0 -0
- package/dist/{src/components → components}/wTracing/utils/methods.d.ts +0 -0
- package/dist/{src/components → components}/wTracing/utils/session.d.ts +0 -0
- package/dist/{src/components → components}/whox/example/demo1.d.ts +0 -0
- package/dist/{src/components → components}/wmox/example/demo1.d.ts +0 -0
- package/dist/{src/hooks → hooks}/useClickOutside.d.ts +0 -0
- package/dist/{src/hooks → hooks}/useDebounce.d.ts +0 -0
- package/dist/{src/hooks → hooks}/useEventEmitter.d.ts +0 -0
- package/dist/{src/hooks → hooks}/whox.d.ts +0 -0
- package/dist/{src/hooks → hooks}/wmox.d.ts +0 -0
- package/dist/{src/index.d.ts → index.d.ts} +1 -1
- package/dist/index.esm.js +12 -15
- package/dist/index.js +20 -23
- package/dist/{src/utils → utils}/event.d.ts +0 -0
- package/dist/{src/utils → utils}/index.d.ts +0 -0
- package/package.json +92 -92
- package/dist/src/components/wTracing/index.d.ts +0 -20
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -5,7 +5,7 @@ import './styles/index-nt.less';
|
|
5
5
|
export { default as useEventEmitter } from '@/hooks/useEventEmitter';
|
6
6
|
export { default as whox } from '@/hooks/whox';
|
7
7
|
export { default as wmox } from '@/hooks/wmox';
|
8
|
-
export { default as wTracing } from '
|
8
|
+
export { default as wTracing } from './components/wTracing';
|
9
9
|
export { default as Button } from './components/Button';
|
10
10
|
export { default as IconFont } from './components/IconFont';
|
11
11
|
export { default as Input } from './components/Input';
|
package/dist/index.esm.js
CHANGED
@@ -925,8 +925,6 @@ function getSessionId() {
|
|
925
925
|
|
926
926
|
refreshSession(); // 初始化
|
927
927
|
|
928
|
-
var version = "0.6.13";
|
929
|
-
|
930
928
|
var pageId = uuid(); // 与一般业务上理解的sessionId做区分,此session与业务无关,单纯就是浏览器端和后端直接的联系
|
931
929
|
|
932
930
|
var sessionId = getSessionId();
|
@@ -939,7 +937,7 @@ var timer = null; // 定时发送定时器
|
|
939
937
|
var base = _objectSpread2(_objectSpread2({}, device), {}, {
|
940
938
|
pageId: pageId,
|
941
939
|
sessionId: sessionId,
|
942
|
-
sdkVersion:
|
940
|
+
sdkVersion: '0.01'
|
943
941
|
});
|
944
942
|
/**
|
945
943
|
* 初始化基础数据
|
@@ -2127,7 +2125,6 @@ var methods = {
|
|
2127
2125
|
traceCustomEvent: event.traceCustomEvent,
|
2128
2126
|
tracePageView: pv.tracePageView
|
2129
2127
|
};
|
2130
|
-
|
2131
2128
|
var init$6 = function init() {
|
2132
2129
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
2133
2130
|
var _options = {
|
@@ -2212,7 +2209,7 @@ var transitionOptions = function transitionOptions(_options, options) {
|
|
2212
2209
|
}
|
2213
2210
|
};
|
2214
2211
|
|
2215
|
-
var
|
2212
|
+
var wTracing = _objectSpread2({
|
2216
2213
|
init: init$6
|
2217
2214
|
}, methods);
|
2218
2215
|
|
@@ -2257,7 +2254,7 @@ WButton.defaultProps = {};
|
|
2257
2254
|
// import IconFont from '@/components/IconFont';
|
2258
2255
|
// <IconFont type='icon-demo' className='xxx-xxx' />
|
2259
2256
|
|
2260
|
-
var index
|
2257
|
+
var index = createFromIconfontCN({
|
2261
2258
|
scriptUrl: '//at.alicdn.com/t/font_3425259_s93peuz62an.js'
|
2262
2259
|
});
|
2263
2260
|
|
@@ -4723,7 +4720,7 @@ function Table(_ref) {
|
|
4723
4720
|
Table.defaultProps = {
|
4724
4721
|
rowKey: 'key'
|
4725
4722
|
};
|
4726
|
-
var index$
|
4723
|
+
var index$1 = /*#__PURE__*/memo(Table);
|
4727
4724
|
|
4728
4725
|
var _excluded$b = ["height", "width", "count", "style", "numberStyle"],
|
4729
4726
|
_excluded2$2 = ["count", "numberCount", "width", "height", "marginRight"];
|
@@ -5827,7 +5824,7 @@ var Index$d = function Index(_ref, ref) {
|
|
5827
5824
|
}))));
|
5828
5825
|
};
|
5829
5826
|
|
5830
|
-
var index$
|
5827
|
+
var index$2 = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(Index$d));
|
5831
5828
|
|
5832
5829
|
var controlShow = function controlShow(f1, f2, value, timer) {
|
5833
5830
|
f1(value);
|
@@ -7517,7 +7514,7 @@ var TabelCard = function TabelCard(props, ref) {
|
|
7517
7514
|
}, extraProps)));
|
7518
7515
|
};
|
7519
7516
|
|
7520
|
-
var index$
|
7517
|
+
var index$3 = /*#__PURE__*/React.forwardRef(TabelCard);
|
7521
7518
|
|
7522
7519
|
var YEAER_MONTH_FORMAT_EN = 'YYYY-MM';
|
7523
7520
|
|
@@ -7890,7 +7887,7 @@ function Calendar(_ref, ref) {
|
|
7890
7887
|
})))));
|
7891
7888
|
}
|
7892
7889
|
|
7893
|
-
var index$
|
7890
|
+
var index$4 = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(Calendar));
|
7894
7891
|
|
7895
7892
|
var WebsocketHeart = /*#__PURE__*/_createClass(function WebsocketHeart(_ref) {
|
7896
7893
|
var _this = this;
|
@@ -8341,7 +8338,7 @@ function VideoPlayer(_ref, ref) {
|
|
8341
8338
|
})) : null));
|
8342
8339
|
}
|
8343
8340
|
|
8344
|
-
var index$
|
8341
|
+
var index$5 = /*#__PURE__*/forwardRef(VideoPlayer);
|
8345
8342
|
|
8346
8343
|
var _excluded$l = ["id", "videoUrls", "definitionList", "isLoop", "muted", "currentIndex", "setCurrentIndex", "className", "style", "visible", "autoplay", "videoInit", "enableMemory", "lastPlayTimeHideDelay"];
|
8347
8344
|
|
@@ -8350,7 +8347,7 @@ var DEFAULT_PLAY_BACK_RATE = [0.5, 0.75, 1, 1.5, 2]; // 默认记忆提示文字
|
|
8350
8347
|
var DEFAULT_LAST_PLAY_TIME_DELAY = 5; // 默认音量大小
|
8351
8348
|
|
8352
8349
|
var DEFAULT_VOLUME = 0.6;
|
8353
|
-
var index$
|
8350
|
+
var index$6 = (function (_ref) {
|
8354
8351
|
var id = _ref.id,
|
8355
8352
|
_ref$videoUrls = _ref.videoUrls,
|
8356
8353
|
videoUrls = _ref$videoUrls === void 0 ? [] : _ref$videoUrls,
|
@@ -9183,7 +9180,7 @@ function NtTable(_ref) {
|
|
9183
9180
|
NtTable.defaultProps = {
|
9184
9181
|
rowKey: 'key'
|
9185
9182
|
};
|
9186
|
-
var index$
|
9183
|
+
var index$7 = /*#__PURE__*/memo(NtTable);
|
9187
9184
|
|
9188
9185
|
/*
|
9189
9186
|
* @Author: lijin
|
@@ -9967,7 +9964,7 @@ function WaterLevelCharts(config) {
|
|
9967
9964
|
/*
|
9968
9965
|
* @Author: lijin
|
9969
9966
|
* @Date: 2021-09-09 11:02:54
|
9970
|
-
* @LastEditTime: 2022-12-13
|
9967
|
+
* @LastEditTime: 2022-12-13 19:29:01
|
9971
9968
|
* @LastEditors: lijin
|
9972
9969
|
* @Description:
|
9973
9970
|
* @FilePath: \wargerm-components\src\index.ts
|
@@ -9980,4 +9977,4 @@ if (REACT_APP_ENV == 'development') {
|
|
9980
9977
|
document.documentElement.setAttribute(COLOR_ATTR_NAME, 'nt');
|
9981
9978
|
}
|
9982
9979
|
|
9983
|
-
export { Index$a as AutoScroll, Index$c as Breadcrumb, WButton as Button, index$
|
9980
|
+
export { Index$a as AutoScroll, Index$c as Breadcrumb, WButton as Button, index$4 as Calendar, index$2 as Card, WCascader as Cascader, Index$4 as Checkbox, Index$9 as CountUp, Index$2 as DatePicker, DragBox, index as IconFont, Index as Input, WInputNumber as InputNumber, LineEcharts, Modal, ModalForm$1 as ModalForm, Modal$1 as ModalTips, index$7 as NtTable, Index$8 as Number, NumericInput, Index$3 as Radio, Select, Index$b as Swiper, WSwitch as Switch, index$3 as TabelCard, index$1 as Table, Index$7 as TreeSelect, Upload, index$6 as Video, index$5 as VideoPlayer, Index$6 as WDatePicker, WForm$1 as WForm, WaterLevelCharts, WebsocketHeart, useEventEmitter, wTracing, create as whox, wmox };
|
package/dist/index.js
CHANGED
@@ -990,8 +990,6 @@ function getSessionId() {
|
|
990
990
|
|
991
991
|
refreshSession(); // 初始化
|
992
992
|
|
993
|
-
var version = "0.6.13";
|
994
|
-
|
995
993
|
var pageId = uuid(); // 与一般业务上理解的sessionId做区分,此session与业务无关,单纯就是浏览器端和后端直接的联系
|
996
994
|
|
997
995
|
var sessionId = getSessionId();
|
@@ -1004,7 +1002,7 @@ var timer = null; // 定时发送定时器
|
|
1004
1002
|
var base = _objectSpread2(_objectSpread2({}, device), {}, {
|
1005
1003
|
pageId: pageId,
|
1006
1004
|
sessionId: sessionId,
|
1007
|
-
sdkVersion:
|
1005
|
+
sdkVersion: '0.01'
|
1008
1006
|
});
|
1009
1007
|
/**
|
1010
1008
|
* 初始化基础数据
|
@@ -2192,7 +2190,6 @@ var methods = {
|
|
2192
2190
|
traceCustomEvent: event.traceCustomEvent,
|
2193
2191
|
tracePageView: pv.tracePageView
|
2194
2192
|
};
|
2195
|
-
|
2196
2193
|
var init$6 = function init() {
|
2197
2194
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
2198
2195
|
var _options = {
|
@@ -2277,7 +2274,7 @@ var transitionOptions = function transitionOptions(_options, options) {
|
|
2277
2274
|
}
|
2278
2275
|
};
|
2279
2276
|
|
2280
|
-
var
|
2277
|
+
var wTracing = _objectSpread2({
|
2281
2278
|
init: init$6
|
2282
2279
|
}, methods);
|
2283
2280
|
|
@@ -2322,7 +2319,7 @@ WButton.defaultProps = {};
|
|
2322
2319
|
// import IconFont from '@/components/IconFont';
|
2323
2320
|
// <IconFont type='icon-demo' className='xxx-xxx' />
|
2324
2321
|
|
2325
|
-
var index
|
2322
|
+
var index = icons.createFromIconfontCN({
|
2326
2323
|
scriptUrl: '//at.alicdn.com/t/font_3425259_s93peuz62an.js'
|
2327
2324
|
});
|
2328
2325
|
|
@@ -4788,7 +4785,7 @@ function Table(_ref) {
|
|
4788
4785
|
Table.defaultProps = {
|
4789
4786
|
rowKey: 'key'
|
4790
4787
|
};
|
4791
|
-
var index$
|
4788
|
+
var index$1 = /*#__PURE__*/React.memo(Table);
|
4792
4789
|
|
4793
4790
|
var _excluded$b = ["height", "width", "count", "style", "numberStyle"],
|
4794
4791
|
_excluded2$2 = ["count", "numberCount", "width", "height", "marginRight"];
|
@@ -5892,7 +5889,7 @@ var Index$d = function Index(_ref, ref) {
|
|
5892
5889
|
}))));
|
5893
5890
|
};
|
5894
5891
|
|
5895
|
-
var index$
|
5892
|
+
var index$2 = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(Index$d));
|
5896
5893
|
|
5897
5894
|
var controlShow = function controlShow(f1, f2, value, timer) {
|
5898
5895
|
f1(value);
|
@@ -7582,7 +7579,7 @@ var TabelCard = function TabelCard(props, ref) {
|
|
7582
7579
|
}, extraProps)));
|
7583
7580
|
};
|
7584
7581
|
|
7585
|
-
var index$
|
7582
|
+
var index$3 = /*#__PURE__*/React__default['default'].forwardRef(TabelCard);
|
7586
7583
|
|
7587
7584
|
var YEAER_MONTH_FORMAT_EN = 'YYYY-MM';
|
7588
7585
|
|
@@ -7955,7 +7952,7 @@ function Calendar(_ref, ref) {
|
|
7955
7952
|
})))));
|
7956
7953
|
}
|
7957
7954
|
|
7958
|
-
var index$
|
7955
|
+
var index$4 = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(Calendar));
|
7959
7956
|
|
7960
7957
|
var WebsocketHeart = /*#__PURE__*/_createClass(function WebsocketHeart(_ref) {
|
7961
7958
|
var _this = this;
|
@@ -8406,7 +8403,7 @@ function VideoPlayer(_ref, ref) {
|
|
8406
8403
|
})) : null));
|
8407
8404
|
}
|
8408
8405
|
|
8409
|
-
var index$
|
8406
|
+
var index$5 = /*#__PURE__*/React.forwardRef(VideoPlayer);
|
8410
8407
|
|
8411
8408
|
var _excluded$l = ["id", "videoUrls", "definitionList", "isLoop", "muted", "currentIndex", "setCurrentIndex", "className", "style", "visible", "autoplay", "videoInit", "enableMemory", "lastPlayTimeHideDelay"];
|
8412
8409
|
|
@@ -8415,7 +8412,7 @@ var DEFAULT_PLAY_BACK_RATE = [0.5, 0.75, 1, 1.5, 2]; // 默认记忆提示文字
|
|
8415
8412
|
var DEFAULT_LAST_PLAY_TIME_DELAY = 5; // 默认音量大小
|
8416
8413
|
|
8417
8414
|
var DEFAULT_VOLUME = 0.6;
|
8418
|
-
var index$
|
8415
|
+
var index$6 = (function (_ref) {
|
8419
8416
|
var id = _ref.id,
|
8420
8417
|
_ref$videoUrls = _ref.videoUrls,
|
8421
8418
|
videoUrls = _ref$videoUrls === void 0 ? [] : _ref$videoUrls,
|
@@ -9248,7 +9245,7 @@ function NtTable(_ref) {
|
|
9248
9245
|
NtTable.defaultProps = {
|
9249
9246
|
rowKey: 'key'
|
9250
9247
|
};
|
9251
|
-
var index$
|
9248
|
+
var index$7 = /*#__PURE__*/React.memo(NtTable);
|
9252
9249
|
|
9253
9250
|
/*
|
9254
9251
|
* @Author: lijin
|
@@ -10032,7 +10029,7 @@ function WaterLevelCharts(config) {
|
|
10032
10029
|
/*
|
10033
10030
|
* @Author: lijin
|
10034
10031
|
* @Date: 2021-09-09 11:02:54
|
10035
|
-
* @LastEditTime: 2022-12-13
|
10032
|
+
* @LastEditTime: 2022-12-13 19:29:01
|
10036
10033
|
* @LastEditors: lijin
|
10037
10034
|
* @Description:
|
10038
10035
|
* @FilePath: \wargerm-components\src\index.ts
|
@@ -10048,38 +10045,38 @@ if (REACT_APP_ENV == 'development') {
|
|
10048
10045
|
exports.AutoScroll = Index$a;
|
10049
10046
|
exports.Breadcrumb = Index$c;
|
10050
10047
|
exports.Button = WButton;
|
10051
|
-
exports.Calendar = index$
|
10052
|
-
exports.Card = index$
|
10048
|
+
exports.Calendar = index$4;
|
10049
|
+
exports.Card = index$2;
|
10053
10050
|
exports.Cascader = WCascader;
|
10054
10051
|
exports.Checkbox = Index$4;
|
10055
10052
|
exports.CountUp = Index$9;
|
10056
10053
|
exports.DatePicker = Index$2;
|
10057
10054
|
exports.DragBox = DragBox;
|
10058
|
-
exports.IconFont = index
|
10055
|
+
exports.IconFont = index;
|
10059
10056
|
exports.Input = Index;
|
10060
10057
|
exports.InputNumber = WInputNumber;
|
10061
10058
|
exports.LineEcharts = LineEcharts;
|
10062
10059
|
exports.Modal = Modal;
|
10063
10060
|
exports.ModalForm = ModalForm$1;
|
10064
10061
|
exports.ModalTips = Modal$1;
|
10065
|
-
exports.NtTable = index$
|
10062
|
+
exports.NtTable = index$7;
|
10066
10063
|
exports.Number = Index$8;
|
10067
10064
|
exports.NumericInput = NumericInput;
|
10068
10065
|
exports.Radio = Index$3;
|
10069
10066
|
exports.Select = Select;
|
10070
10067
|
exports.Swiper = Index$b;
|
10071
10068
|
exports.Switch = WSwitch;
|
10072
|
-
exports.TabelCard = index$
|
10073
|
-
exports.Table = index$
|
10069
|
+
exports.TabelCard = index$3;
|
10070
|
+
exports.Table = index$1;
|
10074
10071
|
exports.TreeSelect = Index$7;
|
10075
10072
|
exports.Upload = Upload;
|
10076
|
-
exports.Video = index$
|
10077
|
-
exports.VideoPlayer = index$
|
10073
|
+
exports.Video = index$6;
|
10074
|
+
exports.VideoPlayer = index$5;
|
10078
10075
|
exports.WDatePicker = Index$6;
|
10079
10076
|
exports.WForm = WForm$1;
|
10080
10077
|
exports.WaterLevelCharts = WaterLevelCharts;
|
10081
10078
|
exports.WebsocketHeart = WebsocketHeart;
|
10082
10079
|
exports.useEventEmitter = useEventEmitter;
|
10083
|
-
exports.wTracing =
|
10080
|
+
exports.wTracing = wTracing;
|
10084
10081
|
exports.whox = create;
|
10085
10082
|
exports.wmox = wmox;
|
File without changes
|
File without changes
|
package/package.json
CHANGED
@@ -1,92 +1,92 @@
|
|
1
|
-
{
|
2
|
-
"private": false,
|
3
|
-
"name": "wargerm",
|
4
|
-
"version": "0.6.
|
5
|
-
"scripts": {
|
6
|
-
"dev": "dumi dev",
|
7
|
-
"docs:build": "dumi build",
|
8
|
-
"docs:deploy": "gh-pages -d docs-dist",
|
9
|
-
"build": "father-build",
|
10
|
-
"deploy": "npm run docs:build && npm run docs:deploy",
|
11
|
-
"release": "npm run build && npm publish",
|
12
|
-
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
13
|
-
"test": "umi-test",
|
14
|
-
"test:coverage": "umi-test --coverage"
|
15
|
-
},
|
16
|
-
"main": "dist/index.js",
|
17
|
-
"module": "dist/index.esm.js",
|
18
|
-
"unpkg": "dist/index.umd.min.js",
|
19
|
-
"typings": "dist/index.d.ts",
|
20
|
-
"author": "jinly2",
|
21
|
-
"license": "MIT",
|
22
|
-
"keywords": [
|
23
|
-
"React",
|
24
|
-
"Component"
|
25
|
-
],
|
26
|
-
"gitHooks": {
|
27
|
-
"pre-commit": "lint-staged"
|
28
|
-
},
|
29
|
-
"repository": {
|
30
|
-
"type": "git",
|
31
|
-
"url": "http://code.eblssmart.com/platform/web/wargerm-components.git",
|
32
|
-
"branch": "main"
|
33
|
-
},
|
34
|
-
"files": [
|
35
|
-
"dist",
|
36
|
-
"es",
|
37
|
-
"lib",
|
38
|
-
"index.css"
|
39
|
-
],
|
40
|
-
"lint-staged": {
|
41
|
-
"*.{js,jsx,less,md,json}": [
|
42
|
-
"prettier --write"
|
43
|
-
],
|
44
|
-
"*.ts?(x)": [
|
45
|
-
"prettier --parser=typescript --write"
|
46
|
-
]
|
47
|
-
},
|
48
|
-
"dependencies": {
|
49
|
-
"@ant-design/pro-table": "^2.79.0",
|
50
|
-
"animate.css": "^4.1.1",
|
51
|
-
"echarts": "^5.2.2",
|
52
|
-
"echarts-for-react": "^3.0.2",
|
53
|
-
"lodash-es": "^4.17.21",
|
54
|
-
"moment": "^2.29.4",
|
55
|
-
"react-countup": "^6.0.0",
|
56
|
-
"react-dom": "^17.0.2",
|
57
|
-
"react-file-viewer": "^1.2.1",
|
58
|
-
"swiper": "^6.7.0",
|
59
|
-
"use-sync-external-store": "^1.2.0",
|
60
|
-
"xgplayer": "^2.31.6",
|
61
|
-
"xgplayer-flv": "^2.5.1",
|
62
|
-
"xgplayer-flv.js": "^2.3.0",
|
63
|
-
"xgplayer-hls": "^2.5.2",
|
64
|
-
"xgplayer-hls.js": "^2.6.1"
|
65
|
-
},
|
66
|
-
"peerDependencies": {
|
67
|
-
"@ant-design/icons": ">=4.2.0",
|
68
|
-
"antd": ">=4.7.0",
|
69
|
-
"classnames": ">=2.2.0",
|
70
|
-
"echarts": "^5.2.2",
|
71
|
-
"echarts-for-react": "^3.0.2",
|
72
|
-
"lodash-es": ">=4.17.21",
|
73
|
-
"react": ">=17.0.0"
|
74
|
-
},
|
75
|
-
"devDependencies": {
|
76
|
-
"@ant-design/icons": "^4.6.4",
|
77
|
-
"@types/lodash-es": "^4.17.6",
|
78
|
-
"@types/react-dom": "^17.0.11",
|
79
|
-
"@types/use-sync-external-store": "^0.0.3",
|
80
|
-
"@umijs/test": "^3.0.5",
|
81
|
-
"antd": "^4.16.13",
|
82
|
-
"babel-plugin-import": "^1.13.3",
|
83
|
-
"classnames": "^2.3.1",
|
84
|
-
"dumi": "^1.1.31",
|
85
|
-
"father-build": "^1.19.1",
|
86
|
-
"gh-pages": "^3.0.0",
|
87
|
-
"lint-staged": "^10.0.7",
|
88
|
-
"prettier": "^1.19.1",
|
89
|
-
"react": "^16.12.0",
|
90
|
-
"yorkie": "^2.0.0"
|
91
|
-
}
|
92
|
-
}
|
1
|
+
{
|
2
|
+
"private": false,
|
3
|
+
"name": "wargerm",
|
4
|
+
"version": "0.6.15",
|
5
|
+
"scripts": {
|
6
|
+
"dev": "dumi dev",
|
7
|
+
"docs:build": "dumi build",
|
8
|
+
"docs:deploy": "gh-pages -d docs-dist",
|
9
|
+
"build": "father-build",
|
10
|
+
"deploy": "npm run docs:build && npm run docs:deploy",
|
11
|
+
"release": "npm run build && npm publish",
|
12
|
+
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
13
|
+
"test": "umi-test",
|
14
|
+
"test:coverage": "umi-test --coverage"
|
15
|
+
},
|
16
|
+
"main": "dist/index.js",
|
17
|
+
"module": "dist/index.esm.js",
|
18
|
+
"unpkg": "dist/index.umd.min.js",
|
19
|
+
"typings": "dist/index.d.ts",
|
20
|
+
"author": "jinly2",
|
21
|
+
"license": "MIT",
|
22
|
+
"keywords": [
|
23
|
+
"React",
|
24
|
+
"Component"
|
25
|
+
],
|
26
|
+
"gitHooks": {
|
27
|
+
"pre-commit": "lint-staged"
|
28
|
+
},
|
29
|
+
"repository": {
|
30
|
+
"type": "git",
|
31
|
+
"url": "http://code.eblssmart.com/platform/web/wargerm-components.git",
|
32
|
+
"branch": "main"
|
33
|
+
},
|
34
|
+
"files": [
|
35
|
+
"dist",
|
36
|
+
"es",
|
37
|
+
"lib",
|
38
|
+
"index.css"
|
39
|
+
],
|
40
|
+
"lint-staged": {
|
41
|
+
"*.{js,jsx,less,md,json}": [
|
42
|
+
"prettier --write"
|
43
|
+
],
|
44
|
+
"*.ts?(x)": [
|
45
|
+
"prettier --parser=typescript --write"
|
46
|
+
]
|
47
|
+
},
|
48
|
+
"dependencies": {
|
49
|
+
"@ant-design/pro-table": "^2.79.0",
|
50
|
+
"animate.css": "^4.1.1",
|
51
|
+
"echarts": "^5.2.2",
|
52
|
+
"echarts-for-react": "^3.0.2",
|
53
|
+
"lodash-es": "^4.17.21",
|
54
|
+
"moment": "^2.29.4",
|
55
|
+
"react-countup": "^6.0.0",
|
56
|
+
"react-dom": "^17.0.2",
|
57
|
+
"react-file-viewer": "^1.2.1",
|
58
|
+
"swiper": "^6.7.0",
|
59
|
+
"use-sync-external-store": "^1.2.0",
|
60
|
+
"xgplayer": "^2.31.6",
|
61
|
+
"xgplayer-flv": "^2.5.1",
|
62
|
+
"xgplayer-flv.js": "^2.3.0",
|
63
|
+
"xgplayer-hls": "^2.5.2",
|
64
|
+
"xgplayer-hls.js": "^2.6.1"
|
65
|
+
},
|
66
|
+
"peerDependencies": {
|
67
|
+
"@ant-design/icons": ">=4.2.0",
|
68
|
+
"antd": ">=4.7.0",
|
69
|
+
"classnames": ">=2.2.0",
|
70
|
+
"echarts": "^5.2.2",
|
71
|
+
"echarts-for-react": "^3.0.2",
|
72
|
+
"lodash-es": ">=4.17.21",
|
73
|
+
"react": ">=17.0.0"
|
74
|
+
},
|
75
|
+
"devDependencies": {
|
76
|
+
"@ant-design/icons": "^4.6.4",
|
77
|
+
"@types/lodash-es": "^4.17.6",
|
78
|
+
"@types/react-dom": "^17.0.11",
|
79
|
+
"@types/use-sync-external-store": "^0.0.3",
|
80
|
+
"@umijs/test": "^3.0.5",
|
81
|
+
"antd": "^4.16.13",
|
82
|
+
"babel-plugin-import": "^1.13.3",
|
83
|
+
"classnames": "^2.3.1",
|
84
|
+
"dumi": "^1.1.31",
|
85
|
+
"father-build": "^1.19.1",
|
86
|
+
"gh-pages": "^3.0.0",
|
87
|
+
"lint-staged": "^10.0.7",
|
88
|
+
"prettier": "^1.19.1",
|
89
|
+
"react": "^16.12.0",
|
90
|
+
"yorkie": "^2.0.0"
|
91
|
+
}
|
92
|
+
}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
declare const methods: {
|
2
|
-
setCustomerId: (id: any) => void;
|
3
|
-
setUserUuid: (id: any) => void;
|
4
|
-
traceError: (eventId: any, message: any, options?: {}) => void;
|
5
|
-
tracePerformance: (eventId: any, options: any) => void;
|
6
|
-
traceCustomEvent: (eventId: any, title: any, params?: {}) => void;
|
7
|
-
tracePageView: (option?: any) => void;
|
8
|
-
};
|
9
|
-
declare const init: (options?: {}) => void;
|
10
|
-
declare const _default: {
|
11
|
-
setCustomerId: (id: any) => void;
|
12
|
-
setUserUuid: (id: any) => void;
|
13
|
-
traceError: (eventId: any, message: any, options?: {}) => void;
|
14
|
-
tracePerformance: (eventId: any, options: any) => void;
|
15
|
-
traceCustomEvent: (eventId: any, title: any, params?: {}) => void;
|
16
|
-
tracePageView: (option?: any) => void;
|
17
|
-
init: (options?: {}) => void;
|
18
|
-
};
|
19
|
-
export default _default;
|
20
|
-
export { init, methods };
|