@dfsj/components 3.7.0-beta.5 → 3.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/dist/components/Boards/src/Boards.vue.d.ts +10 -10
  3. package/dist/components/Boards/src/Boards.vue2.js +10 -10
  4. package/dist/components/Boards/src/hooKs/useStyle.js +5 -5
  5. package/dist/components/Boards/src/props.d.ts +4 -4
  6. package/dist/components/Boards/src/props.js +1 -1
  7. package/dist/components/ClickOutSide/src/ClickOutSide.vue2.js +1 -1
  8. package/dist/components/DatePicker/src/date-picker-com/panel-date-range.vue2.js +2 -2
  9. package/dist/components/DatePicker/src/date-picker-com/panel-month-range.vue2.js +7 -7
  10. package/dist/components/DatePicker/src/index.js +4 -4
  11. package/dist/components/Descriptions/src/Descriptions.vue2.js +4 -4
  12. package/dist/components/Editor/src/Editor.vue2.js +3 -2
  13. package/dist/components/Form/src/Form.vue.d.ts +6 -6
  14. package/dist/components/Form/src/Form.vue2.js +22 -21
  15. package/dist/components/Form/src/components/useRenderCheckbox.js +8 -8
  16. package/dist/components/Form/src/components/useRenderRadio.js +8 -8
  17. package/dist/components/Form/src/components/useRenderSelect.js +11 -11
  18. package/dist/components/Form/src/helper/index.js +7 -7
  19. package/dist/components/Form/src/useForm.js +9 -9
  20. package/dist/components/Highlight/src/Highlight.vue.d.ts +41 -0
  21. package/dist/components/Highlight/src/Highlight.vue2.js +4 -4
  22. package/dist/components/Icon/src/Icon.vue2.js +3 -2
  23. package/dist/components/InputPassword/src/InputPassword.vue2.js +1 -1
  24. package/dist/components/Modal/src/BasicModal.vue.d.ts +2 -2
  25. package/dist/components/Modal/src/BasicModal.vue2.js +11 -11
  26. package/dist/components/Modal/src/components/ModalHeader.vue2.js +2 -2
  27. package/dist/components/Modal/src/hooks/useModalDrag.js +1 -1
  28. package/dist/components/Modal/src/hooks/useTimeout.js +1 -1
  29. package/dist/components/Modal/src/props.js +1 -1
  30. package/dist/components/Modal/src/utils/index.js +1 -1
  31. package/dist/components/NodeAxis/src/CanvasNodeRender.js +36 -36
  32. package/dist/components/NodeAxis/src/NodeAxis.d.ts +12 -0
  33. package/dist/components/NodeAxis/src/NodeAxis.vue2.js +1 -1
  34. package/dist/components/NodeAxis/src/NodeModel.js +10 -10
  35. package/dist/components/NodeAxis/src/NodeRender.js +3 -3
  36. package/dist/components/NodeAxis/src/TimerNodePlayer.js +4 -4
  37. package/dist/components/Stateful/src/Stateful.vue2.js +6 -6
  38. package/dist/components/Stateful/src/props.js +1 -1
  39. package/dist/components/Table/src/Table.vue.d.ts +13 -3
  40. package/dist/components/Table/src/Table.vue2.js +12 -11
  41. package/dist/components/Table/src/components/ColumnSetting.vue2.js +16 -16
  42. package/dist/components/Table/src/components/TableActions.vue2.js +1 -1
  43. package/dist/components/Table/src/useTable.js +6 -6
  44. package/dist/components/UnifyChart/src/ChartToolbox.vue2.js +1 -1
  45. package/dist/components/UnifyChart/src/UnifyChart.vue2.js +2 -2
  46. package/dist/components/UnifyChart/src/hooks/useLoader.js +5 -5
  47. package/dist/components/UnifyChart/src/hooks/useRender.js +3 -3
  48. package/dist/components/UnifyChart/src/props.js +1 -1
  49. package/dist/components/Video/src/VideoPlayer.vue2.js +6 -6
  50. package/dist/components/Video/src/VideoPlayerToolbar.vue2.js +5 -5
  51. package/dist/components/Video/src/abstract/VideoControl.js +13 -13
  52. package/dist/components/Video/src/control/DaHua.js +8 -8
  53. package/dist/components/Video/src/control/Hikvision.js +12 -12
  54. package/dist/components/Visual/src/BufferLayerPlayer.js +11 -11
  55. package/dist/components/Visual/src/ResolvableLayerProvider.js +5 -5
  56. package/dist/components/Visual/src/resolvers/IntervalResolver.js +9 -9
  57. package/dist/components/Visual/src/utils/NodeMath.js +1 -1
  58. package/dist/components/Windows/src/ModalWrap.vue2.js +3 -3
  59. package/dist/components/Windows/src/Windows.vue2.js +2 -2
  60. package/dist/components/src/components/Modal/src/props.d.ts +1 -1
  61. package/dist/components/src/components/NodeAxis/src/BCanvasNodeRender.d.ts +19 -0
  62. package/dist/directives/clickOutside.js +3 -3
  63. package/dist/directives/repeatClick.js +1 -1
  64. package/dist/directives/resizable.js +4 -4
  65. package/dist/index.min.css +2 -2
  66. package/dist/node_modules/.pnpm/{@vueuse_core@10.11.1_vue@3.5.12_typescript@5.6.2_ → @vueuse_core@10.11.1_vue@3.5.13_typescript@5.7.3_}/node_modules/@vueuse/core/index.js +20 -20
  67. package/dist/node_modules/.pnpm/{@vueuse_shared@10.11.1_vue@3.5.12_typescript@5.6.2_ → @vueuse_shared@10.11.1_vue@3.5.13_typescript@5.7.3_}/node_modules/@vueuse/shared/index.js +1 -1
  68. package/package.json +10 -13
  69. package/dist/components/src/utils/propTypes.d.ts +0 -10
  70. /package/dist/components/{Descriptions → src/components/Descriptions}/src/Descriptions.vue.d.ts +0 -0
  71. /package/dist/components/{Windows → src/components/Windows}/src/ModalWrap.vue.d.ts +0 -0
