@chaoswise/business 1.1.0 → 2.1.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 (82) hide show
  1. package/lib/I18nInput/index.d.ts +31 -0
  2. package/lib/I18nInput/index.js +159 -58
  3. package/lib/index.d.ts +1 -0
  4. package/lib/index.js +0 -4
  5. package/lib/locales/en_US.json +1 -1
  6. package/lib/locales/index.d.ts +7 -0
  7. package/lib/locales/index.js +15 -19
  8. package/lib/locales/intl.d.ts +11 -0
  9. package/lib/locales/intl.js +18 -58
  10. package/lib/locales/ja_JP.json +1 -1
  11. package/lib/locales/normalizeLocale.d.ts +2 -0
  12. package/lib/locales/normalizeLocale.js +27 -0
  13. package/lib/locales/withLocale.d.ts +28 -0
  14. package/lib/locales/withLocale.js +1 -1
  15. package/lib/locales/zh_CN.json +1 -1
  16. package/lib/locales/zh_HK.json +1 -1
  17. package/lib/locales/zh_TW.json +1 -1
  18. package/package.json +8 -6
  19. package/lib/AggregateSearch/CLSPL/CLQLLexer.js +0 -78
  20. package/lib/AggregateSearch/CLSPL/CLQLParser.js +0 -2724
  21. package/lib/AggregateSearch/CLSPL/CLQLParserListener.js +0 -347
  22. package/lib/AggregateSearch/CLSPL/CLQLParserVisitor.js +0 -251
  23. package/lib/AggregateSearch/CLSPL/SPLStagy.js +0 -197
  24. package/lib/AggregateSearch/CLSPL/index.js +0 -196
  25. package/lib/AggregateSearch/CLSPL/makeTokenizeFn.js +0 -18
  26. package/lib/AggregateSearch/CLSPL/token.js +0 -7
  27. package/lib/AggregateSearch/components/CloseAllIcon/index.js +0 -13
  28. package/lib/AggregateSearch/components/CloseAllIcon/index.less +0 -11
  29. package/lib/AggregateSearch/components/DropDown/assets/combined.svg +0 -22
  30. package/lib/AggregateSearch/components/DropDown/assets/copy.svg +0 -22
  31. package/lib/AggregateSearch/components/DropDown/assets/delete.svg +0 -24
  32. package/lib/AggregateSearch/components/DropDown/assets/home.svg +0 -20
  33. package/lib/AggregateSearch/components/DropDown/assets/key.svg +0 -21
  34. package/lib/AggregateSearch/components/DropDown/assets/star.svg +0 -22
  35. package/lib/AggregateSearch/components/DropDown/assets/time-circle.svg +0 -20
  36. package/lib/AggregateSearch/components/DropDown/assets/value.svg +0 -23
  37. package/lib/AggregateSearch/components/DropDown/config.js +0 -54
  38. package/lib/AggregateSearch/components/DropDown/index.js +0 -576
  39. package/lib/AggregateSearch/components/DropDown/index.less +0 -118
  40. package/lib/AggregateSearch/components/SwitchBtn/assets/tag-icon.svg +0 -17
  41. package/lib/AggregateSearch/components/SwitchBtn/assets/text-icon.svg +0 -18
  42. package/lib/AggregateSearch/components/SwitchBtn/index.js +0 -27
  43. package/lib/AggregateSearch/components/SwitchBtn/index.less +0 -31
  44. package/lib/AggregateSearch/hooks/useDropDown.js +0 -428
  45. package/lib/AggregateSearch/index.js +0 -503
  46. package/lib/AggregateSearch/index.less +0 -225
  47. package/lib/AggregateSearch/utils/index.js +0 -391
  48. package/lib/ContentEditableSearch/components/CloseAllIcon/index.js +0 -13
  49. package/lib/ContentEditableSearch/components/CloseAllIcon/index.less +0 -11
  50. package/lib/ContentEditableSearch/index.js +0 -155
  51. package/lib/ContentEditableSearch/index.less +0 -65
  52. package/lib/ContentEditableSearch/utils/index.js +0 -98
  53. package/lib/PropertyControlViewer/assets/doCommon.less +0 -75
  54. package/lib/PropertyControlViewer/assets/doSelect.less +0 -74
  55. package/lib/PropertyControlViewer/assets/index.less +0 -189
  56. package/lib/PropertyControlViewer/components/DoAppIcon/CustomIcon/iconfont.js +0 -1
  57. package/lib/PropertyControlViewer/components/DoAppIcon/CustomIcon/index.js +0 -29
  58. package/lib/PropertyControlViewer/components/DoAppIcon/iconData/IconJson.js +0 -0
  59. package/lib/PropertyControlViewer/components/DoAppIcon/index.js +0 -41
  60. package/lib/PropertyControlViewer/components/DoCiUnitBitmap.js +0 -50
  61. package/lib/PropertyControlViewer/components/DoCommon.js +0 -36
  62. package/lib/PropertyControlViewer/components/DoDefaultPlaceholder.js +0 -9
  63. package/lib/PropertyControlViewer/components/DoImage.js +0 -107
  64. package/lib/PropertyControlViewer/components/DoQuote/components/QuoteView.js +0 -63
  65. package/lib/PropertyControlViewer/components/DoQuote/components/TableQuoteView.js +0 -18
  66. package/lib/PropertyControlViewer/components/DoQuote/index.js +0 -16
  67. package/lib/PropertyControlViewer/components/DoSelect.js +0 -80
  68. package/lib/PropertyControlViewer/components/DoTable.js +0 -44
  69. package/lib/PropertyControlViewer/components/DoUser.js +0 -61
  70. package/lib/PropertyControlViewer/components/TagShowMoreList/index.js +0 -132
  71. package/lib/PropertyControlViewer/components/TagShowMoreList/index.less +0 -106
  72. package/lib/PropertyControlViewer/config/constants.js +0 -84
  73. package/lib/PropertyControlViewer/config/utils.js +0 -353
  74. package/lib/PropertyControlViewer/index.js +0 -195
  75. package/lib/PropertyControlViewer/index.less +0 -107
  76. package/lib/Watermark/index.js +0 -184
  77. package/lib/Watermark/index.less +0 -17
  78. package/lib/demo.js +0 -0
  79. package/lib/locale/en_US.js +0 -9
  80. package/lib/locale/index.js +0 -12
  81. package/lib/locale/zh_CN.js +0 -9
  82. package/lib/locales/localeCode.js +0 -13
