@quandis/qbo4.ui-bridge 4.0.1-CI-20241031-205224 → 4.0.1-CI-20241101-213505
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 +4 -4
- package/src/qbo-ssn.js +2 -2
- package/src/qbo-ssn.ts +2 -2
- package/wwwroot/css/ui-bridge.css +9 -0
- package/wwwroot/css/ui-bridge.css.map +1 -1
- package/wwwroot/css/ui-bridge.min.css +1 -1
- package/wwwroot/js/esm/ui-bridge.js +6 -7
- package/wwwroot/js/esm/ui-bridge.min.js +4 -5
- package/wwwroot/js/esm/ui-bridge.min.js.map +1 -1
- package/wwwroot/js/qbo4.ui-bridge.js +6 -7
- package/wwwroot/js/qbo4.ui-bridge.min.js +4 -5
- package/wwwroot/js/qbo4.ui-bridge.min.js.map +1 -1
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"author": "Quandis, Inc.",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"version": "4.0.1-CI-
|
|
6
|
+
"version": "4.0.1-CI-20241101-213505",
|
|
7
7
|
"workspaces": [
|
|
8
8
|
"code"
|
|
9
9
|
],
|
|
@@ -45,15 +45,15 @@
|
|
|
45
45
|
"@fullhuman/postcss-purgecss": "^6.0.0",
|
|
46
46
|
"autoprefixer": "^10.4.20",
|
|
47
47
|
"clean-css": "^5.3.3",
|
|
48
|
-
"eslint": "^9.
|
|
48
|
+
"eslint": "^9.14.0",
|
|
49
49
|
"glob": "^11.0.0",
|
|
50
50
|
"html-webpack-plugin": "^5.6.3",
|
|
51
|
-
"mini-css-extract-plugin": "^2.9.
|
|
51
|
+
"mini-css-extract-plugin": "^2.9.2",
|
|
52
52
|
"postcss": "^8.4.47",
|
|
53
53
|
"postcss-loader": "^8.1.1",
|
|
54
54
|
"sass": "^1.80.5",
|
|
55
55
|
"typescript": "^5.6.3",
|
|
56
|
-
"webpack": "^5.
|
|
56
|
+
"webpack": "^5.96.1",
|
|
57
57
|
"webpack-cli": "^5.1.4",
|
|
58
58
|
"webpack-merge": "^6.0.1"
|
|
59
59
|
}
|
package/src/qbo-ssn.js
CHANGED
|
@@ -16,7 +16,7 @@ const ssnMap = new Map();
|
|
|
16
16
|
ssnMap.set('defaultLayout', (component) => {
|
|
17
17
|
return html `<div slot="content" class="${component.slotClass}">
|
|
18
18
|
<input type="text" ?disabled=${component.disabled} class="${component.inputClass}" name="${component.inputName}" value="${component.data?.['USSSN']}"/>
|
|
19
|
-
<span @click="${component.toggleSSN}" class="${component.spanClass}" title="${component.titleShowText}"><i class="${component.imageClassShow}"></i></span>
|
|
19
|
+
<div><span @click="${component.toggleSSN}" class="${component.spanClass}" title="${component.titleShowText}"><i class="${component.imageClassShow}"></i></span></div>
|
|
20
20
|
</div>`;
|
|
21
21
|
});
|
|
22
22
|
let QboSSN = class QboSSN extends QboFormElement {
|
|
@@ -50,7 +50,7 @@ let QboSSN = class QboSSN extends QboFormElement {
|
|
|
50
50
|
if (this.show) {
|
|
51
51
|
const service = services.container.isRegistered(this.apiEndpoint)
|
|
52
52
|
? services.container.resolve(this.apiEndpoint) : new RestApiService(this.apiEndpoint);
|
|
53
|
-
const json = await service.fetch(`${this.url}
|
|
53
|
+
const json = await service.fetch(`${this.url}?ID=${this.data?.['ContactID']}`);
|
|
54
54
|
this.renderRoot.querySelectorAll(`${this.selectorInput}`).forEach(input => {
|
|
55
55
|
if (input instanceof HTMLInputElement
|
|
56
56
|
&& json?.ContactCollection?.length > 0
|
package/src/qbo-ssn.ts
CHANGED
|
@@ -10,7 +10,7 @@ const ssnMap: Map<string, TemplateFunction> = new Map();
|
|
|
10
10
|
ssnMap.set('defaultLayout', (component: QboSSN) => {
|
|
11
11
|
return html`<div slot="content" class="${component.slotClass}">
|
|
12
12
|
<input type="text" ?disabled=${component.disabled} class="${component.inputClass}" name="${component.inputName}" value="${component.data?.['USSSN']}"/>
|
|
13
|
-
<span @click="${component.toggleSSN}" class="${component.spanClass}" title="${component.titleShowText}"><i class="${component.imageClassShow}"></i></span>
|
|
13
|
+
<div><span @click="${component.toggleSSN}" class="${component.spanClass}" title="${component.titleShowText}"><i class="${component.imageClassShow}"></i></span></div>
|
|
14
14
|
</div>`;
|
|
15
15
|
});
|
|
16
16
|
|
|
@@ -84,7 +84,7 @@ export class QboSSN extends QboFormElement {
|
|
|
84
84
|
if (this.show) {
|
|
85
85
|
const service: IApiService = services.container.isRegistered(this.apiEndpoint)
|
|
86
86
|
? services.container.resolve<IApiService>(this.apiEndpoint) : new RestApiService(this.apiEndpoint);
|
|
87
|
-
const json = await service.fetch(`${this.url}
|
|
87
|
+
const json = await service.fetch(`${this.url}?ID=${this.data?.['ContactID']}`);
|
|
88
88
|
|
|
89
89
|
this.renderRoot.querySelectorAll(`${this.selectorInput}`).forEach(input => {
|
|
90
90
|
if (input instanceof HTMLInputElement
|
|
@@ -21507,6 +21507,10 @@ nav.qbo-breadcrumb {
|
|
|
21507
21507
|
|
|
21508
21508
|
/* Breadcrumb - End */
|
|
21509
21509
|
/* Main Menu - Start */
|
|
21510
|
+
nav.qbo-mainmenu > div > div > ul li.qbo-nav-item:not(.qbo-dropdown) {
|
|
21511
|
+
padding-top: 5px;
|
|
21512
|
+
}
|
|
21513
|
+
|
|
21510
21514
|
/* Main Menu - End */
|
|
21511
21515
|
/* Form - Start */
|
|
21512
21516
|
@media (min-width: 768px) {
|
|
@@ -21529,6 +21533,11 @@ div.qbo-form form > * > slot div > * > select.qbo-sm-top,
|
|
|
21529
21533
|
div.qbo-form form > * > slot div > select.qbo-sm-top {
|
|
21530
21534
|
margin-top: 5px;
|
|
21531
21535
|
}
|
|
21536
|
+
div.qbo-form form > * > slot > * > slot > div.qbo-form-actions div.qbo-btn-group ul.dropdown-menu > li > a > span, div.qbo-form form > * > slot > * > slot > div.qbo-form-actions div.qbo-btn-group qbo-menu[type=context] > ul > li > a > span, div.qbo-form form > * > slot > * > slot > div.qbo-form-actions div.qbo-btn-group .qbo-menu-context > ul > li > a > span {
|
|
21537
|
+
display: initial;
|
|
21538
|
+
border: initial;
|
|
21539
|
+
}
|
|
21540
|
+
|
|
21532
21541
|
/* Form - End */
|
|
21533
21542
|
/* Button - Start */
|
|
21534
21543
|
button.qbo-primary-dropdown {
|