@@ -69,17 +69,17 @@ var script = defineComponent({
69
69
  var handleCheckedColumnsChange = function handleCheckedColumnsChange(value) {
70
70
  var _unref2, _unref3;
71
71
  var checkedCount = value.length;
72
- checkAll.value = checkedCount === ((_unref2 = unref(defaultCheckColumns)) === null || _unref2 === void 0 ? void 0 : _unref2.length);
73
- isIndeterminate.value = checkedCount > 0 && checkedCount < ((_unref3 = unref(defaultCheckColumns)) === null || _unref3 === void 0 ? void 0 : _unref3.length);
72
+ checkAll.value = checkedCount === ((_unref2 = unref(defaultCheckColumns)) === null || _unref2 === undefined ? undefined : _unref2.length);
73
+ isIndeterminate.value = checkedCount > 0 && checkedCount < ((_unref3 = unref(defaultCheckColumns)) === null || _unref3 === undefined ? undefined : _unref3.length);
74
74
  };
75
75
  var confirm = function confirm() {
76
76
  var _cloneDeep;
77
- var newColumns = (_cloneDeep = cloneDeep(unref(settingColumns))) === null || _cloneDeep === void 0 ? void 0 : _cloneDeep.map(function (item) {
77
+ var newColumns = (_cloneDeep = cloneDeep(unref(settingColumns))) === null || _cloneDeep === undefined ? undefined : _cloneDeep.map(function (item) {
78
78
  var _unref4, _unref5;
79
- var fixed = (_unref4 = unref(settingColumns)) === null || _unref4 === void 0 || (_unref4 = _unref4.find(function (col) {
79
+ var fixed = (_unref4 = unref(settingColumns)) === null || _unref4 === undefined || (_unref4 = _unref4.find(function (col) {
80
80
  return col.field === item.field;
81
- })) === null || _unref4 === void 0 ? void 0 : _unref4.fixed;
82
- item.hidden = !!!((_unref5 = unref(checkColumns)) !== null && _unref5 !== void 0 && _unref5.includes(item.field));
81
+ })) === null || _unref4 === undefined ? undefined : _unref4.fixed;
82
+ item.hidden = !!!((_unref5 = unref(checkColumns)) !== null && _unref5 !== undefined && _unref5.includes(item.field));
83
83
  item.fixed = fixed ? fixed : undefined;
84
84
  return item;
85
85
  });
@@ -92,28 +92,28 @@ var script = defineComponent({
92
92
  var initColumns = function initColumns(columns) {
93
93
  var _unref6, _unref7, _unref8, _unref9, _unref10;
94
94
  var isReStore = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
95
- var newColumns = columns === null || columns === void 0 ? void 0 : columns.filter(function (item) {
95
+ var newColumns = columns === null || columns === undefined ? undefined : columns.filter(function (item) {
96
96
  if (!isReStore) {
97
- item.fixed = item.fixed !== void 0 ? item.fixed : undefined;
97
+ item.fixed = item.fixed !== undefined ? item.fixed : undefined;
98
98
  }
99
99
  return item.type && !DEFAULT_FILTER_COLUMN.includes(item.type) || !item.type;
100
100
  });
101
- if (!((_unref6 = unref(oldColumns)) !== null && _unref6 !== void 0 && _unref6.length)) {
101
+ if (!((_unref6 = unref(oldColumns)) !== null && _unref6 !== undefined && _unref6.length)) {
102
102
  oldColumns.value = cloneDeep(newColumns);
103
103
  }
104
104
  settingColumns.value = cloneDeep(newColumns);
105
- hiddenColumns.value = cloneDeep(columns === null || columns === void 0 ? void 0 : columns.filter(function (item) {
105
+ hiddenColumns.value = cloneDeep(columns === null || columns === undefined ? undefined : columns.filter(function (item) {
106
106
  return item.type && DEFAULT_FILTER_COLUMN.includes(item.type);
107
107
  }));
108
- defaultCheckColumns.value = ((_unref7 = unref(settingColumns)) === null || _unref7 === void 0 ? void 0 : _unref7.map(function (item) {
108
+ defaultCheckColumns.value = ((_unref7 = unref(settingColumns)) === null || _unref7 === undefined ? undefined : _unref7.map(function (item) {
109
109
  return item.field;
110
110
  })) || [];
111
- checkColumns.value = ((_unref8 = unref(settingColumns)) === null || _unref8 === void 0 || (_unref8 = _unref8.filter(function (item) {
111
+ checkColumns.value = ((_unref8 = unref(settingColumns)) === null || _unref8 === undefined || (_unref8 = _unref8.filter(function (item) {
112
112
  return !item.hidden;
113
- })) === null || _unref8 === void 0 ? void 0 : _unref8.map(function (item) {
113
+ })) === null || _unref8 === undefined ? undefined : _unref8.map(function (item) {
114
114
  return item.field;
115
115
  })) || [];
116
- if (((_unref9 = unref(checkColumns)) === null || _unref9 === void 0 ? void 0 : _unref9.length) === ((_unref10 = unref(defaultCheckColumns)) === null || _unref10 === void 0 ? void 0 : _unref10.length)) {
116
+ if (((_unref9 = unref(checkColumns)) === null || _unref9 === undefined ? undefined : _unref9.length) === ((_unref10 = unref(defaultCheckColumns)) === null || _unref10 === undefined ? undefined : _unref10.length)) {
117
117
  checkAll.value = true;
118
118
  isIndeterminate.value = false;
119
119
  }
@@ -168,7 +168,7 @@ var script = defineComponent({
168
168
  }, {
169
169
  "default": withCtx(function () {
170
170
  var _settingColumns$value;
171
- return [createTextVNode(toDisplayString(checkColumns.value.length) + " / " + toDisplayString((_settingColumns$value = settingColumns.value) === null || _settingColumns$value === void 0 ? void 0 : _settingColumns$value.length), 1)];
171
+ return [createTextVNode(toDisplayString(checkColumns.value.length) + " / " + toDisplayString((_settingColumns$value = settingColumns.value) === null || _settingColumns$value === undefined ? undefined : _settingColumns$value.length), 1)];
172
172
  }),
173
173
  _: 1
174
174
  })]), createVNode(unref(ElText), null, {
@@ -176,7 +176,7 @@ var script = defineComponent({
176
176
  return _cache[4] || (_cache[4] = [createTextVNode("固定 / 排序")]);
177
177
  }),
178
178
  _: 1
179
- })]), (_settingColumns$value2 = settingColumns.value) !== null && _settingColumns$value2 !== void 0 && _settingColumns$value2.length ? (openBlock(), createElementBlock("div", _hoisted_3, [createVNode(unref(VueDraggable), {
179
+ })]), (_settingColumns$value2 = settingColumns.value) !== null && _settingColumns$value2 !== undefined && _settingColumns$value2.length ? (openBlock(), createElementBlock("div", _hoisted_3, [createVNode(unref(VueDraggable), {
180
180
  modelValue: settingColumns.value,
181
181
  "onUpdate:modelValue": _cache[2] || (_cache[2] = function ($event) {
182
182
  return settingColumns.value = $event;
@@ -78,7 +78,7 @@ var script = defineComponent({
78
78
  "command": v
79
79
  }, {
80
80
  "default": function _default() {
81
- return [sizeMap === null || sizeMap === void 0 ? void 0 : sizeMap[v]];
81
+ return [sizeMap === null || sizeMap === undefined ? undefined : sizeMap[v]];
82
82
  }
83
83
  });
84
84
  });
@@ -8,7 +8,7 @@ var t = function t(v) {
8
8
  };
9
9
  var useTable = function useTable(config) {
10
10
  var _config$immediate = config.immediate,
11
- immediate = _config$immediate === void 0 ? true : _config$immediate;
11
+ immediate = _config$immediate === undefined ? true : _config$immediate;
12
12
  var loading = ref(false);
13
13
  var currentPage = ref(1);
14
14
  var pageSize = ref(10);
@@ -74,7 +74,7 @@ var useTable = function useTable(config) {
74
74
  loading.value = true;
75
75
  _context2.prev = 1;
76
76
  _context2.next = 4;
77
- return config === null || config === void 0 ? void 0 : config.fetchDataApi();
77
+ return config === null || config === undefined ? undefined : config.fetchDataApi();
78
78
  case 4:
79
79
  res = _context2.sent;
80
80
  console.log('fetchDataApi res', res);
@@ -116,7 +116,7 @@ var useTable = function useTable(config) {
116
116
  return getTable();
117
117
  case 3:
118
118
  table = _context3.sent;
119
- table === null || table === void 0 || table.setProps(props);
119
+ table === null || table === undefined || table.setProps(props);
120
120
  case 5:
121
121
  case "end":
122
122
  return _context3.stop();
@@ -138,7 +138,7 @@ var useTable = function useTable(config) {
138
138
  return getTable();
139
139
  case 2:
140
140
  table = _context4.sent;
141
- table === null || table === void 0 || table.setColumn(columnProps);
141
+ table === null || table === undefined || table.setColumn(columnProps);
142
142
  case 4:
143
143
  case "end":
144
144
  return _context4.stop();
@@ -160,7 +160,7 @@ var useTable = function useTable(config) {
160
160
  return getTable();
161
161
  case 2:
162
162
  table = _context5.sent;
163
- table === null || table === void 0 || table.addColumn(tableColumn, index);
163
+ table === null || table === undefined || table.addColumn(tableColumn, index);
164
164
  case 4:
165
165
  case "end":
166
166
  return _context5.stop();
@@ -182,7 +182,7 @@ var useTable = function useTable(config) {
182
182
  return getTable();
183
183
  case 2:
184
184
  table = _context6.sent;
185
- table === null || table === void 0 || table.delColumn(field);
185
+ table === null || table === undefined || table.delColumn(field);
186
186
  case 4:
187
187
  case "end":
188
188
  return _context6.stop();
@@ -48,7 +48,7 @@ var script = defineComponent({
48
48
  }
49
49
  var hasTool = function hasTool(tool) {
50
50
  var _toolbox$value;
51
- return toolbox === null || toolbox === void 0 || (_toolbox$value = toolbox.value) === null || _toolbox$value === void 0 ? void 0 : _toolbox$value.includes(tool);
51
+ return toolbox === null || toolbox === undefined || (_toolbox$value = toolbox.value) === null || _toolbox$value === undefined ? undefined : _toolbox$value.includes(tool);
52
52
  };
53
53
  return function (_ctx, _cache) {
54
54
  return openBlock(), createElementBlock("div", {
@@ -8,7 +8,7 @@ import script$1 from '../../Stateful/src/Stateful.vue2.js';
8
8
  import script$2 from './ChartToolbox.vue2.js';
9
9
 
10
10
  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; }
11
- 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; }
11
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).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; }
12
12
  var script = defineComponent({
13
13
  __name: 'UnifyChart',
14
14
  props: unifyChartProps,
@@ -21,7 +21,7 @@ var script = defineComponent({
21
21
  _toRefs.stateful;
22
22
  var compState = computed(function () {
23
23
  var _props$stateful;
24
- return (_props$stateful = props.stateful) === null || _props$stateful === void 0 ? void 0 : _props$stateful.stringify;
24
+ return (_props$stateful = props.stateful) === null || _props$stateful === undefined ? undefined : _props$stateful.stringify;
25
25
  });
26
26
  var chartHooks = props.chartHooks,
27
27
  convert = props.convert;
@@ -8,18 +8,18 @@ import { isEmpty, isNullOrUnDef } from '@dfsj/utils';
8
8
 
9
9
  function useLoader(props, _ref) {
10
10
  var _ref$immediate = _ref.immediate,
11
- immediate = _ref$immediate === void 0 ? true : _ref$immediate,
11
+ immediate = _ref$immediate === undefined ? true : _ref$immediate,
12
12
  _ref$condition = _ref.condition,
13
- condition = _ref$condition === void 0 ? {} : _ref$condition,
13
+ condition = _ref$condition === undefined ? {} : _ref$condition,
14
14
  _ref$watchCondition = _ref.watchCondition,
15
- watchCondition = _ref$watchCondition === void 0 ? true : _ref$watchCondition;
15
+ watchCondition = _ref$watchCondition === undefined ? true : _ref$watchCondition;
16
16
  var datasource = ref();
17
17
  var stateful = new State(datasource.value != null ? StateEnum.FULL : StateEnum.NONE);
18
18
  var ins = getCurrentInstance();
19
19
  watch(function () {
20
20
  return stateful.state;
21
21
  }, function (value) {
22
- if (ins !== null && ins !== void 0 && ins.emit) {
22
+ if (ins !== null && ins !== undefined && ins.emit) {
23
23
  ins.emit('update:loading', stateful.isLoading);
24
24
  }
25
25
  }, {
@@ -41,7 +41,7 @@ function useLoader(props, _ref) {
41
41
  while (1) switch (_context.prev = _context.next) {
42
42
  case 0:
43
43
  stateful.loading();
44
- if (!((_props$options = props.options) !== null && _props$options !== void 0 && _props$options.loader)) {
44
+ if (!((_props$options = props.options) !== null && _props$options !== undefined && _props$options.loader)) {
45
45
  _context.next = 17;
46
46
  break;
47
47
  }
@@ -6,11 +6,11 @@ function useRender(config, datasource, toolbox) {
6
6
  var getInstance = config.getInstance,
7
7
  setOptions = config.setOptions,
8
8
  _config$transform = config.transform,
9
- transform = _config$transform === void 0 ? function (d) {
9
+ transform = _config$transform === undefined ? function (d) {
10
10
  return d;
11
11
  } : _config$transform,
12
12
  _config$createOptions = config.createOptions,
13
- createOptions = _config$createOptions === void 0 ? function (p) {
13
+ createOptions = _config$createOptions === undefined ? function (p) {
14
14
  return p;
15
15
  } : _config$createOptions,
16
16
  assemble = config.assemble,
@@ -21,7 +21,7 @@ function useRender(config, datasource, toolbox) {
21
21
  instance: getInstance,
22
22
  toggleTable: toggleTable,
23
23
  toggleStatistic: toggleStatistic,
24
- toolbox: toolbox !== null && toolbox !== void 0 ? toolbox : [EToolbox.Download, EToolbox.Table, EToolbox.Statistic]
24
+ toolbox: toolbox !== null && toolbox !== undefined ? toolbox : [EToolbox.Download, EToolbox.Table, EToolbox.Statistic]
25
25
  };
26
26
  });
27
27
  function refreshCharts(data) {
@@ -1,4 +1,4 @@
1
- import { propTypes } from '@dfsj/utils';
1
+ import propTypes from 'vue-types';
2
2
 
3
3
  var unifyChartProps = {
4
4
  data: propTypes.object.def({}),
@@ -3,11 +3,11 @@ import { defineComponent, ref, getCurrentInstance, onMounted, nextTick, toRaw, u
3
3
  import './VideoPlayerToolbar.vue.js';
4
4
  import { EventEnum } from './enums/CommonEnum.js';
5
5
  import VideoFactory from './control/VideoFactory.js';
6
- import { propTypes } from '@dfsj/utils';
6
+ import propTypes from 'vue-types';
7
7
  import script$1 from './VideoPlayerToolbar.vue2.js';
8
8
 
9
9
  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; }
10
- 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 _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).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; }
11
11
  var _hoisted_1 = {
12
12
  style: {
13
13
  "color": "white"
@@ -31,7 +31,7 @@ var script = defineComponent({
31
31
  var isPlay = ref(false);
32
32
  var isFullscreen = ref(false);
33
33
  var props = __props;
34
- var componentId = (_getCurrentInstance = getCurrentInstance()) === null || _getCurrentInstance === void 0 ? void 0 : _getCurrentInstance.uid;
34
+ var componentId = (_getCurrentInstance = getCurrentInstance()) === null || _getCurrentInstance === undefined ? undefined : _getCurrentInstance.uid;
35
35
  onMounted(function () {
36
36
  nextTick(function () {
37
37
  instance = VideoFactory.create(props.videoType, _objectSpread({
@@ -55,12 +55,12 @@ var script = defineComponent({
55
55
  function stop() {
56
56
  var _instance, _instance$stop;
57
57
  console.log('props.control', instance);
58
- (_instance = instance) === null || _instance === void 0 || (_instance$stop = _instance.stop) === null || _instance$stop === void 0 || _instance$stop.call(_instance);
58
+ (_instance = instance) === null || _instance === undefined || (_instance$stop = _instance.stop) === null || _instance$stop === undefined || _instance$stop.call(_instance);
59
59
  }
60
60
  function play() {
61
61
  var _instance2, _instance2$play;
62
62
  console.log('props.control', instance);
63
- (_instance2 = instance) === null || _instance2 === void 0 || (_instance2$play = _instance2.play) === null || _instance2$play === void 0 || _instance2$play.call(_instance2);
63
+ (_instance2 = instance) === null || _instance2 === undefined || (_instance2$play = _instance2.play) === null || _instance2$play === undefined || _instance2$play.call(_instance2);
64
64
  }
65
65
  function toggleFullScreen() {
66
66
  isFullscreen.value = !isFullscreen.value;
@@ -68,7 +68,7 @@ var script = defineComponent({
68
68
  }
69
69
  onBeforeUnmount(function () {
70
70
  var _instance3, _instance3$dispose;
71
- (_instance3 = instance) === null || _instance3 === void 0 || (_instance3$dispose = _instance3.dispose) === null || _instance3$dispose === void 0 || _instance3$dispose.call(_instance3);
71
+ (_instance3 = instance) === null || _instance3 === undefined || (_instance3$dispose = _instance3.dispose) === null || _instance3$dispose === undefined || _instance3$dispose.call(_instance3);
72
72
  instance = null;
73
73
  });
74
74
  function downloadFile() {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, toRefs, computed, openBlock, createElementBlock, renderSlot, createVNode, unref, mergeProps, withModifiers } from 'vue';
2
- import { useFullscreen } from '../../../node_modules/.pnpm/@vueuse_core@10.11.1_vue@3.5.12_typescript@5.6.2_/node_modules/@vueuse/core/index.js';
2
+ import { useFullscreen } from '../../../node_modules/.pnpm/@vueuse_core@10.11.1_vue@3.5.13_typescript@5.7.3_/node_modules/@vueuse/core/index.js';
3
3
  import '../../Icon/src/Icon.vue.js';
4
4
  import '../../Icon/src/SvgIcon.vue.js';
5
- import { propTypes } from '@dfsj/utils';
5
+ import propTypes from 'vue-types';
6
6
  import script$1 from '../../Icon/src/Icon.vue2.js';
7
7
 
8
8
  var _hoisted_1 = {
@@ -36,16 +36,16 @@ var script = defineComponent({
36
36
  function playToggle() {
37
37
  if (isPlay.value) {
38
38
  var _props$stop;
39
- (_props$stop = props.stop) === null || _props$stop === void 0 || _props$stop.call(props);
39
+ (_props$stop = props.stop) === null || _props$stop === undefined || _props$stop.call(props);
40
40
  } else {
41
41
  var _props$play;
42
- (_props$play = props.play) === null || _props$play === void 0 || _props$play.call(props);
42
+ (_props$play = props.play) === null || _props$play === undefined || _props$play.call(props);
43
43
  }
44
44
  }
45
45
  function fullToggle() {
46
46
  var _props$toggleFullscre;
47
47
  toggleDom();
48
- (_props$toggleFullscre = props.toggleFullscreenFn) === null || _props$toggleFullscre === void 0 || _props$toggleFullscre.call(props);
48
+ (_props$toggleFullscre = props.toggleFullscreenFn) === null || _props$toggleFullscre === undefined || _props$toggleFullscre.call(props);
49
49
  }
50
50
  return function (_ctx, _cache) {
51
51
  return openBlock(), createElementBlock("div", _hoisted_1, [renderSlot(_ctx.$slots, "default"), createVNode(unref(script$1), mergeProps({
@@ -13,19 +13,19 @@ var VideoControl = /*#__PURE__*/function (_Observable) {
13
13
  var _this;
14
14
  _classCallCheck(this, VideoControl);
15
15
  _this = _callSuper(this, VideoControl);
16
- _defineProperty(_this, "ip", void 0);
17
- _defineProperty(_this, "port", void 0);
18
- _defineProperty(_this, "channel", void 0);
19
- _defineProperty(_this, "streamType", void 0);
20
- _defineProperty(_this, "username", void 0);
21
- _defineProperty(_this, "password", void 0);
22
- _defineProperty(_this, "wrapEl", void 0);
23
- _defineProperty(_this, "isPlayback", void 0);
24
- _defineProperty(_this, "playbackIndex", void 0);
25
- _defineProperty(_this, "state", void 0);
26
- _defineProperty(_this, "player", void 0);
27
- _defineProperty(_this, "needPlugin", void 0);
28
- _defineProperty(_this, "needLogin", void 0);
16
+ _defineProperty(_this, "ip", undefined);
17
+ _defineProperty(_this, "port", undefined);
18
+ _defineProperty(_this, "channel", undefined);
19
+ _defineProperty(_this, "streamType", undefined);
20
+ _defineProperty(_this, "username", undefined);
21
+ _defineProperty(_this, "password", undefined);
22
+ _defineProperty(_this, "wrapEl", undefined);
23
+ _defineProperty(_this, "isPlayback", undefined);
24
+ _defineProperty(_this, "playbackIndex", undefined);
25
+ _defineProperty(_this, "state", undefined);
26
+ _defineProperty(_this, "player", undefined);
27
+ _defineProperty(_this, "needPlugin", undefined);
28
+ _defineProperty(_this, "needLogin", undefined);
29
29
  console.log('opt', opt);
30
30
  _this.ip = opt.ip;
31
31
  _this.port = opt.port;
@@ -8,8 +8,8 @@ import VideoControl from '../abstract/VideoControl.js';
8
8
  import { EventEnum } from '../enums/CommonEnum.js';
9
9
 
10
10
  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; }
11
- 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; }
12
- function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
11
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).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; }
12
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e, _getPrototypeOf(t).constructor) : o.apply(t, e)); }
13
13
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
14
14
  var DEF = {
15
15
  ip: '172.168.1.247',
@@ -24,8 +24,8 @@ var DaHua = /*#__PURE__*/function (_VideoControl) {
24
24
  var _this;
25
25
  _classCallCheck(this, DaHua);
26
26
  _this = _callSuper(this, DaHua, [_objectSpread(_objectSpread({}, DEF), opts)]);
27
- _defineProperty(_this, "canvasEl", void 0);
28
- _defineProperty(_this, "videoEl", void 0);
27
+ _defineProperty(_this, "canvasEl", undefined);
28
+ _defineProperty(_this, "videoEl", undefined);
29
29
  _this.isPlayback = false;
30
30
  _this.playbackIndex = 0;
31
31
  _this.generateEl();
@@ -49,7 +49,7 @@ var DaHua = /*#__PURE__*/function (_VideoControl) {
49
49
  key: "removeEl",
50
50
  value: function removeEl() {
51
51
  var remove = function remove(el) {
52
- var parent = el === null || el === void 0 ? void 0 : el.parentNode;
52
+ var parent = el === null || el === undefined ? undefined : el.parentNode;
53
53
  if (parent) {
54
54
  parent.removeChild(el);
55
55
  }
@@ -77,7 +77,7 @@ var DaHua = /*#__PURE__*/function (_VideoControl) {
77
77
  key: "stop",
78
78
  value: function stop() {
79
79
  var _this$player, _this$player$pause;
80
- this === null || this === void 0 || (_this$player = this.player) === null || _this$player === void 0 || (_this$player$pause = _this$player.pause) === null || _this$player$pause === void 0 || _this$player$pause.call(_this$player);
80
+ this === null || this === undefined || (_this$player = this.player) === null || _this$player === undefined || (_this$player$pause = _this$player.pause) === null || _this$player$pause === undefined || _this$player$pause.call(_this$player);
81
81
  this.dispatch(EventEnum.PAUSE, {
82
82
  type: 'Pause',
83
83
  target: this
@@ -143,8 +143,8 @@ var DaHua = /*#__PURE__*/function (_VideoControl) {
143
143
  type: 'dispose',
144
144
  target: this
145
145
  });
146
- this.player && ((_this$player2 = this.player) === null || _this$player2 === void 0 || (_this$player2$stop = _this$player2.stop) === null || _this$player2$stop === void 0 ? void 0 : _this$player2$stop.call(_this$player2));
147
- this.player && ((_this$player3 = this.player) === null || _this$player3 === void 0 || (_this$player3$close = _this$player3.close) === null || _this$player3$close === void 0 ? void 0 : _this$player3$close.call(_this$player3));
146
+ this.player && ((_this$player2 = this.player) === null || _this$player2 === undefined || (_this$player2$stop = _this$player2.stop) === null || _this$player2$stop === undefined ? undefined : _this$player2$stop.call(_this$player2));
147
+ this.player && ((_this$player3 = this.player) === null || _this$player3 === undefined || (_this$player3$close = _this$player3.close) === null || _this$player3$close === undefined ? undefined : _this$player3$close.call(_this$player3));
148
148
  this.removeEl();
149
149
  this.player = null;
150
150
  }
@@ -8,8 +8,8 @@ import VideoControl from '../abstract/VideoControl.js';
8
8
  import { EventEnum } from '../enums/CommonEnum.js';
9
9
 
10
10
  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; }
11
- 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; }
12
- function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
11
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).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; }
12
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e, _getPrototypeOf(t).constructor) : o.apply(t, e)); }
13
13
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
14
14
  var DEF = {
15
15
  ip: '172.168.1.247',
@@ -29,11 +29,11 @@ var Hikvision = /*#__PURE__*/function (_VideoControl) {
29
29
  _classCallCheck(this, Hikvision);
30
30
  var def = _objectSpread(_objectSpread({}, DEF), opts);
31
31
  _this = _callSuper(this, Hikvision, [def]);
32
- _defineProperty(_this, "width", void 0);
33
- _defineProperty(_this, "height", void 0);
34
- _defineProperty(_this, "elId", void 0);
35
- _defineProperty(_this, "container", void 0);
36
- _defineProperty(_this, "szBasePath", void 0);
32
+ _defineProperty(_this, "width", undefined);
33
+ _defineProperty(_this, "height", undefined);
34
+ _defineProperty(_this, "elId", undefined);
35
+ _defineProperty(_this, "container", undefined);
36
+ _defineProperty(_this, "szBasePath", undefined);
37
37
  _this.isPlayback = false;
38
38
  _this.playbackIndex = 0;
39
39
  _this.needPlugin = true;
@@ -84,7 +84,7 @@ var Hikvision = /*#__PURE__*/function (_VideoControl) {
84
84
  value: function generateEl() {
85
85
  var _this$width, _this$height;
86
86
  this.container = document.createElement('div');
87
- this.container.style.cssText = "width: ".concat((_this$width = this.width) !== null && _this$width !== void 0 ? _this$width : '100%', ";height: ").concat((_this$height = this.height) !== null && _this$height !== void 0 ? _this$height : '100%', ";");
87
+ this.container.style.cssText = "width: ".concat((_this$width = this.width) !== null && _this$width !== undefined ? _this$width : '100%', ";height: ").concat((_this$height = this.height) !== null && _this$height !== undefined ? _this$height : '100%', ";");
88
88
  this.container.setAttribute('id', this.pluginElId);
89
89
  if (this.wrapEl) {
90
90
  this.wrapEl.appendChild(this.container);
@@ -94,7 +94,7 @@ var Hikvision = /*#__PURE__*/function (_VideoControl) {
94
94
  key: "removeEl",
95
95
  value: function removeEl() {
96
96
  var remove = function remove(el) {
97
- var parent = el === null || el === void 0 ? void 0 : el.parentNode;
97
+ var parent = el === null || el === undefined ? undefined : el.parentNode;
98
98
  if (parent) {
99
99
  parent.removeChild(el);
100
100
  }
@@ -123,7 +123,7 @@ var Hikvision = /*#__PURE__*/function (_VideoControl) {
123
123
  value: function play() {
124
124
  var _WebVideoCtrl,
125
125
  _this2 = this;
126
- var oWndInfo = (_WebVideoCtrl = WebVideoCtrl) === null || _WebVideoCtrl === void 0 ? void 0 : _WebVideoCtrl.I_GetWindowStatus(0);
126
+ var oWndInfo = (_WebVideoCtrl = WebVideoCtrl) === null || _WebVideoCtrl === undefined ? undefined : _WebVideoCtrl.I_GetWindowStatus(0);
127
127
  var startRealPlay = function startRealPlay() {
128
128
  WebVideoCtrl.I_StartRealPlay(_this2.identify, {
129
129
  iStreamType: _this2.streamType,
@@ -199,7 +199,7 @@ var Hikvision = /*#__PURE__*/function (_VideoControl) {
199
199
  port = this.port,
200
200
  username = this.username,
201
201
  password = this.password;
202
- (_WebVideoCtrl2 = WebVideoCtrl) === null || _WebVideoCtrl2 === void 0 || _WebVideoCtrl2.I_Login(ip, 1, port, username, password, {
202
+ (_WebVideoCtrl2 = WebVideoCtrl) === null || _WebVideoCtrl2 === undefined || _WebVideoCtrl2.I_Login(ip, 1, port, username, password, {
203
203
  timeout: 3000,
204
204
  success: function success(xmlDoc) {
205
205
  console.log('登录成功', xmlDoc);
@@ -219,7 +219,7 @@ var Hikvision = /*#__PURE__*/function (_VideoControl) {
219
219
  value: function logout() {
220
220
  var _WebVideoCtrl3,
221
221
  _this5 = this;
222
- (_WebVideoCtrl3 = WebVideoCtrl) === null || _WebVideoCtrl3 === void 0 || _WebVideoCtrl3.I_Logout(this.identify).then(function () {
222
+ (_WebVideoCtrl3 = WebVideoCtrl) === null || _WebVideoCtrl3 === undefined || _WebVideoCtrl3.I_Logout(this.identify).then(function () {
223
223
  console.log('退出成功');
224
224
  }, function () {
225
225
  console.log('退出失败');
@@ -8,9 +8,9 @@ import def from './config/default.manager.js';
8
8
  var BufferLayerPlayer = /*#__PURE__*/function () {
9
9
  function BufferLayerPlayer(manager, provider, options) {
10
10
  _classCallCheck(this, BufferLayerPlayer);
11
- _defineProperty(this, "manager", void 0);
12
- _defineProperty(this, "provider", void 0);
13
- _defineProperty(this, "options", void 0);
11
+ _defineProperty(this, "manager", undefined);
12
+ _defineProperty(this, "provider", undefined);
13
+ _defineProperty(this, "options", undefined);
14
14
  _defineProperty(this, "queue", []);
15
15
  _defineProperty(this, "index", 0);
16
16
  _defineProperty(this, "cursor", 0);
@@ -204,12 +204,12 @@ var BufferLayerPlayer = /*#__PURE__*/function () {
204
204
  while (1) switch (_context4.prev = _context4.next) {
205
205
  case 0:
206
206
  _context4.next = 2;
207
- return (_this$provider = this.provider) === null || _this$provider === void 0 ? void 0 : _this$provider.get(index);
207
+ return (_this$provider = this.provider) === null || _this$provider === undefined ? undefined : _this$provider.get(index);
208
208
  case 2:
209
209
  layer = _context4.sent;
210
- opacity = (_this$manager = this.manager) === null || _this$manager === void 0 ? void 0 : _this$manager.query(layer, "opacity");
211
- (_this$manager2 = this.manager) === null || _this$manager2 === void 0 || _this$manager2.modify(layer, "$opacity", opacity);
212
- (_this$manager3 = this.manager) === null || _this$manager3 === void 0 || _this$manager3.modify(layer, "opacity", 0);
210
+ opacity = (_this$manager = this.manager) === null || _this$manager === undefined ? undefined : _this$manager.query(layer, "opacity");
211
+ (_this$manager2 = this.manager) === null || _this$manager2 === undefined || _this$manager2.modify(layer, "$opacity", opacity);
212
+ (_this$manager3 = this.manager) === null || _this$manager3 === undefined || _this$manager3.modify(layer, "opacity", 0);
213
213
  return _context4.abrupt("return", layer);
214
214
  case 7:
215
215
  case "end":
@@ -238,7 +238,7 @@ var BufferLayerPlayer = /*#__PURE__*/function () {
238
238
  _context5.next = 13;
239
239
  break;
240
240
  }
241
- _context5.t0 = (_this$queue = this.queue) === null || _this$queue === void 0;
241
+ _context5.t0 = (_this$queue = this.queue) === null || _this$queue === undefined;
242
242
  if (_context5.t0) {
243
243
  _context5.next = 10;
244
244
  break;
@@ -256,9 +256,9 @@ var BufferLayerPlayer = /*#__PURE__*/function () {
256
256
  case 13:
257
257
  this.index = index;
258
258
  this.cursor = 0;
259
- this.center = ((_this$queue2 = this.queue) === null || _this$queue2 === void 0 ? void 0 : _this$queue2.length) >> 1;
259
+ this.center = ((_this$queue2 = this.queue) === null || _this$queue2 === undefined ? undefined : _this$queue2.length) >> 1;
260
260
  _context5.next = 18;
261
- return (_this$manager4 = this.manager) === null || _this$manager4 === void 0 ? void 0 : _this$manager4.addition(this.queue);
261
+ return (_this$manager4 = this.manager) === null || _this$manager4 === undefined ? undefined : _this$manager4.addition(this.queue);
262
262
  case 18:
263
263
  this.render();
264
264
  case 19:
@@ -280,7 +280,7 @@ var BufferLayerPlayer = /*#__PURE__*/function () {
280
280
  if (this.last && this.last !== queue[cursor]) {
281
281
  this.manager.modify(this.last, "opacity", 0);
282
282
  }
283
- if (!queue || (queue === null || queue === void 0 ? void 0 : queue.length) <= 0) return;
283
+ if (!queue || (queue === null || queue === undefined ? undefined : queue.length) <= 0) return;
284
284
  if ((this.last = queue[cursor]) != null) {
285
285
  var opacity = this.manager.query(queue[cursor], "$opacity");
286
286
  this.manager.modify(queue[cursor], "opacity", opacity);
@@ -20,14 +20,14 @@ var ResolvableLayerProvider = /*#__PURE__*/function (_AbstractNodeProvider) {
20
20
  var _this;
21
21
  _classCallCheck(this, ResolvableLayerProvider);
22
22
  _this = _callSuper(this, ResolvableLayerProvider);
23
- _defineProperty(_this, "factory", void 0);
24
- _defineProperty(_this, "interceptor", void 0);
25
- _defineProperty(_this, "config", void 0);
23
+ _defineProperty(_this, "factory", undefined);
24
+ _defineProperty(_this, "interceptor", undefined);
25
+ _defineProperty(_this, "config", undefined);
26
26
  _defineProperty(_this, "cache", [-1, null]);
27
27
  _defineProperty(_this, "total", 0);
28
28
  _defineProperty(_this, "marks", []);
29
- _defineProperty(_this, "init", void 0);
30
- _defineProperty(_this, "back", void 0);
29
+ _defineProperty(_this, "init", undefined);
30
+ _defineProperty(_this, "back", undefined);
31
31
  _defineProperty(_this, "options", null);
32
32
  _defineProperty(_this, "extended", 0);
33
33
  _defineProperty(_this, "nodes", []);
@@ -5,19 +5,19 @@ import { DateTime } from 'luxon';
5
5
  import { toFormat, getFormatDate, getCount } from './tools.resolver.js';
6
6
 
7
7
  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; }
8
- 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; }
8
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).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; }
9
9
  var EMPTY_STRING = Object.freeze("");
10
10
  var IntervalResolver = /*#__PURE__*/function () {
11
11
  function IntervalResolver(options, injection) {
12
12
  _classCallCheck(this, IntervalResolver);
13
- _defineProperty(this, "options", void 0);
14
- _defineProperty(this, "injection", void 0);
15
- _defineProperty(this, "range", void 0);
16
- _defineProperty(this, "step", void 0);
17
- _defineProperty(this, "unit", void 0);
18
- _defineProperty(this, "transform", void 0);
19
- _defineProperty(this, "layer", void 0);
20
- _defineProperty(this, "total", void 0);
13
+ _defineProperty(this, "options", undefined);
14
+ _defineProperty(this, "injection", undefined);
15
+ _defineProperty(this, "range", undefined);
16
+ _defineProperty(this, "step", undefined);
17
+ _defineProperty(this, "unit", undefined);
18
+ _defineProperty(this, "transform", undefined);
19
+ _defineProperty(this, "layer", undefined);
20
+ _defineProperty(this, "total", undefined);
21
21
  this.options = options;
22
22
  this.injection = injection;
23
23
  this.transform = options.transform;
@@ -60,7 +60,7 @@ var NodeMath = /*#__PURE__*/function () {
60
60
  key: "translation",
61
61
  value: function translation(nodes, step) {
62
62
  var start = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
63
- var count = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : nodes === null || nodes === void 0 ? void 0 : nodes.length;
63
+ var count = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : nodes === null || nodes === undefined ? undefined : nodes.length;
64
64
  for (var i = start + count - 1; i >= 0; i--) nodes[i] += step;
65
65
  }
66
66
  }, {