@@ -0,0 +1,27 @@
1
+ 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; }
2
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
3
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); }
4
+ 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); }
5
+ // 格式规范化不决定产品支持范围;保留已有短码兼容。
6
+ export var normalizeLocale = function normalizeLocale(locale) {
7
+ if (typeof locale !== 'string') return locale;
8
+ var formatted = locale.trim().replace(/-/g, '_');
9
+ var legacy = {
10
+ zh: 'zh_CN',
11
+ en: 'en_US',
12
+ ja: 'ja_JP'
13
+ };
14
+ if (Object.prototype.hasOwnProperty.call(legacy, formatted)) return legacy[formatted];
15
+ return formatted.replace(/^([a-z]{2})_([a-z]{2})$/i, function (_, language, region) {
16
+ return "".concat(language.toLowerCase(), "_").concat(region.toUpperCase());
17
+ });
18
+ };
19
+ // 多语言数据统一使用完整下划线键;同时存在别名和标准键时,标准键优先(包括空值)。
20
+ export var normalizeLocaleRecord = function normalizeLocaleRecord(record) {
21
+ if (!record || _typeof(record) !== 'object' || Array.isArray(record)) return record;
22
+ return Object.keys(record).reduce(function (result, key) {
23
+ var locale = normalizeLocale(key);
24
+ var value = Object.prototype.hasOwnProperty.call(record, locale) ? record[locale] : record[key];
25
+ return Object.assign(Object.assign({}, result), _defineProperty({}, locale, value));
26
+ }, {});
27
+ };
@@ -0,0 +1,28 @@
1
+ export default function withLocale(WrappedComponent: any): {
2
+ new (props: any): {
3
+ render(): void;
4
+ context: any;
5
+ setState<K extends string | number | symbol>(state: any, callback?: () => void): void;
6
+ forceUpdate(callback?: () => void): void;
7
+ readonly props: Readonly<any> & Readonly<{
8
+ children?: React.ReactNode;
9
+ }>;
10
+ state: Readonly<any>;
11
+ refs: {
12
+ [key: string]: React.ReactInstance;
13
+ };
14
+ componentDidMount?(): void;
15
+ shouldComponentUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): boolean;
16
+ componentWillUnmount?(): void;
17
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
18
+ getSnapshotBeforeUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>): any;
19
+ componentDidUpdate?(prevProps: Readonly<any>, prevState: Readonly<any>, snapshot?: any): void;
20
+ componentWillMount?(): void;
21
+ UNSAFE_componentWillMount?(): void;
22
+ componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
23
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<any>, nextContext: any): void;
24
+ componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
25
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<any>, nextState: Readonly<any>, nextContext: any): void;
26
+ };
27
+ contextType?: React.Context<any>;
28
+ };
@@ -26,7 +26,7 @@ export default function withLocale(WrappedComponent) {
26
26
  value: function render() {
27
27
  var _this = this;
28
28
  /*#__PURE__*/React.createElement(intlContext.Consumer, null, function (value) {
29
- return /*#__PURE__*/React.createElement(WrappedComponent, _this.props);
29
+ return /*#__PURE__*/React.createElement(WrappedComponent, Object.assign({}, _this.props));
30
30
  });
31
31
  }
32
32
  }]);
