@genexus/genexus-ide-ui 0.0.39 → 0.0.41
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/dist/cjs/app-globals-06c1c45f.js +13 -0
- package/dist/cjs/ch-grid_8.cjs.entry.js +1 -1
- package/dist/cjs/genexus-ide-ui.cjs.js +3 -1
- package/dist/cjs/gx-ide-create-kb-from-server.cjs.entry.js +136 -0
- package/dist/cjs/gx-ide-entity-selector.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-new-environment.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-new-kb.cjs.entry.js +2 -2
- package/dist/cjs/gx-ide-new-object.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-object-selector.cjs.entry.js +48 -6
- package/dist/cjs/gx-ide-references.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-team-dev-commit.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-team-dev-select-recent-comment.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-team-dev-update-partial-selection.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-team-dev-update-to-revision.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-team-dev-update.cjs.entry.js +1 -1
- package/dist/cjs/gx-ide-template.cjs.entry.js +1 -1
- package/dist/cjs/gxg-date-picker.cjs.entry.js +7 -1
- package/dist/cjs/gxg-form-checkbox-group.cjs.entry.js +91 -0
- package/dist/cjs/{gxg-form-checkbox-group_2.cjs.entry.js → gxg-form-radio.cjs.entry.js} +0 -85
- package/dist/cjs/gxg-form-text.cjs.entry.js +18 -4
- package/dist/cjs/gxg-list-box_2.cjs.entry.js +1 -6
- package/dist/cjs/loader.cjs.js +3 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/common/grid.js +7 -0
- package/dist/collection/common/helpers.js +26 -0
- package/dist/collection/components/_template/template.css +4 -0
- package/dist/collection/components/create-kb-from-server/create-kb-from-server.css +162 -0
- package/dist/collection/components/create-kb-from-server/create-kb-from-server.js +302 -0
- package/dist/collection/components/create-kb-from-server/gx-ide-assets/create-kb-from-server/langs/create-kb-from-server.lang.en.json +17 -0
- package/dist/collection/components/create-kb-from-server/gx-ide-assets/create-kb-from-server/langs/create-kb-from-server.lang.ja.json +3 -0
- package/dist/collection/components/create-kb-from-server/gx-ide-assets/create-kb-from-server/langs/create-kb-from-server.lang.zh.json +3 -0
- package/dist/collection/components/entity-selector/entity-selector.css +1 -0
- package/dist/collection/components/entity-selector/entity-selector.js +8 -4
- package/dist/collection/components/new-environment/new-environment.css +4 -0
- package/dist/collection/components/new-kb/new-kb.css +4 -0
- package/dist/collection/components/new-kb/new-kb.js +1 -1
- package/dist/collection/components/new-object/new-object.css +4 -0
- package/dist/collection/components/new-object/new-object.js +2 -2
- package/dist/collection/components/object-selector/gx-ide-assets/object-selector/langs/object-selector.lang.en.json +1 -1
- package/dist/collection/components/object-selector/object-selector.css +4 -0
- package/dist/collection/components/object-selector/object-selector.js +11 -6
- package/dist/collection/components/references/references.css +4 -0
- package/dist/collection/components/team-dev-commit/team-dev-commit.css +4 -0
- package/dist/collection/components/team-dev-select-recent-comment/team-dev-select-recent-comment.css +4 -0
- package/dist/collection/components/team-dev-update/team-dev-update.css +4 -0
- package/dist/collection/components/team-dev-update-partial-selection/team-dev-update-partial-selection.css +4 -0
- package/dist/collection/components/team-dev-update-to-revision/team-dev-update-to-revision.css +4 -0
- package/dist/collection/global/global.js +7 -0
- package/dist/components/date-picker.js +7 -1
- package/dist/components/entity-selector.js +1 -1
- package/dist/components/form-text.js +20 -4
- package/dist/components/gx-ide-create-kb-from-server.d.ts +11 -0
- package/dist/components/gx-ide-create-kb-from-server.js +245 -0
- package/dist/components/gx-ide-new-environment.js +1 -1
- package/dist/components/gx-ide-new-kb.js +2 -2
- package/dist/components/gx-ide-new-object.js +1 -1
- package/dist/components/gx-ide-object-selector.js +48 -6
- package/dist/components/gx-ide-references.js +1 -1
- package/dist/components/gx-ide-team-dev-commit.js +1 -1
- package/dist/components/gx-ide-team-dev-select-recent-comment.js +1 -1
- package/dist/components/gx-ide-team-dev-update-partial-selection.js +1 -1
- package/dist/components/gx-ide-team-dev-update-to-revision.js +1 -1
- package/dist/components/gx-ide-team-dev-update.js +1 -1
- package/dist/components/gx-ide-template.js +1 -1
- package/dist/components/gxg-grid2.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +13 -0
- package/dist/components/list-box-item.js +0 -1
- package/dist/components/list-box.js +1 -5
- package/dist/esm/app-globals-d0acd5c5.js +11 -0
- package/dist/esm/ch-grid_8.entry.js +1 -1
- package/dist/esm/genexus-ide-ui.js +3 -1
- package/dist/esm/gx-ide-create-kb-from-server.entry.js +132 -0
- package/dist/esm/gx-ide-entity-selector.entry.js +1 -1
- package/dist/esm/gx-ide-new-environment.entry.js +1 -1
- package/dist/esm/gx-ide-new-kb.entry.js +2 -2
- package/dist/esm/gx-ide-new-object.entry.js +1 -1
- package/dist/esm/gx-ide-object-selector.entry.js +48 -6
- package/dist/esm/gx-ide-references.entry.js +1 -1
- package/dist/esm/gx-ide-team-dev-commit.entry.js +1 -1
- package/dist/esm/gx-ide-team-dev-select-recent-comment.entry.js +1 -1
- package/dist/esm/gx-ide-team-dev-update-partial-selection.entry.js +1 -1
- package/dist/esm/gx-ide-team-dev-update-to-revision.entry.js +1 -1
- package/dist/esm/gx-ide-team-dev-update.entry.js +1 -1
- package/dist/esm/gx-ide-template.entry.js +1 -1
- package/dist/esm/gxg-date-picker.entry.js +7 -1
- package/dist/esm/gxg-form-checkbox-group.entry.js +87 -0
- package/dist/esm/{gxg-form-checkbox-group_2.entry.js → gxg-form-radio.entry.js} +1 -85
- package/dist/esm/gxg-form-text.entry.js +18 -4
- package/dist/esm/gxg-list-box_2.entry.js +1 -6
- package/dist/esm/loader.js +3 -1
- package/dist/genexus-ide-ui/genexus-ide-ui.esm.js +1 -1
- package/dist/genexus-ide-ui/gx-ide-assets/create-kb-from-server/langs/create-kb-from-server.lang.en.json +17 -0
- package/dist/genexus-ide-ui/gx-ide-assets/create-kb-from-server/langs/create-kb-from-server.lang.ja.json +3 -0
- package/dist/genexus-ide-ui/gx-ide-assets/create-kb-from-server/langs/create-kb-from-server.lang.zh.json +3 -0
- package/dist/genexus-ide-ui/gx-ide-assets/object-selector/langs/object-selector.lang.en.json +1 -1
- package/dist/genexus-ide-ui/p-1770fa36.entry.js +1 -0
- package/dist/genexus-ide-ui/p-179713ef.entry.js +1 -0
- package/dist/genexus-ide-ui/{p-379b0fdc.entry.js → p-181ee8a8.entry.js} +1 -1
- package/dist/genexus-ide-ui/{p-5fe59458.entry.js → p-2ebd392f.entry.js} +1 -1
- package/dist/genexus-ide-ui/{p-a30b3d5d.entry.js → p-34721f1c.entry.js} +1 -1
- package/dist/genexus-ide-ui/{p-6be805a0.entry.js → p-38fa6211.entry.js} +1 -1
- package/dist/genexus-ide-ui/{p-e69f497d.entry.js → p-508cf8b0.entry.js} +1 -1
- package/dist/genexus-ide-ui/p-5c560dd0.entry.js +1 -0
- package/dist/genexus-ide-ui/{p-04df38d0.entry.js → p-7c38776f.entry.js} +1 -1
- package/dist/genexus-ide-ui/p-82228c39.entry.js +1 -0
- package/dist/genexus-ide-ui/{p-79c7132c.entry.js → p-8afbdbc9.entry.js} +1 -1
- package/dist/genexus-ide-ui/p-c056d050.entry.js +1 -0
- package/dist/genexus-ide-ui/p-c304345f.entry.js +1 -0
- package/dist/genexus-ide-ui/p-c6ad49cc.entry.js +1 -0
- package/dist/genexus-ide-ui/{p-04e80c6b.entry.js → p-d376dada.entry.js} +1 -1
- package/dist/genexus-ide-ui/p-e1fea866.entry.js +1 -0
- package/dist/genexus-ide-ui/p-f305e4d3.entry.js +1 -0
- package/dist/genexus-ide-ui/p-f3a1dc7c.entry.js +1 -0
- package/dist/genexus-ide-ui/p-f59e1e26.js +1 -0
- package/dist/genexus-ide-ui/p-f9731b7c.entry.js +1 -0
- package/dist/node_modules/@genexus/gemini/dist/collection/components/grid/gxg-grid.css +16 -1
- package/dist/types/common/grid.d.ts +7 -0
- package/dist/types/common/helpers.d.ts +2 -0
- package/dist/types/common/types.d.ts +7 -0
- package/dist/types/components/create-kb-from-server/create-kb-from-server.d.ts +90 -0
- package/dist/types/components/entity-selector/entity-selector.d.ts +1 -7
- package/dist/types/components/new-object/new-object.d.ts +1 -1
- package/dist/types/components/object-selector/object-selector.d.ts +2 -4
- package/dist/types/components.d.ts +94 -9
- package/package.json +3 -3
- package/dist/genexus-ide-ui/p-0be8946d.entry.js +0 -1
- package/dist/genexus-ide-ui/p-1e055306.entry.js +0 -1
- package/dist/genexus-ide-ui/p-47a7c313.entry.js +0 -1
- package/dist/genexus-ide-ui/p-48412811.entry.js +0 -1
- package/dist/genexus-ide-ui/p-5884a014.entry.js +0 -1
- package/dist/genexus-ide-ui/p-7285d245.entry.js +0 -1
- package/dist/genexus-ide-ui/p-8592f072.entry.js +0 -1
- package/dist/genexus-ide-ui/p-9be97571.entry.js +0 -1
- package/dist/genexus-ide-ui/p-ee458561.entry.js +0 -1
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
/* STENCIL IMPORTS */
|
|
2
|
+
import { Host, h } from "@stencil/core";
|
|
3
|
+
import { Locale } from "../../common/locale";
|
|
4
|
+
import { renderFormItems } from "../../common/common";
|
|
5
|
+
import { formSubmitValidation } from "../../common/form-validation";
|
|
6
|
+
export class GxIdeCreateKbFromServer {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.kbIdSelected = null;
|
|
9
|
+
this.authenticationTypes = [];
|
|
10
|
+
// 7.LISTENERS //
|
|
11
|
+
// 8.PUBLIC METHODS API //
|
|
12
|
+
// 9.LOCAL METHODS //
|
|
13
|
+
this.setAuthenticationTypes = () => {
|
|
14
|
+
this.authenticationTypes = [
|
|
15
|
+
{
|
|
16
|
+
id: "genexus",
|
|
17
|
+
value: "genexus",
|
|
18
|
+
label: this._componentLocale.authenticationTypes.genexusAccount
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
id: "local",
|
|
22
|
+
value: "local",
|
|
23
|
+
label: this._componentLocale.authenticationTypes.local
|
|
24
|
+
}
|
|
25
|
+
];
|
|
26
|
+
};
|
|
27
|
+
this.addEventListeners = () => {
|
|
28
|
+
this.serverUrlsEl.addEventListener("valueChanged", () => {
|
|
29
|
+
this.reset();
|
|
30
|
+
});
|
|
31
|
+
this.searchKBEl.addEventListener("valueChanged", (e) => {
|
|
32
|
+
this.kbNameEl.value = "";
|
|
33
|
+
this.kbIdSelected = null;
|
|
34
|
+
this.kbSearchText = e.detail;
|
|
35
|
+
});
|
|
36
|
+
this.listBoxEl.addEventListener("selectionChanged", (ev) => {
|
|
37
|
+
const selectedItems = ev.detail.items;
|
|
38
|
+
let selectedItem;
|
|
39
|
+
if (selectedItems.length > 0) {
|
|
40
|
+
selectedItem = ev.detail.items[0];
|
|
41
|
+
}
|
|
42
|
+
if (selectedItem) {
|
|
43
|
+
this.kbIdSelected = selectedItem.value;
|
|
44
|
+
const kbSelected = this.kbs.find(kb => kb.id === this.kbIdSelected);
|
|
45
|
+
if (kbSelected) {
|
|
46
|
+
this.kbNameEl.value = kbSelected.name;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
};
|
|
51
|
+
this.createKbHandler = () => {
|
|
52
|
+
if (this.createKBCallback) {
|
|
53
|
+
const createKBCallbackPromise = this.createKBCallback({
|
|
54
|
+
id: this.kbIdSelected,
|
|
55
|
+
name: this.kbNameEl.value
|
|
56
|
+
});
|
|
57
|
+
createKBCallbackPromise.then((formSubmitResult) => {
|
|
58
|
+
formSubmitValidation(formSubmitResult, this);
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
this.connectCallbackHandler = () => {
|
|
63
|
+
var _a, _b;
|
|
64
|
+
if (this.connectCallback) {
|
|
65
|
+
const connectCallbackPromise = this.connectCallback({
|
|
66
|
+
serverUrl: this.serverUrlsEl.value,
|
|
67
|
+
authenticationType: this.authenticationTypeEl.value,
|
|
68
|
+
user: (_a = this.userNameEl) === null || _a === void 0 ? void 0 : _a.value,
|
|
69
|
+
password: (_b = this.passwordEl) === null || _b === void 0 ? void 0 : _b.value
|
|
70
|
+
});
|
|
71
|
+
connectCallbackPromise.then((connectionResultData) => {
|
|
72
|
+
formSubmitValidation(connectionResultData.formResult, this);
|
|
73
|
+
if (connectionResultData.formResult.success &&
|
|
74
|
+
connectionResultData.kbs) {
|
|
75
|
+
this.kbs = connectionResultData.kbs;
|
|
76
|
+
this.selectionKbDisabled = false;
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
this.selectionKbDisabled = true;
|
|
82
|
+
this.kbs = [];
|
|
83
|
+
this.kbSearchText = "";
|
|
84
|
+
this.connectCallback = undefined;
|
|
85
|
+
this.createKBCallback = undefined;
|
|
86
|
+
this.enableCustomServer = false;
|
|
87
|
+
this.kbName = undefined;
|
|
88
|
+
this.password = undefined;
|
|
89
|
+
this.serverUrls = undefined;
|
|
90
|
+
this.userName = undefined;
|
|
91
|
+
}
|
|
92
|
+
// 6.METHODS //
|
|
93
|
+
async componentWillLoad() {
|
|
94
|
+
this._componentLocale = await Locale.getComponentStrings(this.el);
|
|
95
|
+
// this.setInitialValues();
|
|
96
|
+
this.setAuthenticationTypes();
|
|
97
|
+
}
|
|
98
|
+
componentDidLoad() {
|
|
99
|
+
this.serverUrlsEl.focus();
|
|
100
|
+
this.addEventListeners();
|
|
101
|
+
}
|
|
102
|
+
reset() {
|
|
103
|
+
this.kbs = [];
|
|
104
|
+
this.kbIdSelected = null;
|
|
105
|
+
this.selectionKbDisabled = true;
|
|
106
|
+
this.searchKBEl.value = "";
|
|
107
|
+
this.kbSearchText = "";
|
|
108
|
+
}
|
|
109
|
+
// 10.RENDER() FUNCTION //
|
|
110
|
+
// 11.RENDER() FUNCTION //
|
|
111
|
+
render() {
|
|
112
|
+
return (h(Host, { class: { "gx-ide-component": true } }, h("div", { class: `main-wrapper` }, h("gxg-container", null, h("div", { class: "flex" }, h("gxg-label", { labelPosition: "start", class: "kb-label" }, this._componentLocale.label.serverUrl), h("gxg-combo-box", { disableFilter: !this.enableCustomServer, ref: (el) => (this.serverUrlsEl = el), class: "server-urls-combo-box", part: "server-urls" }, this.serverUrls
|
|
113
|
+
? renderFormItems("gxg-combo-box-item", this.serverUrls.map(sUrl => ({
|
|
114
|
+
id: sUrl,
|
|
115
|
+
label: sUrl,
|
|
116
|
+
value: sUrl
|
|
117
|
+
})), "server-urls")
|
|
118
|
+
: null)), h("div", { class: "grid grid-data" }, h("div", null, h("div", { class: "grid grid-data-account" }, h("gxg-combo-box", { disableFilter: true, value: this.authenticationTypes[0].id, ref: (el) => (this.authenticationTypeEl = el), class: "authentication-type", part: "authentication-type", onValueChanged: this.evaluateAuthenticationType }, renderFormItems("gxg-combo-box-item", this.authenticationTypes, "authentication-type")), h("gxg-label", { labelPosition: "start", class: "kb-label" }, `${this._componentLocale.label.userName}:`), h("gxg-form-text", { ref: (el) => (this.userNameEl = el), value: this.userName, class: "user-name", part: "user-name" }), h("gxg-label", { labelPosition: "start", class: "kb-label" }, `${this._componentLocale.label.password}:`), h("gxg-form-text", { password: true, ref: (el) => (this.passwordEl = el), value: this.password, class: "password", part: "password" }), h("div", null, h("gxg-button", { id: "button-connect", type: "primary-text-only", onClick: this.connectCallbackHandler, part: "button-connect" }, this._componentLocale.btn.btnConnect)))), h("div", { class: "grid" }, h("div", { class: "grid-data-kbs" }, h("div", { class: "search-kbs" }, h("gxg-form-text", { ref: (el) => (this.searchKBEl = el), class: "search-kb-input", part: "search-kb", disabled: this.selectionKbDisabled, placeholder: this._componentLocale.label.searchKbs })), h("div", { class: "box-kbs" }, h("gxg-list-box", { id: "max-height", height: "100%", "min-height": "50%", "no-border": true, "single-selection": true, disabled: this.selectionKbDisabled, ref: (el) => (this.listBoxEl = el), part: "kbs", onSelectionChanged: this.kbsOnSelectionChangedHander }, this.kbs
|
|
119
|
+
.filter(kb => kb.name
|
|
120
|
+
.toLowerCase()
|
|
121
|
+
.includes(this.kbSearchText.toLowerCase()))
|
|
122
|
+
.map(kb => (h("gxg-list-box-item", { value: kb.id, key: kb.id }, kb.name)))))), h("div", { class: "grid grid-data-kbs-footer" }, h("gxg-form-text", { ref: (el) => (this.kbNameEl = el), value: this.kbName, class: "kb-name", part: "kb-name", disabled: this.selectionKbDisabled }), h("div", null, h("gxg-button", { id: "button-create", type: "primary-text-only", onClick: this.createKbHandler, part: "button-create", disabled: this.selectionKbDisabled }, this._componentLocale.btn.btnCreate)))))))));
|
|
123
|
+
}
|
|
124
|
+
static get is() { return "gx-ide-create-kb-from-server"; }
|
|
125
|
+
static get encapsulation() { return "shadow"; }
|
|
126
|
+
static get originalStyleUrls() {
|
|
127
|
+
return {
|
|
128
|
+
"$": ["create-kb-from-server.scss"]
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
static get styleUrls() {
|
|
132
|
+
return {
|
|
133
|
+
"$": ["create-kb-from-server.css"]
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
static get assetsDirs() { return ["gx-ide-assets/create-kb-from-server"]; }
|
|
137
|
+
static get properties() {
|
|
138
|
+
return {
|
|
139
|
+
"connectCallback": {
|
|
140
|
+
"type": "unknown",
|
|
141
|
+
"mutable": false,
|
|
142
|
+
"complexType": {
|
|
143
|
+
"original": "(\n data: GXServerConnectionData\n ) => Promise<ConnectionResultData>",
|
|
144
|
+
"resolved": "(data: GXServerConnectionData) => Promise<ConnectionResultData>",
|
|
145
|
+
"references": {
|
|
146
|
+
"GXServerConnectionData": {
|
|
147
|
+
"location": "local"
|
|
148
|
+
},
|
|
149
|
+
"Promise": {
|
|
150
|
+
"location": "global"
|
|
151
|
+
},
|
|
152
|
+
"ConnectionResultData": {
|
|
153
|
+
"location": "local"
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"required": false,
|
|
158
|
+
"optional": false,
|
|
159
|
+
"docs": {
|
|
160
|
+
"tags": [],
|
|
161
|
+
"text": "Callback that will be invoked when the user connect to the kb server (\u2018Connect\u2019 button)"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"createKBCallback": {
|
|
165
|
+
"type": "unknown",
|
|
166
|
+
"mutable": false,
|
|
167
|
+
"complexType": {
|
|
168
|
+
"original": "(\n data: CreateKBData\n ) => Promise<FormSubmitResult>",
|
|
169
|
+
"resolved": "(data: CreateKBData) => Promise<FormSubmitResult>",
|
|
170
|
+
"references": {
|
|
171
|
+
"CreateKBData": {
|
|
172
|
+
"location": "local"
|
|
173
|
+
},
|
|
174
|
+
"Promise": {
|
|
175
|
+
"location": "global"
|
|
176
|
+
},
|
|
177
|
+
"FormSubmitResult": {
|
|
178
|
+
"location": "import",
|
|
179
|
+
"path": "../../common/types"
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"required": false,
|
|
184
|
+
"optional": false,
|
|
185
|
+
"docs": {
|
|
186
|
+
"tags": [],
|
|
187
|
+
"text": "Callback that will be invoked when the user confirms KB creation (\u2018Create\u2019 button)"
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"enableCustomServer": {
|
|
191
|
+
"type": "boolean",
|
|
192
|
+
"mutable": false,
|
|
193
|
+
"complexType": {
|
|
194
|
+
"original": "boolean",
|
|
195
|
+
"resolved": "boolean",
|
|
196
|
+
"references": {}
|
|
197
|
+
},
|
|
198
|
+
"required": false,
|
|
199
|
+
"optional": false,
|
|
200
|
+
"docs": {
|
|
201
|
+
"tags": [],
|
|
202
|
+
"text": "If is true then the user can specify a server url that don't be in the combo box of server urls."
|
|
203
|
+
},
|
|
204
|
+
"attribute": "enable-custom-server",
|
|
205
|
+
"reflect": false,
|
|
206
|
+
"defaultValue": "false"
|
|
207
|
+
},
|
|
208
|
+
"kbName": {
|
|
209
|
+
"type": "string",
|
|
210
|
+
"mutable": false,
|
|
211
|
+
"complexType": {
|
|
212
|
+
"original": "string",
|
|
213
|
+
"resolved": "string",
|
|
214
|
+
"references": {}
|
|
215
|
+
},
|
|
216
|
+
"required": false,
|
|
217
|
+
"optional": false,
|
|
218
|
+
"docs": {
|
|
219
|
+
"tags": [],
|
|
220
|
+
"text": "The knowledge base default suggested name"
|
|
221
|
+
},
|
|
222
|
+
"attribute": "kb-name",
|
|
223
|
+
"reflect": false
|
|
224
|
+
},
|
|
225
|
+
"password": {
|
|
226
|
+
"type": "string",
|
|
227
|
+
"mutable": false,
|
|
228
|
+
"complexType": {
|
|
229
|
+
"original": "string",
|
|
230
|
+
"resolved": "string",
|
|
231
|
+
"references": {}
|
|
232
|
+
},
|
|
233
|
+
"required": false,
|
|
234
|
+
"optional": false,
|
|
235
|
+
"docs": {
|
|
236
|
+
"tags": [],
|
|
237
|
+
"text": "Password for the database connection."
|
|
238
|
+
},
|
|
239
|
+
"attribute": "password",
|
|
240
|
+
"reflect": false
|
|
241
|
+
},
|
|
242
|
+
"serverUrls": {
|
|
243
|
+
"type": "unknown",
|
|
244
|
+
"mutable": false,
|
|
245
|
+
"complexType": {
|
|
246
|
+
"original": "string[]",
|
|
247
|
+
"resolved": "string[]",
|
|
248
|
+
"references": {}
|
|
249
|
+
},
|
|
250
|
+
"required": true,
|
|
251
|
+
"optional": false,
|
|
252
|
+
"docs": {
|
|
253
|
+
"tags": [],
|
|
254
|
+
"text": "Array of URLs of cataloged servers to be displayed in the combo"
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
"userName": {
|
|
258
|
+
"type": "string",
|
|
259
|
+
"mutable": false,
|
|
260
|
+
"complexType": {
|
|
261
|
+
"original": "string",
|
|
262
|
+
"resolved": "string",
|
|
263
|
+
"references": {}
|
|
264
|
+
},
|
|
265
|
+
"required": false,
|
|
266
|
+
"optional": false,
|
|
267
|
+
"docs": {
|
|
268
|
+
"tags": [],
|
|
269
|
+
"text": "Username for the database connection."
|
|
270
|
+
},
|
|
271
|
+
"attribute": "user-name",
|
|
272
|
+
"reflect": false
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
}
|
|
276
|
+
static get states() {
|
|
277
|
+
return {
|
|
278
|
+
"selectionKbDisabled": {},
|
|
279
|
+
"kbs": {},
|
|
280
|
+
"kbSearchText": {}
|
|
281
|
+
};
|
|
282
|
+
}
|
|
283
|
+
static get events() {
|
|
284
|
+
return [{
|
|
285
|
+
"method": "componentDidLoadEvent",
|
|
286
|
+
"name": "componentDidLoadEvent",
|
|
287
|
+
"bubbles": true,
|
|
288
|
+
"cancelable": true,
|
|
289
|
+
"composed": true,
|
|
290
|
+
"docs": {
|
|
291
|
+
"tags": [],
|
|
292
|
+
"text": "This event is emitted once just after the component is fully loaded and the first render() occurs"
|
|
293
|
+
},
|
|
294
|
+
"complexType": {
|
|
295
|
+
"original": "boolean",
|
|
296
|
+
"resolved": "boolean",
|
|
297
|
+
"references": {}
|
|
298
|
+
}
|
|
299
|
+
}];
|
|
300
|
+
}
|
|
301
|
+
static get elementRef() { return "el"; }
|
|
302
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"label": {
|
|
3
|
+
"serverUrl": "GXServer URL",
|
|
4
|
+
"authenticationType": "Authentication Type",
|
|
5
|
+
"userName": "User Name",
|
|
6
|
+
"password": "Password",
|
|
7
|
+
"searchKbs": "Search KBs"
|
|
8
|
+
},
|
|
9
|
+
"authenticationTypes": {
|
|
10
|
+
"genexusAccount": "GeneXus Account",
|
|
11
|
+
"local": "Local"
|
|
12
|
+
},
|
|
13
|
+
"btn": {
|
|
14
|
+
"btnCreate": "Create",
|
|
15
|
+
"btnConnect": "Connect >>"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -112,7 +112,8 @@ export class GxIdeEntitySelector {
|
|
|
112
112
|
"resolved": "{ id: string; name: string; iconSrc?: string; iconColor?: Color; }",
|
|
113
113
|
"references": {
|
|
114
114
|
"EntityData": {
|
|
115
|
-
"location": "
|
|
115
|
+
"location": "import",
|
|
116
|
+
"path": "../../common/types"
|
|
116
117
|
}
|
|
117
118
|
}
|
|
118
119
|
},
|
|
@@ -209,7 +210,8 @@ export class GxIdeEntitySelector {
|
|
|
209
210
|
"location": "global"
|
|
210
211
|
},
|
|
211
212
|
"EntityData": {
|
|
212
|
-
"location": "
|
|
213
|
+
"location": "import",
|
|
214
|
+
"path": "../../common/types"
|
|
213
215
|
}
|
|
214
216
|
}
|
|
215
217
|
},
|
|
@@ -228,7 +230,8 @@ export class GxIdeEntitySelector {
|
|
|
228
230
|
"resolved": "{ id: string; name: string; iconSrc?: string; iconColor?: Color; }",
|
|
229
231
|
"references": {
|
|
230
232
|
"EntityData": {
|
|
231
|
-
"location": "
|
|
233
|
+
"location": "import",
|
|
234
|
+
"path": "../../common/types"
|
|
232
235
|
}
|
|
233
236
|
}
|
|
234
237
|
},
|
|
@@ -265,7 +268,8 @@ export class GxIdeEntitySelector {
|
|
|
265
268
|
"resolved": "{ id: string; name: string; iconSrc?: string; iconColor?: Color; }",
|
|
266
269
|
"references": {
|
|
267
270
|
"EntityData": {
|
|
268
|
-
"location": "
|
|
271
|
+
"location": "import",
|
|
272
|
+
"path": "../../common/types"
|
|
269
273
|
}
|
|
270
274
|
}
|
|
271
275
|
}
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
grid-template-rows: auto;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
ch-grid-cell {
|
|
36
|
+
display: flex;
|
|
37
|
+
}
|
|
38
|
+
|
|
35
39
|
/*All components Host should have this class set. !important is set on every rule, since this styles could be overridden by the host user, since they are applied on the host component*/
|
|
36
40
|
:host(.gx-ide-component) {
|
|
37
41
|
box-shadow: var(--box-shadow-01) !important;
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
grid-template-rows: auto;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
ch-grid-cell {
|
|
36
|
+
display: flex;
|
|
37
|
+
}
|
|
38
|
+
|
|
35
39
|
/*All components Host should have this class set. !important is set on every rule, since this styles could be overridden by the host user, since they are applied on the host component*/
|
|
36
40
|
:host(.gx-ide-component) {
|
|
37
41
|
box-shadow: var(--box-shadow-01) !important;
|
|
@@ -124,7 +124,7 @@ export class GxIdeNewKb {
|
|
|
124
124
|
password: (_o = this.passwordEl) === null || _o === void 0 ? void 0 : _o.value,
|
|
125
125
|
savePassword: (_p = this.savePasswordEl) === null || _p === void 0 ? void 0 : _p.checked
|
|
126
126
|
});
|
|
127
|
-
createCallbackPromise.then(formSubmitResult => {
|
|
127
|
+
createCallbackPromise.then((formSubmitResult) => {
|
|
128
128
|
formSubmitValidation(formSubmitResult, this);
|
|
129
129
|
});
|
|
130
130
|
}
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
grid-template-rows: auto;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
ch-grid-cell {
|
|
36
|
+
display: flex;
|
|
37
|
+
}
|
|
38
|
+
|
|
35
39
|
/*All components Host should have this class set. !important is set on every rule, since this styles could be overridden by the host user, since they are applied on the host component*/
|
|
36
40
|
:host(.gx-ide-component) {
|
|
37
41
|
box-shadow: var(--box-shadow-01) !important;
|
|
@@ -209,7 +209,7 @@ export class GxIdeNewObject {
|
|
|
209
209
|
"references": {
|
|
210
210
|
"EntityData": {
|
|
211
211
|
"location": "import",
|
|
212
|
-
"path": "
|
|
212
|
+
"path": "../../common/types"
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
215
|
},
|
|
@@ -229,7 +229,7 @@ export class GxIdeNewObject {
|
|
|
229
229
|
"references": {
|
|
230
230
|
"EntityData": {
|
|
231
231
|
"location": "import",
|
|
232
|
-
"path": "
|
|
232
|
+
"path": "../../common/types"
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
235
|
},
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
grid-template-rows: auto;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
ch-grid-cell {
|
|
36
|
+
display: flex;
|
|
37
|
+
}
|
|
38
|
+
|
|
35
39
|
/*All components Host should have this class set. !important is set on every rule, since this styles could be overridden by the host user, since they are applied on the host component*/
|
|
36
40
|
:host(.gx-ide-component) {
|
|
37
41
|
box-shadow: var(--box-shadow-01) !important;
|
|
@@ -4,6 +4,8 @@ import { Host, h } from "@stencil/core";
|
|
|
4
4
|
/* CUSTOM IMPORTS */
|
|
5
5
|
import { Locale } from "../../common/locale";
|
|
6
6
|
import { renderComboItems } from "../../common/render-combo-items";
|
|
7
|
+
import { formatDate } from "../../common/helpers";
|
|
8
|
+
import { gridCommon } from "../../common/grid";
|
|
7
9
|
const FILTER_AFTER_NONE = "none";
|
|
8
10
|
const FILTER_AFTER_DATE_TIME = "afterDateTime";
|
|
9
11
|
const FILTER_AFTER_LAST_BUILD = "afterLastBuild";
|
|
@@ -13,7 +15,7 @@ export class GxIdeObjectSelector {
|
|
|
13
15
|
// 9.LOCAL METHODS //
|
|
14
16
|
this.renderFilter = () => {
|
|
15
17
|
var _a, _b;
|
|
16
|
-
return (h("gxg-container", { fieldset: true, displayBorderBottom: true, containerTitle: this._componentLocale.filter.title, part: "filters-container" }, h("div", { class: "grid filter-grid" }, h("gxg-form-text", { "label-position": "above", label: this._componentLocale.filter.pattern, ref: (el) => (this.filterPatternEl = el), value: this.patternValue, part: "filter-pattern" }), h("gxg-combo-box", { "disable-filter": true, label: this._componentLocale.filter.type, value: this.defaultType, disabled: !this.types, "display-validation-styles": true, "display-validation-message": true, ref: (el) => (this.filterTypeEl = el), part: "filter-type" }, renderComboItems((_a = this.types) !== null && _a !== void 0 ? _a : [])), h("gxg-combo-box", { "disable-filter": true, label: this._componentLocale.filter.category, value: this.defaultCategory, disabled: !this.categories, "display-validation-styles": true, "display-validation-message": true, ref: (el) => (this.filterCategoryEl = el), part: "filter-category" }, renderComboItems((_b = this.categories) !== null && _b !== void 0 ? _b : [])), h("gx-ide-entity-selector", { label: this._componentLocale.filter.
|
|
18
|
+
return (h("gxg-container", { fieldset: true, displayBorderBottom: true, containerTitle: this._componentLocale.filter.title, part: "filters-container" }, h("div", { class: "grid filter-grid" }, h("gxg-form-text", { "label-position": "above", label: this._componentLocale.filter.pattern, ref: (el) => (this.filterPatternEl = el), value: this.patternValue, part: "filter-pattern" }), h("gxg-combo-box", { "disable-filter": true, label: this._componentLocale.filter.type, value: this.defaultType, disabled: !this.types, "display-validation-styles": true, "display-validation-message": true, ref: (el) => (this.filterTypeEl = el), part: "filter-type" }, renderComboItems((_a = this.types) !== null && _a !== void 0 ? _a : [])), h("gxg-combo-box", { "disable-filter": true, label: this._componentLocale.filter.category, value: this.defaultCategory, disabled: !this.categories, "display-validation-styles": true, "display-validation-message": true, ref: (el) => (this.filterCategoryEl = el), part: "filter-category" }, renderComboItems((_b = this.categories) !== null && _b !== void 0 ? _b : [])), h("gx-ide-entity-selector", { label: this._componentLocale.filter.module, "label-position": "above", value: this.defaultModule, defaultValue: this.defaultModule, selectEntityCallback: this.selectModuleCallback, ref: (el) => (this.filterModuleEl = el) }), h("div", { class: "flex with-gap" }, h("gxg-form-checkbox", { label: this._componentLocale.filter.modified, class: "align-center", ref: (el) => (this.filterModifiedEl = el), part: "filter-modified" }), h("gxg-combo-box", { class: { hide: !this.filterModified }, "disable-filter": true, value: this.filterAfterType, "display-validation-styles": true, "display-validation-message": true, ref: (el) => (this.filterAfterTypeEl = el), part: "filter-after-type" }, renderComboItems([
|
|
17
19
|
{
|
|
18
20
|
id: FILTER_AFTER_NONE,
|
|
19
21
|
label: this._componentLocale.filter.modifiedEmpty,
|
|
@@ -41,7 +43,7 @@ export class GxIdeObjectSelector {
|
|
|
41
43
|
}, part: "filter-datetime" }, h("gxg-label", { "label-position": "start" }, this._componentLocale.filter.dateTime), h("gxg-date-picker", { ref: (el) => (this.filterModifiedDateEl = el) }))))));
|
|
42
44
|
};
|
|
43
45
|
this.renderObjects = () => {
|
|
44
|
-
return (h("gxg-container", null, h("gxg-grid",
|
|
46
|
+
return (h("gxg-container", null, h("gxg-grid", { "ellipsis-cell-wrapper": true }, h("ch-grid", { "row-selection-mode": this.multiSelection ? "multiple" : "single", ref: (el) => (this.chGridEl = el), part: "ch-grid-objects" }, h("ch-grid-columnset", null, h("ch-grid-column", { "column-name-position": "text", settingable: false, size: gridCommon.colSize.auto }), h("ch-grid-column", { "column-name": this._componentLocale.tableHead.name, "column-name-position": "text", settingable: false, size: gridCommon.colSize.common }), h("ch-grid-column", { "column-name": this._componentLocale.tableHead.type, "column-name-position": "text", settingable: false, size: gridCommon.colSize.common }), h("ch-grid-column", { "column-name": this._componentLocale.tableHead.module, "column-name-position": "text", settingable: false, size: gridCommon.colSize.common }), h("ch-grid-column", { "column-name": this._componentLocale.tableHead.description, "column-name-position": "text", settingable: false, size: gridCommon.colSize.common }), h("ch-grid-column", { "column-name": this._componentLocale.tableHead.modifiedDate, "column-name-position": "text", settingable: false, size: gridCommon.colSize.auto }), h("ch-grid-column", { "column-name": this._componentLocale.tableHead.importDate, "column-name-position": "text", settingable: false, size: gridCommon.colSize.auto })), this.objects.map((obj) => (h("ch-grid-row", { rowid: obj.id, onDblClick: this.openSelectionCallbackHandler }, h("ch-grid-cell", null, h("span", { class: "cell-wrapper" }, h("gxg-icon", { type: obj.icon, color: "auto" }))), h("ch-grid-cell", null, h("span", { class: "cell-wrapper" }, " ", obj.name, " ")), h("ch-grid-cell", null, h("span", { class: "cell-wrapper" }, obj.type)), h("ch-grid-cell", null, h("span", { class: "cell-wrapper" }, obj.module)), h("ch-grid-cell", null, h("span", { class: "cell-wrapper" }, obj.description)), h("ch-grid-cell", null, h("span", { class: "cell-wrapper" }, `${formatDate(obj.modifiedDate, "date-time")}`)), h("ch-grid-cell", null, h("span", { class: "cell-wrapper" }, `${formatDate(obj.importDate, "date")}`)))))))));
|
|
45
47
|
};
|
|
46
48
|
this.getObjects = () => {
|
|
47
49
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
@@ -66,7 +68,9 @@ export class GxIdeObjectSelector {
|
|
|
66
68
|
this.deselectAll();
|
|
67
69
|
});
|
|
68
70
|
};
|
|
69
|
-
this.
|
|
71
|
+
this.openSelectionCallbackHandler = (e) => {
|
|
72
|
+
console.log("openSelectionCallbackHandler");
|
|
73
|
+
e.stopPropagation();
|
|
70
74
|
this.openSelectionCallback(this.selectedObjectsIds);
|
|
71
75
|
};
|
|
72
76
|
this.cancelCallbackHandle = () => {
|
|
@@ -113,7 +117,8 @@ export class GxIdeObjectSelector {
|
|
|
113
117
|
this.getObjects();
|
|
114
118
|
});
|
|
115
119
|
/* Date/Time */
|
|
116
|
-
this.filterModifiedDateEl.addEventListener("valueChanged",
|
|
120
|
+
this.filterModifiedDateEl.addEventListener("valueChanged", e => {
|
|
121
|
+
console.log("e", e);
|
|
117
122
|
this.getObjects();
|
|
118
123
|
});
|
|
119
124
|
// for grid selection
|
|
@@ -158,7 +163,7 @@ export class GxIdeObjectSelector {
|
|
|
158
163
|
}
|
|
159
164
|
// 10.RENDER() FUNCTION //
|
|
160
165
|
render() {
|
|
161
|
-
return (h(Host, { class: "gx-ide-component" }, h("div", { class: "gx-ide-main-wrapper gx-ide-overflow" }, this.renderFilter(), this.renderObjects(), h("gxg-container", null, h("div", { class: "grid objects-count" }, h("gxg-text", { class: "align-end", part: "objects-selected" }, `${this.selectedObjectsIds.length} ${this._componentLocale.objCount.selected}`), h("gxg-text", { class: "align-end", part: "objects-matching" }, `${this.objects.length} ${this._componentLocale.objCount.matching}`))), h("gxg-container", { displayBorderTop: true }, h("div", { class: "grid actions" }, h("div", null, h("gxg-button", { id: "button-select-all", type: "primary-text-only", onClick: this.selectAll, part: "gxg-button gxg-button--select-all" }, this._componentLocale.footer.btnSelectAll), h("gxg-button", { id: "button-new", type: "primary-text-only", onClick: this.newObjectCallbackHandle, part: "gxg-button gxg-button--new" }, this._componentLocale.footer.btnNew)), h("div", null, h("gxg-button", { id: "button-ok", type: "primary-text-only", onClick: this.
|
|
166
|
+
return (h(Host, { class: "gx-ide-component" }, h("div", { class: "gx-ide-main-wrapper gx-ide-overflow" }, this.renderFilter(), this.renderObjects(), h("gxg-container", null, h("div", { class: "grid objects-count" }, h("gxg-text", { class: "align-end", part: "objects-selected" }, `${this.selectedObjectsIds.length} ${this._componentLocale.objCount.selected}`), h("gxg-text", { class: "align-end", part: "objects-matching" }, `${this.objects.length} ${this._componentLocale.objCount.matching}`))), h("gxg-container", { displayBorderTop: true }, h("div", { class: "grid actions" }, h("div", null, h("gxg-button", { id: "button-select-all", type: "primary-text-only", onClick: this.selectAll, part: "gxg-button gxg-button--select-all" }, this._componentLocale.footer.btnSelectAll), h("gxg-button", { id: "button-new", type: "primary-text-only", onClick: this.newObjectCallbackHandle, part: "gxg-button gxg-button--new" }, this._componentLocale.footer.btnNew)), h("div", null, h("gxg-button", { id: "button-ok", type: "primary-text-only", onClick: this.openSelectionCallbackHandler, part: "gxg-button gxg-button--ok" }, this._componentLocale.footer.btnConfirm), h("gxg-button", { id: "button-cancel", type: "outlined", onClick: this.cancelCallbackHandle, part: "gxg-button gxg-button--cancel" }, this._componentLocale.footer.btnCancel)))))));
|
|
162
167
|
}
|
|
163
168
|
static get is() { return "gx-ide-object-selector"; }
|
|
164
169
|
static get encapsulation() { return "shadow"; }
|
|
@@ -291,7 +296,7 @@ export class GxIdeObjectSelector {
|
|
|
291
296
|
"references": {
|
|
292
297
|
"EntityData": {
|
|
293
298
|
"location": "import",
|
|
294
|
-
"path": "
|
|
299
|
+
"path": "../../common/types"
|
|
295
300
|
}
|
|
296
301
|
}
|
|
297
302
|
},
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
grid-template-rows: auto;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
ch-grid-cell {
|
|
36
|
+
display: flex;
|
|
37
|
+
}
|
|
38
|
+
|
|
35
39
|
/*All components Host should have this class set. !important is set on every rule, since this styles could be overridden by the host user, since they are applied on the host component*/
|
|
36
40
|
:host(.gx-ide-component) {
|
|
37
41
|
box-shadow: var(--box-shadow-01) !important;
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
grid-template-rows: auto;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
ch-grid-cell {
|
|
36
|
+
display: flex;
|
|
37
|
+
}
|
|
38
|
+
|
|
35
39
|
/*All components Host should have this class set. !important is set on every rule, since this styles could be overridden by the host user, since they are applied on the host component*/
|
|
36
40
|
:host(.gx-ide-component) {
|
|
37
41
|
box-shadow: var(--box-shadow-01) !important;
|
package/dist/collection/components/team-dev-select-recent-comment/team-dev-select-recent-comment.css
CHANGED
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
grid-template-rows: auto;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
ch-grid-cell {
|
|
36
|
+
display: flex;
|
|
37
|
+
}
|
|
38
|
+
|
|
35
39
|
/*All components Host should have this class set. !important is set on every rule, since this styles could be overridden by the host user, since they are applied on the host component*/
|
|
36
40
|
:host(.gx-ide-component) {
|
|
37
41
|
box-shadow: var(--box-shadow-01) !important;
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
grid-template-rows: auto;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
ch-grid-cell {
|
|
36
|
+
display: flex;
|
|
37
|
+
}
|
|
38
|
+
|
|
35
39
|
/*All components Host should have this class set. !important is set on every rule, since this styles could be overridden by the host user, since they are applied on the host component*/
|
|
36
40
|
:host(.gx-ide-component) {
|
|
37
41
|
box-shadow: var(--box-shadow-01) !important;
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
grid-template-rows: auto;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
ch-grid-cell {
|
|
36
|
+
display: flex;
|
|
37
|
+
}
|
|
38
|
+
|
|
35
39
|
/*All components Host should have this class set. !important is set on every rule, since this styles could be overridden by the host user, since they are applied on the host component*/
|
|
36
40
|
:host(.gx-ide-component) {
|
|
37
41
|
box-shadow: var(--box-shadow-01) !important;
|
package/dist/collection/components/team-dev-update-to-revision/team-dev-update-to-revision.css
CHANGED
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
grid-template-rows: auto;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
ch-grid-cell {
|
|
36
|
+
display: flex;
|
|
37
|
+
}
|
|
38
|
+
|
|
35
39
|
/*All components Host should have this class set. !important is set on every rule, since this styles could be overridden by the host user, since they are applied on the host component*/
|
|
36
40
|
:host(.gx-ide-component) {
|
|
37
41
|
box-shadow: var(--box-shadow-01) !important;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export default function () {
|
|
2
|
+
// or export default async function()
|
|
3
|
+
const head = document.head || document.getElementsByTagName("head")[0];
|
|
4
|
+
const chStyle = document.createElement("ch-style");
|
|
5
|
+
chStyle.setAttribute("href", "/gemini/ch-styles.css");
|
|
6
|
+
head.appendChild(chStyle);
|
|
7
|
+
}
|