@ezeep/ezeep-js 1.0.160 → 1.0.164

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.
Files changed (32) hide show
  1. package/dist/cjs/ezeep.cjs.js +1 -1
  2. package/dist/cjs/ezp-auth_14.cjs.entry.js +60 -138
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/collection/components/ezp-auth/ezp-auth.js +3 -3
  5. package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.js +34 -55
  6. package/dist/collection/components/ezp-printing/ezp-printing.js +33 -1
  7. package/dist/collection/components/ezp-select/ezp-select.js +2 -0
  8. package/dist/collection/services/auth.js +5 -3
  9. package/dist/collection/services/print.js +0 -1
  10. package/dist/custom-elements/index.js +61 -139
  11. package/dist/directives/proxies.ts +1 -1
  12. package/dist/esm/ezeep.js +1 -1
  13. package/dist/esm/ezp-auth_14.entry.js +60 -138
  14. package/dist/esm/loader.js +1 -1
  15. package/dist/esm-es5/ezeep.js +1 -1
  16. package/dist/esm-es5/ezp-auth_14.entry.js +2 -2
  17. package/dist/esm-es5/loader.js +1 -1
  18. package/dist/ezeep/ezeep.esm.js +1 -1
  19. package/dist/ezeep/{p-9ff19f99.entry.js → p-2bac1003.entry.js} +2 -2
  20. package/dist/ezeep/p-80d5c308.system.js +1 -1
  21. package/dist/ezeep/{p-e762ca0f.system.entry.js → p-a78a89f7.system.entry.js} +3 -3
  22. package/dist/types/components/ezp-printer-selection/ezp-printer-selection.d.ts +2 -16
  23. package/dist/types/components/ezp-printing/ezp-printing.d.ts +3 -0
  24. package/dist/types/components.d.ts +1 -0
  25. package/dist/types/services/print.d.ts +1 -1
  26. package/package.json +1 -1
  27. package/readme.md +6 -6
  28. package/www/build/ezeep.esm.js +1 -1
  29. package/www/build/{p-9ff19f99.entry.js → p-2bac1003.entry.js} +2 -2
  30. package/www/build/p-80d5c308.system.js +1 -1
  31. package/www/build/{p-e762ca0f.system.entry.js → p-a78a89f7.system.entry.js} +3 -3
  32. package/www/index.html +5 -6
@@ -3150,9 +3150,11 @@ function sendCodeToParentWindow() {
3150
3150
  const params = new URLSearchParams(window.location.search);
3151
3151
  const code = params.get('code');
3152
3152
  if (window.opener) {
3153
- // send them to the opening window
3154
- window.opener.postMessage(code, authStore.state.redirectUri);
3155
- window.close();
3153
+ if (code) {
3154
+ // send them to the opening window
3155
+ window.opener.postMessage(code, authStore.state.redirectUri);
3156
+ window.close();
3157
+ }
3156
3158
  }
3157
3159
  }
3158
3160
 
