@things-factory/integration-ui 9.0.0-beta.24 → 9.0.0-beta.27
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/package.json +6 -6
- package/dist-client/analysis/graph-data.d.ts +0 -36
- package/dist-client/analysis/graph-data.js +0 -2
- package/dist-client/analysis/graph-data.js.map +0 -1
- package/dist-client/analysis/graph-viewer-style.d.ts +0 -1
- package/dist-client/analysis/graph-viewer-style.js +0 -121
- package/dist-client/analysis/graph-viewer-style.js.map +0 -1
- package/dist-client/analysis/graph-viewer.d.ts +0 -36
- package/dist-client/analysis/graph-viewer.js +0 -294
- package/dist-client/analysis/graph-viewer.js.map +0 -1
- package/dist-client/analysis/node.d.ts +0 -4
- package/dist-client/analysis/node.js +0 -59
- package/dist-client/analysis/node.js.map +0 -1
- package/dist-client/analysis/relationship.d.ts +0 -4
- package/dist-client/analysis/relationship.js +0 -13
- package/dist-client/analysis/relationship.js.map +0 -1
- package/dist-client/analysis/utils.d.ts +0 -20
- package/dist-client/analysis/utils.js +0 -31
- package/dist-client/analysis/utils.js.map +0 -1
- package/dist-client/bootstrap.d.ts +0 -3
- package/dist-client/bootstrap.js +0 -30
- package/dist-client/bootstrap.js.map +0 -1
- package/dist-client/editors/entity-editor.d.ts +0 -10
- package/dist-client/editors/entity-editor.js +0 -46
- package/dist-client/editors/entity-editor.js.map +0 -1
- package/dist-client/editors/entity-selector.d.ts +0 -31
- package/dist-client/editors/entity-selector.js +0 -301
- package/dist-client/editors/entity-selector.js.map +0 -1
- package/dist-client/editors/property-editor.d.ts +0 -30
- package/dist-client/editors/property-editor.js +0 -105
- package/dist-client/editors/property-editor.js.map +0 -1
- package/dist-client/editors/things-editor-db-procedure.d.ts +0 -52
- package/dist-client/editors/things-editor-db-procedure.js +0 -495
- package/dist-client/editors/things-editor-db-procedure.js.map +0 -1
- package/dist-client/editors/things-editor-entity-selector.d.ts +0 -15
- package/dist-client/editors/things-editor-entity-selector.js +0 -94
- package/dist-client/editors/things-editor-entity-selector.js.map +0 -1
- package/dist-client/editors/things-editor-http-body.d.ts +0 -22
- package/dist-client/editors/things-editor-http-body.js +0 -137
- package/dist-client/editors/things-editor-http-body.js.map +0 -1
- package/dist-client/editors/things-editor-http-headers.d.ts +0 -29
- package/dist-client/editors/things-editor-http-headers.js +0 -167
- package/dist-client/editors/things-editor-http-headers.js.map +0 -1
- package/dist-client/editors/things-editor-http-parameters.d.ts +0 -29
- package/dist-client/editors/things-editor-http-parameters.js +0 -167
- package/dist-client/editors/things-editor-http-parameters.js.map +0 -1
- package/dist-client/editors/things-editor-tag-scenarios.d.ts +0 -32
- package/dist-client/editors/things-editor-tag-scenarios.js +0 -226
- package/dist-client/editors/things-editor-tag-scenarios.js.map +0 -1
- package/dist-client/grist/connection-selector.d.ts +0 -4
- package/dist-client/grist/connection-selector.js +0 -30
- package/dist-client/grist/connection-selector.js.map +0 -1
- package/dist-client/grist/connector-selector.d.ts +0 -4
- package/dist-client/grist/connector-selector.js +0 -30
- package/dist-client/grist/connector-selector.js.map +0 -1
- package/dist-client/grist/dynamic-selector.d.ts +0 -10
- package/dist-client/grist/dynamic-selector.js +0 -32
- package/dist-client/grist/dynamic-selector.js.map +0 -1
- package/dist-client/grist/task-type-selector.d.ts +0 -7
- package/dist-client/grist/task-type-selector.js +0 -58
- package/dist-client/grist/task-type-selector.js.map +0 -1
- package/dist-client/index.d.ts +0 -2
- package/dist-client/index.js +0 -3
- package/dist-client/index.js.map +0 -1
- package/dist-client/pages/connection-importer.d.ts +0 -10
- package/dist-client/pages/connection-importer.js +0 -102
- package/dist-client/pages/connection-importer.js.map +0 -1
- package/dist-client/pages/connection.d.ts +0 -64
- package/dist-client/pages/connection.js +0 -478
- package/dist-client/pages/connection.js.map +0 -1
- package/dist-client/pages/integration-analysis.d.ts +0 -24
- package/dist-client/pages/integration-analysis.js +0 -238
- package/dist-client/pages/integration-analysis.js.map +0 -1
- package/dist-client/pages/integration-monitor.d.ts +0 -28
- package/dist-client/pages/integration-monitor.js +0 -343
- package/dist-client/pages/integration-monitor.js.map +0 -1
- package/dist-client/pages/scenario-detail.d.ts +0 -2
- package/dist-client/pages/scenario-detail.js +0 -298
- package/dist-client/pages/scenario-detail.js.map +0 -1
- package/dist-client/pages/scenario-importer.d.ts +0 -10
- package/dist-client/pages/scenario-importer.js +0 -108
- package/dist-client/pages/scenario-importer.js.map +0 -1
- package/dist-client/pages/scenario.d.ts +0 -69
- package/dist-client/pages/scenario.js +0 -632
- package/dist-client/pages/scenario.js.map +0 -1
- package/dist-client/pages/state-register.d.ts +0 -50
- package/dist-client/pages/state-register.js +0 -278
- package/dist-client/pages/state-register.js.map +0 -1
- package/dist-client/route.d.ts +0 -1
- package/dist-client/route.js +0 -20
- package/dist-client/route.js.map +0 -1
- package/dist-client/tsconfig.tsbuildinfo +0 -1
- package/dist-client/viewparts/connections-monitor.d.ts +0 -10
- package/dist-client/viewparts/connections-monitor.js +0 -172
- package/dist-client/viewparts/connections-monitor.js.map +0 -1
- package/dist-client/viewparts/monitoring-summary.d.ts +0 -13
- package/dist-client/viewparts/monitoring-summary.js +0 -142
- package/dist-client/viewparts/monitoring-summary.js.map +0 -1
- package/dist-client/viewparts/pending-q-monitor.d.ts +0 -18
- package/dist-client/viewparts/pending-q-monitor.js +0 -248
- package/dist-client/viewparts/pending-q-monitor.js.map +0 -1
- package/dist-client/viewparts/scenario-instance-log-view.d.ts +0 -24
- package/dist-client/viewparts/scenario-instance-log-view.js +0 -141
- package/dist-client/viewparts/scenario-instance-log-view.js.map +0 -1
- package/dist-client/viewparts/scenario-instance-monitor.d.ts +0 -15
- package/dist-client/viewparts/scenario-instance-monitor.js +0 -173
- package/dist-client/viewparts/scenario-instance-monitor.js.map +0 -1
- package/dist-client/viewparts/scenario-instance-view.d.ts +0 -29
- package/dist-client/viewparts/scenario-instance-view.js +0 -263
- package/dist-client/viewparts/scenario-instance-view.js.map +0 -1
- package/dist-client/viewparts/scenario-monitor.d.ts +0 -16
- package/dist-client/viewparts/scenario-monitor.js +0 -285
- package/dist-client/viewparts/scenario-monitor.js.map +0 -1
- package/dist-client/viewparts/scenarios-monitor.d.ts +0 -16
- package/dist-client/viewparts/scenarios-monitor.js +0 -170
- package/dist-client/viewparts/scenarios-monitor.js.map +0 -1
- package/dist-server/index.d.ts +0 -0
- package/dist-server/index.js +0 -1
- package/dist-server/index.js.map +0 -1
- package/dist-server/tsconfig.tsbuildinfo +0 -1
@@ -1,105 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright © HatioLab Inc. All rights reserved.
|
3
|
-
*/
|
4
|
-
import './things-editor-http-headers.js';
|
5
|
-
import './things-editor-http-parameters.js';
|
6
|
-
import './things-editor-http-body.js';
|
7
|
-
import './things-editor-db-procedure.js';
|
8
|
-
import './things-editor-tag-scenarios.js';
|
9
|
-
import { html } from 'lit';
|
10
|
-
import { OxPropertyEditor } from '@operato/property-editor';
|
11
|
-
export class PropertyEditorScenarioStepInput extends OxPropertyEditor {
|
12
|
-
static get styles() {
|
13
|
-
return [...OxPropertyEditor.styles];
|
14
|
-
}
|
15
|
-
editorTemplate(value, spec) {
|
16
|
-
/* context must be a datagrid(grist) instance, and host must be a record */
|
17
|
-
const { context: grid, host: record } = spec;
|
18
|
-
const steps = (grid === null || grid === void 0 ? void 0 : grid.dirtyData.records.filter(rec => rec.name !== record.name).map(rec => rec.name)) || [];
|
19
|
-
return html `
|
20
|
-
<input id="editor" .value=${value || ''} list="step-list" />
|
21
|
-
<datalist id="step-list">${steps.map(id => html ` <option value=${id}></option> `)}</datalist>
|
22
|
-
`;
|
23
|
-
}
|
24
|
-
}
|
25
|
-
customElements.define('property-editor-scenario-step-input', PropertyEditorScenarioStepInput);
|
26
|
-
export class PropertyEditorHttpHeaders extends OxPropertyEditor {
|
27
|
-
static get styles() {
|
28
|
-
return [...OxPropertyEditor.styles];
|
29
|
-
}
|
30
|
-
editorTemplate(value, spec) {
|
31
|
-
return html `
|
32
|
-
<things-editor-http-headers id="editor" .value=${value} .properties=${spec.property}></things-editor-http-headers>
|
33
|
-
`;
|
34
|
-
}
|
35
|
-
}
|
36
|
-
customElements.define('property-editor-http-headers', PropertyEditorHttpHeaders);
|
37
|
-
export class PropertyEditorHttpParameters extends OxPropertyEditor {
|
38
|
-
static get styles() {
|
39
|
-
return [...OxPropertyEditor.styles];
|
40
|
-
}
|
41
|
-
editorTemplate(value, spec) {
|
42
|
-
return html `
|
43
|
-
<things-editor-http-parameters
|
44
|
-
id="editor"
|
45
|
-
.value=${value}
|
46
|
-
.properties=${spec.property}
|
47
|
-
></things-editor-http-parameters>
|
48
|
-
`;
|
49
|
-
}
|
50
|
-
}
|
51
|
-
customElements.define('property-editor-http-parameters', PropertyEditorHttpParameters);
|
52
|
-
export class PropertyEditorHttpBody extends OxPropertyEditor {
|
53
|
-
static get styles() {
|
54
|
-
return [...OxPropertyEditor.styles];
|
55
|
-
}
|
56
|
-
editorTemplate(value, spec) {
|
57
|
-
return html `
|
58
|
-
<things-editor-http-body id="editor" .value=${value} .properties=${spec.property}></things-editor-http-body>
|
59
|
-
`;
|
60
|
-
}
|
61
|
-
}
|
62
|
-
customElements.define('property-editor-http-body', PropertyEditorHttpBody);
|
63
|
-
export class PropertyEditorProcedureParameters extends OxPropertyEditor {
|
64
|
-
static get styles() {
|
65
|
-
return [...OxPropertyEditor.styles];
|
66
|
-
}
|
67
|
-
editorTemplate(value, spec) {
|
68
|
-
/* context must be a datagrid(grist) instance, and host must be a record */
|
69
|
-
const { context: grid, host: record } = spec;
|
70
|
-
const { dbtype = 'oracle' } = spec.property || {};
|
71
|
-
const steps = (grid === null || grid === void 0 ? void 0 : grid.dirtyData.records.filter(rec => rec.name !== record.name).map(rec => rec.name)) || [];
|
72
|
-
return html `
|
73
|
-
<things-editor-db-procedure
|
74
|
-
id="editor"
|
75
|
-
.value=${value}
|
76
|
-
.properties=${spec.property}
|
77
|
-
.steps=${steps}
|
78
|
-
.dbtype=${dbtype}
|
79
|
-
fullwidth
|
80
|
-
></things-editor-db-procedure>
|
81
|
-
`;
|
82
|
-
}
|
83
|
-
}
|
84
|
-
customElements.define('property-editor-procedure-parameters', PropertyEditorProcedureParameters);
|
85
|
-
export class PropertyEditorTagScenarios extends OxPropertyEditor {
|
86
|
-
static get styles() {
|
87
|
-
return [...OxPropertyEditor.styles];
|
88
|
-
}
|
89
|
-
editorTemplate(value, spec) {
|
90
|
-
/* context must be a datagrid(grist) instance, and host must be a record */
|
91
|
-
const { context: grid, host: record } = spec;
|
92
|
-
const steps = (grid === null || grid === void 0 ? void 0 : grid.dirtyData.records.filter(rec => rec.name !== record.name).map(rec => rec.name)) || [];
|
93
|
-
return html `
|
94
|
-
<things-editor-tag-scenarios
|
95
|
-
id="editor"
|
96
|
-
.value=${value}
|
97
|
-
.properties=${spec.property}
|
98
|
-
.steps=${steps}
|
99
|
-
fullwidth
|
100
|
-
></things-editor-tag-scenarios>
|
101
|
-
`;
|
102
|
-
}
|
103
|
-
}
|
104
|
-
customElements.define('property-editor-tag-scenarios', PropertyEditorTagScenarios);
|
105
|
-
//# sourceMappingURL=property-editor.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"property-editor.js","sourceRoot":"","sources":["../../client/editors/property-editor.ts"],"names":[],"mappings":"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","sourcesContent":["/*\n * Copyright © HatioLab Inc. All rights reserved.\n */\nimport './things-editor-http-headers.js'\nimport './things-editor-http-parameters.js'\nimport './things-editor-http-body.js'\nimport './things-editor-db-procedure.js'\nimport './things-editor-tag-scenarios.js'\n\nimport { html } from 'lit'\n\nimport { OxPropertyEditor } from '@operato/property-editor'\n\nexport class PropertyEditorScenarioStepInput extends OxPropertyEditor {\n static get styles() {\n return [...OxPropertyEditor.styles]\n }\n\n editorTemplate(value, spec) {\n /* context must be a datagrid(grist) instance, and host must be a record */\n const { context: grid, host: record } = spec\n const steps = grid?.dirtyData.records.filter(rec => rec.name !== record.name).map(rec => rec.name) || []\n\n return html`\n <input id=\"editor\" .value=${value || ''} list=\"step-list\" />\n <datalist id=\"step-list\">${steps.map(id => html` <option value=${id}></option> `)}</datalist>\n `\n }\n}\n\ncustomElements.define('property-editor-scenario-step-input', PropertyEditorScenarioStepInput)\n\nexport class PropertyEditorHttpHeaders extends OxPropertyEditor {\n static get styles() {\n return [...OxPropertyEditor.styles]\n }\n\n editorTemplate(value, spec) {\n return html`\n <things-editor-http-headers id=\"editor\" .value=${value} .properties=${spec.property}></things-editor-http-headers>\n `\n }\n}\n\ncustomElements.define('property-editor-http-headers', PropertyEditorHttpHeaders)\n\nexport class PropertyEditorHttpParameters extends OxPropertyEditor {\n static get styles() {\n return [...OxPropertyEditor.styles]\n }\n\n editorTemplate(value, spec) {\n return html`\n <things-editor-http-parameters\n id=\"editor\"\n .value=${value}\n .properties=${spec.property}\n ></things-editor-http-parameters>\n `\n }\n}\n\ncustomElements.define('property-editor-http-parameters', PropertyEditorHttpParameters)\n\nexport class PropertyEditorHttpBody extends OxPropertyEditor {\n static get styles() {\n return [...OxPropertyEditor.styles]\n }\n\n editorTemplate(value, spec) {\n return html`\n <things-editor-http-body id=\"editor\" .value=${value} .properties=${spec.property}></things-editor-http-body>\n `\n }\n}\n\ncustomElements.define('property-editor-http-body', PropertyEditorHttpBody)\n\nexport class PropertyEditorProcedureParameters extends OxPropertyEditor {\n static get styles() {\n return [...OxPropertyEditor.styles]\n }\n\n editorTemplate(value, spec) {\n /* context must be a datagrid(grist) instance, and host must be a record */\n const { context: grid, host: record } = spec\n const { dbtype = 'oracle' } = spec.property || {}\n\n const steps = grid?.dirtyData.records.filter(rec => rec.name !== record.name).map(rec => rec.name) || []\n\n return html`\n <things-editor-db-procedure\n id=\"editor\"\n .value=${value}\n .properties=${spec.property}\n .steps=${steps}\n .dbtype=${dbtype}\n fullwidth\n ></things-editor-db-procedure>\n `\n }\n}\n\ncustomElements.define('property-editor-procedure-parameters', PropertyEditorProcedureParameters)\n\nexport class PropertyEditorTagScenarios extends OxPropertyEditor {\n static get styles() {\n return [...OxPropertyEditor.styles]\n }\n\n editorTemplate(value, spec) {\n /* context must be a datagrid(grist) instance, and host must be a record */\n const { context: grid, host: record } = spec\n const steps = grid?.dirtyData.records.filter(rec => rec.name !== record.name).map(rec => rec.name) || []\n\n return html`\n <things-editor-tag-scenarios\n id=\"editor\"\n .value=${value}\n .properties=${spec.property}\n .steps=${steps}\n fullwidth\n ></things-editor-tag-scenarios>\n `\n }\n}\n\ncustomElements.define('property-editor-tag-scenarios', PropertyEditorTagScenarios)\n"]}
|
@@ -1,52 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright © HatioLab Inc. All rights reserved.
|
3
|
-
*/
|
4
|
-
import '@material/web/icon/icon.js';
|
5
|
-
import '@operato/i18n/ox-i18n.js';
|
6
|
-
import { OxFormField } from '@operato/input';
|
7
|
-
type ProcedureParameterType = {
|
8
|
-
name: string;
|
9
|
-
dir: string;
|
10
|
-
type: string;
|
11
|
-
val?: any;
|
12
|
-
accessor?: string;
|
13
|
-
maxSize?: number;
|
14
|
-
};
|
15
|
-
type ValueType = {
|
16
|
-
code?: string;
|
17
|
-
procedure?: string;
|
18
|
-
parameters?: ProcedureParameterType[];
|
19
|
-
};
|
20
|
-
/**
|
21
|
-
input component for procedure-parameters
|
22
|
-
|
23
|
-
Example:
|
24
|
-
|
25
|
-
<things-editor-db-procedure
|
26
|
-
value=${map}
|
27
|
-
</things-editor-db-procedure>
|
28
|
-
*/
|
29
|
-
export declare class ThingsEditorProcedureParameters extends OxFormField {
|
30
|
-
static styles: import("lit").CSSResult[];
|
31
|
-
value: ValueType;
|
32
|
-
steps: string[];
|
33
|
-
dbtype: 'oracle' | 'mssql';
|
34
|
-
private procedure?;
|
35
|
-
private parameters?;
|
36
|
-
private _changingNow;
|
37
|
-
records: NodeListOf<HTMLElement>;
|
38
|
-
firstUpdated(): void;
|
39
|
-
render(): import("lit-html").TemplateResult<1>;
|
40
|
-
updated(changes: any): void;
|
41
|
-
_onChange(e: Event): void;
|
42
|
-
_adjust({ name, type, dir, maxSize, val, accessor }: ProcedureParameterType): ProcedureParameterType;
|
43
|
-
_build(includeNewRecord?: boolean): void;
|
44
|
-
_buildOracleCode(): string;
|
45
|
-
_buildMssqlCode(): string;
|
46
|
-
_updateValue(): void;
|
47
|
-
_add(): void;
|
48
|
-
_delete(e: MouseEvent): void;
|
49
|
-
_up(e: MouseEvent): void;
|
50
|
-
_down(e: MouseEvent): void;
|
51
|
-
}
|
52
|
-
export {};
|
@@ -1,495 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright © HatioLab Inc. All rights reserved.
|
3
|
-
*/
|
4
|
-
import { __decorate, __metadata } from "tslib";
|
5
|
-
import '@material/web/icon/icon.js';
|
6
|
-
import '@operato/i18n/ox-i18n.js';
|
7
|
-
import { css, html } from 'lit';
|
8
|
-
import { customElement, property, queryAll, state } from 'lit/decorators.js';
|
9
|
-
import { OxFormField } from '@operato/input';
|
10
|
-
const NUMBERS = ['TINYINT', 'SMALLINT', 'INT', 'BIGINT', 'FLOAT', 'READ', 'DECIMAL', 'NUMERIC', 'MONEY', 'SMALLMONEY'];
|
11
|
-
const PARAMETERIZED_TYPES = ['NCHAR', 'VARCHAR', 'NVARCHAR', 'TEXT', 'NTEXT', 'DECIMAL', 'NUMERIC'];
|
12
|
-
/**
|
13
|
-
input component for procedure-parameters
|
14
|
-
|
15
|
-
Example:
|
16
|
-
|
17
|
-
<things-editor-db-procedure
|
18
|
-
value=${map}
|
19
|
-
</things-editor-db-procedure>
|
20
|
-
*/
|
21
|
-
let ThingsEditorProcedureParameters = class ThingsEditorProcedureParameters extends OxFormField {
|
22
|
-
constructor() {
|
23
|
-
super(...arguments);
|
24
|
-
this.value = {};
|
25
|
-
this.steps = [];
|
26
|
-
this.dbtype = 'oracle';
|
27
|
-
this.procedure = '';
|
28
|
-
this.parameters = [];
|
29
|
-
this._changingNow = false;
|
30
|
-
}
|
31
|
-
firstUpdated() {
|
32
|
-
this.renderRoot.addEventListener('change', this._onChange.bind(this));
|
33
|
-
}
|
34
|
-
render() {
|
35
|
-
var _a;
|
36
|
-
const code = ((_a = this.value) === null || _a === void 0 ? void 0 : _a.code) || '';
|
37
|
-
const parameters = this.parameters || [];
|
38
|
-
const procedure = this.procedure || '';
|
39
|
-
const dbtype = this.dbtype || 'oracle';
|
40
|
-
const steps = this.steps || [];
|
41
|
-
return html `
|
42
|
-
<div>
|
43
|
-
<label><ox-i18n msgid="label.procedure-code"></ox-i18n></label>
|
44
|
-
</div>
|
45
|
-
|
46
|
-
<div>
|
47
|
-
<pre>
|
48
|
-
<code>${code}</code>
|
49
|
-
</pre
|
50
|
-
>
|
51
|
-
</div>
|
52
|
-
|
53
|
-
<div>
|
54
|
-
<label><ox-i18n msgid="label.procedure-name"></ox-i18n></label>
|
55
|
-
</div>
|
56
|
-
|
57
|
-
<div>
|
58
|
-
<input type="text" data-procedure .value=${procedure} />
|
59
|
-
</div>
|
60
|
-
|
61
|
-
<div>
|
62
|
-
<label><ox-i18n msgid="label.parameters"></ox-i18n></label>
|
63
|
-
</div>
|
64
|
-
|
65
|
-
${parameters.map(item => html `
|
66
|
-
<div data-record>
|
67
|
-
<input type="text" data-name placeholder="name" .value=${item.name} />
|
68
|
-
<select data-dir placeholder="dir" .value=${item.dir}>
|
69
|
-
<option value="" ?selected=${item.dir == ''}> </option>
|
70
|
-
<option value="In" ?selected=${item.dir == 'In'}>In</option>
|
71
|
-
<option value="Inout" ?selected=${item.dir == 'Inout'}>Inout</option>
|
72
|
-
<option value="Out" ?selected=${item.dir == 'Out'}>Out</option>
|
73
|
-
</select>
|
74
|
-
<select data-type placeholder="type" .value=${item.type}>
|
75
|
-
${dbtype == 'oracle'
|
76
|
-
? html `
|
77
|
-
<option value="" ?selected=${item.type == ''}> </option>
|
78
|
-
<option value="String" ?selected=${item.type == 'String'}>String</option>
|
79
|
-
<option value="Number" ?selected=${item.type == 'Number'}>Number</option>
|
80
|
-
<option value="Date" ?selected=${item.type == 'Date'}>Date</option>
|
81
|
-
<!--
|
82
|
-
<option value="Buffer" ?selected=${item.type == 'Buffer'}>Buffer</option>
|
83
|
-
<option value="Blob" ?selected=${item.type == 'Blob'}>Blob</option>
|
84
|
-
<option value="Clob" ?selected=${item.type == 'Clob'}>Clob</option>
|
85
|
-
-->
|
86
|
-
<option value="Cursor" ?selected=${item.type == 'Cursor'}>Cursor</option>
|
87
|
-
`
|
88
|
-
: html `
|
89
|
-
<option value="" ?selected=${item.type == ''}> </option>
|
90
|
-
${[
|
91
|
-
'CHAR',
|
92
|
-
'VARCHAR',
|
93
|
-
'NCHAR',
|
94
|
-
'NVARCHAR',
|
95
|
-
'TEXT',
|
96
|
-
'NTEXT',
|
97
|
-
'TINYINT',
|
98
|
-
'SMALLINT',
|
99
|
-
'INT',
|
100
|
-
'BIGINT',
|
101
|
-
'FLOAT',
|
102
|
-
'REAL',
|
103
|
-
'DECIMAL',
|
104
|
-
'NUMERIC',
|
105
|
-
'MONEY',
|
106
|
-
'SMALLMONEY',
|
107
|
-
'SMALLDATETIME',
|
108
|
-
'DATE',
|
109
|
-
'TIME',
|
110
|
-
'DATETIME',
|
111
|
-
'DATETIME2',
|
112
|
-
'DATETIMEOFFSET'
|
113
|
-
].map(type => html `<option value=${type} ?selected=${item.type == type}>${type}</option>`)}
|
114
|
-
`}
|
115
|
-
</select>
|
116
|
-
<input type="text" data-accessor placeholder="accessor" .value=${item.accessor || ''} list="step-list" />
|
117
|
-
<input type="text" data-val placeholder="val" .value=${item.val || ''} />
|
118
|
-
<input type="number" data-max-size placeholder="max-size" .value=${String(item.maxSize)} />
|
119
|
-
|
120
|
-
<button class="record-action" @click=${(e) => this._delete(e)} tabindex="-1">
|
121
|
-
<md-icon>remove</md-icon>
|
122
|
-
</button>
|
123
|
-
<button class="record-action" @click=${(e) => this._up(e)} tabindex="-1">
|
124
|
-
<md-icon>arrow_upward</md-icon>
|
125
|
-
</button>
|
126
|
-
<button class="record-action" @click=${(e) => this._down(e)} tabindex="-1">
|
127
|
-
<md-icon>arrow_downward</md-icon>
|
128
|
-
</button>
|
129
|
-
</div>
|
130
|
-
`)}
|
131
|
-
|
132
|
-
<div data-record-new>
|
133
|
-
<input type="text" data-name placeholder="name" value="" />
|
134
|
-
<select data-dir placeholder="dir">
|
135
|
-
<option value="" selected> </option>
|
136
|
-
<option value="In">In</option>
|
137
|
-
<option value="Inout">Inout</option>
|
138
|
-
<option value="Out">Out</option>
|
139
|
-
</select>
|
140
|
-
<select data-type placeholder="type" value="">
|
141
|
-
${dbtype == 'oracle'
|
142
|
-
? html `
|
143
|
-
<option value="" selected> </option>
|
144
|
-
<option value="String">String</option>
|
145
|
-
<option value="Number">Number</option>
|
146
|
-
<option value="Date">Date</option>
|
147
|
-
<!--
|
148
|
-
<option value="Buffer">Buffer</option>
|
149
|
-
<option value="Blob">Blob</option>
|
150
|
-
<option value="Clob">Clob</option>
|
151
|
-
-->
|
152
|
-
<option value="Cursor">Cursor</option>
|
153
|
-
`
|
154
|
-
: html `
|
155
|
-
<option value="" selected> </option>
|
156
|
-
${[
|
157
|
-
'CHAR',
|
158
|
-
'VARCHAR',
|
159
|
-
'NCHAR',
|
160
|
-
'NVARCHAR',
|
161
|
-
'TEXT',
|
162
|
-
'NTEXT',
|
163
|
-
'TINYINT',
|
164
|
-
'SMALLINT',
|
165
|
-
'INT',
|
166
|
-
'BIGINT',
|
167
|
-
'FLOAT',
|
168
|
-
'REAL',
|
169
|
-
'DECIMAL',
|
170
|
-
'NUMERIC',
|
171
|
-
'MONEY',
|
172
|
-
'SMALLMONEY',
|
173
|
-
'SMALLDATETIME',
|
174
|
-
'DATE',
|
175
|
-
'TIME',
|
176
|
-
'DATETIME',
|
177
|
-
'DATETIME2',
|
178
|
-
'DATETIMEOFFSET'
|
179
|
-
].map(type => html `<option value=${type}>${type}</option>`)}
|
180
|
-
`}
|
181
|
-
</select>
|
182
|
-
<input type="text" data-accessor placeholder="accessor" value="" list="step-list" />
|
183
|
-
<input type="text" data-val placeholder="val" value="" />
|
184
|
-
<input type="number" data-max-size placeholder="max-size" value="" />
|
185
|
-
|
186
|
-
<button class="record-action" @click=${(e) => this._add()} tabindex="-1">
|
187
|
-
<md-icon>add</md-icon>
|
188
|
-
</button>
|
189
|
-
<button class="hidden"><md-icon>add</md-icon></button>
|
190
|
-
<button class="hidden"><md-icon>add</md-icon></button>
|
191
|
-
</div>
|
192
|
-
|
193
|
-
<datalist id="step-list">${steps.map(id => html ` <option value=${id}></option> `)}</datalist>
|
194
|
-
`;
|
195
|
-
}
|
196
|
-
updated(changes) {
|
197
|
-
if (changes.has('value')) {
|
198
|
-
/* 하위 호환성때문에, Array타입 값을 처리하도록 함. 다음 마이너 업그레이드시에 제거할 것. */
|
199
|
-
const value = (Array.isArray(this.value) ? { parameters: this.value } : this.value);
|
200
|
-
const { procedure, parameters } = value || {};
|
201
|
-
this.procedure = procedure;
|
202
|
-
this.parameters = parameters;
|
203
|
-
}
|
204
|
-
}
|
205
|
-
_onChange(e) {
|
206
|
-
if (this._changingNow) {
|
207
|
-
return;
|
208
|
-
}
|
209
|
-
this._changingNow = true;
|
210
|
-
const input = e.target;
|
211
|
-
if (input.hasAttribute('data-procedure')) {
|
212
|
-
this.procedure = input.value;
|
213
|
-
this._updateValue();
|
214
|
-
}
|
215
|
-
else {
|
216
|
-
const record = e.target.closest('[data-record],[data-record-new]');
|
217
|
-
if (record.hasAttribute('data-record')) {
|
218
|
-
this._build();
|
219
|
-
}
|
220
|
-
else if (record.hasAttribute('data-record-new') && input.hasAttribute('data-type')) {
|
221
|
-
this._add();
|
222
|
-
}
|
223
|
-
}
|
224
|
-
this._changingNow = false;
|
225
|
-
}
|
226
|
-
_adjust({ name, type, dir, maxSize, val, accessor }) {
|
227
|
-
const entry = {
|
228
|
-
name: name && String(name).trim(),
|
229
|
-
type,
|
230
|
-
dir,
|
231
|
-
accessor: accessor && String(accessor).trim()
|
232
|
-
};
|
233
|
-
if (
|
234
|
-
/* for oracle */
|
235
|
-
dir != 'In' &&
|
236
|
-
(type == 'String' || type == 'Buffer') &&
|
237
|
-
maxSize !== null &&
|
238
|
-
maxSize !== undefined &&
|
239
|
-
!isNaN(maxSize)) {
|
240
|
-
entry.maxSize = maxSize;
|
241
|
-
}
|
242
|
-
else if (
|
243
|
-
/* for mssql */
|
244
|
-
PARAMETERIZED_TYPES.includes(type) &&
|
245
|
-
maxSize !== null &&
|
246
|
-
maxSize !== undefined &&
|
247
|
-
!isNaN(maxSize)) {
|
248
|
-
entry.maxSize = maxSize;
|
249
|
-
}
|
250
|
-
if (dir != 'Out' && val !== null && val !== undefined && val != '') {
|
251
|
-
entry.val = type == 'Number' || NUMBERS.includes(type) ? Number(val) : val;
|
252
|
-
}
|
253
|
-
return entry;
|
254
|
-
}
|
255
|
-
_build(includeNewRecord) {
|
256
|
-
if (includeNewRecord) {
|
257
|
-
var records = this.renderRoot.querySelectorAll('[data-record],[data-record-new]');
|
258
|
-
}
|
259
|
-
else {
|
260
|
-
var records = this.renderRoot.querySelectorAll('[data-record]');
|
261
|
-
}
|
262
|
-
var newmap = [];
|
263
|
-
for (var i = 0; i < records.length; i++) {
|
264
|
-
var record = records[i];
|
265
|
-
const name = record.querySelector('[data-name]').value;
|
266
|
-
const type = record.querySelector('[data-type]').value;
|
267
|
-
const dir = record.querySelector('[data-dir]').value;
|
268
|
-
const val = record.querySelector('[data-val]').value;
|
269
|
-
const accessor = record.querySelector('[data-accessor]').value;
|
270
|
-
const maxSize = record.querySelector('[data-max-size]').valueAsNumber;
|
271
|
-
const inputs = record.querySelectorAll('[data-type]:not([style*="display: none"])');
|
272
|
-
if (!inputs || inputs.length == 0) {
|
273
|
-
continue;
|
274
|
-
}
|
275
|
-
if (name) {
|
276
|
-
newmap.push(this._adjust({ name, type, dir, val, accessor, maxSize }));
|
277
|
-
}
|
278
|
-
}
|
279
|
-
this.parameters = newmap;
|
280
|
-
this._updateValue();
|
281
|
-
}
|
282
|
-
_buildOracleCode() {
|
283
|
-
const args = (this.parameters || []).map(p => ':' + p.name).join(', ');
|
284
|
-
return `${this.procedure}(${args});`;
|
285
|
-
}
|
286
|
-
_buildMssqlCode() {
|
287
|
-
var _a, _b, _c;
|
288
|
-
const declareClauses = (_a = this.parameters) === null || _a === void 0 ? void 0 : _a.map(({ name, dir, type, val, maxSize = 0 }) => {
|
289
|
-
const ptype = PARAMETERIZED_TYPES.includes(type) ? `${type}(${maxSize})` : type;
|
290
|
-
if (dir == 'Out') {
|
291
|
-
return `DECLARE @${name} ${ptype};`;
|
292
|
-
}
|
293
|
-
else {
|
294
|
-
const pvalue = NUMBERS.includes(type) ? `${val}` : `'${val}'`;
|
295
|
-
return `DECLARE @${name} ${ptype} = ${pvalue};`;
|
296
|
-
}
|
297
|
-
}).join('\n');
|
298
|
-
const execClause = [
|
299
|
-
`EXEC ${this.procedure}`,
|
300
|
-
...(((_b = this.parameters) === null || _b === void 0 ? void 0 : _b.map(({ name, dir }, index, array) => {
|
301
|
-
const period = index === array.length - 1 ? '' : ',';
|
302
|
-
if (dir == 'In') {
|
303
|
-
return ` @${name} = @${name}${period}`;
|
304
|
-
}
|
305
|
-
else {
|
306
|
-
return ` @${name} = @${name} OUTPUT${period}`;
|
307
|
-
}
|
308
|
-
})) || [])
|
309
|
-
].join('\n') + ';';
|
310
|
-
const seleceClause = `SELECT ` +
|
311
|
-
((_c = this.parameters) === null || _c === void 0 ? void 0 : _c.filter(({ dir }) => dir !== 'In').map(({ name }, index, array) => {
|
312
|
-
const period = index === array.length - 1 ? '' : ',';
|
313
|
-
return `@${name} AS ${name}${period}`;
|
314
|
-
}).join(' ')) +
|
315
|
-
';';
|
316
|
-
return [declareClauses, execClause, seleceClause].filter(Boolean).join('\n\n');
|
317
|
-
}
|
318
|
-
_updateValue() {
|
319
|
-
this.value = {
|
320
|
-
code: this.dbtype == 'oracle' ? this._buildOracleCode() : this._buildMssqlCode(),
|
321
|
-
procedure: this.procedure,
|
322
|
-
parameters: this.parameters
|
323
|
-
};
|
324
|
-
this.dispatchEvent(new CustomEvent('change', { bubbles: true, composed: true, detail: this.value }));
|
325
|
-
}
|
326
|
-
_add() {
|
327
|
-
this._build(true);
|
328
|
-
const inputs = this.renderRoot.querySelectorAll('[data-record-new] input:not([style*="display: none"])');
|
329
|
-
for (var i = 0; i < inputs.length; i++) {
|
330
|
-
let input = inputs[i];
|
331
|
-
input.value = '';
|
332
|
-
}
|
333
|
-
inputs[0].focus();
|
334
|
-
}
|
335
|
-
_delete(e) {
|
336
|
-
const record = e.target.closest('[data-record]');
|
337
|
-
record.querySelector('[data-name]').value = '';
|
338
|
-
this._build();
|
339
|
-
}
|
340
|
-
_up(e) {
|
341
|
-
const record = e.target.closest('[data-record]');
|
342
|
-
const array = Array.from(this.records);
|
343
|
-
const index = array.indexOf(record) - 1;
|
344
|
-
if (index < 0) {
|
345
|
-
return;
|
346
|
-
}
|
347
|
-
const deleted = array.splice(index, 1);
|
348
|
-
array.splice(index + 1, 0, ...deleted);
|
349
|
-
this.parameters = array.map(record => {
|
350
|
-
const name = record.querySelector('[data-name]').value;
|
351
|
-
const dir = record.querySelector('[data-dir]').value;
|
352
|
-
const type = record.querySelector('[data-type]').value;
|
353
|
-
const val = record.querySelector('[data-val]').value;
|
354
|
-
const accessor = record.querySelector('[data-accessor]').value;
|
355
|
-
const maxSize = record.querySelector('[data-max-size]').valueAsNumber;
|
356
|
-
return this._adjust({ name, dir, type, val, accessor, maxSize });
|
357
|
-
});
|
358
|
-
this._updateValue();
|
359
|
-
}
|
360
|
-
_down(e) {
|
361
|
-
const record = e.target.closest('[data-record]');
|
362
|
-
const array = Array.from(this.records);
|
363
|
-
const index = array.indexOf(record);
|
364
|
-
if (index > array.length) {
|
365
|
-
return;
|
366
|
-
}
|
367
|
-
array.splice(index, 1);
|
368
|
-
array.splice(index + 1, 0, record);
|
369
|
-
this.parameters = array.map(record => {
|
370
|
-
const name = record.querySelector('[data-name]').value;
|
371
|
-
const dir = record.querySelector('[data-dir]').value;
|
372
|
-
const type = record.querySelector('[data-type]').value;
|
373
|
-
const val = record.querySelector('[data-val]').value;
|
374
|
-
const accessor = record.querySelector('[data-accessor]').value;
|
375
|
-
const maxSize = record.querySelector('[data-max-size]').valueAsNumber;
|
376
|
-
return this._adjust({ name, dir, type, val, accessor, maxSize });
|
377
|
-
});
|
378
|
-
this._updateValue();
|
379
|
-
}
|
380
|
-
};
|
381
|
-
ThingsEditorProcedureParameters.styles = [
|
382
|
-
css `
|
383
|
-
:host {
|
384
|
-
display: flex;
|
385
|
-
flex-direction: column;
|
386
|
-
overflow: hidden;
|
387
|
-
margin-bottom: var(--spacing-large);
|
388
|
-
}
|
389
|
-
|
390
|
-
div {
|
391
|
-
display: flex;
|
392
|
-
flex-flow: row nowrap;
|
393
|
-
gap: var(--spacing-medium);
|
394
|
-
margin-bottom: var(--spacing-small);
|
395
|
-
}
|
396
|
-
|
397
|
-
pre {
|
398
|
-
flex: 1;
|
399
|
-
background-color: #333;
|
400
|
-
color: white;
|
401
|
-
margin: 0;
|
402
|
-
padding: 4px 6px;
|
403
|
-
font-size: 1.5em;
|
404
|
-
display: flex;
|
405
|
-
border-radius: var(--spacing-small);
|
406
|
-
}
|
407
|
-
|
408
|
-
code {
|
409
|
-
flex: 1;
|
410
|
-
white-space: pre;
|
411
|
-
min-height: 32px;
|
412
|
-
}
|
413
|
-
|
414
|
-
button {
|
415
|
-
border: var(--button-border);
|
416
|
-
border-radius: var(--border-radius);
|
417
|
-
background-color: var(--button-background-color);
|
418
|
-
padding: var(--spacing-small) var(--spacing-medium);
|
419
|
-
line-height: 0.8;
|
420
|
-
color: var(--button-color);
|
421
|
-
cursor: pointer;
|
422
|
-
}
|
423
|
-
|
424
|
-
button + button {
|
425
|
-
margin-left: -5px;
|
426
|
-
}
|
427
|
-
|
428
|
-
button md-icon {
|
429
|
-
--md-icon-size: var(--fontsize-default);
|
430
|
-
}
|
431
|
-
|
432
|
-
button:focus,
|
433
|
-
button:hover,
|
434
|
-
button:active {
|
435
|
-
border: var(--button-activ-border);
|
436
|
-
background-color: var(--button-background-focus-color);
|
437
|
-
color: var(--md-sys-color-on-primary);
|
438
|
-
}
|
439
|
-
|
440
|
-
input {
|
441
|
-
flex: 1;
|
442
|
-
border: 0;
|
443
|
-
border-bottom: var(--border-dim-color);
|
444
|
-
padding: var(--input-padding);
|
445
|
-
font: var(--input-font);
|
446
|
-
min-width: 50px;
|
447
|
-
}
|
448
|
-
|
449
|
-
input:focus {
|
450
|
-
outline: none;
|
451
|
-
border-bottom: 1px solid var(--md-sys-color-primary);
|
452
|
-
}
|
453
|
-
|
454
|
-
button.hidden {
|
455
|
-
opacity: 0;
|
456
|
-
cursor: default;
|
457
|
-
}
|
458
|
-
|
459
|
-
select,
|
460
|
-
ox-select,
|
461
|
-
input:not([type='checkbox']) {
|
462
|
-
border: 1px solid rgba(0, 0, 0, 0.2);
|
463
|
-
border-radius: 4px;
|
464
|
-
}
|
465
|
-
`
|
466
|
-
];
|
467
|
-
__decorate([
|
468
|
-
property({ type: Object }),
|
469
|
-
__metadata("design:type", Object)
|
470
|
-
], ThingsEditorProcedureParameters.prototype, "value", void 0);
|
471
|
-
__decorate([
|
472
|
-
property({ type: Array }),
|
473
|
-
__metadata("design:type", Array)
|
474
|
-
], ThingsEditorProcedureParameters.prototype, "steps", void 0);
|
475
|
-
__decorate([
|
476
|
-
property({ type: String }),
|
477
|
-
__metadata("design:type", String)
|
478
|
-
], ThingsEditorProcedureParameters.prototype, "dbtype", void 0);
|
479
|
-
__decorate([
|
480
|
-
state(),
|
481
|
-
__metadata("design:type", String)
|
482
|
-
], ThingsEditorProcedureParameters.prototype, "procedure", void 0);
|
483
|
-
__decorate([
|
484
|
-
state(),
|
485
|
-
__metadata("design:type", Array)
|
486
|
-
], ThingsEditorProcedureParameters.prototype, "parameters", void 0);
|
487
|
-
__decorate([
|
488
|
-
queryAll('[data-record]'),
|
489
|
-
__metadata("design:type", Object)
|
490
|
-
], ThingsEditorProcedureParameters.prototype, "records", void 0);
|
491
|
-
ThingsEditorProcedureParameters = __decorate([
|
492
|
-
customElement('things-editor-db-procedure')
|
493
|
-
], ThingsEditorProcedureParameters);
|
494
|
-
export { ThingsEditorProcedureParameters };
|
495
|
-
//# sourceMappingURL=things-editor-db-procedure.js.map
|