@quandis/qbo4.ui-bridge 4.0.1-CI-20241031-130254 → 4.0.1-CI-20241101-204551

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 CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "Quandis, Inc.",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
- "version": "4.0.1-CI-20241031-130254",
6
+ "version": "4.0.1-CI-20241101-204551",
7
7
  "workspaces": [
8
8
  "code"
9
9
  ],
@@ -15,7 +15,8 @@
15
15
  "clean": "rd \"node_modules/@quandis/qbo4.ui\" -force -recurse -ErrorAction SilentlyContinue",
16
16
  "packdev": "webpack --config pack.dev.js --no-color",
17
17
  "packprod": "webpack --config pack.prod.js --no-color",
18
- "sass": "sass --load-path=node_modules --quiet scss/:wwwroot/css && node cssshake.js"
18
+ "sass": "sass --load-path=node_modules --quiet scss/:wwwroot/css && node cssshake.js",
19
+ "quick": "npm run sass && tsc --build --force && npm run packdev && del *.tgz && npm pack && ren *.tgz qbo4.ui-bridge.tgz"
19
20
  },
20
21
  "keywords": [
21
22
  "qbo"
@@ -44,15 +45,15 @@
44
45
  "@fullhuman/postcss-purgecss": "^6.0.0",
45
46
  "autoprefixer": "^10.4.20",
46
47
  "clean-css": "^5.3.3",
47
- "eslint": "^9.13.0",
48
+ "eslint": "^9.14.0",
48
49
  "glob": "^11.0.0",
49
50
  "html-webpack-plugin": "^5.6.3",
50
- "mini-css-extract-plugin": "^2.9.1",
51
+ "mini-css-extract-plugin": "^2.9.2",
51
52
  "postcss": "^8.4.47",
52
53
  "postcss-loader": "^8.1.1",
53
54
  "sass": "^1.80.5",
54
55
  "typescript": "^5.6.3",
55
- "webpack": "^5.95.0",
56
+ "webpack": "^5.96.1",
56
57
  "webpack-cli": "^5.1.4",
57
58
  "webpack-merge": "^6.0.1"
58
59
  }
@@ -37,7 +37,8 @@ let QboContact = class QboContact extends LitElement {
37
37
  async connectedCallback() {
38
38
  super.connectedCallback();
39
39
  const service = services.container.isRegistered(this.apiEndpoint) ? services.container.resolve(this.apiEndpoint) : new RestApiService(this.apiEndpoint);
40
- this.jsonData = await service.fetch(`contact/summary/${this.contactId}`);
40
+ const payload = (Object.keys(this.dataset).length > 0) ? { ...this.dataset } : null;
41
+ this.jsonData = await service.fetch(`contact/summary/${this.contactId}`, payload);
41
42
  }
42
43
  render() {
43
44
  if (this.jsonData == undefined || this.jsonData.Root == undefined || (this.jsonData.Root.ContactItem == undefined && this.contactId != null))
@@ -59,9 +59,9 @@ export class QboContact extends LitElement {
59
59
 
60
60
  async connectedCallback() {
61
61
  super.connectedCallback();
62
-
63
62
  const service: IApiService = services.container.isRegistered(this.apiEndpoint) ? services.container.resolve<IApiService>(this.apiEndpoint) : new RestApiService(this.apiEndpoint);
64
- this.jsonData = await service.fetch(`contact/summary/${this.contactId}`);
63
+ const payload = (Object.keys(this.dataset).length > 0) ? { ...this.dataset } as Record<string, string> : null;
64
+ this.jsonData = await service.fetch(`contact/summary/${this.contactId}`, payload);
65
65
  }
66
66
 
67
67
  render() {
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 {
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
 
@@ -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 {