@@ -3179,17 +3181,17 @@ let EzpAuth = class {
3179
3181
  // remove any existing event listeners
3180
3182
  window.removeEventListener('message', this.receiveMessage);
3181
3183
  // window features
3182
- const strWindowFeatures = 'toolbar=no, menubar=no, width=600, height=7000, top=100, left=100';
3184
+ const windowFeatures = 'toolbar=no, menubar=no, width=600, height=7000, top=100, left=100';
3183
3185
  if (this.oauthPopupWindow === null || this.oauthPopupWindow.closed) {
3184
3186
  /* if the pointer to the window object in memory does not exist
3185
3187
  or if such pointer exists but the window was closed */
3186
- this.oauthPopupWindow = window.open(url, name, strWindowFeatures);
3188
+ this.oauthPopupWindow = window.open(url, name, windowFeatures);
3187
3189
  }
3188
3190
  else if (this.previousUrl !== this.auth.authURI.toString()) {
3189
3191
  /* if the resource to load is different,
3190
3192
  then we load it in the already opened secondary window and then
3191
3193
  we bring such window back on top/in front of its parent window. */
3192
- this.oauthPopupWindow = window.open(url, name, strWindowFeatures);
3194
+ this.oauthPopupWindow = window.open(url, name, windowFeatures);
3193
3195
  this.oauthPopupWindow.focus();
3194
3196
  }
3195
3197
  else {
@@ -32426,7 +32428,6 @@ class EzpPrintService {
32426
32428
  this.clientID = clientID;
32427
32429
  this.printingApi = printStore.state.printApiHostUrl;
32428
32430
  this.checkStoredRefreshToken();
32429
- this.registerFetchInterceptor();
32430
32431
  }
32431
32432
  checkStoredRefreshToken() {
32432
32433
  if (authStore.state.refreshToken !== '') {
@@ -32603,84 +32604,6 @@ const userStore = createStore({
32603
32604
  appearance: '',
32604
32605
  });
32605
32606
 
32606
- const colors = [
32607
- {
32608
- id: 1,
32609
- name: "Grayscale"
32610
- },
32611
- {
32612
- id: 2,
32613
- name: "Color"
32614
- }
32615
- ];
32616
- const orientations = [
32617
- {
32618
- id: 1,
32619
- name: "Portrait"
32620
- },
32621
- {
32622
- id: 2,
32623
- name: "Landscape"
32624
- }
32625
- ];
32626
- const sizes = [
32627
- {
32628
- id: 1,
32629
- name: "Auto",
32630
- description: "Document size"
32631
- },
32632
- {
32633
- id: 2,
32634
- name: "Letter",
32635
- description: "8.5 x 11 in"
32636
- },
32637
- {
32638
- id: 3,
32639
- name: "Ledger",
32640
- description: "11 x 17 in"
32641
- },
32642
- {
32643
- id: 4,
32644
- name: "Legal",
32645
- description: "8.5 x 14 in"
32646
- },
32647
- {
32648
- id: 5,
32649
- name: "Executive",
32650
- description: "7.25 x 10.5 in"
32651
- },
32652
- {
32653
- id: 6,
32654
- name: "A3",
32655
- description: "11.7 x 16.5 in"
32656
- },
32657
- {
32658
- id: 7,
32659
- name: "A4",
32660
- description: "8.3 x 11.7 in"
32661
- },
32662
- {
32663
- id: 8,
32664
- name: "A5",
32665
- description: "5.8 x 8.3 in"
32666
- },
32667
- {
32668
- id: 9,
32669
- name: "Folio",
32670
- description: "8.5 x 13 in"
32671
- },
32672
- {
32673
- id: 10,
32674
- name: "Com-10",
32675
- description: "4.125 x 9.5 in"
32676
- }
32677
- ];
32678
- const options = {
32679
- colors: colors,
32680
- orientations: orientations,
32681
- sizes: sizes
32682
- };
32683
-
32684
32607
  const ezpPrinterSelectionCss = ":host{-ms-flex-line-pack:center;align-content:center;background:var(--ezp-color-overlay-primary);display:grid;grid-template:auto/320px;height:100vh;-ms-flex-pack:center;justify-content:center;left:0;position:fixed;top:0;width:100vw}#box{background:var(--ezp-color-surface-tertiary);border-radius:6px;-webkit-box-shadow:var(--ezp-printerSelection-box-boxShadow, 0 0 0 1px var(--ezp-color-overlay-secondary));box-shadow:var(--ezp-printerSelection-box-boxShadow, 0 0 0 1px var(--ezp-color-overlay-secondary));position:relative}#header{border-radius:6px 6px 0 0;-webkit-box-shadow:var(--ezp-printerSelection-header-boxShadowPosition, 0 1px 0 0) var(--ezp-color-outline);box-shadow:var(--ezp-printerSelection-header-boxShadowPosition, 0 1px 0 0) var(--ezp-color-outline);color:var(--ezp-color-foreground-primary);display:grid;grid-column-gap:var(--ezp-spacing-1);grid-template-columns:auto 1fr auto;padding:var(--ezp-spacing-4) var(--ezp-spacing-3) var(--ezp-spacing-4) var(--ezp-spacing-4);position:relative;z-index:3}#toggle-menu{margin:calc(var(--ezp-spacing-3) * -1) 0;position:relative;z-index:2}#body{background:var(--ezp-color-surface-secondary);-webkit-box-shadow:var(--ezp-printerSelection-body-boxShadow, none);box-shadow:var(--ezp-printerSelection-body-boxShadow, none);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-2);padding:var(--ezp-spacing-2)}#footer{border-radius:0 0 6px 6px;-webkit-box-shadow:var(--ezp-printerSelection-footer-boxShadowPosition, 0 -1px 0 0) var(--ezp-color-outline);box-shadow:var(--ezp-printerSelection-footer-boxShadowPosition, 0 -1px 0 0) var(--ezp-color-outline);display:grid;grid-column-gap:var(--ezp-spacing-2);grid-template-columns:repeat(2, 1fr);padding:var(--ezp-spacing-2);position:relative;z-index:3}";
32685
32608
 
32686
32609
  let EzpPrinterSelection = class {
@@ -32711,7 +32634,6 @@ let EzpPrinterSelection = class {
32711
32634
  *
32712
32635
  */
32713
32636
  this.loading = true;
32714
- this.options = options;
32715
32637
  this.printProcessing = false;
32716
32638
  this.uploading = false;
32717
32639
  this.preparingUpload = false;
@@ -32757,12 +32679,13 @@ let EzpPrinterSelection = class {
32757
32679
  return false;
32758
32680
  };
32759
32681
  this.POLL_INTERVAL = 2000;
32682
+ this.MAX_POLL_ATTEMPTS = 1000;
32760
32683
  /** Description... */
32761
32684
  this.handlePrint = async () => {
32762
32685
  this.printProcessing = true;
32763
32686
  // we have to initialse this obj with empty strings to display the select component
32764
32687
  // but don't want to send any attributes with empty strings to the API
32765
- this.selectedProperties = removeEmptyStrings(this.selectedProperties);
32688
+ const cleanPrintProperties = removeEmptyStrings(this.selectedProperties);
32766
32689
  // put it in store for further use
32767
32690
  printStore.state.fileUrl = this.fileurl;
32768
32691
  printStore.state.fileID = this.fileid;
@@ -32772,11 +32695,11 @@ let EzpPrinterSelection = class {
32772
32695
  printStore.state.fileName = this.filename;
32773
32696
  if (this.fileurl) {
32774
32697
  this.printService
32775
- .printFileByUrl(authStore.state.accessToken, this.fileurl, this.filetype, this.selectedPrinter.id, this.selectedProperties, this.filename)
32698
+ .printFileByUrl(authStore.state.accessToken, this.fileurl, this.filetype, this.selectedPrinter.id, cleanPrintProperties, this.filename)
32776
32699
  .then((response) => {
32777
32700
  if (response.status === 412) {
32778
32701
  response.json().then((data) => (this.fileid = data.fileid));
32779
- this.printService.printByFileID(authStore.state.accessToken, this.fileid, this.filetype, this.selectedPrinter.id, this.selectedProperties, this.filename);
32702
+ this.printService.printByFileID(authStore.state.accessToken, this.fileid, this.filetype, this.selectedPrinter.id, cleanPrintProperties, this.filename);
32780
32703
  }
32781
32704
  else {
32782
32705
  return response.json();
@@ -32793,7 +32716,7 @@ let EzpPrinterSelection = class {
32793
32716
  fn: this.printService.getPrintStatus,
32794
32717
  validate: this.validateData,
32795
32718
  interval: this.POLL_INTERVAL,
32796
- maxAttempts: 30,
32719
+ maxAttempts: this.MAX_POLL_ATTEMPTS,
32797
32720
  }).catch((err) => {
32798
32721
  console.warn(err);
32799
32722
  this.printFailed = true;
@@ -32812,7 +32735,7 @@ let EzpPrinterSelection = class {
32812
32735
  });
32813
32736
  }
32814
32737
  if (this.file) {
32815
- await this.handleFiles(this.file);
32738
+ await this.handleFiles(this.file, cleanPrintProperties);
32816
32739
  }
32817
32740
  localStorage.setItem('properties', JSON.stringify(this.selectedProperties));
32818
32741
  localStorage.setItem('printer', JSON.stringify(this.selectedPrinter));
@@ -32823,8 +32746,8 @@ let EzpPrinterSelection = class {
32823
32746
  };
32824
32747
  this.validateFileType = async (name) => {
32825
32748
  const extension = name.split('.').pop();
32826
- this.fileExtension = extension;
32827
- return printStore.state.supportedFileExtensions.includes(`${extension}`);
32749
+ this.fileExtension = extension.toLowerCase();
32750
+ return printStore.state.supportedFileExtensions.includes(`${this.fileExtension}`);
32828
32751
  };
32829
32752
  }
32830
32753
  /**
@@ -32907,16 +32830,24 @@ let EzpPrinterSelection = class {
32907
32830
  break;
32908
32831
  case 'color':
32909
32832
  this.selectedProperties.color = !!eventDetails.id;
32833
+ // console.log('color selected:')
32834
+ // console.log(this.selectedProperties.color)
32910
32835
  break;
32911
32836
  case 'orientation':
32912
32837
  this.selectedProperties.orientation = eventDetails.id;
32838
+ // console.log('orientation selected:')
32839
+ // console.log(this.selectedProperties.orientation)
32913
32840
  break;
32914
32841
  case 'format':
32915
32842
  this.selectedProperties.paper = eventDetails.title;
32916
32843
  this.selectedProperties.paperid = eventDetails.id;
32844
+ // console.log('paper selected:')
32845
+ // console.log(this.selectedProperties.paper)
32917
32846
  break;
32918
32847
  case 'quality':
32919
32848
  this.selectedProperties.resolution = eventDetails.title;
32849
+ // console.log('quality selected:')
32850
+ // console.log(this.selectedProperties.resolution)
32920
32851
  break;
32921
32852
  case 'duplex':
32922
32853
  if (eventDetails.title === 'None') {
@@ -32926,10 +32857,12 @@ let EzpPrinterSelection = class {
32926
32857
  this.selectedProperties.duplex = true;
32927
32858
  }
32928
32859
  this.selectedProperties.duplexmode = eventDetails.id;
32860
+ // console.log('duplex selected:')
32861
+ // console.log(this.selectedProperties.duplexmode)
32929
32862
  break;
32930
32863
  }
32931
32864
  }
32932
- async handleFiles(file) {
32865
+ async handleFiles(file, printPorperties) {
32933
32866
  this.preparingUpload = true;
32934
32867
  const response = await this.printService.prepareFileUpload(authStore.state.accessToken);
32935
32868
  this.preparingUpload = false;
@@ -32948,7 +32881,7 @@ let EzpPrinterSelection = class {
32948
32881
  this.uploading = false;
32949
32882
  if (res._response.status === 201) {
32950
32883
  this.printService
32951
- .printByFileID(authStore.state.accessToken, this.fileid, this.filetype, this.selectedPrinter.id, this.selectedProperties, this.filename)
32884
+ .printByFileID(authStore.state.accessToken, this.fileid, this.filetype, this.selectedPrinter.id, printPorperties, this.filename)
32952
32885
  .then((data) => {
32953
32886
  if (data.code === 804) {
32954
32887
  this.printFailed = true;
@@ -32960,7 +32893,7 @@ let EzpPrinterSelection = class {
32960
32893
  fn: this.printService.getPrintStatus,
32961
32894
  validate: this.validateData,
32962
32895
  interval: this.POLL_INTERVAL,
32963
- maxAttempts: 30,
32896
+ maxAttempts: this.MAX_POLL_ATTEMPTS,
32964
32897
  }).catch((err) => {
32965
32898
  console.log(err);
32966
32899
  this.printFailed = true;
@@ -33006,8 +32939,9 @@ let EzpPrinterSelection = class {
33006
32939
  /** Description... */
33007
32940
  async connectedCallback() {
33008
32941
  this.getPropertiesFromLocalStorage();
33009
- this.getUserInfo();
33010
32942
  this.printService = new EzpPrintService(this.redirectURI, this.clientID);
32943
+ this.printService.registerFetchInterceptor();
32944
+ await this.getUserInfo();
33011
32945
  // if printer is stored from previous print, get the config to enable property selection
33012
32946
  if (this.selectedPrinter.id != '') {
33013
32947
  await this.printService
@@ -33087,25 +33021,9 @@ let EzpPrinterSelection = class {
33087
33021
  },
33088
33022
  ],
33089
33023
  // preSelected={
33090
- // this.selectedProperties.color ?
33091
- // [
33092
- // {
33093
- // id: 1,
33094
- // title: i18next.t('printer_selection.color'),
33095
- // meta: '',
33096
- // type: 'color',
33097
- // },
33098
- // ]
33099
- // : !this.selectedProperties.color ?
33100
- // [
33101
- // {
33102
- // id: 0,
33103
- // title: i18next.t('printer_selection.color_grayscale'),
33104
- // meta: '',
33105
- // type: 'color',
33106
- // },
33107
- // ]
33108
- // : null
33024
+ // this.selectedProperties.color
33025
+ // ? i18next.t('printer_selection.color_color')
33026
+ // : i18next.t('printer_selection.color_grayscale')
33109
33027
  // }
33110
33028
  disabled: !this.selectedPrinterConfig.Color }), h("ezp-select", { label: i18next.t('printer_selection.duplex'), icon: "duplex", placeholder: i18next.t('printer_selection.select_duplex'), toggleFlow: "horizontal", options: this.duplexOptions.map((option) => ({
33111
33029
  id: option.id,
@@ -33115,9 +33033,9 @@ let EzpPrinterSelection = class {
33115
33033
  })),
33116
33034
  // preSelected={
33117
33035
  // this.selectedProperties.duplex
33118
- // ? this.selectedProperties.duplex
33119
- // // : this.selectedPrinterConfig.DuplexSupported
33120
- // // ? 'None'
33036
+ // ? this.duplexOptions.find(
33037
+ // (option) => option.id === this.selectedProperties.duplexmode
33038
+ // ).id
33121
33039
  // : null
33122
33040
  // }
33123
33041
  disabled: !this.selectedPrinterConfig.DuplexSupported }), h("ezp-select", { label: i18next.t('printer_selection.size'), icon: "size", placeholder: i18next.t('printer_selection.select_size'), toggleFlow: "horizontal", optionFlow: "horizontal", options: this.selectedPrinterConfig.PaperFormats.map((format) => ({
@@ -33126,27 +33044,17 @@ let EzpPrinterSelection = class {
33126
33044
  meta: `${format.XRes} x ${format.YRes}`,
33127
33045
  type: 'format',
33128
33046
  })),
33129
- // preSelected={
33130
- // this.selectedProperties.paper
33131
- // ? this.selectedProperties.paper
33132
- // // : this.selectedPrinterConfig.PaperFormats.length > 0
33133
- // // ? this.selectedPrinterConfig.PaperFormats[0].Name
33134
- // : null
33135
- // }
33047
+ // preSelected={this.selectedProperties.paper ? this.selectedProperties.paper : null}
33136
33048
  disabled: !(this.selectedPrinterConfig.PaperFormats.length > 0) }), h("ezp-select", { label: i18next.t('printer_selection.orientation'), icon: "orientation", placeholder: i18next.t('printer_selection.select_orientation'), toggleFlow: "horizontal", options: this.selectedPrinterConfig.OrientationsSupported.map((orientation, index) => ({
33137
- id: index,
33049
+ id: index + 1,
33138
33050
  title: i18next.t(`printer_selection.orientation_${orientation}`),
33139
33051
  meta: '',
33140
33052
  type: 'orientation',
33141
33053
  })),
33142
33054
  // preSelected={
33143
33055
  // this.selectedProperties.orientation
33144
- // ? this.selectedProperties.orientation
33145
- // // : this.selectedPrinterConfig.OrientationsSupported.length > 0
33146
- // // ? i18next.t(
33147
- // // `printer_selection.orientation_${this.selectedPrinterConfig.OrientationsSupported[0]}`
33148
- // // )
33149
- // : null
33056
+ // ? this.selectedProperties.orientation
33057
+ // : null
33150
33058
  // }
33151
33059
  disabled: !(this.selectedPrinterConfig.OrientationsSupported.length > 0) }), h("ezp-select", { label: i18next.t('printer_selection.quality'), icon: "quality", placeholder: i18next.t('printer_selection.select_quality'), toggleFlow: "horizontal", options: this.selectedPrinterConfig.Resolutions.map((option, index) => ({
33152
33060
  id: index,
@@ -33155,11 +33063,7 @@ let EzpPrinterSelection = class {
33155
33063
  type: 'quality',
33156
33064
  })),
33157
33065
  // preSelected={
33158
- // this.selectedProperties.resolution
33159
- // ? this.selectedProperties.resolution
33160
- // // : this.selectedPrinterConfig.Resolutions.length > 0
33161
- // // ? this.selectedPrinterConfig.Resolutions[0]
33162
- // : null
33066
+ // this.selectedProperties.resolution ? this.selectedProperties.resolution : null
33163
33067
  // }
33164
33068
  disabled: !(this.selectedPrinterConfig.Resolutions.length > 0) })), h("ezp-stepper", { label: i18next.t('printer_selection.copies'), max: 10, icon: "copies" })), h("div", { id: "footer" }, h("ezp-text-button", { type: "button", level: "secondary", onClick: this.handleCancel, label: i18next.t('button_actions.cancel') }), h("ezp-text-button", { disabled: this.selectedPrinter.id === '', type: "button", onClick: this.handlePrint, label: i18next.t('button_actions.print') })), !this.hidemenu && h("ezp-user-menu", { open: this.userMenuOpen, name: this.userName }))));
33165
33069
  }
@@ -33259,6 +33163,13 @@ let EzpPrinting = class {
33259
33163
  localStorage.removeItem('isAuthorized');
33260
33164
  this.printOpen = false;
33261
33165
  }
33166
+ async getSasUri() {
33167
+ const printService = new EzpPrintService(this.redirecturi, this.clientid);
33168
+ const response = await printService.prepareFileUpload(authStore.state.accessToken)
33169
+ .catch(() => this.open());
33170
+ const sasUri = response.sasUri;
33171
+ return sasUri;
33172
+ }
33262
33173
  checkAuth() {
33263
33174
  const printService = new EzpPrintService(this.redirecturi, this.clientid);
33264
33175
  let accessToken = authStore.state.accessToken;
@@ -33284,6 +33195,12 @@ let EzpPrinting = class {
33284
33195
  authStore.state.isAuthorized = false;
33285
33196
  });
33286
33197
  }
33198
+ refreshTokensPeriodically(seconds) {
33199
+ const authService = new EzpAuthorizationService(this.redirecturi, this.clientid);
33200
+ setInterval(() => {
33201
+ authService.refreshTokens();
33202
+ }, seconds * 1000);
33203
+ }
33287
33204
  componentWillLoad() {
33288
33205
  const systemAppearanceDark = window.matchMedia('(prefers-color-scheme: dark)');
33289
33206
  this.systemAppearance = systemAppearanceDark.matches ? 'dark' : 'light';
@@ -33309,6 +33226,9 @@ let EzpPrinting = class {
33309
33226
  sendCodeToParentWindow();
33310
33227
  this.checkAuth();
33311
33228
  }
33229
+ componentDidLoad() {
33230
+ this.refreshTokensPeriodically(1800);
33231
+ }
33312
33232
  /**
33313
33233
  *
33314
33234
  * Render method
@@ -33377,6 +33297,8 @@ let EzpSelect = class {
33377
33297
  const delay = this.selected.id === id ? 0 : this.duration * 1000;
33378
33298
  this.selected = this.options.find((option) => option.id === id);
33379
33299
  this.selectSelection.emit(this.selected);
33300
+ // console.log('ezp-select:')
33301
+ // console.log(this.selected)
33380
33302
  window.setTimeout(() => {
33381
33303
  this.toggle();
33382
33304
  }, delay);
@@ -12,7 +12,7 @@ const defineCustomElements = (win, options) => {
12
12
  if (typeof window === 'undefined') return Promise.resolve();
13
13
  return patchEsm().then(() => {
14
14
  globalScripts();
15
- return bootstrapLazy([["ezp-auth_14",[[1,"ezp-printing",{"clientid":[1],"redirecturi":[1],"filename":[1025],"fileurl":[1],"filetype":[1],"custom":[4],"hidelogin":[4],"hidemenu":[4],"authapihosturl":[1],"printapihosturl":[1],"theme":[1],"fileid":[1],"appearance":[1],"trigger":[1],"language":[1],"printOpen":[32],"authOpen":[32],"noDocumentOpen":[32],"systemAppearance":[32],"open":[64],"logOut":[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"]]],[1,"ezp-printer-selection",{"clientID":[1,"client-i-d"],"redirectURI":[1,"redirect-u-r-i"],"filename":[1025],"fileurl":[1],"filetype":[1025],"fileid":[1025],"file":[16],"hidemenu":[4],"loading":[32],"options":[32],"printProcessing":[32],"uploading":[32],"preparingUpload":[32],"printSuccess":[32],"printFailed":[32],"notSupported":[32],"noPrinters":[32],"userMenuOpen":[32],"printStopped":[32],"userName":[32],"printers":[32],"selectedPrinter":[32],"printerConfig":[32],"selectedPrinterConfig":[32],"selectedProperties":[32]},[[0,"selectSelection","listenSelectSelection"],[0,"stepperChanged","listenStepperChanged"],[0,"userMenuClosure","listenUserMenuClosure"],[0,"logoutEmitter","listenLogout"],[0,"statusCancel","listenStatusCancel"],[0,"statusClose","listenStatusClose"],[0,"statusRetry","listenStatusRetry"]]],[1,"ezp-auth",{"clientID":[1025,"client-i-d"],"redirectURI":[1025,"redirect-u-r-i"],"hidelogin":[4],"auth":[32],"authURI":[32],"accessToken":[32]},[[0,"dialogAction","listenDialogAction"],[0,"dialogClose","listenDialogClose"],[0,"statusCancel","listenStatusCancel"]]],[1,"ezp-upload",{"dragging":[32]},[[1,"dragenter","handleDragEnter"],[0,"dragover","handleDragOver"],[1,"dragleave","handleDragLeave"],[0,"drop","handleDrop"]]],[1,"ezp-dialog",{"heading":[1],"description":[1],"action":[1],"iconName":[1,"icon-name"],"iconSize":[1,"icon-size"],"iconFramed":[4,"icon-framed"],"instance":[1]}],[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"],"disabled":[4],"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-status",{"description":[1],"processing":[4],"instance":[1],"icon":[1],"cancel":[8],"close":[8],"retry":[8]}],[1,"ezp-backdrop",{"visible":[1028]},[[0,"animationend","listenAnimationEnd"]]],[1,"ezp-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}],[1,"ezp-text-button",{"blank":[4],"disabled":[4],"href":[1],"level":[1],"label":[1],"type":[1],"small":[4]}],[1,"ezp-icon",{"name":[1],"size":[1],"framed":[4]}],[1,"ezp-label",{"ellipsis":[4],"level":[1],"noWrap":[4,"no-wrap"],"text":[1],"weight":[1]}]]]], options);
15
+ return bootstrapLazy([["ezp-auth_14",[[1,"ezp-printing",{"clientid":[1],"redirecturi":[1],"filename":[1025],"fileurl":[1],"filetype":[1],"custom":[4],"hidelogin":[4],"hidemenu":[4],"authapihosturl":[1],"printapihosturl":[1],"theme":[1],"fileid":[1],"appearance":[1],"trigger":[1],"language":[1],"printOpen":[32],"authOpen":[32],"noDocumentOpen":[32],"systemAppearance":[32],"open":[64],"logOut":[64],"getSasUri":[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"]]],[1,"ezp-printer-selection",{"clientID":[1,"client-i-d"],"redirectURI":[1,"redirect-u-r-i"],"filename":[1025],"fileurl":[1],"filetype":[1025],"fileid":[1025],"file":[16],"hidemenu":[4],"loading":[32],"printProcessing":[32],"uploading":[32],"preparingUpload":[32],"printSuccess":[32],"printFailed":[32],"notSupported":[32],"noPrinters":[32],"userMenuOpen":[32],"printStopped":[32],"userName":[32],"printers":[32],"selectedPrinter":[32],"printerConfig":[32],"selectedPrinterConfig":[32],"selectedProperties":[32]},[[0,"selectSelection","listenSelectSelection"],[0,"stepperChanged","listenStepperChanged"],[0,"userMenuClosure","listenUserMenuClosure"],[0,"logoutEmitter","listenLogout"],[0,"statusCancel","listenStatusCancel"],[0,"statusClose","listenStatusClose"],[0,"statusRetry","listenStatusRetry"]]],[1,"ezp-auth",{"clientID":[1025,"client-i-d"],"redirectURI":[1025,"redirect-u-r-i"],"hidelogin":[4],"auth":[32],"authURI":[32],"accessToken":[32]},[[0,"dialogAction","listenDialogAction"],[0,"dialogClose","listenDialogClose"],[0,"statusCancel","listenStatusCancel"]]],[1,"ezp-upload",{"dragging":[32]},[[1,"dragenter","handleDragEnter"],[0,"dragover","handleDragOver"],[1,"dragleave","handleDragLeave"],[0,"drop","handleDrop"]]],[1,"ezp-dialog",{"heading":[1],"description":[1],"action":[1],"iconName":[1,"icon-name"],"iconSize":[1,"icon-size"],"iconFramed":[4,"icon-framed"],"instance":[1]}],[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"],"disabled":[4],"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-status",{"description":[1],"processing":[4],"instance":[1],"icon":[1],"cancel":[8],"close":[8],"retry":[8]}],[1,"ezp-backdrop",{"visible":[1028]},[[0,"animationend","listenAnimationEnd"]]],[1,"ezp-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}],[1,"ezp-text-button",{"blank":[4],"disabled":[4],"href":[1],"level":[1],"label":[1],"type":[1],"small":[4]}],[1,"ezp-icon",{"name":[1],"size":[1],"framed":[4]}],[1,"ezp-label",{"ellipsis":[4],"level":[1],"noWrap":[4,"no-wrap"],"text":[1],"weight":[1]}]]]], options);
16
16
  });
17
17
  };
18
18
 
@@ -1 +1 @@
1
- import{p as promiseResolve,b as bootstrapLazy}from"./index-18d4bf15.js";import{g as globalScripts}from"./app-globals-28960cbc.js";var patchBrowser=function(){var e=import.meta.url;var t={};if(e!==""){t.resourcesUrl=new URL(".",e).href}return promiseResolve(t)};patchBrowser().then((function(e){globalScripts();return bootstrapLazy([["ezp-auth_14",[[1,"ezp-printing",{clientid:[1],redirecturi:[1],filename:[1025],fileurl:[1],filetype:[1],custom:[4],hidelogin:[4],hidemenu:[4],authapihosturl:[1],printapihosturl:[1],theme:[1],fileid:[1],appearance:[1],trigger:[1],language:[1],printOpen:[32],authOpen:[32],noDocumentOpen:[32],systemAppearance:[32],open:[64],logOut:[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"]]],[1,"ezp-printer-selection",{clientID:[1,"client-i-d"],redirectURI:[1,"redirect-u-r-i"],filename:[1025],fileurl:[1],filetype:[1025],fileid:[1025],file:[16],hidemenu:[4],loading:[32],options:[32],printProcessing:[32],uploading:[32],preparingUpload:[32],printSuccess:[32],printFailed:[32],notSupported:[32],noPrinters:[32],userMenuOpen:[32],printStopped:[32],userName:[32],printers:[32],selectedPrinter:[32],printerConfig:[32],selectedPrinterConfig:[32],selectedProperties:[32]},[[0,"selectSelection","listenSelectSelection"],[0,"stepperChanged","listenStepperChanged"],[0,"userMenuClosure","listenUserMenuClosure"],[0,"logoutEmitter","listenLogout"],[0,"statusCancel","listenStatusCancel"],[0,"statusClose","listenStatusClose"],[0,"statusRetry","listenStatusRetry"]]],[1,"ezp-auth",{clientID:[1025,"client-i-d"],redirectURI:[1025,"redirect-u-r-i"],hidelogin:[4],auth:[32],authURI:[32],accessToken:[32]},[[0,"dialogAction","listenDialogAction"],[0,"dialogClose","listenDialogClose"],[0,"statusCancel","listenStatusCancel"]]],[1,"ezp-upload",{dragging:[32]},[[1,"dragenter","handleDragEnter"],[0,"dragover","handleDragOver"],[1,"dragleave","handleDragLeave"],[0,"drop","handleDrop"]]],[1,"ezp-dialog",{heading:[1],description:[1],action:[1],iconName:[1,"icon-name"],iconSize:[1,"icon-size"],iconFramed:[4,"icon-framed"],instance:[1]}],[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"],disabled:[4],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-status",{description:[1],processing:[4],instance:[1],icon:[1],cancel:[8],close:[8],retry:[8]}],[1,"ezp-backdrop",{visible:[1028]},[[0,"animationend","listenAnimationEnd"]]],[1,"ezp-icon-button",{blank:[4],disabled:[4],href:[1],icon:[1],level:[1],type:[1]}],[1,"ezp-text-button",{blank:[4],disabled:[4],href:[1],level:[1],label:[1],type:[1],small:[4]}],[1,"ezp-icon",{name:[1],size:[1],framed:[4]}],[1,"ezp-label",{ellipsis:[4],level:[1],noWrap:[4,"no-wrap"],text:[1],weight:[1]}]]]],e)}));
1
+ import{p as promiseResolve,b as bootstrapLazy}from"./index-18d4bf15.js";import{g as globalScripts}from"./app-globals-28960cbc.js";var patchBrowser=function(){var e=import.meta.url;var t={};if(e!==""){t.resourcesUrl=new URL(".",e).href}return promiseResolve(t)};patchBrowser().then((function(e){globalScripts();return bootstrapLazy([["ezp-auth_14",[[1,"ezp-printing",{clientid:[1],redirecturi:[1],filename:[1025],fileurl:[1],filetype:[1],custom:[4],hidelogin:[4],hidemenu:[4],authapihosturl:[1],printapihosturl:[1],theme:[1],fileid:[1],appearance:[1],trigger:[1],language:[1],printOpen:[32],authOpen:[32],noDocumentOpen:[32],systemAppearance:[32],open:[64],logOut:[64],getSasUri:[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"]]],[1,"ezp-printer-selection",{clientID:[1,"client-i-d"],redirectURI:[1,"redirect-u-r-i"],filename:[1025],fileurl:[1],filetype:[1025],fileid:[1025],file:[16],hidemenu:[4],loading:[32],printProcessing:[32],uploading:[32],preparingUpload:[32],printSuccess:[32],printFailed:[32],notSupported:[32],noPrinters:[32],userMenuOpen:[32],printStopped:[32],userName:[32],printers:[32],selectedPrinter:[32],printerConfig:[32],selectedPrinterConfig:[32],selectedProperties:[32]},[[0,"selectSelection","listenSelectSelection"],[0,"stepperChanged","listenStepperChanged"],[0,"userMenuClosure","listenUserMenuClosure"],[0,"logoutEmitter","listenLogout"],[0,"statusCancel","listenStatusCancel"],[0,"statusClose","listenStatusClose"],[0,"statusRetry","listenStatusRetry"]]],[1,"ezp-auth",{clientID:[1025,"client-i-d"],redirectURI:[1025,"redirect-u-r-i"],hidelogin:[4],auth:[32],authURI:[32],accessToken:[32]},[[0,"dialogAction","listenDialogAction"],[0,"dialogClose","listenDialogClose"],[0,"statusCancel","listenStatusCancel"]]],[1,"ezp-upload",{dragging:[32]},[[1,"dragenter","handleDragEnter"],[0,"dragover","handleDragOver"],[1,"dragleave","handleDragLeave"],[0,"drop","handleDrop"]]],[1,"ezp-dialog",{heading:[1],description:[1],action:[1],iconName:[1,"icon-name"],iconSize:[1,"icon-size"],iconFramed:[4,"icon-framed"],instance:[1]}],[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"],disabled:[4],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-status",{description:[1],processing:[4],instance:[1],icon:[1],cancel:[8],close:[8],retry:[8]}],[1,"ezp-backdrop",{visible:[1028]},[[0,"animationend","listenAnimationEnd"]]],[1,"ezp-icon-button",{blank:[4],disabled:[4],href:[1],icon:[1],level:[1],type:[1]}],[1,"ezp-text-button",{blank:[4],disabled:[4],href:[1],level:[1],label:[1],type:[1],small:[4]}],[1,"ezp-icon",{name:[1],size:[1],framed:[4]}],[1,"ezp-label",{ellipsis:[4],level:[1],noWrap:[4,"no-wrap"],text:[1],weight:[1]}]]]],e)}));