cty-mui-core 1.0.21 → 1.0.22

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 (55) hide show
  1. package/components/cty-camera-photo.js +4 -2
  2. package/components/cty-share-sheet.js +3 -2
  3. package/components/cty-video.js +3 -2
  4. package/components/status-bar.js +14 -0
  5. package/dist/cjs/cty-camera-photo.cjs.entry.js +2 -2
  6. package/dist/cjs/cty-media-capture.cjs.entry.js +1 -1
  7. package/dist/cjs/cty-mui.cjs.js +1 -1
  8. package/dist/cjs/cty-share-sheet.cjs.entry.js +2 -2
  9. package/dist/cjs/cty-video.cjs.entry.js +4 -3
  10. package/dist/cjs/index.cjs.js +1 -1
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/cjs/{status-bar-BJrl_sQk.js → status-bar-BEYjerhw.js} +14 -0
  13. package/dist/collection/components/camera-photo/camera-photo.css +2 -0
  14. package/dist/collection/components/camera-photo/camera-photo.js +4 -2
  15. package/dist/collection/components/share-sheet/share-sheet.css +4 -0
  16. package/dist/collection/components/share-sheet/share-sheet.js +3 -2
  17. package/dist/collection/components/video/video.js +3 -2
  18. package/dist/collection/utils/date.js +14 -0
  19. package/dist/cty-mui/cty-mui.esm.js +1 -1
  20. package/dist/cty-mui/index.esm.js +1 -1
  21. package/dist/cty-mui/p-061ea659.system.entry.js +1 -0
  22. package/dist/cty-mui/{p-fd2da714.entry.js → p-3bbb54df.entry.js} +1 -1
  23. package/dist/cty-mui/{p-9997121c.system.entry.js → p-3e7d39b3.system.entry.js} +1 -1
  24. package/dist/cty-mui/p-4c1ed416.system.entry.js +1 -0
  25. package/dist/cty-mui/p-7b5349e9.entry.js +1 -0
  26. package/dist/cty-mui/{p-vRZWRoQ8.js → p-BDuVecoa.js} +1 -1
  27. package/dist/cty-mui/{p-CWfyjvMz.system.js → p-C6ID7w1G.system.js} +1 -1
  28. package/dist/cty-mui/{p-BLI96Ug8.system.js → p-CX64wjp2.system.js} +1 -1
  29. package/dist/cty-mui/p-Cegbc1c7.system.js +1 -1
  30. package/dist/cty-mui/{p-78fcf340.entry.js → p-d8e7bff7.entry.js} +1 -1
  31. package/dist/cty-mui/{p-a78aa31c.entry.js → p-e26e053d.entry.js} +1 -1
  32. package/dist/cty-mui/{p-bb83aa1b.system.entry.js → p-e29c7c8d.system.entry.js} +1 -1
  33. package/dist/docs.json +1 -1
  34. package/dist/esm/cty-camera-photo.entry.js +2 -2
  35. package/dist/esm/cty-media-capture.entry.js +1 -1
  36. package/dist/esm/cty-mui.js +1 -1
  37. package/dist/esm/cty-share-sheet.entry.js +2 -2
  38. package/dist/esm/cty-video.entry.js +4 -3
  39. package/dist/esm/index.js +1 -1
  40. package/dist/esm/loader.js +1 -1
  41. package/dist/esm/{status-bar-DhaoWhCJ.js → status-bar-DOl3d3um.js} +14 -0
  42. package/dist/esm-es5/cty-camera-photo.entry.js +1 -1
  43. package/dist/esm-es5/cty-media-capture.entry.js +1 -1
  44. package/dist/esm-es5/cty-mui.js +1 -1
  45. package/dist/esm-es5/cty-share-sheet.entry.js +1 -1
  46. package/dist/esm-es5/cty-video.entry.js +1 -1
  47. package/dist/esm-es5/index.js +1 -1
  48. package/dist/esm-es5/loader.js +1 -1
  49. package/dist/esm-es5/{status-bar-DhaoWhCJ.js → status-bar-DOl3d3um.js} +1 -1
  50. package/dist/types/components/camera-photo/camera-photo.d.ts +2 -2
  51. package/dist/types/components/share-sheet/share-sheet.d.ts +1 -1
  52. package/package.json +1 -1
  53. package/dist/cty-mui/p-3e33b40b.system.entry.js +0 -1
  54. package/dist/cty-mui/p-6fc16b0f.entry.js +0 -1
  55. package/dist/cty-mui/p-8a8f89d4.system.entry.js +0 -1
@@ -11,7 +11,7 @@ import { d as defineCustomElement$4 } from './icon.js';
11
11
  import { d as defineCustomElement$3 } from './permission-purpose.js';
12
12
  import { d as defineCustomElement$2 } from './icon2.js';
13
13
 