@@ -1 +1 @@
1
- {"0ee18787-448b-4f7b-a3f2-5067a38c9a26":"用户组:","15444b85-9196-4bb6-97bd-eb5cd4186cb9":"搜索条件已复制","19d6c313-9540-4042-b642-ebc6396ca0c7":"取消","1cd159c8-2a4d-4208-a170-55a34b91f671":"暂无数据,提交搜索后搜索关键字","1e9cc6b2-f761-4aaa-a216-9f842c6f8fce":"切换为筛选模式","229e8f35-ce6c-403a-b52e-05346dd8eb0b":"通配符:*?","2bf0d704-4106-4359-8488-d0e395f37d34":"在 {slot0} 后缺失 {slot1}","2e8bd2b4-57bf-4778-a254-3b577d0241c5":"组合符号","30a2737a-c786-4f9f-bb22-02ca27a557ff":"结束","3190d9a0-41bf-42b3-adf9-9d22a337f65d":"部门","324f8bc5-e6dc-46b5-a18b-8c4e55c7352e":"分组","3431b29b-5fb7-411f-8a1d-8d7676b03264":"帮助文档","354fbc6d-1abb-4510-81a9-9aa2efa6f482":"搜索历史","3f52c2a1-892d-47fe-b296-49a35ff8c4ee":"语法错误","43395ce9-35f2-4a6d-9e84-8c277369157b":"用户名","4412a02d-d11d-4231-bf91-fd65afd9ea77":"标签搜索","47e5459f-882c-4395-a8f1-d49e89b0a263":"不等于","48b09da1-28bf-497d-a327-0ad6e3ef9af1":"括号","4ced2ca1-2a3f-49d9-9907-1b404d5a1586":"存在 <未知输入>","51b43939-ce6a-4a41-9038-832b8ab4a175":"加载中...","5b412c79-b099-47cd-8745-21264d9212c4":"姓名","5faa90fc-6455-499a-a0d5-c7ff9c9867df":"切换为手写CQL语法模式","632edd96-893f-4599-b1a3-0406e2146010":"确定","7058c2d9-91f3-4fe6-8a38-2c145a627959":"小于","719234f9-de71-4fc6-ab3f-59287ff20570":"大于","79279aa4-ad27-4082-8093-06122d68c611":"部门:","88d7ad39-7f49-459f-a1fd-48dd4c0ff9d5":"邮箱:","8b3465a5-e2ca-4f7c-af17-2cb091ef40fe":"{slot0} 后面,期望 {slot1}","905a2fe5-4c8a-467e-813a-963fdb268b10":"手机","914a6df4-9561-4345-a98c-0559e3f787ff":"小于等于","94f38306-0e2c-4d1c-beff-64d14bd7da20":"不必要输入 {tokenName} ,期望 {slot0}","99b301b7-f153-4861-8ca3-22371b6b95d9":"请输入","b2df07f1-b093-4f56-9ec2-af471999634d":"位置","b59f74be-dff0-4e3e-92db-354b475c3efd":"用户名:","bc71d288-1654-454d-8639-5ed225d8d6f6":"用户组","bdfe4b04-efd7-4f93-a6ba-3954aca3b0eb":"数值区间","be953f09-653f-4715-a3b9-9e0faef199b3":"全文检索:hello world","cfbba0e5-b133-4bd7-9b8c-3c92368fe049":"姓名:","d6f72140-92e1-4214-8bcb-d548fa8ed1ce":"语句不完整,缺少结尾","db3f4bef-089e-4144-861d-29f79fa4cd38":"手机:","df7b8ec5-840a-4fc7-aa8c-806d470ec97c":"等于","e25f1462-c823-434a-a6b2-4258dd57930a":"多语言配置","e28ef3cf-569c-49f8-99b3-533e5013cb9d":"邮箱","e633ed68-a12e-4af5-9a7a-d2eb476f4cef":"大于等于","e7413527-a5ee-4057-b765-3595cd26c09b":"关联搜索:status:(error OR warning) AND NOT service:\"service_a\"","e94234be-e478-4314-bc85-572cc285f5f9":"描述","f2447d25-e81c-4656-9e4c-f66741dd8a52":"匹配方式","f307bd91-6737-4667-9e89-daec35b21198":"描述:","fbda5bcb-67b0-4b7c-85fd-fb30068f73a0":"字段名称","fc7ca498-ab95-4a4b-9f5f-0d024cc127c3":"暂未注册组件","ff777cfe-21b4-4eb0-bf80-ebd92081fdf5":"完全匹配:\"hello world\""}
1
+ {"19d6c313-9540-4042-b642-ebc6396ca0c7":"取消","632edd96-893f-4599-b1a3-0406e2146010":"确定","99b301b7-f153-4861-8ca3-22371b6b95d9":"请输入","e25f1462-c823-434a-a6b2-4258dd57930a":"多语言配置"}
@@ -1 +1 @@
1
- {"0ee18787-448b-4f7b-a3f2-5067a38c9a26":"用戶組:","15444b85-9196-4bb6-97bd-eb5cd4186cb9":"搜尋條件已複製","19d6c313-9540-4042-b642-ebc6396ca0c7":"取消","1cd159c8-2a4d-4208-a170-55a34b91f671":"暫無數據,提交搜尋後搜尋關鍵字","1e9cc6b2-f761-4aaa-a216-9f842c6f8fce":"切換為篩選模式","229e8f35-ce6c-403a-b52e-05346dd8eb0b":"通配符:*?","2bf0d704-4106-4359-8488-d0e395f37d34":"在 {slot0} 後缺失 {slot1}","2e8bd2b4-57bf-4778-a254-3b577d0241c5":"組合符號","30a2737a-c786-4f9f-bb22-02ca27a557ff":"結束","3190d9a0-41bf-42b3-adf9-9d22a337f65d":"部門","324f8bc5-e6dc-46b5-a18b-8c4e55c7352e":"分組","3431b29b-5fb7-411f-8a1d-8d7676b03264":"幫助文檔","354fbc6d-1abb-4510-81a9-9aa2efa6f482":"搜尋歷史","3f52c2a1-892d-47fe-b296-49a35ff8c4ee":"語法錯誤","43395ce9-35f2-4a6d-9e84-8c277369157b":"用戶名","4412a02d-d11d-4231-bf91-fd65afd9ea77":"標籤搜尋","47e5459f-882c-4395-a8f1-d49e89b0a263":"不等於","48b09da1-28bf-497d-a327-0ad6e3ef9af1":"括號","4ced2ca1-2a3f-49d9-9907-1b404d5a1586":"存在 <未知輸入>","51b43939-ce6a-4a41-9038-832b8ab4a175":"加載中...","5b412c79-b099-47cd-8745-21264d9212c4":"姓名","5faa90fc-6455-499a-a0d5-c7ff9c9867df":"切換為手寫CQL語法模式","632edd96-893f-4599-b1a3-0406e2146010":"確定","7058c2d9-91f3-4fe6-8a38-2c145a627959":"小於","719234f9-de71-4fc6-ab3f-59287ff20570":"大於","79279aa4-ad27-4082-8093-06122d68c611":"部門:","88d7ad39-7f49-459f-a1fd-48dd4c0ff9d5":"郵箱:","8b3465a5-e2ca-4f7c-af17-2cb091ef40fe":"{slot0} 後面,期望 {slot1}","905a2fe5-4c8a-467e-813a-963fdb268b10":"手機","914a6df4-9561-4345-a98c-0559e3f787ff":"小於等於","94f38306-0e2c-4d1c-beff-64d14bd7da20":"不必要輸入 {tokenName} ,期望 {slot0}","99b301b7-f153-4861-8ca3-22371b6b95d9":"請輸入","b2df07f1-b093-4f56-9ec2-af471999634d":"位置","b59f74be-dff0-4e3e-92db-354b475c3efd":"用戶名:","bc71d288-1654-454d-8639-5ed225d8d6f6":"用戶組","bdfe4b04-efd7-4f93-a6ba-3954aca3b0eb":"數值區間","be953f09-653f-4715-a3b9-9e0faef199b3":"全文檢索:hello world","cfbba0e5-b133-4bd7-9b8c-3c92368fe049":"姓名:","d6f72140-92e1-4214-8bcb-d548fa8ed1ce":"語句不完整,缺少結尾","db3f4bef-089e-4144-861d-29f79fa4cd38":"手機:","df7b8ec5-840a-4fc7-aa8c-806d470ec97c":"等於","e25f1462-c823-434a-a6b2-4258dd57930a":"多語言配置","e28ef3cf-569c-49f8-99b3-533e5013cb9d":"郵箱","e633ed68-a12e-4af5-9a7a-d2eb476f4cef":"大於等於","e7413527-a5ee-4057-b765-3595cd26c09b":"關聯搜尋:status:(error OR warning) AND NOT service:\"service_a\"","e94234be-e478-4314-bc85-572cc285f5f9":"描述","f2447d25-e81c-4656-9e4c-f66741dd8a52":"匹配方式","f307bd91-6737-4667-9e89-daec35b21198":"描述:","fbda5bcb-67b0-4b7c-85fd-fb30068f73a0":"字段名稱","fc7ca498-ab95-4a4b-9f5f-0d024cc127c3":"暫未註冊組件","ff777cfe-21b4-4eb0-bf80-ebd92081fdf5":"完全匹配:\"hello world\""}
1
+ {"19d6c313-9540-4042-b642-ebc6396ca0c7":"取消","632edd96-893f-4599-b1a3-0406e2146010":"確定","99b301b7-f153-4861-8ca3-22371b6b95d9":"請輸入","e25f1462-c823-434a-a6b2-4258dd57930a":"多語言配置"}
@@ -1 +1 @@
1
- {"0ee18787-448b-4f7b-a3f2-5067a38c9a26":"用戶組:","15444b85-9196-4bb6-97bd-eb5cd4186cb9":"搜索條件已複製","19d6c313-9540-4042-b642-ebc6396ca0c7":"取消","1cd159c8-2a4d-4208-a170-55a34b91f671":"暫無數據,提交搜索後搜索關鍵字","1e9cc6b2-f761-4aaa-a216-9f842c6f8fce":"切換為篩選模式","229e8f35-ce6c-403a-b52e-05346dd8eb0b":"通配符:*?","2bf0d704-4106-4359-8488-d0e395f37d34":"在 {slot0} 後缺失 {slot1}","2e8bd2b4-57bf-4778-a254-3b577d0241c5":"組合符號","30a2737a-c786-4f9f-bb22-02ca27a557ff":"結束","3190d9a0-41bf-42b3-adf9-9d22a337f65d":"部門","324f8bc5-e6dc-46b5-a18b-8c4e55c7352e":"分組","3431b29b-5fb7-411f-8a1d-8d7676b03264":"幫助文檔","354fbc6d-1abb-4510-81a9-9aa2efa6f482":"搜索歷史","3f52c2a1-892d-47fe-b296-49a35ff8c4ee":"語法錯誤","43395ce9-35f2-4a6d-9e84-8c277369157b":"用戶名","4412a02d-d11d-4231-bf91-fd65afd9ea77":"標籤搜索","47e5459f-882c-4395-a8f1-d49e89b0a263":"不等於","48b09da1-28bf-497d-a327-0ad6e3ef9af1":"括弧","4ced2ca1-2a3f-49d9-9907-1b404d5a1586":"存在 <未知輸入>","51b43939-ce6a-4a41-9038-832b8ab4a175":"加載中...","5b412c79-b099-47cd-8745-21264d9212c4":"姓名 ","5faa90fc-6455-499a-a0d5-c7ff9c9867df":"切換為手寫CQL語法模式","632edd96-893f-4599-b1a3-0406e2146010":"確定","7058c2d9-91f3-4fe6-8a38-2c145a627959":"小於","719234f9-de71-4fc6-ab3f-59287ff20570":"大於","79279aa4-ad27-4082-8093-06122d68c611":"部門:","88d7ad39-7f49-459f-a1fd-48dd4c0ff9d5":"郵箱:","8b3465a5-e2ca-4f7c-af17-2cb091ef40fe":"{slot0} 後面,期望 {slot1}","905a2fe5-4c8a-467e-813a-963fdb268b10":"手機","914a6df4-9561-4345-a98c-0559e3f787ff":"小於等於","94f38306-0e2c-4d1c-beff-64d14bd7da20":"不必要輸入 {tokenName} ,期望 {slot0}","99b301b7-f153-4861-8ca3-22371b6b95d9":"請輸入","b2df07f1-b093-4f56-9ec2-af471999634d":"位置","b59f74be-dff0-4e3e-92db-354b475c3efd":"用戶名:","bc71d288-1654-454d-8639-5ed225d8d6f6":"用戶組","bdfe4b04-efd7-4f93-a6ba-3954aca3b0eb":"數值區間","be953f09-653f-4715-a3b9-9e0faef199b3":"全文檢索:hello world","cfbba0e5-b133-4bd7-9b8c-3c92368fe049":"姓名:","d6f72140-92e1-4214-8bcb-d548fa8ed1ce":"語句不完整,缺少結尾","db3f4bef-089e-4144-861d-29f79fa4cd38":"手機:","df7b8ec5-840a-4fc7-aa8c-806d470ec97c":"等於","e25f1462-c823-434a-a6b2-4258dd57930a":"多語言配置","e28ef3cf-569c-49f8-99b3-533e5013cb9d":"郵箱","e633ed68-a12e-4af5-9a7a-d2eb476f4cef":"大於等於","e7413527-a5ee-4057-b765-3595cd26c09b":"關聯搜索:status:(error OR warning) AND NOT service:\"service_a\"","e94234be-e478-4314-bc85-572cc285f5f9":"描述\t","f2447d25-e81c-4656-9e4c-f66741dd8a52":"匹配方式","f307bd91-6737-4667-9e89-daec35b21198":"描述:","fbda5bcb-67b0-4b7c-85fd-fb30068f73a0":"字段名稱","fc7ca498-ab95-4a4b-9f5f-0d024cc127c3":"暫未註冊組件","ff777cfe-21b4-4eb0-bf80-ebd92081fdf5":"完全匹配:\"hello world\""}
1
+ {"19d6c313-9540-4042-b642-ebc6396ca0c7":"取消","632edd96-893f-4599-b1a3-0406e2146010":"確定","99b301b7-f153-4861-8ca3-22371b6b95d9":"請輸入","e25f1462-c823-434a-a6b2-4258dd57930a":"多語言配置"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@chaoswise/business",
3
3
  "packageName": "chaoswiseBusiness",
4
- "version": "1.1.0",
4
+ "version": "2.1.0",
5
5
  "description": "业务组件库",
6
6
  "keywords": [
7
7
  "ui",
@@ -28,9 +28,9 @@
28
28
  "@babel/plugin-transform-spread": "^7.16.7",
29
29
  "@babel/preset-env": "^7.16.11",
30
30
  "@babel/preset-typescript": "^7.16.7",
31
- "@chaoswise/intl": "^3.2.0",
32
31
  "@babel/runtime-corejs3": "^7.11.2",
33
- "@chaoswise/ui": "^2.8.0",
32
+ "@chaoswise/intl": "^3.2.0",
33
+ "@chaoswise/ui": "^3.2.0",
34
34
  "@chaoswise/utils": "^1.0.0",
35
35
  "@storybook/addon-actions": "^6.4.22",
36
36
  "@storybook/addon-essentials": "^6.4.22",
@@ -39,6 +39,7 @@
39
39
  "@storybook/addon-storysource": "^6.4.22",
40
40
  "@storybook/react": "^6.4.22",
41
41
  "@storybook/testing-library": "^0.0.11",
42
+ "@types/node": "18.19.76",
42
43
  "@types/react": "^17.0.0",
43
44
  "@types/react-dom": "^17.0.0",
44
45
  "babel-eslint": "^10.1.0",
@@ -76,10 +77,11 @@
76
77
  },
77
78
  "dependencies": {
78
79
  "antlr4": "4.9.2",
79
- "react-copy-to-clipboard": "^5.1.0"
80
+ "react-copy-to-clipboard": "^5.1.0",
81
+ "react-intl-universal": "^2.9.1"
80
82
  },
81
83
  "peerDependencies": {
82
- "@chaoswise/ui": ">=2.8.0",
84
+ "@chaoswise/ui": ">=3.2.0",
83
85
  "@chaoswise/intl": ">=3.2.0"
84
86
  },
85
87
  "author": "cloudwiser",
@@ -106,9 +108,9 @@
106
108
  "build": "gulp es --gulpfile ./scripts/gulpfile.js",
107
109
  "build-tar": "node ./scripts/build-tar.js",
108
110
  "intl-init": "chaoswise-intl init",
111
+ "intl-addLocale": "chaoswise-intl addLocale",
109
112
  "intl-collect": "chaoswise-intl collect",
110
113
  "intl-update": "chaoswise-intl update",
111
- "intl-addLocale": "chaoswise-intl addLocale",
112
114
  "intl-verify": "chaoswise-intl verify",
113
115
  "intl-verifyFix": "chaoswise-intl verify fix"
114
116
  },
