@zanichelli/delta_share 2.0.0 → 2.0.1
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/wc/cjs/delta_share.cjs.js +1 -1
- package/dist/wc/cjs/license-activation_16.cjs.entry.js +25 -5
- package/dist/wc/cjs/loader.cjs.js +1 -1
- package/dist/wc/collection/components/license-activation/license-activation.js +21 -3
- package/dist/wc/collection/components/license-activation-form/license-activation-form.css +23 -14
- package/dist/wc/collection/components/license-activation-form/license-activation-form.js +23 -2
- package/dist/wc/custom-elements/index.js +26 -6
- package/dist/wc/delta_share/delta_share.esm.js +1 -1
- package/dist/wc/delta_share/p-91e72bb9.entry.js +3 -0
- package/dist/wc/esm/delta_share.js +1 -1
- package/dist/wc/esm/license-activation_16.entry.js +25 -5
- package/dist/wc/esm/loader.js +1 -1
- package/dist/wc/types/beans/index.d.ts +1 -0
- package/dist/wc/types/components/license-activation/license-activation.d.ts +2 -0
- package/dist/wc/types/components/license-activation-form/license-activation-form.d.ts +4 -0
- package/dist/wc/types/components.d.ts +8 -0
- package/package.json +1 -1
- package/dist/wc/delta_share/p-067677ff.entry.js +0 -3
|
@@ -15,5 +15,5 @@ const patchBrowser = () => {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(options => {
|
|
18
|
-
return index.bootstrapLazy([["z-modal-login.cjs",[[6,"z-modal-login",{"heading":[1],"status":[1025],"message":[1025],"externalProviderCheck":[32]}]]],["z-combobox.cjs",[[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"]]]]],["z-header.cjs",[[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"]]]]],["z-footer.cjs",[[1,"z-footer",{"data":[1],"copyrightuser":[1]}]]],["z-cookiebar.cjs",[[1,"z-cookiebar",{"cookiepolicyurl":[1],"hide":[4],"callback":[16]}]]],["z-pagination-bar.cjs",[[1,"z-pagination-bar",{"pages":[2],"visiblepages":[2],"currentpage":[1026],"startpage":[1026],"historyraw":[1],"listhistoryrow":[1040],"currentPages":[32]}]]],["z-panel-elem.cjs",[[1,"z-panel-elem",{"elemid":[1],"imgurl":[1],"imgalt":[1],"linkicon":[1],"linklabel":[1],"url":[1],"target":[1],"isdisabled":[4],"descr_slot_name":[1]}]]],["z-registro-table-cell.cjs",[[6,"z-registro-table-cell",{"showButton":[4,"show-button"],"isMenuOpened":[32]}]]],["z-user-dropdown.cjs",[[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"]]]]],["z-app-switcher.cjs",[[1,"z-app-switcher",{"theme":[1],"isopen":[32]}]]],["z-button-sort.cjs",[[1,"z-button-sort",{"buttonid":[1],"label":[1],"desclabel":[1],"counter":[2],"sortlabelasc":[1],"sortlabeldesc":[1],"isselected":[1028],"sortasc":[1028]}]]],["z-card-alert.cjs",[[1,"z-card-alert",{"iconname":[1],"contenttext":[1],"actiontext":[1],"type":[1]}]]],["z-card-icon.cjs",[[1,"z-card-icon",{"icon":[1],"isdisabled":[4]}]]],["z-heading.cjs",[[1,"z-heading",{"level":[2],"variant":[1],"component":[1]}]]],["z-icon-package.cjs",[[1,"z-icon-package"]]],["z-menu.cjs",[[1,"z-menu",{"active":[516],"floating":[516],"open":[32],"hasHeader":[32],"hasContent":[32]},[[4,"click","handleClick"]]]]],["z-menu-section.cjs",[[1,"z-menu-section",{"active":[516],"open":[32],"hasContent":[32]},[[4,"click","handleClick"]]]]],["z-toggle-button.cjs",[[1,"z-toggle-button",{"label":[1],"isdisabled":[4],"avoidclick":[4],"isOpen":[32]}]]],["z-app-header.cjs",[[1,"z-app-header"]]],["z-app-topbar.cjs",[[1,"z-app-topbar",{"theme":[1],"logged":[4],"hashtag":[1],"zLinksValues":[32],"isMobile":[32]},[[9,"resize","handleResize"],[8,"orientationchange","handleOrientationChange"]]]]],["z-card.cjs",[[1,"z-card",{"faded":[4],"cardtype":[1],"ispressed":[4],"ishighlighted":[4]}]]],["z-card-body.cjs",[[1,"z-card-body"]]],["z-card-cover.cjs",[[1,"z-card-cover",{"img":[1],"titolo":[1],"faded":[4],"defaultimg":[1]}]]],["z-card-footer.cjs",[[1,"z-card-footer",{"titolo":[1],"autori":[1],"isbn":[1],"faded":[4],"cardtype":[1],"isOpen":[32],"allowTooltipAuthors":[32]},[[0,"toggleClick","handleToggle"]]]]],["z-card-header.cjs",[[1,"z-card-header",{"titolo":[1],"faded":[4],"cardtype":[1],"allowTooltip":[32]}]]],["z-card-list.cjs",[[1,"z-card-list",{"listdata":[1]}]]],["z-chip.cjs",[[1,"z-chip",{"regulartext":[1],"boldtext":[2]}]]],["z-divider.cjs",[[2,"z-divider",{"size":[1],"color":[1],"orientation":[1]}]]],["z-registro-table.cjs",[[4,"z-registro-table",{"bordered":[4],"columnSticky":[4,"column-sticky"],"headerSticky":[4,"header-sticky"]}]]],["z-registro-table-body.cjs",[[6,"z-registro-table-body"]]],["z-registro-table-footer.cjs",[[6,"z-registro-table-footer"]]],["z-registro-table-head.cjs",[[6,"z-registro-table-head"]]],["z-registro-table-header.cjs",[[6,"z-registro-table-header"]]],["z-registro-table-row.cjs",[[6,"z-registro-table-row"]]],["z-registro-table-sticky-footer.cjs",[[6,"z-registro-table-sticky-footer"]]],["z-stepper.cjs",[[1,"z-stepper"]]],["z-stepper-item.cjs",[[1,"z-stepper-item",{"index":[2],"href":[1],"pressed":[4],"disabled":[4]}]]],["z-tooltip.cjs",[[1,"z-tooltip",{"content":[1],"type":[1]}]]],["z-candybar.cjs",[[1,"z-candybar"]]],["z-pagination-page.cjs",[[1,"z-pagination-page",{"pageid":[1],"value":[2],"isselected":[4],"isdisabled":[4],"isvisited":[4]}]]],["license-activation_16.cjs",[[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]}]]],["z-list_2.cjs",[[1,"z-list",{"inputrawdata":[1025],"list":[1040]}],[1,"z-menu-dropdown",{"nomeutente":[1],"menucontent":[1],"buttonid":[1],"ismenuopen":[32]}]]],["z-logo.cjs",[[1,"z-logo",{"width":[2],"height":[2],"imagealt":[1],"link":[1],"targetblank":[4]}]]],["z-footer-link_3.cjs",[[1,"z-footer-section",{"name":[1],"isOpen":[32]}],[1,"z-footer-link",{"href":[1]}],[1,"z-footer-social",{"icon":[1],"href":[1],"description":[1]}]]],["z-list-item.cjs",[[1,"z-list-item",{"text":[1],"link":[1],"linktarget":[1],"icon":[1],"listitemid":[1],"action":[1],"underlined":[4]}]]]], options);
|
|
18
|
+
return index.bootstrapLazy([["z-modal-login.cjs",[[6,"z-modal-login",{"heading":[1],"status":[1025],"message":[1025],"externalProviderCheck":[32]}]]],["z-combobox.cjs",[[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"]]]]],["z-header.cjs",[[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"]]]]],["z-footer.cjs",[[1,"z-footer",{"data":[1],"copyrightuser":[1]}]]],["z-cookiebar.cjs",[[1,"z-cookiebar",{"cookiepolicyurl":[1],"hide":[4],"callback":[16]}]]],["z-pagination-bar.cjs",[[1,"z-pagination-bar",{"pages":[2],"visiblepages":[2],"currentpage":[1026],"startpage":[1026],"historyraw":[1],"listhistoryrow":[1040],"currentPages":[32]}]]],["z-panel-elem.cjs",[[1,"z-panel-elem",{"elemid":[1],"imgurl":[1],"imgalt":[1],"linkicon":[1],"linklabel":[1],"url":[1],"target":[1],"isdisabled":[4],"descr_slot_name":[1]}]]],["z-registro-table-cell.cjs",[[6,"z-registro-table-cell",{"showButton":[4,"show-button"],"isMenuOpened":[32]}]]],["z-user-dropdown.cjs",[[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"]]]]],["z-app-switcher.cjs",[[1,"z-app-switcher",{"theme":[1],"isopen":[32]}]]],["z-button-sort.cjs",[[1,"z-button-sort",{"buttonid":[1],"label":[1],"desclabel":[1],"counter":[2],"sortlabelasc":[1],"sortlabeldesc":[1],"isselected":[1028],"sortasc":[1028]}]]],["z-card-alert.cjs",[[1,"z-card-alert",{"iconname":[1],"contenttext":[1],"actiontext":[1],"type":[1]}]]],["z-card-icon.cjs",[[1,"z-card-icon",{"icon":[1],"isdisabled":[4]}]]],["z-heading.cjs",[[1,"z-heading",{"level":[2],"variant":[1],"component":[1]}]]],["z-icon-package.cjs",[[1,"z-icon-package"]]],["z-menu.cjs",[[1,"z-menu",{"active":[516],"floating":[516],"open":[32],"hasHeader":[32],"hasContent":[32]},[[4,"click","handleClick"]]]]],["z-menu-section.cjs",[[1,"z-menu-section",{"active":[516],"open":[32],"hasContent":[32]},[[4,"click","handleClick"]]]]],["z-toggle-button.cjs",[[1,"z-toggle-button",{"label":[1],"isdisabled":[4],"avoidclick":[4],"isOpen":[32]}]]],["z-app-header.cjs",[[1,"z-app-header"]]],["z-app-topbar.cjs",[[1,"z-app-topbar",{"theme":[1],"logged":[4],"hashtag":[1],"zLinksValues":[32],"isMobile":[32]},[[9,"resize","handleResize"],[8,"orientationchange","handleOrientationChange"]]]]],["z-card.cjs",[[1,"z-card",{"faded":[4],"cardtype":[1],"ispressed":[4],"ishighlighted":[4]}]]],["z-card-body.cjs",[[1,"z-card-body"]]],["z-card-cover.cjs",[[1,"z-card-cover",{"img":[1],"titolo":[1],"faded":[4],"defaultimg":[1]}]]],["z-card-footer.cjs",[[1,"z-card-footer",{"titolo":[1],"autori":[1],"isbn":[1],"faded":[4],"cardtype":[1],"isOpen":[32],"allowTooltipAuthors":[32]},[[0,"toggleClick","handleToggle"]]]]],["z-card-header.cjs",[[1,"z-card-header",{"titolo":[1],"faded":[4],"cardtype":[1],"allowTooltip":[32]}]]],["z-card-list.cjs",[[1,"z-card-list",{"listdata":[1]}]]],["z-chip.cjs",[[1,"z-chip",{"regulartext":[1],"boldtext":[2]}]]],["z-divider.cjs",[[2,"z-divider",{"size":[1],"color":[1],"orientation":[1]}]]],["z-registro-table.cjs",[[4,"z-registro-table",{"bordered":[4],"columnSticky":[4,"column-sticky"],"headerSticky":[4,"header-sticky"]}]]],["z-registro-table-body.cjs",[[6,"z-registro-table-body"]]],["z-registro-table-footer.cjs",[[6,"z-registro-table-footer"]]],["z-registro-table-head.cjs",[[6,"z-registro-table-head"]]],["z-registro-table-header.cjs",[[6,"z-registro-table-header"]]],["z-registro-table-row.cjs",[[6,"z-registro-table-row"]]],["z-registro-table-sticky-footer.cjs",[[6,"z-registro-table-sticky-footer"]]],["z-stepper.cjs",[[1,"z-stepper"]]],["z-stepper-item.cjs",[[1,"z-stepper-item",{"index":[2],"href":[1],"pressed":[4],"disabled":[4]}]]],["z-tooltip.cjs",[[1,"z-tooltip",{"content":[1],"type":[1]}]]],["z-candybar.cjs",[[1,"z-candybar"]]],["z-pagination-page.cjs",[[1,"z-pagination-page",{"pageid":[1],"value":[2],"isselected":[4],"isdisabled":[4],"isvisited":[4]}]]],["license-activation_16.cjs",[[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"],"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]}]]],["z-list_2.cjs",[[1,"z-list",{"inputrawdata":[1025],"list":[1040]}],[1,"z-menu-dropdown",{"nomeutente":[1],"menucontent":[1],"buttonid":[1],"ismenuopen":[32]}]]],["z-logo.cjs",[[1,"z-logo",{"width":[2],"height":[2],"imagealt":[1],"link":[1],"targetblank":[4]}]]],["z-footer-link_3.cjs",[[1,"z-footer-section",{"name":[1],"isOpen":[32]}],[1,"z-footer-link",{"href":[1]}],[1,"z-footer-social",{"icon":[1],"href":[1],"description":[1]}]]],["z-list-item.cjs",[[1,"z-list-item",{"text":[1],"link":[1],"linktarget":[1],"icon":[1],"listitemid":[1],"action":[1],"underlined":[4]}]]]], options);
|
|
19
19
|
});
|
|
@@ -1840,7 +1840,7 @@ const LicenseActivation = class {
|
|
|
1840
1840
|
return (index.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")));
|
|
1841
1841
|
}
|
|
1842
1842
|
retrieveTextsObject() {
|
|
1843
|
-
const { inputMessage, inputLabel, inputPlaceholder, buttonLabel, isMobile, additionalDescription, buttonIcon, previewButtonLabel, previewButtonIcon, } = this;
|
|
1843
|
+
const { inputMessage, inputLabel, inputPlaceholder, buttonLabel, isMobile, additionalDescription, buttonIcon, previewButtonLabel, previewButtonIcon, previewButtonSize, } = this;
|
|
1844
1844
|
const { licenseActivationStatus } = this.licenseActivationState;
|
|
1845
1845
|
return {
|
|
1846
1846
|
inputStatus: this.mapInputStatus(licenseActivationStatus),
|
|
@@ -1855,6 +1855,7 @@ const LicenseActivation = class {
|
|
|
1855
1855
|
buttonIcon,
|
|
1856
1856
|
previewButtonLabel,
|
|
1857
1857
|
previewButtonIcon,
|
|
1858
|
+
previewButtonSize,
|
|
1858
1859
|
linkLabel: this.cms["newdashboard.licenseActivation.helperLink"].toUpperCase(),
|
|
1859
1860
|
errorButtonLabel: this.cms["newdashboard.licenseActivation.contactUs.btnLabel"],
|
|
1860
1861
|
errorSectionMessage: this.cms["newdashboard.licenseActivation.contactUs.message"],
|
|
@@ -1874,10 +1875,10 @@ const LicenseActivation = class {
|
|
|
1874
1875
|
return (index.h("z-button", { onClick: () => this.handleMobileButtonClick() }, this.cms["newdashboard.onboarding.licenseActivation.mobileSubmitLabel"]));
|
|
1875
1876
|
}
|
|
1876
1877
|
render() {
|
|
1877
|
-
if (this.isMobile) {
|
|
1878
|
+
if (this.isMobile && this.variant !== "button") {
|
|
1878
1879
|
return (index.h(index.Host, null, this.forceModal
|
|
1879
1880
|
? this.renderLicenseActivationModal()
|
|
1880
|
-
: this.renderMobileButton(),
|
|
1881
|
+
: this.renderMobileButton(), this.variant === "box" &&
|
|
1881
1882
|
this.modalState === "open" &&
|
|
1882
1883
|
this.renderLicenseActivationModal()));
|
|
1883
1884
|
}
|
|
@@ -1920,7 +1921,7 @@ const LicenseActivationBox = class {
|
|
|
1920
1921
|
};
|
|
1921
1922
|
LicenseActivationBox.style = licenseActivationBoxCss;
|
|
1922
1923
|
|
|
1923
|
-
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
|
|
1924
|
+
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=\"button\"]){margin:0;padding:0}:host([variant=\"button\"]) z-button{margin:0;padding:0;width:initial}@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}}";
|
|
1924
1925
|
|
|
1925
1926
|
const LicenseActivationForm = class {
|
|
1926
1927
|
constructor(hostRef) {
|
|
@@ -1970,6 +1971,18 @@ const LicenseActivationForm = class {
|
|
|
1970
1971
|
const { errorButtonLabel, errorSectionMessage } = this.formTexts;
|
|
1971
1972
|
return (index.h("section", { class: "error-section" }, index.h("span", { class: "heading-01" }, errorSectionMessage), index.h("z-button", { variant: index$1.ButtonVariantEnum.secondary, onClick: this.redirectToSupport }, errorButtonLabel)));
|
|
1972
1973
|
}
|
|
1974
|
+
getButtonSize(variant) {
|
|
1975
|
+
const { previewButtonSize } = this.formTexts;
|
|
1976
|
+
if (variant === "button" && previewButtonSize)
|
|
1977
|
+
return previewButtonSize;
|
|
1978
|
+
return "big";
|
|
1979
|
+
}
|
|
1980
|
+
getButtonSquare(variant) {
|
|
1981
|
+
const { previewButtonLabel, previewButtonIcon } = this.formTexts;
|
|
1982
|
+
if (variant === "button" && previewButtonIcon && !previewButtonLabel)
|
|
1983
|
+
return true;
|
|
1984
|
+
return undefined;
|
|
1985
|
+
}
|
|
1973
1986
|
getButtonIcon(variant) {
|
|
1974
1987
|
const { buttonIcon, previewButtonIcon } = this.formTexts;
|
|
1975
1988
|
if (variant === "button" && previewButtonIcon)
|
|
@@ -1986,11 +1999,18 @@ const LicenseActivationForm = class {
|
|
|
1986
1999
|
return buttonLabel;
|
|
1987
2000
|
return "";
|
|
1988
2001
|
}
|
|
2002
|
+
renderButtonValue(variant) {
|
|
2003
|
+
const icon = this.getButtonIcon(variant);
|
|
2004
|
+
const label = this.getButtonLabel(variant);
|
|
2005
|
+
return (index.h("button", { slot: "element" }, icon ? index.h("z-icon", { name: icon }) : null, label));
|
|
2006
|
+
}
|
|
1989
2007
|
render() {
|
|
1990
2008
|
const { error, requestLoading, formTexts, formid, variant } = this;
|
|
1991
2009
|
const { inputMessage, inputLabel, linkLabel, placeholder, inputStatus, additionalDescription, } = formTexts;
|
|
1992
2010
|
const disabled = (variant === "modal" && !this.inputVal) || !!requestLoading;
|
|
1993
|
-
return (index.h(index.Host, { variant: variant }, index.h("div", null, additionalDescription && (index.h("z-body", { level: 3 }, additionalDescription)), variant !== "button" && (index.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) })), index.h("z-button", { variant: index$1.ButtonVariantEnum.primary,
|
|
2011
|
+
return (index.h(index.Host, { variant: variant }, index.h("div", null, additionalDescription && (index.h("z-body", { level: 3 }, additionalDescription)), variant !== "button" && (index.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) })), index.h("z-button", { variant: index$1.ButtonVariantEnum.primary,
|
|
2012
|
+
// icon={this.getButtonIcon(variant)}
|
|
2013
|
+
size: this.getButtonSize(variant), square: this.getButtonSquare(variant), disabled: disabled || !this.enableButton || requestLoading ? true : false, onClick: () => this.handleSubmitButtonClick(this.inputVal) }, this.renderButtonValue(variant))), variant !== "button" && (index.h("z-link", { icon: "question-mark", onClick: () => this.handleInfoClick() }, linkLabel)), index.h("div", null, this.renderInfoBox(), variant === "modal" && error && this.renderErrorSection())));
|
|
1994
2014
|
}
|
|
1995
2015
|
};
|
|
1996
2016
|
LicenseActivationForm.style = licenseActivationFormCss;
|
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy([["z-modal-login.cjs",[[6,"z-modal-login",{"heading":[1],"status":[1025],"message":[1025],"externalProviderCheck":[32]}]]],["z-combobox.cjs",[[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"]]]]],["z-header.cjs",[[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"]]]]],["z-footer.cjs",[[1,"z-footer",{"data":[1],"copyrightuser":[1]}]]],["z-cookiebar.cjs",[[1,"z-cookiebar",{"cookiepolicyurl":[1],"hide":[4],"callback":[16]}]]],["z-pagination-bar.cjs",[[1,"z-pagination-bar",{"pages":[2],"visiblepages":[2],"currentpage":[1026],"startpage":[1026],"historyraw":[1],"listhistoryrow":[1040],"currentPages":[32]}]]],["z-panel-elem.cjs",[[1,"z-panel-elem",{"elemid":[1],"imgurl":[1],"imgalt":[1],"linkicon":[1],"linklabel":[1],"url":[1],"target":[1],"isdisabled":[4],"descr_slot_name":[1]}]]],["z-registro-table-cell.cjs",[[6,"z-registro-table-cell",{"showButton":[4,"show-button"],"isMenuOpened":[32]}]]],["z-user-dropdown.cjs",[[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"]]]]],["z-app-switcher.cjs",[[1,"z-app-switcher",{"theme":[1],"isopen":[32]}]]],["z-button-sort.cjs",[[1,"z-button-sort",{"buttonid":[1],"label":[1],"desclabel":[1],"counter":[2],"sortlabelasc":[1],"sortlabeldesc":[1],"isselected":[1028],"sortasc":[1028]}]]],["z-card-alert.cjs",[[1,"z-card-alert",{"iconname":[1],"contenttext":[1],"actiontext":[1],"type":[1]}]]],["z-card-icon.cjs",[[1,"z-card-icon",{"icon":[1],"isdisabled":[4]}]]],["z-heading.cjs",[[1,"z-heading",{"level":[2],"variant":[1],"component":[1]}]]],["z-icon-package.cjs",[[1,"z-icon-package"]]],["z-menu.cjs",[[1,"z-menu",{"active":[516],"floating":[516],"open":[32],"hasHeader":[32],"hasContent":[32]},[[4,"click","handleClick"]]]]],["z-menu-section.cjs",[[1,"z-menu-section",{"active":[516],"open":[32],"hasContent":[32]},[[4,"click","handleClick"]]]]],["z-toggle-button.cjs",[[1,"z-toggle-button",{"label":[1],"isdisabled":[4],"avoidclick":[4],"isOpen":[32]}]]],["z-app-header.cjs",[[1,"z-app-header"]]],["z-app-topbar.cjs",[[1,"z-app-topbar",{"theme":[1],"logged":[4],"hashtag":[1],"zLinksValues":[32],"isMobile":[32]},[[9,"resize","handleResize"],[8,"orientationchange","handleOrientationChange"]]]]],["z-card.cjs",[[1,"z-card",{"faded":[4],"cardtype":[1],"ispressed":[4],"ishighlighted":[4]}]]],["z-card-body.cjs",[[1,"z-card-body"]]],["z-card-cover.cjs",[[1,"z-card-cover",{"img":[1],"titolo":[1],"faded":[4],"defaultimg":[1]}]]],["z-card-footer.cjs",[[1,"z-card-footer",{"titolo":[1],"autori":[1],"isbn":[1],"faded":[4],"cardtype":[1],"isOpen":[32],"allowTooltipAuthors":[32]},[[0,"toggleClick","handleToggle"]]]]],["z-card-header.cjs",[[1,"z-card-header",{"titolo":[1],"faded":[4],"cardtype":[1],"allowTooltip":[32]}]]],["z-card-list.cjs",[[1,"z-card-list",{"listdata":[1]}]]],["z-chip.cjs",[[1,"z-chip",{"regulartext":[1],"boldtext":[2]}]]],["z-divider.cjs",[[2,"z-divider",{"size":[1],"color":[1],"orientation":[1]}]]],["z-registro-table.cjs",[[4,"z-registro-table",{"bordered":[4],"columnSticky":[4,"column-sticky"],"headerSticky":[4,"header-sticky"]}]]],["z-registro-table-body.cjs",[[6,"z-registro-table-body"]]],["z-registro-table-footer.cjs",[[6,"z-registro-table-footer"]]],["z-registro-table-head.cjs",[[6,"z-registro-table-head"]]],["z-registro-table-header.cjs",[[6,"z-registro-table-header"]]],["z-registro-table-row.cjs",[[6,"z-registro-table-row"]]],["z-registro-table-sticky-footer.cjs",[[6,"z-registro-table-sticky-footer"]]],["z-stepper.cjs",[[1,"z-stepper"]]],["z-stepper-item.cjs",[[1,"z-stepper-item",{"index":[2],"href":[1],"pressed":[4],"disabled":[4]}]]],["z-tooltip.cjs",[[1,"z-tooltip",{"content":[1],"type":[1]}]]],["z-candybar.cjs",[[1,"z-candybar"]]],["z-pagination-page.cjs",[[1,"z-pagination-page",{"pageid":[1],"value":[2],"isselected":[4],"isdisabled":[4],"isvisited":[4]}]]],["license-activation_16.cjs",[[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]}]]],["z-list_2.cjs",[[1,"z-list",{"inputrawdata":[1025],"list":[1040]}],[1,"z-menu-dropdown",{"nomeutente":[1],"menucontent":[1],"buttonid":[1],"ismenuopen":[32]}]]],["z-logo.cjs",[[1,"z-logo",{"width":[2],"height":[2],"imagealt":[1],"link":[1],"targetblank":[4]}]]],["z-footer-link_3.cjs",[[1,"z-footer-section",{"name":[1],"isOpen":[32]}],[1,"z-footer-link",{"href":[1]}],[1,"z-footer-social",{"icon":[1],"href":[1],"description":[1]}]]],["z-list-item.cjs",[[1,"z-list-item",{"text":[1],"link":[1],"linktarget":[1],"icon":[1],"listitemid":[1],"action":[1],"underlined":[4]}]]]], options);
|
|
17
|
+
return index.bootstrapLazy([["z-modal-login.cjs",[[6,"z-modal-login",{"heading":[1],"status":[1025],"message":[1025],"externalProviderCheck":[32]}]]],["z-combobox.cjs",[[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"]]]]],["z-header.cjs",[[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"]]]]],["z-footer.cjs",[[1,"z-footer",{"data":[1],"copyrightuser":[1]}]]],["z-cookiebar.cjs",[[1,"z-cookiebar",{"cookiepolicyurl":[1],"hide":[4],"callback":[16]}]]],["z-pagination-bar.cjs",[[1,"z-pagination-bar",{"pages":[2],"visiblepages":[2],"currentpage":[1026],"startpage":[1026],"historyraw":[1],"listhistoryrow":[1040],"currentPages":[32]}]]],["z-panel-elem.cjs",[[1,"z-panel-elem",{"elemid":[1],"imgurl":[1],"imgalt":[1],"linkicon":[1],"linklabel":[1],"url":[1],"target":[1],"isdisabled":[4],"descr_slot_name":[1]}]]],["z-registro-table-cell.cjs",[[6,"z-registro-table-cell",{"showButton":[4,"show-button"],"isMenuOpened":[32]}]]],["z-user-dropdown.cjs",[[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"]]]]],["z-app-switcher.cjs",[[1,"z-app-switcher",{"theme":[1],"isopen":[32]}]]],["z-button-sort.cjs",[[1,"z-button-sort",{"buttonid":[1],"label":[1],"desclabel":[1],"counter":[2],"sortlabelasc":[1],"sortlabeldesc":[1],"isselected":[1028],"sortasc":[1028]}]]],["z-card-alert.cjs",[[1,"z-card-alert",{"iconname":[1],"contenttext":[1],"actiontext":[1],"type":[1]}]]],["z-card-icon.cjs",[[1,"z-card-icon",{"icon":[1],"isdisabled":[4]}]]],["z-heading.cjs",[[1,"z-heading",{"level":[2],"variant":[1],"component":[1]}]]],["z-icon-package.cjs",[[1,"z-icon-package"]]],["z-menu.cjs",[[1,"z-menu",{"active":[516],"floating":[516],"open":[32],"hasHeader":[32],"hasContent":[32]},[[4,"click","handleClick"]]]]],["z-menu-section.cjs",[[1,"z-menu-section",{"active":[516],"open":[32],"hasContent":[32]},[[4,"click","handleClick"]]]]],["z-toggle-button.cjs",[[1,"z-toggle-button",{"label":[1],"isdisabled":[4],"avoidclick":[4],"isOpen":[32]}]]],["z-app-header.cjs",[[1,"z-app-header"]]],["z-app-topbar.cjs",[[1,"z-app-topbar",{"theme":[1],"logged":[4],"hashtag":[1],"zLinksValues":[32],"isMobile":[32]},[[9,"resize","handleResize"],[8,"orientationchange","handleOrientationChange"]]]]],["z-card.cjs",[[1,"z-card",{"faded":[4],"cardtype":[1],"ispressed":[4],"ishighlighted":[4]}]]],["z-card-body.cjs",[[1,"z-card-body"]]],["z-card-cover.cjs",[[1,"z-card-cover",{"img":[1],"titolo":[1],"faded":[4],"defaultimg":[1]}]]],["z-card-footer.cjs",[[1,"z-card-footer",{"titolo":[1],"autori":[1],"isbn":[1],"faded":[4],"cardtype":[1],"isOpen":[32],"allowTooltipAuthors":[32]},[[0,"toggleClick","handleToggle"]]]]],["z-card-header.cjs",[[1,"z-card-header",{"titolo":[1],"faded":[4],"cardtype":[1],"allowTooltip":[32]}]]],["z-card-list.cjs",[[1,"z-card-list",{"listdata":[1]}]]],["z-chip.cjs",[[1,"z-chip",{"regulartext":[1],"boldtext":[2]}]]],["z-divider.cjs",[[2,"z-divider",{"size":[1],"color":[1],"orientation":[1]}]]],["z-registro-table.cjs",[[4,"z-registro-table",{"bordered":[4],"columnSticky":[4,"column-sticky"],"headerSticky":[4,"header-sticky"]}]]],["z-registro-table-body.cjs",[[6,"z-registro-table-body"]]],["z-registro-table-footer.cjs",[[6,"z-registro-table-footer"]]],["z-registro-table-head.cjs",[[6,"z-registro-table-head"]]],["z-registro-table-header.cjs",[[6,"z-registro-table-header"]]],["z-registro-table-row.cjs",[[6,"z-registro-table-row"]]],["z-registro-table-sticky-footer.cjs",[[6,"z-registro-table-sticky-footer"]]],["z-stepper.cjs",[[1,"z-stepper"]]],["z-stepper-item.cjs",[[1,"z-stepper-item",{"index":[2],"href":[1],"pressed":[4],"disabled":[4]}]]],["z-tooltip.cjs",[[1,"z-tooltip",{"content":[1],"type":[1]}]]],["z-candybar.cjs",[[1,"z-candybar"]]],["z-pagination-page.cjs",[[1,"z-pagination-page",{"pageid":[1],"value":[2],"isselected":[4],"isdisabled":[4],"isvisited":[4]}]]],["license-activation_16.cjs",[[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"],"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]}]]],["z-list_2.cjs",[[1,"z-list",{"inputrawdata":[1025],"list":[1040]}],[1,"z-menu-dropdown",{"nomeutente":[1],"menucontent":[1],"buttonid":[1],"ismenuopen":[32]}]]],["z-logo.cjs",[[1,"z-logo",{"width":[2],"height":[2],"imagealt":[1],"link":[1],"targetblank":[4]}]]],["z-footer-link_3.cjs",[[1,"z-footer-section",{"name":[1],"isOpen":[32]}],[1,"z-footer-link",{"href":[1]}],[1,"z-footer-social",{"icon":[1],"href":[1],"description":[1]}]]],["z-list-item.cjs",[[1,"z-list-item",{"text":[1],"link":[1],"linktarget":[1],"icon":[1],"listitemid":[1],"action":[1],"underlined":[4]}]]]], options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -123,7 +123,7 @@ export class LicenseActivation {
|
|
|
123
123
|
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")));
|
|
124
124
|
}
|
|
125
125
|
retrieveTextsObject() {
|
|
126
|
-
const { inputMessage, inputLabel, inputPlaceholder, buttonLabel, isMobile, additionalDescription, buttonIcon, previewButtonLabel, previewButtonIcon, } = this;
|
|
126
|
+
const { inputMessage, inputLabel, inputPlaceholder, buttonLabel, isMobile, additionalDescription, buttonIcon, previewButtonLabel, previewButtonIcon, previewButtonSize, } = this;
|
|
127
127
|
const { licenseActivationStatus } = this.licenseActivationState;
|
|
128
128
|
return {
|
|
129
129
|
inputStatus: this.mapInputStatus(licenseActivationStatus),
|
|
@@ -138,6 +138,7 @@ export class LicenseActivation {
|
|
|
138
138
|
buttonIcon,
|
|
139
139
|
previewButtonLabel,
|
|
140
140
|
previewButtonIcon,
|
|
141
|
+
previewButtonSize,
|
|
141
142
|
linkLabel: this.cms["newdashboard.licenseActivation.helperLink"].toUpperCase(),
|
|
142
143
|
errorButtonLabel: this.cms["newdashboard.licenseActivation.contactUs.btnLabel"],
|
|
143
144
|
errorSectionMessage: this.cms["newdashboard.licenseActivation.contactUs.message"],
|
|
@@ -157,12 +158,12 @@ export class LicenseActivation {
|
|
|
157
158
|
return (h("z-button", { onClick: () => this.handleMobileButtonClick() }, this.cms["newdashboard.onboarding.licenseActivation.mobileSubmitLabel"]));
|
|
158
159
|
}
|
|
159
160
|
render() {
|
|
160
|
-
if (this.isMobile) {
|
|
161
|
+
if (this.isMobile && this.variant !== "button") {
|
|
161
162
|
return (h(Host, null,
|
|
162
163
|
this.forceModal
|
|
163
164
|
? this.renderLicenseActivationModal()
|
|
164
165
|
: this.renderMobileButton(),
|
|
165
|
-
|
|
166
|
+
this.variant === "box" &&
|
|
166
167
|
this.modalState === "open" &&
|
|
167
168
|
this.renderLicenseActivationModal()));
|
|
168
169
|
}
|
|
@@ -371,6 +372,23 @@ export class LicenseActivation {
|
|
|
371
372
|
"attribute": "preview-button-icon",
|
|
372
373
|
"reflect": false
|
|
373
374
|
},
|
|
375
|
+
"previewButtonSize": {
|
|
376
|
+
"type": "string",
|
|
377
|
+
"mutable": false,
|
|
378
|
+
"complexType": {
|
|
379
|
+
"original": "string",
|
|
380
|
+
"resolved": "string",
|
|
381
|
+
"references": {}
|
|
382
|
+
},
|
|
383
|
+
"required": false,
|
|
384
|
+
"optional": true,
|
|
385
|
+
"docs": {
|
|
386
|
+
"tags": [],
|
|
387
|
+
"text": "preview-button-size: custom preview button size [optional]"
|
|
388
|
+
},
|
|
389
|
+
"attribute": "preview-button-size",
|
|
390
|
+
"reflect": false
|
|
391
|
+
},
|
|
374
392
|
"enableButton": {
|
|
375
393
|
"type": "boolean",
|
|
376
394
|
"mutable": false,
|
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
display: flex;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
:host([variant=
|
|
27
|
+
:host([variant="modal"]) .error-section {
|
|
28
28
|
display: flex;
|
|
29
29
|
flex-direction: column;
|
|
30
30
|
border-top: var(--border-size-small) solid var(--bg-grey-200);
|
|
31
31
|
margin-top: calc(var(--space-unit) * 3);
|
|
32
32
|
padding-top: calc(var(--space-unit) * 2);
|
|
33
33
|
}
|
|
34
|
-
:host([variant=
|
|
34
|
+
:host([variant="modal"]) .error-section > span {
|
|
35
35
|
padding: var(--basex2) 0;
|
|
36
36
|
display: block;
|
|
37
37
|
color: var(--text-grey-800);
|
|
@@ -42,48 +42,57 @@
|
|
|
42
42
|
line-height: 20px;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
+
:host([variant="button"]) {
|
|
46
|
+
margin: 0;
|
|
47
|
+
padding: 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
:host([variant="button"]) z-button {
|
|
51
|
+
margin: 0;
|
|
52
|
+
padding: 0;
|
|
53
|
+
width: initial;
|
|
54
|
+
}
|
|
55
|
+
|
|
45
56
|
/* Tablet breakpoint */
|
|
46
57
|
@media only screen and (min-width: 768px) {
|
|
47
|
-
|
|
48
58
|
:host {
|
|
49
59
|
padding: 0;
|
|
50
60
|
}
|
|
51
61
|
|
|
52
|
-
:host([variant=
|
|
62
|
+
:host([variant="modal"]) {
|
|
53
63
|
padding: 32px;
|
|
54
64
|
width: 396px;
|
|
55
|
-
}
|
|
65
|
+
}
|
|
56
66
|
|
|
57
67
|
:host > div {
|
|
58
68
|
display: flex;
|
|
59
69
|
flex-direction: row;
|
|
60
70
|
}
|
|
61
71
|
|
|
62
|
-
:host([variant=
|
|
63
|
-
flex-direction: column
|
|
64
|
-
}
|
|
72
|
+
:host([variant="modal"]) > div {
|
|
73
|
+
flex-direction: column;
|
|
74
|
+
}
|
|
65
75
|
|
|
66
76
|
:host > div > z-button {
|
|
67
77
|
padding: 32px 0 calc(var(--space-unit) * 2) calc(var(--space-unit) * 2);
|
|
68
78
|
width: auto;
|
|
69
79
|
}
|
|
70
80
|
|
|
71
|
-
:host([variant=
|
|
81
|
+
:host([variant="modal"]) > div > z-button {
|
|
72
82
|
padding: 32px 0 calc(var(--space-unit) * 2);
|
|
73
83
|
width: max-content;
|
|
74
|
-
}
|
|
84
|
+
}
|
|
75
85
|
|
|
76
|
-
:host([variant=
|
|
86
|
+
:host([variant="modal"]) .error-section > z-button {
|
|
77
87
|
width: max-content;
|
|
78
88
|
}
|
|
79
89
|
}
|
|
80
90
|
|
|
81
91
|
/* Desktop breakpoint */
|
|
82
92
|
@media only screen and (min-width: 1152px) {
|
|
83
|
-
|
|
84
|
-
:host([variant='modal']) {
|
|
93
|
+
:host([variant="modal"]) {
|
|
85
94
|
width: 477px;
|
|
86
|
-
}
|
|
95
|
+
}
|
|
87
96
|
|
|
88
97
|
:host > div {
|
|
89
98
|
flex-direction: row;
|
|
@@ -52,6 +52,18 @@ export class LicenseActivationForm {
|
|
|
52
52
|
h("span", { class: "heading-01" }, errorSectionMessage),
|
|
53
53
|
h("z-button", { variant: ButtonVariantEnum.secondary, onClick: this.redirectToSupport }, errorButtonLabel)));
|
|
54
54
|
}
|
|
55
|
+
getButtonSize(variant) {
|
|
56
|
+
const { previewButtonSize } = this.formTexts;
|
|
57
|
+
if (variant === "button" && previewButtonSize)
|
|
58
|
+
return previewButtonSize;
|
|
59
|
+
return "big";
|
|
60
|
+
}
|
|
61
|
+
getButtonSquare(variant) {
|
|
62
|
+
const { previewButtonLabel, previewButtonIcon } = this.formTexts;
|
|
63
|
+
if (variant === "button" && previewButtonIcon && !previewButtonLabel)
|
|
64
|
+
return true;
|
|
65
|
+
return undefined;
|
|
66
|
+
}
|
|
55
67
|
getButtonIcon(variant) {
|
|
56
68
|
const { buttonIcon, previewButtonIcon } = this.formTexts;
|
|
57
69
|
if (variant === "button" && previewButtonIcon)
|
|
@@ -68,6 +80,13 @@ export class LicenseActivationForm {
|
|
|
68
80
|
return buttonLabel;
|
|
69
81
|
return "";
|
|
70
82
|
}
|
|
83
|
+
renderButtonValue(variant) {
|
|
84
|
+
const icon = this.getButtonIcon(variant);
|
|
85
|
+
const label = this.getButtonLabel(variant);
|
|
86
|
+
return (h("button", { slot: "element" },
|
|
87
|
+
icon ? h("z-icon", { name: icon }) : null,
|
|
88
|
+
label));
|
|
89
|
+
}
|
|
71
90
|
render() {
|
|
72
91
|
const { error, requestLoading, formTexts, formid, variant } = this;
|
|
73
92
|
const { inputMessage, inputLabel, linkLabel, placeholder, inputStatus, additionalDescription, } = formTexts;
|
|
@@ -76,7 +95,9 @@ export class LicenseActivationForm {
|
|
|
76
95
|
h("div", null,
|
|
77
96
|
additionalDescription && (h("z-body", { level: 3 }, additionalDescription)),
|
|
78
97
|
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,
|
|
98
|
+
h("z-button", { variant: ButtonVariantEnum.primary,
|
|
99
|
+
// icon={this.getButtonIcon(variant)}
|
|
100
|
+
size: this.getButtonSize(variant), square: this.getButtonSquare(variant), disabled: disabled || !this.enableButton || requestLoading ? true : false, onClick: () => this.handleSubmitButtonClick(this.inputVal) }, this.renderButtonValue(variant))),
|
|
80
101
|
variant !== "button" && (h("z-link", { icon: "question-mark", onClick: () => this.handleInfoClick() }, linkLabel)),
|
|
81
102
|
h("div", null,
|
|
82
103
|
this.renderInfoBox(),
|
|
@@ -130,7 +151,7 @@ export class LicenseActivationForm {
|
|
|
130
151
|
"mutable": false,
|
|
131
152
|
"complexType": {
|
|
132
153
|
"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; }",
|
|
154
|
+
"resolved": "{ inputStatus: \"success\" | \"error\" | \"warning\" | \"selecting\"; inputMessage: string; placeholder: string; inputLabel: string; buttonLabel: string; buttonIcon: string; previewButtonLabel: string; previewButtonIcon: string; previewButtonSize: string; linkLabel: string; errorButtonLabel: string; errorSectionMessage: string; infoBoxIcon: string; infoBoxContent: string; supportLink: string; additionalDescription: string; }",
|
|
134
155
|
"references": {
|
|
135
156
|
"LicenseActivationFormTexts": {
|
|
136
157
|
"location": "import",
|
|
@@ -1849,7 +1849,7 @@ const LicenseActivation$1 = class extends HTMLElement {
|
|
|
1849
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")));
|
|
1850
1850
|
}
|
|
1851
1851
|
retrieveTextsObject() {
|
|
1852
|
-
const { inputMessage, inputLabel, inputPlaceholder, buttonLabel, isMobile, additionalDescription, buttonIcon, previewButtonLabel, previewButtonIcon, } = this;
|
|
1852
|
+
const { inputMessage, inputLabel, inputPlaceholder, buttonLabel, isMobile, additionalDescription, buttonIcon, previewButtonLabel, previewButtonIcon, previewButtonSize, } = this;
|
|
1853
1853
|
const { licenseActivationStatus } = this.licenseActivationState;
|
|
1854
1854
|
return {
|
|
1855
1855
|
inputStatus: this.mapInputStatus(licenseActivationStatus),
|
|
@@ -1864,6 +1864,7 @@ const LicenseActivation$1 = class extends HTMLElement {
|
|
|
1864
1864
|
buttonIcon,
|
|
1865
1865
|
previewButtonLabel,
|
|
1866
1866
|
previewButtonIcon,
|
|
1867
|
+
previewButtonSize,
|
|
1867
1868
|
linkLabel: this.cms["newdashboard.licenseActivation.helperLink"].toUpperCase(),
|
|
1868
1869
|
errorButtonLabel: this.cms["newdashboard.licenseActivation.contactUs.btnLabel"],
|
|
1869
1870
|
errorSectionMessage: this.cms["newdashboard.licenseActivation.contactUs.message"],
|
|
@@ -1883,10 +1884,10 @@ const LicenseActivation$1 = class extends HTMLElement {
|
|
|
1883
1884
|
return (h("z-button", { onClick: () => this.handleMobileButtonClick() }, this.cms["newdashboard.onboarding.licenseActivation.mobileSubmitLabel"]));
|
|
1884
1885
|
}
|
|
1885
1886
|
render() {
|
|
1886
|
-
if (this.isMobile) {
|
|
1887
|
+
if (this.isMobile && this.variant !== "button") {
|
|
1887
1888
|
return (h(Host, null, this.forceModal
|
|
1888
1889
|
? this.renderLicenseActivationModal()
|
|
1889
|
-
: this.renderMobileButton(),
|
|
1890
|
+
: this.renderMobileButton(), this.variant === "box" &&
|
|
1890
1891
|
this.modalState === "open" &&
|
|
1891
1892
|
this.renderLicenseActivationModal()));
|
|
1892
1893
|
}
|
|
@@ -2010,7 +2011,7 @@ var DividerOrientation;
|
|
|
2010
2011
|
DividerOrientation["vertical"] = "vertical";
|
|
2011
2012
|
})(DividerOrientation || (DividerOrientation = {}));
|
|
2012
2013
|
|
|
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
|
|
2014
|
+
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=\"button\"]){margin:0;padding:0}:host([variant=\"button\"]) z-button{margin:0;padding:0;width:initial}@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}}";
|
|
2014
2015
|
|
|
2015
2016
|
const LicenseActivationForm$1 = class extends HTMLElement {
|
|
2016
2017
|
constructor() {
|
|
@@ -2062,6 +2063,18 @@ const LicenseActivationForm$1 = class extends HTMLElement {
|
|
|
2062
2063
|
const { errorButtonLabel, errorSectionMessage } = this.formTexts;
|
|
2063
2064
|
return (h("section", { class: "error-section" }, h("span", { class: "heading-01" }, errorSectionMessage), h("z-button", { variant: ButtonVariantEnum.secondary, onClick: this.redirectToSupport }, errorButtonLabel)));
|
|
2064
2065
|
}
|
|
2066
|
+
getButtonSize(variant) {
|
|
2067
|
+
const { previewButtonSize } = this.formTexts;
|
|
2068
|
+
if (variant === "button" && previewButtonSize)
|
|
2069
|
+
return previewButtonSize;
|
|
2070
|
+
return "big";
|
|
2071
|
+
}
|
|
2072
|
+
getButtonSquare(variant) {
|
|
2073
|
+
const { previewButtonLabel, previewButtonIcon } = this.formTexts;
|
|
2074
|
+
if (variant === "button" && previewButtonIcon && !previewButtonLabel)
|
|
2075
|
+
return true;
|
|
2076
|
+
return undefined;
|
|
2077
|
+
}
|
|
2065
2078
|
getButtonIcon(variant) {
|
|
2066
2079
|
const { buttonIcon, previewButtonIcon } = this.formTexts;
|
|
2067
2080
|
if (variant === "button" && previewButtonIcon)
|
|
@@ -2078,11 +2091,18 @@ const LicenseActivationForm$1 = class extends HTMLElement {
|
|
|
2078
2091
|
return buttonLabel;
|
|
2079
2092
|
return "";
|
|
2080
2093
|
}
|
|
2094
|
+
renderButtonValue(variant) {
|
|
2095
|
+
const icon = this.getButtonIcon(variant);
|
|
2096
|
+
const label = this.getButtonLabel(variant);
|
|
2097
|
+
return (h("button", { slot: "element" }, icon ? h("z-icon", { name: icon }) : null, label));
|
|
2098
|
+
}
|
|
2081
2099
|
render() {
|
|
2082
2100
|
const { error, requestLoading, formTexts, formid, variant } = this;
|
|
2083
2101
|
const { inputMessage, inputLabel, linkLabel, placeholder, inputStatus, additionalDescription, } = formTexts;
|
|
2084
2102
|
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,
|
|
2103
|
+
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,
|
|
2104
|
+
// icon={this.getButtonIcon(variant)}
|
|
2105
|
+
size: this.getButtonSize(variant), square: this.getButtonSquare(variant), disabled: disabled || !this.enableButton || requestLoading ? true : false, onClick: () => this.handleSubmitButtonClick(this.inputVal) }, this.renderButtonValue(variant))), variant !== "button" && (h("z-link", { icon: "question-mark", onClick: () => this.handleInfoClick() }, linkLabel)), h("div", null, this.renderInfoBox(), variant === "modal" && error && this.renderErrorSection())));
|
|
2086
2106
|
}
|
|
2087
2107
|
static get style() { return licenseActivationFormCss; }
|
|
2088
2108
|
};
|
|
@@ -7798,7 +7818,7 @@ const ZUserDropdown$1 = class extends HTMLElement {
|
|
|
7798
7818
|
static get style() { return stylesCss; }
|
|
7799
7819
|
};
|
|
7800
7820
|
|
|
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"]]]);
|
|
7821
|
+
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"],"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
7822
|
const LicenseActivationBox = /*@__PURE__*/proxyCustomElement(LicenseActivationBox$1, [6,"license-activation-box",{"error":[16],"code":[1]}]);
|
|
7803
7823
|
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
7824
|
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-
|
|
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-91e72bb9",[[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"],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)));
|