14
- const cameraPhotoCss = "*{-webkit-box-sizing:border-box;box-sizing:border-box}p,h1,h2,h3,h4,h5,h6{margin:0;padding:0}.cty-pos-rel{position:relative}.cty-pos-abs{position:absolute}.cty-pos-fix{position:fixed}.cty-pos-sti{position:-webkit-sticky;position:sticky}.cty-pos-cover{position:absolute;top:0;bottom:0;left:0;right:0}.cty-pos-l-t{position:absolute;left:0;top:0}.cty-pos-l-b{position:absolute;left:0;bottom:0}.cty-pos-r-t{position:absolute;right:0;top:0}.cty-pos-r-b{position:absolute;right:0;bottom:0}.cty-pos-100{position:absolute;left:0;top:0;width:100%;height:100%}.cty-pos-w100{position:absolute;left:0;width:100%}.cty-pos-h100{position:absolute;top:0;height:100%}.cty-pos-c{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.cty-pos-c-x{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.cty-pos-c-x-t{position:absolute;top:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.cty-pos-c-x-b{position:absolute;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.cty-pos-c-y{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.cty-pos-c-y-l{position:absolute;left:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.cty-pos-c-y-r{position:absolute;right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}:host{--cty-camera-photo-overlay-position:fixed;--cty-camera-photo-overlay-z-index:10;--cty-camera-photo-overlay-background:var(--cty-overlay-color);--cty-camera-photo-overlay-width:100vw;--cty-camera-photo-overlay-height:100vh;--cty-camera-photo-padding:0;--cty-camera-photo-border-radius:0;--cty-camera-photo-title-color:var(--cty-text-color-primary);--cty-camera-photo-title-size:var(--cty-font-size-medium);--cty-camera-photo-title-line-height:36px;--cty-camera-photo-title-weight:500;--cty-camera-photo-title-align:center;--cty-camera-photo-close-top:10px;--cty-camera-photo-close-right:10px;--cty-camera-photo-close-color:var(--cty-text-color-secondary);--cty-camera-photo-close-size:20px;--cty-camera-photo-option-padding-bottom:14px;--cty-camera-photo-option-padding-top:14px;--cty-camera-photo-option-text-align:center;--cty-camera-photo-option-text-color:var(--cty-text-color-primary);--cty-camera-photo-option-text-size:var(--cty-font-size-medium);--cty-camera-photo-option-text-line-height:22px;--cty-camera-photo-cancel-background:var(--cty-color-white);--cty-camera-photo-cancel-padding-top:0;--cty-camera-photo-cancel-padding-bottom:0;--cty-camera-photo-cancel-border:8px solid var(--cty-border-color-extra-light);--cty-camera-photo-cancel-color:var(--cty-text-color-primary);--cty-camera-photo-cancel-min-height:48px;--cty-camera-photo-cancel-size:var(--cty-font-size-medium);--cty-camera-photo-crop-width:100vw;--cty-camera-photo-crop-height:100vh;--cty-camera-photo-crop-background:var(--cty-color-black);--cty-camera-photo-crop-clip-height:100vw;--cty-camera-photo-crop-clip-width:100vw;--cty-camera-photo-crop-clip-background:var(--cty-overlay-color-dark);--cty-camera-photo-crop-clip-border:1px solid #767676;--cty-camera-photo-crop-buttons-padding:12px 0;--cty-camera-photo-crop-button-padding:0 12px;--cty-camera-photo-crop-button-color:var(--cty-text-color-white);--cty-camera-photo-crop-button-active-color:var(--cty-text-color-white);--cty-camera-photo-crop-button-size:var(--cty-font-size-base);--cty-camera-photo-crop-button-line-height:30px;--cty-camera-photo-crop-button-weight:400;--cty-camera-photo-crop-overlay-background:var(--cty-overlay-color);--cty-camera-photo-crop-overlay-z-index:999999;--cty-camera-photo-permission-purpose-overlay-background:transparent;--cty-camera-photo-permission-purpose-overlay-height:auto}:host(.overlay-hidden){display:none}cty-action-sheet{--cty-action-sheet-overlay-position:var(--cty-camera-photo-overlay-position);--cty-action-sheet-overlay-z-index:var(--cty-camera-photo-overlay-z-index);--cty-action-sheet-overlay-width:var(--cty-camera-photo-overlay-width);--cty-action-sheet-overlay-height:var(--cty-camera-photo-overlay-height);--cty-action-sheet-overlay-background:var(--cty-camera-photo-overlay-background);--cty-action-sheet-padding:var(--cty-camera-photo-padding);--cty-action-sheet-border-radius:var(--cty-camera-photo-border-radius);--cty-action-sheet-title-color:var(--cty-camera-photo-title-color);--cty-action-sheet-title-size:var(--cty-camera-photo-title-size);--cty-action-sheet-title-line-height:var(--cty-camera-photo-title-line-height);--cty-action-sheet-title-weight:var(--cty-camera-photo-title-weight);--cty-action-sheet-title-align:var(--cty-camera-photo-title-align);--cty-action-sheet-close-top:var(--cty-action-sheet-close-top);--cty-action-sheet-close-right:var(--cty-action-sheet-close-right);--cty-action-sheet-close-color:var(--cty-action-sheet-close-color);--cty-action-sheet-close-size:var(--cty-action-sheet-close-size);--cty-action-sheet-option-padding-bottom:var(--cty-camera-photo-option-padding-bottom);--cty-action-sheet-option-padding-top:var(--cty-camera-photo-option-padding-top);--cty-action-sheet-option-text-align:var(--cty-camera-photo-option-text-align);--cty-action-sheet-option-text-color:var(--cty-camera-photo-option-text-color);--cty-action-sheet-option-text-size:var(--cty-camera-photo-option-text-size);--cty-action-sheet-option-text-line-height:var(--cty-camera-photo-option-text-line-height);--cty-action-sheet-cancel-background:var(--cty-camera-photo-cancel-background);--cty-action-sheet-cancel-padding-top:var(--cty-camera-photo-cancel-padding-top);--cty-action-sheet-cancel-padding-bottom:var(--cty-camera-photo-cancel-padding-bottom);--cty-action-sheet-cancel-border:var(--cty-camera-photo-cancel-border);--cty-action-sheet-cancel-color:var(--cty-camera-photo-cancel-color);--cty-action-sheet-cancel-min-height:var(--cty-camera-photo-cancel-min-height);--cty-action-sheet-cancel-size:var(--cty-camera-photo-cancel-size)}cty-backdrop{z-index:var(--cty-camera-photo-crop-overlay-z-index);background:var(--cty-camera-photo-crop-overlay-background)}cty-crop-image{background:var(--cty-camera-photo-crop-background);width:var(--cty-camera-photo-crop-width);height:var(--cty-camera-photo-crop-height);--cty-crop-image-clip-width:var(--cty-camera-photo-crop-clip-width);--cty-crop-image-clip-height:var(--cty-camera-photo-crop-clip-height);--cty-crop-image-clip-background:var(--cty-camera-photo-crop-clip-background);--cty-crop-image-clip-border:var(--cty-camera-photo-crop-clip-border);--cty-crop-image-buttons-padding:var(--cty-camera-photo-crop-buttons-padding);--cty-crop-image-button-padding:var(--cty-camera-photo-crop-button-padding);--cty-crop-image-button-color:var(--cty-camera-photo-crop-button-color);--cty-crop-image-button-active-color:var(--cty-camera-photo-crop-button-active-color);--cty-crop-image-button-size:var(--cty-camera-photo-crop-button-size);--cty-crop-image-button-line-height:var(--cty-camera-photo-crop-button-line-height);--cty-crop-image-button-weight:var(--cty-camera-photo-crop-overlay-weight)}cty-permission-purpose{--cty-permission-purpose-overlay-background:var(--cty-camera-photo-permission-purpose-overlay-background);--cty-permission-purpose-overlay-height:var(--cty-camera-photo-permission-purpose-overlay-height)}";
14
+ const cameraPhotoCss = "*{-webkit-box-sizing:border-box;box-sizing:border-box}p,h1,h2,h3,h4,h5,h6{margin:0;padding:0}.cty-pos-rel{position:relative}.cty-pos-abs{position:absolute}.cty-pos-fix{position:fixed}.cty-pos-sti{position:-webkit-sticky;position:sticky}.cty-pos-cover{position:absolute;top:0;bottom:0;left:0;right:0}.cty-pos-l-t{position:absolute;left:0;top:0}.cty-pos-l-b{position:absolute;left:0;bottom:0}.cty-pos-r-t{position:absolute;right:0;top:0}.cty-pos-r-b{position:absolute;right:0;bottom:0}.cty-pos-100{position:absolute;left:0;top:0;width:100%;height:100%}.cty-pos-w100{position:absolute;left:0;width:100%}.cty-pos-h100{position:absolute;top:0;height:100%}.cty-pos-c{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.cty-pos-c-x{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.cty-pos-c-x-t{position:absolute;top:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.cty-pos-c-x-b{position:absolute;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.cty-pos-c-y{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.cty-pos-c-y-l{position:absolute;left:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.cty-pos-c-y-r{position:absolute;right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}:host{--cty-camera-photo-overlay-position:fixed;--cty-camera-photo-overlay-z-index:10;--cty-camera-photo-overlay-background:var(--cty-overlay-color);--cty-camera-photo-overlay-width:100vw;--cty-camera-photo-overlay-height:100vh;--cty-camera-photo-padding:0;--cty-camera-photo-border-radius:0;--cty-camera-photo-title-color:var(--cty-text-color-primary);--cty-camera-photo-title-size:var(--cty-font-size-medium);--cty-camera-photo-title-line-height:36px;--cty-camera-photo-title-weight:500;--cty-camera-photo-title-align:center;--cty-camera-photo-close-top:10px;--cty-camera-photo-close-right:10px;--cty-camera-photo-close-color:var(--cty-text-color-secondary);--cty-camera-photo-close-size:20px;--cty-camera-photo-option-padding-bottom:14px;--cty-camera-photo-option-padding-top:14px;--cty-camera-photo-option-text-align:center;--cty-camera-photo-option-text-color:var(--cty-text-color-primary);--cty-camera-photo-option-text-size:var(--cty-font-size-medium);--cty-camera-photo-option-text-line-height:22px;--cty-camera-photo-cancel-background:var(--cty-color-white);--cty-camera-photo-cancel-padding-top:0;--cty-camera-photo-cancel-padding-bottom:0;--cty-camera-photo-cancel-border:8px solid var(--cty-border-color-extra-light);--cty-camera-photo-cancel-color:var(--cty-text-color-primary);--cty-camera-photo-cancel-min-height:48px;--cty-camera-photo-cancel-size:var(--cty-font-size-medium);--cty-camera-photo-crop-width:100vw;--cty-camera-photo-crop-height:100vh;--cty-camera-photo-crop-background:var(--cty-color-black);--cty-camera-photo-crop-clip-height:100vw;--cty-camera-photo-crop-clip-width:100vw;--cty-camera-photo-crop-clip-background:var(--cty-overlay-color-dark);--cty-camera-photo-crop-clip-border:1px solid #767676;--cty-camera-photo-crop-buttons-padding:12px 0;--cty-camera-photo-crop-button-padding:0 12px;--cty-camera-photo-crop-button-color:var(--cty-text-color-white);--cty-camera-photo-crop-button-active-color:var(--cty-text-color-white);--cty-camera-photo-crop-button-size:var(--cty-font-size-base);--cty-camera-photo-crop-button-line-height:30px;--cty-camera-photo-crop-button-weight:400;--cty-camera-photo-crop-overlay-background:var(--cty-overlay-color);--cty-camera-photo-crop-overlay-z-index:999999;--cty-camera-photo-permission-purpose-overlay-background:transparent;--cty-camera-photo-permission-purpose-overlay-height:auto;--cty-camera-photo-permission-purpose-overlay-z-index:999999}:host(.overlay-hidden){display:none}cty-action-sheet{--cty-action-sheet-overlay-position:var(--cty-camera-photo-overlay-position);--cty-action-sheet-overlay-z-index:var(--cty-camera-photo-overlay-z-index);--cty-action-sheet-overlay-width:var(--cty-camera-photo-overlay-width);--cty-action-sheet-overlay-height:var(--cty-camera-photo-overlay-height);--cty-action-sheet-overlay-background:var(--cty-camera-photo-overlay-background);--cty-action-sheet-padding:var(--cty-camera-photo-padding);--cty-action-sheet-border-radius:var(--cty-camera-photo-border-radius);--cty-action-sheet-title-color:var(--cty-camera-photo-title-color);--cty-action-sheet-title-size:var(--cty-camera-photo-title-size);--cty-action-sheet-title-line-height:var(--cty-camera-photo-title-line-height);--cty-action-sheet-title-weight:var(--cty-camera-photo-title-weight);--cty-action-sheet-title-align:var(--cty-camera-photo-title-align);--cty-action-sheet-close-top:var(--cty-action-sheet-close-top);--cty-action-sheet-close-right:var(--cty-action-sheet-close-right);--cty-action-sheet-close-color:var(--cty-action-sheet-close-color);--cty-action-sheet-close-size:var(--cty-action-sheet-close-size);--cty-action-sheet-option-padding-bottom:var(--cty-camera-photo-option-padding-bottom);--cty-action-sheet-option-padding-top:var(--cty-camera-photo-option-padding-top);--cty-action-sheet-option-text-align:var(--cty-camera-photo-option-text-align);--cty-action-sheet-option-text-color:var(--cty-camera-photo-option-text-color);--cty-action-sheet-option-text-size:var(--cty-camera-photo-option-text-size);--cty-action-sheet-option-text-line-height:var(--cty-camera-photo-option-text-line-height);--cty-action-sheet-cancel-background:var(--cty-camera-photo-cancel-background);--cty-action-sheet-cancel-padding-top:var(--cty-camera-photo-cancel-padding-top);--cty-action-sheet-cancel-padding-bottom:var(--cty-camera-photo-cancel-padding-bottom);--cty-action-sheet-cancel-border:var(--cty-camera-photo-cancel-border);--cty-action-sheet-cancel-color:var(--cty-camera-photo-cancel-color);--cty-action-sheet-cancel-min-height:var(--cty-camera-photo-cancel-min-height);--cty-action-sheet-cancel-size:var(--cty-camera-photo-cancel-size)}cty-backdrop{z-index:var(--cty-camera-photo-crop-overlay-z-index);background:var(--cty-camera-photo-crop-overlay-background)}cty-crop-image{background:var(--cty-camera-photo-crop-background);width:var(--cty-camera-photo-crop-width);height:var(--cty-camera-photo-crop-height);--cty-crop-image-clip-width:var(--cty-camera-photo-crop-clip-width);--cty-crop-image-clip-height:var(--cty-camera-photo-crop-clip-height);--cty-crop-image-clip-background:var(--cty-camera-photo-crop-clip-background);--cty-crop-image-clip-border:var(--cty-camera-photo-crop-clip-border);--cty-crop-image-buttons-padding:var(--cty-camera-photo-crop-buttons-padding);--cty-crop-image-button-padding:var(--cty-camera-photo-crop-button-padding);--cty-crop-image-button-color:var(--cty-camera-photo-crop-button-color);--cty-crop-image-button-active-color:var(--cty-camera-photo-crop-button-active-color);--cty-crop-image-button-size:var(--cty-camera-photo-crop-button-size);--cty-crop-image-button-line-height:var(--cty-camera-photo-crop-button-line-height);--cty-crop-image-button-weight:var(--cty-camera-photo-crop-overlay-weight)}cty-permission-purpose{--cty-permission-purpose-overlay-background:var(--cty-camera-photo-permission-purpose-overlay-background);--cty-permission-purpose-overlay-height:var(--cty-camera-photo-permission-purpose-overlay-height);--cty-permission-purpose-overlay-z-index:var(--cty-camera-photo-permission-purpose-overlay-z-index)}";
15
15
 
