@zanichelli/delta_share 1.0.8 → 2.0.0
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 +92 -51
- package/dist/wc/cjs/loader.cjs.js +1 -1
- package/dist/wc/collection/components/license-activation/license-activation.js +128 -52
- package/dist/wc/collection/components/license-activation-form/license-activation-form.js +34 -18
- package/dist/wc/custom-elements/index.js +94 -53
- package/dist/wc/delta_share/delta_share.esm.js +1 -1
- package/dist/wc/delta_share/p-067677ff.entry.js +3 -0
- package/dist/wc/esm/delta_share.js +1 -1
- package/dist/wc/esm/license-activation_16.entry.js +92 -51
- package/dist/wc/esm/loader.js +1 -1
- package/dist/wc/types/beans/index.d.ts +3 -0
- package/dist/wc/types/components/license-activation/license-activation.d.ts +12 -6
- package/dist/wc/types/components/license-activation-form/license-activation-form.d.ts +6 -4
- package/dist/wc/types/components.d.ts +28 -4
- package/package.json +1 -1
- package/dist/wc/delta_share/p-7d2ecacd.entry.js +0 -3
|
@@ -13,5 +13,5 @@ const patchBrowser = () => {
|
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
patchBrowser().then(options => {
|
|
16
|
-
return bootstrapLazy([["z-modal-login",[[6,"z-modal-login",{"heading":[1],"status":[1025],"message":[1025],"externalProviderCheck":[32]}]]],["z-combobox",[[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",[[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",[[1,"z-footer",{"data":[1],"copyrightuser":[1]}]]],["z-cookiebar",[[1,"z-cookiebar",{"cookiepolicyurl":[1],"hide":[4],"callback":[16]}]]],["z-pagination-bar",[[1,"z-pagination-bar",{"pages":[2],"visiblepages":[2],"currentpage":[1026],"startpage":[1026],"historyraw":[1],"listhistoryrow":[1040],"currentPages":[32]}]]],["z-panel-elem",[[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",[[6,"z-registro-table-cell",{"showButton":[4,"show-button"],"isMenuOpened":[32]}]]],["z-user-dropdown",[[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",[[1,"z-app-switcher",{"theme":[1],"isopen":[32]}]]],["z-button-sort",[[1,"z-button-sort",{"buttonid":[1],"label":[1],"desclabel":[1],"counter":[2],"sortlabelasc":[1],"sortlabeldesc":[1],"isselected":[1028],"sortasc":[1028]}]]],["z-card-alert",[[1,"z-card-alert",{"iconname":[1],"contenttext":[1],"actiontext":[1],"type":[1]}]]],["z-card-icon",[[1,"z-card-icon",{"icon":[1],"isdisabled":[4]}]]],["z-heading",[[1,"z-heading",{"level":[2],"variant":[1],"component":[1]}]]],["z-icon-package",[[1,"z-icon-package"]]],["z-menu",[[1,"z-menu",{"active":[516],"floating":[516],"open":[32],"hasHeader":[32],"hasContent":[32]},[[4,"click","handleClick"]]]]],["z-menu-section",[[1,"z-menu-section",{"active":[516],"open":[32],"hasContent":[32]},[[4,"click","handleClick"]]]]],["z-toggle-button",[[1,"z-toggle-button",{"label":[1],"isdisabled":[4],"avoidclick":[4],"isOpen":[32]}]]],["z-app-header",[[1,"z-app-header"]]],["z-app-topbar",[[1,"z-app-topbar",{"theme":[1],"logged":[4],"hashtag":[1],"zLinksValues":[32],"isMobile":[32]},[[9,"resize","handleResize"],[8,"orientationchange","handleOrientationChange"]]]]],["z-card",[[1,"z-card",{"faded":[4],"cardtype":[1],"ispressed":[4],"ishighlighted":[4]}]]],["z-card-body",[[1,"z-card-body"]]],["z-card-cover",[[1,"z-card-cover",{"img":[1],"titolo":[1],"faded":[4],"defaultimg":[1]}]]],["z-card-footer",[[1,"z-card-footer",{"titolo":[1],"autori":[1],"isbn":[1],"faded":[4],"cardtype":[1],"isOpen":[32],"allowTooltipAuthors":[32]},[[0,"toggleClick","handleToggle"]]]]],["z-card-header",[[1,"z-card-header",{"titolo":[1],"faded":[4],"cardtype":[1],"allowTooltip":[32]}]]],["z-card-list",[[1,"z-card-list",{"listdata":[1]}]]],["z-chip",[[1,"z-chip",{"regulartext":[1],"boldtext":[2]}]]],["z-divider",[[2,"z-divider",{"size":[1],"color":[1],"orientation":[1]}]]],["z-registro-table",[[4,"z-registro-table",{"bordered":[4],"columnSticky":[4,"column-sticky"],"headerSticky":[4,"header-sticky"]}]]],["z-registro-table-body",[[6,"z-registro-table-body"]]],["z-registro-table-footer",[[6,"z-registro-table-footer"]]],["z-registro-table-head",[[6,"z-registro-table-head"]]],["z-registro-table-header",[[6,"z-registro-table-header"]]],["z-registro-table-row",[[6,"z-registro-table-row"]]],["z-registro-table-sticky-footer",[[6,"z-registro-table-sticky-footer"]]],["z-stepper",[[1,"z-stepper"]]],["z-stepper-item",[[1,"z-stepper-item",{"index":[2],"href":[1],"pressed":[4],"disabled":[4]}]]],["z-tooltip",[[1,"z-tooltip",{"content":[1],"type":[1]}]]],["z-candybar",[[1,"z-candybar"]]],["z-pagination-page",[[1,"z-pagination-page",{"pageid":[1],"value":[2],"isselected":[4],"isdisabled":[4],"isvisited":[4]}]]],["license-activation_16",[[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"],"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",[[1,"z-list",{"inputrawdata":[1025],"list":[1040]}],[1,"z-menu-dropdown",{"nomeutente":[1],"menucontent":[1],"buttonid":[1],"ismenuopen":[32]}]]],["z-logo",[[1,"z-logo",{"width":[2],"height":[2],"imagealt":[1],"link":[1],"targetblank":[4]}]]],["z-footer-link_3",[[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",[[1,"z-list-item",{"text":[1],"link":[1],"linktarget":[1],"icon":[1],"listitemid":[1],"action":[1],"underlined":[4]}]]]], options);
|
|
16
|
+
return bootstrapLazy([["z-modal-login",[[6,"z-modal-login",{"heading":[1],"status":[1025],"message":[1025],"externalProviderCheck":[32]}]]],["z-combobox",[[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",[[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",[[1,"z-footer",{"data":[1],"copyrightuser":[1]}]]],["z-cookiebar",[[1,"z-cookiebar",{"cookiepolicyurl":[1],"hide":[4],"callback":[16]}]]],["z-pagination-bar",[[1,"z-pagination-bar",{"pages":[2],"visiblepages":[2],"currentpage":[1026],"startpage":[1026],"historyraw":[1],"listhistoryrow":[1040],"currentPages":[32]}]]],["z-panel-elem",[[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",[[6,"z-registro-table-cell",{"showButton":[4,"show-button"],"isMenuOpened":[32]}]]],["z-user-dropdown",[[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",[[1,"z-app-switcher",{"theme":[1],"isopen":[32]}]]],["z-button-sort",[[1,"z-button-sort",{"buttonid":[1],"label":[1],"desclabel":[1],"counter":[2],"sortlabelasc":[1],"sortlabeldesc":[1],"isselected":[1028],"sortasc":[1028]}]]],["z-card-alert",[[1,"z-card-alert",{"iconname":[1],"contenttext":[1],"actiontext":[1],"type":[1]}]]],["z-card-icon",[[1,"z-card-icon",{"icon":[1],"isdisabled":[4]}]]],["z-heading",[[1,"z-heading",{"level":[2],"variant":[1],"component":[1]}]]],["z-icon-package",[[1,"z-icon-package"]]],["z-menu",[[1,"z-menu",{"active":[516],"floating":[516],"open":[32],"hasHeader":[32],"hasContent":[32]},[[4,"click","handleClick"]]]]],["z-menu-section",[[1,"z-menu-section",{"active":[516],"open":[32],"hasContent":[32]},[[4,"click","handleClick"]]]]],["z-toggle-button",[[1,"z-toggle-button",{"label":[1],"isdisabled":[4],"avoidclick":[4],"isOpen":[32]}]]],["z-app-header",[[1,"z-app-header"]]],["z-app-topbar",[[1,"z-app-topbar",{"theme":[1],"logged":[4],"hashtag":[1],"zLinksValues":[32],"isMobile":[32]},[[9,"resize","handleResize"],[8,"orientationchange","handleOrientationChange"]]]]],["z-card",[[1,"z-card",{"faded":[4],"cardtype":[1],"ispressed":[4],"ishighlighted":[4]}]]],["z-card-body",[[1,"z-card-body"]]],["z-card-cover",[[1,"z-card-cover",{"img":[1],"titolo":[1],"faded":[4],"defaultimg":[1]}]]],["z-card-footer",[[1,"z-card-footer",{"titolo":[1],"autori":[1],"isbn":[1],"faded":[4],"cardtype":[1],"isOpen":[32],"allowTooltipAuthors":[32]},[[0,"toggleClick","handleToggle"]]]]],["z-card-header",[[1,"z-card-header",{"titolo":[1],"faded":[4],"cardtype":[1],"allowTooltip":[32]}]]],["z-card-list",[[1,"z-card-list",{"listdata":[1]}]]],["z-chip",[[1,"z-chip",{"regulartext":[1],"boldtext":[2]}]]],["z-divider",[[2,"z-divider",{"size":[1],"color":[1],"orientation":[1]}]]],["z-registro-table",[[4,"z-registro-table",{"bordered":[4],"columnSticky":[4,"column-sticky"],"headerSticky":[4,"header-sticky"]}]]],["z-registro-table-body",[[6,"z-registro-table-body"]]],["z-registro-table-footer",[[6,"z-registro-table-footer"]]],["z-registro-table-head",[[6,"z-registro-table-head"]]],["z-registro-table-header",[[6,"z-registro-table-header"]]],["z-registro-table-row",[[6,"z-registro-table-row"]]],["z-registro-table-sticky-footer",[[6,"z-registro-table-sticky-footer"]]],["z-stepper",[[1,"z-stepper"]]],["z-stepper-item",[[1,"z-stepper-item",{"index":[2],"href":[1],"pressed":[4],"disabled":[4]}]]],["z-tooltip",[[1,"z-tooltip",{"content":[1],"type":[1]}]]],["z-candybar",[[1,"z-candybar"]]],["z-pagination-page",[[1,"z-pagination-page",{"pageid":[1],"value":[2],"isselected":[4],"isdisabled":[4],"isvisited":[4]}]]],["license-activation_16",[[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",[[1,"z-list",{"inputrawdata":[1025],"list":[1040]}],[1,"z-menu-dropdown",{"nomeutente":[1],"menucontent":[1],"buttonid":[1],"ismenuopen":[32]}]]],["z-logo",[[1,"z-logo",{"width":[2],"height":[2],"imagealt":[1],"link":[1],"targetblank":[4]}]]],["z-footer-link_3",[[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",[[1,"z-list-item",{"text":[1],"link":[1],"linktarget":[1],"icon":[1],"listitemid":[1],"action":[1],"underlined":[4]}]]]], options);
|
|
17
17
|
});
|
|
@@ -1720,15 +1720,17 @@ const LicenseActivation = class {
|
|
|
1720
1720
|
this.licenseModalState = createEvent(this, "licenseModalState", 7);
|
|
1721
1721
|
this.licenseStatusChange = createEvent(this, "licenseStatusChange", 7);
|
|
1722
1722
|
/** env: values: "local" | "devmy" | "testmy" | "demomy" | "prod" */
|
|
1723
|
-
this.env =
|
|
1723
|
+
this.env = "prod";
|
|
1724
1724
|
this.initialShowInfoBox = false;
|
|
1725
1725
|
this.licenseActivationState = licenseInitialState;
|
|
1726
1726
|
}
|
|
1727
1727
|
async componentWillLoad() {
|
|
1728
1728
|
await getCms(state);
|
|
1729
1729
|
this.cms = state.cms;
|
|
1730
|
-
this.modalState = this.variant ===
|
|
1731
|
-
this.isMobile =
|
|
1730
|
+
this.modalState = this.variant === "modal" ? "open" : "closed";
|
|
1731
|
+
this.isMobile =
|
|
1732
|
+
window.screen.width <= mobileBreakpoint ||
|
|
1733
|
+
window.innerWidth <= mobileBreakpoint;
|
|
1732
1734
|
this.enableFormSubmitButton = this.enableButton;
|
|
1733
1735
|
this.environment = new Env(this.env).buildEnvironment();
|
|
1734
1736
|
}
|
|
@@ -1740,22 +1742,22 @@ const LicenseActivation = class {
|
|
|
1740
1742
|
}
|
|
1741
1743
|
handleLicenseModalClose() {
|
|
1742
1744
|
this.modalState = "closed";
|
|
1743
|
-
this.licenseModalState.emit({ value:
|
|
1745
|
+
this.licenseModalState.emit({ value: "closed" });
|
|
1744
1746
|
this.resetStore();
|
|
1745
1747
|
}
|
|
1746
1748
|
handleLicenseModalOpen(initialShowInfoBox) {
|
|
1747
1749
|
this.initialShowInfoBox = initialShowInfoBox;
|
|
1748
1750
|
this.submitClicked = true;
|
|
1749
|
-
this.modalState =
|
|
1750
|
-
this.licenseModalState.emit({ value:
|
|
1751
|
+
this.modalState = "open";
|
|
1752
|
+
this.licenseModalState.emit({ value: "open" });
|
|
1751
1753
|
}
|
|
1752
1754
|
emitStatusChange() {
|
|
1753
|
-
const { licenseActivationState: { licenseActivationStatus, licenseActivationApiData, } } = this;
|
|
1755
|
+
const { licenseActivationState: { licenseActivationStatus, licenseActivationApiData, }, } = this;
|
|
1754
1756
|
this.licenseStatusChange.emit({
|
|
1755
1757
|
status: licenseActivationStatus,
|
|
1756
|
-
data: licenseActivationApiData
|
|
1758
|
+
data: licenseActivationApiData,
|
|
1757
1759
|
});
|
|
1758
|
-
if (this.licenseActivationState.licenseActivationStatus ===
|
|
1760
|
+
if (this.licenseActivationState.licenseActivationStatus === "success") {
|
|
1759
1761
|
this.resetStore();
|
|
1760
1762
|
}
|
|
1761
1763
|
}
|
|
@@ -1771,93 +1773,116 @@ const LicenseActivation = class {
|
|
|
1771
1773
|
async activateLicense() {
|
|
1772
1774
|
var _a;
|
|
1773
1775
|
const myzToken = this.environment.MYZ_TOKEN_KEY;
|
|
1774
|
-
const MYZ_TOKEN = (_a = this.environment.MYZ_TOKEN_KEY) === null || _a === void 0 ? void 0 : _a.replace(/-/g,
|
|
1776
|
+
const MYZ_TOKEN = (_a = this.environment.MYZ_TOKEN_KEY) === null || _a === void 0 ? void 0 : _a.replace(/-/g, "_");
|
|
1775
1777
|
const url = `${this.environment.API_V3_URL}/dashboard/code`;
|
|
1776
1778
|
this.licenseActivationState = Object.assign(Object.assign({}, this.licenseActivationState), { licenseActivationApiLoading: true });
|
|
1777
1779
|
const headers = {
|
|
1778
|
-
[myzToken]: getCookie(MYZ_TOKEN)
|
|
1780
|
+
[myzToken]: getCookie(MYZ_TOKEN),
|
|
1779
1781
|
};
|
|
1780
|
-
const sampleCodeError = state.cms[
|
|
1782
|
+
const sampleCodeError = state.cms["newdashboard.licenseActivation.error.sampleCodeMessage"];
|
|
1781
1783
|
// INFO: controllo che il codice inserito non sia quello di esempio
|
|
1782
1784
|
if (this.licenseActivationState.licenseActivationCode === sampleCode) {
|
|
1783
|
-
this.licenseActivationState = Object.assign(Object.assign({}, this.licenseActivationState), { licenseActivationMessage: sampleCodeError, licenseActivationStatus:
|
|
1785
|
+
this.licenseActivationState = Object.assign(Object.assign({}, this.licenseActivationState), { licenseActivationMessage: sampleCodeError, licenseActivationStatus: "fail", licenseActivationApiData: null });
|
|
1784
1786
|
this.emitStatusChange();
|
|
1785
1787
|
this.handleLicenseModalOpen(false);
|
|
1786
1788
|
}
|
|
1787
1789
|
try {
|
|
1788
1790
|
const response = await post(url, { code: this.licenseActivationState.licenseActivationCode }, headers);
|
|
1789
1791
|
const responseData = await response.json();
|
|
1790
|
-
this.licenseActivationState = Object.assign(Object.assign({}, this.licenseActivationState), { licenseActivationApiData: Object.assign(Object.assign({}, responseData), { code: this.licenseActivationState.licenseActivationCode }), licenseActivationApiLoading: false, licenseActivationApiLoaded: true, licenseActivationStatus: response.ok ?
|
|
1792
|
+
this.licenseActivationState = Object.assign(Object.assign({}, this.licenseActivationState), { licenseActivationApiData: Object.assign(Object.assign({}, responseData), { code: this.licenseActivationState.licenseActivationCode }), licenseActivationApiLoading: false, licenseActivationApiLoaded: true, licenseActivationStatus: response.ok ? "success" : "fail", licenseActivationMessage: response.ok
|
|
1793
|
+
? responseData.message
|
|
1794
|
+
: handleResponseError(responseData) });
|
|
1791
1795
|
this.emitStatusChange();
|
|
1792
|
-
response.ok
|
|
1796
|
+
response.ok
|
|
1797
|
+
? this.handleLicenseModalClose()
|
|
1798
|
+
: this.handleLicenseModalOpen(false);
|
|
1793
1799
|
}
|
|
1794
1800
|
catch (error) {
|
|
1795
1801
|
const { response } = error;
|
|
1796
|
-
this.licenseActivationState = Object.assign(Object.assign({}, this.licenseActivationState), { licenseActivationApiLoading: false, licenseActivationApiLoaded: true, licenseActivationApiError: error, licenseActivationStatus:
|
|
1802
|
+
this.licenseActivationState = Object.assign(Object.assign({}, this.licenseActivationState), { licenseActivationApiLoading: false, licenseActivationApiLoaded: true, licenseActivationApiError: error, licenseActivationStatus: "fail", licenseActivationMessage: handleResponseError(await response.json()), licenseActivationApiData: null });
|
|
1797
1803
|
this.emitStatusChange();
|
|
1798
1804
|
this.handleLicenseModalOpen(false);
|
|
1799
1805
|
}
|
|
1800
1806
|
}
|
|
1801
1807
|
async handleSubmitButtonClick(inputVal) {
|
|
1802
|
-
const { licenseActivationState: { licenseActivationStatus
|
|
1808
|
+
const { licenseActivationState: { licenseActivationStatus }, } = this;
|
|
1803
1809
|
this.licenseActivationState = Object.assign(Object.assign({}, this.licenseActivationState), { licenseActivationCode: inputVal });
|
|
1804
1810
|
if (!inputVal) {
|
|
1805
1811
|
this.handleLicenseModalOpen(false);
|
|
1806
1812
|
}
|
|
1807
|
-
if ((this.variant ===
|
|
1813
|
+
if ((this.variant === "modal" ||
|
|
1814
|
+
this.modalState === "open" ||
|
|
1815
|
+
licenseActivationStatus === "initial") &&
|
|
1816
|
+
inputVal) {
|
|
1808
1817
|
this.activateLicense();
|
|
1809
1818
|
}
|
|
1810
1819
|
}
|
|
1811
1820
|
handleMobileButtonClick() {
|
|
1812
|
-
this.modalState =
|
|
1821
|
+
this.modalState = "open";
|
|
1813
1822
|
}
|
|
1814
1823
|
mapInputStatus(licenseActivationStatus) {
|
|
1815
|
-
if (licenseActivationStatus ===
|
|
1824
|
+
if (licenseActivationStatus === "initial")
|
|
1816
1825
|
return null;
|
|
1817
|
-
if (licenseActivationStatus ===
|
|
1818
|
-
return
|
|
1819
|
-
if (licenseActivationStatus ===
|
|
1820
|
-
return
|
|
1826
|
+
if (licenseActivationStatus === "success")
|
|
1827
|
+
return "success";
|
|
1828
|
+
if (licenseActivationStatus === "fail")
|
|
1829
|
+
return "error";
|
|
1821
1830
|
return null;
|
|
1822
1831
|
}
|
|
1823
|
-
renderLicenseActivationBox() {
|
|
1824
|
-
return (h("license-activation-box", { error: this.licenseActivationState.licenseActivationApiError, code: this.licenseActivationState.licenseActivationCode }, this.renderLicenseActivationForm(
|
|
1832
|
+
renderLicenseActivationBox(variant) {
|
|
1833
|
+
return (h("license-activation-box", { error: this.licenseActivationState.licenseActivationApiError, code: this.licenseActivationState.licenseActivationCode }, this.renderLicenseActivationForm(variant)));
|
|
1825
1834
|
}
|
|
1826
1835
|
renderLicenseActivationModal() {
|
|
1827
|
-
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(
|
|
1836
|
+
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")));
|
|
1828
1837
|
}
|
|
1829
1838
|
retrieveTextsObject() {
|
|
1830
|
-
const { inputMessage, inputLabel, inputPlaceholder, buttonLabel, isMobile, additionalDescription } = this;
|
|
1839
|
+
const { inputMessage, inputLabel, inputPlaceholder, buttonLabel, isMobile, additionalDescription, buttonIcon, previewButtonLabel, previewButtonIcon, } = this;
|
|
1831
1840
|
const { licenseActivationStatus } = this.licenseActivationState;
|
|
1832
1841
|
return {
|
|
1833
1842
|
inputStatus: this.mapInputStatus(licenseActivationStatus),
|
|
1834
|
-
inputMessage: inputMessage ||
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1843
|
+
inputMessage: inputMessage ||
|
|
1844
|
+
this.cms["newdashboard.licenseActivation.inputHelperMessage"],
|
|
1845
|
+
placeholder: inputPlaceholder ||
|
|
1846
|
+
this.cms["newdashboard.licenseActivation.inputPlaceholder"],
|
|
1847
|
+
inputLabel: inputLabel || this.cms["newdashboard.licenseActivation.inputLabel"],
|
|
1848
|
+
buttonLabel: isMobile
|
|
1849
|
+
? buttonLabel || this.cms["newdashboard.licenseActivation.submitLabel"]
|
|
1850
|
+
: this.cms["newdashboard.onboarding.licenseActivation.submitLabel"],
|
|
1851
|
+
buttonIcon,
|
|
1852
|
+
previewButtonLabel,
|
|
1853
|
+
previewButtonIcon,
|
|
1854
|
+
linkLabel: this.cms["newdashboard.licenseActivation.helperLink"].toUpperCase(),
|
|
1855
|
+
errorButtonLabel: this.cms["newdashboard.licenseActivation.contactUs.btnLabel"],
|
|
1856
|
+
errorSectionMessage: this.cms["newdashboard.licenseActivation.contactUs.message"],
|
|
1841
1857
|
infoBoxIcon: `${this.environment.URL_S3_IMAGES_FOLDER}bollinoSIAE.svg`,
|
|
1842
|
-
infoBoxContent: this.cms[
|
|
1843
|
-
supportLink: this.cms[
|
|
1844
|
-
additionalDescription: this.variant ===
|
|
1858
|
+
infoBoxContent: this.cms["newdashboard.licenseActivation.infoBoxContent"],
|
|
1859
|
+
supportLink: this.cms["newdashboard.licenseActivation.contactUs.url"],
|
|
1860
|
+
additionalDescription: this.variant === "modal" && additionalDescription,
|
|
1845
1861
|
};
|
|
1846
1862
|
}
|
|
1847
1863
|
renderLicenseActivationForm(variant) {
|
|
1848
1864
|
const { componentid } = this;
|
|
1849
|
-
const { licenseActivationState: { licenseActivationMessage, licenseActivationCode, licenseActivationApiLoading } } = this;
|
|
1865
|
+
const { licenseActivationState: { licenseActivationMessage, licenseActivationCode, licenseActivationApiLoading, }, } = this;
|
|
1850
1866
|
const textObject = this.retrieveTextsObject();
|
|
1851
|
-
return (h("license-activation-form", { direction:
|
|
1867
|
+
return (h("license-activation-form", { direction: "column", error: licenseActivationMessage, initialCode: licenseActivationCode, formTexts: textObject, requestLoading: !!licenseActivationApiLoading, enableButton: this.enableFormSubmitButton, formid: componentid, initialShowInfoBox: this.initialShowInfoBox, onFormInputChange: (e) => this.handleFormInputChange(e.detail.value), onSubmitButtonClick: (e) => this.handleSubmitButtonClick(e.detail.value), variant: variant, handleModalOpen: () => this.handleLicenseModalOpen(true) }));
|
|
1852
1868
|
}
|
|
1853
1869
|
renderMobileButton() {
|
|
1854
|
-
return (h("z-button", { onClick: () => this.handleMobileButtonClick() }, this.cms[
|
|
1870
|
+
return (h("z-button", { onClick: () => this.handleMobileButtonClick() }, this.cms["newdashboard.onboarding.licenseActivation.mobileSubmitLabel"]));
|
|
1855
1871
|
}
|
|
1856
1872
|
render() {
|
|
1857
1873
|
if (this.isMobile) {
|
|
1858
|
-
return (h(Host, null, this.forceModal
|
|
1874
|
+
return (h(Host, null, this.forceModal
|
|
1875
|
+
? this.renderLicenseActivationModal()
|
|
1876
|
+
: this.renderMobileButton(), (this.variant === "box" || this.variant === "button") &&
|
|
1877
|
+
this.modalState === "open" &&
|
|
1878
|
+
this.renderLicenseActivationModal()));
|
|
1859
1879
|
}
|
|
1860
|
-
return (h(Host, null, this.variant ===
|
|
1880
|
+
return (h(Host, null, this.variant === "box" || this.variant === "button"
|
|
1881
|
+
? this.renderLicenseActivationBox(this.variant)
|
|
1882
|
+
: this.modalState === "open" && this.renderLicenseActivationModal(), (this.variant === "box" || this.variant === "button") &&
|
|
1883
|
+
this.modalState === "open" &&
|
|
1884
|
+
this.submitClicked &&
|
|
1885
|
+
this.renderLicenseActivationModal()));
|
|
1861
1886
|
}
|
|
1862
1887
|
get host() { return getElement(this); }
|
|
1863
1888
|
};
|
|
@@ -1902,7 +1927,7 @@ const LicenseActivationForm = class {
|
|
|
1902
1927
|
}
|
|
1903
1928
|
componentWillLoad() {
|
|
1904
1929
|
this.showInfoBox = !!this.initialShowInfoBox;
|
|
1905
|
-
this.inputVal = this.initialCode ? this.initialCode :
|
|
1930
|
+
this.inputVal = this.initialCode ? this.initialCode : "";
|
|
1906
1931
|
}
|
|
1907
1932
|
handleFormInputChange(detail) {
|
|
1908
1933
|
this.inputVal = detail.value;
|
|
@@ -1912,10 +1937,10 @@ const LicenseActivationForm = class {
|
|
|
1912
1937
|
this.submitButtonClick.emit({ value: inputVal });
|
|
1913
1938
|
}
|
|
1914
1939
|
handleInfoClick() {
|
|
1915
|
-
if (this.variant ===
|
|
1940
|
+
if (this.variant === "modal") {
|
|
1916
1941
|
this.showInfoBox = true;
|
|
1917
1942
|
}
|
|
1918
|
-
if (this.variant ===
|
|
1943
|
+
if (this.variant === "box" || this.variant === "button") {
|
|
1919
1944
|
this.handleModalOpen();
|
|
1920
1945
|
}
|
|
1921
1946
|
}
|
|
@@ -1923,11 +1948,11 @@ const LicenseActivationForm = class {
|
|
|
1923
1948
|
if (!this.showInfoBox)
|
|
1924
1949
|
return;
|
|
1925
1950
|
const { infoBoxContent, infoBoxIcon } = this.formTexts;
|
|
1926
|
-
return (h("z-info-box", { boxid: "singleInputFormInfoSection", isclosable: true, onClick: (e) => this.handleInfoBoxClick(e) }, h("div", { slot: "content" }, infoBoxIcon && (h("span", null, h("img", { src: infoBoxIcon, "aria-hidden": true }))), infoBoxContent && h("span", { innerHTML: manageMarkupContent(infoBoxContent) }))));
|
|
1951
|
+
return (h("z-info-box", { boxid: "singleInputFormInfoSection", isclosable: true, onClick: (e) => this.handleInfoBoxClick(e) }, h("div", { slot: "content" }, infoBoxIcon && (h("span", null, h("img", { src: infoBoxIcon, "aria-hidden": true }))), infoBoxContent && (h("span", { innerHTML: manageMarkupContent(infoBoxContent) })))));
|
|
1927
1952
|
}
|
|
1928
1953
|
handleInfoBoxClick(e) {
|
|
1929
1954
|
const cp = e.composedPath();
|
|
1930
|
-
if (cp.find((elem) => elem.dataset && elem.dataset.action ===
|
|
1955
|
+
if (cp.find((elem) => elem.dataset && elem.dataset.action === "infoBoxClose")) {
|
|
1931
1956
|
this.showInfoBox = false;
|
|
1932
1957
|
}
|
|
1933
1958
|
}
|
|
@@ -1941,11 +1966,27 @@ const LicenseActivationForm = class {
|
|
|
1941
1966
|
const { errorButtonLabel, errorSectionMessage } = this.formTexts;
|
|
1942
1967
|
return (h("section", { class: "error-section" }, h("span", { class: "heading-01" }, errorSectionMessage), h("z-button", { variant: ButtonVariantEnum.secondary, onClick: this.redirectToSupport }, errorButtonLabel)));
|
|
1943
1968
|
}
|
|
1969
|
+
getButtonIcon(variant) {
|
|
1970
|
+
const { buttonIcon, previewButtonIcon } = this.formTexts;
|
|
1971
|
+
if (variant === "button" && previewButtonIcon)
|
|
1972
|
+
return previewButtonIcon;
|
|
1973
|
+
if (variant !== "button" && buttonIcon)
|
|
1974
|
+
return buttonIcon;
|
|
1975
|
+
return undefined;
|
|
1976
|
+
}
|
|
1977
|
+
getButtonLabel(variant) {
|
|
1978
|
+
const { buttonLabel, previewButtonLabel } = this.formTexts;
|
|
1979
|
+
if (variant === "button" && previewButtonLabel)
|
|
1980
|
+
return previewButtonLabel;
|
|
1981
|
+
if (variant !== "button" && buttonLabel)
|
|
1982
|
+
return buttonLabel;
|
|
1983
|
+
return "";
|
|
1984
|
+
}
|
|
1944
1985
|
render() {
|
|
1945
1986
|
const { error, requestLoading, formTexts, formid, variant } = this;
|
|
1946
|
-
const { inputMessage, inputLabel,
|
|
1947
|
-
const disabled = variant ===
|
|
1948
|
-
return (h(Host, { variant: variant
|
|
1987
|
+
const { inputMessage, inputLabel, linkLabel, placeholder, inputStatus, additionalDescription, } = formTexts;
|
|
1988
|
+
const disabled = (variant === "modal" && !this.inputVal) || !!requestLoading;
|
|
1989
|
+
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())));
|
|
1949
1990
|
}
|
|
1950
1991
|
};
|
|
1951
1992
|
LicenseActivationForm.style = licenseActivationFormCss;
|
package/dist/wc/esm/loader.js
CHANGED
|
@@ -10,7 +10,7 @@ const patchEsm = () => {
|
|
|
10
10
|
const defineCustomElements = (win, options) => {
|
|
11
11
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
12
12
|
return patchEsm().then(() => {
|
|
13
|
-
return bootstrapLazy([["z-modal-login",[[6,"z-modal-login",{"heading":[1],"status":[1025],"message":[1025],"externalProviderCheck":[32]}]]],["z-combobox",[[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",[[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",[[1,"z-footer",{"data":[1],"copyrightuser":[1]}]]],["z-cookiebar",[[1,"z-cookiebar",{"cookiepolicyurl":[1],"hide":[4],"callback":[16]}]]],["z-pagination-bar",[[1,"z-pagination-bar",{"pages":[2],"visiblepages":[2],"currentpage":[1026],"startpage":[1026],"historyraw":[1],"listhistoryrow":[1040],"currentPages":[32]}]]],["z-panel-elem",[[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",[[6,"z-registro-table-cell",{"showButton":[4,"show-button"],"isMenuOpened":[32]}]]],["z-user-dropdown",[[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",[[1,"z-app-switcher",{"theme":[1],"isopen":[32]}]]],["z-button-sort",[[1,"z-button-sort",{"buttonid":[1],"label":[1],"desclabel":[1],"counter":[2],"sortlabelasc":[1],"sortlabeldesc":[1],"isselected":[1028],"sortasc":[1028]}]]],["z-card-alert",[[1,"z-card-alert",{"iconname":[1],"contenttext":[1],"actiontext":[1],"type":[1]}]]],["z-card-icon",[[1,"z-card-icon",{"icon":[1],"isdisabled":[4]}]]],["z-heading",[[1,"z-heading",{"level":[2],"variant":[1],"component":[1]}]]],["z-icon-package",[[1,"z-icon-package"]]],["z-menu",[[1,"z-menu",{"active":[516],"floating":[516],"open":[32],"hasHeader":[32],"hasContent":[32]},[[4,"click","handleClick"]]]]],["z-menu-section",[[1,"z-menu-section",{"active":[516],"open":[32],"hasContent":[32]},[[4,"click","handleClick"]]]]],["z-toggle-button",[[1,"z-toggle-button",{"label":[1],"isdisabled":[4],"avoidclick":[4],"isOpen":[32]}]]],["z-app-header",[[1,"z-app-header"]]],["z-app-topbar",[[1,"z-app-topbar",{"theme":[1],"logged":[4],"hashtag":[1],"zLinksValues":[32],"isMobile":[32]},[[9,"resize","handleResize"],[8,"orientationchange","handleOrientationChange"]]]]],["z-card",[[1,"z-card",{"faded":[4],"cardtype":[1],"ispressed":[4],"ishighlighted":[4]}]]],["z-card-body",[[1,"z-card-body"]]],["z-card-cover",[[1,"z-card-cover",{"img":[1],"titolo":[1],"faded":[4],"defaultimg":[1]}]]],["z-card-footer",[[1,"z-card-footer",{"titolo":[1],"autori":[1],"isbn":[1],"faded":[4],"cardtype":[1],"isOpen":[32],"allowTooltipAuthors":[32]},[[0,"toggleClick","handleToggle"]]]]],["z-card-header",[[1,"z-card-header",{"titolo":[1],"faded":[4],"cardtype":[1],"allowTooltip":[32]}]]],["z-card-list",[[1,"z-card-list",{"listdata":[1]}]]],["z-chip",[[1,"z-chip",{"regulartext":[1],"boldtext":[2]}]]],["z-divider",[[2,"z-divider",{"size":[1],"color":[1],"orientation":[1]}]]],["z-registro-table",[[4,"z-registro-table",{"bordered":[4],"columnSticky":[4,"column-sticky"],"headerSticky":[4,"header-sticky"]}]]],["z-registro-table-body",[[6,"z-registro-table-body"]]],["z-registro-table-footer",[[6,"z-registro-table-footer"]]],["z-registro-table-head",[[6,"z-registro-table-head"]]],["z-registro-table-header",[[6,"z-registro-table-header"]]],["z-registro-table-row",[[6,"z-registro-table-row"]]],["z-registro-table-sticky-footer",[[6,"z-registro-table-sticky-footer"]]],["z-stepper",[[1,"z-stepper"]]],["z-stepper-item",[[1,"z-stepper-item",{"index":[2],"href":[1],"pressed":[4],"disabled":[4]}]]],["z-tooltip",[[1,"z-tooltip",{"content":[1],"type":[1]}]]],["z-candybar",[[1,"z-candybar"]]],["z-pagination-page",[[1,"z-pagination-page",{"pageid":[1],"value":[2],"isselected":[4],"isdisabled":[4],"isvisited":[4]}]]],["license-activation_16",[[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"],"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",[[1,"z-list",{"inputrawdata":[1025],"list":[1040]}],[1,"z-menu-dropdown",{"nomeutente":[1],"menucontent":[1],"buttonid":[1],"ismenuopen":[32]}]]],["z-logo",[[1,"z-logo",{"width":[2],"height":[2],"imagealt":[1],"link":[1],"targetblank":[4]}]]],["z-footer-link_3",[[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",[[1,"z-list-item",{"text":[1],"link":[1],"linktarget":[1],"icon":[1],"listitemid":[1],"action":[1],"underlined":[4]}]]]], options);
|
|
13
|
+
return bootstrapLazy([["z-modal-login",[[6,"z-modal-login",{"heading":[1],"status":[1025],"message":[1025],"externalProviderCheck":[32]}]]],["z-combobox",[[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",[[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",[[1,"z-footer",{"data":[1],"copyrightuser":[1]}]]],["z-cookiebar",[[1,"z-cookiebar",{"cookiepolicyurl":[1],"hide":[4],"callback":[16]}]]],["z-pagination-bar",[[1,"z-pagination-bar",{"pages":[2],"visiblepages":[2],"currentpage":[1026],"startpage":[1026],"historyraw":[1],"listhistoryrow":[1040],"currentPages":[32]}]]],["z-panel-elem",[[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",[[6,"z-registro-table-cell",{"showButton":[4,"show-button"],"isMenuOpened":[32]}]]],["z-user-dropdown",[[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",[[1,"z-app-switcher",{"theme":[1],"isopen":[32]}]]],["z-button-sort",[[1,"z-button-sort",{"buttonid":[1],"label":[1],"desclabel":[1],"counter":[2],"sortlabelasc":[1],"sortlabeldesc":[1],"isselected":[1028],"sortasc":[1028]}]]],["z-card-alert",[[1,"z-card-alert",{"iconname":[1],"contenttext":[1],"actiontext":[1],"type":[1]}]]],["z-card-icon",[[1,"z-card-icon",{"icon":[1],"isdisabled":[4]}]]],["z-heading",[[1,"z-heading",{"level":[2],"variant":[1],"component":[1]}]]],["z-icon-package",[[1,"z-icon-package"]]],["z-menu",[[1,"z-menu",{"active":[516],"floating":[516],"open":[32],"hasHeader":[32],"hasContent":[32]},[[4,"click","handleClick"]]]]],["z-menu-section",[[1,"z-menu-section",{"active":[516],"open":[32],"hasContent":[32]},[[4,"click","handleClick"]]]]],["z-toggle-button",[[1,"z-toggle-button",{"label":[1],"isdisabled":[4],"avoidclick":[4],"isOpen":[32]}]]],["z-app-header",[[1,"z-app-header"]]],["z-app-topbar",[[1,"z-app-topbar",{"theme":[1],"logged":[4],"hashtag":[1],"zLinksValues":[32],"isMobile":[32]},[[9,"resize","handleResize"],[8,"orientationchange","handleOrientationChange"]]]]],["z-card",[[1,"z-card",{"faded":[4],"cardtype":[1],"ispressed":[4],"ishighlighted":[4]}]]],["z-card-body",[[1,"z-card-body"]]],["z-card-cover",[[1,"z-card-cover",{"img":[1],"titolo":[1],"faded":[4],"defaultimg":[1]}]]],["z-card-footer",[[1,"z-card-footer",{"titolo":[1],"autori":[1],"isbn":[1],"faded":[4],"cardtype":[1],"isOpen":[32],"allowTooltipAuthors":[32]},[[0,"toggleClick","handleToggle"]]]]],["z-card-header",[[1,"z-card-header",{"titolo":[1],"faded":[4],"cardtype":[1],"allowTooltip":[32]}]]],["z-card-list",[[1,"z-card-list",{"listdata":[1]}]]],["z-chip",[[1,"z-chip",{"regulartext":[1],"boldtext":[2]}]]],["z-divider",[[2,"z-divider",{"size":[1],"color":[1],"orientation":[1]}]]],["z-registro-table",[[4,"z-registro-table",{"bordered":[4],"columnSticky":[4,"column-sticky"],"headerSticky":[4,"header-sticky"]}]]],["z-registro-table-body",[[6,"z-registro-table-body"]]],["z-registro-table-footer",[[6,"z-registro-table-footer"]]],["z-registro-table-head",[[6,"z-registro-table-head"]]],["z-registro-table-header",[[6,"z-registro-table-header"]]],["z-registro-table-row",[[6,"z-registro-table-row"]]],["z-registro-table-sticky-footer",[[6,"z-registro-table-sticky-footer"]]],["z-stepper",[[1,"z-stepper"]]],["z-stepper-item",[[1,"z-stepper-item",{"index":[2],"href":[1],"pressed":[4],"disabled":[4]}]]],["z-tooltip",[[1,"z-tooltip",{"content":[1],"type":[1]}]]],["z-candybar",[[1,"z-candybar"]]],["z-pagination-page",[[1,"z-pagination-page",{"pageid":[1],"value":[2],"isselected":[4],"isdisabled":[4],"isvisited":[4]}]]],["license-activation_16",[[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",[[1,"z-list",{"inputrawdata":[1025],"list":[1040]}],[1,"z-menu-dropdown",{"nomeutente":[1],"menucontent":[1],"buttonid":[1],"ismenuopen":[32]}]]],["z-logo",[[1,"z-logo",{"width":[2],"height":[2],"imagealt":[1],"link":[1],"targetblank":[4]}]]],["z-footer-link_3",[[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",[[1,"z-list-item",{"text":[1],"link":[1],"linktarget":[1],"icon":[1],"listitemid":[1],"action":[1],"underlined":[4]}]]]], options);
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -17,6 +17,9 @@ export declare type LicenseActivationFormTexts = {
|
|
|
17
17
|
placeholder: null | string;
|
|
18
18
|
inputLabel: null | string;
|
|
19
19
|
buttonLabel: null | string;
|
|
20
|
+
buttonIcon: null | string;
|
|
21
|
+
previewButtonLabel: null | string;
|
|
22
|
+
previewButtonIcon: null | string;
|
|
20
23
|
linkLabel: null | string;
|
|
21
24
|
errorButtonLabel: null | string;
|
|
22
25
|
errorSectionMessage: null | string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { EventEmitter } from
|
|
2
|
-
import { HostElement } from
|
|
3
|
-
import { LicenseActivationFormTexts, LicenseActivationState, MyzEnvBean } from
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
import { HostElement } from "../../stencil-public-runtime";
|
|
3
|
+
import { LicenseActivationFormTexts, LicenseActivationState, MyzEnvBean } from "../../beans";
|
|
4
4
|
import { CmsState } from "../../store/CMS";
|
|
5
5
|
export declare class LicenseActivation {
|
|
6
6
|
/** variant: box or modal */
|
|
7
|
-
variant:
|
|
7
|
+
variant: "box" | "modal" | "button";
|
|
8
8
|
/** modal-state: open or closed, to trigger modal display state */
|
|
9
9
|
modalState: "open" | "closed";
|
|
10
10
|
/** componentid: component id [optional] */
|
|
@@ -19,6 +19,12 @@ export declare class LicenseActivation {
|
|
|
19
19
|
additionalDescription?: string;
|
|
20
20
|
/** button-label: custom submit button label string [optional] */
|
|
21
21
|
buttonLabel?: string;
|
|
22
|
+
/** button-icon: custom submit button icon name [optional] */
|
|
23
|
+
buttonIcon?: string;
|
|
24
|
+
/** preview-button-label: custom preview button label string [optional] */
|
|
25
|
+
previewButtonLabel?: string;
|
|
26
|
+
/** preview-button-icon: custom preview button icon name [optional] */
|
|
27
|
+
previewButtonIcon?: string;
|
|
22
28
|
/** enable-button: used to disable submit button [optional] */
|
|
23
29
|
enableButton?: boolean;
|
|
24
30
|
/** force-modal: force modal variant [optional] */
|
|
@@ -49,10 +55,10 @@ export declare class LicenseActivation {
|
|
|
49
55
|
handleSubmitButtonClick(inputVal: string): Promise<void>;
|
|
50
56
|
handleMobileButtonClick(): void;
|
|
51
57
|
mapInputStatus(licenseActivationStatus: "initial" | "success" | "fail"): null | "success" | "error" | "warning" | "selecting";
|
|
52
|
-
renderLicenseActivationBox(): HTMLLicenseActivationBoxElement;
|
|
58
|
+
renderLicenseActivationBox(variant: "box" | "button"): HTMLLicenseActivationBoxElement;
|
|
53
59
|
renderLicenseActivationModal(): HTMLLicenseActivationModalElement;
|
|
54
60
|
retrieveTextsObject(): LicenseActivationFormTexts;
|
|
55
|
-
renderLicenseActivationForm(variant:
|
|
61
|
+
renderLicenseActivationForm(variant: "box" | "modal" | "button"): HTMLLicenseActivationFormElement;
|
|
56
62
|
renderMobileButton(): HTMLZButtonElement;
|
|
57
63
|
render(): HostElement;
|
|
58
64
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EventEmitter } from
|
|
2
|
-
import { HostElement } from
|
|
3
|
-
import { LicenseActivationFormTexts, LicenseActivationStateType } from
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
import { HostElement } from "../../stencil-public-runtime";
|
|
3
|
+
import { LicenseActivationFormTexts, LicenseActivationStateType } from "../../beans";
|
|
4
4
|
export declare class LicenseActivationForm {
|
|
5
5
|
direction: string;
|
|
6
6
|
error: null | string;
|
|
@@ -11,7 +11,7 @@ export declare class LicenseActivationForm {
|
|
|
11
11
|
enableButton: boolean;
|
|
12
12
|
activationState: LicenseActivationStateType;
|
|
13
13
|
formid: string;
|
|
14
|
-
variant:
|
|
14
|
+
variant: "box" | "modal" | "button";
|
|
15
15
|
handleModalOpen: () => void;
|
|
16
16
|
showInfoBox: boolean;
|
|
17
17
|
inputVal: null | string;
|
|
@@ -28,5 +28,7 @@ export declare class LicenseActivationForm {
|
|
|
28
28
|
handleInfoBoxClick(e: MouseEvent): void;
|
|
29
29
|
redirectToSupport(): void;
|
|
30
30
|
renderErrorSection(): HTMLElement;
|
|
31
|
+
getButtonIcon(variant: "box" | "modal" | "button"): string;
|
|
32
|
+
getButtonLabel(variant: "box" | "modal" | "button"): string;
|
|
31
33
|
render(): HostElement;
|
|
32
34
|
}
|
|
@@ -12,6 +12,10 @@ export namespace Components {
|
|
|
12
12
|
* additional-description: additional description string [optional]
|
|
13
13
|
*/
|
|
14
14
|
"additionalDescription"?: string;
|
|
15
|
+
/**
|
|
16
|
+
* button-icon: custom submit button icon name [optional]
|
|
17
|
+
*/
|
|
18
|
+
"buttonIcon"?: string;
|
|
15
19
|
/**
|
|
16
20
|
* button-label: custom submit button label string [optional]
|
|
17
21
|
*/
|
|
@@ -48,10 +52,18 @@ export namespace Components {
|
|
|
48
52
|
* modal-state: open or closed, to trigger modal display state
|
|
49
53
|
*/
|
|
50
54
|
"modalState": "open" | "closed";
|
|
55
|
+
/**
|
|
56
|
+
* preview-button-icon: custom preview button icon name [optional]
|
|
57
|
+
*/
|
|
58
|
+
"previewButtonIcon"?: string;
|
|
59
|
+
/**
|
|
60
|
+
* preview-button-label: custom preview button label string [optional]
|
|
61
|
+
*/
|
|
62
|
+
"previewButtonLabel"?: string;
|
|
51
63
|
/**
|
|
52
64
|
* variant: box or modal
|
|
53
65
|
*/
|
|
54
|
-
"variant":
|
|
66
|
+
"variant": "box" | "modal" | "button";
|
|
55
67
|
}
|
|
56
68
|
interface LicenseActivationBox {
|
|
57
69
|
"code": string;
|
|
@@ -68,7 +80,7 @@ export namespace Components {
|
|
|
68
80
|
"initialCode"?: string;
|
|
69
81
|
"initialShowInfoBox"?: boolean;
|
|
70
82
|
"requestLoading": boolean;
|
|
71
|
-
"variant":
|
|
83
|
+
"variant": "box" | "modal" | "button";
|
|
72
84
|
}
|
|
73
85
|
interface LicenseActivationModal {
|
|
74
86
|
"modalTitle": string;
|
|
@@ -113,6 +125,10 @@ declare namespace LocalJSX {
|
|
|
113
125
|
* additional-description: additional description string [optional]
|
|
114
126
|
*/
|
|
115
127
|
"additionalDescription"?: string;
|
|
128
|
+
/**
|
|
129
|
+
* button-icon: custom submit button icon name [optional]
|
|
130
|
+
*/
|
|
131
|
+
"buttonIcon"?: string;
|
|
116
132
|
/**
|
|
117
133
|
* button-label: custom submit button label string [optional]
|
|
118
134
|
*/
|
|
@@ -157,10 +173,18 @@ declare namespace LocalJSX {
|
|
|
157
173
|
* Emitted on license activation status change
|
|
158
174
|
*/
|
|
159
175
|
"onLicenseStatusChange"?: (event: CustomEvent<any>) => void;
|
|
176
|
+
/**
|
|
177
|
+
* preview-button-icon: custom preview button icon name [optional]
|
|
178
|
+
*/
|
|
179
|
+
"previewButtonIcon"?: string;
|
|
180
|
+
/**
|
|
181
|
+
* preview-button-label: custom preview button label string [optional]
|
|
182
|
+
*/
|
|
183
|
+
"previewButtonLabel"?: string;
|
|
160
184
|
/**
|
|
161
185
|
* variant: box or modal
|
|
162
186
|
*/
|
|
163
|
-
"variant"?:
|
|
187
|
+
"variant"?: "box" | "modal" | "button";
|
|
164
188
|
}
|
|
165
189
|
interface LicenseActivationBox {
|
|
166
190
|
"code"?: string;
|
|
@@ -185,7 +209,7 @@ declare namespace LocalJSX {
|
|
|
185
209
|
*/
|
|
186
210
|
"onSubmitButtonClick"?: (event: CustomEvent<any>) => void;
|
|
187
211
|
"requestLoading"?: boolean;
|
|
188
|
-
"variant"?:
|
|
212
|
+
"variant"?: "box" | "modal" | "button";
|
|
189
213
|
}
|
|
190
214
|
interface LicenseActivationModal {
|
|
191
215
|
"modalTitle"?: string;
|