@ezeep/ezeep-js 1.0.138 → 1.0.139
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/cjs/ezeep.cjs.js +1 -1
- package/dist/cjs/ezp-auth_12.cjs.entry.js +19 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ezp-icon/assets/glyph-dark.svg +3 -0
- package/dist/collection/components/ezp-icon/assets/glyph-light.svg +3 -0
- package/dist/collection/components/ezp-icon/assets/glyph-system.svg +3 -0
- package/dist/collection/components/ezp-icon/ezp-icon.css +2 -2
- package/dist/collection/components/ezp-icon/ezp-icon.js +1 -1
- package/dist/collection/components/ezp-icon-button/ezp-icon-button.js +1 -1
- package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.css +2 -3
- package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.js +1 -1
- package/dist/collection/components/ezp-printing/ezp-printing.css +211 -120
- package/dist/collection/components/ezp-printing/ezp-printing.js +26 -1
- package/dist/collection/components/ezp-progress/ezp-progress.css +1 -1
- package/dist/collection/components/ezp-select/ezp-select.js +1 -1
- package/dist/collection/components/ezp-stepper/ezp-stepper.js +1 -1
- package/dist/collection/components/ezp-user-menu/ezp-user-menu.css +45 -1
- package/dist/collection/components/ezp-user-menu/ezp-user-menu.js +15 -2
- package/dist/collection/services/user.js +1 -0
- package/dist/custom-elements/index.js +20 -9
- package/dist/directives/proxies.ts +2 -2
- package/dist/esm/ezeep.js +1 -1
- package/dist/esm/ezp-auth_12.entry.js +19 -8
- package/dist/esm/loader.js +1 -1
- package/dist/esm-es5/ezeep.js +1 -1
- package/dist/esm-es5/ezp-auth_12.entry.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/ezeep/assets/glyph-dark.svg +3 -0
- package/dist/ezeep/assets/glyph-light.svg +3 -0
- package/dist/ezeep/assets/glyph-system.svg +3 -0
- package/dist/ezeep/ezeep.esm.js +1 -1
- package/dist/ezeep/p-1922e5fe.system.entry.js +1 -0
- package/dist/ezeep/p-649f6d96.entry.js +1 -0
- package/dist/ezeep/p-c488ee3f.system.js +1 -1
- package/dist/types/components/ezp-printing/ezp-printing.d.ts +2 -1
- package/dist/types/components/ezp-user-menu/ezp-user-menu.d.ts +2 -0
- package/dist/types/components.d.ts +3 -1
- package/dist/types/services/user.d.ts +1 -0
- package/dist/types/shared/types.d.ts +4 -0
- package/package.json +1 -1
- package/readme.md +2 -3
- package/www/build/assets/glyph-dark.svg +3 -0
- package/www/build/assets/glyph-light.svg +3 -0
- package/www/build/assets/glyph-system.svg +3 -0
- package/www/build/ezeep.esm.js +1 -1
- package/www/build/p-1922e5fe.system.entry.js +1 -0
- package/www/build/p-649f6d96.entry.js +1 -0
- package/www/build/p-c488ee3f.system.js +1 -1
- package/www/index.html +1 -1
- package/dist/ezeep/p-12ca28b7.system.entry.js +0 -1
- package/dist/ezeep/p-f4d2e700.entry.js +0 -1
- package/www/build/p-12ca28b7.system.entry.js +0 -1
- package/www/build/p-f4d2e700.entry.js +0 -1
package/dist/cjs/ezeep.cjs.js
CHANGED
|
@@ -17,5 +17,5 @@ const patchBrowser = () => {
|
|
|
17
17
|
|
|
18
18
|
patchBrowser().then(options => {
|
|
19
19
|
appGlobals.globalScripts();
|
|
20
|
-
return index.bootstrapLazy([["ezp-auth_12.cjs",[[1,"ezp-printing",{"clientid":[1],"redirecturi":[1],"filename":[1],"fileurl":[1],"filetype":[1],"custom":[4],"hidelogin":[4],"authapihosturl":[1],"printapihosturl":[1],"theme":[1],"printOpen":[32],"authOpen":[32],"open":[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authShow","listenAuthShow"],[0,"printShow","listenPrintShow"]]],[1,"ezp-printer-selection",{"clientID":[1,"client-i-d"],"redirectURI":[1,"redirect-u-r-i"],"filename":[1],"fileurl":[1],"filetype":[1],"loading":[32],"options":[32],"printInProgress":[32],"userMenuOpen":[32],"userName":[32],"printers":[32],"selectedPrinter":[32],"printerConfig":[32],"selectedProperties":[32],"previouslySelectedProperties":[32]},[[0,"selectSelection","listenSelectSelection"],[0,"stepperChanged","listenStepperChanged"],[0,"userMenuClosure","listenUserMenuClosure"],[0,"logoutEmitter","listenLogout"]]],[1,"ezp-auth",{"clientID":[1025,"client-i-d"],"redirectURI":[1025,"redirect-u-r-i"],"hidelogin":[4],"auth":[32],"authURI":[32],"accessToken":[32]}],[1,"ezp-user-menu",{"name":[1],"open":[1028]}],[1,"ezp-select",{"icon":[1],"label":[1],"optionFlow":[1,"option-flow"],"options":[16],"placeholder":[1],"preSelected":[8,"pre-selected"],"toggleFlow":[1,"toggle-flow"],"expanded":[32],"selected":[32]}],[1,"ezp-stepper",{"icon":[1],"label":[1],"max":[2],"min":[2],"canDecrease":[32],"canIncrease":[32],"focused":[32],"value":[32]}],[1,"ezp-progress",{"status":[1]}],[1,"ezp-text-button",{"blank":[4],"disabled":[4],"href":[1],"level":[1],"label":[1],"type":[1]}],[1,"ezp-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}],[1,"ezp-backdrop",{"visible":[1028]},[[0,"animationend","listenAnimationEnd"]]],[1,"ezp-icon",{"name":[1],"size":[1]}],[1,"ezp-label",{"ellipsis":[4],"level":[1],"noWrap":[4,"no-wrap"],"text":[1],"weight":[1]}]]]], options);
|
|
20
|
+
return index.bootstrapLazy([["ezp-auth_12.cjs",[[1,"ezp-printing",{"clientid":[1],"redirecturi":[1],"filename":[1],"fileurl":[1],"filetype":[1],"custom":[4],"hidelogin":[4],"authapihosturl":[1],"printapihosturl":[1],"theme":[1],"appearance":[1],"printOpen":[32],"authOpen":[32],"open":[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authShow","listenAuthShow"],[0,"printShow","listenPrintShow"]]],[1,"ezp-printer-selection",{"clientID":[1,"client-i-d"],"redirectURI":[1,"redirect-u-r-i"],"filename":[1],"fileurl":[1],"filetype":[1],"loading":[32],"options":[32],"printInProgress":[32],"userMenuOpen":[32],"userName":[32],"printers":[32],"selectedPrinter":[32],"printerConfig":[32],"selectedProperties":[32],"previouslySelectedProperties":[32]},[[0,"selectSelection","listenSelectSelection"],[0,"stepperChanged","listenStepperChanged"],[0,"userMenuClosure","listenUserMenuClosure"],[0,"logoutEmitter","listenLogout"]]],[1,"ezp-auth",{"clientID":[1025,"client-i-d"],"redirectURI":[1025,"redirect-u-r-i"],"hidelogin":[4],"auth":[32],"authURI":[32],"accessToken":[32]}],[1,"ezp-user-menu",{"name":[1],"open":[1028]}],[1,"ezp-select",{"icon":[1],"label":[1],"optionFlow":[1,"option-flow"],"options":[16],"placeholder":[1],"preSelected":[8,"pre-selected"],"toggleFlow":[1,"toggle-flow"],"expanded":[32],"selected":[32]}],[1,"ezp-stepper",{"icon":[1],"label":[1],"max":[2],"min":[2],"canDecrease":[32],"canIncrease":[32],"focused":[32],"value":[32]}],[1,"ezp-progress",{"status":[1]}],[1,"ezp-text-button",{"blank":[4],"disabled":[4],"href":[1],"level":[1],"label":[1],"type":[1]}],[1,"ezp-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}],[1,"ezp-backdrop",{"visible":[1028]},[[0,"animationend","listenAnimationEnd"]]],[1,"ezp-icon",{"name":[1],"size":[1]}],[1,"ezp-label",{"ellipsis":[4],"level":[1],"noWrap":[4,"no-wrap"],"text":[1],"weight":[1]}]]]], options);
|
|
21
21
|
});
|
|
@@ -3170,7 +3170,7 @@ let EzpBackdrop = class {
|
|
|
3170
3170
|
};
|
|
3171
3171
|
EzpBackdrop.style = ezpBackdropCss;
|
|
3172
3172
|
|
|
3173
|
-
const ezpIconCss = ":host{-ms-flex-line-pack:center;align-content:center;display:block;display:grid;grid-template:var(--host-gridTemplate)/var(--host-gridTemplate);height:var(--host-size);-ms-flex-pack:center;justify-content:center;width:var(--host-size)}:host(.normal){--host-size:18px;--host-gridTemplate:22px}:host(.large){--host-size:36px;--host-gridTemplate:44px}svg{display:block;fill:currentColor;height:100%;width:100%}";
|
|
3173
|
+
const ezpIconCss = ":host{-ms-flex-line-pack:center;align-content:center;display:block;display:grid;grid-template:var(--host-gridTemplate)/var(--host-gridTemplate);height:var(--icon-height, var(--host-size));-ms-flex-pack:center;justify-content:center;width:var(--icon-width, var(--host-size))}:host(.normal){--host-size:18px;--host-gridTemplate:22px}:host(.large){--host-size:36px;--host-gridTemplate:44px}svg{display:block;fill:currentColor;height:100%;width:100%}";
|
|
3174
3174
|
|
|
3175
3175
|
let EzpIcon = class {
|
|
3176
3176
|
constructor(hostRef) {
|
|
@@ -4178,6 +4178,7 @@ class EzpUserService {
|
|
|
4178
4178
|
const userStore = createStore({
|
|
4179
4179
|
user: null,
|
|
4180
4180
|
theme: '',
|
|
4181
|
+
appearance: '',
|
|
4181
4182
|
});
|
|
4182
4183
|
|
|
4183
4184
|
const colors = [
|
|
@@ -4258,7 +4259,7 @@ const options = {
|
|
|
4258
4259
|
sizes: sizes
|
|
4259
4260
|
};
|
|
4260
4261
|
|
|
4261
|
-
const ezpPrinterSelectionCss = ":host{-ms-flex-line-pack:center;align-content:center;background:var(--color-overlay);display:grid;grid-template:auto/320px;height:100vh;-ms-flex-pack:center;justify-content:center;left:0;position:fixed;top:0;width:100vw}@media (prefers-color-scheme: dark){:host{--content-boxShadow:inset var(--hairline-width-positive) 0 0 0 var(--hairline-color),\n inset var(--hairline-width-negative) 0 0 0 var(--hairline-color);--container-separator-position:inset 0 0 0 var(--hairline-width-positive);--footer-separator-position:inset 0 var(--hairline-width-positive) 0 0;--header-separator-position:inset 0 var(--hairline-width-negative) 0 0}}#container{background:var(--color-surface-tertiary);border-radius:6px
|
|
4262
|
+
const ezpPrinterSelectionCss = ":host{-ms-flex-line-pack:center;align-content:center;background:var(--color-overlay);display:grid;grid-template:auto/320px;height:100vh;-ms-flex-pack:center;justify-content:center;left:0;position:fixed;top:0;width:100vw}@media (prefers-color-scheme: dark){:host{--content-boxShadow:inset var(--hairline-width-positive) 0 0 0 var(--hairline-color),\n inset var(--hairline-width-negative) 0 0 0 var(--hairline-color);--container-separator-position:inset 0 0 0 var(--hairline-width-positive);--footer-separator-position:inset 0 var(--hairline-width-positive) 0 0;--header-separator-position:inset 0 var(--hairline-width-negative) 0 0}}#container{background:var(--color-surface-tertiary);border-radius:6px;position:relative}#header{-webkit-box-shadow:inset 0 var(--hairline-width-negative) 0 0 var(--hairline-color);box-shadow:inset 0 var(--hairline-width-negative) 0 0 var(--hairline-color);color:var(--color-foreground-primary);display:grid;grid-column-gap:var(--spacing-1);grid-template-columns:auto 1fr auto;padding:var(--spacing-4) var(--spacing-3) var(--spacing-4) var(--spacing-4);position:relative;z-index:3}#toggle-menu{margin:calc(var(--spacing-3) * -1) 0;position:relative;z-index:2}#content{background:var(--color-surface-secondary);-webkit-box-shadow:var(--content-boxShadow, none);box-shadow:var(--content-boxShadow, none);display:grid;grid-row-gap:var(--spacing-2);grid-template-rows:repeat(2, auto);padding:var(--spacing-2)}#footer{-webkit-box-shadow:inset 0 var(--hairline-width-positive) 0 0 var(--hairline-color);box-shadow:inset 0 var(--hairline-width-positive) 0 0 var(--hairline-color);display:grid;grid-column-gap:var(--spacing-2);grid-template-columns:repeat(2, 1fr);padding:var(--spacing-2);position:relative;z-index:3}";
|
|
4262
4263
|
|
|
4263
4264
|
let EzpPrinterSelection = class {
|
|
4264
4265
|
constructor(hostRef) {
|
|
@@ -4495,7 +4496,7 @@ let EzpPrinterSelection = class {
|
|
|
4495
4496
|
title: i18next.t('printer_selection.color_grayscale'),
|
|
4496
4497
|
meta: '',
|
|
4497
4498
|
type: 'color',
|
|
4498
|
-
}
|
|
4499
|
+
},
|
|
4499
4500
|
], preSelected: this.previouslySelectedProperties.color }), index.h("ezp-select", { label: i18next.t('printer_selection.orientation'), icon: "orientation", placeholder: i18next.t('printer_selection.select_orientation'), toggleFlow: "horizontal", options: this.printerConfig.OrientationsSupported.map((orientation, index) => ({
|
|
4500
4501
|
id: index,
|
|
4501
4502
|
title: i18next.t(`printer_selection.orientation_${orientation}`),
|
|
@@ -4532,12 +4533,13 @@ const config = {
|
|
|
4532
4533
|
printingApiHostUrl: printingApiHostUrl
|
|
4533
4534
|
};
|
|
4534
4535
|
|
|
4535
|
-
const ezpPrintingCss = ":host{-ms-flex-line-pack:center;align-content:center;background:var(--color-surface-primary);color:var(--color-foreground-primary);display:grid;font-family:\"Inter\", sans-serif;-webkit-font-feature-settings:\"calt\", \"liga\", \"ss03\", \"zero\", \"cv05\", \"cv10\";font-feature-settings:\"calt\", \"liga\", \"ss03\", \"zero\", \"cv05\", \"cv10\";-webkit-font-kerning:normal;font-kerning:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;grid-template:auto/auto;-ms-flex-pack:center;justify-content:center;margin:0;min-height:100vh;-webkit-tap-highlight-color:transparent;text-rendering:optimizeLegibility;-webkit-text-size-adjust:none;--color-theme-pink-solid:#f23267;--color-theme-red-solid:#f23b22;--color-theme-orange-solid:#fe7200;--color-theme-green-solid:#5d9200;--color-theme-cyan-solid:#0091b4;--color-theme-blue-solid:#4e81f3;--color-theme-violet-solid:#ae5ef3;--color-theme-pink-translucent:rgba(242, 50, 103, 0.16);--color-theme-red-translucent:rgba(242, 59, 34, 0.16);--color-theme-orange-translucent:rgba(254, 114, 0, 0.16);--color-theme-green-translucent:rgba(93, 146, 0, 0.16);--color-theme-cyan-translucent:rgba(0, 145, 180, 0.16);--color-theme-blue-translucent:rgba(78, 129, 243, 0.16);--color-theme-violet-translucent:rgba(174, 94, 243, 0.16);--color-on-theme:white;--color-surface-primary:white;--color-surface-secondary:#f3f3f3;--color-surface-tertiary:white;--color-shade-primary:rgba(119, 119, 119, 0.1);--color-shade-secondary:rgba(119, 119, 119, 0.16);--color-shade-tertiary:rgba(119, 119, 119, 0.22);--color-foreground-primary:rgba(0, 0, 0, 0.94);--color-foreground-secondary:rgba(99, 99, 99, 0.9);--color-foreground-tertiary:rgba(99, 99, 99, 0.58);--color-outline-primary:rgba(119, 119, 119, 0.16);--color-outline-secondary:rgba(119, 119, 119, 0.26);--color-overlay:rgba(0, 0, 0, 0.26);--color-shadow:rgba(0, 0, 0, 0.06);--duration-1:0.1s;--duration-2:0.16s;--duration-3:0.26s;--duration-4:0.42s;--duration-5:0.68s;--duration-6:1s;--spacing-1:4px;--spacing-2:6px;--spacing-3:10px;--spacing-4:16px;--spacing-5:26px;--spacing-6:42px;--spacing-7:68px;--spacing-8:110px;--easing-in-quart:cubic-bezier(0.11, 0, 0.5, 0);--easing-in-out-quart:cubic-bezier(0.76, 0, 0.24, 1);--easing-in-out-cubic:cubic-bezier(0.65, 0, 0.35, 1);--easing-in-expo:cubic-bezier(0.7, 0, 0.84, 0);--easing-out-quart:cubic-bezier(0.25, 1, 0.5, 1);--easing-out-expo:cubic-bezier(0.16, 1, 0.3, 1);--hairline-color:var(--color-outline-primary)}@supports (color: color(display-p3 1 1 1)){:host{--color-theme-pink-solid:color(display-p3 0.9490196078 0.1960784314 0.4039215686/100%);--color-theme-red-solid:color(display-p3 0.9490196078 0.231372549 0.1333333333/100%);--color-theme-orange-solid:color(display-p3 0.9960784314 0.4470588235 0/100%);--color-theme-green-solid:color(display-p3 0.3647058824 0.5725490196 0/100%);--color-theme-cyan-solid:color(display-p3 0 0.568627451 0.7058823529/100%);--color-theme-blue-solid:color(display-p3 0.3058823529 0.5058823529 0.9529411765/100%);--color-theme-violet-solid:color(display-p3 0.6823529412 0.368627451 0.9529411765/100%);--color-theme-pink-translucent:color(display-p3 0.9490196078 0.1960784314 0.4039215686/16%);--color-theme-red-translucent:color(display-p3 0.9490196078 0.231372549 0.1333333333/16%);--color-theme-orange-translucent:color(display-p3 0.9960784314 0.4470588235 0/16%);--color-theme-green-translucent:color(display-p3 0.3647058824 0.5725490196 0/16%);--color-theme-cyan-translucent:color(display-p3 0 0.568627451 0.7058823529/16%);--color-theme-blue-translucent:color(display-p3 0.3058823529 0.5058823529 0.9529411765/16%);--color-theme-violet-translucent:color(display-p3 0.6823529412 0.368627451 0.9529411765/16%);--color-on-theme:color(display-p3 1 1 1/100%);--color-surface-primary:color(display-p3 1 1 1/100%);--color-surface-secondary:color(display-p3 0.9529411765 0.9529411765 0.9529411765/100%);--color-surface-tertiary:color(display-p3 1 1 1/100%);--color-shade-primary:color(display-p3 0.4666666667 0.4666666667 0.4666666667/10%);--color-shade-secondary:color(display-p3 0.4666666667 0.4666666667 0.4666666667/16%);--color-shade-tertiary:color(display-p3 0.4666666667 0.4666666667 0.4666666667/22%);--color-foreground-primary:color(display-p3 0 0 0/94%);--color-foreground-secondary:color(display-p3 0.3882352941 0.3882352941 0.3882352941/90%);--color-foreground-tertiary:color(display-p3 0.3882352941 0.3882352941 0.3882352941/58%);--color-outline-primary:color(display-p3 0.4666666667 0.4666666667 0.4666666667/16%);--color-outline-secondary:color(display-p3 0.4666666667 0.4666666667 0.4666666667/26%);--color-overlay:color(display-p3 0 0 0/26%);--color-shadow:color(display-p3 0 0 0/6%)}}@media (-webkit-min-device-pixel-ratio: 1), (min-device-pixel-ratio: 1){:host{--hairline-width-positive:calc(1px / 1);--hairline-width-negative:calc(-1px / 1)}}@media (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2){:host{--hairline-width-positive:calc(1px / 2);--hairline-width-negative:calc(-1px / 2)}}@media (-webkit-min-device-pixel-ratio: 3), (min-device-pixel-ratio: 3){:host{--hairline-width-positive:calc(1px / 3);--hairline-width-negative:calc(-1px / 3)}}@media (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2){:host{--hairline-color:var(--color-outline-secondary)}}@media (prefers-color-scheme: dark){:host{--color-theme-pink-solid:#ff4171;--color-theme-red-solid:#ff482c;--color-theme-orange-solid:#ff811c;--color-theme-green-solid:#679c15;--color-theme-cyan-solid:#209bbf;--color-theme-blue-solid:#5b8bff;--color-theme-violet-solid:#ba69ff;--color-theme-pink-translucent:rgba(255, 65, 113, 0.26);--color-theme-red-translucent:rgba(255, 72, 44, 0.26);--color-theme-orange-translucent:rgba(255, 129, 28, 0.26);--color-theme-green-translucent:rgba(103, 156, 21, 0.26);--color-theme-cyan-translucent:rgba(32, 155, 191, 0.26);--color-theme-blue-translucent:rgba(91, 139, 255, 0.26);--color-theme-violet-translucent:rgba(186, 105, 255, 0.26);--color-on-theme:black;--color-surface-primary:black;--color-surface-secondary:#1b1b1b;--color-surface-tertiary:#282828;--color-shade-primary:rgba(119, 119, 119, 0.28);--color-shade-secondary:rgba(119, 119, 119, 0.34);--color-shade-tertiary:rgba(119, 119, 119, 0.4);--color-foreground-primary:rgba(255, 255, 255, 0.94);--color-foreground-secondary:rgba(139, 139, 139, 0.9);--color-foreground-tertiary:rgba(139, 139, 139, 0.58);--color-outline-primary:rgba(119, 119, 119, 0.26);--color-outline-secondary:rgba(119, 119, 119, 0.32);--color-overlay:rgba(0, 0, 0, 0.68);--color-shadow:rgba(0, 0, 0, 0.1)}@supports (color: color(display-p3 1 1 1)){:host{--color-theme-pink-solid:color(display-p3 1 0.2549019608 0.4431372549/100%);--color-theme-red-solid:color(display-p3 1 0.2823529412 0.1725490196/100%);--color-theme-orange-solid:color(display-p3 1 0.5058823529 0.1098039216/100%);--color-theme-green-solid:color(display-p3 0.4039215686 0.6117647059 0.0823529412/100%);--color-theme-cyan-solid:color(display-p3 0.1254901961 0.6078431373 0.7490196078/100%);--color-theme-blue-solid:color(display-p3 0.3568627451 0.5450980392 1/100%);--color-theme-violet-solid:color(display-p3 0.7294117647 0.4117647059 1/100%);--color-theme-pink-translucent:color(display-p3 1 0.2549019608 0.4431372549/26%);--color-theme-red-translucent:color(display-p3 1 0.2823529412 0.1725490196/26%);--color-theme-orange-translucent:color(display-p3 1 0.5058823529 0.1098039216/26%);--color-theme-green-translucent:color(display-p3 0.4039215686 0.6117647059 0.0823529412/26%);--color-theme-cyan-translucent:color(display-p3 0.1254901961 0.6078431373 0.7490196078/26%);--color-theme-blue-translucent:color(display-p3 0.3568627451 0.5450980392 1/26%);--color-theme-violet-translucent:color(display-p3 0.7294117647 0.4117647059 1/26%);--color-on-theme:color(display-p3 0 0 0/100%);--color-surface-primary:color(display-p3 0 0 0/100%);--color-surface-secondary:color(display-p3 0.1058823529 0.1058823529 0.1058823529/100%);--color-surface-tertiary:color(display-p3 0.1568627451 0.1568627451 0.1568627451/100%);--color-shade-primary:color(display-p3 0.4666666667 0.4666666667 0.4666666667/28%);--color-shade-secondary:color(display-p3 0.4666666667 0.4666666667 0.4666666667/34%);--color-shade-tertiary:color(display-p3 0.4666666667 0.4666666667 0.4666666667/40%);--color-foreground-primary:color(display-p3 1 1 1/94%);--color-foreground-secondary:color(display-p3 0.5450980392 0.5450980392 0.5450980392/90%);--color-foreground-tertiary:color(display-p3 0.5450980392 0.5450980392 0.5450980392/58%);--color-outline-primary:color(display-p3 0.4666666667 0.4666666667 0.4666666667/26%);--color-outline-secondary:color(display-p3 0.4666666667 0.4666666667 0.4666666667/32%);--color-overlay:color(display-p3 0 0 0/68%);--color-shadow:color(display-p3 0 0 0/10%)}}}:host(.blue){--color-theme-solid:var(--color-theme-blue-solid);--color-theme-translucent:var(--color-theme-blue-translucent)}:host(.cyan){--color-theme-solid:var(--color-theme-cyan-solid);--color-theme-translucent:var(--color-theme-cyan-translucent)}:host(.green){--color-theme-solid:var(--color-theme-green-solid);--color-theme-translucent:var(--color-theme-green-translucent)}:host(.orange){--color-theme-solid:var(--color-theme-orange-solid);--color-theme-translucent:var(--color-theme-orange-translucent)}:host(.pink){--color-theme-solid:var(--color-theme-pink-solid);--color-theme-translucent:var(--color-theme-pink-translucent)}:host(.red){--color-theme-solid:var(--color-theme-red-solid);--color-theme-translucent:var(--color-theme-red-translucent)}:host(.violet){--color-theme-solid:var(--color-theme-violet-solid);--color-theme-translucent:var(--color-theme-violet-translucent)}";
|
|
4536
|
+
const ezpPrintingCss = ":host{-ms-flex-line-pack:center;align-content:center;background:var(--color-surface-primary);color:var(--color-foreground-primary);display:grid;font-family:\"Inter\", sans-serif;-webkit-font-feature-settings:\"calt\", \"liga\", \"ss03\", \"zero\", \"cv05\", \"cv10\";font-feature-settings:\"calt\", \"liga\", \"ss03\", \"zero\", \"cv05\", \"cv10\";-webkit-font-kerning:normal;font-kerning:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;grid-template:auto/auto;-ms-flex-pack:center;justify-content:center;margin:0;min-height:100vh;-webkit-tap-highlight-color:transparent;text-rendering:optimizeLegibility;-webkit-text-size-adjust:none;--duration-1:0.1s;--duration-2:0.16s;--duration-3:0.26s;--duration-4:0.42s;--duration-5:0.68s;--duration-6:1s;--spacing-1:4px;--spacing-2:6px;--spacing-3:10px;--spacing-4:16px;--spacing-5:26px;--spacing-6:42px;--spacing-7:68px;--spacing-8:110px;--easing-in-quart:cubic-bezier(0.11, 0, 0.5, 0);--easing-in-out-quart:cubic-bezier(0.76, 0, 0.24, 1);--easing-in-out-cubic:cubic-bezier(0.65, 0, 0.35, 1);--easing-in-expo:cubic-bezier(0.7, 0, 0.84, 0);--easing-out-quart:cubic-bezier(0.25, 1, 0.5, 1);--easing-out-expo:cubic-bezier(0.16, 1, 0.3, 1);--hairline-color:var(--color-outline-primary);--color-theme-pink-solid-light:#f23267;--color-theme-red-solid-light:#f23b22;--color-theme-orange-solid-light:#fe7200;--color-theme-green-solid-light:#5d9200;--color-theme-cyan-solid-light:#0091b4;--color-theme-blue-solid-light:#4e81f3;--color-theme-violet-solid-light:#ae5ef3;--color-theme-pink-translucent-light:rgba(242, 50, 103, 0.16);--color-theme-red-translucent-light:rgba(242, 59, 34, 0.16);--color-theme-orange-translucent-light:rgba(254, 114, 0, 0.16);--color-theme-green-translucent-light:rgba(93, 146, 0, 0.16);--color-theme-cyan-translucent-light:rgba(0, 145, 180, 0.16);--color-theme-blue-translucent-light:rgba(78, 129, 243, 0.16);--color-theme-violet-translucent-light:rgba(174, 94, 243, 0.16);--color-on-theme-light:white;--color-surface-primary-light:white;--color-surface-secondary-light:#f3f3f3;--color-surface-tertiary-light:white;--color-shade-primary-light:rgba(119, 119, 119, 0.1);--color-shade-secondary-light:rgba(119, 119, 119, 0.16);--color-shade-tertiary-light:rgba(119, 119, 119, 0.22);--color-foreground-primary-light:rgba(0, 0, 0, 0.94);--color-foreground-secondary-light:rgba(99, 99, 99, 0.9);--color-foreground-tertiary-light:rgba(99, 99, 99, 0.58);--color-outline-primary-light:#e2e2e2;--color-outline-secondary-light:#d1d1d1;--color-overlay-light:rgba(0, 0, 0, 0.26);--color-shadow-light:rgba(0, 0, 0, 0.06);--color-theme-pink-solid-dark:#ff4171;--color-theme-red-solid-dark:#ff482c;--color-theme-orange-solid-dark:#ff811c;--color-theme-green-solid-dark:#679c15;--color-theme-cyan-solid-dark:#209bbf;--color-theme-blue-solid-dark:#5b8bff;--color-theme-violet-solid-dark:#ba69ff;--color-theme-pink-translucent-dark:rgba(255, 65, 113, 0.26);--color-theme-red-translucent-dark:rgba(255, 72, 44, 0.26);--color-theme-orange-translucent-dark:rgba(255, 129, 28, 0.26);--color-theme-green-translucent-dark:rgba(103, 156, 21, 0.26);--color-theme-cyan-translucent-dark:rgba(32, 155, 191, 0.26);--color-theme-blue-translucent-dark:rgba(91, 139, 255, 0.26);--color-theme-violet-translucent-dark:rgba(186, 105, 255, 0.26);--color-on-theme-dark:black;--color-surface-primary-dark:black;--color-surface-secondary-dark:#1b1b1b;--color-surface-tertiary-dark:#282828;--color-shade-primary-dark:rgba(119, 119, 119, 0.28);--color-shade-secondary-dark:rgba(119, 119, 119, 0.34);--color-shade-tertiary-dark:rgba(119, 119, 119, 0.4);--color-foreground-primary-dark:rgba(255, 255, 255, 0.94);--color-foreground-secondary-dark:rgba(139, 139, 139, 0.9);--color-foreground-tertiary-dark:rgba(139, 139, 139, 0.58);--color-outline-primary-dark:#3e3e3e;--color-outline-secondary-dark:#4b4b4b;--color-overlay-dark:rgba(0, 0, 0, 0.68);--color-shadow-dark:rgba(0, 0, 0, 0.1)}@media (-webkit-min-device-pixel-ratio: 1), (min-device-pixel-ratio: 1){:host{--hairline-width-positive:calc(1px / 1);--hairline-width-negative:calc(-1px / 1)}}@media (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2){:host{--hairline-width-positive:calc(1px / 2);--hairline-width-negative:calc(-1px / 2)}}@media (-webkit-min-device-pixel-ratio: 3), (min-device-pixel-ratio: 3){:host{--hairline-width-positive:calc(1px / 3);--hairline-width-negative:calc(-1px / 3)}}@media (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2){:host{--hairline-color:var(--color-outline-secondary)}}@supports (color: color(display-p3 1 1 1)){:host{--color-theme-pink-solid-light:color(display-p3 0.9490196078 0.1960784314 0.4039215686/100%);--color-theme-red-solid-light:color(display-p3 0.9490196078 0.231372549 0.1333333333/100%);--color-theme-orange-solid-light:color(display-p3 0.9960784314 0.4470588235 0/100%);--color-theme-green-solid-light:color(display-p3 0.3647058824 0.5725490196 0/100%);--color-theme-cyan-solid-light:color(display-p3 0 0.568627451 0.7058823529/100%);--color-theme-blue-solid-light:color(display-p3 0.3058823529 0.5058823529 0.9529411765/100%);--color-theme-violet-solid-light:color(display-p3 0.6823529412 0.368627451 0.9529411765/100%);--color-theme-pink-translucent-light:color(display-p3 0.9490196078 0.1960784314 0.4039215686/16%);--color-theme-red-translucent-light:color(display-p3 0.9490196078 0.231372549 0.1333333333/16%);--color-theme-orange-translucent-light:color(display-p3 0.9960784314 0.4470588235 0/16%);--color-theme-green-translucent-light:color(display-p3 0.3647058824 0.5725490196 0/16%);--color-theme-cyan-translucent-light:color(display-p3 0 0.568627451 0.7058823529/16%);--color-theme-blue-translucent-light:color(display-p3 0.3058823529 0.5058823529 0.9529411765/16%);--color-theme-violet-translucent-light:color(display-p3 0.6823529412 0.368627451 0.9529411765/16%);--color-on-theme-light:color(display-p3 1 1 1/100%);--color-surface-primary-light:color(display-p3 1 1 1/100%);--color-surface-secondary-light:color(display-p3 0.9529411765 0.9529411765 0.9529411765/100%);--color-surface-tertiary-light:color(display-p3 1 1 1/100%);--color-shade-primary-light:color(display-p3 0.4666666667 0.4666666667 0.4666666667/10%);--color-shade-secondary-light:color(display-p3 0.4666666667 0.4666666667 0.4666666667/16%);--color-shade-tertiary-light:color(display-p3 0.4666666667 0.4666666667 0.4666666667/22%);--color-foreground-primary-light:color(display-p3 0 0 0/94%);--color-foreground-secondary-light:color(display-p3 0.3882352941 0.3882352941 0.3882352941/90%);--color-foreground-tertiary-light:color(display-p3 0.3882352941 0.3882352941 0.3882352941/58%);--color-outline-primary-light:color(display-p3 0.8862745098 0.8862745098 0.8862745098/100%);--color-outline-secondary-light:color(display-p3 0.8196078431 0.8196078431 0.8196078431/100%);--color-overlay-light:color(display-p3 0 0 0/26%);--color-shadow-light:color(display-p3 0 0 0/6%)}}@supports (color: color(display-p3 1 1 1)){:host{--color-theme-pink-solid-dark:color(display-p3 1 0.2549019608 0.4431372549/100%);--color-theme-red-solid-dark:color(display-p3 1 0.2823529412 0.1725490196/100%);--color-theme-orange-solid-dark:color(display-p3 1 0.5058823529 0.1098039216/100%);--color-theme-green-solid-dark:color(display-p3 0.4039215686 0.6117647059 0.0823529412/100%);--color-theme-cyan-solid-dark:color(display-p3 0.1254901961 0.6078431373 0.7490196078/100%);--color-theme-blue-solid-dark:color(display-p3 0.3568627451 0.5450980392 1/100%);--color-theme-violet-solid-dark:color(display-p3 0.7294117647 0.4117647059 1/100%);--color-theme-pink-translucent-dark:color(display-p3 1 0.2549019608 0.4431372549/26%);--color-theme-red-translucent-dark:color(display-p3 1 0.2823529412 0.1725490196/26%);--color-theme-orange-translucent-dark:color(display-p3 1 0.5058823529 0.1098039216/26%);--color-theme-green-translucent-dark:color(display-p3 0.4039215686 0.6117647059 0.0823529412/26%);--color-theme-cyan-translucent-dark:color(display-p3 0.1254901961 0.6078431373 0.7490196078/26%);--color-theme-blue-translucent-dark:color(display-p3 0.3568627451 0.5450980392 1/26%);--color-theme-violet-translucent-dark:color(display-p3 0.7294117647 0.4117647059 1/26%);--color-on-theme-dark:color(display-p3 0 0 0/100%);--color-surface-primary-dark:color(display-p3 0 0 0/100%);--color-surface-secondary-dark:color(display-p3 0.1058823529 0.1058823529 0.1058823529/100%);--color-surface-tertiary-dark:color(display-p3 0.1568627451 0.1568627451 0.1568627451/100%);--color-shade-primary-dark:color(display-p3 0.4666666667 0.4666666667 0.4666666667/28%);--color-shade-secondary-dark:color(display-p3 0.4666666667 0.4666666667 0.4666666667/34%);--color-shade-tertiary-dark:color(display-p3 0.4666666667 0.4666666667 0.4666666667/40%);--color-foreground-primary-dark:color(display-p3 1 1 1/94%);--color-foreground-secondary-dark:color(display-p3 0.5450980392 0.5450980392 0.5450980392/90%);--color-foreground-tertiary-dark:color(display-p3 0.5450980392 0.5450980392 0.5450980392/58%);--color-outline-primary-dark:color(display-p3 0.2431372549 0.2431372549 0.2431372549/100%);--color-outline-secondary-dark:color(display-p3 0.2941176471 0.2941176471 0.2941176471/100%);--color-overlay-dark:color(display-p3 0 0 0/68%);--color-shadow-dark:color(display-p3 0 0 0/10%)}}:host,:host(.light){--color-theme-pink-solid:var(--color-theme-pink-solid-light);--color-theme-red-solid:var(--color-theme-red-solid-light);--color-theme-orange-solid:var(--color-theme-orange-solid-light);--color-theme-green-solid:var(--color-theme-green-solid-light);--color-theme-cyan-solid:var(--color-theme-cyan-solid-light);--color-theme-blue-solid:var(--color-theme-blue-solid-light);--color-theme-violet-solid:var(--color-theme-violet-solid-light);--color-theme-pink-translucent:var(--color-theme-pink-translucent-light);--color-theme-red-translucent:var(--color-theme-red-translucent-light);--color-theme-orange-translucent:var(--color-theme-orange-translucent-light);--color-theme-green-translucent:var(--color-theme-green-translucent-light);--color-theme-cyan-translucent:var(--color-theme-cyan-translucent-light);--color-theme-blue-translucent:var(--color-theme-blue-translucent-light);--color-theme-violet-translucent:var(--color-theme-violet-translucent-light);--color-on-theme:var(--color-on-theme-light);--color-surface-primary:var(--color-surface-primary-light);--color-surface-secondary:var(--color-surface-secondary-light);--color-surface-tertiary:var(--color-surface-tertiary-light);--color-shade-primary:var(--color-shade-primary-light);--color-shade-secondary:var(--color-shade-secondary-light);--color-shade-tertiary:var(--color-shade-tertiary-light);--color-foreground-primary:var(--color-foreground-primary-light);--color-foreground-secondary:var(--color-foreground-secondary-light);--color-foreground-tertiary:var(--color-foreground-tertiary-light);--color-outline-primary:var(--color-outline-primary-light);--color-outline-secondary:var(--color-outline-secondary-light);--color-overlay:var(--color-overlay-light);--color-shadow:var(--color-shadow-light)}:host(.dark){--color-theme-pink-solid:var(--color-theme-pink-solid-dark);--color-theme-red-solid:var(--color-theme-red-solid-dark);--color-theme-orange-solid:var(--color-theme-orange-solid-dark);--color-theme-green-solid:var(--color-theme-green-solid-dark);--color-theme-cyan-solid:var(--color-theme-cyan-solid-dark);--color-theme-blue-solid:var(--color-theme-blue-solid-dark);--color-theme-violet-solid:var(--color-theme-violet-solid-dark);--color-theme-pink-translucent:var(--color-theme-pink-translucent-dark);--color-theme-red-translucent:var(--color-theme-red-translucent-dark);--color-theme-orange-translucent:var(--color-theme-orange-translucent-dark);--color-theme-green-translucent:var(--color-theme-green-translucent-dark);--color-theme-cyan-translucent:var(--color-theme-cyan-translucent-dark);--color-theme-blue-translucent:var(--color-theme-blue-translucent-dark);--color-theme-violet-translucent:var(--color-theme-violet-translucent-dark);--color-on-theme:var(--color-on-theme-dark);--color-surface-primary:var(--color-surface-primary-dark);--color-surface-secondary:var(--color-surface-secondary-dark);--color-surface-tertiary:var(--color-surface-tertiary-dark);--color-shade-primary:var(--color-shade-primary-dark);--color-shade-secondary:var(--color-shade-secondary-dark);--color-shade-tertiary:var(--color-shade-tertiary-dark);--color-foreground-primary:var(--color-foreground-primary-dark);--color-foreground-secondary:var(--color-foreground-secondary-dark);--color-foreground-tertiary:var(--color-foreground-tertiary-dark);--color-outline-primary:var(--color-outline-primary-dark);--color-outline-secondary:var(--color-outline-secondary-dark);--color-overlay:var(--color-overlay-dark);--color-shadow:var(--color-shadow-dark)}@media (prefers-color-scheme: dark){:host{--color-theme-pink-solid:var(--color-theme-pink-solid-dark);--color-theme-red-solid:var(--color-theme-red-solid-dark);--color-theme-orange-solid:var(--color-theme-orange-solid-dark);--color-theme-green-solid:var(--color-theme-green-solid-dark);--color-theme-cyan-solid:var(--color-theme-cyan-solid-dark);--color-theme-blue-solid:var(--color-theme-blue-solid-dark);--color-theme-violet-solid:var(--color-theme-violet-solid-dark);--color-theme-pink-translucent:var(--color-theme-pink-translucent-dark);--color-theme-red-translucent:var(--color-theme-red-translucent-dark);--color-theme-orange-translucent:var(--color-theme-orange-translucent-dark);--color-theme-green-translucent:var(--color-theme-green-translucent-dark);--color-theme-cyan-translucent:var(--color-theme-cyan-translucent-dark);--color-theme-blue-translucent:var(--color-theme-blue-translucent-dark);--color-theme-violet-translucent:var(--color-theme-violet-translucent-dark);--color-on-theme:var(--color-on-theme-dark);--color-surface-primary:var(--color-surface-primary-dark);--color-surface-secondary:var(--color-surface-secondary-dark);--color-surface-tertiary:var(--color-surface-tertiary-dark);--color-shade-primary:var(--color-shade-primary-dark);--color-shade-secondary:var(--color-shade-secondary-dark);--color-shade-tertiary:var(--color-shade-tertiary-dark);--color-foreground-primary:var(--color-foreground-primary-dark);--color-foreground-secondary:var(--color-foreground-secondary-dark);--color-foreground-tertiary:var(--color-foreground-tertiary-dark);--color-outline-primary:var(--color-outline-primary-dark);--color-outline-secondary:var(--color-outline-secondary-dark);--color-overlay:var(--color-overlay-dark);--color-shadow:var(--color-shadow-dark)}}:host(.blue){--color-theme-solid:var(--color-theme-blue-solid);--color-theme-translucent:var(--color-theme-blue-translucent)}:host(.cyan){--color-theme-solid:var(--color-theme-cyan-solid);--color-theme-translucent:var(--color-theme-cyan-translucent)}:host(.green){--color-theme-solid:var(--color-theme-green-solid);--color-theme-translucent:var(--color-theme-green-translucent)}:host(.orange){--color-theme-solid:var(--color-theme-orange-solid);--color-theme-translucent:var(--color-theme-orange-translucent)}:host(.pink){--color-theme-solid:var(--color-theme-pink-solid);--color-theme-translucent:var(--color-theme-pink-translucent)}:host(.red){--color-theme-solid:var(--color-theme-red-solid);--color-theme-translucent:var(--color-theme-red-translucent)}:host(.violet){--color-theme-solid:var(--color-theme-violet-solid);--color-theme-translucent:var(--color-theme-violet-translucent)}";
|
|
4536
4537
|
|
|
4537
4538
|
let EzpPrinting = class {
|
|
4538
4539
|
constructor(hostRef) {
|
|
4539
4540
|
index.registerInstance(this, hostRef);
|
|
4540
4541
|
this.theme = 'cyan';
|
|
4542
|
+
this.appearance = 'system';
|
|
4541
4543
|
/**
|
|
4542
4544
|
*
|
|
4543
4545
|
* States
|
|
@@ -4601,6 +4603,7 @@ let EzpPrinting = class {
|
|
|
4601
4603
|
componentWillLoad() {
|
|
4602
4604
|
authStore.state.redirectUri = this.redirecturi;
|
|
4603
4605
|
userStore.state.theme = this.theme;
|
|
4606
|
+
userStore.state.appearance = this.appearance;
|
|
4604
4607
|
if (this.authapihosturl) {
|
|
4605
4608
|
authStore.state.authApiHostUrl = this.authapihosturl;
|
|
4606
4609
|
}
|
|
@@ -4622,12 +4625,12 @@ let EzpPrinting = class {
|
|
|
4622
4625
|
*
|
|
4623
4626
|
*/
|
|
4624
4627
|
render() {
|
|
4625
|
-
return (index.h(index.Host, { class: userStore.state.theme }, this.authOpen ? (index.h("ezp-auth", { clientID: this.clientid, redirectURI: this.redirecturi, hidelogin: this.hidelogin })) : this.printOpen ? (index.h("ezp-printer-selection", { clientID: this.clientid, redirectURI: this.redirecturi, filename: this.filename, fileurl: this.fileurl, filetype: this.filetype })) : this.custom ? (index.h("slot", null)) : (index.h("ezp-icon-button", { id: "print-trigger", icon: "printer", slot: "trigger", type: "button", onClick: () => this.open() }))));
|
|
4628
|
+
return (index.h(index.Host, { class: `${userStore.state.theme} ${userStore.state.appearance}` }, this.authOpen ? (index.h("ezp-auth", { clientID: this.clientid, redirectURI: this.redirecturi, hidelogin: this.hidelogin })) : this.printOpen ? (index.h("ezp-printer-selection", { clientID: this.clientid, redirectURI: this.redirecturi, filename: this.filename, fileurl: this.fileurl, filetype: this.filetype })) : this.custom ? (index.h("slot", null)) : (index.h("ezp-icon-button", { id: "print-trigger", icon: "printer", slot: "trigger", type: "button", onClick: () => this.open() }))));
|
|
4626
4629
|
}
|
|
4627
4630
|
};
|
|
4628
4631
|
EzpPrinting.style = ezpPrintingCss;
|
|
4629
4632
|
|
|
4630
|
-
const ezpProgressCss = ":host{--stroke-width:4;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;background:var(--color-overlay);border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;display:grid;grid-template:auto/auto;height:100%;-ms-flex-pack:center;justify-content:center;justify-items:center;left:0;padding:var(--spacing-6);position:absolute;top:0;width:100%;z-index:9999}@media (prefers-color-scheme: dark){:host{--box-separator-position:inset 0 0 0 var(--hairline-width-positive)}}#box{background:var(--color-surface-tertiary);border-radius:3px;-webkit-box-shadow:var(--box-separator-position, 0 0 0 var(--hairline-width-positive)) var(--hairline-color);box-shadow:var(--box-separator-position, 0 0 0 var(--hairline-width-positive)) var(--hairline-color);display:grid;grid-row-gap:var(--spacing-2);grid-template-columns:1fr;grid-template-rows:repeat(2, auto);justify-items:center;padding:var(--spacing-4)}#indicator{-webkit-animation:rotate var(--duration-6) linear infinite;animation:rotate var(--duration-6) linear infinite;display:block;height:44px;-webkit-transform:rotate(0);transform:rotate(0);width:44px}#track{fill:none;stroke:var(--color-outline-
|
|
4633
|
+
const ezpProgressCss = ":host{--stroke-width:4;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;background:var(--color-overlay);border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;display:grid;grid-template:auto/auto;height:100%;-ms-flex-pack:center;justify-content:center;justify-items:center;left:0;padding:var(--spacing-6);position:absolute;top:0;width:100%;z-index:9999}@media (prefers-color-scheme: dark){:host{--box-separator-position:inset 0 0 0 var(--hairline-width-positive)}}#box{background:var(--color-surface-tertiary);border-radius:3px;-webkit-box-shadow:var(--box-separator-position, 0 0 0 var(--hairline-width-positive)) var(--hairline-color);box-shadow:var(--box-separator-position, 0 0 0 var(--hairline-width-positive)) var(--hairline-color);display:grid;grid-row-gap:var(--spacing-2);grid-template-columns:1fr;grid-template-rows:repeat(2, auto);justify-items:center;padding:var(--spacing-4)}#indicator{-webkit-animation:rotate var(--duration-6) linear infinite;animation:rotate var(--duration-6) linear infinite;display:block;height:44px;-webkit-transform:rotate(0);transform:rotate(0);width:44px}#track{fill:none;stroke:var(--color-outline-primary);stroke-width:var(--stroke-width)}#value{-webkit-animation:offset var(--duration-6) linear alternate infinite;animation:offset var(--duration-6) linear alternate infinite;fill:none;stroke:var(--color-theme-solid);stroke-dasharray:100;stroke-dashoffset:100;stroke-linecap:round;stroke-width:var(--stroke-width)}#status{color:var(--color-foreground-primary)}@-webkit-keyframes offset{100%{stroke-dashoffset:50}}@keyframes offset{100%{stroke-dashoffset:50}}@-webkit-keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}";
|
|
4631
4634
|
|
|
4632
4635
|
let EzpProgress = class {
|
|
4633
4636
|
constructor(hostRef) {
|
|
@@ -4901,7 +4904,7 @@ let EzpTextButton = class {
|
|
|
4901
4904
|
};
|
|
4902
4905
|
EzpTextButton.style = ezpTextButtonCss;
|
|
4903
4906
|
|
|
4904
|
-
const ezpUserMenuCss = ":host{background:var(--color-surface-tertiary);border-radius:6px;-webkit-box-shadow:var(--host-separator-position, 0 0 0 var(--hairline-width-positive)) var(--hairline-color);box-shadow:var(--host-separator-position, 0 0 0 var(--hairline-width-positive)) var(--hairline-color);display:block;opacity:var(--host-opacity, 0);position:absolute;right:0;top:0;-webkit-transform:scale(var(--host-scale, 0.94, 0.94));transform:scale(var(--host-scale, 0.94, 0.94));-webkit-transform-origin:right top;transform-origin:right top;-webkit-transition:var(--host-transition, opacity var(--duration-3) var(--easing-out-quart), transform var(--duration-3) var(--easing-out-quart), visibility 0s var(--duration-3));transition:var(--host-transition, opacity var(--duration-3) var(--easing-out-quart), transform var(--duration-3) var(--easing-out-quart), visibility 0s var(--duration-3));visibility:var(--host-visibility, hidden);z-index:5}:host(.is-open){--host-opacity:1;--host-scale:1, 1;--host-transition:opacity var(--duration-3) var(--easing-out-quart),\n transform var(--duration-3) var(--easing-out-quart), visibility 0s 0s;--host-visibility:visible}@media (prefers-color-scheme: dark){:host{--host-separator-position:inset 0 0 0 var(--hairline-width-positive)}}#header{-ms-flex-align:center;align-items:center;-webkit-box-shadow:0 var(--hairline-width-positive) 0 0 var(--hairline-color);box-shadow:0 var(--hairline-width-positive) 0 0 var(--hairline-color);-webkit-box-shadow:0;box-shadow:0;display:grid;grid-template:auto/1fr auto;padding:var(--spacing-4) var(--spacing-3) var(--spacing-4) var(--spacing-4)}#name{color:var(--color-foreground-primary)}#close{margin:calc(var(--spacing-3) * -1) 0}#links{
|
|
4907
|
+
const ezpUserMenuCss = ":host{background:var(--color-surface-tertiary);border-radius:6px;-webkit-box-shadow:var(--host-separator-position, 0 0 0 var(--hairline-width-positive)) var(--hairline-color);box-shadow:var(--host-separator-position, 0 0 0 var(--hairline-width-positive)) var(--hairline-color);display:block;opacity:var(--host-opacity, 0);position:absolute;right:0;top:0;-webkit-transform:scale(var(--host-scale, 0.94, 0.94));transform:scale(var(--host-scale, 0.94, 0.94));-webkit-transform-origin:right top;transform-origin:right top;-webkit-transition:var(--host-transition, opacity var(--duration-3) var(--easing-out-quart), transform var(--duration-3) var(--easing-out-quart), visibility 0s var(--duration-3));transition:var(--host-transition, opacity var(--duration-3) var(--easing-out-quart), transform var(--duration-3) var(--easing-out-quart), visibility 0s var(--duration-3));visibility:var(--host-visibility, hidden);z-index:5}:host(.is-open){--host-opacity:1;--host-scale:1, 1;--host-transition:opacity var(--duration-3) var(--easing-out-quart),\n transform var(--duration-3) var(--easing-out-quart), visibility 0s 0s;--host-visibility:visible}@media (prefers-color-scheme: dark){:host{--host-separator-position:inset 0 0 0 var(--hairline-width-positive)}}#header{-ms-flex-align:center;align-items:center;-webkit-box-shadow:0 var(--hairline-width-positive) 0 0 var(--hairline-color);box-shadow:0 var(--hairline-width-positive) 0 0 var(--hairline-color);-webkit-box-shadow:0;box-shadow:0;display:grid;grid-template:auto/1fr auto;padding:var(--spacing-4) var(--spacing-3) var(--spacing-4) var(--spacing-4)}#name{color:var(--color-foreground-primary)}#close{margin:calc(var(--spacing-3) * -1) 0}#links{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:var(--spacing-2)}.link{-ms-flex-align:center;align-items:center;background:var(--link-background, transparent);border-radius:3px;color:var(--color-foreground-primary);cursor:pointer;display:grid;gap:var(--spacing-3);grid-template:auto/auto 1fr;padding:var(--spacing-3);text-decoration:none}.link:hover{--link-background:var(--color-shade-primary)}.link__icon{color:var(--color-theme-solid);margin:calc(var(--spacing-2) * -1) 0}#theme{-webkit-box-shadow:inset 0 var(--hairline-width-positive) 0 0 var(--hairline-color);box-shadow:inset 0 var(--hairline-width-positive) 0 0 var(--hairline-color);display:grid;gap:var(--spacing-3);grid-template:repeat(2, auto)/1fr;padding:var(--spacing-4) var(--spacing-4) var(--spacing-3)}#swatches{display:-ms-flexbox;display:flex;margin:0 calc(var(--spacing-2) * -1)}.swatch{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--swatch-background, transparent);border:0;border-radius:50%;color:var(--swatch-color);cursor:var(--swatch-cursor, pointer);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:0;opacity:var(--swatch-opacity, 1);outline:none;padding:var(--spacing-2)}@media (hover: hover){.swatch:not(.selected):hover{--swatch-background:var(--swatch-theme-translucent)}.swatch:not(.selected):active{--swatch-opacity:0.74}}.swatch.selected{--dot-boxShadowSize:10px;--swatch-background:var(--swatch-theme-translucent);--swatch-cursor:normal}.swatch.selected>.dot{-webkit-animation:dot-bounce var(--duration-2) ease-in-out;animation:dot-bounce var(--duration-2) ease-in-out}.swatch--blue{--swatch-theme-solid:var(--color-theme-blue-solid);--swatch-theme-translucent:var(--color-theme-blue-translucent)}.swatch--cyan{--swatch-theme-solid:var(--color-theme-cyan-solid);--swatch-theme-translucent:var(--color-theme-cyan-translucent)}.swatch--green{--swatch-theme-solid:var(--color-theme-green-solid);--swatch-theme-translucent:var(--color-theme-green-translucent)}.swatch--orange{--swatch-theme-solid:var(--color-theme-orange-solid);--swatch-theme-translucent:var(--color-theme-orange-translucent)}.swatch--pink{--swatch-theme-solid:var(--color-theme-pink-solid);--swatch-theme-translucent:var(--color-theme-pink-translucent)}.swatch--red{--swatch-theme-solid:var(--color-theme-red-solid);--swatch-theme-translucent:var(--color-theme-red-translucent)}.swatch--violet{--swatch-theme-solid:var(--color-theme-violet-solid);--swatch-theme-translucent:var(--color-theme-violet-translucent)}.dot{background:var(--dot-background, transparent);border-radius:50%;-webkit-box-shadow:inset 0 0 0 var(--dot-boxShadowSize, 4px) var(--swatch-theme-solid);box-shadow:inset 0 0 0 var(--dot-boxShadowSize, 4px) var(--swatch-theme-solid);height:18px;-webkit-transition:-webkit-box-shadow var(--duration-2);transition:-webkit-box-shadow var(--duration-2);transition:box-shadow var(--duration-2);transition:box-shadow var(--duration-2), -webkit-box-shadow var(--duration-2);width:18px}#appearance{-webkit-box-shadow:inset 0 var(--hairline-width-positive) 0 0 var(--hairline-color);box-shadow:inset 0 var(--hairline-width-positive) 0 0 var(--hairline-color);display:grid;gap:var(--spacing-3);grid-template:repeat(2, auto)/1fr;padding:var(--spacing-4) var(--spacing-4) var(--spacing-3)}#tabs{display:grid;grid-template:auto/repeat(3, 1fr);margin:0 calc(var(--spacing-2) * -1)}.tab{--icon-height:8px;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--tab-background, transparent);border:0;border-radius:14px;color:var(--tab-color, var(--color-foreground-secondary));cursor:var(--tab-cursor, pointer);display:-ms-flexbox;display:flex;gap:var(--spacing-2);-ms-flex-pack:center;justify-content:center;margin:0;outline:none;padding:var(--spacing-3) var(--spacing-3) var(--spacing-3) var(--spacing-2)}@media (hover: hover){.tab:not(.selected):hover{--tab-background:var(--color-shade-primary)}.tab:not(.selected):active{--tab-background:var(--color-shade-secondary)}}.tab.selected{--tab-background:var(--color-theme-translucent);--tab-color:var(--color-theme-solid);--tab-cursor:normal}@-webkit-keyframes dot-bounce{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}50%{-webkit-transform:scale(0.84, 0.84);transform:scale(0.84, 0.84)}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}}@keyframes dot-bounce{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}50%{-webkit-transform:scale(0.84, 0.84);transform:scale(0.84, 0.84)}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}}";
|
|
4905
4908
|
|
|
4906
4909
|
let EzpUserMenu = class {
|
|
4907
4910
|
constructor(hostRef) {
|
|
@@ -4922,6 +4925,11 @@ let EzpUserMenu = class {
|
|
|
4922
4925
|
},
|
|
4923
4926
|
];
|
|
4924
4927
|
this.themes = ['pink', 'red', 'orange', 'green', 'cyan', 'blue', 'violet'];
|
|
4928
|
+
this.appearances = [
|
|
4929
|
+
{ title: 'System', name: 'system' },
|
|
4930
|
+
{ title: 'Light', name: 'light' },
|
|
4931
|
+
{ title: 'Dark', name: 'dark' },
|
|
4932
|
+
];
|
|
4925
4933
|
this.name = 'John Doe';
|
|
4926
4934
|
this.open = false;
|
|
4927
4935
|
this.handleClose = () => {
|
|
@@ -4935,6 +4943,9 @@ let EzpUserMenu = class {
|
|
|
4935
4943
|
this.handleTheme = (theme) => {
|
|
4936
4944
|
userStore.state.theme = theme;
|
|
4937
4945
|
};
|
|
4946
|
+
this.handleAppearance = (appearance) => {
|
|
4947
|
+
userStore.state.appearance = appearance;
|
|
4948
|
+
};
|
|
4938
4949
|
}
|
|
4939
4950
|
/**
|
|
4940
4951
|
*
|
|
@@ -4976,7 +4987,7 @@ let EzpUserMenu = class {
|
|
|
4976
4987
|
*
|
|
4977
4988
|
*/
|
|
4978
4989
|
render() {
|
|
4979
|
-
return (index.h(index.Host, { class: this.open ? 'is-open' : '' }, index.h("div", { id: "header" }, index.h("ezp-label", { ellipsis: true, id: "name", weight: "strong", text: this.name }), index.h("ezp-icon-button", { id: "close", level: "tertiary", icon: "close", onClick: this.handleClose })), index.h("div", { id: "links" }, this.links.map((link) => (index.h("a", { class: "link", href: link.href, target: "_blank", rel: "noopener noreferrer" }, index.h("ezp-icon", { class: "link__icon", name: link.icon }), index.h("ezp-label", { text: link.title })))), index.h("a", { class: "link", onClick: this.logOut }, index.h("ezp-icon", { class: "link__icon", name: "logout" }), index.h("ezp-label", { text: "Logout" }))), index.h("div", { id: "theme" }, index.h("ezp-label", { text: "Color Theme:" }), index.h("div", { id: "swatches" }, this.themes.map((theme) => (index.h("button", { class: `swatch swatch--${theme} ${theme === userStore.state.theme ? 'selected' : ''}`, onClick: () => this.handleTheme(theme) }, index.h("span", { class: "dot" }))))))));
|
|
4990
|
+
return (index.h(index.Host, { class: this.open ? 'is-open' : '' }, index.h("div", { id: "header" }, index.h("ezp-label", { ellipsis: true, id: "name", weight: "strong", text: this.name }), index.h("ezp-icon-button", { id: "close", level: "tertiary", icon: "close", onClick: this.handleClose })), index.h("div", { id: "links" }, this.links.map((link) => (index.h("a", { class: "link", href: link.href, target: "_blank", rel: "noopener noreferrer" }, index.h("ezp-icon", { class: "link__icon", name: link.icon }), index.h("ezp-label", { text: link.title })))), index.h("a", { class: "link", onClick: this.logOut }, index.h("ezp-icon", { class: "link__icon", name: "logout" }), index.h("ezp-label", { text: "Logout" }))), index.h("div", { id: "theme" }, index.h("ezp-label", { text: "Color Theme:", weight: "strong" }), index.h("div", { id: "swatches" }, this.themes.map((theme) => (index.h("button", { class: `swatch swatch--${theme} ${theme === userStore.state.theme ? 'selected' : ''}`, onClick: () => this.handleTheme(theme) }, index.h("span", { class: "dot" })))))), index.h("div", { id: "appearance" }, index.h("ezp-label", { text: "Appearance:", weight: "strong" }), index.h("div", { id: "tabs" }, this.appearances.map((appearance) => (index.h("button", { class: `tab ${appearance.name === userStore.state.appearance ? 'selected' : ''}`, onClick: () => this.handleAppearance(appearance.name) }, index.h("ezp-icon", { name: appearance.name }), index.h("ezp-label", { text: appearance.title, level: "tertiary", weight: "strong" }))))))));
|
|
4980
4991
|
}
|
|
4981
4992
|
get component() { return index.getElement(this); }
|
|
4982
4993
|
static get watchers() { return {
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -16,7 +16,7 @@ const defineCustomElements = (win, options) => {
|
|
|
16
16
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
17
17
|
return patchEsm().then(() => {
|
|
18
18
|
appGlobals.globalScripts();
|
|
19
|
-
return index.bootstrapLazy([["ezp-auth_12.cjs",[[1,"ezp-printing",{"clientid":[1],"redirecturi":[1],"filename":[1],"fileurl":[1],"filetype":[1],"custom":[4],"hidelogin":[4],"authapihosturl":[1],"printapihosturl":[1],"theme":[1],"printOpen":[32],"authOpen":[32],"open":[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authShow","listenAuthShow"],[0,"printShow","listenPrintShow"]]],[1,"ezp-printer-selection",{"clientID":[1,"client-i-d"],"redirectURI":[1,"redirect-u-r-i"],"filename":[1],"fileurl":[1],"filetype":[1],"loading":[32],"options":[32],"printInProgress":[32],"userMenuOpen":[32],"userName":[32],"printers":[32],"selectedPrinter":[32],"printerConfig":[32],"selectedProperties":[32],"previouslySelectedProperties":[32]},[[0,"selectSelection","listenSelectSelection"],[0,"stepperChanged","listenStepperChanged"],[0,"userMenuClosure","listenUserMenuClosure"],[0,"logoutEmitter","listenLogout"]]],[1,"ezp-auth",{"clientID":[1025,"client-i-d"],"redirectURI":[1025,"redirect-u-r-i"],"hidelogin":[4],"auth":[32],"authURI":[32],"accessToken":[32]}],[1,"ezp-user-menu",{"name":[1],"open":[1028]}],[1,"ezp-select",{"icon":[1],"label":[1],"optionFlow":[1,"option-flow"],"options":[16],"placeholder":[1],"preSelected":[8,"pre-selected"],"toggleFlow":[1,"toggle-flow"],"expanded":[32],"selected":[32]}],[1,"ezp-stepper",{"icon":[1],"label":[1],"max":[2],"min":[2],"canDecrease":[32],"canIncrease":[32],"focused":[32],"value":[32]}],[1,"ezp-progress",{"status":[1]}],[1,"ezp-text-button",{"blank":[4],"disabled":[4],"href":[1],"level":[1],"label":[1],"type":[1]}],[1,"ezp-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}],[1,"ezp-backdrop",{"visible":[1028]},[[0,"animationend","listenAnimationEnd"]]],[1,"ezp-icon",{"name":[1],"size":[1]}],[1,"ezp-label",{"ellipsis":[4],"level":[1],"noWrap":[4,"no-wrap"],"text":[1],"weight":[1]}]]]], options);
|
|
19
|
+
return index.bootstrapLazy([["ezp-auth_12.cjs",[[1,"ezp-printing",{"clientid":[1],"redirecturi":[1],"filename":[1],"fileurl":[1],"filetype":[1],"custom":[4],"hidelogin":[4],"authapihosturl":[1],"printapihosturl":[1],"theme":[1],"appearance":[1],"printOpen":[32],"authOpen":[32],"open":[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authShow","listenAuthShow"],[0,"printShow","listenPrintShow"]]],[1,"ezp-printer-selection",{"clientID":[1,"client-i-d"],"redirectURI":[1,"redirect-u-r-i"],"filename":[1],"fileurl":[1],"filetype":[1],"loading":[32],"options":[32],"printInProgress":[32],"userMenuOpen":[32],"userName":[32],"printers":[32],"selectedPrinter":[32],"printerConfig":[32],"selectedProperties":[32],"previouslySelectedProperties":[32]},[[0,"selectSelection","listenSelectSelection"],[0,"stepperChanged","listenStepperChanged"],[0,"userMenuClosure","listenUserMenuClosure"],[0,"logoutEmitter","listenLogout"]]],[1,"ezp-auth",{"clientID":[1025,"client-i-d"],"redirectURI":[1025,"redirect-u-r-i"],"hidelogin":[4],"auth":[32],"authURI":[32],"accessToken":[32]}],[1,"ezp-user-menu",{"name":[1],"open":[1028]}],[1,"ezp-select",{"icon":[1],"label":[1],"optionFlow":[1,"option-flow"],"options":[16],"placeholder":[1],"preSelected":[8,"pre-selected"],"toggleFlow":[1,"toggle-flow"],"expanded":[32],"selected":[32]}],[1,"ezp-stepper",{"icon":[1],"label":[1],"max":[2],"min":[2],"canDecrease":[32],"canIncrease":[32],"focused":[32],"value":[32]}],[1,"ezp-progress",{"status":[1]}],[1,"ezp-text-button",{"blank":[4],"disabled":[4],"href":[1],"level":[1],"label":[1],"type":[1]}],[1,"ezp-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}],[1,"ezp-backdrop",{"visible":[1028]},[[0,"animationend","listenAnimationEnd"]]],[1,"ezp-icon",{"name":[1],"size":[1]}],[1,"ezp-label",{"ellipsis":[4],"level":[1],"noWrap":[4,"no-wrap"],"text":[1],"weight":[1]}]]]], options);
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg viewBox="0 0 22 22" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.99996 14.9999C10.9705 14.9999 15 10.9705 15 5.99994C15 4.54599 14.6552 3.17257 14.0429 1.95697C16.9831 3.43778 19 6.48334 19 9.99997C19 14.9705 14.9706 19 10 19C6.4834 19 3.43785 16.9831 1.95703 14.0429C3.17262 14.6552 4.54603 14.9999 5.99996 14.9999Z" />
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg viewBox="0 0 22 22" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.17318 1.7612C7.68343 1.54985 8.26839 1.79215 8.47974 2.30239L9.24511 4.15015C9.45646 4.6604 9.21416 5.24536 8.70392 5.45671C8.19367 5.66806 7.6087 5.42576 7.39735 4.91552L6.63199 3.06776C6.42064 2.55751 6.66294 1.97255 7.17318 1.7612ZM16 11C16 13.7614 13.7614 16 11 16C8.23859 16 6.00002 13.7614 6.00002 11C6.00002 8.23859 8.23859 6.00002 11 6.00002C13.7614 6.00002 16 8.23859 16 11ZM14.6027 17.0845C14.3913 16.5743 13.8064 16.332 13.2961 16.5433C12.7859 16.7547 12.5436 17.3396 12.7549 17.8499L13.5203 19.6976C13.7316 20.2079 14.3166 20.4502 14.8268 20.2388C15.3371 20.0275 15.5794 19.4425 15.368 18.9323L14.6027 17.0845ZM1.76126 7.17318C1.97261 6.66294 2.55758 6.42064 3.06782 6.63199L4.91558 7.39735C5.42582 7.6087 5.66813 8.19367 5.45678 8.70392C5.24543 9.21416 4.66046 9.45646 4.15021 9.24511L2.30245 8.47974C1.79221 8.26839 1.54991 7.68343 1.76126 7.17318ZM19.6976 13.5203L17.8499 12.7549C17.3396 12.5436 16.7547 12.7859 16.5433 13.2961C16.332 13.8064 16.5743 14.3913 17.0845 14.6027L18.9323 15.368C19.4425 15.5794 20.0275 15.3371 20.2388 14.8268C20.4502 14.3166 20.2079 13.7316 19.6976 13.5203ZM1.7612 14.8269C1.54985 14.3166 1.79215 13.7316 2.30239 13.5203L4.15015 12.7549C4.6604 12.5436 5.24536 12.7859 5.45671 13.2961C5.66806 13.8064 5.42576 14.3913 4.91552 14.6027L3.06776 15.368C2.55751 15.5794 1.97255 15.3371 1.7612 14.8269ZM17.0845 7.39737C16.5743 7.60872 16.332 8.19368 16.5433 8.70393C16.7547 9.21417 17.3396 9.45648 17.8499 9.24513L19.6976 8.47976C20.2079 8.26841 20.4502 7.68344 20.2388 7.1732C20.0275 6.66295 19.4425 6.42065 18.9323 6.632L17.0845 7.39737ZM7.17318 20.2388C6.66294 20.0274 6.42064 19.4425 6.63199 18.9322L7.39735 17.0845C7.6087 16.5742 8.19367 16.3319 8.70392 16.5433C9.21416 16.7546 9.45646 17.3396 9.24511 17.8498L8.47974 19.6976C8.26839 20.2078 7.68343 20.4501 7.17318 20.2388ZM12.7549 4.15017C12.5436 4.66042 12.7859 5.24538 13.2961 5.45673C13.8064 5.66808 14.3913 5.42578 14.6027 4.91554L15.368 3.06778C15.5794 2.55753 15.3371 1.97257 14.8268 1.76122C14.3166 1.54987 13.7316 1.79217 13.5203 2.30241L12.7549 4.15017Z" />
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg viewBox="0 0 22 22" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4 11C4 7.13401 7.13401 4 11 4C14.866 4 18 7.13401 18 11C18 14.866 14.866 18 11 18C7.13401 18 4 14.866 4 11ZM11 2C6.02944 2 2 6.02944 2 11C2 15.9706 6.02944 20 11 20C15.9706 20 20 15.9706 20 11C20 6.02944 15.9706 2 11 2ZM5 11C5 12.6569 5.67157 14.1569 6.75736 15.2426L15.2426 6.75736C14.1569 5.67157 12.6569 5 11 5C7.68629 5 5 7.68629 5 11Z" />
|
|
3
|
+
</svg>
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
display: block;
|
|
9
9
|
display: grid;
|
|
10
10
|
grid-template: var(--host-gridTemplate)/var(--host-gridTemplate);
|
|
11
|
-
height: var(--host-size);
|
|
11
|
+
height: var(--icon-height, var(--host-size));
|
|
12
12
|
justify-content: center;
|
|
13
|
-
width: var(--host-size);
|
|
13
|
+
width: var(--icon-width, var(--host-size));
|
|
14
14
|
}
|
|
15
15
|
:host(.normal) {
|
|
16
16
|
--host-size: 18px;
|
|
@@ -41,7 +41,7 @@ export class EzpIcon {
|
|
|
41
41
|
"mutable": false,
|
|
42
42
|
"complexType": {
|
|
43
43
|
"original": "IconNameTypes",
|
|
44
|
-
"resolved": "\"account\" | \"checkmark\" | \"close\" | \"color\" | \"copies\" | \"duplex\" | \"expand\" | \"help\" | \"logout\" | \"menu\" | \"minus\" | \"orientation\" | \"plus\" | \"printer\" | \"quality\" | \"size\"",
|
|
44
|
+
"resolved": "\"account\" | \"checkmark\" | \"close\" | \"color\" | \"copies\" | \"dark\" | \"duplex\" | \"expand\" | \"help\" | \"light\" | \"logout\" | \"menu\" | \"minus\" | \"orientation\" | \"plus\" | \"printer\" | \"quality\" | \"size\" | \"system\"",
|
|
45
45
|
"references": {
|
|
46
46
|
"IconNameTypes": {
|
|
47
47
|
"location": "import",
|
|
@@ -100,7 +100,7 @@ export class EzpIconButton {
|
|
|
100
100
|
"mutable": false,
|
|
101
101
|
"complexType": {
|
|
102
102
|
"original": "IconNameTypes",
|
|
103
|
-
"resolved": "\"account\" | \"checkmark\" | \"close\" | \"color\" | \"copies\" | \"duplex\" | \"expand\" | \"help\" | \"logout\" | \"menu\" | \"minus\" | \"orientation\" | \"plus\" | \"printer\" | \"quality\" | \"size\"",
|
|
103
|
+
"resolved": "\"account\" | \"checkmark\" | \"close\" | \"color\" | \"copies\" | \"dark\" | \"duplex\" | \"expand\" | \"help\" | \"light\" | \"logout\" | \"menu\" | \"minus\" | \"orientation\" | \"plus\" | \"printer\" | \"quality\" | \"size\" | \"system\"",
|
|
104
104
|
"references": {
|
|
105
105
|
"IconNameTypes": {
|
|
106
106
|
"location": "import",
|
|
@@ -53,12 +53,11 @@
|
|
|
53
53
|
#container {
|
|
54
54
|
background: var(--color-surface-tertiary);
|
|
55
55
|
border-radius: 6px;
|
|
56
|
-
box-shadow: var(--container-separator-position, 0 0 0 var(--hairline-width-positive)) var(--hairline-color), 0 var(--spacing-3) var(--spacing-4) 0 var(--color-shadow), 0 var(--spacing-4) var(--spacing-5) 0 var(--color-shadow), 0 var(--spacing-5) var(--spacing-6) 0 var(--color-shadow), 0 var(--spacing-6) var(--spacing-7) 0 var(--color-shadow), 0 var(--spacing-7) var(--spacing-8) 0 var(--color-shadow);
|
|
57
56
|
position: relative;
|
|
58
57
|
}
|
|
59
58
|
|
|
60
59
|
#header {
|
|
61
|
-
box-shadow:
|
|
60
|
+
box-shadow: inset 0 var(--hairline-width-negative) 0 0 var(--hairline-color);
|
|
62
61
|
color: var(--color-foreground-primary);
|
|
63
62
|
display: grid;
|
|
64
63
|
grid-column-gap: var(--spacing-1);
|
|
@@ -84,7 +83,7 @@
|
|
|
84
83
|
}
|
|
85
84
|
|
|
86
85
|
#footer {
|
|
87
|
-
box-shadow:
|
|
86
|
+
box-shadow: inset 0 var(--hairline-width-positive) 0 0 var(--hairline-color);
|
|
88
87
|
display: grid;
|
|
89
88
|
grid-column-gap: var(--spacing-2);
|
|
90
89
|
grid-template-columns: repeat(2, 1fr);
|
|
@@ -250,7 +250,7 @@ export class EzpPrinterSelection {
|
|
|
250
250
|
title: i18next.t('printer_selection.color_grayscale'),
|
|
251
251
|
meta: '',
|
|
252
252
|
type: 'color',
|
|
253
|
-
}
|
|
253
|
+
},
|
|
254
254
|
], preSelected: this.previouslySelectedProperties.color }),
|
|
255
255
|
h("ezp-select", { label: i18next.t('printer_selection.orientation'), icon: "orientation", placeholder: i18next.t('printer_selection.select_orientation'), toggleFlow: "horizontal", options: this.printerConfig.OrientationsSupported.map((orientation, index) => ({
|
|
256
256
|
id: index,
|