16
16
  const CameraPhoto = /*@__PURE__*/ proxyCustomElement(class CameraPhoto extends HTMLElement {
17
17
  constructor() {
@@ -192,7 +192,7 @@ const CameraPhoto = /*@__PURE__*/ proxyCustomElement(class CameraPhoto extends H
192
192
  this.ctyTap.emit({ index, imageList });
193
193
  }
194
194
  render() {
195
- return (h(Host, { key: '4994ab89e969ab4f135e61d465ce4fcd34739b0b', class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'cty-pos-cover': this.overlay }), style: { zIndex: `${20000 + this.overlayIndex}` } }, h("cty-action-sheet", { key: 'deef5fb5f31944b226bcb22e0df2bafb685bedbd', class: "cty-camera-photo", animated: false, overlayIndex: 1, backdropDismiss: this.backdropDismiss, title: this.title, closeable: this.closeable, closeIcon: this.closeIcon, cancelText: this.cancelText, options: this.options, onCtyDismiss: () => this.dismiss(), onCtyTap: e => this._buttonClick(e) }), this.showCropImage && (h("cty-backdrop", { key: 'e264d6caf8b866f83f5d1b9bc46bf8ede10f3420', backdropDismiss: false }, h("cty-crop-image", { key: '3d3068238520a825596c106be9bcea7c88d8ea4c', url: this.clipImage, cancelText: this.clipCancelText, confirmText: this.clipCconfirmText, imageWidth: this.clipImageWidth, imageBackground: this.clipImageBg, maxScale: this.clipMaxScale, minScale: this.clipMinScale, suffix: this.clipImageSuffix, quality: this.clipImageQuality, onCtyCancel: () => this._doCropCancel(), onCtyConfirm: (e) => this._doCropConfirm(e) }))), this.showPermissionPurpose && h("cty-permission-purpose", { key: '924373b5916aa0abd717e5c35e041f82b6b73bb0', description: this.permissionDescription })));
195
+ return (h(Host, { key: 'bf664a9c7a1a47f86e1e5efc94edce7b3897ca46', class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'cty-pos-cover': this.overlay }), style: { zIndex: `${20000 + this.overlayIndex}` } }, h("cty-action-sheet", { key: '6baf98701e79eead40a3f20f1deac5178d13563b', class: "cty-camera-photo", animated: false, overlayIndex: 1, backdropDismiss: this.backdropDismiss, title: this.title, closeable: this.closeable, closeIcon: this.closeIcon, cancelText: this.cancelText, options: this.options, onCtyDismiss: () => this.dismiss(), onCtyTap: e => this._buttonClick(e) }), this.showCropImage && (h("cty-backdrop", { key: '81456ac1e2f369d2d0564d7933776f26ba6f6e0d', backdropDismiss: false }, h("cty-crop-image", { key: 'e742d3caae19b9ee3c43a47c200a6768efb125ef', url: this.clipImage, cancelText: this.clipCancelText, confirmText: this.clipCconfirmText, imageWidth: this.clipImageWidth, imageBackground: this.clipImageBg, maxScale: this.clipMaxScale, minScale: this.clipMinScale, suffix: this.clipImageSuffix, quality: this.clipImageQuality, onCtyCancel: () => this._doCropCancel(), onCtyConfirm: (e) => this._doCropConfirm(e) }))), this.showPermissionPurpose && h("cty-permission-purpose", { key: '67c53ea351b7ec13edf5a47ef4aab5b28b275b3d', description: this.permissionDescription })));
196
196
  }
197
197
  get el() { return this; }
