@chaoswise/business 1.0.3 → 1.0.5

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 (30) hide show
  1. package/lib/AggregateSearch/CLSPL/CLQLLexer.js +16 -18
  2. package/lib/AggregateSearch/CLSPL/CLQLParser.js +171 -244
  3. package/lib/AggregateSearch/CLSPL/CLQLParserListener.js +14 -16
  4. package/lib/AggregateSearch/CLSPL/CLQLParserVisitor.js +14 -16
  5. package/lib/AggregateSearch/CLSPL/SPLStagy.js +14 -16
  6. package/lib/AggregateSearch/CLSPL/index.js +24 -28
  7. package/lib/AggregateSearch/components/CloseAllIcon/index.js +1 -1
  8. package/lib/AggregateSearch/components/DropDown/index.js +19 -20
  9. package/lib/AggregateSearch/hooks/useDropDown.js +41 -17
  10. package/lib/AggregateSearch/index.js +98 -27
  11. package/lib/AggregateSearch/index.less +29 -17
  12. package/lib/AggregateSearch/utils/index.js +12 -12
  13. package/lib/ContentEditableSearch/components/CloseAllIcon/index.js +1 -1
  14. package/lib/ContentEditableSearch/index.js +8 -8
  15. package/lib/ContentEditableSearch/utils/index.js +6 -6
  16. package/lib/PropertyControlViewer/components/DoAppIcon/CustomIcon/index.js +4 -4
  17. package/lib/PropertyControlViewer/components/DoAppIcon/index.js +3 -3
  18. package/lib/PropertyControlViewer/components/DoCiUnitBitmap.js +3 -3
  19. package/lib/PropertyControlViewer/components/DoCommon.js +1 -1
  20. package/lib/PropertyControlViewer/components/DoImage.js +10 -10
  21. package/lib/PropertyControlViewer/components/DoQuote/components/QuoteView.js +3 -3
  22. package/lib/PropertyControlViewer/components/DoSelect.js +8 -8
  23. package/lib/PropertyControlViewer/components/DoUser.js +1 -1
  24. package/lib/PropertyControlViewer/components/TagShowMoreList/index.js +9 -9
  25. package/lib/PropertyControlViewer/config/utils.js +2 -2
  26. package/lib/PropertyControlViewer/index.js +5 -5
  27. package/lib/Watermark/index.js +17 -16
  28. package/lib/locales/intl.js +10 -11
  29. package/lib/locales/withLocale.js +14 -16
  30. package/package.json +5 -5
@@ -1,16 +1,16 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
3
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
4
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
5
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
6
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
7
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
9
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
10
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
11
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
12
- 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; }
13
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
2
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
3
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
4
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
5
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
6
+ function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
7
+ function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
8
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
9
+ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
10
+ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
11
+ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
12
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
13
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
14
  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); }
15
15
  // Generated from /Users/changle/Documents/code/doop/cql/src/main/resources/antlr/cql/CLQLLexer.g4 by ANTLR 4.9.2
16
16
  // jshint ignore: start
@@ -21,22 +21,20 @@ var decisionsToDFA = atn.decisionToState.map(function (ds, index) {
21
21
  return new antlr4.dfa.DFA(ds, index);
22
22
  });
23
23
  var CLQLLexer = /*#__PURE__*/function (_antlr4$Lexer) {
24
- _inherits(CLQLLexer, _antlr4$Lexer);
25
- var _super = _createSuper(CLQLLexer);
26
24
  function CLQLLexer(input) {
27
25
  var _this;
28
26
  _classCallCheck(this, CLQLLexer);
29
- _this = _super.call(this, input);
30
- _this._interp = new antlr4.atn.LexerATNSimulator(_assertThisInitialized(_this), atn, decisionsToDFA, new antlr4.PredictionContextCache());
27
+ _this = _callSuper(this, CLQLLexer, [input]);
28
+ _this._interp = new antlr4.atn.LexerATNSimulator(_this, atn, decisionsToDFA, new antlr4.PredictionContextCache());
31
29
  return _this;
32
30
  }
33
- _createClass(CLQLLexer, [{
31
+ _inherits(CLQLLexer, _antlr4$Lexer);
32
+ return _createClass(CLQLLexer, [{
34
33
  key: "atn",
35
34
  get: function get() {
36
35
  return atn;
37
36
  }
38
37
  }]);
39
- return CLQLLexer;
40
38
  }(antlr4.Lexer);
41
39
  _defineProperty(CLQLLexer, "grammarFileName", 'CLQLLexer.g4');
42
40
  _defineProperty(CLQLLexer, "channelNames", ['DEFAULT_TOKEN_CHANNEL', 'HIDDEN']);