@operato/scene-label 1.0.0-alpha.26 → 1.0.0-alpha.29
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/CHANGELOG.md +34 -0
- package/dist/barcode-scanner.d.ts +2 -0
- package/dist/barcode-scanner.js +38 -0
- package/dist/barcode-scanner.js.map +1 -1
- package/dist/direct-print/browser-printer.d.ts +5 -0
- package/dist/direct-print/browser-printer.js +23 -0
- package/dist/direct-print/browser-printer.js.map +1 -0
- package/dist/direct-print/usb-printer.d.ts +14 -0
- package/dist/direct-print/usb-printer.js +69 -0
- package/dist/direct-print/usb-printer.js.map +1 -0
- package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +14 -9
- package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +17 -12
- package/logs/application-2022-06-15-23.log +4 -0
- package/logs/application-2022-06-16-17.log +4 -0
- package/logs/application-2022-07-03-19.log +16 -0
- package/logs/application-2022-07-03-20.log +12 -0
- package/logs/application-2022-07-03-21.log +4 -0
- package/logs/application-2022-07-03-22.log +4 -0
- package/logs/connections-2022-06-09-23.log +70 -0
- package/logs/connections-2022-06-13-11.log +35 -70
- package/logs/connections-2022-06-13-12.log +35 -0
- package/logs/connections-2022-06-15-23.log +35 -0
- package/logs/connections-2022-06-16-17.log +35 -0
- package/logs/connections-2022-06-20-09.log +35 -35
- package/logs/connections-2022-07-03-19.log +140 -0
- package/logs/connections-2022-07-03-20.log +105 -0
- package/logs/connections-2022-07-03-21.log +35 -0
- package/logs/connections-2022-07-03-22.log +35 -0
- package/package.json +7 -8
- package/src/barcode-scanner.ts +44 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/logs/application-2022-06-13-11.log +0 -19
- package/logs/application-2022-06-20-09.log +0 -4
- package/logs/application-2022-06-20-11.log +0 -4
- package/logs/application-2022-06-20-12.log +0 -4
- package/logs/connections-2022-06-20-11.log +0 -35
- package/logs/connections-2022-06-20-12.log +0 -35
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,40 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
## [1.0.0-alpha.29](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.28...v1.0.0-alpha.29) (2022-07-03)
|
7
|
+
|
8
|
+
|
9
|
+
### :bug: Bug Fix
|
10
|
+
|
11
|
+
* form and barcode-scanner tuning ([18c9a5e](https://github.com/things-scene/operato-scene/commit/18c9a5e470b02c029760b8960bdf8257c056333b))
|
12
|
+
* latest [@operato](https://github.com/operato) ([b9f14d8](https://github.com/things-scene/operato-scene/commit/b9f14d8838943093e65175b80f515281011089ed))
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
## [1.0.0-alpha.28](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.27...v1.0.0-alpha.28) (2022-07-03)
|
17
|
+
|
18
|
+
|
19
|
+
### :bug: Bug Fix
|
20
|
+
|
21
|
+
* inputs ([70cf060](https://github.com/things-scene/operato-scene/commit/70cf060efa189f3c4d42ea6c987967f0b4dc3dec))
|
22
|
+
* latest [@operato](https://github.com/operato) [@things-factory](https://github.com/things-factory) ([6ef27eb](https://github.com/things-scene/operato-scene/commit/6ef27eba820d7641e6c7cc3cedf815c0af74a6c7))
|
23
|
+
* latest @hatiolab/things-scene [@operato](https://github.com/operato) ([353d090](https://github.com/things-scene/operato-scene/commit/353d0900a24a96aabde48405ee6ec18b1b227e09))
|
24
|
+
* latest dependencies ([4ad53db](https://github.com/things-scene/operato-scene/commit/4ad53db21b0f88856f93fcbc3a12b80011d73a1b))
|
25
|
+
* latest dependencies ([7328b85](https://github.com/things-scene/operato-scene/commit/7328b85c151feb718ca1bcdaf9ac36f9f721ed57))
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
## [1.0.0-alpha.27](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.26...v1.0.0-alpha.27) (2022-06-22)
|
30
|
+
|
31
|
+
|
32
|
+
### :bug: Bug Fix
|
33
|
+
|
34
|
+
* latest @hatiolab/things-scene ([5f7e8b6](https://github.com/things-scene/operato-scene/commit/5f7e8b6f40e7b73ac874be1d473eff847f14afe2))
|
35
|
+
* latest @hatiolab/things-scene ([1bb48f0](https://github.com/things-scene/operato-scene/commit/1bb48f0259044085f690c817dbe0383a44b15f9b))
|
36
|
+
* latest @hatiolab/things-scene [@operato](https://github.com/operato) ([ed2b7b8](https://github.com/things-scene/operato-scene/commit/ed2b7b83f0fd06780e6b9841cc6a1702b834e4ac))
|
37
|
+
|
38
|
+
|
39
|
+
|
6
40
|
## [1.0.0-alpha.26](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.25...v1.0.0-alpha.26) (2022-06-20)
|
7
41
|
|
8
42
|
|
@@ -5,8 +5,10 @@ export default class BarcodeScanner extends HTMLOverlayElement {
|
|
5
5
|
get nature(): ComponentNature;
|
6
6
|
get data(): any;
|
7
7
|
set data(data: any);
|
8
|
+
select(): void;
|
8
9
|
dispose(): void;
|
9
10
|
ready(): void;
|
11
|
+
createElement(): void;
|
10
12
|
setElementProperties(input: OxInputBarcode): void;
|
11
13
|
get tagName(): string;
|
12
14
|
}
|
package/dist/barcode-scanner.js
CHANGED
@@ -21,6 +21,16 @@ const NATURE = {
|
|
21
21
|
type: 'checkbox',
|
22
22
|
label: 'select-after-change',
|
23
23
|
name: 'selectAfterChange'
|
24
|
+
},
|
25
|
+
{
|
26
|
+
type: 'checkbox',
|
27
|
+
label: 'autofocus',
|
28
|
+
name: 'autofocus'
|
29
|
+
},
|
30
|
+
{
|
31
|
+
type: 'checkbox',
|
32
|
+
label: 'hide-keyboard',
|
33
|
+
name: 'hideKeyboard'
|
24
34
|
}
|
25
35
|
],
|
26
36
|
help: 'scene/component/barcode-scanner'
|
@@ -36,6 +46,10 @@ export default class BarcodeScanner extends HTMLOverlayElement {
|
|
36
46
|
this._data = data;
|
37
47
|
this.executeMappings(); // 이전 데이터와 비교하지 않고 매핑을 실행하기 위함
|
38
48
|
}
|
49
|
+
select() {
|
50
|
+
;
|
51
|
+
this.element.input.select();
|
52
|
+
}
|
39
53
|
dispose() {
|
40
54
|
super.dispose();
|
41
55
|
}
|
@@ -52,8 +66,32 @@ export default class BarcodeScanner extends HTMLOverlayElement {
|
|
52
66
|
this.data = scanInput.input.value;
|
53
67
|
});
|
54
68
|
}
|
69
|
+
createElement() {
|
70
|
+
super.createElement();
|
71
|
+
if (this.app.isViewMode) {
|
72
|
+
const { hideKeyboard, autofocus } = this.state;
|
73
|
+
if (hideKeyboard) {
|
74
|
+
requestAnimationFrame(() => {
|
75
|
+
const input = this.element.input;
|
76
|
+
input.addEventListener('focusin', e => {
|
77
|
+
input.setAttribute('readonly', '');
|
78
|
+
this.select();
|
79
|
+
requestAnimationFrame(() => {
|
80
|
+
input.removeAttribute('readonly');
|
81
|
+
});
|
82
|
+
});
|
83
|
+
});
|
84
|
+
}
|
85
|
+
if (autofocus) {
|
86
|
+
requestAnimationFrame(() => {
|
87
|
+
this.select();
|
88
|
+
});
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
55
92
|
setElementProperties(input) {
|
56
93
|
const { withoutEnter = false, englishOnly = false, selectAfterChange = false } = this.state;
|
94
|
+
input.style.setProperty('--input-font', 'initial');
|
57
95
|
input.withoutEnter = withoutEnter;
|
58
96
|
input.englishOnly = englishOnly;
|
59
97
|
input.selectAfterChange = selectAfterChange;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"barcode-scanner.js","sourceRoot":"","sources":["../src/barcode-scanner.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAmB,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAGvF,MAAM,MAAM,GAAoB;IAC9B,OAAO,EAAE,KAAK;IACd,SAAS,EAAE,IAAI;IACf,SAAS,EAAE,IAAI;IACf,UAAU,EAAE;QACV;YACE,IAAI,EA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KAAqB;QACxC,MAAM,EAAE,YAAY,GAAG,KAAK,EAAE,WAAW,GAAG,KAAK,EAAE,iBAAiB,GAAG,KAAK,EAAE,GAAG,IAAI,CAAC,KAAK,CAAA;QAE3F,KAAK,CAAC,YAAY,GAAG,YAAY,CAAA;QACjC,KAAK,CAAC,WAAW,GAAG,WAAW,CAAA;QAC/B,KAAK,CAAC,iBAAiB,GAAG,iBAAiB,CAAA;QAE3C,KAAK,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,IAAI,CAAA;IACtC,CAAC;IAED,IAAI,OAAO;QACT,OAAO,kBAAkB,CAAA;IAC3B,CAAC;CACF;AAED,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,cAAc,CAAC,CAAA","sourcesContent":["/*\n * Copyright © HatioLab Inc. All rights reserved.\n */\n\nimport { Component, ComponentNature, HTMLOverlayElement } from '@hatiolab/things-scene'\nimport { OxInputBarcode } from '@operato/input' // TODO make '@operato/input/ox-input-barcode.js' work.\n\nconst NATURE: ComponentNature = {\n mutable: false,\n resizable: true,\n rotatable: true,\n properties: [\n {\n type: 'checkbox',\n label: 'without-enter',\n name: 'withoutEnter'\n },\n {\n type: 'checkbox',\n label: 'english-only',\n name: 'englishOnly'\n },\n {\n type: 'checkbox',\n label: 'select-after-change',\n name: 'selectAfterChange'\n }\n ],\n help: 'scene/component/barcode-scanner'\n}\n\nexport default class BarcodeScanner extends HTMLOverlayElement {\n private _data: any\n\n get nature() {\n return NATURE\n }\n\n get data() {\n return this._data\n }\n\n set data(data) {\n this._data = data\n this.executeMappings() // 이전 데이터와 비교하지 않고 매핑을 실행하기 위함\n }\n\n dispose() {\n super.dispose()\n }\n\n ready() {\n super.ready()\n var scanInput = this.element as OxInputBarcode\n\n scanInput.addEventListener('change', (e: Event) => {\n this.data = scanInput.value\n })\n\n // 스캔 시 컴포넌트 데이터 세팅\n var scan = scanInput.scan\n scanInput.scan = (e: MouseEvent) =>\n scan.call(scanInput, e).then(() => {\n if (scanInput.input) this.data = scanInput.input.value\n })\n }\n\n setElementProperties(input: OxInputBarcode) {\n const { withoutEnter = false, englishOnly = false, selectAfterChange = false } = this.state\n\n input.withoutEnter = withoutEnter\n input.englishOnly = englishOnly\n input.selectAfterChange = selectAfterChange\n\n input.value = this._data = this.text\n }\n\n get tagName() {\n return 'ox-input-barcode'\n }\n}\n\nComponent.register('barcode-scanner', BarcodeScanner)\n"]}
|
1
|
+
{"version":3,"file":"barcode-scanner.js","sourceRoot":"","sources":["../src/barcode-scanner.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAmB,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAGvF,MAAM,MAAM,GAAoB;IAC9B,OAAO,EAAE,KAAK;IACd,SAAS,EAAE,IAAI;IACf,SAAS,EAAE,IAAI;IACf,UAAU,EAAE;QACV;YACE,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,cAAc;SACrB;QACD;YACE,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,cAAc;YACrB,IAAI,EAAE,aAAa;SACpB;QACD;YACE,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,qBAAqB;YAC5B,IAAI,EAAE,mBAAmB;SAC1B;QACD;YACE,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,WAAW;YAClB,IAAI,EAAE,WAAW;SAClB;QACD;YACE,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,cAAc;SACrB;KACF;IACD,IAAI,EAAE,iCAAiC;CACxC,CAAA;AAED,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,kBAAkB;IAG5D,IAAI,MAAM;QACR,OAAO,MAAM,CAAA;IACf,CAAC;IAED,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,KAAK,CAAA;IACnB,CAAC;IAED,IAAI,IAAI,CAAC,IAAI;QACX,IAAI,CAAC,KAAK,GAAG,IA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AAC,MAAM,EAAE,CAAA;wBAEb,qBAAqB,CAAC,GAAG,EAAE;4BACzB,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,CAAA;wBACnC,CAAC,CAAC,CAAA;oBACJ,CAAC,CAAC,CAAA;gBACJ,CAAC,CAAC,CAAA;aACH;YAED,IAAI,SAAS,EAAE;gBACb,qBAAqB,CAAC,GAAG,EAAE;oBACzB,IAAI,CAAC,MAAM,EAAE,CAAA;gBACf,CAAC,CAAC,CAAA;aACH;SACF;IACH,CAAC;IAED,oBAAoB,CAAC,KAAqB;QACxC,MAAM,EAAE,YAAY,GAAG,KAAK,EAAE,WAAW,GAAG,KAAK,EAAE,iBAAiB,GAAG,KAAK,EAAE,GAAG,IAAI,CAAC,KAAK,CAAA;QAE3F,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,cAAc,EAAE,SAAS,CAAC,CAAA;QAElD,KAAK,CAAC,YAAY,GAAG,YAAY,CAAA;QACjC,KAAK,CAAC,WAAW,GAAG,WAAW,CAAA;QAC/B,KAAK,CAAC,iBAAiB,GAAG,iBAAiB,CAAA;QAE3C,KAAK,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,IAAI,CAAA;IACtC,CAAC;IAED,IAAI,OAAO;QACT,OAAO,kBAAkB,CAAA;IAC3B,CAAC;CACF;AAED,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,cAAc,CAAC,CAAA","sourcesContent":["/*\n * Copyright © HatioLab Inc. All rights reserved.\n */\n\nimport { Component, ComponentNature, HTMLOverlayElement } from '@hatiolab/things-scene'\nimport { OxInputBarcode } from '@operato/input' // TODO make '@operato/input/ox-input-barcode.js' work.\n\nconst NATURE: ComponentNature = {\n mutable: false,\n resizable: true,\n rotatable: true,\n properties: [\n {\n type: 'checkbox',\n label: 'without-enter',\n name: 'withoutEnter'\n },\n {\n type: 'checkbox',\n label: 'english-only',\n name: 'englishOnly'\n },\n {\n type: 'checkbox',\n label: 'select-after-change',\n name: 'selectAfterChange'\n },\n {\n type: 'checkbox',\n label: 'autofocus',\n name: 'autofocus'\n },\n {\n type: 'checkbox',\n label: 'hide-keyboard',\n name: 'hideKeyboard'\n }\n ],\n help: 'scene/component/barcode-scanner'\n}\n\nexport default class BarcodeScanner extends HTMLOverlayElement {\n private _data: any\n\n get nature() {\n return NATURE\n }\n\n get data() {\n return this._data\n }\n\n set data(data) {\n this._data = data\n this.executeMappings() // 이전 데이터와 비교하지 않고 매핑을 실행하기 위함\n }\n\n select() {\n ;(this.element as OxInputBarcode).input.select()\n }\n\n dispose() {\n super.dispose()\n }\n\n ready() {\n super.ready()\n var scanInput = this.element as OxInputBarcode\n\n scanInput.addEventListener('change', (e: Event) => {\n this.data = scanInput.value\n })\n\n // 스캔 시 컴포넌트 데이터 세팅\n var scan = scanInput.scan\n scanInput.scan = (e: MouseEvent) =>\n scan.call(scanInput, e).then(() => {\n if (scanInput.input) this.data = scanInput.input.value\n })\n }\n\n createElement() {\n super.createElement()\n\n if (this.app.isViewMode) {\n const { hideKeyboard, autofocus } = this.state\n\n if (hideKeyboard) {\n requestAnimationFrame(() => {\n const input = (this.element as OxInputBarcode).input\n input.addEventListener('focusin', e => {\n input.setAttribute('readonly', '')\n this.select()\n\n requestAnimationFrame(() => {\n input.removeAttribute('readonly')\n })\n })\n })\n }\n\n if (autofocus) {\n requestAnimationFrame(() => {\n this.select()\n })\n }\n }\n }\n\n setElementProperties(input: OxInputBarcode) {\n const { withoutEnter = false, englishOnly = false, selectAfterChange = false } = this.state\n\n input.style.setProperty('--input-font', 'initial')\n\n input.withoutEnter = withoutEnter\n input.englishOnly = englishOnly\n input.selectAfterChange = selectAfterChange\n\n input.value = this._data = this.text\n }\n\n get tagName() {\n return 'ox-input-barcode'\n }\n}\n\nComponent.register('barcode-scanner', BarcodeScanner)\n"]}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import ZebraBrowserPrintWrapper from 'zebra-browser-print-wrapper';
|
2
|
+
export class BrowserPrinter {
|
3
|
+
constructor() {
|
4
|
+
this.printer = new ZebraBrowserPrintWrapper();
|
5
|
+
}
|
6
|
+
async print(content) {
|
7
|
+
try {
|
8
|
+
const defaultPrinter = await this.printer.getDefaultPrinter();
|
9
|
+
this.printer.setPrinter(defaultPrinter);
|
10
|
+
const status = await this.printer.checkPrinterStatus();
|
11
|
+
if (status.isReadyToPrint) {
|
12
|
+
this.printer.print(content);
|
13
|
+
}
|
14
|
+
else {
|
15
|
+
throw new Error(`Browser Printer is not ready to print (${status.errors})`);
|
16
|
+
}
|
17
|
+
}
|
18
|
+
catch (error) {
|
19
|
+
throw new Error(error);
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
//# sourceMappingURL=browser-printer.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"browser-printer.js","sourceRoot":"","sources":["../../src/direct-print/browser-printer.ts"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,MAAM,6BAA6B,CAAA;AAElE,MAAM,OAAO,cAAc;IAA3B;QACE,YAAO,GAAG,IAAI,wBAAwB,EAAE,CAAA;IAiB1C,CAAC;IAfC,KAAK,CAAC,KAAK,CAAC,OAAe;QACzB,IAAI;YACF,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,iBAAiB,EAAE,CAAA;YAC7D,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,CAAA;YAEvC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAA;YACtD,IAAI,MAAM,CAAC,cAAc,EAAE;gBACzB,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;aAC5B;iBAAM;gBACL,MAAM,IAAI,KAAK,CAAC,0CAA0C,MAAM,CAAC,MAAM,GAAG,CAAC,CAAA;aAC5E;SACF;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,IAAI,KAAK,CAAC,KAAe,CAAC,CAAA;SACjC;IACH,CAAC;CACF","sourcesContent":["import ZebraBrowserPrintWrapper from 'zebra-browser-print-wrapper'\n\nexport class BrowserPrinter {\n printer = new ZebraBrowserPrintWrapper()\n\n async print(content: string) {\n try {\n const defaultPrinter = await this.printer.getDefaultPrinter()\n this.printer.setPrinter(defaultPrinter)\n\n const status = await this.printer.checkPrinterStatus()\n if (status.isReadyToPrint) {\n this.printer.print(content)\n } else {\n throw new Error(`Browser Printer is not ready to print (${status.errors})`)\n }\n } catch (error) {\n throw new Error(error as string)\n }\n }\n}\n"]}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
export declare class USBPrinter {
|
2
|
+
filters: {
|
3
|
+
vendorId: number;
|
4
|
+
}[];
|
5
|
+
device: any;
|
6
|
+
constructor(filters?: {
|
7
|
+
vendorId: number;
|
8
|
+
}[]);
|
9
|
+
setup(): Promise<void>;
|
10
|
+
read(): Promise<string>;
|
11
|
+
_print(content: string): Promise<void>;
|
12
|
+
connectAndPrint(content: string): Promise<void>;
|
13
|
+
print(content: string): Promise<void>;
|
14
|
+
}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
const DEFAULT_FILTERS = [
|
2
|
+
{
|
3
|
+
vendorId: 0x0a5f /* zebra */
|
4
|
+
},
|
5
|
+
{
|
6
|
+
vendorId: 0x04f9 /* brother */
|
7
|
+
},
|
8
|
+
{
|
9
|
+
vendorId: 0x0828 /* sato */
|
10
|
+
}
|
11
|
+
];
|
12
|
+
export class USBPrinter {
|
13
|
+
constructor(filters = DEFAULT_FILTERS) {
|
14
|
+
this.filters = DEFAULT_FILTERS;
|
15
|
+
this.filters = filters;
|
16
|
+
}
|
17
|
+
async setup() {
|
18
|
+
//@ts-ignore
|
19
|
+
if (!navigator.usb) {
|
20
|
+
throw new Error('Browser could not access USB device. You can print only https or localhost origin.');
|
21
|
+
}
|
22
|
+
//@ts-ignore
|
23
|
+
var selectedDevice = await navigator.usb.requestDevice({
|
24
|
+
filters: this.filters
|
25
|
+
});
|
26
|
+
this.device = selectedDevice;
|
27
|
+
console.log(this.device);
|
28
|
+
await this.device.open();
|
29
|
+
if (!this.device.configuration) {
|
30
|
+
await this.device.selectConfiguration(1);
|
31
|
+
}
|
32
|
+
await this.device.claimInterface(0);
|
33
|
+
if (!this.device.configuration.interfaces[0].alternate) {
|
34
|
+
await this.device.selectAlternateInterface(0, 0);
|
35
|
+
}
|
36
|
+
}
|
37
|
+
async read() {
|
38
|
+
const { endpointNumber } = this.device.configuration.interfaces[0].alternate.endpoints[0];
|
39
|
+
var result = await this.device.transferIn(endpointNumber, 64);
|
40
|
+
var textDecoder = new TextDecoder();
|
41
|
+
return textDecoder.decode(result.data);
|
42
|
+
}
|
43
|
+
async _print(content) {
|
44
|
+
var encoder = new TextEncoder();
|
45
|
+
var data = encoder.encode(content);
|
46
|
+
const { endpointNumber } = this.device.configuration.interfaces[0].alternate.endpoints[1];
|
47
|
+
await this.device.transferOut(endpointNumber, data);
|
48
|
+
}
|
49
|
+
async connectAndPrint(content) {
|
50
|
+
this.print(content);
|
51
|
+
}
|
52
|
+
async print(content) {
|
53
|
+
try {
|
54
|
+
if (!this.device) {
|
55
|
+
await this.setup();
|
56
|
+
await this._print(content);
|
57
|
+
}
|
58
|
+
else {
|
59
|
+
await this._print(content);
|
60
|
+
}
|
61
|
+
}
|
62
|
+
catch (e) {
|
63
|
+
console.log(e);
|
64
|
+
delete this.device;
|
65
|
+
throw e;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
//# sourceMappingURL=usb-printer.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"usb-printer.js","sourceRoot":"","sources":["../../src/direct-print/usb-printer.ts"],"names":[],"mappings":"AAAA,MAAM,eAAe,GAAG;IACtB;QACE,QAAQ,EAAE,MAAM,CAAC,WAAW;KAC7B;IACD;QACE,QAAQ,EAAE,MAAM,CAAC,aAAa;KAC/B;IACD;QACE,QAAQ,EAAE,MAAM,CAAC,UAAU;KAC5B;CACF,CAAA;AAED,MAAM,O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AAW,EAAE,CAAA;QAEnC,OAAO,WAAW,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;IACxC,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,OAAe;QAC1B,IAAI,OAAO,GAAG,IAAI,WAAW,EAAE,CAAA;QAC/B,IAAI,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;QAElC,MAAM,EAAE,cAAc,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAA;QACzF,MAAM,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,cAAc,EAAE,IAAI,CAAC,CAAA;IACrD,CAAC;IAED,KAAK,CAAC,eAAe,CAAC,OAAe;QACnC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;IACrB,CAAC;IAED,KAAK,CAAC,KAAK,CAAC,OAAe;QACzB,IAAI;YACF,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;gBAChB,MAAM,IAAI,CAAC,KAAK,EAAE,CAAA;gBAClB,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;aAC3B;iBAAM;gBACL,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;aAC3B;SACF;QAAC,OAAO,CAAC,EAAE;YACV,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;YACd,OAAO,IAAI,CAAC,MAAM,CAAA;YAElB,MAAM,CAAC,CAAA;SACR;IACH,CAAC;CACF","sourcesContent":["const DEFAULT_FILTERS = [\n {\n vendorId: 0x0a5f /* zebra */\n },\n {\n vendorId: 0x04f9 /* brother */\n },\n {\n vendorId: 0x0828 /* sato */\n }\n]\n\nexport class USBPrinter {\n filters: {\n vendorId: number\n }[] = DEFAULT_FILTERS\n\n device: any\n\n constructor(filters = DEFAULT_FILTERS) {\n this.filters = filters\n }\n\n async setup() {\n //@ts-ignore\n if (!navigator.usb) {\n throw new Error('Browser could not access USB device. You can print only https or localhost origin.')\n }\n\n //@ts-ignore\n var selectedDevice = await navigator.usb.requestDevice({\n filters: this.filters\n })\n\n this.device = selectedDevice\n console.log(this.device)\n\n await this.device.open()\n if (!this.device.configuration) {\n await this.device.selectConfiguration(1)\n }\n await this.device.claimInterface(0)\n if (!this.device.configuration.interfaces[0].alternate) {\n await this.device.selectAlternateInterface(0, 0)\n }\n }\n\n async read() {\n const { endpointNumber } = this.device.configuration.interfaces[0].alternate.endpoints[0]\n\n var result = await this.device.transferIn(endpointNumber, 64)\n var textDecoder = new TextDecoder()\n\n return textDecoder.decode(result.data)\n }\n\n async _print(content: string) {\n var encoder = new TextEncoder()\n var data = encoder.encode(content)\n\n const { endpointNumber } = this.device.configuration.interfaces[0].alternate.endpoints[1]\n await this.device.transferOut(endpointNumber, data)\n }\n\n async connectAndPrint(content: string) {\n this.print(content)\n }\n\n async print(content: string) {\n try {\n if (!this.device) {\n await this.setup()\n await this._print(content)\n } else {\n await this._print(content)\n }\n } catch (e) {\n console.log(e)\n delete this.device\n\n throw e\n }\n }\n}\n"]}
|
@@ -6,19 +6,24 @@
|
|
6
6
|
"auditLog": "logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json",
|
7
7
|
"files": [
|
8
8
|
{
|
9
|
-
"date":
|
10
|
-
"name": "logs/application-2022-
|
11
|
-
"hash": "
|
9
|
+
"date": 1656842746243,
|
10
|
+
"name": "logs/application-2022-07-03-19.log",
|
11
|
+
"hash": "1ed973e426c9a6040c84484b1762bb99b6bb9abee6cc0cd6c2881014f7fbc847"
|
12
12
|
},
|
13
13
|
{
|
14
|
-
"date":
|
15
|
-
"name": "logs/application-2022-
|
16
|
-
"hash": "
|
14
|
+
"date": 1656846934501,
|
15
|
+
"name": "logs/application-2022-07-03-20.log",
|
16
|
+
"hash": "95a798528a808e0dee498d8f289dd968dc05b700465f0960c26e548ebbc93d1b"
|
17
17
|
},
|
18
18
|
{
|
19
|
-
"date":
|
20
|
-
"name": "logs/application-2022-
|
21
|
-
"hash": "
|
19
|
+
"date": 1656853013983,
|
20
|
+
"name": "logs/application-2022-07-03-21.log",
|
21
|
+
"hash": "7f1e4bfb08acbbc1b34c7498e11f55987dca2936ee806a300bc8e8051d5b4b79"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"date": 1656853926618,
|
25
|
+
"name": "logs/application-2022-07-03-22.log",
|
26
|
+
"hash": "a54ccc7839dca4c66da4dde782c1622015304b8fa35c2fbac09fc4378a03e190"
|
22
27
|
}
|
23
28
|
],
|
24
29
|
"hashType": "sha256"
|
@@ -6,24 +6,29 @@
|
|
6
6
|
"auditLog": "logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json",
|
7
7
|
"files": [
|
8
8
|
{
|
9
|
-
"date":
|
10
|
-
"name": "logs/connections-2022-06-
|
11
|
-
"hash": "
|
9
|
+
"date": 1655684245525,
|
10
|
+
"name": "logs/connections-2022-06-20-09.log",
|
11
|
+
"hash": "bfba89478f1623607f0448cc4991aeef6d4c3dffefb2fb70a713075982aee7a0"
|
12
12
|
},
|
13
13
|
{
|
14
|
-
"date":
|
15
|
-
"name": "logs/connections-2022-
|
16
|
-
"hash": "
|
14
|
+
"date": 1656842749341,
|
15
|
+
"name": "logs/connections-2022-07-03-19.log",
|
16
|
+
"hash": "aefc71a435275c381e13a7bee383a6d2e4604a9fd869ac8a17879fbf1dbde228"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"date": 1656846937641,
|
20
|
+
"name": "logs/connections-2022-07-03-20.log",
|
21
|
+
"hash": "82e68a9d48ecab8c8a4b6fe016530373adc576f8adda329dd58bcda02dacca52"
|
17
22
|
},
|
18
23
|
{
|
19
|
-
"date":
|
20
|
-
"name": "logs/connections-2022-
|
21
|
-
"hash": "
|
24
|
+
"date": 1656853019183,
|
25
|
+
"name": "logs/connections-2022-07-03-21.log",
|
26
|
+
"hash": "9f2f4bdd7c90a33ec4535a6803a126e4dfd676157efd17b9d0cc22feffb7f99e"
|
22
27
|
},
|
23
28
|
{
|
24
|
-
"date":
|
25
|
-
"name": "logs/connections-2022-
|
26
|
-
"hash": "
|
29
|
+
"date": 1656853929220,
|
30
|
+
"name": "logs/connections-2022-07-03-22.log",
|
31
|
+
"hash": "b3c7f5418efc894f83afcf12e18cbd7f375cc73bbcb329def1c7140765e65d81"
|
27
32
|
}
|
28
33
|
],
|
29
34
|
"hashType": "sha256"
|
@@ -0,0 +1,4 @@
|
|
1
|
+
2022-06-15T23:37:34+09:00 info: File Storage is Ready.
|
2
|
+
2022-06-15T23:37:39+09:00 info: Database connection established
|
3
|
+
2022-06-15T23:37:40+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
4
|
+
2022-06-15T23:37:40+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
|
@@ -0,0 +1,4 @@
|
|
1
|
+
2022-06-16T17:15:35+09:00 info: File Storage is Ready.
|
2
|
+
2022-06-16T17:15:39+09:00 info: Database connection established
|
3
|
+
2022-06-16T17:15:40+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
4
|
+
2022-06-16T17:15:40+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
|
@@ -0,0 +1,16 @@
|
|
1
|
+
2022-07-03T19:05:47+09:00 info: File Storage is Ready.
|
2
|
+
2022-07-03T19:05:53+09:00 info: Database connection established
|
3
|
+
2022-07-03T19:05:54+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
4
|
+
2022-07-03T19:05:54+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
|
5
|
+
2022-07-03T19:37:52+09:00 info: File Storage is Ready.
|
6
|
+
2022-07-03T19:37:57+09:00 info: Database connection established
|
7
|
+
2022-07-03T19:37:58+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
8
|
+
2022-07-03T19:37:58+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
|
9
|
+
2022-07-03T19:43:32+09:00 info: File Storage is Ready.
|
10
|
+
2022-07-03T19:43:37+09:00 info: Database connection established
|
11
|
+
2022-07-03T19:43:38+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
12
|
+
2022-07-03T19:43:38+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
|
13
|
+
2022-07-03T19:49:10+09:00 info: File Storage is Ready.
|
14
|
+
2022-07-03T19:49:15+09:00 info: Database connection established
|
15
|
+
2022-07-03T19:49:17+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
16
|
+
2022-07-03T19:49:17+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
|
@@ -0,0 +1,12 @@
|
|
1
|
+
2022-07-03T20:15:36+09:00 info: File Storage is Ready.
|
2
|
+
2022-07-03T20:15:41+09:00 info: Database connection established
|
3
|
+
2022-07-03T20:15:43+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
4
|
+
2022-07-03T20:15:43+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
|
5
|
+
2022-07-03T20:20:21+09:00 info: File Storage is Ready.
|
6
|
+
2022-07-03T20:20:26+09:00 info: Database connection established
|
7
|
+
2022-07-03T20:20:27+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
8
|
+
2022-07-03T20:20:27+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
|
9
|
+
2022-07-03T20:28:09+09:00 info: File Storage is Ready.
|
10
|
+
2022-07-03T20:28:19+09:00 info: Database connection established
|
11
|
+
2022-07-03T20:28:22+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
12
|
+
2022-07-03T20:28:22+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
|
@@ -0,0 +1,4 @@
|
|
1
|
+
2022-07-03T21:56:56+09:00 info: File Storage is Ready.
|
2
|
+
2022-07-03T21:57:06+09:00 info: Database connection established
|
3
|
+
2022-07-03T21:57:11+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
4
|
+
2022-07-03T21:57:11+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
|
@@ -0,0 +1,4 @@
|
|
1
|
+
2022-07-03T22:12:07+09:00 info: File Storage is Ready.
|
2
|
+
2022-07-03T22:12:13+09:00 info: Database connection established
|
3
|
+
2022-07-03T22:12:15+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
4
|
+
2022-07-03T22:12:15+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
|
@@ -0,0 +1,70 @@
|
|
1
|
+
2022-06-09T23:48:19+09:00 info: Initializing ConnectionManager...
|
2
|
+
2022-06-09T23:48:19+09:00 info: Connector 'echo-back-server' started to ready
|
3
|
+
2022-06-09T23:48:19+09:00 info: Connector 'echo-back' started to ready
|
4
|
+
2022-06-09T23:48:19+09:00 info: Connector 'http-connector' started to ready
|
5
|
+
2022-06-09T23:48:19+09:00 info: Connector 'graphql-connector' started to ready
|
6
|
+
2022-06-09T23:48:19+09:00 info: Connector 'sqlite-connector' started to ready
|
7
|
+
2022-06-09T23:48:19+09:00 info: Connector 'postgresql-connector' started to ready
|
8
|
+
2022-06-09T23:48:19+09:00 info: Connector 'mqtt-connector' started to ready
|
9
|
+
2022-06-09T23:48:19+09:00 info: Connector 'mssql-connector' started to ready
|
10
|
+
2022-06-09T23:48:19+09:00 info: Connector 'oracle-connector' started to ready
|
11
|
+
2022-06-09T23:48:19+09:00 info: Connector 'mysql-connector' started to ready
|
12
|
+
2022-06-09T23:48:19+09:00 info: Connector 'socket-server' started to ready
|
13
|
+
2022-06-09T23:48:19+09:00 info: echo-back-servers are ready
|
14
|
+
2022-06-09T23:48:19+09:00 info: echo-back connections are ready
|
15
|
+
2022-06-09T23:48:19+09:00 info: http-connector connections are ready
|
16
|
+
2022-06-09T23:48:19+09:00 info: graphql-connector connections are ready
|
17
|
+
2022-06-09T23:48:19+09:00 info: sqlite-connector connections are ready
|
18
|
+
2022-06-09T23:48:19+09:00 info: postgresql-connector connections are ready
|
19
|
+
2022-06-09T23:48:19+09:00 info: mqtt-connector connections are ready
|
20
|
+
2022-06-09T23:48:19+09:00 info: mssql-connector connections are ready
|
21
|
+
2022-06-09T23:48:19+09:00 info: oracle-connector connections are ready
|
22
|
+
2022-06-09T23:48:19+09:00 info: mysql-connector connections are ready
|
23
|
+
2022-06-09T23:48:19+09:00 info: socket servers are ready
|
24
|
+
2022-06-09T23:48:19+09:00 info: All connector for 'echo-back-server' ready
|
25
|
+
2022-06-09T23:48:19+09:00 info: All connector for 'echo-back' ready
|
26
|
+
2022-06-09T23:48:19+09:00 info: All connector for 'http-connector' ready
|
27
|
+
2022-06-09T23:48:19+09:00 info: All connector for 'graphql-connector' ready
|
28
|
+
2022-06-09T23:48:19+09:00 info: All connector for 'sqlite-connector' ready
|
29
|
+
2022-06-09T23:48:19+09:00 info: All connector for 'postgresql-connector' ready
|
30
|
+
2022-06-09T23:48:19+09:00 info: All connector for 'mqtt-connector' ready
|
31
|
+
2022-06-09T23:48:19+09:00 info: All connector for 'mssql-connector' ready
|
32
|
+
2022-06-09T23:48:19+09:00 info: All connector for 'oracle-connector' ready
|
33
|
+
2022-06-09T23:48:19+09:00 info: All connector for 'mysql-connector' ready
|
34
|
+
2022-06-09T23:48:19+09:00 info: All connector for 'socket-server' ready
|
35
|
+
2022-06-09T23:48:19+09:00 info: ConnectionManager initialization done:
|
36
|
+
2022-06-09T23:59:55+09:00 info: Initializing ConnectionManager...
|
37
|
+
2022-06-09T23:59:55+09:00 info: Connector 'echo-back-server' started to ready
|
38
|
+
2022-06-09T23:59:55+09:00 info: Connector 'echo-back' started to ready
|
39
|
+
2022-06-09T23:59:55+09:00 info: Connector 'http-connector' started to ready
|
40
|
+
2022-06-09T23:59:55+09:00 info: Connector 'graphql-connector' started to ready
|
41
|
+
2022-06-09T23:59:55+09:00 info: Connector 'sqlite-connector' started to ready
|
42
|
+
2022-06-09T23:59:55+09:00 info: Connector 'postgresql-connector' started to ready
|
43
|
+
2022-06-09T23:59:55+09:00 info: Connector 'mqtt-connector' started to ready
|
44
|
+
2022-06-09T23:59:55+09:00 info: Connector 'mssql-connector' started to ready
|
45
|
+
2022-06-09T23:59:55+09:00 info: Connector 'oracle-connector' started to ready
|
46
|
+
2022-06-09T23:59:55+09:00 info: Connector 'mysql-connector' started to ready
|
47
|
+
2022-06-09T23:59:55+09:00 info: Connector 'socket-server' started to ready
|
48
|
+
2022-06-09T23:59:55+09:00 info: echo-back-servers are ready
|
49
|
+
2022-06-09T23:59:55+09:00 info: echo-back connections are ready
|
50
|
+
2022-06-09T23:59:55+09:00 info: http-connector connections are ready
|
51
|
+
2022-06-09T23:59:55+09:00 info: graphql-connector connections are ready
|
52
|
+
2022-06-09T23:59:55+09:00 info: sqlite-connector connections are ready
|
53
|
+
2022-06-09T23:59:55+09:00 info: postgresql-connector connections are ready
|
54
|
+
2022-06-09T23:59:55+09:00 info: mqtt-connector connections are ready
|
55
|
+
2022-06-09T23:59:55+09:00 info: mssql-connector connections are ready
|
56
|
+
2022-06-09T23:59:55+09:00 info: oracle-connector connections are ready
|
57
|
+
2022-06-09T23:59:55+09:00 info: mysql-connector connections are ready
|
58
|
+
2022-06-09T23:59:55+09:00 info: socket servers are ready
|
59
|
+
2022-06-09T23:59:55+09:00 info: All connector for 'echo-back-server' ready
|
60
|
+
2022-06-09T23:59:55+09:00 info: All connector for 'echo-back' ready
|
61
|
+
2022-06-09T23:59:55+09:00 info: All connector for 'http-connector' ready
|
62
|
+
2022-06-09T23:59:55+09:00 info: All connector for 'graphql-connector' ready
|
63
|
+
2022-06-09T23:59:55+09:00 info: All connector for 'sqlite-connector' ready
|
64
|
+
2022-06-09T23:59:55+09:00 info: All connector for 'postgresql-connector' ready
|
65
|
+
2022-06-09T23:59:55+09:00 info: All connector for 'mqtt-connector' ready
|
66
|
+
2022-06-09T23:59:55+09:00 info: All connector for 'mssql-connector' ready
|
67
|
+
2022-06-09T23:59:55+09:00 info: All connector for 'oracle-connector' ready
|
68
|
+
2022-06-09T23:59:55+09:00 info: All connector for 'mysql-connector' ready
|
69
|
+
2022-06-09T23:59:55+09:00 info: All connector for 'socket-server' ready
|
70
|
+
2022-06-09T23:59:55+09:00 info: ConnectionManager initialization done:
|
@@ -1,70 +1,35 @@
|
|
1
|
-
2022-06-13T11:
|
2
|
-
2022-06-13T11:
|
3
|
-
2022-06-13T11:
|
4
|
-
2022-06-13T11:
|
5
|
-
2022-06-13T11:
|
6
|
-
2022-06-13T11:
|
7
|
-
2022-06-13T11:
|
8
|
-
2022-06-13T11:
|
9
|
-
2022-06-13T11:
|
10
|
-
2022-06-13T11:
|
11
|
-
2022-06-13T11:
|
12
|
-
2022-06-13T11:
|
13
|
-
2022-06-13T11:
|
14
|
-
2022-06-13T11:
|
15
|
-
2022-06-13T11:
|
16
|
-
2022-06-13T11:
|
17
|
-
2022-06-13T11:
|
18
|
-
2022-06-13T11:
|
19
|
-
2022-06-13T11:
|
20
|
-
2022-06-13T11:
|
21
|
-
2022-06-13T11:
|
22
|
-
2022-06-13T11:
|
23
|
-
2022-06-13T11:
|
24
|
-
2022-06-13T11:
|
25
|
-
2022-06-13T11:
|
26
|
-
2022-06-13T11:
|
27
|
-
2022-06-13T11:
|
28
|
-
2022-06-13T11:
|
29
|
-
2022-06-13T11:
|
30
|
-
2022-06-13T11:
|
31
|
-
2022-06-13T11:
|
32
|
-
2022-06-13T11:
|
33
|
-
2022-06-13T11:
|
34
|
-
2022-06-13T11:
|
35
|
-
2022-06-13T11:
|
36
|
-
2022-06-13T11:46:32+09:00 info: Initializing ConnectionManager...
|
37
|
-
2022-06-13T11:46:32+09:00 info: Connector 'echo-back-server' started to ready
|
38
|
-
2022-06-13T11:46:32+09:00 info: Connector 'echo-back' started to ready
|
39
|
-
2022-06-13T11:46:32+09:00 info: Connector 'http-connector' started to ready
|
40
|
-
2022-06-13T11:46:32+09:00 info: Connector 'graphql-connector' started to ready
|
41
|
-
2022-06-13T11:46:32+09:00 info: Connector 'sqlite-connector' started to ready
|
42
|
-
2022-06-13T11:46:32+09:00 info: Connector 'postgresql-connector' started to ready
|
43
|
-
2022-06-13T11:46:32+09:00 info: Connector 'mqtt-connector' started to ready
|
44
|
-
2022-06-13T11:46:32+09:00 info: Connector 'mssql-connector' started to ready
|
45
|
-
2022-06-13T11:46:32+09:00 info: Connector 'oracle-connector' started to ready
|
46
|
-
2022-06-13T11:46:32+09:00 info: Connector 'mysql-connector' started to ready
|
47
|
-
2022-06-13T11:46:32+09:00 info: Connector 'socket-server' started to ready
|
48
|
-
2022-06-13T11:46:32+09:00 info: echo-back-servers are ready
|
49
|
-
2022-06-13T11:46:32+09:00 info: echo-back connections are ready
|
50
|
-
2022-06-13T11:46:32+09:00 info: http-connector connections are ready
|
51
|
-
2022-06-13T11:46:32+09:00 info: graphql-connector connections are ready
|
52
|
-
2022-06-13T11:46:32+09:00 info: sqlite-connector connections are ready
|
53
|
-
2022-06-13T11:46:32+09:00 info: postgresql-connector connections are ready
|
54
|
-
2022-06-13T11:46:32+09:00 info: mqtt-connector connections are ready
|
55
|
-
2022-06-13T11:46:32+09:00 info: mssql-connector connections are ready
|
56
|
-
2022-06-13T11:46:32+09:00 info: oracle-connector connections are ready
|
57
|
-
2022-06-13T11:46:32+09:00 info: mysql-connector connections are ready
|
58
|
-
2022-06-13T11:46:32+09:00 info: socket servers are ready
|
59
|
-
2022-06-13T11:46:32+09:00 info: All connector for 'echo-back-server' ready
|
60
|
-
2022-06-13T11:46:32+09:00 info: All connector for 'echo-back' ready
|
61
|
-
2022-06-13T11:46:32+09:00 info: All connector for 'http-connector' ready
|
62
|
-
2022-06-13T11:46:32+09:00 info: All connector for 'graphql-connector' ready
|
63
|
-
2022-06-13T11:46:32+09:00 info: All connector for 'sqlite-connector' ready
|
64
|
-
2022-06-13T11:46:32+09:00 info: All connector for 'postgresql-connector' ready
|
65
|
-
2022-06-13T11:46:32+09:00 info: All connector for 'mqtt-connector' ready
|
66
|
-
2022-06-13T11:46:32+09:00 info: All connector for 'mssql-connector' ready
|
67
|
-
2022-06-13T11:46:32+09:00 info: All connector for 'oracle-connector' ready
|
68
|
-
2022-06-13T11:46:32+09:00 info: All connector for 'mysql-connector' ready
|
69
|
-
2022-06-13T11:46:32+09:00 info: All connector for 'socket-server' ready
|
70
|
-
2022-06-13T11:46:32+09:00 info: ConnectionManager initialization done:
|
1
|
+
2022-06-13T11:50:42+09:00 info: Initializing ConnectionManager...
|
2
|
+
2022-06-13T11:50:42+09:00 info: Connector 'echo-back-server' started to ready
|
3
|
+
2022-06-13T11:50:42+09:00 info: Connector 'echo-back' started to ready
|
4
|
+
2022-06-13T11:50:42+09:00 info: Connector 'http-connector' started to ready
|
5
|
+
2022-06-13T11:50:42+09:00 info: Connector 'graphql-connector' started to ready
|
6
|
+
2022-06-13T11:50:42+09:00 info: Connector 'sqlite-connector' started to ready
|
7
|
+
2022-06-13T11:50:42+09:00 info: Connector 'postgresql-connector' started to ready
|
8
|
+
2022-06-13T11:50:42+09:00 info: Connector 'mqtt-connector' started to ready
|
9
|
+
2022-06-13T11:50:42+09:00 info: Connector 'mssql-connector' started to ready
|
10
|
+
2022-06-13T11:50:42+09:00 info: Connector 'oracle-connector' started to ready
|
11
|
+
2022-06-13T11:50:42+09:00 info: Connector 'mysql-connector' started to ready
|
12
|
+
2022-06-13T11:50:42+09:00 info: Connector 'socket-server' started to ready
|
13
|
+
2022-06-13T11:50:42+09:00 info: echo-back-servers are ready
|
14
|
+
2022-06-13T11:50:42+09:00 info: echo-back connections are ready
|
15
|
+
2022-06-13T11:50:42+09:00 info: http-connector connections are ready
|
16
|
+
2022-06-13T11:50:42+09:00 info: graphql-connector connections are ready
|
17
|
+
2022-06-13T11:50:42+09:00 info: sqlite-connector connections are ready
|
18
|
+
2022-06-13T11:50:42+09:00 info: postgresql-connector connections are ready
|
19
|
+
2022-06-13T11:50:42+09:00 info: mqtt-connector connections are ready
|
20
|
+
2022-06-13T11:50:42+09:00 info: mssql-connector connections are ready
|
21
|
+
2022-06-13T11:50:42+09:00 info: oracle-connector connections are ready
|
22
|
+
2022-06-13T11:50:42+09:00 info: mysql-connector connections are ready
|
23
|
+
2022-06-13T11:50:42+09:00 info: socket servers are ready
|
24
|
+
2022-06-13T11:50:42+09:00 info: All connector for 'echo-back-server' ready
|
25
|
+
2022-06-13T11:50:42+09:00 info: All connector for 'echo-back' ready
|
26
|
+
2022-06-13T11:50:42+09:00 info: All connector for 'http-connector' ready
|
27
|
+
2022-06-13T11:50:42+09:00 info: All connector for 'graphql-connector' ready
|
28
|
+
2022-06-13T11:50:42+09:00 info: All connector for 'sqlite-connector' ready
|
29
|
+
2022-06-13T11:50:42+09:00 info: All connector for 'postgresql-connector' ready
|
30
|
+
2022-06-13T11:50:42+09:00 info: All connector for 'mqtt-connector' ready
|
31
|
+
2022-06-13T11:50:42+09:00 info: All connector for 'mssql-connector' ready
|
32
|
+
2022-06-13T11:50:42+09:00 info: All connector for 'oracle-connector' ready
|
33
|
+
2022-06-13T11:50:42+09:00 info: All connector for 'mysql-connector' ready
|
34
|
+
2022-06-13T11:50:42+09:00 info: All connector for 'socket-server' ready
|
35
|
+
2022-06-13T11:50:42+09:00 info: ConnectionManager initialization done:
|
@@ -0,0 +1,35 @@
|
|
1
|
+
2022-06-13T12:01:55+09:00 info: Initializing ConnectionManager...
|
2
|
+
2022-06-13T12:01:55+09:00 info: Connector 'echo-back-server' started to ready
|
3
|
+
2022-06-13T12:01:55+09:00 info: Connector 'echo-back' started to ready
|
4
|
+
2022-06-13T12:01:55+09:00 info: Connector 'http-connector' started to ready
|
5
|
+
2022-06-13T12:01:55+09:00 info: Connector 'graphql-connector' started to ready
|
6
|
+
2022-06-13T12:01:55+09:00 info: Connector 'sqlite-connector' started to ready
|
7
|
+
2022-06-13T12:01:55+09:00 info: Connector 'postgresql-connector' started to ready
|
8
|
+
2022-06-13T12:01:55+09:00 info: Connector 'mqtt-connector' started to ready
|
9
|
+
2022-06-13T12:01:55+09:00 info: Connector 'mssql-connector' started to ready
|
10
|
+
2022-06-13T12:01:55+09:00 info: Connector 'oracle-connector' started to ready
|
11
|
+
2022-06-13T12:01:55+09:00 info: Connector 'mysql-connector' started to ready
|
12
|
+
2022-06-13T12:01:55+09:00 info: Connector 'socket-server' started to ready
|
13
|
+
2022-06-13T12:01:55+09:00 info: echo-back-servers are ready
|
14
|
+
2022-06-13T12:01:55+09:00 info: echo-back connections are ready
|
15
|
+
2022-06-13T12:01:55+09:00 info: http-connector connections are ready
|
16
|
+
2022-06-13T12:01:55+09:00 info: graphql-connector connections are ready
|
17
|
+
2022-06-13T12:01:55+09:00 info: sqlite-connector connections are ready
|
18
|
+
2022-06-13T12:01:55+09:00 info: postgresql-connector connections are ready
|
19
|
+
2022-06-13T12:01:55+09:00 info: mqtt-connector connections are ready
|
20
|
+
2022-06-13T12:01:55+09:00 info: mssql-connector connections are ready
|
21
|
+
2022-06-13T12:01:55+09:00 info: oracle-connector connections are ready
|
22
|
+
2022-06-13T12:01:55+09:00 info: mysql-connector connections are ready
|
23
|
+
2022-06-13T12:01:55+09:00 info: socket servers are ready
|
24
|
+
2022-06-13T12:01:55+09:00 info: All connector for 'echo-back-server' ready
|
25
|
+
2022-06-13T12:01:55+09:00 info: All connector for 'echo-back' ready
|
26
|
+
2022-06-13T12:01:55+09:00 info: All connector for 'http-connector' ready
|
27
|
+
2022-06-13T12:01:55+09:00 info: All connector for 'graphql-connector' ready
|
28
|
+
2022-06-13T12:01:55+09:00 info: All connector for 'sqlite-connector' ready
|
29
|
+
2022-06-13T12:01:55+09:00 info: All connector for 'postgresql-connector' ready
|
30
|
+
2022-06-13T12:01:55+09:00 info: All connector for 'mqtt-connector' ready
|
31
|
+
2022-06-13T12:01:55+09:00 info: All connector for 'mssql-connector' ready
|
32
|
+
2022-06-13T12:01:55+09:00 info: All connector for 'oracle-connector' ready
|
33
|
+
2022-06-13T12:01:55+09:00 info: All connector for 'mysql-connector' ready
|
34
|
+
2022-06-13T12:01:55+09:00 info: All connector for 'socket-server' ready
|
35
|
+
2022-06-13T12:01:55+09:00 info: ConnectionManager initialization done:
|