@@ -1,78 +0,0 @@
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(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
- function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); }
15
- // Generated from /Users/changle/Documents/code/doop/cql/src/main/resources/antlr/cql/CLQLLexer.g4 by ANTLR 4.9.2
16
- // jshint ignore: start
17
- import antlr4 from 'antlr4';
18
- var serializedATN = ["\x03\u608B\uA72A\u8133\uB9ED\u417C\u3BE7\u7786", "\u5964\x02\"\u0112\b\x01\x04\x02\t\x02\x04\x03\t\x03", "\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07", "\t\x07\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\x0B\t\x0B\x04", "\f\t\f\x04\r\t\r\x04\x0E\t\x0E\x04\x0F\t\x0F\x04\x10", "\t\x10\x04\x11\t\x11\x04\x12\t\x12\x04\x13\t\x13", "\x04\x14\t\x14\x04\x15\t\x15\x04\x16\t\x16\x04\x17", "\t\x17\x04\x18\t\x18\x04\x19\t\x19\x04\x1A\t\x1A", "\x04\x1B\t\x1B\x04\x1C\t\x1C\x04\x1D\t\x1D\x04\x1E", "\t\x1E\x04\x1F\t\x1F\x04 \t \x04!\t!\x04\"\t\"\x04#", "\t#\x04$\t$\x04%\t%\x04&\t&\x04'\t'\x03\x02\x03\x02", "\x03\x03\x03\x03\x03\x03\x03\x03\x07\x03V\n\x03", "\f\x03\x0E\x03Y\x0B\x03\x03\x03\x03\x03\x03\x04", "\x03\x04\x07\x04_\n\x04\f\x04\x0E\x04b\x0B\x04\x03", "\x04\x03\x04\x03\x05\x03\x05\x03\x05\x03\x05\x07", "\x05j\n\x05\f\x05\x0E\x05m\x0B\x05\x03\x05\x03\x05", "\x03\x06\x03\x06\x03\x06\x03\x06\x03\x07\x03\x07", "\x03\b\x03\b\x03\t\x03\t\x03\n\x03\n\x03\x0B\x03\x0B", "\x03\f\x03\f\x03\f\x03\r\x03\r\x03\r\x03\x0E\x03\x0E", "\x03\x0F\x03\x0F\x03\x10\x03\x10\x03\x11\x03\x11", "\x03\x12\x03\x12\x03\x13\x03\x13\x03\x14\x03\x14", "\x03\x15\x03\x15\x03\x16\x03\x16\x03\x17\x03\x17", "\x03\x17\x03\x17\x03\x18\x03\x18\x03\x18\x03\x18", "\x03\x19\x03\x19\x03\x19\x03\x1A\x03\x1A\x03\x1A", "\x03\x1B\x03\x1B\x03\x1B\x03\x1B\x07\x1B\xA9\n", "\x1B\f\x1B\x0E\x1B\xAC\x0B\x1B\x03\x1B\x03\x1B", "\x03\x1C\x06\x1C\xB1\n\x1C\r\x1C\x0E\x1C\xB2\x03", "\x1D\x03\x1D\x03\x1E\x03\x1E\x03\x1F\x03\x1F\x03", "\x1F\x06\x1F\xBC\n\x1F\r\x1F\x0E\x1F\xBD\x03\x1F", "\x03\x1F\x05\x1F\xC2\n\x1F\x03\x1F\x06\x1F\xC5", "\n\x1F\r\x1F\x0E\x1F\xC6\x05\x1F\xC9\n\x1F\x03 ", "\x06 \xCC\n \r \x0E \xCD\x03 \x05 \xD1\n \x03 \x06", " \xD4\n \r \x0E \xD5\x05 \xD8\n \x03 \x03 \x05 \xDC", "\n \x03 \x06 \xDF\n \r \x0E \xE0\x05 \xE3\n \x03 \x05", " \xE6\n \x03!\x03!\x03\"\x03\"\x03#\x03#\x03#\x06", "#\xEF\n#\r#\x0E#\xF0\x03$\x03$\x03%\x03%\x03&\x03", "&\x05&\xF9\n&\x03&\x03&\x03&\x05&\xFE\n&\x03&\x03", "&\x05&\u0102\n&\x03&\x03&\x05&\u0106\n&\x03'\x03'\x03", "'\x03'\x03'\x03'\x03'\x03'\x03'\x05'\u0111\n'", "\x02\x02(\x03\x03\x05\x04\x07\x05\t\x06\x0B\x07", "\r\b\x0F\t\x11\n\x13\x0B\x15\f\x17\r\x19\x0E\x1B\x0F", "\x1D\x10\x1F\x11!\x12#\x13%\x14'\x15)\x16+\x17", "-\x18/\x191\x1A3\x1B5\x1C7\x1D9\x1E;\x1F=\x02?\x02", "A\x02C\x02E G!I\"K\x02M\x02\x03\x02\x17\x03\x0211", "\x03\x02bb\x04\x02\f\f\x0F\x0F\x05\x02\x0B\r\x0F", "\x0F\"\"\x04\x02CCcc\x04\x02PPpp\x04\x02FFff\x04\x02", "QQqq\x04\x02VVvv\x04\x02TTtt\x03\x02$$\x04\x02ZZzz\x05", "\x022;CHch\x04\x02GGgg\x04\x02--//\x03\x022;\x03\x02", "00\x06\x02FFHHffhh\x05\x02C\\aac|\x06\x02&&00BB\x82\0", "\x04\x02,,AA\x02\u012B\x02\x03\x03\x02\x02\x02\x02", "\x05\x03\x02\x02\x02\x02\x07\x03\x02\x02\x02\x02", "\t\x03\x02\x02\x02\x02\x0B\x03\x02\x02\x02\x02", "\r\x03\x02\x02\x02\x02\x0F\x03\x02\x02\x02\x02", "\x11\x03\x02\x02\x02\x02\x13\x03\x02\x02\x02\x02", "\x15\x03\x02\x02\x02\x02\x17\x03\x02\x02\x02\x02", "\x19\x03\x02\x02\x02\x02\x1B\x03\x02\x02\x02\x02", "\x1D\x03\x02\x02\x02\x02\x1F\x03\x02\x02\x02\x02", "!\x03\x02\x02\x02\x02#\x03\x02\x02\x02\x02%\x03", "\x02\x02\x02\x02'\x03\x02\x02\x02\x02)\x03\x02", "\x02\x02\x02+\x03\x02\x02\x02\x02-\x03\x02\x02", "\x02\x02/\x03\x02\x02\x02\x021\x03\x02\x02\x02", "\x023\x03\x02\x02\x02\x025\x03\x02\x02\x02\x02", "7\x03\x02\x02\x02\x029\x03\x02\x02\x02\x02;\x03", "\x02\x02\x02\x02E\x03\x02\x02\x02\x02G\x03\x02", "\x02\x02\x02I\x03\x02\x02\x02\x03O\x03\x02\x02", "\x02\x05Q\x03\x02\x02\x02\x07\\\x03\x02\x02\x02", "\te\x03\x02\x02\x02\x0Bp\x03\x02\x02\x02\rt\x03", "\x02\x02\x02\x0Fv\x03\x02\x02\x02\x11x\x03\x02", "\x02\x02\x13z\x03\x02\x02\x02\x15|\x03\x02\x02", "\x02\x17~\x03\x02\x02\x02\x19\x81\x03\x02\x02", "\x02\x1B\x84\x03\x02\x02\x02\x1D\x86\x03\x02\x02", "\x02\x1F\x88\x03\x02\x02\x02!\x8A\x03\x02\x02", "\x02#\x8C\x03\x02\x02\x02%\x8E\x03\x02\x02\x02", "'\x90\x03\x02\x02\x02)\x92\x03\x02\x02\x02+\x94", "\x03\x02\x02\x02-\x96\x03\x02\x02\x02/\x9A\x03", "\x02\x02\x021\x9E\x03\x02\x02\x023\xA1\x03\x02", "\x02\x025\xA4\x03\x02\x02\x027\xB0\x03\x02\x02", "\x029\xB4\x03\x02\x02\x02;\xB6\x03\x02\x02\x02", "=\xB8\x03\x02\x02\x02?\xCB\x03\x02\x02\x02A\xE7", "\x03\x02\x02\x02C\xE9\x03\x02\x02\x02E\xEE\x03", "\x02\x02\x02G\xF2\x03\x02\x02\x02I\xF4\x03\x02", "\x02\x02K\u0105\x03\x02\x02\x02M\u0110\x03\x02\x02", "\x02OP\x07%\x02\x02P\x04\x03\x02\x02\x02QW\x071", "\x02\x02RV\n\x02\x02\x02ST\x07^\x02\x02TV\x071\x02", "\x02UR\x03\x02\x02\x02US\x03\x02\x02\x02VY\x03\x02", "\x02\x02WU\x03\x02\x02\x02WX\x03\x02\x02\x02XZ\x03", "\x02\x02\x02YW\x03\x02\x02\x02Z[\x071\x02\x02[\x06", "\x03\x02\x02\x02\\`\x07b\x02\x02]_\n\x03\x02\x02", "^]\x03\x02\x02\x02_b\x03\x02\x02\x02`^\x03\x02\x02", "\x02`a\x03\x02\x02\x02ac\x03\x02\x02\x02b`\x03\x02", "\x02\x02cd\x07b\x02\x02d\b\x03\x02\x02\x02ef\x07", "/\x02\x02fg\x07/\x02\x02gk\x03\x02\x02\x02hj\n\x04", "\x02\x02ih\x03\x02\x02\x02jm\x03\x02\x02\x02ki\x03", "\x02\x02\x02kl\x03\x02\x02\x02ln\x03\x02\x02\x02", "mk\x03\x02\x02\x02no\b\x05\x02\x02o\n\x03\x02\x02", "\x02pq\t\x05\x02\x02qr\x03\x02\x02\x02rs\b\x06\x02", "\x02s\f\x03\x02\x02\x02tu\x07<\x02\x02u\x0E\x03", "\x02\x02\x02vw\x07*\x02\x02w\x10\x03\x02\x02\x02", "xy\x07+\x02\x02y\x12\x03\x02\x02\x02z{\x07>\x02", "\x02{\x14\x03\x02\x02\x02|}\x07@\x02\x02}\x16\x03", "\x02\x02\x02~\x7F\x07>\x02\x02\x7F\x80\x07?\x02", "\x02\x80\x18\x03\x02\x02\x02\x81\x82\x07@\x02", "\x02\x82\x83\x07?\x02\x02\x83\x1A\x03\x02\x02", "\x02\x84\x85\x07A\x02\x02\x85\x1C\x03\x02\x02", "\x02\x86\x87\x07,\x02\x02\x87\x1E\x03\x02\x02", "\x02\x88\x89\x07]\x02\x02\x89 \x03\x02\x02\x02", "\x8A\x8B\x07_\x02\x02\x8B\"\x03\x02\x02\x02\x8C", "\x8D\x07}\x02\x02\x8D$\x03\x02\x02\x02\x8E\x8F", "\x07\x7F\x02\x02\x8F&\x03\x02\x02\x02\x90\x91", "\x07\x80\x02\x02\x91(\x03\x02\x02\x02\x92\x93", "\x07-\x02\x02\x93*\x03\x02\x02\x02\x94\x95\x07", "/\x02\x02\x95,\x03\x02\x02\x02\x96\x97\t\x06\x02", "\x02\x97\x98\t\x07\x02\x02\x98\x99\t\b\x02\x02\x99", ".\x03\x02\x02\x02\x9A\x9B\t\x07\x02\x02\x9B\x9C", "\t\t\x02\x02\x9C\x9D\t\n\x02\x02\x9D0\x03\x02\x02", "\x02\x9E\x9F\t\t\x02\x02\x9F\xA0\t\x0B\x02\x02\xA0", "2\x03\x02\x02\x02\xA1\xA2\t\n\x02\x02\xA2\xA3\t", "\t\x02\x02\xA34\x03\x02\x02\x02\xA4\xAA\x07$\x02", "\x02\xA5\xA9\n\f\x02\x02\xA6\xA7\x07^\x02\x02\xA7", "\xA9\x07$\x02\x02\xA8\xA5\x03\x02\x02\x02\xA8", "\xA6\x03\x02\x02\x02\xA9\xAC\x03\x02\x02\x02\xAA", "\xA8\x03\x02\x02\x02\xAA\xAB\x03\x02\x02\x02\xAB", "\xAD\x03\x02\x02\x02\xAC\xAA\x03\x02\x02\x02\xAD", "\xAE\x07$\x02\x02\xAE6\x03\x02\x02\x02\xAF\xB1", "\x05A!\x02\xB0\xAF\x03\x02\x02\x02\xB1\xB2\x03", "\x02\x02\x02\xB2\xB0\x03\x02\x02\x02\xB2\xB3\x03", "\x02\x02\x02\xB38\x03\x02\x02\x02\xB4\xB5\x05", "? \x02\xB5:\x03\x02\x02\x02\xB6\xB7\x05=\x1F\x02", "\xB7<\x03\x02\x02\x02\xB8\xB9\x072\x02\x02\xB9", "\xBB\t\r\x02\x02\xBA\xBC\t\x0E\x02\x02\xBB\xBA\x03", "\x02\x02\x02\xBC\xBD\x03\x02\x02\x02\xBD\xBB\x03", "\x02\x02\x02\xBD\xBE\x03\x02\x02\x02\xBE\xC8\x03", "\x02\x02\x02\xBF\xC1\t\x0F\x02\x02\xC0\xC2\t\x10", "\x02\x02\xC1\xC0\x03\x02\x02\x02\xC1\xC2\x03\x02", "\x02\x02\xC2\xC4\x03\x02\x02\x02\xC3\xC5\t\x11", "\x02\x02\xC4\xC3\x03\x02\x02\x02\xC5\xC6\x03\x02", "\x02\x02\xC6\xC4\x03\x02\x02\x02\xC6\xC7\x03\x02", "\x02\x02\xC7\xC9\x03\x02\x02\x02\xC8\xBF\x03\x02", "\x02\x02\xC8\xC9\x03\x02\x02\x02\xC9>\x03\x02", "\x02\x02\xCA\xCC\t\x11\x02\x02\xCB\xCA\x03\x02", "\x02\x02\xCC\xCD\x03\x02\x02\x02\xCD\xCB\x03\x02", "\x02\x02\xCD\xCE\x03\x02\x02\x02\xCE\xD0\x03\x02", "\x02\x02\xCF\xD1\t\x12\x02\x02\xD0\xCF\x03\x02", "\x02\x02\xD0\xD1\x03\x02\x02\x02\xD1\xD7\x03\x02", "\x02\x02\xD2\xD4\t\x11\x02\x02\xD3\xD2\x03\x02", "\x02\x02\xD4\xD5\x03\x02\x02\x02\xD5\xD3\x03\x02", "\x02\x02\xD5\xD6\x03\x02\x02\x02\xD6\xD8\x03\x02", "\x02\x02\xD7\xD3\x03\x02\x02\x02\xD7\xD8\x03\x02", "\x02\x02\xD8\xE2\x03\x02\x02\x02\xD9\xDB\t\x0F", "\x02\x02\xDA\xDC\t\x10\x02\x02\xDB\xDA\x03\x02", "\x02\x02\xDB\xDC\x03\x02\x02\x02\xDC\xDE\x03\x02", "\x02\x02\xDD\xDF\t\x11\x02\x02\xDE\xDD\x03\x02", "\x02\x02\xDF\xE0\x03\x02\x02\x02\xE0\xDE\x03\x02", "\x02\x02\xE0\xE1\x03\x02\x02\x02\xE1\xE3\x03\x02", "\x02\x02\xE2\xD9\x03\x02\x02\x02\xE2\xE3\x03\x02", "\x02\x02\xE3\xE5\x03\x02\x02\x02\xE4\xE6\t\x13", "\x02\x02\xE5\xE4\x03\x02\x02\x02\xE5\xE6\x03\x02", "\x02\x02\xE6@\x03\x02\x02\x02\xE7\xE8\t\x11\x02", "\x02\xE8B\x03\x02\x02\x02\xE9\xEA\t\x14\x02\x02", "\xEAD\x03\x02\x02\x02\xEB\xEF\x05C\"\x02\xEC\xEF", "\x05A!\x02\xED\xEF\t\x15\x02\x02\xEE\xEB\x03\x02", "\x02\x02\xEE\xEC\x03\x02\x02\x02\xEE\xED\x03\x02", "\x02\x02\xEF\xF0\x03\x02\x02\x02\xF0\xEE\x03\x02", "\x02\x02\xF0\xF1\x03\x02\x02\x02\xF1F\x03\x02", "\x02\x02\xF2\xF3\x0B\x02\x02\x02\xF3H\x03\x02", "\x02\x02\xF4\xF5\x05M'\x02\xF5J\x03\x02\x02\x02", "\xF6\xF9\x05)\x15\x02\xF7\xF9\x05+\x16\x02\xF8", "\xF6\x03\x02\x02\x02\xF8\xF7\x03\x02\x02\x02\xF8", "\xF9\x03\x02\x02\x02\xF9\xFA\x03\x02\x02\x02\xFA", "\u0106\x057\x1C\x02\xFB\xFE\x05)\x15\x02\xFC\xFE", "\x05+\x16\x02\xFD\xFB\x03\x02\x02\x02\xFD\xFC", "\x03\x02\x02\x02\xFD\xFE\x03\x02\x02\x02\xFE\u0101", "\x03\x02\x02\x02\xFF\u0102\x059\x1D\x02\u0100\u0102", "\x05;\x1E\x02\u0101\xFF\x03\x02\x02\x02\u0101\u0100", "\x03\x02\x02\x02\u0102\u0106\x03\x02\x02\x02\u0103\u0106", "\x05E#\x02\u0104\u0106\x055\x1B\x02\u0105\xF8\x03\x02", "\x02\x02\u0105\xFD\x03\x02\x02\x02\u0105\u0103\x03\x02", "\x02\x02\u0105\u0104\x03\x02\x02\x02\u0106L\x03\x02", "\x02\x02\u0107\u0108\t\x16\x02\x02\u0108\u0109\x05K&\x02", "\u0109\u010A\t\x16\x02\x02\u010A\u0111\x03\x02\x02\x02", "\u010B\u010C\x05K&\x02\u010C\u010D\t\x16\x02\x02\u010D\u0111", "\x03\x02\x02\x02\u010E\u010F\t\x16\x02\x02\u010F\u0111", "\x05K&\x02\u0110\u0107\x03\x02\x02\x02\u0110\u010B\x03", "\x02\x02\x02\u0110\u010E\x03\x02\x02\x02\u0111N\x03", "\x02\x02\x02\x1D\x02UW`k\xA8\xAA\xB2\xBD\xC1\xC6", "\xC8\xCD\xD0\xD5\xD7\xDB\xE0\xE2\xE5\xEE\xF0\xF8", "\xFD\u0101\u0105\u0110\x03\x02\x03\x02"].join('');
19
- var atn = new antlr4.atn.ATNDeserializer().deserialize(serializedATN);
20
- var decisionsToDFA = atn.decisionToState.map(function (ds, index) {
21
- return new antlr4.dfa.DFA(ds, index);
22
- });
23
- var CLQLLexer = /*#__PURE__*/function (_antlr4$Lexer) {
24
- function CLQLLexer(input) {
25
- var _this;
26
- _classCallCheck(this, CLQLLexer);
27
- _this = _callSuper(this, CLQLLexer, [input]);
28
- _this._interp = new antlr4.atn.LexerATNSimulator(_this, atn, decisionsToDFA, new antlr4.PredictionContextCache());
29
- return _this;
30
- }
31
- _inherits(CLQLLexer, _antlr4$Lexer);
32
- return _createClass(CLQLLexer, [{
33
- key: "atn",
34
- get: function get() {
35
- return atn;
36
- }
37
- }]);
38
- }(antlr4.Lexer);
39
- _defineProperty(CLQLLexer, "grammarFileName", 'CLQLLexer.g4');
40
- _defineProperty(CLQLLexer, "channelNames", ['DEFAULT_TOKEN_CHANNEL', 'HIDDEN']);
41
- _defineProperty(CLQLLexer, "modeNames", ['DEFAULT_MODE']);
42
- _defineProperty(CLQLLexer, "literalNames", [null, "'#'", null, null, null, null, "':'", "'('", "')'", "'<'", "'>'", "'<='", "'>='", "'?'", "'*'", "'['", "']'", "'{'", "'}'", "'~'", "'+'", "'-'"]);
43
- _defineProperty(CLQLLexer, "symbolicNames", [null, 'WEI', 'REGEX', 'BQUOTA_STRING', 'LINE_COMMENT', 'SPACES', 'COLON', 'LPAREN', 'RPAREN', 'LT', 'GT', 'LE', 'GE', 'QUESTION', 'STAR', 'LBRAKET', 'RBRAKET', 'LCURLY', 'RCURLY', 'WAVE', 'PLUS', 'MINUS', 'K_AND', 'K_NOT', 'K_OR', 'K_TO', 'DQUOTA_STRING', 'INTEGER_LITERAL', 'DECIMAL_LITERAL', 'HEXADECIMAL_LITERAL', 'UNQUOTA_STRING', 'UNEXPECTED_CHAR', 'FUZZY_LITERAL']);
44
- _defineProperty(CLQLLexer, "ruleNames", ['WEI', 'REGEX', 'BQUOTA_STRING', 'LINE_COMMENT', 'SPACES', 'COLON', 'LPAREN', 'RPAREN', 'LT', 'GT', 'LE', 'GE', 'QUESTION', 'STAR', 'LBRAKET', 'RBRAKET', 'LCURLY', 'RCURLY', 'WAVE', 'PLUS', 'MINUS', 'K_AND', 'K_NOT', 'K_OR', 'K_TO', 'DQUOTA_STRING', 'INTEGER_LITERAL', 'DECIMAL_LITERAL', 'HEXADECIMAL_LITERAL', 'HEXADECIMAL', 'DECIMAL', 'DIGIT', 'LETTER', 'UNQUOTA_STRING', 'UNEXPECTED_CHAR', 'FUZZY_LITERAL', 'TEXT', 'FUZZY']);
45
- export { CLQLLexer as default };
46
- CLQLLexer.EOF = antlr4.Token.EOF;
47
- CLQLLexer.WEI = 1;
48
- CLQLLexer.REGEX = 2;
49
- CLQLLexer.BQUOTA_STRING = 3;
50
- CLQLLexer.LINE_COMMENT = 4;
51
- CLQLLexer.SPACES = 5;
52
- CLQLLexer.COLON = 6;
53
- CLQLLexer.LPAREN = 7;
54
- CLQLLexer.RPAREN = 8;
55
- CLQLLexer.LT = 9;
56
- CLQLLexer.GT = 10;
57
- CLQLLexer.LE = 11;
58
- CLQLLexer.GE = 12;
59
- CLQLLexer.QUESTION = 13;
60
- CLQLLexer.STAR = 14;
61
- CLQLLexer.LBRAKET = 15;
62
- CLQLLexer.RBRAKET = 16;
63
- CLQLLexer.LCURLY = 17;
64
- CLQLLexer.RCURLY = 18;
65
- CLQLLexer.WAVE = 19;
66
- CLQLLexer.PLUS = 20;
67
- CLQLLexer.MINUS = 21;
68
- CLQLLexer.K_AND = 22;
69
- CLQLLexer.K_NOT = 23;
70
- CLQLLexer.K_OR = 24;
71
- CLQLLexer.K_TO = 25;
72
- CLQLLexer.DQUOTA_STRING = 26;
73
- CLQLLexer.INTEGER_LITERAL = 27;
74
- CLQLLexer.DECIMAL_LITERAL = 28;
75
- CLQLLexer.HEXADECIMAL_LITERAL = 29;
76
- CLQLLexer.UNQUOTA_STRING = 30;
77
- CLQLLexer.UNEXPECTED_CHAR = 31;
78
- CLQLLexer.FUZZY_LITERAL = 32;