198
198
  static get watchers() { return {
@@ -231,6 +231,8 @@ const CameraPhoto = /*@__PURE__*/ proxyCustomElement(class CameraPhoto extends H
231
231
  "trigger": [1],
232
232
  "showCropImage": [32],
233
233
  "clipImage": [32],
234
+ "showPermissionPurpose": [32],
235
+ "permissionDescription": [32],
234
236
  "present": [64],
235
237
  "dismiss": [64],
236
238
  "onDidDismiss": [64],
@@ -14,7 +14,7 @@ import { d as defineCustomElement$4 } from './icon2.js';
14
14
  import { d as defineCustomElement$3 } from './ripple-effect.js';
15
15
  import { d as defineCustomElement$2 } from './toast.js';
16
16
 
17
- const shareSheetCss = ".flex{display:-ms-flexbox;display:flex}.flex-wrap{display:-ms-flexbox;display:flex;-ms-flex-flow:wrap;flex-flow:wrap}.flex-align-start{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.flex-align-center{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.flex-align-end{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end}.flex-justify-start{display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start}.flex-justify-center{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.flex-justify-end{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end}.flex-align-end-start{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:start;justify-content:flex-start}.flex-align-end-center{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:center;justify-content:center}.flex-align-end-end{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:end;justify-content:flex-end}.flex-center{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.flex-center-justify-end{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}.flex-between{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.flex-center-between{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}.flex-column{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column}.flex-column-align-center{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-align:center;align-items:center}.flex-column-justify-center{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:center;justify-content:center}.flex-column-center{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.flex-column-between{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:justify;justify-content:space-between}.flex-column-center-between{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}*{-webkit-box-sizing:border-box;box-sizing:border-box}p,h1,h2,h3,h4,h5,h6{margin:0;padding:0}ion-button{--background-activated:transparent;--background-focused:transparent;--background-hover:transparent;--box-shadow:none}ion-grid{padding:0}ion-row{padding:0}ion-col{padding:0}ion-item{--padding-bottom:0;--padding-end:0;--padding-start:0;--padding-top:0;--inner-padding-top:0;--inner-padding-start:0;--inner-padding-end:0;--inner-padding-bottom:0;--inner-border-width:0;--border-width:0;--min-height:0;--background:none;overflow:initial}ion-toast{--width:84%;--height:36px;--color:var(--cty-color-white);--background:rgba(0, 0, 0, 0.7);--border-radius:100px;line-height:1.2;font-size:var(--cty-font-size-base);text-align:center}.plt-hybrid .safe-area-bottom-border{-webkit-box-sizing:content-box;box-sizing:content-box;border-bottom:var(--ion-safe-area-bottom, 0) solid var(--cty-color-white)}.plt-hybrid .safe-area-bottom-border-color{-webkit-box-sizing:content-box;box-sizing:content-box;border-bottom:var(--ion-safe-area-bottom, 0) solid currentColor}.plt-hybrid .safe-area-bottom-padding{padding-bottom:var(--ion-safe-area-bottom, 0)}.cty-button-native{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin:0;padding:0;background:transparent;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;line-height:1;border:0;outline:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:0;-webkit-box-shadow:none;box-shadow:none;cursor:pointer}:host{--cty-share-sheet-overlay-position:fixed;--cty-share-sheet-overlay-z-index:10;--cty-share-sheet-overlay-background:var(--cty-overlay-color);--cty-share-sheet-overlay-width:100vw;--cty-share-sheet-overlay-height:100vh;--cty-share-sheet-background:var(--cty-color-white);--cty-share-sheet-border-radius:10px 10px 0 0;--cty-share-sheet-guide-width:50vw;--cty-share-sheet-guide-top:10px;--cty-share-sheet-guide-right:0;--cty-share-sheet-header-padding:12px 15px 4px;--cty-share-sheet-title-offset:8px 0 0;--cty-share-sheet-title-size:var(--cty-font-size-base);--cty-share-sheet-title-color:var(--cty-text-color-primary);--cty-share-sheet-title-line-height:1px;--cty-share-sheet-title-line-background-color:var(--cty-border-color-extra-light);--cty-share-sheet-title-line-offset:20px;--cty-share-sheet-title-line-scale:1;--cty-share-sheet-description-offset-top:8px;--cty-share-sheet-description-size:var(--cty-font-size-extra-small);--cty-share-sheet-description-color:var(--cty-text-color-secondary);--cty-share-sheet-description-text-align:center;--cty-share-sheet-description-line-height:1;--cty-share-sheet-options-overflow-x:auto;--cty-share-sheet-options-wrap:nowrap;--cty-share-sheet-option-num:4;--cty-share-sheet-options-padding:16px 0 0;--cty-share-sheet-option-offset-bottom:16px;--cty-share-sheet-option-icon-width:40px;--cty-share-sheet-option-title-offset:8px 0 0;--cty-share-sheet-option-title-padding:0;--cty-share-sheet-option-title-size:var(--cty-font-size-extra-small);--cty-share-sheet-option-title-color:var(--cty-text-color-primary);--cty-share-sheet-option-description-padding:0;--cty-share-sheet-option-description-size:var(--cty-font-size-extra-small);--cty-share-sheet-option-description-color:var(--cty-text-color-secondary);--cty-share-sheet-cancel-height:48px;--cty-share-sheet-cancel-background:var(--cty-color-white);--cty-share-sheet-cancel-border-color:var(--cty-border-color-extra-light);--cty-share-sheet-cancel-border-width:8px;--cty-share-sheet-cancel-size:var(--cty-font-size-medium);--cty-share-sheet-cancel-color:var(--cty-text-color-primary)}:host(.overlay-hidden){display:none}cty-backdrop{position:var(--cty-share-sheet-overlay-position);z-index:var(--cty-share-sheet-overlay-z-index);background:var(--cty-share-sheet-overlay-background);width:var(--cty-share-sheet-overlay-width);height:var(--cty-share-sheet-overlay-height)}.cty-share-guide{position:absolute;right:var(--cty-share-sheet-guide-right);top:var(--cty-share-sheet-guide-top);width:var(--cty-share-sheet-guide-width)}.cty-share-guide img{display:block;width:100%}.cty-share-sheet{width:100%;background:var(--cty-share-sheet-background);border-radius:var(--cty-share-sheet-border-radius)}.cty-share-sheet__header{padding:var(--cty-share-sheet-header-padding)}cty-divider{--cty-divider-width:var(--cty-share-sheet-title-line-height);--cty-divider-content-offset:var(--cty-share-sheet-title-line-offset);--cty-divider-scale:var(--cty-share-sheet-title-line-scale);margin:var(--cty-share-sheet-title-offset);color:var(--cty-share-sheet-title-color);font-size:var(--cty-share-sheet-title-size);border-color:var(--cty-share-sheet-title-line-background-color)}.cty-share-sheet__description{margin-top:var(--cty-share-sheet-description-offset-top);font-size:var(--cty-share-sheet-description-size);color:var(--cty-share-sheet-description-color);text-align:var(--cty-share-sheet-description-text-align);line-height:var(--cty-share-sheet-description-line-height)}.cty-share-sheet__options{overflow-x:var(--cty-share-sheet-options-overflow-x);-ms-flex-wrap:var(--cty-share-sheet-options-wrap);flex-wrap:var(--cty-share-sheet-options-wrap);width:100%;padding:var(--cty-share-sheet-options-padding)}.cty-share-sheet__options::-webkit-scrollbar{width:0;height:0}.cty-share-sheet__option{max-width:calc(100% / var(--cty-share-sheet-option-num));-ms-flex:0 0 calc(100% / var(--cty-share-sheet-option-num));flex:0 0 calc(100% / var(--cty-share-sheet-option-num));-ms-flex-direction:column;flex-direction:column;margin-bottom:var(--cty-share-sheet-option-offset-bottom)}.cty-share-sheet__img{display:block;width:var(--cty-share-sheet-option-icon-width)}.cty-share-sheet__icon{display:block;width:auto;font-size:var(--cty-share-sheet-option-icon-width)}.cty-share-sheet__option-title{margin:var(--cty-share-sheet-option-title-offset);padding:var(--cty-share-sheet-option-title-padding);font-size:var(--cty-share-sheet-option-title-size);color:var(--cty-share-sheet-option-title-color);white-space:nowrap}.cty-share-sheet__option-description{padding:var(--cty-share-sheet-option-description-padding);font-size:var(--cty-share-sheet-option-description-size);color:var(--cty-share-sheet-option-description-color)}.cty-share-sheet__cancel{width:100%;background:var(--cty-share-sheet-cancel-background-color);border:0;border-top:var(--cty-share-sheet-cancel-border-width) solid var(--cty-share-sheet-cancel-border-color);line-height:var(--cty-share-sheet-cancel-height);font-size:var(--cty-share-sheet-cancel-size);color:var(--cty-share-sheet-cancel-color)}";
17
+ const shareSheetCss = ".flex{display:-ms-flexbox;display:flex}.flex-wrap{display:-ms-flexbox;display:flex;-ms-flex-flow:wrap;flex-flow:wrap}.flex-align-start{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.flex-align-center{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.flex-align-end{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end}.flex-justify-start{display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start}.flex-justify-center{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.flex-justify-end{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end}.flex-align-end-start{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:start;justify-content:flex-start}.flex-align-end-center{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:center;justify-content:center}.flex-align-end-end{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:end;justify-content:flex-end}.flex-center{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.flex-center-justify-end{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}.flex-between{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.flex-center-between{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}.flex-column{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column}.flex-column-align-center{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-align:center;align-items:center}.flex-column-justify-center{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:center;justify-content:center}.flex-column-center{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.flex-column-between{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:justify;justify-content:space-between}.flex-column-center-between{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}*{-webkit-box-sizing:border-box;box-sizing:border-box}p,h1,h2,h3,h4,h5,h6{margin:0;padding:0}ion-button{--background-activated:transparent;--background-focused:transparent;--background-hover:transparent;--box-shadow:none}ion-grid{padding:0}ion-row{padding:0}ion-col{padding:0}ion-item{--padding-bottom:0;--padding-end:0;--padding-start:0;--padding-top:0;--inner-padding-top:0;--inner-padding-start:0;--inner-padding-end:0;--inner-padding-bottom:0;--inner-border-width:0;--border-width:0;--min-height:0;--background:none;overflow:initial}ion-toast{--width:84%;--height:36px;--color:var(--cty-color-white);--background:rgba(0, 0, 0, 0.7);--border-radius:100px;line-height:1.2;font-size:var(--cty-font-size-base);text-align:center}.plt-hybrid .safe-area-bottom-border{-webkit-box-sizing:content-box;box-sizing:content-box;border-bottom:var(--ion-safe-area-bottom, 0) solid var(--cty-color-white)}.plt-hybrid .safe-area-bottom-border-color{-webkit-box-sizing:content-box;box-sizing:content-box;border-bottom:var(--ion-safe-area-bottom, 0) solid currentColor}.plt-hybrid .safe-area-bottom-padding{padding-bottom:var(--ion-safe-area-bottom, 0)}.cty-button-native{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin:0;padding:0;background:transparent;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;line-height:1;border:0;outline:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:0;-webkit-box-shadow:none;box-shadow:none;cursor:pointer}:host{--cty-share-sheet-overlay-position:fixed;--cty-share-sheet-overlay-z-index:10;--cty-share-sheet-overlay-background:var(--cty-overlay-color);--cty-share-sheet-overlay-width:100vw;--cty-share-sheet-overlay-height:100vh;--cty-share-sheet-background:var(--cty-color-white);--cty-share-sheet-border-radius:10px 10px 0 0;--cty-share-sheet-guide-width:50vw;--cty-share-sheet-guide-top:10px;--cty-share-sheet-guide-right:0;--cty-share-sheet-header-padding:12px 15px 4px;--cty-share-sheet-title-offset:8px 0 0;--cty-share-sheet-title-size:var(--cty-font-size-base);--cty-share-sheet-title-color:var(--cty-text-color-primary);--cty-share-sheet-title-line-height:1px;--cty-share-sheet-title-line-background-color:var(--cty-border-color-extra-light);--cty-share-sheet-title-line-offset:20px;--cty-share-sheet-title-line-scale:1;--cty-share-sheet-description-offset-top:8px;--cty-share-sheet-description-size:var(--cty-font-size-extra-small);--cty-share-sheet-description-color:var(--cty-text-color-secondary);--cty-share-sheet-description-text-align:center;--cty-share-sheet-description-line-height:1;--cty-share-sheet-options-overflow-x:auto;--cty-share-sheet-options-wrap:nowrap;--cty-share-sheet-option-num:4;--cty-share-sheet-options-padding:16px 0 0;--cty-share-sheet-option-offset-bottom:16px;--cty-share-sheet-option-icon-width:40px;--cty-share-sheet-option-title-offset:8px 0 0;--cty-share-sheet-option-title-padding:0;--cty-share-sheet-option-title-size:var(--cty-font-size-extra-small);--cty-share-sheet-option-title-color:var(--cty-text-color-primary);--cty-share-sheet-option-description-padding:0;--cty-share-sheet-option-description-size:var(--cty-font-size-extra-small);--cty-share-sheet-option-description-color:var(--cty-text-color-secondary);--cty-share-sheet-cancel-height:48px;--cty-share-sheet-cancel-background:var(--cty-color-white);--cty-share-sheet-cancel-border-color:var(--cty-border-color-extra-light);--cty-share-sheet-cancel-border-width:8px;--cty-share-sheet-cancel-size:var(--cty-font-size-medium);--cty-share-sheet-cancel-color:var(--cty-text-color-primary)}:host(.overlay-hidden){display:none}cty-backdrop{position:var(--cty-share-sheet-overlay-position);z-index:var(--cty-share-sheet-overlay-z-index);background:var(--cty-share-sheet-overlay-background);width:var(--cty-share-sheet-overlay-width);height:var(--cty-share-sheet-overlay-height)}.cty-share-guide{position:absolute;right:var(--cty-share-sheet-guide-right);top:var(--cty-share-sheet-guide-top);width:var(--cty-share-sheet-guide-width)}.cty-share-guide img{display:block;width:100%}.cty-share-sheet{width:100%;background:var(--cty-share-sheet-background);border-radius:var(--cty-share-sheet-border-radius)}.cty-share-sheet__header{padding:var(--cty-share-sheet-header-padding)}cty-divider{--cty-divider-width:var(--cty-share-sheet-title-line-height);--cty-divider-content-offset:var(--cty-share-sheet-title-line-offset);--cty-divider-scale:var(--cty-share-sheet-title-line-scale);margin:var(--cty-share-sheet-title-offset);color:var(--cty-share-sheet-title-color);font-size:var(--cty-share-sheet-title-size);border-color:var(--cty-share-sheet-title-line-background-color)}.cty-share-sheet__description{margin-top:var(--cty-share-sheet-description-offset-top);font-size:var(--cty-share-sheet-description-size);color:var(--cty-share-sheet-description-color);text-align:var(--cty-share-sheet-description-text-align);line-height:var(--cty-share-sheet-description-line-height)}.cty-share-sheet__options{overflow-x:var(--cty-share-sheet-options-overflow-x);-ms-flex-wrap:var(--cty-share-sheet-options-wrap);flex-wrap:var(--cty-share-sheet-options-wrap);width:100%;padding:var(--cty-share-sheet-options-padding)}.cty-share-sheet__options::-webkit-scrollbar{width:0;height:0}.cty-share-sheet__option{max-width:calc(100% / var(--cty-share-sheet-option-num));-ms-flex:0 0 calc(100% / var(--cty-share-sheet-option-num));flex:0 0 calc(100% / var(--cty-share-sheet-option-num));-ms-flex-direction:column;flex-direction:column;margin-bottom:var(--cty-share-sheet-option-offset-bottom)}.cty-share-sheet__img{display:block;width:var(--cty-share-sheet-option-icon-width)}.cty-share-sheet__icon{display:block;width:auto;font-size:var(--cty-share-sheet-option-icon-width)}.cty-share-sheet__option-title{margin:var(--cty-share-sheet-option-title-offset);padding:var(--cty-share-sheet-option-title-padding);font-size:var(--cty-share-sheet-option-title-size);color:var(--cty-share-sheet-option-title-color);white-space:nowrap}.cty-share-sheet__option-description{padding:var(--cty-share-sheet-option-description-padding);font-size:var(--cty-share-sheet-option-description-size);color:var(--cty-share-sheet-option-description-color)}.cty-share-sheet__cancel{width:100%;background:var(--cty-share-sheet-cancel-background-color);border:0;border-top:var(--cty-share-sheet-cancel-border-width) solid var(--cty-share-sheet-cancel-border-color);line-height:var(--cty-share-sheet-cancel-height);font-size:var(--cty-share-sheet-cancel-size);color:var(--cty-share-sheet-cancel-color)}cty-permission-purpose{--cty-permission-purpose-overlay-height:auto}";
18
18
 
19
19
  const ShareSheet = /*@__PURE__*/ proxyCustomElement(class ShareSheet extends HTMLElement {
20
20
  constructor() {
@@ -394,7 +394,7 @@ const ShareSheet = /*@__PURE__*/ proxyCustomElement(class ShareSheet extends HTM
394
394
  this.ctyGuide.emit();
395
395
  }
396
396
  render() {
397
- return (h(Host, { key: 'e78cf287f8f817efe439b49ed72085c083ec536b', class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { 'overlay-hidden': true }), style: { zIndex: `${20000 + this.overlayIndex}` } }, h("cty-backdrop", { key: '992f276b5e913e4304fec76488e3b114404ba1be', backdropDismiss: this.backdropDismiss, position: "bottom", onCtyDismiss: () => this.dismiss() }, this.guide && this.isMicroMessager && (h("div", { key: '9dfc481bf9f86c939c01ef68d1a282a939519349', class: "cty-share-guide", onClick: (e) => this._doGuid(e) }, h("img", { key: '7cd7e68c507edd8dff6b916d5799e808109f95dd', src: this.guideImg }))), h("slot", { key: 'd473f29a6fddddb019c09368608835e35a810661', name: "share-sheet" }), !this.hiddenSheet && (h("div", { key: 'b0324434561852746abcf29a547e1c10e37675ef', class: "cty-share-sheet safe-area-bottom-padding", onClick: (e) => e.stopPropagation() }, h("slot", { key: 'e9f26fc6fdf9e79a484077bbf55021d92a2366ec', name: "header" }), (this.title || this.description) && (h("div", { key: '159977bc1d742592e4518532e8aa277daac8b2ed', class: "cty-share-sheet__header", part: "header" }, this.title && h("cty-divider", { key: 'c811dedb957c2f5f1a84d41fa6990effa936e45d' }, this.title), this.description && h("p", { key: '5f0a667e4d43de2ae191ee76eb8c414fd91dec7d', class: "cty-share-sheet__description" }, this.description))), h("slot", { key: '8436a444b9ae7e4de78b1e887873f67098ee1d4a', name: "options" }), h("div", { key: 'fa0b0f52228db6a03ff806c27f3ebdfba4f13fac', class: "cty-share-sheet__options flex", part: "options" }, this._options.map((option, idx) => (h("div", { part: "option", class: "cty-share-sheet__option flex-align-center", onClick: () => this._buttonClick(option, idx) }, option.icon && option.icon.indexOf('/') >= 0 && !option.icon.endsWith('.svg') && h("img", { class: "cty-share-sheet__img", src: option.icon }), option.icon && (option.icon.indexOf('/') < 0 || option.icon.endsWith('.svg')) && h("cty-icon", { name: option.icon, class: "cty-share-sheet__icon" }), option.title && h("span", { class: "cty-share-sheet__option-title" }, option.title), option.description && h("span", { class: "cty-share-sheet__option-description" }, option.description))))), h("slot", { key: 'f4af07d7fa36e72707fb963679bd7d1257567ffc', name: "cancel" }), this.cancelText && (h("button", { key: '8d49acac107486a60bfc556979aae693a1e69205', part: "cancel", class: "cty-button-native cty-share-sheet__cancel", onClick: () => this.dismiss() }, this.cancelText))))), this.showPermissionPurpose && h("cty-permission-purpose", { key: '0aaa5c6be4dc6c707def59e6f52a40e1b80f337e', description: this.permissionDescription }), h("ion-toast", { key: '004405c04af98d4ea28529f527a0b67cffe669e8', "is-open": this.isToastOpen, message: this.toastContent, duration: 2000 })));
397
+ return (h(Host, { key: '8757d4a8b07d87efd53f7b155faa0b39a727fed0', class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { 'overlay-hidden': true }), style: { zIndex: `${20000 + this.overlayIndex}` } }, h("cty-backdrop", { key: 'c8368ab2f9684ededf86d26cbae4643b716d5eb3', backdropDismiss: this.backdropDismiss, position: "bottom", onCtyDismiss: () => this.dismiss() }, this.guide && this.isMicroMessager && (h("div", { key: 'cfa74ed0b3f0dd63dc8da305b09dbf032bdc479a', class: "cty-share-guide", onClick: (e) => this._doGuid(e) }, h("img", { key: '996b6724a08c47cd5a216b1c5af7e2d4a6deb358', src: this.guideImg }))), h("slot", { key: '15511304eec04e38fc4fede8500cfe86ba491c4f', name: "share-sheet" }), !this.hiddenSheet && (h("div", { key: '56149976aa96c7108e88372f53e6deec3dab26d7', class: "cty-share-sheet safe-area-bottom-padding", onClick: (e) => e.stopPropagation() }, h("slot", { key: '58c3ee47966bcc13fd5d853685fd14e9bb10dc0a', name: "header" }), (this.title || this.description) && (h("div", { key: '4edbfe76289997aadaf436bd6f5a212aa5074029', class: "cty-share-sheet__header", part: "header" }, this.title && h("cty-divider", { key: '95f441f50c315eebcd771442c5c3b1698b16acdb' }, this.title), this.description && h("p", { key: 'c11cae0d8d2e64dcf5f6829b4c70a51f5ef52d97', class: "cty-share-sheet__description" }, this.description))), h("slot", { key: '9736ea1a93c1fed84cabbb971645ec16751d0c42', name: "options" }), h("div", { key: '52dfb70f5eab7271b85dba92626f83bc01208810', class: "cty-share-sheet__options flex", part: "options" }, this._options.map((option, idx) => (h("div", { part: "option", class: "cty-share-sheet__option flex-align-center", onClick: () => this._buttonClick(option, idx) }, option.icon && option.icon.indexOf('/') >= 0 && !option.icon.endsWith('.svg') && h("img", { class: "cty-share-sheet__img", src: option.icon }), option.icon && (option.icon.indexOf('/') < 0 || option.icon.endsWith('.svg')) && h("cty-icon", { name: option.icon, class: "cty-share-sheet__icon" }), option.title && h("span", { class: "cty-share-sheet__option-title" }, option.title), option.description && h("span", { class: "cty-share-sheet__option-description" }, option.description))))), h("slot", { key: '8528c74d8ed0f75457447e23421a67fb21a506ea', name: "cancel" }), this.cancelText && (h("button", { key: '7b000a6f94fc494c3d7a411656d075bd7f0d9a0c', part: "cancel", class: "cty-button-native cty-share-sheet__cancel", onClick: () => this.dismiss() }, this.cancelText))))), this.showPermissionPurpose && h("cty-permission-purpose", { key: 'e43ebf8435a8fdaf49c3426eb0030842e918c6c3', description: this.permissionDescription }), h("ion-toast", { key: '2e00a1c8756907613e61eb1221a4866680fa46fb', "is-open": this.isToastOpen, message: this.toastContent, duration: 2000 })));
398
398
  }
399
399
  get el() { return this; }
400
400
  static get watchers() { return {
@@ -425,6 +425,7 @@ const ShareSheet = /*@__PURE__*/ proxyCustomElement(class ShareSheet extends HTM
425
425
  "trigger": [1],
426
426
  "isToastOpen": [32],
427
427
  "toastContent": [32],
428
+ "showPermissionPurpose": [32],
428
429
  "present": [64],
429
430
  "dismiss": [64],
430
431
  "onDidDismiss": [64],
@@ -734,6 +734,7 @@ const Video = /*@__PURE__*/ proxyCustomElement(class Video extends HTMLElement {
734
734
  document.removeEventListener('resume', this.iosAResumeHandler);
735
735
  }
736
736
  }
737
+ this.videoEl && (this.videoEl.src = '');
737
738
  }
738
739
  _getVolumeIconName() {
739
740
  if (this.isMute) {
@@ -1209,12 +1210,12 @@ const Video = /*@__PURE__*/ proxyCustomElement(class Video extends HTMLElement {
1209
1210
  }, onClick: (event) => event.stopPropagation(), style: { top: this.dotDotPanelTop, left: this.dotDotPanelLeft, opacity: this.reallyShowDot ? '1' : '0' } }, h("span", { class: "cty-video__dot-label cty-ellipsis2" }, this.currentMarker.describe), h("ion-button", { onClick: this._toPoint }, h("cty-icon", { name: "cty-play-ex" }), "\u77E5\u8BC6\u70B9"), h("span", { class: "cty-video__dot-triangle", style: { 'margin-left': this.triangleMargin + 'px' } }))), h("slot", { name: "ctrl" })));
1210
1211
  }
1211
1212
  render() {
1212
- return (h(Host, { key: '6adfc085d212a7f444cbfdebcaa8db55c16c28ad', class: {
1213
+ return (h(Host, { key: 'bcce9c119dd9742d0c69dd9b5ed45b2ee39e4f91', class: {
1213
1214
  'cty-video': true,
1214
1215
  'cty-video__vertical': this.deviceIsPORTRAIT,
1215
1216
  'cty-video__unfullscreen': !this.curIsFullscreen,
1216
1217
  'cty-video__large-screen': this.direction == 'P' && this.curIsFullscreen && (this.isPC || this.isIpad)
1217
- } }, this.renderPlayer(), this.renderControls(), (!this.isLoading || this.isMicroMessager) && !this.isPlaying && !this.showInteractiveLayer && this.showTogglePlay && (h("ion-button", { key: '5fc0a3de547d15aacfaf97d5d88386d01f42cc36', part: "toggle-play", class: "cty-video__toggle-play flex-center", onClick: (e) => { this.toggleVideo(e); } }, h("cty-icon", { key: 'bdaf69d81dc56cab662dad85fade4a96211092a8', name: "cty-play" }))), !this.isWifi && !this.isPlaying && !this.isLoading && !this.isMicroMessager && this.trafficMsg && (h("div", { key: '88706702c3db5d24dfdcc705166acb7d87588baf', class: "cty-video__toast cty-ellipsis", part: "toast" }, this.trafficMsg)), this.warningMsg != '' && (h("div", { key: 'd0fc2227043e207f86006b31a101db5cff24aaa8', class: "cty-video__toast cty-ellipsis", part: "toast" }, this.warningMsg)), this.showPlayRate && (h("div", { key: '4f9fd7d4f4d1553cce4ff1b6b11c0f189a3ebe25', class: "cty-video__rate", onClick: () => this.showPlayRate = false }, h("div", { key: 'b6f4d58a9dd2491cb8df589e3cbde6116a5930ab', class: "cty-video__rate-mask flex-center-justify-end" }, h("div", { key: '9d9fa14f992b76a7c3068992c2a5ba2bf6d90f84', class: "cty-video__rate-list" }, this._rates.map((item) => (h("button", { onClick: () => this.setPlayRate(item), class: { active: this.rate == item, 'cty-video__rate-list-item': true } }, h("span", null, item, "X")))))))), this.hasInteractive && this.curIsFullscreen && (h("div", { key: 'dfa51bb93aecc26bfca408f3670f1ca839fa942f', class: "cty-video__player cty-video__interactive", onClick: () => { }, ref: (el) => this.interactiveEl = el }))));
1218
+ } }, this.renderPlayer(), this.renderControls(), (!this.isLoading || this.isMicroMessager) && !this.isPlaying && !this.showInteractiveLayer && this.showTogglePlay && (h("ion-button", { key: 'f55a081110cdc0db15c903ec34b2258e953fafc7', part: "toggle-play", class: "cty-video__toggle-play flex-center", onClick: (e) => { this.toggleVideo(e); } }, h("cty-icon", { key: 'f1ea8cecf7415ea732e59d475256f8033a242d74', name: "cty-play" }))), !this.isWifi && !this.isPlaying && !this.isLoading && !this.isMicroMessager && this.trafficMsg && (h("div", { key: '9167c66f7410c98493227e4dca379bf65740242b', class: "cty-video__toast cty-ellipsis", part: "toast" }, this.trafficMsg)), this.warningMsg != '' && (h("div", { key: '536ff573d8c9670a531e5af490cbd8bb1ab74be1', class: "cty-video__toast cty-ellipsis", part: "toast" }, this.warningMsg)), this.showPlayRate && (h("div", { key: 'cdf67ac451fd70983f4fee4741d5fe9330161407', class: "cty-video__rate", onClick: () => this.showPlayRate = false }, h("div", { key: 'cbef52f68b8d3028908da0b69c6c8983564821be', class: "cty-video__rate-mask flex-center-justify-end" }, h("div", { key: '8ddaff687d8231d9c8448ef4d5758a64e2751f7d', class: "cty-video__rate-list" }, this._rates.map((item) => (h("button", { onClick: () => this.setPlayRate(item), class: { active: this.rate == item, 'cty-video__rate-list-item': true } }, h("span", null, item, "X")))))))), this.hasInteractive && this.curIsFullscreen && (h("div", { key: 'b82904799d30e33e762b352739d67d9a38cdbff0', class: "cty-video__player cty-video__interactive", onClick: () => { }, ref: (el) => this.interactiveEl = el }))));
1218
1219
  }
1219
1220
  static get assetsDirs() { return ["assets"]; }
1220
1221
  get el() { return this; }
@@ -417,9 +417,23 @@ function convertDate(value) {
417
417
  if (!value.includes('T') && !value.includes(' ') && value.endsWith('Z')) {
418
418
  value = value.replace(/Z/g, '').replace(/\//g, '-');
419
419
  }
420
+ return convertDateEx(value);
420
421
  }
421
422
  return new Date(value);
422
423
  }
424
+ function convertDateEx(value) {
425
+ const newValue = value
426
+ .replace('T', '-')
427
+ .replace(' ', '-')
428
+ .replace(/:/g, '-')
429
+ .replace('.', '-')
430
+ .replace('Z', '');
431
+ const list = newValue.split('-');
432
+ const date = new Date();
433
+ date.setFullYear(+list[0], +list[1] - 1, +list[2]);
434
+ date[value.endsWith('Z') ? 'setUTCHours' : 'setHours'](+list[3] || 0, +list[4] || 0, +list[5] || 0, +list[6] || 0);
435
+ return date;
436
+ }
423
437
  function getBrowserInfo() {
424
438
  const UserAgent = navigator.userAgent.toLowerCase();
425
439
  let browserName = '';
@@ -15,7 +15,7 @@ require('./animation-BhN-MT4J.js');
15
15
  require('./index-D3mJ1Cix.js');
16
16
  require('./helpers-B4vhh9gt.js');
17
17
 
18
- const cameraPhotoCss = "*{-webkit-box-sizing:border-box;box-sizing:border-box}p,h1,h2,h3,h4,h5,h6{margin:0;padding:0}.cty-pos-rel{position:relative}.cty-pos-abs{position:absolute}.cty-pos-fix{position:fixed}.cty-pos-sti{position:-webkit-sticky;position:sticky}.cty-pos-cover{position:absolute;top:0;bottom:0;left:0;right:0}.cty-pos-l-t{position:absolute;left:0;top:0}.cty-pos-l-b{position:absolute;left:0;bottom:0}.cty-pos-r-t{position:absolute;right:0;top:0}.cty-pos-r-b{position:absolute;right:0;bottom:0}.cty-pos-100{position:absolute;left:0;top:0;width:100%;height:100%}.cty-pos-w100{position:absolute;left:0;width:100%}.cty-pos-h100{position:absolute;top:0;height:100%}.cty-pos-c{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.cty-pos-c-x{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.cty-pos-c-x-t{position:absolute;top:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.cty-pos-c-x-b{position:absolute;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.cty-pos-c-y{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.cty-pos-c-y-l{position:absolute;left:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.cty-pos-c-y-r{position:absolute;right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}:host{--cty-camera-photo-overlay-position:fixed;--cty-camera-photo-overlay-z-index:10;--cty-camera-photo-overlay-background:var(--cty-overlay-color);--cty-camera-photo-overlay-width:100vw;--cty-camera-photo-overlay-height:100vh;--cty-camera-photo-padding:0;--cty-camera-photo-border-radius:0;--cty-camera-photo-title-color:var(--cty-text-color-primary);--cty-camera-photo-title-size:var(--cty-font-size-medium);--cty-camera-photo-title-line-height:36px;--cty-camera-photo-title-weight:500;--cty-camera-photo-title-align:center;--cty-camera-photo-close-top:10px;--cty-camera-photo-close-right:10px;--cty-camera-photo-close-color:var(--cty-text-color-secondary);--cty-camera-photo-close-size:20px;--cty-camera-photo-option-padding-bottom:14px;--cty-camera-photo-option-padding-top:14px;--cty-camera-photo-option-text-align:center;--cty-camera-photo-option-text-color:var(--cty-text-color-primary);--cty-camera-photo-option-text-size:var(--cty-font-size-medium);--cty-camera-photo-option-text-line-height:22px;--cty-camera-photo-cancel-background:var(--cty-color-white);--cty-camera-photo-cancel-padding-top:0;--cty-camera-photo-cancel-padding-bottom:0;--cty-camera-photo-cancel-border:8px solid var(--cty-border-color-extra-light);--cty-camera-photo-cancel-color:var(--cty-text-color-primary);--cty-camera-photo-cancel-min-height:48px;--cty-camera-photo-cancel-size:var(--cty-font-size-medium);--cty-camera-photo-crop-width:100vw;--cty-camera-photo-crop-height:100vh;--cty-camera-photo-crop-background:var(--cty-color-black);--cty-camera-photo-crop-clip-height:100vw;--cty-camera-photo-crop-clip-width:100vw;--cty-camera-photo-crop-clip-background:var(--cty-overlay-color-dark);--cty-camera-photo-crop-clip-border:1px solid #767676;--cty-camera-photo-crop-buttons-padding:12px 0;--cty-camera-photo-crop-button-padding:0 12px;--cty-camera-photo-crop-button-color:var(--cty-text-color-white);--cty-camera-photo-crop-button-active-color:var(--cty-text-color-white);--cty-camera-photo-crop-button-size:var(--cty-font-size-base);--cty-camera-photo-crop-button-line-height:30px;--cty-camera-photo-crop-button-weight:400;--cty-camera-photo-crop-overlay-background:var(--cty-overlay-color);--cty-camera-photo-crop-overlay-z-index:999999;--cty-camera-photo-permission-purpose-overlay-background:transparent;--cty-camera-photo-permission-purpose-overlay-height:auto}:host(.overlay-hidden){display:none}cty-action-sheet{--cty-action-sheet-overlay-position:var(--cty-camera-photo-overlay-position);--cty-action-sheet-overlay-z-index:var(--cty-camera-photo-overlay-z-index);--cty-action-sheet-overlay-width:var(--cty-camera-photo-overlay-width);--cty-action-sheet-overlay-height:var(--cty-camera-photo-overlay-height);--cty-action-sheet-overlay-background:var(--cty-camera-photo-overlay-background);--cty-action-sheet-padding:var(--cty-camera-photo-padding);--cty-action-sheet-border-radius:var(--cty-camera-photo-border-radius);--cty-action-sheet-title-color:var(--cty-camera-photo-title-color);--cty-action-sheet-title-size:var(--cty-camera-photo-title-size);--cty-action-sheet-title-line-height:var(--cty-camera-photo-title-line-height);--cty-action-sheet-title-weight:var(--cty-camera-photo-title-weight);--cty-action-sheet-title-align:var(--cty-camera-photo-title-align);--cty-action-sheet-close-top:var(--cty-action-sheet-close-top);--cty-action-sheet-close-right:var(--cty-action-sheet-close-right);--cty-action-sheet-close-color:var(--cty-action-sheet-close-color);--cty-action-sheet-close-size:var(--cty-action-sheet-close-size);--cty-action-sheet-option-padding-bottom:var(--cty-camera-photo-option-padding-bottom);--cty-action-sheet-option-padding-top:var(--cty-camera-photo-option-padding-top);--cty-action-sheet-option-text-align:var(--cty-camera-photo-option-text-align);--cty-action-sheet-option-text-color:var(--cty-camera-photo-option-text-color);--cty-action-sheet-option-text-size:var(--cty-camera-photo-option-text-size);--cty-action-sheet-option-text-line-height:var(--cty-camera-photo-option-text-line-height);--cty-action-sheet-cancel-background:var(--cty-camera-photo-cancel-background);--cty-action-sheet-cancel-padding-top:var(--cty-camera-photo-cancel-padding-top);--cty-action-sheet-cancel-padding-bottom:var(--cty-camera-photo-cancel-padding-bottom);--cty-action-sheet-cancel-border:var(--cty-camera-photo-cancel-border);--cty-action-sheet-cancel-color:var(--cty-camera-photo-cancel-color);--cty-action-sheet-cancel-min-height:var(--cty-camera-photo-cancel-min-height);--cty-action-sheet-cancel-size:var(--cty-camera-photo-cancel-size)}cty-backdrop{z-index:var(--cty-camera-photo-crop-overlay-z-index);background:var(--cty-camera-photo-crop-overlay-background)}cty-crop-image{background:var(--cty-camera-photo-crop-background);width:var(--cty-camera-photo-crop-width);height:var(--cty-camera-photo-crop-height);--cty-crop-image-clip-width:var(--cty-camera-photo-crop-clip-width);--cty-crop-image-clip-height:var(--cty-camera-photo-crop-clip-height);--cty-crop-image-clip-background:var(--cty-camera-photo-crop-clip-background);--cty-crop-image-clip-border:var(--cty-camera-photo-crop-clip-border);--cty-crop-image-buttons-padding:var(--cty-camera-photo-crop-buttons-padding);--cty-crop-image-button-padding:var(--cty-camera-photo-crop-button-padding);--cty-crop-image-button-color:var(--cty-camera-photo-crop-button-color);--cty-crop-image-button-active-color:var(--cty-camera-photo-crop-button-active-color);--cty-crop-image-button-size:var(--cty-camera-photo-crop-button-size);--cty-crop-image-button-line-height:var(--cty-camera-photo-crop-button-line-height);--cty-crop-image-button-weight:var(--cty-camera-photo-crop-overlay-weight)}cty-permission-purpose{--cty-permission-purpose-overlay-background:var(--cty-camera-photo-permission-purpose-overlay-background);--cty-permission-purpose-overlay-height:var(--cty-camera-photo-permission-purpose-overlay-height)}";
18
+ const cameraPhotoCss = "*{-webkit-box-sizing:border-box;box-sizing:border-box}p,h1,h2,h3,h4,h5,h6{margin:0;padding:0}.cty-pos-rel{position:relative}.cty-pos-abs{position:absolute}.cty-pos-fix{position:fixed}.cty-pos-sti{position:-webkit-sticky;position:sticky}.cty-pos-cover{position:absolute;top:0;bottom:0;left:0;right:0}.cty-pos-l-t{position:absolute;left:0;top:0}.cty-pos-l-b{position:absolute;left:0;bottom:0}.cty-pos-r-t{position:absolute;right:0;top:0}.cty-pos-r-b{position:absolute;right:0;bottom:0}.cty-pos-100{position:absolute;left:0;top:0;width:100%;height:100%}.cty-pos-w100{position:absolute;left:0;width:100%}.cty-pos-h100{position:absolute;top:0;height:100%}.cty-pos-c{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.cty-pos-c-x{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.cty-pos-c-x-t{position:absolute;top:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.cty-pos-c-x-b{position:absolute;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.cty-pos-c-y{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.cty-pos-c-y-l{position:absolute;left:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.cty-pos-c-y-r{position:absolute;right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}:host{--cty-camera-photo-overlay-position:fixed;--cty-camera-photo-overlay-z-index:10;--cty-camera-photo-overlay-background:var(--cty-overlay-color);--cty-camera-photo-overlay-width:100vw;--cty-camera-photo-overlay-height:100vh;--cty-camera-photo-padding:0;--cty-camera-photo-border-radius:0;--cty-camera-photo-title-color:var(--cty-text-color-primary);--cty-camera-photo-title-size:var(--cty-font-size-medium);--cty-camera-photo-title-line-height:36px;--cty-camera-photo-title-weight:500;--cty-camera-photo-title-align:center;--cty-camera-photo-close-top:10px;--cty-camera-photo-close-right:10px;--cty-camera-photo-close-color:var(--cty-text-color-secondary);--cty-camera-photo-close-size:20px;--cty-camera-photo-option-padding-bottom:14px;--cty-camera-photo-option-padding-top:14px;--cty-camera-photo-option-text-align:center;--cty-camera-photo-option-text-color:var(--cty-text-color-primary);--cty-camera-photo-option-text-size:var(--cty-font-size-medium);--cty-camera-photo-option-text-line-height:22px;--cty-camera-photo-cancel-background:var(--cty-color-white);--cty-camera-photo-cancel-padding-top:0;--cty-camera-photo-cancel-padding-bottom:0;--cty-camera-photo-cancel-border:8px solid var(--cty-border-color-extra-light);--cty-camera-photo-cancel-color:var(--cty-text-color-primary);--cty-camera-photo-cancel-min-height:48px;--cty-camera-photo-cancel-size:var(--cty-font-size-medium);--cty-camera-photo-crop-width:100vw;--cty-camera-photo-crop-height:100vh;--cty-camera-photo-crop-background:var(--cty-color-black);--cty-camera-photo-crop-clip-height:100vw;--cty-camera-photo-crop-clip-width:100vw;--cty-camera-photo-crop-clip-background:var(--cty-overlay-color-dark);--cty-camera-photo-crop-clip-border:1px solid #767676;--cty-camera-photo-crop-buttons-padding:12px 0;--cty-camera-photo-crop-button-padding:0 12px;--cty-camera-photo-crop-button-color:var(--cty-text-color-white);--cty-camera-photo-crop-button-active-color:var(--cty-text-color-white);--cty-camera-photo-crop-button-size:var(--cty-font-size-base);--cty-camera-photo-crop-button-line-height:30px;--cty-camera-photo-crop-button-weight:400;--cty-camera-photo-crop-overlay-background:var(--cty-overlay-color);--cty-camera-photo-crop-overlay-z-index:999999;--cty-camera-photo-permission-purpose-overlay-background:transparent;--cty-camera-photo-permission-purpose-overlay-height:auto;--cty-camera-photo-permission-purpose-overlay-z-index:999999}:host(.overlay-hidden){display:none}cty-action-sheet{--cty-action-sheet-overlay-position:var(--cty-camera-photo-overlay-position);--cty-action-sheet-overlay-z-index:var(--cty-camera-photo-overlay-z-index);--cty-action-sheet-overlay-width:var(--cty-camera-photo-overlay-width);--cty-action-sheet-overlay-height:var(--cty-camera-photo-overlay-height);--cty-action-sheet-overlay-background:var(--cty-camera-photo-overlay-background);--cty-action-sheet-padding:var(--cty-camera-photo-padding);--cty-action-sheet-border-radius:var(--cty-camera-photo-border-radius);--cty-action-sheet-title-color:var(--cty-camera-photo-title-color);--cty-action-sheet-title-size:var(--cty-camera-photo-title-size);--cty-action-sheet-title-line-height:var(--cty-camera-photo-title-line-height);--cty-action-sheet-title-weight:var(--cty-camera-photo-title-weight);--cty-action-sheet-title-align:var(--cty-camera-photo-title-align);--cty-action-sheet-close-top:var(--cty-action-sheet-close-top);--cty-action-sheet-close-right:var(--cty-action-sheet-close-right);--cty-action-sheet-close-color:var(--cty-action-sheet-close-color);--cty-action-sheet-close-size:var(--cty-action-sheet-close-size);--cty-action-sheet-option-padding-bottom:var(--cty-camera-photo-option-padding-bottom);--cty-action-sheet-option-padding-top:var(--cty-camera-photo-option-padding-top);--cty-action-sheet-option-text-align:var(--cty-camera-photo-option-text-align);--cty-action-sheet-option-text-color:var(--cty-camera-photo-option-text-color);--cty-action-sheet-option-text-size:var(--cty-camera-photo-option-text-size);--cty-action-sheet-option-text-line-height:var(--cty-camera-photo-option-text-line-height);--cty-action-sheet-cancel-background:var(--cty-camera-photo-cancel-background);--cty-action-sheet-cancel-padding-top:var(--cty-camera-photo-cancel-padding-top);--cty-action-sheet-cancel-padding-bottom:var(--cty-camera-photo-cancel-padding-bottom);--cty-action-sheet-cancel-border:var(--cty-camera-photo-cancel-border);--cty-action-sheet-cancel-color:var(--cty-camera-photo-cancel-color);--cty-action-sheet-cancel-min-height:var(--cty-camera-photo-cancel-min-height);--cty-action-sheet-cancel-size:var(--cty-camera-photo-cancel-size)}cty-backdrop{z-index:var(--cty-camera-photo-crop-overlay-z-index);background:var(--cty-camera-photo-crop-overlay-background)}cty-crop-image{background:var(--cty-camera-photo-crop-background);width:var(--cty-camera-photo-crop-width);height:var(--cty-camera-photo-crop-height);--cty-crop-image-clip-width:var(--cty-camera-photo-crop-clip-width);--cty-crop-image-clip-height:var(--cty-camera-photo-crop-clip-height);--cty-crop-image-clip-background:var(--cty-camera-photo-crop-clip-background);--cty-crop-image-clip-border:var(--cty-camera-photo-crop-clip-border);--cty-crop-image-buttons-padding:var(--cty-camera-photo-crop-buttons-padding);--cty-crop-image-button-padding:var(--cty-camera-photo-crop-button-padding);--cty-crop-image-button-color:var(--cty-camera-photo-crop-button-color);--cty-crop-image-button-active-color:var(--cty-camera-photo-crop-button-active-color);--cty-crop-image-button-size:var(--cty-camera-photo-crop-button-size);--cty-crop-image-button-line-height:var(--cty-camera-photo-crop-button-line-height);--cty-crop-image-button-weight:var(--cty-camera-photo-crop-overlay-weight)}cty-permission-purpose{--cty-permission-purpose-overlay-background:var(--cty-camera-photo-permission-purpose-overlay-background);--cty-permission-purpose-overlay-height:var(--cty-camera-photo-permission-purpose-overlay-height);--cty-permission-purpose-overlay-z-index:var(--cty-camera-photo-permission-purpose-overlay-z-index)}";
19
19
 
20
20
  const CameraPhoto = class {
21
21
  constructor(hostRef) {
@@ -194,7 +194,7 @@ const CameraPhoto = class {
194
194
  this.ctyTap.emit({ index, imageList });
195
195
  }
196
196
  render() {
197
- return (index.h(index.Host, { key: '4994ab89e969ab4f135e61d465ce4fcd34739b0b', class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { 'overlay-hidden': true, 'cty-pos-cover': this.overlay }), style: { zIndex: `${20000 + this.overlayIndex}` } }, index.h("cty-action-sheet", { key: 'deef5fb5f31944b226bcb22e0df2bafb685bedbd', class: "cty-camera-photo", animated: false, overlayIndex: 1, backdropDismiss: this.backdropDismiss, title: this.title, closeable: this.closeable, closeIcon: this.closeIcon, cancelText: this.cancelText, options: this.options, onCtyDismiss: () => this.dismiss(), onCtyTap: e => this._buttonClick(e) }), this.showCropImage && (index.h("cty-backdrop", { key: 'e264d6caf8b866f83f5d1b9bc46bf8ede10f3420', backdropDismiss: false }, index.h("cty-crop-image", { key: '3d3068238520a825596c106be9bcea7c88d8ea4c', url: this.clipImage, cancelText: this.clipCancelText, confirmText: this.clipCconfirmText, imageWidth: this.clipImageWidth, imageBackground: this.clipImageBg, maxScale: this.clipMaxScale, minScale: this.clipMinScale, suffix: this.clipImageSuffix, quality: this.clipImageQuality, onCtyCancel: () => this._doCropCancel(), onCtyConfirm: (e) => this._doCropConfirm(e) }))), this.showPermissionPurpose && index.h("cty-permission-purpose", { key: '924373b5916aa0abd717e5c35e041f82b6b73bb0', description: this.permissionDescription })));
197
+ return (index.h(index.Host, { key: 'bf664a9c7a1a47f86e1e5efc94edce7b3897ca46', class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { 'overlay-hidden': true, 'cty-pos-cover': this.overlay }), style: { zIndex: `${20000 + this.overlayIndex}` } }, index.h("cty-action-sheet", { key: '6baf98701e79eead40a3f20f1deac5178d13563b', class: "cty-camera-photo", animated: false, overlayIndex: 1, backdropDismiss: this.backdropDismiss, title: this.title, closeable: this.closeable, closeIcon: this.closeIcon, cancelText: this.cancelText, options: this.options, onCtyDismiss: () => this.dismiss(), onCtyTap: e => this._buttonClick(e) }), this.showCropImage && (index.h("cty-backdrop", { key: '81456ac1e2f369d2d0564d7933776f26ba6f6e0d', backdropDismiss: false }, index.h("cty-crop-image", { key: 'e742d3caae19b9ee3c43a47c200a6768efb125ef', url: this.clipImage, cancelText: this.clipCancelText, confirmText: this.clipCconfirmText, imageWidth: this.clipImageWidth, imageBackground: this.clipImageBg, maxScale: this.clipMaxScale, minScale: this.clipMinScale, suffix: this.clipImageSuffix, quality: this.clipImageQuality, onCtyCancel: () => this._doCropCancel(), onCtyConfirm: (e) => this._doCropConfirm(e) }))), this.showPermissionPurpose && index.h("cty-permission-purpose", { key: '67c53ea351b7ec13edf5a47ef4aab5b28b275b3d', description: this.permissionDescription })));
198
198
  }
199
199
  get el() { return index.getElement(this); }
200
200
  static get watchers() { return {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-DCK462Hl.js');
4
- var statusBar = require('./status-bar-BJrl_sQk.js');
4
+ var statusBar = require('./status-bar-BEYjerhw.js');
5
5
  var videoCapture = require('./video-capture-BzaT8Wzj.js');
6
6
  var index$1 = require('./index-o2Vg_VSe.js');
7
7
  require('./config-Bn2x7PFv.js');