@zanichelli/delta_share 2.0.0 → 2.0.3

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.
@@ -1,5 +1,6 @@
1
1
  import { Component, Host, h, Prop, State, Event, } from "@stencil/core";
2
2
  import { ButtonVariantEnum } from "@zanichelli/albe-web-components/dist/collection/beans/index";
3
+ import { LicenseActivationVariantEnum, } from "../../beans";
3
4
  import { manageMarkupContent } from "../../utils/utils";
4
5
  export class LicenseActivationForm {
5
6
  constructor() {
@@ -17,13 +18,54 @@ export class LicenseActivationForm {
17
18
  this.submitButtonClick.emit({ value: inputVal });
18
19
  }
19
20
  handleInfoClick() {
20
- if (this.variant === "modal") {
21
+ if (this.variant === LicenseActivationVariantEnum.modal) {
21
22
  this.showInfoBox = true;
22
23
  }
23
- if (this.variant === "box" || this.variant === "button") {
24
+ if (this.variant === LicenseActivationVariantEnum.box ||
25
+ this.variant === LicenseActivationVariantEnum.preview) {
24
26
  this.handleModalOpen();
25
27
  }
26
28
  }
29
+ renderInput() {
30
+ const { inputMessage, inputLabel, placeholder, inputStatus, previewInputPlaceholder, } = this.formTexts;
31
+ if (this.variant === LicenseActivationVariantEnum.preview &&
32
+ !previewInputPlaceholder)
33
+ return;
34
+ const message = this.variant === LicenseActivationVariantEnum.box
35
+ ? inputMessage
36
+ : this.error
37
+ ? this.error
38
+ : inputMessage;
39
+ return (h("z-input", { value: this.inputVal, htmlid: `${this.formid}_input`, label: this.variant === LicenseActivationVariantEnum.preview
40
+ ? ""
41
+ : inputLabel, placeholder: this.variant === LicenseActivationVariantEnum.preview
42
+ ? previewInputPlaceholder
43
+ : placeholder, htmltitle: placeholder, message: this.variant === LicenseActivationVariantEnum.preview ? "" : message, hasmessage: this.variant !== LicenseActivationVariantEnum.preview, status: this.variant === LicenseActivationVariantEnum.box ? null : inputStatus, disabled: !!this.requestLoading, onInputChange: (e) => this.handleFormInputChange(e.detail) }));
44
+ }
45
+ renderButton() {
46
+ const disabled = (this.variant === LicenseActivationVariantEnum.modal && !this.inputVal) ||
47
+ !!this.requestLoading;
48
+ return (h("z-button", { variant: ButtonVariantEnum.primary, size: this.getButtonSize(this.variant), square: this.getButtonSquare(this.variant), disabled: disabled || !this.enableButton || this.requestLoading, onClick: () => this.handleSubmitButtonClick(this.inputVal) }, this.renderButtonValue(this.variant, disabled)));
49
+ }
50
+ renderButtonValue(variant, disabled = false) {
51
+ const icon = this.getButtonIcon(variant);
52
+ const label = this.getButtonLabel(variant);
53
+ return (h("button", { slot: "element", disabled: disabled },
54
+ icon ? h("z-icon", { name: icon }) : null,
55
+ label));
56
+ }
57
+ renderAdditionalDescription() {
58
+ const { additionalDescription } = this.formTexts;
59
+ if (!additionalDescription)
60
+ return;
61
+ return h("z-body", { level: 3 }, additionalDescription);
62
+ }
63
+ renderInfoLink() {
64
+ const { linkLabel } = this.formTexts;
65
+ if (this.variant === LicenseActivationVariantEnum.preview)
66
+ return;
67
+ return (h("z-link", { icon: "question-mark", onClick: () => this.handleInfoClick() }, linkLabel));
68
+ }
27
69
  renderInfoBox() {
28
70
  if (!this.showInfoBox)
29
71
  return;
@@ -47,40 +89,53 @@ export class LicenseActivationForm {
47
89
  window.location.href = formTexts.supportLink;
48
90
  }
49
91
  renderErrorSection() {
92
+ if (this.variant !== LicenseActivationVariantEnum.modal || !this.error)
93
+ return;
50
94
  const { errorButtonLabel, errorSectionMessage } = this.formTexts;
51
95
  return (h("section", { class: "error-section" },
52
96
  h("span", { class: "heading-01" }, errorSectionMessage),
53
97
  h("z-button", { variant: ButtonVariantEnum.secondary, onClick: this.redirectToSupport }, errorButtonLabel)));
54
98
  }
99
+ getButtonSize(variant) {
100
+ const { previewButtonSize } = this.formTexts;
101
+ if (variant === LicenseActivationVariantEnum.preview && previewButtonSize)
102
+ return previewButtonSize;
103
+ return "big";
104
+ }
105
+ getButtonSquare(variant) {
106
+ const { previewButtonLabel, previewButtonIcon } = this.formTexts;
107
+ if (variant === LicenseActivationVariantEnum.preview &&
108
+ previewButtonIcon &&
109
+ !previewButtonLabel)
110
+ return true;
111
+ return undefined;
112
+ }
55
113
  getButtonIcon(variant) {
56
114
  const { buttonIcon, previewButtonIcon } = this.formTexts;
57
- if (variant === "button" && previewButtonIcon)
115
+ if (variant === LicenseActivationVariantEnum.preview && previewButtonIcon)
58
116
  return previewButtonIcon;
59
- if (variant !== "button" && buttonIcon)
117
+ if (variant !== LicenseActivationVariantEnum.preview && buttonIcon)
60
118
  return buttonIcon;
61
119
  return undefined;
62
120
  }
63
121
  getButtonLabel(variant) {
64
122
  const { buttonLabel, previewButtonLabel } = this.formTexts;
65
- if (variant === "button" && previewButtonLabel)
123
+ if (variant === LicenseActivationVariantEnum.preview && previewButtonLabel)
66
124
  return previewButtonLabel;
67
- if (variant !== "button" && buttonLabel)
125
+ if (variant !== LicenseActivationVariantEnum.preview && buttonLabel)
68
126
  return buttonLabel;
69
127
  return "";
70
128
  }
71
129
  render() {
72
- const { error, requestLoading, formTexts, formid, variant } = this;
73
- const { inputMessage, inputLabel, linkLabel, placeholder, inputStatus, additionalDescription, } = formTexts;
74
- const disabled = (variant === "modal" && !this.inputVal) || !!requestLoading;
75
- return (h(Host, { variant: variant },
130
+ return (h(Host, { variant: this.variant },
76
131
  h("div", null,
77
- additionalDescription && (h("z-body", { level: 3 }, additionalDescription)),
78
- variant !== "button" && (h("z-input", { value: this.inputVal, htmlid: `${formid}_input`, label: inputLabel, placeholder: placeholder, htmltitle: placeholder, message: variant === "box" ? inputMessage : error ? error : inputMessage, status: variant === "box" ? null : inputStatus, disabled: !!requestLoading, onInputChange: (e) => this.handleFormInputChange(e.detail) })),
79
- h("z-button", { variant: ButtonVariantEnum.primary, icon: this.getButtonIcon(variant), disabled: disabled || !this.enableButton || requestLoading ? true : false, onClick: () => this.handleSubmitButtonClick(this.inputVal) }, this.getButtonLabel(variant))),
80
- variant !== "button" && (h("z-link", { icon: "question-mark", onClick: () => this.handleInfoClick() }, linkLabel)),
132
+ this.renderAdditionalDescription(),
133
+ this.renderInput(),
134
+ this.renderButton()),
135
+ this.renderInfoLink(),
81
136
  h("div", null,
82
137
  this.renderInfoBox(),
83
- variant === "modal" && error && this.renderErrorSection())));
138
+ this.renderErrorSection())));
84
139
  }
85
140
  static get is() { return "license-activation-form"; }
86
141
  static get encapsulation() { return "shadow"; }
@@ -130,7 +185,7 @@ export class LicenseActivationForm {
130
185
  "mutable": false,
131
186
  "complexType": {
132
187
  "original": "LicenseActivationFormTexts",
133
- "resolved": "{ inputStatus: \"success\" | \"error\" | \"warning\" | \"selecting\"; inputMessage: string; placeholder: string; inputLabel: string; buttonLabel: string; buttonIcon: string; previewButtonLabel: string; previewButtonIcon: string; linkLabel: string; errorButtonLabel: string; errorSectionMessage: string; infoBoxIcon: string; infoBoxContent: string; supportLink: string; additionalDescription: string; }",
188
+ "resolved": "{ inputStatus: \"success\" | \"error\" | \"warning\" | \"selecting\"; inputMessage: string; placeholder: string; inputLabel: string; buttonLabel: string; buttonIcon: string; previewInputPlaceholder: string; previewButtonLabel: string; previewButtonIcon: string; previewButtonSize: string; linkLabel: string; errorButtonLabel: string; errorSectionMessage: string; infoBoxIcon: string; infoBoxContent: string; supportLink: string; additionalDescription: string; }",
134
189
  "references": {
135
190
  "LicenseActivationFormTexts": {
136
191
  "location": "import",
@@ -256,9 +311,14 @@ export class LicenseActivationForm {
256
311
  "type": "string",
257
312
  "mutable": false,
258
313
  "complexType": {
259
- "original": "\"box\" | \"modal\" | \"button\"",
260
- "resolved": "\"box\" | \"button\" | \"modal\"",
261
- "references": {}
314
+ "original": "LicenseActivationVariantType",
315
+ "resolved": "LicenseActivationVariantEnum.box | LicenseActivationVariantEnum.modal | LicenseActivationVariantEnum.preview",
316
+ "references": {
317
+ "LicenseActivationVariantType": {
318
+ "location": "import",
319
+ "path": "../../beans"
320
+ }
321
+ }
262
322
  },
263
323
  "required": false,
264
324
  "optional": false,
@@ -19,8 +19,6 @@ export class Env {
19
19
  buildApiV3Url() {
20
20
  if (this.zanienv === "prod")
21
21
  return "https://api-catalogo.zanichelli.it/v3";
22
- if (this.zanienv === "local")
23
- return "https://api-catalogo.zanichelli.local/v3";
24
22
  return `https://${this.zanienv}-api-catalogo.zanichelli.it/v3`;
25
23
  }
26
24
  buildUrlS3ImagesFolder() {
@@ -1,6 +1,35 @@
1
1
  import { getRenderingRef, forceUpdate, createEvent, h, Host, attachShadow, proxyCustomElement } from '@stencil/core/internal/client';
2
2
  export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
3
3
 
4
+ var DeviceEnum;
5
+ (function (DeviceEnum) {
6
+ DeviceEnum["mobile"] = "mobile";
7
+ DeviceEnum["tablet"] = "tablet";
8
+ DeviceEnum["desktop"] = "desktop";
9
+ DeviceEnum["desktopNew"] = "desktopNew";
10
+ })(DeviceEnum || (DeviceEnum = {}));
11
+ var LicenseActivationVariantEnum;
12
+ (function (LicenseActivationVariantEnum) {
13
+ LicenseActivationVariantEnum["box"] = "box";
14
+ LicenseActivationVariantEnum["modal"] = "modal";
15
+ LicenseActivationVariantEnum["preview"] = "preview";
16
+ })(LicenseActivationVariantEnum || (LicenseActivationVariantEnum = {}));
17
+ var LicenseActivationStateEnum;
18
+ (function (LicenseActivationStateEnum) {
19
+ LicenseActivationStateEnum["INITIAL"] = "INITIAL";
20
+ LicenseActivationStateEnum["ACTIVATING"] = "ACTIVATING";
21
+ LicenseActivationStateEnum["ACTIVATED"] = "ACTIVATED";
22
+ LicenseActivationStateEnum["SUCCESS"] = "SUCCESS";
23
+ })(LicenseActivationStateEnum || (LicenseActivationStateEnum = {}));
24
+ var LicenseActivationActionEnum;
25
+ (function (LicenseActivationActionEnum) {
26
+ LicenseActivationActionEnum["REQUEST"] = "app/LICENSE_ACTIVATION/REQUEST";
27
+ LicenseActivationActionEnum["ACTIVATED"] = "app/LICENSE_ACTIVATION/ACTIVATED";
28
+ LicenseActivationActionEnum["SUCCESS"] = "app/LICENSE_ACTIVATION/SUCCESS";
29
+ LicenseActivationActionEnum["FAIL"] = "app/LICENSE_ACTIVATION/FAIL";
30
+ LicenseActivationActionEnum["RESET"] = "app/LICENSE_ACTIVATION/RESET";
31
+ })(LicenseActivationActionEnum || (LicenseActivationActionEnum = {}));
32
+
4
33
  const appendToMap = (map, propName, value) => {
5
34
  const items = map.get(propName);
6
35
  if (!items) {
@@ -207,8 +236,6 @@ class Env {
207
236
  buildApiV3Url() {
208
237
  if (this.zanienv === "prod")
209
238
  return "https://api-catalogo.zanichelli.it/v3";
210
- if (this.zanienv === "local")
211
- return "https://api-catalogo.zanichelli.local/v3";
212
239
  return `https://${this.zanienv}-api-catalogo.zanichelli.it/v3`;
213
240
  }
214
241
  buildUrlS3ImagesFolder() {
@@ -1740,7 +1767,8 @@ const LicenseActivation$1 = class extends HTMLElement {
1740
1767
  async componentWillLoad() {
1741
1768
  await getCms(state);
1742
1769
  this.cms = state.cms;
1743
- this.modalState = this.variant === "modal" ? "open" : "closed";
1770
+ this.modalState =
1771
+ this.variant === LicenseActivationVariantEnum.modal ? "open" : "closed";
1744
1772
  this.isMobile =
1745
1773
  window.screen.width <= mobileBreakpoint$1 ||
1746
1774
  window.innerWidth <= mobileBreakpoint$1;
@@ -1823,7 +1851,7 @@ const LicenseActivation$1 = class extends HTMLElement {
1823
1851
  if (!inputVal) {
1824
1852
  this.handleLicenseModalOpen(false);
1825
1853
  }
1826
- if ((this.variant === "modal" ||
1854
+ if ((this.variant === LicenseActivationVariantEnum.modal ||
1827
1855
  this.modalState === "open" ||
1828
1856
  licenseActivationStatus === "initial") &&
1829
1857
  inputVal) {
@@ -1846,10 +1874,10 @@ const LicenseActivation$1 = class extends HTMLElement {
1846
1874
  return (h("license-activation-box", { error: this.licenseActivationState.licenseActivationApiError, code: this.licenseActivationState.licenseActivationCode }, this.renderLicenseActivationForm(variant)));
1847
1875
  }
1848
1876
  renderLicenseActivationModal() {
1849
- return (h("license-activation-modal", { id: `${this.host.id}-modal`, "modal-title": this.cms["newdashboard.licenseActivation.modalTitle"], onActivationModalClose: () => this.handleLicenseModalClose(), resetStore: this.resetStore }, this.renderLicenseActivationForm("modal")));
1877
+ return (h("license-activation-modal", { id: `${this.host.id}-modal`, "modal-title": this.cms["newdashboard.licenseActivation.modalTitle"], onActivationModalClose: () => this.handleLicenseModalClose(), resetStore: this.resetStore }, this.renderLicenseActivationForm(LicenseActivationVariantEnum.modal)));
1850
1878
  }
1851
1879
  retrieveTextsObject() {
1852
- const { inputMessage, inputLabel, inputPlaceholder, buttonLabel, isMobile, additionalDescription, buttonIcon, previewButtonLabel, previewButtonIcon, } = this;
1880
+ const { inputMessage, inputLabel, inputPlaceholder, buttonLabel, isMobile, additionalDescription, buttonIcon, previewInputPlaceholder, previewButtonLabel, previewButtonIcon, previewButtonSize, } = this;
1853
1881
  const { licenseActivationStatus } = this.licenseActivationState;
1854
1882
  return {
1855
1883
  inputStatus: this.mapInputStatus(licenseActivationStatus),
@@ -1862,15 +1890,18 @@ const LicenseActivation$1 = class extends HTMLElement {
1862
1890
  ? buttonLabel || this.cms["newdashboard.licenseActivation.submitLabel"]
1863
1891
  : this.cms["newdashboard.onboarding.licenseActivation.submitLabel"],
1864
1892
  buttonIcon,
1893
+ previewInputPlaceholder,
1865
1894
  previewButtonLabel,
1866
1895
  previewButtonIcon,
1896
+ previewButtonSize,
1867
1897
  linkLabel: this.cms["newdashboard.licenseActivation.helperLink"].toUpperCase(),
1868
1898
  errorButtonLabel: this.cms["newdashboard.licenseActivation.contactUs.btnLabel"],
1869
1899
  errorSectionMessage: this.cms["newdashboard.licenseActivation.contactUs.message"],
1870
1900
  infoBoxIcon: `${this.environment.URL_S3_IMAGES_FOLDER}bollinoSIAE.svg`,
1871
1901
  infoBoxContent: this.cms["newdashboard.licenseActivation.infoBoxContent"],
1872
1902
  supportLink: this.cms["newdashboard.licenseActivation.contactUs.url"],
1873
- additionalDescription: this.variant === "modal" && additionalDescription,
1903
+ additionalDescription: this.variant === LicenseActivationVariantEnum.modal &&
1904
+ additionalDescription,
1874
1905
  };
1875
1906
  }
1876
1907
  renderLicenseActivationForm(variant) {
@@ -1883,16 +1914,19 @@ const LicenseActivation$1 = class extends HTMLElement {
1883
1914
  return (h("z-button", { onClick: () => this.handleMobileButtonClick() }, this.cms["newdashboard.onboarding.licenseActivation.mobileSubmitLabel"]));
1884
1915
  }
1885
1916
  render() {
1886
- if (this.isMobile) {
1917
+ if (this.isMobile &&
1918
+ this.variant !== LicenseActivationVariantEnum.preview) {
1887
1919
  return (h(Host, null, this.forceModal
1888
1920
  ? this.renderLicenseActivationModal()
1889
- : this.renderMobileButton(), (this.variant === "box" || this.variant === "button") &&
1921
+ : this.renderMobileButton(), this.variant === LicenseActivationVariantEnum.box &&
1890
1922
  this.modalState === "open" &&
1891
1923
  this.renderLicenseActivationModal()));
1892
1924
  }
1893
- return (h(Host, null, this.variant === "box" || this.variant === "button"
1925
+ return (h(Host, null, this.variant === LicenseActivationVariantEnum.box ||
1926
+ this.variant === LicenseActivationVariantEnum.preview
1894
1927
  ? this.renderLicenseActivationBox(this.variant)
1895
- : this.modalState === "open" && this.renderLicenseActivationModal(), (this.variant === "box" || this.variant === "button") &&
1928
+ : this.modalState === "open" && this.renderLicenseActivationModal(), (this.variant === LicenseActivationVariantEnum.box ||
1929
+ this.variant === LicenseActivationVariantEnum.preview) &&
1896
1930
  this.modalState === "open" &&
1897
1931
  this.submitClicked &&
1898
1932
  this.renderLicenseActivationModal()));
@@ -2010,7 +2044,7 @@ var DividerOrientation;
2010
2044
  DividerOrientation["vertical"] = "vertical";
2011
2045
  })(DividerOrientation || (DividerOrientation = {}));
2012
2046
 
2013
- const licenseActivationFormCss = ":host{display:block;padding:calc(var(--space-unit) * 2)}:host>div>z-body{margin-bottom:calc(var(--space-unit) * 2)}:host>div>z-button{padding:calc(var(--space-unit) * 2) 0;width:100%}:host>div>z-input{width:100%}:host>z-link{font-weight:bold}:host>div>z-info-box>div{display:flex}:host([variant='modal']) .error-section{display:flex;flex-direction:column;border-top:var(--border-size-small) solid var(--bg-grey-200);margin-top:calc(var(--space-unit) * 3);padding-top:calc(var(--space-unit) * 2)}:host([variant='modal']) .error-section>span{padding:var(--basex2) 0;display:block;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:14px;line-height:20px}@media only screen and (min-width: 768px){:host{padding:0}:host([variant='modal']){padding:32px;width:396px}:host>div{display:flex;flex-direction:row}:host([variant='modal'])>div{flex-direction:column}:host>div>z-button{padding:32px 0 calc(var(--space-unit) * 2) calc(var(--space-unit) * 2);width:auto}:host([variant='modal'])>div>z-button{padding:32px 0 calc(var(--space-unit) * 2);width:max-content}:host([variant='modal']) .error-section>z-button{width:max-content}}@media only screen and (min-width: 1152px){:host([variant='modal']){width:477px}:host>div{flex-direction:row}}";
2047
+ const licenseActivationFormCss = ":host{display:block;padding:calc(var(--space-unit) * 2)}:host>div>z-body{margin-bottom:calc(var(--space-unit) * 2)}:host>div>z-button{padding:calc(var(--space-unit) * 2) 0;width:100%}:host>div>z-input{width:100%}:host>z-link{font-weight:bold}:host>div>z-info-box>div{display:flex}:host([variant=\"modal\"]) .error-section{display:flex;flex-direction:column;border-top:var(--border-size-small) solid var(--bg-grey-200);margin-top:calc(var(--space-unit) * 3);padding-top:calc(var(--space-unit) * 2)}:host([variant=\"modal\"]) .error-section>span{padding:var(--basex2) 0;display:block;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:14px;line-height:20px}:host([variant=\"preview\"]){margin:0;padding:0}:host([variant=\"preview\"]) z-button{margin:0;padding:0;width:initial}:host([variant=\"preview\"]) z-input{margin-right:calc(var(--space-unit) * 2)}@media only screen and (min-width: 768px){:host{padding:0}:host([variant=\"modal\"]){padding:32px;width:396px}:host>div{display:flex;flex-direction:row}:host([variant=\"modal\"])>div{flex-direction:column}:host>div>z-button{padding-top:calc(var(--space-unit) * 4);padding-left:calc(var(--space-unit) * 2);width:auto}:host([variant=\"preview\"])>div>z-button{padding-top:0}:host([variant=\"modal\"])>div>z-button{padding:32px 0 calc(var(--space-unit) * 2);width:max-content}:host([variant=\"modal\"]) .error-section>z-button{width:max-content}}@media only screen and (min-width: 1152px){:host([variant=\"modal\"]){width:477px}:host>div{flex-direction:row}}";
2014
2048
 
2015
2049
  const LicenseActivationForm$1 = class extends HTMLElement {
2016
2050
  constructor() {
@@ -2033,13 +2067,52 @@ const LicenseActivationForm$1 = class extends HTMLElement {
2033
2067
  this.submitButtonClick.emit({ value: inputVal });
2034
2068
  }
2035
2069
  handleInfoClick() {
2036
- if (this.variant === "modal") {
2070
+ if (this.variant === LicenseActivationVariantEnum.modal) {
2037
2071
  this.showInfoBox = true;
2038
2072
  }
2039
- if (this.variant === "box" || this.variant === "button") {
2073
+ if (this.variant === LicenseActivationVariantEnum.box ||
2074
+ this.variant === LicenseActivationVariantEnum.preview) {
2040
2075
  this.handleModalOpen();
2041
2076
  }
2042
2077
  }
2078
+ renderInput() {
2079
+ const { inputMessage, inputLabel, placeholder, inputStatus, previewInputPlaceholder, } = this.formTexts;
2080
+ if (this.variant === LicenseActivationVariantEnum.preview &&
2081
+ !previewInputPlaceholder)
2082
+ return;
2083
+ const message = this.variant === LicenseActivationVariantEnum.box
2084
+ ? inputMessage
2085
+ : this.error
2086
+ ? this.error
2087
+ : inputMessage;
2088
+ return (h("z-input", { value: this.inputVal, htmlid: `${this.formid}_input`, label: this.variant === LicenseActivationVariantEnum.preview
2089
+ ? ""
2090
+ : inputLabel, placeholder: this.variant === LicenseActivationVariantEnum.preview
2091
+ ? previewInputPlaceholder
2092
+ : placeholder, htmltitle: placeholder, message: this.variant === LicenseActivationVariantEnum.preview ? "" : message, hasmessage: this.variant !== LicenseActivationVariantEnum.preview, status: this.variant === LicenseActivationVariantEnum.box ? null : inputStatus, disabled: !!this.requestLoading, onInputChange: (e) => this.handleFormInputChange(e.detail) }));
2093
+ }
2094
+ renderButton() {
2095
+ const disabled = (this.variant === LicenseActivationVariantEnum.modal && !this.inputVal) ||
2096
+ !!this.requestLoading;
2097
+ return (h("z-button", { variant: ButtonVariantEnum.primary, size: this.getButtonSize(this.variant), square: this.getButtonSquare(this.variant), disabled: disabled || !this.enableButton || this.requestLoading, onClick: () => this.handleSubmitButtonClick(this.inputVal) }, this.renderButtonValue(this.variant, disabled)));
2098
+ }
2099
+ renderButtonValue(variant, disabled = false) {
2100
+ const icon = this.getButtonIcon(variant);
2101
+ const label = this.getButtonLabel(variant);
2102
+ return (h("button", { slot: "element", disabled: disabled }, icon ? h("z-icon", { name: icon }) : null, label));
2103
+ }
2104
+ renderAdditionalDescription() {
2105
+ const { additionalDescription } = this.formTexts;
2106
+ if (!additionalDescription)
2107
+ return;
2108
+ return h("z-body", { level: 3 }, additionalDescription);
2109
+ }
2110
+ renderInfoLink() {
2111
+ const { linkLabel } = this.formTexts;
2112
+ if (this.variant === LicenseActivationVariantEnum.preview)
2113
+ return;
2114
+ return (h("z-link", { icon: "question-mark", onClick: () => this.handleInfoClick() }, linkLabel));
2115
+ }
2043
2116
  renderInfoBox() {
2044
2117
  if (!this.showInfoBox)
2045
2118
  return;
@@ -2059,30 +2132,43 @@ const LicenseActivationForm$1 = class extends HTMLElement {
2059
2132
  window.location.href = formTexts.supportLink;
2060
2133
  }
2061
2134
  renderErrorSection() {
2135
+ if (this.variant !== LicenseActivationVariantEnum.modal || !this.error)
2136
+ return;
2062
2137
  const { errorButtonLabel, errorSectionMessage } = this.formTexts;
2063
2138
  return (h("section", { class: "error-section" }, h("span", { class: "heading-01" }, errorSectionMessage), h("z-button", { variant: ButtonVariantEnum.secondary, onClick: this.redirectToSupport }, errorButtonLabel)));
2064
2139
  }
2140
+ getButtonSize(variant) {
2141
+ const { previewButtonSize } = this.formTexts;
2142
+ if (variant === LicenseActivationVariantEnum.preview && previewButtonSize)
2143
+ return previewButtonSize;
2144
+ return "big";
2145
+ }
2146
+ getButtonSquare(variant) {
2147
+ const { previewButtonLabel, previewButtonIcon } = this.formTexts;
2148
+ if (variant === LicenseActivationVariantEnum.preview &&
2149
+ previewButtonIcon &&
2150
+ !previewButtonLabel)
2151
+ return true;
2152
+ return undefined;
2153
+ }
2065
2154
  getButtonIcon(variant) {
2066
2155
  const { buttonIcon, previewButtonIcon } = this.formTexts;
2067
- if (variant === "button" && previewButtonIcon)
2156
+ if (variant === LicenseActivationVariantEnum.preview && previewButtonIcon)
2068
2157
  return previewButtonIcon;
2069
- if (variant !== "button" && buttonIcon)
2158
+ if (variant !== LicenseActivationVariantEnum.preview && buttonIcon)
2070
2159
  return buttonIcon;
2071
2160
  return undefined;
2072
2161
  }
2073
2162
  getButtonLabel(variant) {
2074
2163
  const { buttonLabel, previewButtonLabel } = this.formTexts;
2075
- if (variant === "button" && previewButtonLabel)
2164
+ if (variant === LicenseActivationVariantEnum.preview && previewButtonLabel)
2076
2165
  return previewButtonLabel;
2077
- if (variant !== "button" && buttonLabel)
2166
+ if (variant !== LicenseActivationVariantEnum.preview && buttonLabel)
2078
2167
  return buttonLabel;
2079
2168
  return "";
2080
2169
  }
2081
2170
  render() {
2082
- const { error, requestLoading, formTexts, formid, variant } = this;
2083
- const { inputMessage, inputLabel, linkLabel, placeholder, inputStatus, additionalDescription, } = formTexts;
2084
- const disabled = (variant === "modal" && !this.inputVal) || !!requestLoading;
2085
- return (h(Host, { variant: variant }, h("div", null, additionalDescription && (h("z-body", { level: 3 }, additionalDescription)), variant !== "button" && (h("z-input", { value: this.inputVal, htmlid: `${formid}_input`, label: inputLabel, placeholder: placeholder, htmltitle: placeholder, message: variant === "box" ? inputMessage : error ? error : inputMessage, status: variant === "box" ? null : inputStatus, disabled: !!requestLoading, onInputChange: (e) => this.handleFormInputChange(e.detail) })), h("z-button", { variant: ButtonVariantEnum.primary, icon: this.getButtonIcon(variant), disabled: disabled || !this.enableButton || requestLoading ? true : false, onClick: () => this.handleSubmitButtonClick(this.inputVal) }, this.getButtonLabel(variant))), variant !== "button" && (h("z-link", { icon: "question-mark", onClick: () => this.handleInfoClick() }, linkLabel)), h("div", null, this.renderInfoBox(), variant === "modal" && error && this.renderErrorSection())));
2171
+ return (h(Host, { variant: this.variant }, h("div", null, this.renderAdditionalDescription(), this.renderInput(), this.renderButton()), this.renderInfoLink(), h("div", null, this.renderInfoBox(), this.renderErrorSection())));
2086
2172
  }
2087
2173
  static get style() { return licenseActivationFormCss; }
2088
2174
  };
@@ -7798,7 +7884,7 @@ const ZUserDropdown$1 = class extends HTMLElement {
7798
7884
  static get style() { return stylesCss; }
7799
7885
  };
7800
7886
 
7801
- const LicenseActivation = /*@__PURE__*/proxyCustomElement(LicenseActivation$1, [2,"license-activation",{"variant":[1],"modalState":[1025,"modal-state"],"componentid":[1],"inputLabel":[1,"input-label"],"inputMessage":[1,"input-message"],"inputPlaceholder":[1,"input-placeholder"],"additionalDescription":[1,"additional-description"],"buttonLabel":[1,"button-label"],"buttonIcon":[1,"button-icon"],"previewButtonLabel":[1,"preview-button-label"],"previewButtonIcon":[1,"preview-button-icon"],"enableButton":[4,"enable-button"],"forceModal":[4,"force-modal"],"env":[1],"cms":[32],"enableFormSubmitButton":[32],"submitClicked":[32],"isMobile":[32],"initialShowInfoBox":[32],"licenseActivationState":[32]},[[9,"resize","handleResize"],[8,"orientationchange","handleOrientationChange"]]]);
7887
+ const LicenseActivation = /*@__PURE__*/proxyCustomElement(LicenseActivation$1, [2,"license-activation",{"variant":[1],"modalState":[1025,"modal-state"],"componentid":[1],"inputLabel":[1,"input-label"],"inputMessage":[1,"input-message"],"inputPlaceholder":[1,"input-placeholder"],"additionalDescription":[1,"additional-description"],"buttonLabel":[1,"button-label"],"buttonIcon":[1,"button-icon"],"previewInputPlaceholder":[1,"preview-input-placeholder"],"previewButtonLabel":[1,"preview-button-label"],"previewButtonIcon":[1,"preview-button-icon"],"previewButtonSize":[1,"preview-button-size"],"enableButton":[4,"enable-button"],"forceModal":[4,"force-modal"],"env":[1],"cms":[32],"enableFormSubmitButton":[32],"submitClicked":[32],"isMobile":[32],"initialShowInfoBox":[32],"licenseActivationState":[32]},[[9,"resize","handleResize"],[8,"orientationchange","handleOrientationChange"]]]);
7802
7888
  const LicenseActivationBox = /*@__PURE__*/proxyCustomElement(LicenseActivationBox$1, [6,"license-activation-box",{"error":[16],"code":[1]}]);
7803
7889
  const LicenseActivationForm = /*@__PURE__*/proxyCustomElement(LicenseActivationForm$1, [1,"license-activation-form",{"direction":[1],"error":[1],"formTexts":[16],"requestLoading":[4,"request-loading"],"initialCode":[1,"initial-code"],"initialShowInfoBox":[4,"initial-show-info-box"],"enableButton":[4,"enable-button"],"activationState":[1,"activation-state"],"formid":[1],"variant":[1],"handleModalOpen":[16],"showInfoBox":[32],"inputVal":[32]}]);
7804
7890
  const LicenseActivationModal = /*@__PURE__*/proxyCustomElement(LicenseActivationModal$1, [6,"license-activation-modal",{"modalTitle":[1,"modal-title"],"resetStore":[16]}]);
@@ -1 +1 @@
1
- import{p as e,b as t}from"./p-d489328b.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),e(i)})().then((e=>t([["p-c56e8a41",[[6,"z-modal-login",{heading:[1],status:[1025],message:[1025],externalProviderCheck:[32]}]]],["p-7145c713",[[1,"z-combobox",{inputid:[1],items:[1],label:[1],hassearch:[4],searchlabel:[1],searchplaceholder:[1],searchtitle:[1],noresultslabel:[1],isopen:[1028],isfixed:[4],closesearchtext:[1],hascheckall:[4],checkalltext:[1],uncheckalltext:[1],maxcheckableitems:[2],searchValue:[32],selectedCounter:[32],renderItemsList:[32]},[[0,"inputCheck","inputCheckListener"]]]]],["p-de921fbb",[[1,"z-header",{intlinkdata:[1],extlinkdata:[1],userdata:[1],ismyz:[4],logolink:[1],imagealt:[1],activeintlinkid:[1],activesublinkid:[1],hideloginbutton:[4],activeMenuItem:[32],currentMenuItem:[32],isMobile:[32],isMenuMobileOpen:[32]},[[9,"resize","handleResize"],[2,"zListItemLinkClick","handleZListItemLinkClick"],[2,"zListItemClick","handleZListItemClick"]]]]],["p-d1270e75",[[1,"z-footer",{data:[1],copyrightuser:[1]}]]],["p-acfe9eb3",[[1,"z-cookiebar",{cookiepolicyurl:[1],hide:[4],callback:[16]}]]],["p-f9175533",[[1,"z-pagination-bar",{pages:[2],visiblepages:[2],currentpage:[1026],startpage:[1026],historyraw:[1],listhistoryrow:[1040],currentPages:[32]}]]],["p-ca57e6ec",[[1,"z-panel-elem",{elemid:[1],imgurl:[1],imgalt:[1],linkicon:[1],linklabel:[1],url:[1],target:[1],isdisabled:[4],descr_slot_name:[1]}]]],["p-57e825ae",[[6,"z-registro-table-cell",{showButton:[4,"show-button"],isMenuOpened:[32]}]]],["p-b5eb340c",[[1,"z-user-dropdown",{logged:[4],userfullname:[1],menucontent:[1],theme:[1],ismenuopen:[32],isMobile:[32]},[[9,"resize","handleResize"],[8,"orientationchange","handleOrientationChange"],[8,"click","handleClickOutside"]]]]],["p-800cd436",[[1,"z-app-switcher",{theme:[1],isopen:[32]}]]],["p-04b614bf",[[1,"z-button-sort",{buttonid:[1],label:[1],desclabel:[1],counter:[2],sortlabelasc:[1],sortlabeldesc:[1],isselected:[1028],sortasc:[1028]}]]],["p-cad0320b",[[1,"z-card-alert",{iconname:[1],contenttext:[1],actiontext:[1],type:[1]}]]],["p-3995e58c",[[1,"z-card-icon",{icon:[1],isdisabled:[4]}]]],["p-f500eb2e",[[1,"z-heading",{level:[2],variant:[1],component:[1]}]]],["p-873e098b",[[1,"z-icon-package"]]],["p-7a08a26d",[[1,"z-menu",{active:[516],floating:[516],open:[32],hasHeader:[32],hasContent:[32]},[[4,"click","handleClick"]]]]],["p-f5d6ffbf",[[1,"z-menu-section",{active:[516],open:[32],hasContent:[32]},[[4,"click","handleClick"]]]]],["p-6684b880",[[1,"z-toggle-button",{label:[1],isdisabled:[4],avoidclick:[4],isOpen:[32]}]]],["p-a259b62e",[[1,"z-app-header"]]],["p-21e76fc5",[[1,"z-app-topbar",{theme:[1],logged:[4],hashtag:[1],zLinksValues:[32],isMobile:[32]},[[9,"resize","handleResize"],[8,"orientationchange","handleOrientationChange"]]]]],["p-7adbb1ec",[[1,"z-card",{faded:[4],cardtype:[1],ispressed:[4],ishighlighted:[4]}]]],["p-0a05abe2",[[1,"z-card-body"]]],["p-f1ba2542",[[1,"z-card-cover",{img:[1],titolo:[1],faded:[4],defaultimg:[1]}]]],["p-d2b8f445",[[1,"z-card-footer",{titolo:[1],autori:[1],isbn:[1],faded:[4],cardtype:[1],isOpen:[32],allowTooltipAuthors:[32]},[[0,"toggleClick","handleToggle"]]]]],["p-5e35124a",[[1,"z-card-header",{titolo:[1],faded:[4],cardtype:[1],allowTooltip:[32]}]]],["p-26d039ff",[[1,"z-card-list",{listdata:[1]}]]],["p-10d9e4f5",[[1,"z-chip",{regulartext:[1],boldtext:[2]}]]],["p-65c48026",[[2,"z-divider",{size:[1],color:[1],orientation:[1]}]]],["p-466d0fc0",[[4,"z-registro-table",{bordered:[4],columnSticky:[4,"column-sticky"],headerSticky:[4,"header-sticky"]}]]],["p-c69e24bf",[[6,"z-registro-table-body"]]],["p-ec64cd8e",[[6,"z-registro-table-footer"]]],["p-81d7702b",[[6,"z-registro-table-head"]]],["p-3dae174e",[[6,"z-registro-table-header"]]],["p-5a2d329b",[[6,"z-registro-table-row"]]],["p-ab7c95da",[[6,"z-registro-table-sticky-footer"]]],["p-ef4da7dc",[[1,"z-stepper"]]],["p-6215ddbd",[[1,"z-stepper-item",{index:[2],href:[1],pressed:[4],disabled:[4]}]]],["p-3c0ba1d7",[[1,"z-tooltip",{content:[1],type:[1]}]]],["p-a03963a8",[[1,"z-candybar"]]],["p-85623203",[[1,"z-pagination-page",{pageid:[1],value:[2],isselected:[4],isdisabled:[4],isvisited:[4]}]]],["p-067677ff",[[2,"license-activation",{variant:[1],modalState:[1025,"modal-state"],componentid:[1],inputLabel:[1,"input-label"],inputMessage:[1,"input-message"],inputPlaceholder:[1,"input-placeholder"],additionalDescription:[1,"additional-description"],buttonLabel:[1,"button-label"],buttonIcon:[1,"button-icon"],previewButtonLabel:[1,"preview-button-label"],previewButtonIcon:[1,"preview-button-icon"],enableButton:[4,"enable-button"],forceModal:[4,"force-modal"],env:[1],cms:[32],enableFormSubmitButton:[32],submitClicked:[32],isMobile:[32],initialShowInfoBox:[32],licenseActivationState:[32]},[[9,"resize","handleResize"],[8,"orientationchange","handleOrientationChange"]]],[1,"license-activation-form",{direction:[1],error:[1],formTexts:[16],requestLoading:[4,"request-loading"],initialCode:[1,"initial-code"],initialShowInfoBox:[4,"initial-show-info-box"],enableButton:[4,"enable-button"],activationState:[1,"activation-state"],formid:[1],variant:[1],handleModalOpen:[16],showInfoBox:[32],inputVal:[32]}],[6,"license-activation-box",{error:[16],code:[1]}],[6,"license-activation-modal",{modalTitle:[1,"modal-title"],resetStore:[16]}],[1,"z-info-box",{boxid:[1],isclosable:[4]}],[1,"z-body",{level:[2],variant:[1],component:[1]}],[1,"z-modal",{modalid:[1],modaltitle:[1],modalsubtitle:[1]}],[1,"z-typography",{component:[1],variant:[1],level:[1]}],[2,"z-input",{htmlid:[1],type:[1],name:[1],label:[1],value:[1025],disabled:[4],readonly:[4],required:[4],checked:[1028],placeholder:[1],htmltitle:[1],status:[1],hasmessage:[4],message:[1],labelafter:[4],typingtimeout:[2],items:[1],autocomplete:[8],multiple:[4],hasclearicon:[4],icon:[1],isTyping:[32],textareaWrapperHover:[32],textareaWrapperFocus:[32],passwordHidden:[32],getValue:[64],setValue:[64],isChecked:[64]},[[4,"inputCheck","inputCheckListener"]]],[1,"z-select",{htmlid:[1],items:[1],name:[1],label:[1],disabled:[4],readonly:[4],placeholder:[1],htmltitle:[1],status:[1],hasmessage:[4],message:[1],autocomplete:[8],multiple:[4],noresultslabel:[1],isOpen:[32],selectedItems:[32],searchString:[32],getSelectedItems:[64],getValue:[64],setValue:[64]}],[1,"z-button",{htmlid:[1],name:[1],disabled:[516],type:[1],variant:[513],icon:[1],size:[513],issmall:[516],square:[516]}],[1,"z-button-filter",{filtername:[1],isfixed:[4],hasicon:[4],filterid:[1],issmall:[4]}],[1,"z-input-message",{message:[1],status:[1]}],[1,"z-input-label",{value:[1],disabled:[4]}],[1,"z-link",{htmlid:[1],href:[1],target:[1],htmltabindex:[2],isdisabled:[4],isactive:[4],iswhite:[4],textcolor:[1],icon:[1],big:[4]}],[1,"z-icon",{name:[1],height:[2],width:[2],iconid:[1]}]]],["p-abd1d378",[[1,"z-list",{inputrawdata:[1025],list:[1040]}],[1,"z-menu-dropdown",{nomeutente:[1],menucontent:[1],buttonid:[1],ismenuopen:[32]}]]],["p-804eb658",[[1,"z-logo",{width:[2],height:[2],imagealt:[1],link:[1],targetblank:[4]}]]],["p-b60651f2",[[1,"z-footer-section",{name:[1],isOpen:[32]}],[1,"z-footer-link",{href:[1]}],[1,"z-footer-social",{icon:[1],href:[1],description:[1]}]]],["p-f6cf7f9f",[[1,"z-list-item",{text:[1],link:[1],linktarget:[1],icon:[1],listitemid:[1],action:[1],underlined:[4]}]]]],e)));
1
+ import{p as e,b as t}from"./p-d489328b.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),e(i)})().then((e=>t([["p-c56e8a41",[[6,"z-modal-login",{heading:[1],status:[1025],message:[1025],externalProviderCheck:[32]}]]],["p-7145c713",[[1,"z-combobox",{inputid:[1],items:[1],label:[1],hassearch:[4],searchlabel:[1],searchplaceholder:[1],searchtitle:[1],noresultslabel:[1],isopen:[1028],isfixed:[4],closesearchtext:[1],hascheckall:[4],checkalltext:[1],uncheckalltext:[1],maxcheckableitems:[2],searchValue:[32],selectedCounter:[32],renderItemsList:[32]},[[0,"inputCheck","inputCheckListener"]]]]],["p-de921fbb",[[1,"z-header",{intlinkdata:[1],extlinkdata:[1],userdata:[1],ismyz:[4],logolink:[1],imagealt:[1],activeintlinkid:[1],activesublinkid:[1],hideloginbutton:[4],activeMenuItem:[32],currentMenuItem:[32],isMobile:[32],isMenuMobileOpen:[32]},[[9,"resize","handleResize"],[2,"zListItemLinkClick","handleZListItemLinkClick"],[2,"zListItemClick","handleZListItemClick"]]]]],["p-d1270e75",[[1,"z-footer",{data:[1],copyrightuser:[1]}]]],["p-acfe9eb3",[[1,"z-cookiebar",{cookiepolicyurl:[1],hide:[4],callback:[16]}]]],["p-f9175533",[[1,"z-pagination-bar",{pages:[2],visiblepages:[2],currentpage:[1026],startpage:[1026],historyraw:[1],listhistoryrow:[1040],currentPages:[32]}]]],["p-ca57e6ec",[[1,"z-panel-elem",{elemid:[1],imgurl:[1],imgalt:[1],linkicon:[1],linklabel:[1],url:[1],target:[1],isdisabled:[4],descr_slot_name:[1]}]]],["p-57e825ae",[[6,"z-registro-table-cell",{showButton:[4,"show-button"],isMenuOpened:[32]}]]],["p-b5eb340c",[[1,"z-user-dropdown",{logged:[4],userfullname:[1],menucontent:[1],theme:[1],ismenuopen:[32],isMobile:[32]},[[9,"resize","handleResize"],[8,"orientationchange","handleOrientationChange"],[8,"click","handleClickOutside"]]]]],["p-800cd436",[[1,"z-app-switcher",{theme:[1],isopen:[32]}]]],["p-04b614bf",[[1,"z-button-sort",{buttonid:[1],label:[1],desclabel:[1],counter:[2],sortlabelasc:[1],sortlabeldesc:[1],isselected:[1028],sortasc:[1028]}]]],["p-cad0320b",[[1,"z-card-alert",{iconname:[1],contenttext:[1],actiontext:[1],type:[1]}]]],["p-3995e58c",[[1,"z-card-icon",{icon:[1],isdisabled:[4]}]]],["p-f500eb2e",[[1,"z-heading",{level:[2],variant:[1],component:[1]}]]],["p-873e098b",[[1,"z-icon-package"]]],["p-7a08a26d",[[1,"z-menu",{active:[516],floating:[516],open:[32],hasHeader:[32],hasContent:[32]},[[4,"click","handleClick"]]]]],["p-f5d6ffbf",[[1,"z-menu-section",{active:[516],open:[32],hasContent:[32]},[[4,"click","handleClick"]]]]],["p-6684b880",[[1,"z-toggle-button",{label:[1],isdisabled:[4],avoidclick:[4],isOpen:[32]}]]],["p-a259b62e",[[1,"z-app-header"]]],["p-21e76fc5",[[1,"z-app-topbar",{theme:[1],logged:[4],hashtag:[1],zLinksValues:[32],isMobile:[32]},[[9,"resize","handleResize"],[8,"orientationchange","handleOrientationChange"]]]]],["p-7adbb1ec",[[1,"z-card",{faded:[4],cardtype:[1],ispressed:[4],ishighlighted:[4]}]]],["p-0a05abe2",[[1,"z-card-body"]]],["p-f1ba2542",[[1,"z-card-cover",{img:[1],titolo:[1],faded:[4],defaultimg:[1]}]]],["p-d2b8f445",[[1,"z-card-footer",{titolo:[1],autori:[1],isbn:[1],faded:[4],cardtype:[1],isOpen:[32],allowTooltipAuthors:[32]},[[0,"toggleClick","handleToggle"]]]]],["p-5e35124a",[[1,"z-card-header",{titolo:[1],faded:[4],cardtype:[1],allowTooltip:[32]}]]],["p-26d039ff",[[1,"z-card-list",{listdata:[1]}]]],["p-10d9e4f5",[[1,"z-chip",{regulartext:[1],boldtext:[2]}]]],["p-65c48026",[[2,"z-divider",{size:[1],color:[1],orientation:[1]}]]],["p-466d0fc0",[[4,"z-registro-table",{bordered:[4],columnSticky:[4,"column-sticky"],headerSticky:[4,"header-sticky"]}]]],["p-c69e24bf",[[6,"z-registro-table-body"]]],["p-ec64cd8e",[[6,"z-registro-table-footer"]]],["p-81d7702b",[[6,"z-registro-table-head"]]],["p-3dae174e",[[6,"z-registro-table-header"]]],["p-5a2d329b",[[6,"z-registro-table-row"]]],["p-ab7c95da",[[6,"z-registro-table-sticky-footer"]]],["p-ef4da7dc",[[1,"z-stepper"]]],["p-6215ddbd",[[1,"z-stepper-item",{index:[2],href:[1],pressed:[4],disabled:[4]}]]],["p-3c0ba1d7",[[1,"z-tooltip",{content:[1],type:[1]}]]],["p-a03963a8",[[1,"z-candybar"]]],["p-85623203",[[1,"z-pagination-page",{pageid:[1],value:[2],isselected:[4],isdisabled:[4],isvisited:[4]}]]],["p-6422287d",[[2,"license-activation",{variant:[1],modalState:[1025,"modal-state"],componentid:[1],inputLabel:[1,"input-label"],inputMessage:[1,"input-message"],inputPlaceholder:[1,"input-placeholder"],additionalDescription:[1,"additional-description"],buttonLabel:[1,"button-label"],buttonIcon:[1,"button-icon"],previewInputPlaceholder:[1,"preview-input-placeholder"],previewButtonLabel:[1,"preview-button-label"],previewButtonIcon:[1,"preview-button-icon"],previewButtonSize:[1,"preview-button-size"],enableButton:[4,"enable-button"],forceModal:[4,"force-modal"],env:[1],cms:[32],enableFormSubmitButton:[32],submitClicked:[32],isMobile:[32],initialShowInfoBox:[32],licenseActivationState:[32]},[[9,"resize","handleResize"],[8,"orientationchange","handleOrientationChange"]]],[1,"license-activation-form",{direction:[1],error:[1],formTexts:[16],requestLoading:[4,"request-loading"],initialCode:[1,"initial-code"],initialShowInfoBox:[4,"initial-show-info-box"],enableButton:[4,"enable-button"],activationState:[1,"activation-state"],formid:[1],variant:[1],handleModalOpen:[16],showInfoBox:[32],inputVal:[32]}],[6,"license-activation-box",{error:[16],code:[1]}],[6,"license-activation-modal",{modalTitle:[1,"modal-title"],resetStore:[16]}],[1,"z-info-box",{boxid:[1],isclosable:[4]}],[1,"z-body",{level:[2],variant:[1],component:[1]}],[1,"z-modal",{modalid:[1],modaltitle:[1],modalsubtitle:[1]}],[1,"z-typography",{component:[1],variant:[1],level:[1]}],[2,"z-input",{htmlid:[1],type:[1],name:[1],label:[1],value:[1025],disabled:[4],readonly:[4],required:[4],checked:[1028],placeholder:[1],htmltitle:[1],status:[1],hasmessage:[4],message:[1],labelafter:[4],typingtimeout:[2],items:[1],autocomplete:[8],multiple:[4],hasclearicon:[4],icon:[1],isTyping:[32],textareaWrapperHover:[32],textareaWrapperFocus:[32],passwordHidden:[32],getValue:[64],setValue:[64],isChecked:[64]},[[4,"inputCheck","inputCheckListener"]]],[1,"z-select",{htmlid:[1],items:[1],name:[1],label:[1],disabled:[4],readonly:[4],placeholder:[1],htmltitle:[1],status:[1],hasmessage:[4],message:[1],autocomplete:[8],multiple:[4],noresultslabel:[1],isOpen:[32],selectedItems:[32],searchString:[32],getSelectedItems:[64],getValue:[64],setValue:[64]}],[1,"z-button",{htmlid:[1],name:[1],disabled:[516],type:[1],variant:[513],icon:[1],size:[513],issmall:[516],square:[516]}],[1,"z-button-filter",{filtername:[1],isfixed:[4],hasicon:[4],filterid:[1],issmall:[4]}],[1,"z-input-message",{message:[1],status:[1]}],[1,"z-input-label",{value:[1],disabled:[4]}],[1,"z-link",{htmlid:[1],href:[1],target:[1],htmltabindex:[2],isdisabled:[4],isactive:[4],iswhite:[4],textcolor:[1],icon:[1],big:[4]}],[1,"z-icon",{name:[1],height:[2],width:[2],iconid:[1]}]]],["p-abd1d378",[[1,"z-list",{inputrawdata:[1025],list:[1040]}],[1,"z-menu-dropdown",{nomeutente:[1],menucontent:[1],buttonid:[1],ismenuopen:[32]}]]],["p-804eb658",[[1,"z-logo",{width:[2],height:[2],imagealt:[1],link:[1],targetblank:[4]}]]],["p-b60651f2",[[1,"z-footer-section",{name:[1],isOpen:[32]}],[1,"z-footer-link",{href:[1]}],[1,"z-footer-social",{icon:[1],href:[1],description:[1]}]]],["p-f6cf7f9f",[[1,"z-list-item",{text:[1],link:[1],linktarget:[1],icon:[1],listitemid:[1],action:[1],underlined:[4]}]]]],e)));