@orangelogic/design-system 2.19.0-ci.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/library/apps/cortex/src/types.d.ts +5 -0
- package/library/assets/content-builder.css +1 -0
- package/library/assets/design-system.css +1 -0
- package/library/assets/outlined.css +1 -0
- package/library/assets/rounded.css +1 -0
- package/library/assets/sharp.css +1 -0
- package/library/atoms.d.ts +1 -0
- package/library/chunks/DeviceOrientationControls.CCdbZgfJ.js +29 -0
- package/library/chunks/OrbitControls.CLHBWz99.js +270 -0
- package/library/chunks/VRControls.js_g1t8t.js +25 -0
- package/library/chunks/VREffect.DBiEtV6k.js +113 -0
- package/library/chunks/_baseUniq.BUihBa8c.js +202 -0
- package/library/chunks/_commonjsHelpers.ByX85dGu.js +33 -0
- package/library/chunks/animation-registry.DavRkTTr.js +69 -0
- package/library/chunks/animation.DPqSuC7g.js +999 -0
- package/library/chunks/asset-link-format.BSRDqHg7.js +6 -0
- package/library/chunks/asset-link-format.CNLtOgSn.js +2900 -0
- package/library/chunks/base.D76d76ww.js +9 -0
- package/library/chunks/browser.Va59Ix3P.js +82 -0
- package/library/chunks/button.G_W-dK6b.js +292 -0
- package/library/chunks/button.styles.CRh5_Ev4.js +718 -0
- package/library/chunks/capitalize.CNStXZBq.js +41 -0
- package/library/chunks/choose.BTbF6BAn.js +12 -0
- package/library/chunks/class-map.DqNfBvJI.js +32 -0
- package/library/chunks/color-swatch-group.fL5ADbZF.js +568 -0
- package/library/chunks/color-swatch.JL7CbNRm.js +558 -0
- package/library/chunks/component.styles.DtouHn2g.js +71 -0
- package/library/chunks/confirm-popover.DwSAxWFi.js +286 -0
- package/library/chunks/cropper.3qRm5dEe.js +28660 -0
- package/library/chunks/custom-element.fmLrnDZr.js +682 -0
- package/library/chunks/debounce.DZNkg8Q5.js +11 -0
- package/library/chunks/default-value.BrNrMtnz.js +15 -0
- package/library/chunks/dialog.upIZWR3x.js +1998 -0
- package/library/chunks/directive-helpers.D78ZFDYN.js +37 -0
- package/library/chunks/directive.oAbCiebi.js +27 -0
- package/library/chunks/dom.DcrKFR2q.js +67 -0
- package/library/chunks/dot-pagination.EWl_NO9m.js +323 -0
- package/library/chunks/drag.DXEXVXPv.js +18 -0
- package/library/chunks/endpoints.3oM4-c57.js +2380 -0
- package/library/chunks/event-options.CYHYGOd8.js +14 -0
- package/library/chunks/event.mFzZi4sr.js +11 -0
- package/library/chunks/file-on-demand.Cb4mtesb.js +3396 -0
- package/library/chunks/flow.gcpXucZv.js +508 -0
- package/library/chunks/folder-select.BsbsjikP.js +719 -0
- package/library/chunks/form-control.styles.j0hNjZTU.js +67 -0
- package/library/chunks/form.BFLbw9Rz.js +193 -0
- package/library/chunks/guard.L-Ctqt3S.js +24 -0
- package/library/chunks/header.CzGjJnha.js +775 -0
- package/library/chunks/hub-connection.BiLljnv2.js +1875 -0
- package/library/chunks/i18n.C6c6_pqI.js +836 -0
- package/library/chunks/if-defined.CKupVaWs.js +10 -0
- package/library/chunks/iframe.CVP0aR9K.js +158 -0
- package/library/chunks/image.CRcv0x3Z.js +1276 -0
- package/library/chunks/index.C1chwzNp.js +710 -0
- package/library/chunks/index.Cpamj0jB.js +10 -0
- package/library/chunks/isObjectLike.z36Fu426.js +34 -0
- package/library/chunks/isSymbol.L0C2ND_U.js +8 -0
- package/library/chunks/list-editor.BPUsGMW-.js +356 -0
- package/library/chunks/live.DCdtYl87.js +30 -0
- package/library/chunks/map.D8heArFD.js +14 -0
- package/library/chunks/math.DqTA6ya4.js +7 -0
- package/library/chunks/menu-item.HK2A6RqD.js +775 -0
- package/library/chunks/modal.BqNLxgs1.js +81 -0
- package/library/chunks/number.eX2EGPvy.js +83 -0
- package/library/chunks/option.pgg_ZoHY.js +294 -0
- package/library/chunks/overlay-scrollbar.styles.B1VCLkfA.js +711 -0
- package/library/chunks/pagination.y5oqoPVr.js +4 -0
- package/library/chunks/query-all.i3PyvTUQ.js +15 -0
- package/library/chunks/query-async.CTgXGyQ5.js +14 -0
- package/library/chunks/query.BBf1UFkC.js +31 -0
- package/library/chunks/repeat.B1pVpmRx.js +61 -0
- package/library/chunks/scroll.DwPiX2Ox.js +54 -0
- package/library/chunks/select.DMdl1Kdd.js +1442 -0
- package/library/chunks/slot.DJLm4Dig.js +50 -0
- package/library/chunks/sortable.esm.oSzf6C5Q.js +1260 -0
- package/library/chunks/state.Dt9F_SuS.js +12 -0
- package/library/chunks/static.kLXgh3Gq.js +31 -0
- package/library/chunks/string.yyVPNus8.js +676 -0
- package/library/chunks/style-map.lEJHEwk3.js +35 -0
- package/library/chunks/tab-group.3F6gRchD.js +1071 -0
- package/library/chunks/tabbable.CcMz3mIL.js +63 -0
- package/library/chunks/table.BarE1-gL.js +18567 -0
- package/library/chunks/timecode.C9Yc2sWq.js +98 -0
- package/library/chunks/toString.CL_lYXbK.js +26 -0
- package/library/chunks/tree.5Cb85J9q.js +1226 -0
- package/library/chunks/typography.trna8y2b.js +147 -0
- package/library/chunks/unsafe-html.BpqikVtf.js +26 -0
- package/library/chunks/watch.BCJD77bD.js +547 -0
- package/library/chunks/when.Dr1es41R.js +11 -0
- package/library/components/alert.d.ts +3 -0
- package/library/components/alert.js +349 -0
- package/library/components/animated-image.d.ts +3 -0
- package/library/components/animated-image.js +156 -0
- package/library/components/animation.d.ts +3 -0
- package/library/components/animation.js +8 -0
- package/library/components/asset-link-format.d.ts +3 -0
- package/library/components/asset-link-format.js +16 -0
- package/library/components/atoms.js +170 -0
- package/library/components/avatar.d.ts +3 -0
- package/library/components/avatar.js +153 -0
- package/library/components/badge.d.ts +3 -0
- package/library/components/badge.js +177 -0
- package/library/components/bicolor-picker.d.ts +3 -0
- package/library/components/bicolor-picker.js +89 -0
- package/library/components/border-input-group.d.ts +3 -0
- package/library/components/border-input-group.js +90 -0
- package/library/components/breadcrumb-item.d.ts +3 -0
- package/library/components/breadcrumb-item.js +206 -0
- package/library/components/breadcrumb.d.ts +3 -0
- package/library/components/breadcrumb.js +74 -0
- package/library/components/button-group.d.ts +3 -0
- package/library/components/button-group.js +96 -0
- package/library/components/button.d.ts +3 -0
- package/library/components/button.js +19 -0
- package/library/components/card.d.ts +3 -0
- package/library/components/card.js +162 -0
- package/library/components/checkbox.d.ts +3 -0
- package/library/components/checkbox.js +376 -0
- package/library/components/color-picker.d.ts +3 -0
- package/library/components/color-picker.js +1411 -0
- package/library/components/color-swatch-group.d.ts +3 -0
- package/library/components/color-swatch-group.js +22 -0
- package/library/components/color-swatch.d.ts +3 -0
- package/library/components/color-swatch.js +21 -0
- package/library/components/confirm-popover.d.ts +3 -0
- package/library/components/confirm-popover.js +13 -0
- package/library/components/copy-button.d.ts +3 -0
- package/library/components/copy-button.js +448 -0
- package/library/components/corner-position-input-group.d.ts +3 -0
- package/library/components/corner-position-input-group.js +144 -0
- package/library/components/cropper.d.ts +3 -0
- package/library/components/cropper.js +10 -0
- package/library/components/details.d.ts +3 -0
- package/library/components/details.js +278 -0
- package/library/components/dialog.d.ts +3 -0
- package/library/components/dialog.js +23 -0
- package/library/components/divider.d.ts +3 -0
- package/library/components/divider.js +91 -0
- package/library/components/dot-pagination.d.ts +3 -0
- package/library/components/dot-pagination.js +17 -0
- package/library/components/drawer.d.ts +3 -0
- package/library/components/drawer.js +518 -0
- package/library/components/dropdown.d.ts +3 -0
- package/library/components/dropdown.js +368 -0
- package/library/components/dynamic-select.d.ts +3 -0
- package/library/components/dynamic-select.js +333 -0
- package/library/components/element-clamp.d.ts +3 -0
- package/library/components/element-clamp.js +263 -0
- package/library/components/file-on-demand.d.ts +3 -0
- package/library/components/file-on-demand.js +37 -0
- package/library/components/folder-select.d.ts +3 -0
- package/library/components/folder-select.js +16 -0
- package/library/components/fonts.js +8 -0
- package/library/components/format-bytes.d.ts +3 -0
- package/library/components/format-bytes.js +42 -0
- package/library/components/format-date.d.ts +3 -0
- package/library/components/format-date.js +75 -0
- package/library/components/format-number.d.ts +3 -0
- package/library/components/format-number.js +61 -0
- package/library/components/grid-item.d.ts +3 -0
- package/library/components/grid-item.js +247 -0
- package/library/components/grid.d.ts +3 -0
- package/library/components/grid.js +118 -0
- package/library/components/header.d.ts +3 -0
- package/library/components/header.js +14 -0
- package/library/components/hub-connection.d.ts +3 -0
- package/library/components/hub-connection.js +7 -0
- package/library/components/icon-button.d.ts +3 -0
- package/library/components/icon-button.js +676 -0
- package/library/components/icon.d.ts +3 -0
- package/library/components/icon.js +2486 -0
- package/library/components/iframe.d.ts +3 -0
- package/library/components/iframe.js +12 -0
- package/library/components/image-comparer.d.ts +3 -0
- package/library/components/image-comparer.js +197 -0
- package/library/components/image.d.ts +3 -0
- package/library/components/image.js +21 -0
- package/library/components/include.d.ts +3 -0
- package/library/components/include.js +76 -0
- package/library/components/input-group.d.ts +3 -0
- package/library/components/input-group.js +91 -0
- package/library/components/input.d.ts +3 -0
- package/library/components/input.js +3460 -0
- package/library/components/line-clamp.d.ts +3 -0
- package/library/components/line-clamp.js +218 -0
- package/library/components/list-editor.d.ts +3 -0
- package/library/components/list-editor.js +24 -0
- package/library/components/markdown.d.ts +3 -0
- package/library/components/markdown.js +2706 -0
- package/library/components/masonry.d.ts +3 -0
- package/library/components/masonry.js +401 -0
- package/library/components/menu-item.d.ts +3 -0
- package/library/components/menu-item.js +15 -0
- package/library/components/menu-label.d.ts +3 -0
- package/library/components/menu-label.js +37 -0
- package/library/components/menu-section.d.ts +3 -0
- package/library/components/menu-section.js +64 -0
- package/library/components/menu.d.ts +3 -0
- package/library/components/menu.js +427 -0
- package/library/components/molecules.js +38 -0
- package/library/components/mutation-observer.d.ts +3 -0
- package/library/components/mutation-observer.js +100 -0
- package/library/components/option.d.ts +3 -0
- package/library/components/option.js +14 -0
- package/library/components/organisms.js +8 -0
- package/library/components/padding-input-group.d.ts +3 -0
- package/library/components/padding-input-group.js +103 -0
- package/library/components/pagination.d.ts +3 -0
- package/library/components/pagination.js +338 -0
- package/library/components/popup.d.ts +3 -0
- package/library/components/popup.js +3299 -0
- package/library/components/position-picker.d.ts +3 -0
- package/library/components/position-picker.js +132 -0
- package/library/components/progress-bar.d.ts +3 -0
- package/library/components/progress-bar.js +160 -0
- package/library/components/progress-ring.d.ts +3 -0
- package/library/components/progress-ring.js +137 -0
- package/library/components/qr-code.d.ts +3 -0
- package/library/components/qr-code.js +610 -0
- package/library/components/radio-button.d.ts +3 -0
- package/library/components/radio-button.js +151 -0
- package/library/components/radio-card.d.ts +3 -0
- package/library/components/radio-card.js +262 -0
- package/library/components/radio-group.d.ts +3 -0
- package/library/components/radio-group.js +339 -0
- package/library/components/radio.d.ts +3 -0
- package/library/components/radio.js +248 -0
- package/library/components/range.d.ts +3 -0
- package/library/components/range.js +1333 -0
- package/library/components/rating.d.ts +3 -0
- package/library/components/rating.js +361 -0
- package/library/components/relative-time.d.ts +3 -0
- package/library/components/relative-time.js +87 -0
- package/library/components/resize-observer.d.ts +3 -0
- package/library/components/resize-observer.js +64 -0
- package/library/components/select.d.ts +3 -0
- package/library/components/select.js +27 -0
- package/library/components/shadow-input-group.d.ts +3 -0
- package/library/components/shadow-input-group.js +115 -0
- package/library/components/share-option-list.d.ts +3 -0
- package/library/components/share-option-list.js +765 -0
- package/library/components/sidebar.d.ts +3 -0
- package/library/components/sidebar.js +303 -0
- package/library/components/size-input-group.d.ts +3 -0
- package/library/components/size-input-group.js +229 -0
- package/library/components/skeleton.d.ts +3 -0
- package/library/components/skeleton.js +104 -0
- package/library/components/space.d.ts +3 -0
- package/library/components/space.js +178 -0
- package/library/components/spinner.d.ts +3 -0
- package/library/components/spinner.js +93 -0
- package/library/components/split-panel.d.ts +3 -0
- package/library/components/split-panel.js +259 -0
- package/library/components/step.d.ts +3 -0
- package/library/components/step.js +360 -0
- package/library/components/stepper-wizard.d.ts +3 -0
- package/library/components/stepper-wizard.js +109 -0
- package/library/components/stepper.d.ts +3 -0
- package/library/components/stepper.js +71 -0
- package/library/components/switch.d.ts +3 -0
- package/library/components/switch.js +433 -0
- package/library/components/tab-group.d.ts +3 -0
- package/library/components/tab-group.js +24 -0
- package/library/components/tab-panel.d.ts +3 -0
- package/library/components/tab-panel.js +70 -0
- package/library/components/tab.d.ts +3 -0
- package/library/components/tab.js +204 -0
- package/library/components/table.d.ts +3 -0
- package/library/components/table.js +69 -0
- package/library/components/tag.d.ts +3 -0
- package/library/components/tag.js +217 -0
- package/library/components/textarea.d.ts +3 -0
- package/library/components/textarea.js +618 -0
- package/library/components/timecode.d.ts +3 -0
- package/library/components/timecode.js +10 -0
- package/library/components/tooltip.d.ts +3 -0
- package/library/components/tooltip.js +268 -0
- package/library/components/tree-item.d.ts +3 -0
- package/library/components/tree-item.js +18 -0
- package/library/components/tree.d.ts +3 -0
- package/library/components/tree.js +14 -0
- package/library/components/typeface.d.ts +3 -0
- package/library/components/typeface.js +203 -0
- package/library/components/types.js +156620 -0
- package/library/components/typography.d.ts +3 -0
- package/library/components/typography.js +6 -0
- package/library/components/video.d.ts +3 -0
- package/library/components/video.js +49614 -0
- package/library/components/visually-hidden.d.ts +3 -0
- package/library/components/visually-hidden.js +32 -0
- package/library/css/ol-base.css +200 -0
- package/library/css/ol-dark.css +152 -0
- package/library/css/ol-light.css +153 -0
- package/library/fonts.d.ts +1 -0
- package/library/molecules.d.ts +1 -0
- package/library/organisms.d.ts +1 -0
- package/library/package.json +40 -0
- package/library/packages/atoms/src/animations/attention_seekers/bounce.d.ts +16 -0
- package/library/packages/atoms/src/animations/attention_seekers/flash.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/headShake.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/heartBeat.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/jello.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/pulse.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/rubberBand.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/shake.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/shakeX.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/shakeY.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/swing.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/tada.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/wobble.d.ts +4 -0
- package/library/packages/atoms/src/animations/back_entrances/backInDown.d.ts +5 -0
- package/library/packages/atoms/src/animations/back_entrances/backInLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/back_entrances/backInRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/back_entrances/backInUp.d.ts +5 -0
- package/library/packages/atoms/src/animations/back_exits/backOutDown.d.ts +5 -0
- package/library/packages/atoms/src/animations/back_exits/backOutLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/back_exits/backOutRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/back_exits/backOutUp.d.ts +5 -0
- package/library/packages/atoms/src/animations/bouncing_entrances/bounceIn.d.ts +16 -0
- package/library/packages/atoms/src/animations/bouncing_entrances/bounceInDown.d.ts +16 -0
- package/library/packages/atoms/src/animations/bouncing_entrances/bounceInLeft.d.ts +16 -0
- package/library/packages/atoms/src/animations/bouncing_entrances/bounceInRight.d.ts +16 -0
- package/library/packages/atoms/src/animations/bouncing_entrances/bounceInUp.d.ts +16 -0
- package/library/packages/atoms/src/animations/bouncing_exits/bounceOut.d.ts +9 -0
- package/library/packages/atoms/src/animations/bouncing_exits/bounceOutDown.d.ts +9 -0
- package/library/packages/atoms/src/animations/bouncing_exits/bounceOutLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/bouncing_exits/bounceOutRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/bouncing_exits/bounceOutUp.d.ts +9 -0
- package/library/packages/atoms/src/animations/easings/easings.d.ts +31 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeIn.d.ts +4 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInBottomLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInBottomRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInDown.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInDownBig.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInLeftBig.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInRightBig.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInTopLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInTopRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInUp.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInUpBig.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOut.d.ts +4 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutBottomLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutBottomRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutDown.d.ts +9 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutDownBig.d.ts +9 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutLeft.d.ts +9 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutLeftBig.d.ts +9 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutRight.d.ts +9 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutRightBig.d.ts +9 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutTopLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutTopRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutUp.d.ts +9 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutUpBig.d.ts +9 -0
- package/library/packages/atoms/src/animations/flippers/flip.d.ts +5 -0
- package/library/packages/atoms/src/animations/flippers/flipInX.d.ts +21 -0
- package/library/packages/atoms/src/animations/flippers/flipInY.d.ts +21 -0
- package/library/packages/atoms/src/animations/flippers/flipOutX.d.ts +9 -0
- package/library/packages/atoms/src/animations/flippers/flipOutY.d.ts +9 -0
- package/library/packages/atoms/src/animations/index.d.ts +99 -0
- package/library/packages/atoms/src/animations/lightspeed/lightSpeedInLeft.d.ts +9 -0
- package/library/packages/atoms/src/animations/lightspeed/lightSpeedInRight.d.ts +9 -0
- package/library/packages/atoms/src/animations/lightspeed/lightSpeedOutLeft.d.ts +9 -0
- package/library/packages/atoms/src/animations/lightspeed/lightSpeedOutRight.d.ts +9 -0
- package/library/packages/atoms/src/animations/rotating_entrances/rotateIn.d.ts +5 -0
- package/library/packages/atoms/src/animations/rotating_entrances/rotateInDownLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/rotating_entrances/rotateInDownRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/rotating_entrances/rotateInUpLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/rotating_entrances/rotateInUpRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/rotating_exits/rotateOut.d.ts +9 -0
- package/library/packages/atoms/src/animations/rotating_exits/rotateOutDownLeft.d.ts +9 -0
- package/library/packages/atoms/src/animations/rotating_exits/rotateOutDownRight.d.ts +9 -0
- package/library/packages/atoms/src/animations/rotating_exits/rotateOutUpLeft.d.ts +9 -0
- package/library/packages/atoms/src/animations/rotating_exits/rotateOutUpRight.d.ts +9 -0
- package/library/packages/atoms/src/animations/sliding_entrances/slideInDown.d.ts +9 -0
- package/library/packages/atoms/src/animations/sliding_entrances/slideInLeft.d.ts +9 -0
- package/library/packages/atoms/src/animations/sliding_entrances/slideInRight.d.ts +9 -0
- package/library/packages/atoms/src/animations/sliding_entrances/slideInUp.d.ts +9 -0
- package/library/packages/atoms/src/animations/sliding_exits/slideOutDown.d.ts +9 -0
- package/library/packages/atoms/src/animations/sliding_exits/slideOutLeft.d.ts +9 -0
- package/library/packages/atoms/src/animations/sliding_exits/slideOutRight.d.ts +9 -0
- package/library/packages/atoms/src/animations/sliding_exits/slideOutUp.d.ts +9 -0
- package/library/packages/atoms/src/animations/specials/hinge.d.ts +21 -0
- package/library/packages/atoms/src/animations/specials/jackInTheBox.d.ts +16 -0
- package/library/packages/atoms/src/animations/specials/rollIn.d.ts +5 -0
- package/library/packages/atoms/src/animations/specials/rollOut.d.ts +9 -0
- package/library/packages/atoms/src/animations/zooming_entrances/zoomIn.d.ts +9 -0
- package/library/packages/atoms/src/animations/zooming_entrances/zoomInDown.d.ts +6 -0
- package/library/packages/atoms/src/animations/zooming_entrances/zoomInLeft.d.ts +6 -0
- package/library/packages/atoms/src/animations/zooming_entrances/zoomInRight.d.ts +6 -0
- package/library/packages/atoms/src/animations/zooming_entrances/zoomInUp.d.ts +6 -0
- package/library/packages/atoms/src/animations/zooming_exits/zoomOut.d.ts +9 -0
- package/library/packages/atoms/src/animations/zooming_exits/zoomOutDown.d.ts +6 -0
- package/library/packages/atoms/src/animations/zooming_exits/zoomOutLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/zooming_exits/zoomOutRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/zooming_exits/zoomOutUp.d.ts +6 -0
- package/library/packages/atoms/src/components/alert/alert.d.ts +85 -0
- package/library/packages/atoms/src/components/alert/alert.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/animated-image/animated-image.d.ts +44 -0
- package/library/packages/atoms/src/components/animated-image/animated-image.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/animation/animation.d.ts +95 -0
- package/library/packages/atoms/src/components/animation/animation.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/animation/animations.d.ts +6 -0
- package/library/packages/atoms/src/components/avatar/avatar.d.ts +47 -0
- package/library/packages/atoms/src/components/avatar/avatar.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/badge/badge.d.ts +27 -0
- package/library/packages/atoms/src/components/badge/badge.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/breadcrumb/breadcrumb.d.ts +38 -0
- package/library/packages/atoms/src/components/breadcrumb/breadcrumb.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/breadcrumb-item/breadcrumb-item.d.ts +42 -0
- package/library/packages/atoms/src/components/breadcrumb-item/breadcrumb-item.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/button/button.d.ts +157 -0
- package/library/packages/atoms/src/components/button/button.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/button-group/button-group.d.ts +31 -0
- package/library/packages/atoms/src/components/button-group/button-group.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/card/card.d.ts +42 -0
- package/library/packages/atoms/src/components/card/card.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/checkbox/checkbox.d.ts +98 -0
- package/library/packages/atoms/src/components/checkbox/checkbox.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/color-picker/color-picker.d.ts +247 -0
- package/library/packages/atoms/src/components/color-picker/color-picker.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/copy-button/copy-button.d.ts +110 -0
- package/library/packages/atoms/src/components/copy-button/copy-button.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/details/details.d.ts +65 -0
- package/library/packages/atoms/src/components/details/details.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/dialog/dialog.d.ts +156 -0
- package/library/packages/atoms/src/components/dialog/dialog.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/divider/divider.d.ts +32 -0
- package/library/packages/atoms/src/components/divider/divider.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/dot-pagination/dot-pagination.d.ts +94 -0
- package/library/packages/atoms/src/components/dot-pagination/dot-pagination.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/drawer/drawer.d.ts +121 -0
- package/library/packages/atoms/src/components/drawer/drawer.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/dropdown/dropdown.d.ts +127 -0
- package/library/packages/atoms/src/components/dropdown/dropdown.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/element-clamp/element-clamp.d.ts +88 -0
- package/library/packages/atoms/src/components/element-clamp/element-clamp.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/format-bytes/format-bytes.d.ts +20 -0
- package/library/packages/atoms/src/components/format-date/format-date.d.ts +46 -0
- package/library/packages/atoms/src/components/format-number/format-number.d.ts +38 -0
- package/library/packages/atoms/src/components/grid/grid.d.ts +40 -0
- package/library/packages/atoms/src/components/grid/grid.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/grid-item/grid-item.d.ts +49 -0
- package/library/packages/atoms/src/components/grid-item/grid-item.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/header/header.d.ts +77 -0
- package/library/packages/atoms/src/components/header/header.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/hub-connection/hub-connection.d.ts +55 -0
- package/library/packages/atoms/src/components/icon/font-awesome.style.d.ts +2 -0
- package/library/packages/atoms/src/components/icon/icon.d.ts +40 -0
- package/library/packages/atoms/src/components/icon/icon.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/icon-button/icon-button.d.ts +102 -0
- package/library/packages/atoms/src/components/icon-button/icon-button.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/iframe/iframe.d.ts +60 -0
- package/library/packages/atoms/src/components/iframe/iframe.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/image/image.d.ts +171 -0
- package/library/packages/atoms/src/components/image/image.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/image-comparer/image-comparer.d.ts +49 -0
- package/library/packages/atoms/src/components/image-comparer/image-comparer.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/include/include.d.ts +35 -0
- package/library/packages/atoms/src/components/include/include.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/include/request.d.ts +8 -0
- package/library/packages/atoms/src/components/input/input.d.ts +248 -0
- package/library/packages/atoms/src/components/input/input.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/input-group/input-group.d.ts +30 -0
- package/library/packages/atoms/src/components/input-group/input-group.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/line-clamp/line-clamp.d.ts +88 -0
- package/library/packages/atoms/src/components/line-clamp/line-clamp.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/markdown/markdown.d.ts +51 -0
- package/library/packages/atoms/src/components/markdown/parser.d.ts +14 -0
- package/library/packages/atoms/src/components/menu/menu.d.ts +77 -0
- package/library/packages/atoms/src/components/menu/menu.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +105 -0
- package/library/packages/atoms/src/components/menu-item/menu-item.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/menu-item/submenu-controller.d.ts +43 -0
- package/library/packages/atoms/src/components/menu-label/menu-label.d.ts +19 -0
- package/library/packages/atoms/src/components/menu-label/menu-label.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/menu-section/menu-section.d.ts +33 -0
- package/library/packages/atoms/src/components/menu-section/menu-section.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/mutation-observer/mutation-observer.d.ts +48 -0
- package/library/packages/atoms/src/components/mutation-observer/mutation-observer.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/option/option.d.ts +69 -0
- package/library/packages/atoms/src/components/option/option.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/pagination/pagination.d.ts +94 -0
- package/library/packages/atoms/src/components/pagination/pagination.style.d.ts +2 -0
- package/library/packages/atoms/src/components/popup/overlay/AbstractOverlay.d.ts +73 -0
- package/library/packages/atoms/src/components/popup/overlay/ClickController.d.ts +15 -0
- package/library/packages/atoms/src/components/popup/overlay/HoverController.d.ts +21 -0
- package/library/packages/atoms/src/components/popup/overlay/InteractionController.d.ts +39 -0
- package/library/packages/atoms/src/components/popup/overlay/LongpressController.d.ts +22 -0
- package/library/packages/atoms/src/components/popup/overlay/Overlay.d.ts +137 -0
- package/library/packages/atoms/src/components/popup/overlay/OverlayDialog.d.ts +5 -0
- package/library/packages/atoms/src/components/popup/overlay/OverlayNoPopover.d.ts +5 -0
- package/library/packages/atoms/src/components/popup/overlay/OverlayPopover.d.ts +5 -0
- package/library/packages/atoms/src/components/popup/overlay/OverlayStack.d.ts +45 -0
- package/library/packages/atoms/src/components/popup/overlay/PlacementController.d.ts +41 -0
- package/library/packages/atoms/src/components/popup/overlay/VirtualTrigger.d.ts +7 -0
- package/library/packages/atoms/src/components/popup/overlay/events.d.ts +24 -0
- package/library/packages/atoms/src/components/popup/overlay/lib/base.d.ts +23 -0
- package/library/packages/atoms/src/components/popup/overlay/lib/reactive-controllers.d.ts +24 -0
- package/library/packages/atoms/src/components/popup/overlay/lib/shared.d.ts +15 -0
- package/library/packages/atoms/src/components/popup/overlay/overlay-timer.d.ts +22 -0
- package/library/packages/atoms/src/components/popup/overlay/overlay.component.d.ts +7 -0
- package/library/packages/atoms/src/components/popup/overlay/overlay.style.d.ts +2 -0
- package/library/packages/atoms/src/components/popup/overlay/slottable-request-event.d.ts +12 -0
- package/library/packages/atoms/src/components/popup/overlay/strategies.d.ts +9 -0
- package/library/packages/atoms/src/components/popup/popup.d.ts +184 -0
- package/library/packages/atoms/src/components/popup/popup.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/progress-bar/progress-bar.d.ts +35 -0
- package/library/packages/atoms/src/components/progress-bar/progress-bar.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/progress-ring/progress-ring.d.ts +35 -0
- package/library/packages/atoms/src/components/progress-ring/progress-ring.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/qr-code/qr-code.d.ts +38 -0
- package/library/packages/atoms/src/components/qr-code/qr-code.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/radio/radio.d.ts +56 -0
- package/library/packages/atoms/src/components/radio/radio.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/radio/radio.svg.d.ts +1 -0
- package/library/packages/atoms/src/components/radio-button/radio-button.d.ts +69 -0
- package/library/packages/atoms/src/components/radio-button/radio-button.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/radio-card/radio-card.d.ts +68 -0
- package/library/packages/atoms/src/components/radio-card/radio-card.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/radio-group/radio-group.d.ts +95 -0
- package/library/packages/atoms/src/components/radio-group/radio-group.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/range/range.d.ts +287 -0
- package/library/packages/atoms/src/components/range/range.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/range/range.utils.d.ts +48 -0
- package/library/packages/atoms/src/components/rating/rating.d.ts +78 -0
- package/library/packages/atoms/src/components/rating/rating.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/relative-time/relative-time.d.ts +43 -0
- package/library/packages/atoms/src/components/resize-observer/resize-observer.d.ts +33 -0
- package/library/packages/atoms/src/components/resize-observer/resize-observer.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/select/select.d.ts +372 -0
- package/library/packages/atoms/src/components/select/select.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/skeleton/skeleton.d.ts +27 -0
- package/library/packages/atoms/src/components/skeleton/skeleton.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/space/space.d.ts +51 -0
- package/library/packages/atoms/src/components/space/space.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/spinner/spinner.d.ts +23 -0
- package/library/packages/atoms/src/components/spinner/spinner.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/split-panel/split-panel.d.ts +78 -0
- package/library/packages/atoms/src/components/split-panel/split-panel.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/step/step.d.ts +88 -0
- package/library/packages/atoms/src/components/step/step.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/stepper/stepper.d.ts +35 -0
- package/library/packages/atoms/src/components/stepper/stepper.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/switch/switch.d.ts +92 -0
- package/library/packages/atoms/src/components/switch/switch.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/tab/tab.d.ts +51 -0
- package/library/packages/atoms/src/components/tab/tab.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/tab-group/tab-group.d.ts +176 -0
- package/library/packages/atoms/src/components/tab-group/tab-group.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/tab-panel/tab-panel.d.ts +29 -0
- package/library/packages/atoms/src/components/tab-panel/tab-panel.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/table/components/index.d.ts +2 -0
- package/library/packages/atoms/src/components/table/components/table-row-actions/table-row-actions-dropdown.d.ts +39 -0
- package/library/packages/atoms/src/components/table/components/table-row-actions/table-row-actions.d.ts +45 -0
- package/library/packages/atoms/src/components/table/components/table-row-actions/table-row-actions.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/table/components/table-toolbar/table-toolbar.d.ts +79 -0
- package/library/packages/atoms/src/components/table/components/table-toolbar/table-toolbar.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/table/modules/HoverMenu.d.ts +13 -0
- package/library/packages/atoms/src/components/table/table.d.ts +622 -0
- package/library/packages/atoms/src/components/table/table.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/table/table.utils.d.ts +19 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/ColumnManager.d.ts +70 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/CoreFeature.d.ts +59 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/FooterManager.d.ts +22 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/Module.d.ts +46 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/RowManager.d.ts +140 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/Tabulator.d.ts +120 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/TabulatorFull.d.ts +52 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/cell/Cell.d.ts +62 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/cell/CellComponent.d.ts +23 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/column/Column.d.ts +128 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/column/ColumnComponent.d.ts +28 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/column/defaults/options.d.ts +19 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/defaults/options.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/modules/core.d.ts +3 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/modules/optional.d.ts +38 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/rendering/Renderer.d.ts +42 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/rendering/renderers/BasicHorizontal.d.ts +8 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/rendering/renderers/BasicVertical.d.ts +14 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/rendering/renderers/VirtualDomHorizontal.d.ts +57 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/rendering/renderers/VirtualDomVertical.d.ts +43 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/row/PseudoRow.d.ts +19 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/row/Row.d.ts +69 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/row/RowComponent.d.ts +26 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/Alert.d.ts +14 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/ComponentFunctionBinder.d.ts +9 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/DataLoader.d.ts +34 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/DependencyRegistry.d.ts +13 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/DeprecationAdvisor.d.ts +10 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/ExternalEventBus.d.ts +18 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/Helpers.d.ts +9 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/InteractionMonitor.d.ts +26 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/InternalEventBus.d.ts +22 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/ModuleBinder.d.ts +43 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/OptionsList.d.ts +10 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/Popup.d.ts +49 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/TableRegistry.d.ts +12 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/index.d.ts +14 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Accessibility/Accessibility.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Accessor/Accessor.d.ts +18 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Accessor/defaults/accessors.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Ajax/Ajax.d.ts +41 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Ajax/defaults/config.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Ajax/defaults/contentTypeFormatters.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Ajax/defaults/urlGenerator.d.ts +3 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Clipboard/Clipboard.d.ts +35 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Clipboard/defaults/pasteActions.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Clipboard/defaults/pasteParsers.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Clipboard/extensions/extensions.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Clipboard/extensions/keybindings/actions.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Clipboard/extensions/keybindings/bindings.d.ts +3 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ColumnCalcs/CalcComponent.d.ts +13 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ColumnCalcs/ColumnCalcs.d.ts +67 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ColumnCalcs/defaults/calculations.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Comms/Comms.d.ts +12 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/DataTree/DataTree.d.ts +59 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Download/Download.d.ts +19 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Download/defaults/downloaders/csv.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Download/defaults/downloaders/html.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Download/defaults/downloaders/json.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Download/defaults/downloaders/jsonLines.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Download/defaults/downloaders/pdf.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Download/defaults/downloaders/xlsx.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Download/defaults/downloaders.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/Edit.d.ts +57 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/List.d.ts +115 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/adaptable.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/date.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/datetime.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/input.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/list.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/number.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/progress.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/range.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/star.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/textarea.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/tickCross.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/time.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/inputMask.d.ts +9 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Export/Export.d.ts +61 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Export/ExportColumn.d.ts +10 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Export/ExportRow.d.ts +12 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Export/defaults/columnLookups.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Export/defaults/rowLookups.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Filter/Filter.d.ts +86 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Filter/defaults/filters.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/Format.d.ts +44 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/adaptable.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/array.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/buttonCross.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/buttonTick.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/color.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/datetime.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/datetimediff.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/handle.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/html.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/image.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/json.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/link.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/lookup.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/money.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/plaintext.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/progress.d.ts +10 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/rownum.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/star.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/tag.d.ts +17 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/textarea.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/tickCross.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/toggle.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/traffic.d.ts +9 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters.d.ts +50 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/FrozenColumns/FrozenColumns.d.ts +34 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/FrozenRows/FrozenRows.d.ts +22 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/GroupRows/Group.d.ts +83 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/GroupRows/GroupComponent.d.ts +21 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/GroupRows/GroupRows.d.ts +69 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/History/History.d.ts +50 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/History/defaults/redoers.d.ts +22 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/History/defaults/undoers.d.ts +22 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/History/extensions/extensions.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/History/extensions/keybindings/actions.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/History/extensions/keybindings/bindings.d.ts +2 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/HtmlTableImport/HtmlTableImport.d.ts +17 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Import/Import.d.ts +29 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Import/defaults/importers/array.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Import/defaults/importers/csv.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Import/defaults/importers/json.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Import/defaults/importers/xlsx.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Import/defaults/importers.d.ts +11 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Interaction/Interaction.d.ts +37 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Keybindings/Keybindings.d.ts +38 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Keybindings/defaults/actions.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Keybindings/defaults/bindings.d.ts +13 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Layout/Layout.d.ts +17 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Layout/defaults/modes/fitColumns.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Layout/defaults/modes/fitData.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Layout/defaults/modes/fitDataGeneral.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Layout/defaults/modes/fitDataStretch.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Layout/defaults/modes.d.ts +13 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Localize/Localize.d.ts +26 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Localize/defaults/langs.d.ts +37 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Menu/Menu.d.ts +23 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/MoveColumns/MoveColumns.d.ts +31 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/MoveRows/MoveRows.d.ts +62 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/MoveRows/defaults/receivers.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/MoveRows/defaults/senders.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Mutator/Mutator.d.ts +24 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Mutator/defaults/mutators.d.ts +2 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Page/Page.d.ts +63 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Persistence/Persistence.d.ts +43 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Persistence/defaults/readers.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Persistence/defaults/writers.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/PlaceholderRow/PlaceholderRow.d.ts +29 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Popup/Popup.d.ts +19 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Print/Print.d.ts +16 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ReactiveData/ReactiveData.d.ts +22 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ResizeColumns/ResizeColumns.d.ts +33 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ResizeRows/ResizeRows.d.ts +18 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ResizeTable/ResizeTable.d.ts +24 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ResponsiveLayout/ResponsiveLayout.d.ts +37 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ResponsiveLayout/extensions/extensions.d.ts +10 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ResponsiveLayout/extensions/formatters/responsiveCollapse.d.ts +3 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/Range.d.ts +59 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/RangeComponent.d.ts +27 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/SelectRange.d.ts +121 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/extensions/clipboard/pasteActions.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/extensions/clipboard/pasteParsers.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/extensions/export/columnLookups.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/extensions/export/rowLookups.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/extensions/extensions.d.ts +36 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/extensions/keybindings/actions.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/extensions/keybindings/bindings.d.ts +15 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRow/SelectRow.d.ts +41 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRow/extensions/extensions.d.ts +10 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRow/extensions/formatters/rowSelection.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/Sort.d.ts +39 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/alphanum.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/array.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/boolean.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/date.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/datetime.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/exists.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/number.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/string.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/time.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters.d.ts +22 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Spreadsheet/GridCalculator.d.ts +13 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Spreadsheet/Sheet.d.ts +50 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Spreadsheet/SheetComponent.d.ts +18 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Spreadsheet/Spreadsheet.d.ts +44 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Tooltip/Tooltip.d.ts +18 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Validate/Validate.d.ts +36 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Validate/defaults/validators.d.ts +18 -0
- package/library/packages/atoms/src/components/tag/tag.d.ts +40 -0
- package/library/packages/atoms/src/components/tag/tag.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/textarea/textarea.d.ts +138 -0
- package/library/packages/atoms/src/components/textarea/textarea.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/timecode/timecode.d.ts +39 -0
- package/library/packages/atoms/src/components/timecode/timecode.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/tooltip/tooltip.d.ts +111 -0
- package/library/packages/atoms/src/components/tooltip/tooltip.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/tree/tree.d.ts +150 -0
- package/library/packages/atoms/src/components/tree/tree.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/tree-item/tree-item.d.ts +197 -0
- package/library/packages/atoms/src/components/tree-item/tree-item.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/tree-item/tree-item.utils.d.ts +29 -0
- package/library/packages/atoms/src/components/typography/typography.d.ts +23 -0
- package/library/packages/atoms/src/components/typography/typography.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/video/video.constants.d.ts +2 -0
- package/library/packages/atoms/src/components/video/video.d.ts +139 -0
- package/library/packages/atoms/src/components/video/video.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/video/videojs/videojs-vr-172.d.ts +11 -0
- package/library/packages/atoms/src/components/visually-hidden/visually-hidden.d.ts +24 -0
- package/library/packages/atoms/src/components/visually-hidden/visually-hidden.styles.d.ts +2 -0
- package/library/packages/atoms/src/index.d.ts +80 -0
- package/library/packages/atoms/src/utilities/animation-registry.d.ts +24 -0
- package/library/packages/atoms/src/utilities/animation.d.ts +1 -0
- package/library/packages/atoms/src/utilities/styles.d.ts +2 -0
- package/library/packages/atoms/src/utilities/type-check.d.ts +6 -0
- package/library/packages/base/src/cortex-element.d.ts +59 -0
- package/library/packages/base/src/cortex-light-element.d.ts +12 -0
- package/library/packages/base/src/highlightable-element.d.ts +76 -0
- package/library/packages/base/src/resizable-element.d.ts +38 -0
- package/library/packages/data/src/icons.json.d.ts +161323 -0
- package/library/packages/events/src/cx-3d-viewer-config-switch-toggle.d.ts +8 -0
- package/library/packages/events/src/cx-3d-viewer-control-animation-seek.d.ts +8 -0
- package/library/packages/events/src/cx-3d-viewer-control-fullscreen-request.d.ts +8 -0
- package/library/packages/events/src/cx-3d-viewer-control-play-button-toggle.d.ts +6 -0
- package/library/packages/events/src/cx-3d-viewer-control-replay-click.d.ts +6 -0
- package/library/packages/events/src/cx-3d-viewer-control-reset-position-click.d.ts +6 -0
- package/library/packages/events/src/cx-3d-viewer-select.d.ts +9 -0
- package/library/packages/events/src/cx-add.d.ts +6 -0
- package/library/packages/events/src/cx-after-collapse.d.ts +6 -0
- package/library/packages/events/src/cx-after-expand.d.ts +6 -0
- package/library/packages/events/src/cx-after-hide.d.ts +6 -0
- package/library/packages/events/src/cx-after-show.d.ts +6 -0
- package/library/packages/events/src/cx-asset-data-display-slot-change.d.ts +6 -0
- package/library/packages/events/src/cx-asset-picker-delete.d.ts +6 -0
- package/library/packages/events/src/cx-asset-picker-select.d.ts +8 -0
- package/library/packages/events/src/cx-asset-request-status.d.ts +9 -0
- package/library/packages/events/src/cx-bento-resize.d.ts +8 -0
- package/library/packages/events/src/cx-bicolor-picker-change.d.ts +8 -0
- package/library/packages/events/src/cx-blur.d.ts +6 -0
- package/library/packages/events/src/cx-border-input-group-change.d.ts +8 -0
- package/library/packages/events/src/cx-cancel-connection.d.ts +8 -0
- package/library/packages/events/src/cx-cancel-upload.d.ts +8 -0
- package/library/packages/events/src/cx-cancel.d.ts +6 -0
- package/library/packages/events/src/cx-change.d.ts +6 -0
- package/library/packages/events/src/cx-clear-cache.d.ts +6 -0
- package/library/packages/events/src/cx-clear.d.ts +6 -0
- package/library/packages/events/src/cx-close.d.ts +6 -0
- package/library/packages/events/src/cx-collapse.d.ts +6 -0
- package/library/packages/events/src/cx-color-swatch-picker-add.d.ts +8 -0
- package/library/packages/events/src/cx-color-swatch-picker-edit.d.ts +8 -0
- package/library/packages/events/src/cx-column-group-scroll.d.ts +6 -0
- package/library/packages/events/src/cx-column-resizable-change.d.ts +6 -0
- package/library/packages/events/src/cx-column-scroll.d.ts +6 -0
- package/library/packages/events/src/cx-columns-display-change.d.ts +8 -0
- package/library/packages/events/src/cx-comment-mention-select.d.ts +12 -0
- package/library/packages/events/src/cx-connect.d.ts +8 -0
- package/library/packages/events/src/cx-connected.d.ts +6 -0
- package/library/packages/events/src/cx-content-builder-gallery-change.d.ts +10 -0
- package/library/packages/events/src/cx-content-builder-page-change.d.ts +9 -0
- package/library/packages/events/src/cx-content-builder-page-delete.d.ts +6 -0
- package/library/packages/events/src/cx-copy.d.ts +8 -0
- package/library/packages/events/src/cx-corner-position-input-group-change.d.ts +12 -0
- package/library/packages/events/src/cx-disconnect.d.ts +8 -0
- package/library/packages/events/src/cx-dot-pagination-change.d.ts +8 -0
- package/library/packages/events/src/cx-dot-pagination-focus.d.ts +6 -0
- package/library/packages/events/src/cx-download-format-picker-delete.d.ts +6 -0
- package/library/packages/events/src/cx-download-format-picker-select.d.ts +6 -0
- package/library/packages/events/src/cx-download-format-request-status.d.ts +9 -0
- package/library/packages/events/src/cx-drag-end.d.ts +6 -0
- package/library/packages/events/src/cx-drag-start.d.ts +6 -0
- package/library/packages/events/src/cx-enter.d.ts +9 -0
- package/library/packages/events/src/cx-error.d.ts +8 -0
- package/library/packages/events/src/cx-expand.d.ts +6 -0
- package/library/packages/events/src/cx-export-settings.d.ts +6 -0
- package/library/packages/events/src/cx-finish.d.ts +6 -0
- package/library/packages/events/src/cx-focus.d.ts +6 -0
- package/library/packages/events/src/cx-gallery-chunk-request.d.ts +8 -0
- package/library/packages/events/src/cx-gallery-config-save.d.ts +9 -0
- package/library/packages/events/src/cx-gallery-item-click.d.ts +8 -0
- package/library/packages/events/src/cx-gallery-item-config.d.ts +11 -0
- package/library/packages/events/src/cx-gallery-item-delete.d.ts +9 -0
- package/library/packages/events/src/cx-gallery-item-move-left.d.ts +9 -0
- package/library/packages/events/src/cx-gallery-item-move-right.d.ts +9 -0
- package/library/packages/events/src/cx-gallery-item-open-config.d.ts +8 -0
- package/library/packages/events/src/cx-gallery-item-select.d.ts +11 -0
- package/library/packages/events/src/cx-hide.d.ts +6 -0
- package/library/packages/events/src/cx-hover.d.ts +9 -0
- package/library/packages/events/src/cx-image-click.d.ts +15 -0
- package/library/packages/events/src/cx-import-settings.d.ts +6 -0
- package/library/packages/events/src/cx-initial-focus.d.ts +6 -0
- package/library/packages/events/src/cx-input.d.ts +6 -0
- package/library/packages/events/src/cx-invalid.d.ts +6 -0
- package/library/packages/events/src/cx-invoked.d.ts +6 -0
- package/library/packages/events/src/cx-keydown.d.ts +6 -0
- package/library/packages/events/src/cx-lazy-change.d.ts +6 -0
- package/library/packages/events/src/cx-lazy-load.d.ts +6 -0
- package/library/packages/events/src/cx-list-editor-change.d.ts +8 -0
- package/library/packages/events/src/cx-load-more.d.ts +8 -0
- package/library/packages/events/src/cx-load.d.ts +6 -0
- package/library/packages/events/src/cx-mark-favorite.d.ts +8 -0
- package/library/packages/events/src/cx-masonry-select.d.ts +11 -0
- package/library/packages/events/src/cx-mount-request-asset.d.ts +6 -0
- package/library/packages/events/src/cx-mutation.d.ts +8 -0
- package/library/packages/events/src/cx-open-cache-location.d.ts +6 -0
- package/library/packages/events/src/cx-open-drive.d.ts +24 -0
- package/library/packages/events/src/cx-open-search.d.ts +6 -0
- package/library/packages/events/src/cx-padding-input-group-change.d.ts +8 -0
- package/library/packages/events/src/cx-page-change.d.ts +8 -0
- package/library/packages/events/src/cx-page-outline-headings-count.d.ts +8 -0
- package/library/packages/events/src/cx-page-outline-item-click.d.ts +8 -0
- package/library/packages/events/src/cx-page-size-change.d.ts +8 -0
- package/library/packages/events/src/cx-pause-upload.d.ts +8 -0
- package/library/packages/events/src/cx-ready.d.ts +6 -0
- package/library/packages/events/src/cx-refresh.d.ts +6 -0
- package/library/packages/events/src/cx-register-tag.d.ts +8 -0
- package/library/packages/events/src/cx-remove.d.ts +6 -0
- package/library/packages/events/src/cx-renew-token.d.ts +6 -0
- package/library/packages/events/src/cx-reorder.d.ts +15 -0
- package/library/packages/events/src/cx-reposition.d.ts +6 -0
- package/library/packages/events/src/cx-request-close.d.ts +9 -0
- package/library/packages/events/src/cx-resize.d.ts +8 -0
- package/library/packages/events/src/cx-resume-upload.d.ts +8 -0
- package/library/packages/events/src/cx-retry-upload.d.ts +8 -0
- package/library/packages/events/src/cx-save-settings.d.ts +10 -0
- package/library/packages/events/src/cx-save.d.ts +6 -0
- package/library/packages/events/src/cx-sb-button-click.d.ts +14 -0
- package/library/packages/events/src/cx-search.d.ts +8 -0
- package/library/packages/events/src/cx-select.d.ts +8 -0
- package/library/packages/events/src/cx-selected-change.d.ts +8 -0
- package/library/packages/events/src/cx-selection-change.d.ts +8 -0
- package/library/packages/events/src/cx-shadow-input-group-change.d.ts +8 -0
- package/library/packages/events/src/cx-show.d.ts +6 -0
- package/library/packages/events/src/cx-slide-change.d.ts +9 -0
- package/library/packages/events/src/cx-start.d.ts +6 -0
- package/library/packages/events/src/cx-swatch-add.d.ts +6 -0
- package/library/packages/events/src/cx-tab-hide.d.ts +8 -0
- package/library/packages/events/src/cx-tab-show.d.ts +8 -0
- package/library/packages/events/src/cx-table-advanced-search-click.d.ts +6 -0
- package/library/packages/events/src/cx-table-export.d.ts +10 -0
- package/library/packages/events/src/cx-table-row-action-click.d.ts +14 -0
- package/library/packages/events/src/cx-time-based-change.d.ts +8 -0
- package/library/packages/events/src/cx-time-update.d.ts +8 -0
- package/library/packages/events/src/cx-typeface-change.d.ts +6 -0
- package/library/packages/events/src/cx-typeface-download.d.ts +6 -0
- package/library/packages/events/src/cx-unmark-favorite.d.ts +8 -0
- package/library/packages/events/src/cx-video-click.d.ts +15 -0
- package/library/packages/events/src/cx-view-logs.d.ts +8 -0
- package/library/packages/events/src/events.d.ts +127 -0
- package/library/packages/molecules/src/3d-viewer/3d-viewer.constants.d.ts +28 -0
- package/library/packages/molecules/src/3d-viewer/3d-viewer.d.ts +206 -0
- package/library/packages/molecules/src/3d-viewer/3d-viewer.styles.d.ts +2 -0
- package/library/packages/molecules/src/3d-viewer/components/3d-viewer-config/3d-viewer-config.d.ts +76 -0
- package/library/packages/molecules/src/3d-viewer/components/3d-viewer-config/3d-viewer-config.styles.d.ts +2 -0
- package/library/packages/molecules/src/3d-viewer/components/3d-viewer-control/3d-viewer-control.d.ts +80 -0
- package/library/packages/molecules/src/3d-viewer/components/3d-viewer-control/3d-viewer-control.styles.d.ts +2 -0
- package/library/packages/molecules/src/3d-viewer/controllers/animation-controller.d.ts +90 -0
- package/library/packages/molecules/src/3d-viewer/controllers/camera-controller.d.ts +75 -0
- package/library/packages/molecules/src/3d-viewer/controllers/environment-controller.d.ts +65 -0
- package/library/packages/molecules/src/3d-viewer/controllers/lighting-controller.d.ts +39 -0
- package/library/packages/molecules/src/3d-viewer/controllers/model-controller.d.ts +75 -0
- package/library/packages/molecules/src/3d-viewer/controllers/scene-controller.d.ts +94 -0
- package/library/packages/molecules/src/3d-viewer/controllers/scene-effects.d.ts +92 -0
- package/library/packages/molecules/src/asset-data-display/asset-data-display.d.ts +56 -0
- package/library/packages/molecules/src/asset-data-display/asset-data-display.styles.d.ts +2 -0
- package/library/packages/molecules/src/asset-picker/asset-picker.d.ts +67 -0
- package/library/packages/molecules/src/asset-picker/asset-picker.styles.d.ts +2 -0
- package/library/packages/molecules/src/bicolor-picker/bicolor-picker.d.ts +22 -0
- package/library/packages/molecules/src/bicolor-picker/bicolor-picker.styles.d.ts +2 -0
- package/library/packages/molecules/src/border-input-group/border-input-group.d.ts +24 -0
- package/library/packages/molecules/src/border-input-group/border-input-group.styles.d.ts +2 -0
- package/library/packages/molecules/src/color-swatch/color-swatch.d.ts +136 -0
- package/library/packages/molecules/src/color-swatch/color-swatch.styles.d.ts +2 -0
- package/library/packages/molecules/src/confirm-popover/confirm-popover.d.ts +81 -0
- package/library/packages/molecules/src/confirm-popover/confirm-popover.style.d.ts +2 -0
- package/library/packages/molecules/src/corner-position-input-group/corner-position-input-group.d.ts +39 -0
- package/library/packages/molecules/src/corner-position-input-group/corner-position-input-group.styles.d.ts +2 -0
- package/library/packages/molecules/src/cropper/cropper.d.ts +59 -0
- package/library/packages/molecules/src/cropper/cropper.styles.d.ts +2 -0
- package/library/packages/molecules/src/cropper/react/Cropper.d.ts +37 -0
- package/library/packages/molecules/src/cropper/react/ReactCrop/ReactCrop.d.ts +140 -0
- package/library/packages/molecules/src/cropper/react/ReactCrop/index.d.ts +4 -0
- package/library/packages/molecules/src/cropper/react/ReactCrop/types.d.ts +17 -0
- package/library/packages/molecules/src/cropper/react/ReactCrop/utils.d.ts +26 -0
- package/library/packages/molecules/src/dashboard-iframe/dashboard-iframe.d.ts +61 -0
- package/library/packages/molecules/src/dashboard-iframe/dashboard-iframe.styles.d.ts +2 -0
- package/library/packages/molecules/src/data-tab-group/data-tab-group.d.ts +35 -0
- package/library/packages/molecules/src/data-tab-group/data-tab-group.styles.d.ts +2 -0
- package/library/packages/molecules/src/details-group/details-group.d.ts +26 -0
- package/library/packages/molecules/src/details-group/details-group.styles.d.ts +2 -0
- package/library/packages/molecules/src/docs-example/docs-example.d.ts +76 -0
- package/library/packages/molecules/src/docs-example/docs-example.style.d.ts +2 -0
- package/library/packages/molecules/src/download-format-picker/download-format-picker.d.ts +72 -0
- package/library/packages/molecules/src/download-format-picker/download-format-picker.styles.d.ts +2 -0
- package/library/packages/molecules/src/dynamic-select/dynamic-select.d.ts +209 -0
- package/library/packages/molecules/src/folder-select/components/folder-select-tree/folder-select-tree.d.ts +42 -0
- package/library/packages/molecules/src/folder-select/components/folder-select-tree-item/folder-select-tree-item.d.ts +55 -0
- package/library/packages/molecules/src/folder-select/folder-select.d.ts +54 -0
- package/library/packages/molecules/src/folder-select/folder-select.styles.d.ts +2 -0
- package/library/packages/molecules/src/gallery-item/gallery-item.d.ts +157 -0
- package/library/packages/molecules/src/gallery-item/gallery-item.styles.d.ts +2 -0
- package/library/packages/molecules/src/graph-view/graph-view.d.ts +99 -0
- package/library/packages/molecules/src/graph-view/graph-view.styles.d.ts +2 -0
- package/library/packages/molecules/src/graph-view/react/GraphView.d.ts +17 -0
- package/library/packages/molecules/src/graph-view/react/components/ArrayClamp.d.ts +9 -0
- package/library/packages/molecules/src/graph-view/react/components/CustomControls.d.ts +5 -0
- package/library/packages/molecules/src/graph-view/react/components/CustomEdge.d.ts +4 -0
- package/library/packages/molecules/src/graph-view/react/components/CustomNode.d.ts +12 -0
- package/library/packages/molecules/src/graph-view/react/components/EdgeMenu.d.ts +7 -0
- package/library/packages/molecules/src/graph-view/react/components/GhostNode.d.ts +7 -0
- package/library/packages/molecules/src/graph-view/react/components/Loader.d.ts +5 -0
- package/library/packages/molecules/src/graph-view/react/components/SelfDecorEdge.d.ts +4 -0
- package/library/packages/molecules/src/graph-view/react/components/TemporaryEdge.d.ts +4 -0
- package/library/packages/molecules/src/graph-view/react/components/index.d.ts +7 -0
- package/library/packages/molecules/src/graph-view/react/constant.d.ts +51 -0
- package/library/packages/molecules/src/graph-view/react/context.d.ts +20 -0
- package/library/packages/molecules/src/graph-view/react/getSmoothstepEdge.d.ts +44 -0
- package/library/packages/molecules/src/graph-view/react/helpers/countRectanglesCrossed.d.ts +14 -0
- package/library/packages/molecules/src/graph-view/react/helpers/edgeLabelPosition.d.ts +41 -0
- package/library/packages/molecules/src/graph-view/react/helpers/edgeLayout.d.ts +42 -0
- package/library/packages/molecules/src/graph-view/react/helpers/generateSelfDecorEdge.d.ts +3 -0
- package/library/packages/molecules/src/graph-view/react/helpers/placeAlongThePath.d.ts +20 -0
- package/library/packages/molecules/src/graph-view/react/hooks/index.d.ts +1 -0
- package/library/packages/molecules/src/graph-view/react/hooks/useEdge.d.ts +29 -0
- package/library/packages/molecules/src/graph-view/react/index.d.ts +4 -0
- package/library/packages/molecules/src/graph-view/react/utils.d.ts +58 -0
- package/library/packages/molecules/src/icon-picker/icon-picker.d.ts +80 -0
- package/library/packages/molecules/src/icon-picker/icon-picker.styles.d.ts +2 -0
- package/library/packages/molecules/src/index.d.ts +33 -0
- package/library/packages/molecules/src/library-index.d.ts +18 -0
- package/library/packages/molecules/src/list-editor/list-editor.d.ts +67 -0
- package/library/packages/molecules/src/list-editor/list-editor.styles.d.ts +2 -0
- package/library/packages/molecules/src/masonry/masonry.d.ts +91 -0
- package/library/packages/molecules/src/masonry/masonry.styles.d.ts +2 -0
- package/library/packages/molecules/src/padding-input-group/padding-input-group.d.ts +20 -0
- package/library/packages/molecules/src/padding-input-group/padding-input-group.styles.d.ts +2 -0
- package/library/packages/molecules/src/page-outline/page-outline.d.ts +104 -0
- package/library/packages/molecules/src/page-outline/page-outline.styles.d.ts +2 -0
- package/library/packages/molecules/src/position-picker/position-picker.d.ts +30 -0
- package/library/packages/molecules/src/position-picker/position-picker.styles.d.ts +2 -0
- package/library/packages/molecules/src/search-box/search-box.d.ts +107 -0
- package/library/packages/molecules/src/search-box/search-box.styles.d.ts +2 -0
- package/library/packages/molecules/src/shadow-input-group/shadow-input-group.d.ts +25 -0
- package/library/packages/molecules/src/shadow-input-group/shadow-input-group.styles.d.ts +2 -0
- package/library/packages/molecules/src/share-option-list/components/share-option-list-item.d.ts +30 -0
- package/library/packages/molecules/src/share-option-list/components/share-option-list-item.styles.d.ts +2 -0
- package/library/packages/molecules/src/share-option-list/share-option-list.d.ts +122 -0
- package/library/packages/molecules/src/share-option-list/share-option-list.styles.d.ts +2 -0
- package/library/packages/molecules/src/sidebar/sidebar.d.ts +85 -0
- package/library/packages/molecules/src/sidebar/sidebar.styles.d.ts +2 -0
- package/library/packages/molecules/src/size-input-group/size-input-group.d.ts +54 -0
- package/library/packages/molecules/src/size-input-group/size-input-group.styles.d.ts +2 -0
- package/library/packages/molecules/src/stepper-wizard/stepper-wizard.d.ts +32 -0
- package/library/packages/molecules/src/stepper-wizard/stepper-wizard.styles.d.ts +2 -0
- package/library/packages/molecules/src/storybook/storybook.d.ts +60 -0
- package/library/packages/molecules/src/storybook/storybook.styles.d.ts +2 -0
- package/library/packages/molecules/src/typeface/typeface.d.ts +72 -0
- package/library/packages/molecules/src/typeface/typeface.styles.d.ts +2 -0
- package/library/packages/molecules/src/view-and-sort/view-and-sort.d.ts +62 -0
- package/library/packages/molecules/src/view-and-sort/view-and-sort.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +292 -0
- package/library/packages/organisms/src/asset-link-format/asset-link-format.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/asset-link-format.utils.d.ts +10 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.d.ts +205 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-extension/asset-link-format-extension.d.ts +49 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-extension/asset-link-format-extension.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-proxy/asset-link-format-proxy.d.ts +96 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-proxy/asset-link-format-proxy.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-quality/asset-link-format-quality.d.ts +87 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-quality/asset-link-format-quality.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-resize/asset-link-format-resize.d.ts +164 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-resize/asset-link-format-resize.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-rotation/asset-link-format-rotation.d.ts +80 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-rotation/asset-link-format-rotation.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-metadata/asset-link-format-metadata.d.ts +69 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-metadata/asset-link-format-metadata.styles.d.ts +2 -0
- package/library/packages/organisms/src/bento-grid/bento-grid.d.ts +241 -0
- package/library/packages/organisms/src/bento-grid/bento-grid.styles.d.ts +2 -0
- package/library/packages/organisms/src/carousel/autoplay-controller.d.ts +21 -0
- package/library/packages/organisms/src/carousel/carousel.d.ts +371 -0
- package/library/packages/organisms/src/carousel/carousel.styles.d.ts +2 -0
- package/library/packages/organisms/src/chatbot/chatbot.constants.d.ts +8 -0
- package/library/packages/organisms/src/chatbot/chatbot.d.ts +129 -0
- package/library/packages/organisms/src/chatbot/chatbot.style.d.ts +2 -0
- package/library/packages/organisms/src/chatbot/chatbot.utils.d.ts +26 -0
- package/library/packages/organisms/src/chatbot/components/chatbot-footer/chatbot-footer.d.ts +34 -0
- package/library/packages/organisms/src/chatbot/components/chatbot-footer/chatbot-footer.style.d.ts +2 -0
- package/library/packages/organisms/src/chatbot/components/chatbot-popup/chatbot-popup.d.ts +29 -0
- package/library/packages/organisms/src/chatbot/components/chatbot-popup/chatbot-popup.style.d.ts +2 -0
- package/library/packages/organisms/src/cluster-management/cluster-management.d.ts +104 -0
- package/library/packages/organisms/src/cluster-management/cluster-management.style.d.ts +2 -0
- package/library/packages/organisms/src/cluster-management/components/cluster-management-service.d.ts +44 -0
- package/library/packages/organisms/src/cluster-management/components/cluster-management-service.style.d.ts +2 -0
- package/library/packages/organisms/src/color-swatch-group/color-swatch-group.constants.d.ts +116 -0
- package/library/packages/organisms/src/color-swatch-group/color-swatch-group.d.ts +114 -0
- package/library/packages/organisms/src/color-swatch-group/color-swatch-group.styles.d.ts +2 -0
- package/library/packages/organisms/src/comment/comment.d.ts +121 -0
- package/library/packages/organisms/src/comment/comment.extensions.d.ts +9 -0
- package/library/packages/organisms/src/comment/comment.styles.d.ts +2 -0
- package/library/packages/organisms/src/comment/components/comment-mention/comment-mention.d.ts +44 -0
- package/library/packages/organisms/src/comment/components/comment-mention/comment-mention.styles.d.ts +2 -0
- package/library/packages/organisms/src/comment/components/comment-menu/comment-menu.d.ts +88 -0
- package/library/packages/organisms/src/comment/components/comment-menu/comment-menu.styles.d.ts +2 -0
- package/library/packages/organisms/src/comment/extensions/bullet-list.d.ts +2 -0
- package/library/packages/organisms/src/comment/extensions/google.d.ts +7 -0
- package/library/packages/organisms/src/comment/extensions/index.d.ts +2 -0
- package/library/packages/organisms/src/comment/extensions/link.d.ts +2 -0
- package/library/packages/organisms/src/comment/extensions/mention.d.ts +82 -0
- package/library/packages/organisms/src/comment/extensions/ordered-list.d.ts +2 -0
- package/library/packages/organisms/src/comment/extensions/time.d.ts +63 -0
- package/library/packages/organisms/src/content-builder/components/block-picker/block-picker.d.ts +129 -0
- package/library/packages/organisms/src/content-builder/components/block-picker/block-picker.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/components/block-picker/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/components/color-swatch-picker/color-swatch-picker.constants.d.ts +57 -0
- package/library/packages/organisms/src/content-builder/components/color-swatch-picker/color-swatch-picker.d.ts +147 -0
- package/library/packages/organisms/src/content-builder/components/color-swatch-picker/color-swatch-picker.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/components/color-swatch-picker/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/components/config-form/config-form.d.ts +315 -0
- package/library/packages/organisms/src/content-builder/components/config-form/config-form.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/components/config-form/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/components/config-manager/config-manager.d.ts +194 -0
- package/library/packages/organisms/src/content-builder/components/config-manager/config-manager.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/components/config-manager/config-manager.utils.d.ts +12 -0
- package/library/packages/organisms/src/content-builder/components/config-manager/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/components/folder-picker/folder-picker.d.ts +69 -0
- package/library/packages/organisms/src/content-builder/components/folder-picker/folder-picker.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/components/folder-picker/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/components/gallery-config/gallery-config.d.ts +109 -0
- package/library/packages/organisms/src/content-builder/components/gallery-config/gallery-config.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/components/gallery-picker/gallery-picker.d.ts +132 -0
- package/library/packages/organisms/src/content-builder/components/gallery-picker/gallery-picker.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/components/page-picker/page-picker.d.ts +65 -0
- package/library/packages/organisms/src/content-builder/components/page-picker/page-picker.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/configs/accordion.d.ts +13 -0
- package/library/packages/organisms/src/content-builder/configs/analytics.d.ts +13 -0
- package/library/packages/organisms/src/content-builder/configs/button.d.ts +35 -0
- package/library/packages/organisms/src/content-builder/configs/carousel.d.ts +45 -0
- package/library/packages/organisms/src/content-builder/configs/color-swatches.d.ts +16 -0
- package/library/packages/organisms/src/content-builder/configs/column-group.d.ts +13 -0
- package/library/packages/organisms/src/content-builder/configs/column.d.ts +15 -0
- package/library/packages/organisms/src/content-builder/configs/divider.d.ts +11 -0
- package/library/packages/organisms/src/content-builder/configs/font-kit.d.ts +25 -0
- package/library/packages/organisms/src/content-builder/configs/gallery.d.ts +48 -0
- package/library/packages/organisms/src/content-builder/configs/header.d.ts +18 -0
- package/library/packages/organisms/src/content-builder/configs/image.d.ts +52 -0
- package/library/packages/organisms/src/content-builder/configs/index.d.ts +17 -0
- package/library/packages/organisms/src/content-builder/configs/rich-text.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/configs/search-box.d.ts +16 -0
- package/library/packages/organisms/src/content-builder/configs/tab-group.d.ts +17 -0
- package/library/packages/organisms/src/content-builder/configs/text.d.ts +11 -0
- package/library/packages/organisms/src/content-builder/configs/video.d.ts +47 -0
- package/library/packages/organisms/src/content-builder/configsController.d.ts +410 -0
- package/library/packages/organisms/src/content-builder/content-builder-config.d.ts +59 -0
- package/library/packages/organisms/src/content-builder/content-builder-constants.d.ts +32 -0
- package/library/packages/organisms/src/content-builder/content-builder.d.ts +293 -0
- package/library/packages/organisms/src/content-builder/content-builder.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/content-builder.utils.d.ts +12 -0
- package/library/packages/organisms/src/content-builder/plugins/accordion.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/analytics.d.ts +15 -0
- package/library/packages/organisms/src/content-builder/plugins/button.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/carousel.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/color-swatches.d.ts +15 -0
- package/library/packages/organisms/src/content-builder/plugins/column-group.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/column.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/core.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/custom-frame.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/divider.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/font-kit.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/gallery.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/header.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/image.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/index.d.ts +21 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/bubble-menu.d.ts +70 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/index.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/anchor-dialog.d.ts +35 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/image-dialog.d.ts +97 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/image-dialog.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/index.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/rte-bubble-menu.d.ts +231 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/rte-bubble-menu.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/select-with-tooltip.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/special-char-dialog.d.ts +45 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/special-char-dialog.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/table-dialog.d.ts +58 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/table-dialog.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-code-block-toolbar/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-code-block-toolbar/rte-code-block-toolbar.d.ts +28 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-code-block-toolbar/rte-code-block-toolbar.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-image-viewer/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-image-viewer/rte-image-viewer.d.ts +67 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-image-viewer/rte-image-viewer.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-table-generator/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-table-generator/rte-table-generator.d.ts +23 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-table-generator/rte-table-generator.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/constant.d.ts +48 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/anchor/index.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/aside-block/index.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/blockquote/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/bullet-list/index.d.ts +7 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/code-block/CodeBlock.d.ts +44 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/code-block/CodeBlockPrism.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/code-block/PrismPlugin.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/code-block/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/div/index.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/document/commands.d.ts +15 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/document/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/font-size/index.d.ts +11 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/heading/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/highlight/index.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/image/convertSrcToBlob.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/image/index.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/index.d.ts +17 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/inline-class/index.d.ts +7 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/line-height/index.d.ts +9 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/link/helpers/autolink.d.ts +9 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/link/helpers/clickHandler.d.ts +8 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/link/helpers/isValidUrl.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/link/helpers/pasteHandler.d.ts +11 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/link/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/list-item/commands.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/list-item/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/ordered-list/index.d.ts +8 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/other-elements/index.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/other-styles/index.d.ts +7 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/paragraph/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/placeholder/index.d.ts +61 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/cellselection.d.ts +23 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/columnResizing.d.ts +13 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/commands.d.ts +19 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/copyPaste.d.ts +11 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/createCell.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/createTable.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/fixTables.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/getTableNodeTypes.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/index.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/input.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/rowResizing.d.ts +27 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/tableEditing.d.ts +32 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/utils.d.ts +24 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/text-align/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/text-style/index.d.ts +17 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/index.d.ts +13 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/toolbar.d.ts +10 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/convertColorToHex.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/extendClassStyle.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/getImageNaturalWidthHeight.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/getSelectedCells.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/getStyles.d.ts +21 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/isAbsolute.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/isValidAnchorId.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/isValidImageUrl.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/link.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/parseBooleanString.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/parseBorderProperty.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/processAnchorLink.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/textblockTypeInputRuleNoDelete.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/plugins/search-box.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/tab-group.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/text.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/toolbar.d.ts +10 -0
- package/library/packages/organisms/src/content-builder/plugins/video.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/wrapper-container.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/styleController.d.ts +125 -0
- package/library/packages/organisms/src/downloader/data/core/WorkerProxy.d.ts +50 -0
- package/library/packages/organisms/src/downloader/data/core/worker/PortManager.d.ts +13 -0
- package/library/packages/organisms/src/downloader/data/core/worker/Requests.d.ts +66 -0
- package/library/packages/organisms/src/downloader/data/core/worker/Responses.d.ts +49 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/DownloadManager.d.ts +130 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/api/DownloadApiClient.d.ts +18 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/api/index.d.ts +3 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/db/ConcurrencyError.d.ts +3 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/db/DownloadChunksRepository.d.ts +42 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/db/DownloadDatabase.d.ts +45 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/db/DownloadFilesRepository.d.ts +119 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/db/DownloadTransactionsRepository.d.ts +38 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/db/index.d.ts +6 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/event/EventHub.d.ts +8 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/event/index.d.ts +3 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/storage/DiskStorage.d.ts +43 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/storage/IndexedDBStorage.d.ts +33 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/storage/index.d.ts +4 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/utilities/DatabaseLocker.d.ts +14 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/utilities/Logger.d.ts +9 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/utilities/Retrier.d.ts +8 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/utilities/UserPromptService.d.ts +5 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/utilities/WebLocker.d.ts +12 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/utilities/index.d.ts +6 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/BackgroundJob.d.ts +19 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/ChunkDownloader.d.ts +53 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/DownloadObserver.d.ts +18 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/DownloadSpeedMonitor.d.ts +25 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/FileChunkAssembler.d.ts +29 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/FileChunkSplitter.d.ts +23 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/LockBreaker.d.ts +15 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/ServerProcessingFileWatcher.d.ts +29 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/TransactionFilesFetcher.d.ts +33 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/index.d.ts +11 -0
- package/library/packages/organisms/src/downloader/data/core/worker/events/Event.d.ts +5 -0
- package/library/packages/organisms/src/downloader/data/core/worker/events/EventHandler.d.ts +16 -0
- package/library/packages/organisms/src/downloader/data/core/worker/events/index.d.ts +6 -0
- package/library/packages/organisms/src/downloader/data/core/worker/external/IDownloadApiClient.d.ts +60 -0
- package/library/packages/organisms/src/downloader/data/core/worker/external/index.d.ts +4 -0
- package/library/packages/organisms/src/downloader/data/core/worker/models/BaseModel.d.ts +11 -0
- package/library/packages/organisms/src/downloader/data/core/worker/models/DownloadChunk.d.ts +42 -0
- package/library/packages/organisms/src/downloader/data/core/worker/models/DownloadFile.d.ts +170 -0
- package/library/packages/organisms/src/downloader/data/core/worker/models/DownloadTransaction.d.ts +28 -0
- package/library/packages/organisms/src/downloader/data/core/worker/models/index.d.ts +5 -0
- package/library/packages/organisms/src/downloader/data/core/worker/storage/index.d.ts +34 -0
- package/library/packages/organisms/src/downloader/data/core/worker/utilities/FilePathFixer.d.ts +17 -0
- package/library/packages/organisms/src/downloader/data/core/worker/utilities/IUserPromptService.d.ts +27 -0
- package/library/packages/organisms/src/downloader/data/core/worker/utilities/index.d.ts +18 -0
- package/library/packages/organisms/src/downloader/downloader.constants.d.ts +34 -0
- package/library/packages/organisms/src/downloader/downloader.d.ts +211 -0
- package/library/packages/organisms/src/downloader/downloader.style.d.ts +2 -0
- package/library/packages/organisms/src/downloader/downloader.utils.d.ts +7 -0
- package/library/packages/organisms/src/file-on-demand/components/folder-item/folder-item.d.ts +53 -0
- package/library/packages/organisms/src/file-on-demand/components/folder-tree/folder-tree.d.ts +39 -0
- package/library/packages/organisms/src/file-on-demand/components/folder-tree/folder-tree.style.d.ts +2 -0
- package/library/packages/organisms/src/file-on-demand/components/index.d.ts +2 -0
- package/library/packages/organisms/src/file-on-demand/file-on-demand.constants.d.ts +34 -0
- package/library/packages/organisms/src/file-on-demand/file-on-demand.d.ts +267 -0
- package/library/packages/organisms/src/file-on-demand/file-on-demand.style.d.ts +2 -0
- package/library/packages/organisms/src/file-on-demand/file-on-demand.utils.d.ts +52 -0
- package/library/packages/organisms/src/index.d.ts +15 -0
- package/library/packages/organisms/src/library-index.d.ts +3 -0
- package/library/packages/organisms/src/multi-select/components/board/board.d.ts +116 -0
- package/library/packages/organisms/src/multi-select/components/board/board.styles.d.ts +2 -0
- package/library/packages/organisms/src/multi-select/components/board/board.utils.d.ts +2 -0
- package/library/packages/organisms/src/multi-select/components/board-list-item/board-list-item.d.ts +49 -0
- package/library/packages/organisms/src/multi-select/components/board-list-item/board-list-item.styles.d.ts +2 -0
- package/library/packages/organisms/src/multi-select/multi-select.d.ts +85 -0
- package/library/packages/organisms/src/multi-select/multi-select.styles.d.ts +2 -0
- package/library/packages/organisms/src/multi-select/multi-select.utils.d.ts +3 -0
- package/library/packages/organisms/src/template-switcher/template-switcher-example.data.d.ts +5 -0
- package/library/packages/organisms/src/template-switcher/template-switcher.d.ts +51 -0
- package/library/packages/organisms/src/template-switcher/template-switcher.icons.d.ts +7 -0
- package/library/packages/organisms/src/text-to-speech/extensions/Break/break.d.ts +4 -0
- package/library/packages/organisms/src/text-to-speech/extensions/Break/index.d.ts +4 -0
- package/library/packages/organisms/src/text-to-speech/extensions/BubbleMenu/bubble-menu.d.ts +68 -0
- package/library/packages/organisms/src/text-to-speech/extensions/BubbleMenu/index.d.ts +4 -0
- package/library/packages/organisms/src/text-to-speech/extensions/CleanPaste/cleanPaste.d.ts +3 -0
- package/library/packages/organisms/src/text-to-speech/extensions/CleanPaste/index.d.ts +4 -0
- package/library/packages/organisms/src/text-to-speech/extensions/Selection/index.d.ts +4 -0
- package/library/packages/organisms/src/text-to-speech/extensions/Selection/selection.d.ts +3 -0
- package/library/packages/organisms/src/text-to-speech/extensions/Tune/index.d.ts +1 -0
- package/library/packages/organisms/src/text-to-speech/extensions/Tune/tune.d.ts +7 -0
- package/library/packages/organisms/src/text-to-speech/text-to-speech.api.d.ts +10 -0
- package/library/packages/organisms/src/text-to-speech/text-to-speech.constants.d.ts +232 -0
- package/library/packages/organisms/src/text-to-speech/text-to-speech.d.ts +156 -0
- package/library/packages/organisms/src/text-to-speech/text-to-speech.data.d.ts +3 -0
- package/library/packages/organisms/src/text-to-speech/text-to-speech.extensions.d.ts +16 -0
- package/library/packages/organisms/src/text-to-speech/text-to-speech.styles.d.ts +2 -0
- package/library/packages/organisms/src/text-to-speech/text-to-speech.utils.d.ts +52 -0
- package/library/packages/organisms/src/video-chapters-manager/video-chapters-manager.d.ts +71 -0
- package/library/packages/organisms/src/video-chapters-manager/video-chapters-manager.styles.d.ts +2 -0
- package/library/packages/organisms/src/video-chapters-manager/video-chapters-manager.utils.d.ts +25 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-timeline/video-editor-timeline.d.ts +64 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-timeline/video-editor-timeline.styles.d.ts +2 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-toolbar/video-editor-toolbar.d.ts +84 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-toolbar/video-editor-toolbar.styles.d.ts +2 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-track/video-editor-track.d.ts +44 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-track/video-editor-track.styles.d.ts +2 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-tracks/video-editor-tracks.d.ts +65 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-tracks/video-editor-tracks.styles.d.ts +2 -0
- package/library/packages/organisms/src/video-editor/video-editor.d.ts +102 -0
- package/library/packages/organisms/src/video-editor/video-editor.styles.d.ts +2 -0
- package/library/packages/services/src/api/api.d.ts +2 -0
- package/library/packages/services/src/api/asset/asset.d.ts +60 -0
- package/library/packages/services/src/api/asset/index.d.ts +1 -0
- package/library/packages/services/src/api/autocomplete/autocomplete.d.ts +8 -0
- package/library/packages/services/src/api/autocomplete/index.d.ts +1 -0
- package/library/packages/services/src/api/chapter/chapter.d.ts +7 -0
- package/library/packages/services/src/api/cms5/cms5.d.ts +29 -0
- package/library/packages/services/src/api/cms5/index.d.ts +1 -0
- package/library/packages/services/src/api/dashboard/dashboard.d.ts +7 -0
- package/library/packages/services/src/api/dashboard/index.d.ts +1 -0
- package/library/packages/services/src/api/endpoints.d.ts +49 -0
- package/library/packages/services/src/api/folder/folder.d.ts +26 -0
- package/library/packages/services/src/api/folder/folder.types.d.ts +16 -0
- package/library/packages/services/src/api/folder/index.d.ts +1 -0
- package/library/packages/services/src/api/metadata/index.d.ts +1 -0
- package/library/packages/services/src/api/metadata/metadata.d.ts +3 -0
- package/library/packages/services/src/api/teamspace/index.d.ts +1 -0
- package/library/packages/services/src/api/teamspace/teamspace.d.ts +23 -0
- package/library/packages/services/src/global-styles/global-styles.d.ts +2 -0
- package/library/packages/styles/src/component.styles.d.ts +2 -0
- package/library/packages/styles/src/form-control.styles.d.ts +2 -0
- package/library/packages/styles/src/overlay-scrollbar.styles.d.ts +2 -0
- package/library/packages/styles/src/prosemirror.styles.d.ts +2 -0
- package/library/packages/styles/src/resizable-component.styles.d.ts +2 -0
- package/library/packages/tools/src/fetch-asset/fetch-asset.d.ts +13 -0
- package/library/packages/tools/src/fetch-image/fetch-image.d.ts +40 -0
- package/library/packages/types/src/3d-viewer.d.ts +32 -0
- package/library/packages/types/src/asset-click-action.d.ts +23 -0
- package/library/packages/types/src/asset-data-display.d.ts +5 -0
- package/library/packages/types/src/asset-link-format.d.ts +85 -0
- package/library/packages/types/src/bento-grid.d.ts +18 -0
- package/library/packages/types/src/button.d.ts +16 -0
- package/library/packages/types/src/chatbot.d.ts +30 -0
- package/library/packages/types/src/color-picker.d.ts +49 -0
- package/library/packages/types/src/color-swatch-group.d.ts +11 -0
- package/library/packages/types/src/color-swatch.d.ts +15 -0
- package/library/packages/types/src/column.d.ts +10 -0
- package/library/packages/types/src/confirm-popover.d.ts +11 -0
- package/library/packages/types/src/content-builder.d.ts +264 -0
- package/library/packages/types/src/dialog.d.ts +6 -0
- package/library/packages/types/src/downloader.d.ts +44 -0
- package/library/packages/types/src/file-on-demand.d.ts +67 -0
- package/library/packages/types/src/folder-select.d.ts +28 -0
- package/library/packages/types/src/font-kit.d.ts +22 -0
- package/library/packages/types/src/gallery-item.d.ts +38 -0
- package/library/packages/types/src/gallery.d.ts +40 -0
- package/library/packages/types/src/header.d.ts +14 -0
- package/library/packages/types/src/highlightable-element.d.ts +29 -0
- package/library/packages/types/src/iframe.d.ts +4 -0
- package/library/packages/types/src/image.d.ts +4 -0
- package/library/packages/types/src/index.d.ts +58 -0
- package/library/packages/types/src/masonry.d.ts +21 -0
- package/library/packages/types/src/option.d.ts +4 -0
- package/library/packages/types/src/page-outline.d.ts +9 -0
- package/library/packages/types/src/pagination.d.ts +5 -0
- package/library/packages/types/src/position-picker.d.ts +11 -0
- package/library/packages/types/src/resizable-element.d.ts +4 -0
- package/library/packages/types/src/sb-button.d.ts +6 -0
- package/library/packages/types/src/search-box.d.ts +10 -0
- package/library/packages/types/src/size-input-group.d.ts +4 -0
- package/library/packages/types/src/tab-group.d.ts +27 -0
- package/library/packages/types/src/table.d.ts +2931 -0
- package/library/packages/types/src/text-to-speech.d.ts +42 -0
- package/library/packages/types/src/typography.d.ts +12 -0
- package/library/packages/types/src/video-editor.d.ts +52 -0
- package/library/packages/utils/src/actions/asset-click.d.ts +9 -0
- package/library/packages/utils/src/array/array.d.ts +92 -0
- package/library/packages/utils/src/browser/browser.d.ts +13 -0
- package/library/packages/utils/src/color/color.d.ts +77 -0
- package/library/packages/utils/src/custom-element/active-elements.d.ts +15 -0
- package/library/packages/utils/src/custom-element/animate.d.ts +22 -0
- package/library/packages/utils/src/custom-element/converters.d.ts +5 -0
- package/library/packages/utils/src/custom-element/custom-element.d.ts +39 -0
- package/library/packages/utils/src/custom-element/debounce.d.ts +1 -0
- package/library/packages/utils/src/custom-element/default-value.d.ts +3 -0
- package/library/packages/utils/src/custom-element/drag.d.ts +15 -0
- package/library/packages/utils/src/custom-element/event.d.ts +2 -0
- package/library/packages/utils/src/custom-element/form.d.ts +79 -0
- package/library/packages/utils/src/custom-element/i18n-utils.d.ts +70 -0
- package/library/packages/utils/src/custom-element/i18n.d.ts +691 -0
- package/library/packages/utils/src/custom-element/math.d.ts +2 -0
- package/library/packages/utils/src/custom-element/modal.d.ts +25 -0
- package/library/packages/utils/src/custom-element/offset.d.ts +11 -0
- package/library/packages/utils/src/custom-element/popup.d.ts +10 -0
- package/library/packages/utils/src/custom-element/scroll.d.ts +11 -0
- package/library/packages/utils/src/custom-element/scrollend-polyfill.d.ts +1 -0
- package/library/packages/utils/src/custom-element/slot.d.ts +24 -0
- package/library/packages/utils/src/custom-element/tabbable.d.ts +9 -0
- package/library/packages/utils/src/custom-element/user-agent.d.ts +1 -0
- package/library/packages/utils/src/custom-element/watch.d.ts +28 -0
- package/library/packages/utils/src/dom/dom.d.ts +30 -0
- package/library/packages/utils/src/event/event.d.ts +1 -0
- package/library/packages/utils/src/fetch/fetchCortex.d.ts +3 -0
- package/library/packages/utils/src/form/form.d.ts +12 -0
- package/library/packages/utils/src/function/function.d.ts +1 -0
- package/library/packages/utils/src/gsap/gsap.d.ts +1 -0
- package/library/packages/utils/src/image/image.d.ts +28 -0
- package/library/packages/utils/src/number/number.d.ts +32 -0
- package/library/packages/utils/src/object/object.d.ts +4 -0
- package/library/packages/utils/src/parse/parse.d.ts +4 -0
- package/library/packages/utils/src/responsive/responsive.d.ts +11 -0
- package/library/packages/utils/src/storage/storage.d.ts +2 -0
- package/library/packages/utils/src/string/string.d.ts +117 -0
- package/library/packages/utils/src/toast/toast.d.ts +5 -0
- package/library/packages/utils/src/translations/en.d.ts +4 -0
- package/library/packages/utils/src/url/url.d.ts +6 -0
- package/library/packages/utils/src/video/video.d.ts +20 -0
- package/library/react-web-component.d.ts +7808 -0
- package/library/react-web-component.js +1 -0
- package/library/types.d.ts +4 -0
- package/package.json +40 -0
|
@@ -0,0 +1,3396 @@
|
|
|
1
|
+
import lt from "../components/icon.js";
|
|
2
|
+
import dt from "../components/line-clamp.js";
|
|
3
|
+
import { C as pt, s as ht, a as ut, b as Q } from "./tree.5Cb85J9q.js";
|
|
4
|
+
import { n as p, C as Y, x as r, c as K, i as gt, E as bt } from "./custom-element.fmLrnDZr.js";
|
|
5
|
+
import { c as xt } from "./component.styles.DtouHn2g.js";
|
|
6
|
+
import { L as Z } from "./i18n.C6c6_pqI.js";
|
|
7
|
+
import { k as $t, h as mt, i as ft, w as L, j as wt, l as St, f as It, g as Ct, d as At, m as Dt, n as Tt } from "./watch.BCJD77bD.js";
|
|
8
|
+
import { p as P } from "./string.yyVPNus8.js";
|
|
9
|
+
import { r as x } from "./state.Dt9F_SuS.js";
|
|
10
|
+
import { e as R } from "./query.BBf1UFkC.js";
|
|
11
|
+
import { e as A } from "./class-map.DqNfBvJI.js";
|
|
12
|
+
import { c as F } from "./repeat.B1pVpmRx.js";
|
|
13
|
+
import { n as g } from "./when.Dr1es41R.js";
|
|
14
|
+
import { a as zt, i as _t, c as Et, b as tt } from "./_baseUniq.BUihBa8c.js";
|
|
15
|
+
import Lt from "../components/avatar.js";
|
|
16
|
+
import { C as Rt } from "./button.G_W-dK6b.js";
|
|
17
|
+
import { C as Pt } from "./dialog.upIZWR3x.js";
|
|
18
|
+
import Ft from "../components/divider.js";
|
|
19
|
+
import Ut from "../components/format-bytes.js";
|
|
20
|
+
import kt from "../components/icon-button.js";
|
|
21
|
+
import Ot from "../components/input.js";
|
|
22
|
+
import { C as Nt } from "./option.pgg_ZoHY.js";
|
|
23
|
+
import jt from "../components/progress-bar.js";
|
|
24
|
+
import Mt from "../components/relative-time.js";
|
|
25
|
+
import { C as Bt } from "./select.DMdl1Kdd.js";
|
|
26
|
+
import Vt from "../components/space.js";
|
|
27
|
+
import Ht from "../components/tab.js";
|
|
28
|
+
import { C as Wt } from "./tab-group.3F6gRchD.js";
|
|
29
|
+
import Gt from "../components/tab-panel.js";
|
|
30
|
+
import qt from "../components/tooltip.js";
|
|
31
|
+
import { C as Yt } from "./typography.trna8y2b.js";
|
|
32
|
+
import { C as Kt } from "./confirm-popover.DwSAxWFi.js";
|
|
33
|
+
import { d as Zt } from "./debounce.DZNkg8Q5.js";
|
|
34
|
+
import { a as H } from "./number.eX2EGPvy.js";
|
|
35
|
+
import { o as Xt } from "./style-map.lEJHEwk3.js";
|
|
36
|
+
import { a as Jt } from "./toString.CL_lYXbK.js";
|
|
37
|
+
import { S as et, i as Qt } from "./isObjectLike.z36Fu426.js";
|
|
38
|
+
function te(t, e, i, o) {
|
|
39
|
+
for (var s = -1, a = t == null ? 0 : t.length; ++s < a; ) {
|
|
40
|
+
var l = t[s];
|
|
41
|
+
e(o, l, i(l), t);
|
|
42
|
+
}
|
|
43
|
+
return o;
|
|
44
|
+
}
|
|
45
|
+
function ee(t) {
|
|
46
|
+
return function(e, i, o) {
|
|
47
|
+
for (var s = -1, a = Object(e), l = o(e), d = l.length; d--; ) {
|
|
48
|
+
var m = l[++s];
|
|
49
|
+
if (i(a[m], m, a) === !1)
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
return e;
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
var se = ee();
|
|
56
|
+
function ie(t, e) {
|
|
57
|
+
return t && se(t, e, $t);
|
|
58
|
+
}
|
|
59
|
+
function oe(t, e) {
|
|
60
|
+
return function(i, o) {
|
|
61
|
+
if (i == null)
|
|
62
|
+
return i;
|
|
63
|
+
if (!mt(i))
|
|
64
|
+
return t(i, o);
|
|
65
|
+
for (var s = i.length, a = -1, l = Object(i); ++a < s && o(l[a], a, l) !== !1; )
|
|
66
|
+
;
|
|
67
|
+
return i;
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
var ae = oe(ie);
|
|
71
|
+
function re(t, e, i, o) {
|
|
72
|
+
return ae(t, function(s, a, l) {
|
|
73
|
+
e(o, s, i(s), l);
|
|
74
|
+
}), o;
|
|
75
|
+
}
|
|
76
|
+
function ne(t, e) {
|
|
77
|
+
return function(i, o) {
|
|
78
|
+
var s = ft(i) ? te : re, a = e ? e() : {};
|
|
79
|
+
return s(i, t, zt(o), a);
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
var ce = ne(function(t, e, i) {
|
|
83
|
+
t[i ? 0 : 1].push(e);
|
|
84
|
+
}, function() {
|
|
85
|
+
return [[], []];
|
|
86
|
+
});
|
|
87
|
+
const le = {
|
|
88
|
+
error: "Upload error",
|
|
89
|
+
loaded: "Up-to-date",
|
|
90
|
+
loading: "Syncing"
|
|
91
|
+
}, b = {
|
|
92
|
+
FAVORITES: "favorites",
|
|
93
|
+
RECENT: "recent",
|
|
94
|
+
UPLOADS: "uploads"
|
|
95
|
+
}, W = 20, de = {
|
|
96
|
+
GET_CONTENT: "/webapi/extensibility/integrations/contentBrowserSDK/getcontent_4bw_v1"
|
|
97
|
+
}, C = {
|
|
98
|
+
ASSET_PATH: "Document.AssetPath",
|
|
99
|
+
CHILD_COUNT: "Document.ChildCount",
|
|
100
|
+
CORTEX_PATH: "Document.CortexPath",
|
|
101
|
+
DOC_TYPE: "CoreField.DocType",
|
|
102
|
+
HAS_BROWSER_CHILDREN: "Document.HasBrowserChildren",
|
|
103
|
+
PARENT_FOLDER_IDENTIFIER: "Document.ParentRecordID",
|
|
104
|
+
TITLE_WITH_FALLBACK: "CoreField.TitleWithFallback"
|
|
105
|
+
}, B = "GB", U = 6e4, pe = ["album", "story", "project", "merchandise"], st = (t) => {
|
|
106
|
+
const e = /* @__PURE__ */ new Date(), i = new Date(
|
|
107
|
+
e.getFullYear(),
|
|
108
|
+
e.getMonth(),
|
|
109
|
+
e.getDate()
|
|
110
|
+
).getTime(), o = new Date(
|
|
111
|
+
e.getFullYear(),
|
|
112
|
+
e.getMonth(),
|
|
113
|
+
e.getDate() + 1
|
|
114
|
+
).getTime();
|
|
115
|
+
return ce(
|
|
116
|
+
t.toSorted((s, a) => a.uploadTimestamp - s.uploadTimestamp),
|
|
117
|
+
(s) => s.uploadTimestamp >= i && s.uploadTimestamp < o
|
|
118
|
+
);
|
|
119
|
+
}, he = ({
|
|
120
|
+
excludesRecordIDs: t,
|
|
121
|
+
searchText: e
|
|
122
|
+
}) => {
|
|
123
|
+
let i = "";
|
|
124
|
+
e?.trim() && (i = `Story_Title:${e}`);
|
|
125
|
+
let o = "";
|
|
126
|
+
t?.length && (o = t.map((a) => `RecordID:NOT ${a}`).join(" AND "));
|
|
127
|
+
let s = i ? ` AND (${[i].filter(Boolean).join(" OR ")})` : "";
|
|
128
|
+
return o && (s = `${s} AND (${o})`), `(MediaType:Story OR MediaType:Album)${s}`;
|
|
129
|
+
}, ue = 10, vt = async ({
|
|
130
|
+
excludes: t = [],
|
|
131
|
+
folderId: e,
|
|
132
|
+
folderPath: i = [],
|
|
133
|
+
folderPathsSet: o,
|
|
134
|
+
limit: s = ue,
|
|
135
|
+
searchText: a,
|
|
136
|
+
seeThru: l,
|
|
137
|
+
siteUrl: d,
|
|
138
|
+
start: m = 0,
|
|
139
|
+
token: u
|
|
140
|
+
}) => {
|
|
141
|
+
if (!d)
|
|
142
|
+
return { data: [], totalCount: 0 };
|
|
143
|
+
let h = d;
|
|
144
|
+
h.endsWith("/") && (h = h.slice(0, -1));
|
|
145
|
+
const _ = de.GET_CONTENT, f = [
|
|
146
|
+
["Token", u],
|
|
147
|
+
[
|
|
148
|
+
"extraFilters",
|
|
149
|
+
he({
|
|
150
|
+
excludesRecordIDs: t,
|
|
151
|
+
searchText: a
|
|
152
|
+
})
|
|
153
|
+
],
|
|
154
|
+
["fields", C.ASSET_PATH],
|
|
155
|
+
["fields", C.CORTEX_PATH],
|
|
156
|
+
["fields", C.DOC_TYPE],
|
|
157
|
+
["fields", C.TITLE_WITH_FALLBACK],
|
|
158
|
+
["fields", C.HAS_BROWSER_CHILDREN],
|
|
159
|
+
["fields", C.PARENT_FOLDER_IDENTIFIER],
|
|
160
|
+
["fields", C.CHILD_COUNT],
|
|
161
|
+
["objectRecordID", e],
|
|
162
|
+
["seeThru", a?.trim() || l ? "true" : "false"],
|
|
163
|
+
["limit", s.toString()],
|
|
164
|
+
["start", m.toString()]
|
|
165
|
+
], z = new URL(`${h}${_}`);
|
|
166
|
+
f.forEach(([S, E]) => {
|
|
167
|
+
z.searchParams.append(S, E);
|
|
168
|
+
});
|
|
169
|
+
const I = await fetch(z.toString(), {
|
|
170
|
+
headers: {
|
|
171
|
+
Authorization: `Bearer ${u}`
|
|
172
|
+
},
|
|
173
|
+
method: "GET"
|
|
174
|
+
});
|
|
175
|
+
if (!I.ok) {
|
|
176
|
+
const S = new Error();
|
|
177
|
+
throw S.message = "Failed to fetch", S;
|
|
178
|
+
}
|
|
179
|
+
const j = await I.json();
|
|
180
|
+
let M = /* @__PURE__ */ new Set();
|
|
181
|
+
o && (M = me(o));
|
|
182
|
+
const X = j.contentItems?.map((S) => {
|
|
183
|
+
let E = N(
|
|
184
|
+
S.fields,
|
|
185
|
+
C.TITLE_WITH_FALLBACK
|
|
186
|
+
) ?? "", O = xe(
|
|
187
|
+
(N(
|
|
188
|
+
S.fields,
|
|
189
|
+
C.ASSET_PATH
|
|
190
|
+
) ?? "").replace(/^Root\//i, "")
|
|
191
|
+
) || E;
|
|
192
|
+
if (o) {
|
|
193
|
+
if (o.has(O)) {
|
|
194
|
+
const J = O.split("/"), yt = J.pop();
|
|
195
|
+
O = `${J.join("/")}/${S.recordID}-${yt}`, E = `${S.recordID}-${E}`;
|
|
196
|
+
}
|
|
197
|
+
a?.trim() && M.has(E) && (E = O), o.add(O), M.add(E);
|
|
198
|
+
}
|
|
199
|
+
return {
|
|
200
|
+
childCount: Number(
|
|
201
|
+
N(
|
|
202
|
+
S.fields,
|
|
203
|
+
C.CHILD_COUNT
|
|
204
|
+
) ?? 0
|
|
205
|
+
),
|
|
206
|
+
children: [],
|
|
207
|
+
docType: N(
|
|
208
|
+
S.fields,
|
|
209
|
+
C.DOC_TYPE
|
|
210
|
+
) ?? "",
|
|
211
|
+
fullPath: O,
|
|
212
|
+
hasChildren: N(
|
|
213
|
+
S.fields,
|
|
214
|
+
C.HAS_BROWSER_CHILDREN
|
|
215
|
+
) === "1",
|
|
216
|
+
id: S.recordID,
|
|
217
|
+
parentFolderIdentifier: N(
|
|
218
|
+
S.fields,
|
|
219
|
+
C.PARENT_FOLDER_IDENTIFIER
|
|
220
|
+
) ?? "",
|
|
221
|
+
parents: [],
|
|
222
|
+
path: [...i, E],
|
|
223
|
+
title: E
|
|
224
|
+
};
|
|
225
|
+
}) ?? [];
|
|
226
|
+
return { data: X, totalCount: j.totalCount ?? X.length };
|
|
227
|
+
};
|
|
228
|
+
function N(t, e) {
|
|
229
|
+
const i = e.toLowerCase(), o = Object.keys(t).find(
|
|
230
|
+
(s) => s.toLowerCase() === i
|
|
231
|
+
);
|
|
232
|
+
return o ? t[o] : void 0;
|
|
233
|
+
}
|
|
234
|
+
const q = "-", $ = (t) => {
|
|
235
|
+
const e = t.split(q), i = e.pop() ?? "", o = e.join(q);
|
|
236
|
+
return { id: i, path: o };
|
|
237
|
+
}, k = ({ id: t, path: e }) => [e, t].join(q), ge = (t) => {
|
|
238
|
+
const e = t.split(".");
|
|
239
|
+
return e.length > 1 ? e.pop() ?? "" : "";
|
|
240
|
+
}, it = (t) => {
|
|
241
|
+
const e = t.match(/(?:V\.?)?(\d+(?:\.\d+)*)/);
|
|
242
|
+
return e ? e[1] : "";
|
|
243
|
+
}, ot = (t, e) => {
|
|
244
|
+
let i = e?.trim();
|
|
245
|
+
const o = e ? e.split("/").length : 0;
|
|
246
|
+
return (t ? t.length : 0) >= o && (i = t.join("/") ?? ""), i;
|
|
247
|
+
}, xe = (t) => t.split("/").map((e) => e.trim()).join("/"), me = (t) => {
|
|
248
|
+
const e = /* @__PURE__ */ new Set();
|
|
249
|
+
for (const i of t) {
|
|
250
|
+
const o = i.split("/"), s = o[o.length - 1];
|
|
251
|
+
s && e.add(s);
|
|
252
|
+
}
|
|
253
|
+
return e;
|
|
254
|
+
}, fe = (t, e) => {
|
|
255
|
+
const i = t.split("/"), o = e.split("/");
|
|
256
|
+
return i.slice(0, o.length + 1).join("/");
|
|
257
|
+
};
|
|
258
|
+
var _e = Object.defineProperty, ve = Object.getOwnPropertyDescriptor, D = (t, e, i, o) => {
|
|
259
|
+
for (var s = o > 1 ? void 0 : o ? ve(e, i) : e, a = t.length - 1, l; a >= 0; a--)
|
|
260
|
+
(l = t[a]) && (s = (o ? l(e, i, s) : l(s)) || s);
|
|
261
|
+
return o && s && _e(e, i, s), s;
|
|
262
|
+
};
|
|
263
|
+
let v = class extends Y {
|
|
264
|
+
constructor() {
|
|
265
|
+
super(...arguments), this.localize = new Z(this), this.role = "treeitem", this.siteUrl = "", this.token = "", this.searchText = "", this.folder = null, this.currentRootIDsSet = /* @__PURE__ */ new Set(), this.folderPathsSet = /* @__PURE__ */ new Set(), this.removedIDs = [], this.data = null, this.totalCount = 0, this.isLoading = !1, this.fetchFolders = async ({
|
|
266
|
+
folderId: t,
|
|
267
|
+
start: e = 0
|
|
268
|
+
}) => await vt({
|
|
269
|
+
folderId: t,
|
|
270
|
+
folderPath: this.folder?.path ?? [],
|
|
271
|
+
folderPathsSet: this.folderPathsSet,
|
|
272
|
+
siteUrl: this.siteUrl,
|
|
273
|
+
start: e,
|
|
274
|
+
token: this.token
|
|
275
|
+
}), this.loadMore = async (t) => {
|
|
276
|
+
t?.stopPropagation();
|
|
277
|
+
const e = this.data?.length ?? 0;
|
|
278
|
+
if (e >= this.totalCount)
|
|
279
|
+
return;
|
|
280
|
+
this.isLoading = !0;
|
|
281
|
+
const { data: i, totalCount: o } = await this.fetchFolders({
|
|
282
|
+
folderId: this.folder?.id ?? "",
|
|
283
|
+
start: e
|
|
284
|
+
});
|
|
285
|
+
this.data = [...this.data ?? [], ...i], this.totalCount = o, this.isLoading = !1;
|
|
286
|
+
}, this.onLazyLoad = async (t) => {
|
|
287
|
+
if (t.target !== this.treeItem)
|
|
288
|
+
return;
|
|
289
|
+
const { data: e, totalCount: i } = await this.fetchFolders({
|
|
290
|
+
folderId: this.folder?.id ?? ""
|
|
291
|
+
});
|
|
292
|
+
if (this.data = e, this.totalCount = i, await this.updateComplete, !this.treeItem.selected && !this.treeItem.indeterminate) {
|
|
293
|
+
let o = !0, s = !0;
|
|
294
|
+
for (const a of this.treeItem.getChildrenItems())
|
|
295
|
+
a.selected ? (ht(a, !0, "multiple"), s = !1) : o = !1;
|
|
296
|
+
this.treeItem.indeterminate = !o && !s;
|
|
297
|
+
}
|
|
298
|
+
};
|
|
299
|
+
}
|
|
300
|
+
get selected() {
|
|
301
|
+
return this.treeItem.selected;
|
|
302
|
+
}
|
|
303
|
+
set selected(t) {
|
|
304
|
+
this.treeItem.selected = t;
|
|
305
|
+
}
|
|
306
|
+
get expanded() {
|
|
307
|
+
return this.treeItem.expanded;
|
|
308
|
+
}
|
|
309
|
+
set expanded(t) {
|
|
310
|
+
this.treeItem.expanded = t;
|
|
311
|
+
}
|
|
312
|
+
get indeterminate() {
|
|
313
|
+
return this.treeItem.indeterminate;
|
|
314
|
+
}
|
|
315
|
+
set indeterminate(t) {
|
|
316
|
+
this.treeItem.indeterminate = t;
|
|
317
|
+
}
|
|
318
|
+
// this is so that external cx-tree can query select the cx-tree-item inside
|
|
319
|
+
createRenderRoot() {
|
|
320
|
+
return this;
|
|
321
|
+
}
|
|
322
|
+
getChildrenItems() {
|
|
323
|
+
return this.treeItem.getChildrenItems();
|
|
324
|
+
}
|
|
325
|
+
async syncBoxes() {
|
|
326
|
+
if (await this.updateComplete, !this.treeItem)
|
|
327
|
+
return;
|
|
328
|
+
let t = !1;
|
|
329
|
+
const e = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Set(), o = ot(this.folder?.path ?? [], this.folder?.fullPath ?? ""), s = [...this.currentRootIDsSet], a = (u, h) => {
|
|
330
|
+
u.forEach((_) => {
|
|
331
|
+
const f = $(_);
|
|
332
|
+
if (!f.path.trim() || !f.id.trim())
|
|
333
|
+
return !1;
|
|
334
|
+
const z = P(f.path), I = P(o);
|
|
335
|
+
o && z.startsWith(I) && z !== I && h.add(fe(f.path, o));
|
|
336
|
+
});
|
|
337
|
+
};
|
|
338
|
+
a(this.removedIDs, i), a(s, e);
|
|
339
|
+
let l = !!s.some((u) => {
|
|
340
|
+
const h = $(u);
|
|
341
|
+
if (!h.path.trim() || !h.id.trim())
|
|
342
|
+
return !1;
|
|
343
|
+
const _ = k({
|
|
344
|
+
id: this.folder?.id ?? "",
|
|
345
|
+
path: o
|
|
346
|
+
}), f = P(h.path), z = P(o), I = h.id === this.folder?.id, j = !this.removedIDs.includes(_) && z.startsWith(f);
|
|
347
|
+
return I || j;
|
|
348
|
+
});
|
|
349
|
+
const d = this.folder?.childCount && e.size === this.folder?.childCount;
|
|
350
|
+
if (this.folder?.childCount && i.size === this.folder?.childCount) {
|
|
351
|
+
this.currentRootIDsSet.delete(
|
|
352
|
+
k({
|
|
353
|
+
id: this.folder?.id ?? "",
|
|
354
|
+
path: o
|
|
355
|
+
})
|
|
356
|
+
);
|
|
357
|
+
const u = this.parentElement?.parentElement;
|
|
358
|
+
u && u instanceof v && u.syncBoxes(), l = !1;
|
|
359
|
+
} else if (!l)
|
|
360
|
+
if (d) {
|
|
361
|
+
this.currentRootIDsSet.add(
|
|
362
|
+
k({
|
|
363
|
+
id: this.folder?.id ?? "",
|
|
364
|
+
path: o
|
|
365
|
+
})
|
|
366
|
+
);
|
|
367
|
+
const u = this.parentElement?.parentElement;
|
|
368
|
+
u && u instanceof v && u.syncBoxes(), l = !0;
|
|
369
|
+
} else e.size > 0 && (t = !0);
|
|
370
|
+
l ? (t = i.size > 0, this.treeItem.selected = !0) : (t = e.size > 0, this.treeItem.selected = !1, await this.treeItem.updateComplete), t ? (this.treeItem.selected = !1, await this.treeItem.updateComplete, this.treeItem.indeterminate = !0) : this.treeItem.indeterminate = !1;
|
|
371
|
+
}
|
|
372
|
+
render() {
|
|
373
|
+
const t = ot(this.folder?.path ?? [], this.folder?.fullPath ?? "");
|
|
374
|
+
return r`
|
|
375
|
+
<cx-tree-item
|
|
376
|
+
aria-label=${this.folder?.title ?? ""}
|
|
377
|
+
class=${A({
|
|
378
|
+
"folder-tree__item": !0,
|
|
379
|
+
selectable: !0
|
|
380
|
+
})}
|
|
381
|
+
data-id=${this.folder?.id}
|
|
382
|
+
data-path=${t}
|
|
383
|
+
?lazy=${this.folder?.hasChildren && this.data === null}
|
|
384
|
+
@cx-lazy-load=${this.onLazyLoad}
|
|
385
|
+
>
|
|
386
|
+
<div class="folder-tree__label">
|
|
387
|
+
<cx-icon class="folder-tree__icon" name="folder"></cx-icon>
|
|
388
|
+
<cx-line-clamp lines="1" class="folder-tree__label__value">
|
|
389
|
+
${this.folder?.title}
|
|
390
|
+
</cx-line-clamp>
|
|
391
|
+
</div>
|
|
392
|
+
${F(
|
|
393
|
+
this.data ?? [],
|
|
394
|
+
(e) => e.id,
|
|
395
|
+
(e) => r`<cx-folder-item
|
|
396
|
+
slot="children"
|
|
397
|
+
.folder=${e}
|
|
398
|
+
.siteUrl=${this.siteUrl}
|
|
399
|
+
.token=${this.token}
|
|
400
|
+
.removedIDs=${this.removedIDs}
|
|
401
|
+
.currentRootIDsSet=${this.currentRootIDsSet}
|
|
402
|
+
.folderPathsSet=${this.folderPathsSet}
|
|
403
|
+
></cx-folder-item>`
|
|
404
|
+
)}
|
|
405
|
+
${g(
|
|
406
|
+
this.data && this.data.length < this.totalCount,
|
|
407
|
+
() => r`
|
|
408
|
+
<div slot="children" class="load-more-button">
|
|
409
|
+
<cx-button
|
|
410
|
+
data-testid="load-more-button"
|
|
411
|
+
variant="text"
|
|
412
|
+
@click=${this.loadMore}
|
|
413
|
+
?loading=${this.isLoading}
|
|
414
|
+
>
|
|
415
|
+
${this.localize.term("more")}
|
|
416
|
+
</cx-button>
|
|
417
|
+
</div>
|
|
418
|
+
`
|
|
419
|
+
)}
|
|
420
|
+
</cx-tree-item>
|
|
421
|
+
`;
|
|
422
|
+
}
|
|
423
|
+
};
|
|
424
|
+
v.styles = [xt];
|
|
425
|
+
v.dependencies = {
|
|
426
|
+
"cx-icon": lt,
|
|
427
|
+
"cx-line-clamp": dt,
|
|
428
|
+
"cx-tree-item": pt
|
|
429
|
+
};
|
|
430
|
+
D([
|
|
431
|
+
R("cx-tree-item")
|
|
432
|
+
], v.prototype, "treeItem", 2);
|
|
433
|
+
D([
|
|
434
|
+
p({
|
|
435
|
+
attribute: "site-url",
|
|
436
|
+
reflect: !0
|
|
437
|
+
})
|
|
438
|
+
], v.prototype, "siteUrl", 2);
|
|
439
|
+
D([
|
|
440
|
+
p({ reflect: !0, type: String })
|
|
441
|
+
], v.prototype, "token", 2);
|
|
442
|
+
D([
|
|
443
|
+
p({ attribute: "search-text", reflect: !0, type: String })
|
|
444
|
+
], v.prototype, "searchText", 2);
|
|
445
|
+
D([
|
|
446
|
+
p()
|
|
447
|
+
], v.prototype, "folder", 2);
|
|
448
|
+
D([
|
|
449
|
+
p({
|
|
450
|
+
attribute: "current-root-ids-set",
|
|
451
|
+
type: Object
|
|
452
|
+
})
|
|
453
|
+
], v.prototype, "currentRootIDsSet", 2);
|
|
454
|
+
D([
|
|
455
|
+
p({ attribute: "folder-paths-set" })
|
|
456
|
+
], v.prototype, "folderPathsSet", 2);
|
|
457
|
+
D([
|
|
458
|
+
p({
|
|
459
|
+
attribute: "removed-ids",
|
|
460
|
+
converter: {
|
|
461
|
+
fromAttribute: (t) => t.split(" "),
|
|
462
|
+
toAttribute: (t) => t.join(" ")
|
|
463
|
+
}
|
|
464
|
+
})
|
|
465
|
+
], v.prototype, "removedIDs", 2);
|
|
466
|
+
D([
|
|
467
|
+
x()
|
|
468
|
+
], v.prototype, "data", 2);
|
|
469
|
+
D([
|
|
470
|
+
x()
|
|
471
|
+
], v.prototype, "totalCount", 2);
|
|
472
|
+
D([
|
|
473
|
+
x()
|
|
474
|
+
], v.prototype, "isLoading", 2);
|
|
475
|
+
D([
|
|
476
|
+
L(["currentRootIDsSet", "removedIDs"])
|
|
477
|
+
], v.prototype, "syncBoxes", 1);
|
|
478
|
+
v = D([
|
|
479
|
+
K("cx-folder-item")
|
|
480
|
+
], v);
|
|
481
|
+
const ye = gt`
|
|
482
|
+
.folder-tree {
|
|
483
|
+
overflow: auto;
|
|
484
|
+
flex: 1;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.folder-tree:not(.selectable) {
|
|
488
|
+
max-height: 200px;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.folder-tree__item::part(label) {
|
|
492
|
+
width: 100%;
|
|
493
|
+
overflow: hidden;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.folder-tree__icon {
|
|
497
|
+
font-size: var(--cx-font-size-large);
|
|
498
|
+
color: var(--cx-color-neutral-600);
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
.folder-tree__label {
|
|
502
|
+
display: flex;
|
|
503
|
+
width: 100%;
|
|
504
|
+
overflow: hidden;
|
|
505
|
+
gap: var(--cx-spacing-x-small);
|
|
506
|
+
line-height: var(--cx-line-height-medium);
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
.folder-tree__label__value {
|
|
510
|
+
flex-grow: 1;
|
|
511
|
+
flex-shrink: 1;
|
|
512
|
+
overflow: hidden;
|
|
513
|
+
--tooltip-max-width: min(80vw, 640px);
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* align load more button with the folder tree item
|
|
518
|
+
* 1em = .tree-item__indentation's width
|
|
519
|
+
* var(--cx-spacing-x-small) = .tree-item__item's padding-left
|
|
520
|
+
* 1rem = .tree-item__expand-button's width
|
|
521
|
+
* var(--cx-spacing-x-small) * 2 = .tree-item__expand-button's padding-left and padding-right
|
|
522
|
+
*/
|
|
523
|
+
.load-more-button {
|
|
524
|
+
margin-left: calc(
|
|
525
|
+
1em + var(--cx-spacing-x-small) + 1rem + var(--cx-spacing-x-small) * 2
|
|
526
|
+
);
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* reset line-height so as not to be affected by nested "em" units inside folder-tree
|
|
531
|
+
*/
|
|
532
|
+
.load-more-button cx-button {
|
|
533
|
+
line-height: var(--cx-line-height-small);
|
|
534
|
+
}
|
|
535
|
+
`;
|
|
536
|
+
var be = Object.defineProperty, $e = Object.getOwnPropertyDescriptor, w = (t, e, i, o) => {
|
|
537
|
+
for (var s = o > 1 ? void 0 : o ? $e(e, i) : e, a = t.length - 1, l; a >= 0; a--)
|
|
538
|
+
(l = t[a]) && (s = (o ? l(e, i, s) : l(s)) || s);
|
|
539
|
+
return o && s && be(e, i, s), s;
|
|
540
|
+
};
|
|
541
|
+
let y = class extends Y {
|
|
542
|
+
constructor() {
|
|
543
|
+
super(...arguments), this.localize = new Z(this), this.role = "tree", this.siteUrl = "", this.bearerToken = "", this.token = "", this.searchText = "", this.folders = [], this.rootIDs = [], this.totalCount = 0, this.loadMore = () => {
|
|
544
|
+
}, this.isLoading = !1, this.folderPathsSet = /* @__PURE__ */ new Set(), this.removedIDs = [], this.currentRootIDsSet = /* @__PURE__ */ new Set(), this.renderFolder = (t) => r`<cx-folder-item
|
|
545
|
+
.currentRootIDsSet=${this.currentRootIDsSet}
|
|
546
|
+
.folder=${t}
|
|
547
|
+
.folderPathsSet=${this.folderPathsSet}
|
|
548
|
+
.removedIDs=${this.removedIDs}
|
|
549
|
+
bearer-token=${this.bearerToken}
|
|
550
|
+
search-text=${this.searchText}
|
|
551
|
+
site-url=${this.siteUrl}
|
|
552
|
+
token=${this.token}
|
|
553
|
+
></cx-folder-item>`;
|
|
554
|
+
}
|
|
555
|
+
get currentRootIDs() {
|
|
556
|
+
return Array.from(this.currentRootIDsSet);
|
|
557
|
+
}
|
|
558
|
+
handleRootIDsChange() {
|
|
559
|
+
this.currentRootIDsSet = new Set(this.rootIDs);
|
|
560
|
+
}
|
|
561
|
+
resetTree() {
|
|
562
|
+
this.currentRootIDsSet = new Set(this.rootIDs), this.tree.querySelectorAll("cx-folder-item").forEach((t) => {
|
|
563
|
+
t.selected = this.currentRootIDsSet.has(
|
|
564
|
+
k({
|
|
565
|
+
id: t.id,
|
|
566
|
+
path: t.dataset.path ?? ""
|
|
567
|
+
})
|
|
568
|
+
), t.expanded = !1, t.indeterminate = !1;
|
|
569
|
+
});
|
|
570
|
+
}
|
|
571
|
+
async handleSelectedChange(t) {
|
|
572
|
+
const e = t.target, i = e.dataset.id ?? "", o = e.dataset.path ?? "";
|
|
573
|
+
if (await e.updateComplete, !i.trim() || !o.trim())
|
|
574
|
+
return;
|
|
575
|
+
const s = k({
|
|
576
|
+
id: i,
|
|
577
|
+
path: o
|
|
578
|
+
});
|
|
579
|
+
if (!(e.indeterminate && !e.selected)) {
|
|
580
|
+
if (e.selected) {
|
|
581
|
+
if (!this.currentRootIDsSet.has(s)) {
|
|
582
|
+
Q(e, "multiple"), this.currentRootIDsSet.add(s);
|
|
583
|
+
for (const a of e.getChildrenItems())
|
|
584
|
+
!a.id.trim() || !a.dataset.path?.trim() || this.currentRootIDsSet.add(
|
|
585
|
+
k({
|
|
586
|
+
id: a.id,
|
|
587
|
+
path: a.dataset.path ?? ""
|
|
588
|
+
})
|
|
589
|
+
);
|
|
590
|
+
}
|
|
591
|
+
this.removedIDs = this.removedIDs.filter(
|
|
592
|
+
(a) => a !== s && !$(a).path.startsWith(o + "/")
|
|
593
|
+
);
|
|
594
|
+
} else
|
|
595
|
+
this.removedIDs.push(s), this.currentRootIDsSet.has(s) && (this.currentRootIDsSet.delete(s), Q(e, "multiple"));
|
|
596
|
+
[...this.currentRootIDsSet].forEach((a) => {
|
|
597
|
+
const l = P(o), d = $(a).path, m = P(d);
|
|
598
|
+
m.startsWith(l) && m !== l && (e.selected || this.currentRootIDsSet.delete(a));
|
|
599
|
+
}), this.currentRootIDsSet = new Set(this.currentRootIDsSet);
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
render() {
|
|
603
|
+
return r`
|
|
604
|
+
<div class="folder-tree selectable">
|
|
605
|
+
<cx-tree
|
|
606
|
+
class=${A({
|
|
607
|
+
selectable: !0
|
|
608
|
+
})}
|
|
609
|
+
@cx-selected-change=${this.handleSelectedChange}
|
|
610
|
+
selection="multiple"
|
|
611
|
+
disabled-auto-expand
|
|
612
|
+
disabled-sync-checkboxes
|
|
613
|
+
>
|
|
614
|
+
${F(
|
|
615
|
+
this.folders,
|
|
616
|
+
(t) => t.id,
|
|
617
|
+
(t) => this.renderFolder(t)
|
|
618
|
+
)}
|
|
619
|
+
${g(
|
|
620
|
+
this.folders && this.folders.length < this.totalCount,
|
|
621
|
+
() => r`
|
|
622
|
+
<div class="load-more-button">
|
|
623
|
+
<cx-button
|
|
624
|
+
variant="text"
|
|
625
|
+
@click=${this.loadMore}
|
|
626
|
+
?loading=${this.isLoading}
|
|
627
|
+
>
|
|
628
|
+
${this.localize.term("more")}
|
|
629
|
+
</cx-button>
|
|
630
|
+
</div>
|
|
631
|
+
`
|
|
632
|
+
)}
|
|
633
|
+
</cx-tree>
|
|
634
|
+
</div>
|
|
635
|
+
`;
|
|
636
|
+
}
|
|
637
|
+
};
|
|
638
|
+
y.styles = [xt, ye];
|
|
639
|
+
y.dependencies = {
|
|
640
|
+
"cx-folder-item": v,
|
|
641
|
+
"cx-tree": ut
|
|
642
|
+
};
|
|
643
|
+
w([
|
|
644
|
+
R("cx-tree")
|
|
645
|
+
], y.prototype, "tree", 2);
|
|
646
|
+
w([
|
|
647
|
+
p({ attribute: "site-url", reflect: !0, type: String })
|
|
648
|
+
], y.prototype, "siteUrl", 2);
|
|
649
|
+
w([
|
|
650
|
+
p({ attribute: "bearer-token", reflect: !0, type: String })
|
|
651
|
+
], y.prototype, "bearerToken", 2);
|
|
652
|
+
w([
|
|
653
|
+
p({ attribute: "token", reflect: !0, type: String })
|
|
654
|
+
], y.prototype, "token", 2);
|
|
655
|
+
w([
|
|
656
|
+
p({ attribute: "search-text", reflect: !0, type: String })
|
|
657
|
+
], y.prototype, "searchText", 2);
|
|
658
|
+
w([
|
|
659
|
+
p({ type: Array })
|
|
660
|
+
], y.prototype, "folders", 2);
|
|
661
|
+
w([
|
|
662
|
+
p({ attribute: "root-ids", reflect: !0, type: Array })
|
|
663
|
+
], y.prototype, "rootIDs", 2);
|
|
664
|
+
w([
|
|
665
|
+
p({ attribute: "total-count", reflect: !0, type: Number })
|
|
666
|
+
], y.prototype, "totalCount", 2);
|
|
667
|
+
w([
|
|
668
|
+
p({ attribute: "load-more", type: Function })
|
|
669
|
+
], y.prototype, "loadMore", 2);
|
|
670
|
+
w([
|
|
671
|
+
p({ attribute: "is-loading", reflect: !0, type: Boolean })
|
|
672
|
+
], y.prototype, "isLoading", 2);
|
|
673
|
+
w([
|
|
674
|
+
p({ attribute: "folder-paths-set" })
|
|
675
|
+
], y.prototype, "folderPathsSet", 2);
|
|
676
|
+
w([
|
|
677
|
+
x()
|
|
678
|
+
], y.prototype, "removedIDs", 2);
|
|
679
|
+
w([
|
|
680
|
+
x()
|
|
681
|
+
], y.prototype, "currentRootIDsSet", 2);
|
|
682
|
+
w([
|
|
683
|
+
L("rootIDs")
|
|
684
|
+
], y.prototype, "handleRootIDsChange", 1);
|
|
685
|
+
y = w([
|
|
686
|
+
K("cx-folder-tree")
|
|
687
|
+
], y);
|
|
688
|
+
var T = /* @__PURE__ */ ((t) => (t.Canceled = "CANCELED", t.Failed = "FAILED", t.InProgress = "INPROGRESS", t.PendingComplete = "PENDINGCOMPLETE", t.Success = "SUCCESS", t))(T || {});
|
|
689
|
+
const at = (t, e = "https://", i = !1) => i && t.match(we) || t.match(/^[a-zA-Z][a-zA-Z\d+\-.]*:\/\//) ? t : `${e}${t}`, V = (t) => {
|
|
690
|
+
try {
|
|
691
|
+
return new URL(t), new RegExp(Se, "i").test(t);
|
|
692
|
+
} catch {
|
|
693
|
+
return !1;
|
|
694
|
+
}
|
|
695
|
+
}, we = "^(?![a-zA-Z][a-zA-Z\\d+\\-.]*:\\/\\/)(?!([a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,}($|\\/))[^\\s]+$", Se = "^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$", As = "^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.){2,}[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$";
|
|
696
|
+
function Ie(t, e, i) {
|
|
697
|
+
switch (i.length) {
|
|
698
|
+
case 0:
|
|
699
|
+
return t.call(e);
|
|
700
|
+
case 1:
|
|
701
|
+
return t.call(e, i[0]);
|
|
702
|
+
case 2:
|
|
703
|
+
return t.call(e, i[0], i[1]);
|
|
704
|
+
case 3:
|
|
705
|
+
return t.call(e, i[0], i[1], i[2]);
|
|
706
|
+
}
|
|
707
|
+
return t.apply(e, i);
|
|
708
|
+
}
|
|
709
|
+
var rt = Math.max;
|
|
710
|
+
function Ce(t, e, i) {
|
|
711
|
+
return e = rt(e === void 0 ? t.length - 1 : e, 0), function() {
|
|
712
|
+
for (var o = arguments, s = -1, a = rt(o.length - e, 0), l = Array(a); ++s < a; )
|
|
713
|
+
l[s] = o[e + s];
|
|
714
|
+
s = -1;
|
|
715
|
+
for (var d = Array(e + 1); ++s < e; )
|
|
716
|
+
d[s] = o[s];
|
|
717
|
+
return d[e] = i(l), Ie(t, this, d);
|
|
718
|
+
};
|
|
719
|
+
}
|
|
720
|
+
function Ae(t) {
|
|
721
|
+
return function() {
|
|
722
|
+
return t;
|
|
723
|
+
};
|
|
724
|
+
}
|
|
725
|
+
var nt = function() {
|
|
726
|
+
try {
|
|
727
|
+
var t = wt(Object, "defineProperty");
|
|
728
|
+
return t({}, "", {}), t;
|
|
729
|
+
} catch {
|
|
730
|
+
}
|
|
731
|
+
}(), De = nt ? function(t, e) {
|
|
732
|
+
return nt(t, "toString", {
|
|
733
|
+
configurable: !0,
|
|
734
|
+
enumerable: !1,
|
|
735
|
+
value: Ae(e),
|
|
736
|
+
writable: !0
|
|
737
|
+
});
|
|
738
|
+
} : _t, Te = 800, ze = 16, Ee = Date.now;
|
|
739
|
+
function Le(t) {
|
|
740
|
+
var e = 0, i = 0;
|
|
741
|
+
return function() {
|
|
742
|
+
var o = Ee(), s = ze - (o - i);
|
|
743
|
+
if (i = o, s > 0) {
|
|
744
|
+
if (++e >= Te)
|
|
745
|
+
return arguments[0];
|
|
746
|
+
} else
|
|
747
|
+
e = 0;
|
|
748
|
+
return t.apply(void 0, arguments);
|
|
749
|
+
};
|
|
750
|
+
}
|
|
751
|
+
var Re = Le(De);
|
|
752
|
+
function Pe(t, e) {
|
|
753
|
+
return Re(Ce(t, e, _t), t + "");
|
|
754
|
+
}
|
|
755
|
+
var Fe = 200;
|
|
756
|
+
function Ue(t, e, i, o) {
|
|
757
|
+
var s = -1, a = Et, l = !0, d = t.length, m = [], u = e.length;
|
|
758
|
+
if (!d)
|
|
759
|
+
return m;
|
|
760
|
+
i && (e = Jt(e, St(i))), e.length >= Fe && (a = Ct, l = !1, e = new It(e));
|
|
761
|
+
t:
|
|
762
|
+
for (; ++s < d; ) {
|
|
763
|
+
var h = t[s], _ = i == null ? h : i(h);
|
|
764
|
+
if (h = h !== 0 ? h : 0, l && _ === _) {
|
|
765
|
+
for (var f = u; f--; )
|
|
766
|
+
if (e[f] === _)
|
|
767
|
+
continue t;
|
|
768
|
+
m.push(h);
|
|
769
|
+
} else a(e, _, o) || m.push(h);
|
|
770
|
+
}
|
|
771
|
+
return m;
|
|
772
|
+
}
|
|
773
|
+
var ct = et ? et.isConcatSpreadable : void 0;
|
|
774
|
+
function ke(t) {
|
|
775
|
+
return ft(t) || At(t) || !!(ct && t && t[ct]);
|
|
776
|
+
}
|
|
777
|
+
function Oe(t, e, i, o, s) {
|
|
778
|
+
var a = -1, l = t.length;
|
|
779
|
+
for (i || (i = ke), s || (s = []); ++a < l; ) {
|
|
780
|
+
var d = t[a];
|
|
781
|
+
i(d) ? Dt(s, d) : o || (s[s.length] = d);
|
|
782
|
+
}
|
|
783
|
+
return s;
|
|
784
|
+
}
|
|
785
|
+
function Ne(t, e, i) {
|
|
786
|
+
var o = t.length;
|
|
787
|
+
if (o < 2)
|
|
788
|
+
return o ? tt(t[0]) : [];
|
|
789
|
+
for (var s = -1, a = Array(o); ++s < o; )
|
|
790
|
+
for (var l = t[s], d = -1; ++d < o; )
|
|
791
|
+
d != s && (a[s] = Ue(a[s] || l, t[d], e, i));
|
|
792
|
+
return tt(Oe(a), e, i);
|
|
793
|
+
}
|
|
794
|
+
function je(t) {
|
|
795
|
+
return Qt(t) && mt(t);
|
|
796
|
+
}
|
|
797
|
+
var G = Pe(function(t) {
|
|
798
|
+
return Ne(Tt(t, je));
|
|
799
|
+
});
|
|
800
|
+
const Me = gt`
|
|
801
|
+
:host {
|
|
802
|
+
--asset-height: 40px;
|
|
803
|
+
display: block;
|
|
804
|
+
color: var(--cx-color-neutral-900);
|
|
805
|
+
height: 100%;
|
|
806
|
+
--cx-button-text-transform: none;
|
|
807
|
+
--tooltip-max-width: min(80vw, 640px);
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
.container {
|
|
811
|
+
display: block;
|
|
812
|
+
height: 100%;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
.container--user-interaction-blocked {
|
|
816
|
+
pointer-events: none;
|
|
817
|
+
user-select: none;
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
.loading-overlay {
|
|
821
|
+
position: absolute;
|
|
822
|
+
top: 0;
|
|
823
|
+
left: 0;
|
|
824
|
+
width: 100%;
|
|
825
|
+
height: 100%;
|
|
826
|
+
background-color: var(--cx-color-neutral-50);
|
|
827
|
+
opacity: 0.8;
|
|
828
|
+
display: flex;
|
|
829
|
+
justify-content: center;
|
|
830
|
+
align-items: center;
|
|
831
|
+
z-index: var(--cx-z-index-tooltip); /* Ensure it is above other content */
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
.assets,
|
|
835
|
+
.welcome {
|
|
836
|
+
height: 100%;
|
|
837
|
+
display: flex;
|
|
838
|
+
flex-direction: column;
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
/* #region Icons */
|
|
842
|
+
.assets-list__tab-group .empty-icon {
|
|
843
|
+
color: var(--cx-color-neutral-600);
|
|
844
|
+
font-size: var(--cx-font-size-3x-large);
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
cx-tab {
|
|
848
|
+
line-height: var(--cx-line-height-large);
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
.assets-list__tab-group cx-tab {
|
|
852
|
+
width: calc(100% / 3);
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
.settings__tab-group cx-tab {
|
|
856
|
+
width: calc(100% / 2);
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
cx-tab::part(base) {
|
|
860
|
+
display: flex;
|
|
861
|
+
justify-content: center;
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
cx-tab::part(label) {
|
|
865
|
+
text-align: center;
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
cx-tab-panel {
|
|
869
|
+
--padding: 0 0 var(--cx-spacing-x-small) 0;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
cx-icon[slot='prefix'] {
|
|
873
|
+
font-size: var(--cx-font-size-large);
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
.error-message {
|
|
877
|
+
color: var(--cx-color-danger);
|
|
878
|
+
min-height: 1ch;
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
/** welcome */
|
|
882
|
+
.welcome {
|
|
883
|
+
justify-content: center;
|
|
884
|
+
align-items: center;
|
|
885
|
+
padding: var(--cx-spacing-x-large) var(--cx-spacing-medium)
|
|
886
|
+
var(--cx-spacing-medium) var(--cx-spacing-medium);
|
|
887
|
+
gap: var(--cx-spacing-x-large);
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
.welcome__message {
|
|
891
|
+
display: flex;
|
|
892
|
+
flex-direction: column;
|
|
893
|
+
justify-content: center;
|
|
894
|
+
align-items: center;
|
|
895
|
+
gap: var(--cx-spacing-x-small);
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
.welcome__actions {
|
|
899
|
+
width: 100%;
|
|
900
|
+
display: flex;
|
|
901
|
+
flex-direction: column;
|
|
902
|
+
justify-content: center;
|
|
903
|
+
gap: var(--cx-spacing-x-small);
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
.welcome__connect-button,
|
|
907
|
+
.welcome__cancel-connection-button,
|
|
908
|
+
.welcome__input {
|
|
909
|
+
width: 100%;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
.welcome__connect-button--disabled::part(base) {
|
|
913
|
+
cursor: help;
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
.welcome .error-message {
|
|
917
|
+
text-align: center;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
/** header */
|
|
921
|
+
.header {
|
|
922
|
+
display: flex;
|
|
923
|
+
justify-content: space-between;
|
|
924
|
+
background-color: var(--cx-color-neutral-50);
|
|
925
|
+
padding: var(--cx-spacing-x-small) var(--cx-spacing-small);
|
|
926
|
+
line-height: 1;
|
|
927
|
+
}
|
|
928
|
+
.header__user {
|
|
929
|
+
display: flex;
|
|
930
|
+
align-items: center;
|
|
931
|
+
gap: var(--cx-spacing-x-small);
|
|
932
|
+
overflow: hidden;
|
|
933
|
+
}
|
|
934
|
+
.header__username {
|
|
935
|
+
display: flex;
|
|
936
|
+
overflow: hidden;
|
|
937
|
+
}
|
|
938
|
+
.header__username__text {
|
|
939
|
+
flex-grow: 1;
|
|
940
|
+
flex-shrink: 1;
|
|
941
|
+
overflow: hidden;
|
|
942
|
+
}
|
|
943
|
+
.header__avatar {
|
|
944
|
+
--size: 24px;
|
|
945
|
+
}
|
|
946
|
+
.header__actions {
|
|
947
|
+
min-width: fit-content;
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
.settings__version__badge::part(base) {
|
|
951
|
+
width: var(--cx-spacing-x-small);
|
|
952
|
+
padding: 0;
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
/** assets list */
|
|
956
|
+
.assets-list {
|
|
957
|
+
flex: 1;
|
|
958
|
+
height: 0;
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
/** Make sure the overflown element is .recent__list
|
|
962
|
+
* to trigger scroll event for infinite scroll
|
|
963
|
+
*/
|
|
964
|
+
.assets-list__tab-group,
|
|
965
|
+
.assets-list__tab-group::part(base),
|
|
966
|
+
.assets-list__tab-group::part(body),
|
|
967
|
+
.assets-list__tab-group cx-tab-panel,
|
|
968
|
+
.assets-list__tab-group cx-tab-panel::part(base) {
|
|
969
|
+
height: 100%;
|
|
970
|
+
overflow: hidden;
|
|
971
|
+
}
|
|
972
|
+
.assets-list__tab-group .recent-empty,
|
|
973
|
+
.assets-list__tab-group .favorites-empty,
|
|
974
|
+
.assets-list__tab-group .uploads-empty {
|
|
975
|
+
display: flex;
|
|
976
|
+
flex-direction: column;
|
|
977
|
+
justify-content: center;
|
|
978
|
+
align-items: center;
|
|
979
|
+
gap: var(--cx-spacing-medium);
|
|
980
|
+
font-size: var(--cx-font-size-x-large);
|
|
981
|
+
padding: var(--cx-spacing-large) 0;
|
|
982
|
+
text-align: center;
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
.assets-list__tab-group .recent-empty,
|
|
986
|
+
.assets-list__tab-group .uploads-empty {
|
|
987
|
+
margin-top: 40px; /** to that they are aligned with favorite tab */
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
.assets-list__tab-group .recent__list,
|
|
991
|
+
.assets-list__tab-group .favorites__list,
|
|
992
|
+
.assets-list__tab-group .uploads__list {
|
|
993
|
+
height: 100%;
|
|
994
|
+
display: flex;
|
|
995
|
+
flex-direction: column;
|
|
996
|
+
overflow-y: auto;
|
|
997
|
+
padding: 0 0 var(--cx-spacing-x-small) 0;
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
.favorites-tab-panel__content {
|
|
1001
|
+
display: flex;
|
|
1002
|
+
flex-direction: column;
|
|
1003
|
+
height: 100%;
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
.favorites__sync-time {
|
|
1007
|
+
display: flex;
|
|
1008
|
+
justify-content: center;
|
|
1009
|
+
align-items: center;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
.assets-list__tab-group .favorites__list {
|
|
1013
|
+
flex: 1;
|
|
1014
|
+
height: 0;
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
.recent__other.empty,
|
|
1018
|
+
.uploads__other.empty,
|
|
1019
|
+
.recent__today.empty,
|
|
1020
|
+
.uploads__today.empty {
|
|
1021
|
+
display: none;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
/** status footer */
|
|
1025
|
+
.status-footer {
|
|
1026
|
+
padding: 0 var(--cx-spacing-small) var(--cx-spacing-small)
|
|
1027
|
+
var(--cx-spacing-small);
|
|
1028
|
+
display: flex;
|
|
1029
|
+
flex-direction: column;
|
|
1030
|
+
gap: var(--cx-spacing-2x-small);
|
|
1031
|
+
}
|
|
1032
|
+
.status-footer cx-typography {
|
|
1033
|
+
line-height: 1;
|
|
1034
|
+
}
|
|
1035
|
+
.status-footer cx-line-clamp {
|
|
1036
|
+
line-height: 1;
|
|
1037
|
+
}
|
|
1038
|
+
.status-footer .label {
|
|
1039
|
+
color: var(--cx-color-neutral-600);
|
|
1040
|
+
}
|
|
1041
|
+
.status-footer .connected-url,
|
|
1042
|
+
.status-footer .connection-status,
|
|
1043
|
+
.status-footer .asset-index-sync-status {
|
|
1044
|
+
display: flex;
|
|
1045
|
+
justify-content: space-between;
|
|
1046
|
+
align-items: center;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
.status-footer .label {
|
|
1050
|
+
color: var(--cx-color-neutral-600);
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
.status-footer__divider {
|
|
1054
|
+
--spacing: 0;
|
|
1055
|
+
margin-bottom: var(--cx-spacing-small);
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
.connected-url .label {
|
|
1059
|
+
white-space: nowrap;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
.connected-url .value-line-clamp {
|
|
1063
|
+
padding: 0 var(--cx-spacing-2x-small);
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
.connected-url .value::part(base) {
|
|
1067
|
+
font-weight: var(--cx-font-weight-medium);
|
|
1068
|
+
color: var(--cx-color-neutral-900);
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
.connection-status__value {
|
|
1072
|
+
display: flex;
|
|
1073
|
+
align-items: center;
|
|
1074
|
+
justify-content: center;
|
|
1075
|
+
gap: var(--cx-spacing-2x-small);
|
|
1076
|
+
cursor: help;
|
|
1077
|
+
}
|
|
1078
|
+
.connection-status__value cx-typography {
|
|
1079
|
+
display: inline-flex;
|
|
1080
|
+
}
|
|
1081
|
+
.connection-status__value cx-typography::part(base) {
|
|
1082
|
+
text-transform: capitalize;
|
|
1083
|
+
font-weight: var(--cx-font-weight-medium);
|
|
1084
|
+
}
|
|
1085
|
+
.connection-status--excellent .connection-status__value {
|
|
1086
|
+
color: var(--cx-color-success);
|
|
1087
|
+
}
|
|
1088
|
+
.connection-status--good .connection-status__value {
|
|
1089
|
+
color: var(--cx-color-warning);
|
|
1090
|
+
}
|
|
1091
|
+
.connection-status--bad .connection-status__value {
|
|
1092
|
+
color: var(--cx-color-danger);
|
|
1093
|
+
}
|
|
1094
|
+
.connection-status cx-icon {
|
|
1095
|
+
font-size: var(--cx-font-size-medium);
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
.asset-index-sync-status .value {
|
|
1099
|
+
display: flex;
|
|
1100
|
+
align-items: center;
|
|
1101
|
+
justify-content: center;
|
|
1102
|
+
gap: var(--cx-spacing-2x-small);
|
|
1103
|
+
}
|
|
1104
|
+
.asset-index-sync-status .value cx-typography {
|
|
1105
|
+
display: inline-flex;
|
|
1106
|
+
}
|
|
1107
|
+
.asset-index-sync-status .value cx-typography::part(base) {
|
|
1108
|
+
text-transform: capitalize;
|
|
1109
|
+
font-weight: var(--cx-font-weight-medium);
|
|
1110
|
+
}
|
|
1111
|
+
.asset-index-sync-status--loaded .value {
|
|
1112
|
+
color: var(--cx-color-success);
|
|
1113
|
+
}
|
|
1114
|
+
.asset-index-sync-status--loading .value {
|
|
1115
|
+
color: var(--cx-color-warning);
|
|
1116
|
+
}
|
|
1117
|
+
.asset-index-sync-status--error .value {
|
|
1118
|
+
color: var(--cx-color-danger);
|
|
1119
|
+
}
|
|
1120
|
+
.asset-index-sync-status cx-icon {
|
|
1121
|
+
font-size: var(--cx-font-size-medium);
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
/** asset */
|
|
1125
|
+
.asset {
|
|
1126
|
+
max-height: var(--asset-height);
|
|
1127
|
+
display: flex;
|
|
1128
|
+
gap: var(--cx-spacing-small);
|
|
1129
|
+
padding: var(--cx-spacing-2x-small) var(--cx-spacing-small);
|
|
1130
|
+
}
|
|
1131
|
+
.asset:hover {
|
|
1132
|
+
background-color: var(--cx-input-filled-background-color-hover);
|
|
1133
|
+
}
|
|
1134
|
+
.asset__actions {
|
|
1135
|
+
display: flex;
|
|
1136
|
+
min-width: 64px;
|
|
1137
|
+
justify-content: flex-end;
|
|
1138
|
+
align-items: center;
|
|
1139
|
+
}
|
|
1140
|
+
.asset:hover .asset__actions {
|
|
1141
|
+
visibility: visible;
|
|
1142
|
+
opacity: 1;
|
|
1143
|
+
}
|
|
1144
|
+
.asset__actions {
|
|
1145
|
+
visibility: hidden;
|
|
1146
|
+
opacity: 0;
|
|
1147
|
+
}
|
|
1148
|
+
.favorite__spinner {
|
|
1149
|
+
min-height: var(--cx-input-height-medium);
|
|
1150
|
+
min-width: var(--cx-input-height-medium);
|
|
1151
|
+
display: flex;
|
|
1152
|
+
justify-content: center;
|
|
1153
|
+
align-items: center;
|
|
1154
|
+
}
|
|
1155
|
+
.favorite__spinner::part(base) {
|
|
1156
|
+
flex-grow: 0;
|
|
1157
|
+
}
|
|
1158
|
+
.asset__thumbnail {
|
|
1159
|
+
width: 56px;
|
|
1160
|
+
height: var(--asset-height);
|
|
1161
|
+
display: flex;
|
|
1162
|
+
justify-content: center;
|
|
1163
|
+
align-items: center;
|
|
1164
|
+
position: relative;
|
|
1165
|
+
border-radius: var(--cx-border-radius-medium);
|
|
1166
|
+
}
|
|
1167
|
+
.asset__thumbnail--placeholder {
|
|
1168
|
+
background-color: var(--cx-color-primary-50);
|
|
1169
|
+
}
|
|
1170
|
+
.asset__thumbnail--folder {
|
|
1171
|
+
background-color: var(--cx-color-neutral-100);
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
.asset__thumbnail__image {
|
|
1175
|
+
height: 100%;
|
|
1176
|
+
width: 100%;
|
|
1177
|
+
object-fit: cover;
|
|
1178
|
+
flex-shrink: 0;
|
|
1179
|
+
border-radius: var(--cx-border-radius-medium);
|
|
1180
|
+
}
|
|
1181
|
+
.asset__thumbnail__icon {
|
|
1182
|
+
--font-size: 38px;
|
|
1183
|
+
display: none;
|
|
1184
|
+
color: var(--cx-color-primary-400);
|
|
1185
|
+
}
|
|
1186
|
+
.asset__folder__icon {
|
|
1187
|
+
--font-size: var(--cx-font-size-x-large);
|
|
1188
|
+
color: var(--cx-color-neutral-600);
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
.asset__thumbnail__extension {
|
|
1192
|
+
display: none;
|
|
1193
|
+
position: absolute;
|
|
1194
|
+
bottom: var(--cx-spacing-3x-small);
|
|
1195
|
+
left: 50%;
|
|
1196
|
+
transform: translateX(-50%);
|
|
1197
|
+
width: 26px;
|
|
1198
|
+
color: var(--cx-color-primary-50);
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
.asset__thumbnail__extension__line-clamp {
|
|
1202
|
+
width: 100%;
|
|
1203
|
+
text-align: center;
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
.asset__thumbnail__extension__text {
|
|
1207
|
+
flex-grow: 1;
|
|
1208
|
+
flex-shrink: 1;
|
|
1209
|
+
overflow: hidden;
|
|
1210
|
+
text-transform: uppercase;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
.asset__thumbnail--placeholder .asset__thumbnail__image {
|
|
1214
|
+
display: none;
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
.asset__thumbnail--placeholder .asset__thumbnail__icon,
|
|
1218
|
+
.asset__thumbnail--placeholder .asset__thumbnail__extension {
|
|
1219
|
+
display: flex;
|
|
1220
|
+
}
|
|
1221
|
+
.asset__description {
|
|
1222
|
+
flex: 1;
|
|
1223
|
+
width: 0;
|
|
1224
|
+
display: flex;
|
|
1225
|
+
flex-direction: column;
|
|
1226
|
+
justify-content: center;
|
|
1227
|
+
}
|
|
1228
|
+
.asset__description__label {
|
|
1229
|
+
display: flex;
|
|
1230
|
+
}
|
|
1231
|
+
.asset__description__label__text {
|
|
1232
|
+
flex-grow: 1;
|
|
1233
|
+
flex-shrink: 1;
|
|
1234
|
+
overflow: hidden;
|
|
1235
|
+
}
|
|
1236
|
+
.asset__description__status {
|
|
1237
|
+
color: var(--cx-color-neutral-500);
|
|
1238
|
+
line-height: var(--cx-line-height-medium);
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
.asset-group__label {
|
|
1242
|
+
padding: var(--cx-spacing-x-small) var(--cx-spacing-small);
|
|
1243
|
+
color: var(--cx-color-neutral-400);
|
|
1244
|
+
line-height: var(--cx-line-height-large);
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
/** uploads assets */
|
|
1248
|
+
cx-progress-bar {
|
|
1249
|
+
--height: 4px;
|
|
1250
|
+
--indicator-color: var(--color);
|
|
1251
|
+
--track-color: var(--cx-color-neutral-300);
|
|
1252
|
+
z-index: 0;
|
|
1253
|
+
}
|
|
1254
|
+
.uploading-progress,
|
|
1255
|
+
.syncing-progress,
|
|
1256
|
+
.completed-progress,
|
|
1257
|
+
.failed-progress,
|
|
1258
|
+
.canceled-progress {
|
|
1259
|
+
display: flex;
|
|
1260
|
+
align-items: center;
|
|
1261
|
+
width: 100%;
|
|
1262
|
+
gap: var(--cx-spacing-2x-small);
|
|
1263
|
+
margin-top: var(--cx-spacing-3x-small);
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
.syncing-progress,
|
|
1267
|
+
.completed-progress,
|
|
1268
|
+
.failed-progress,
|
|
1269
|
+
.canceled-progress {
|
|
1270
|
+
margin-top: var(--cx-spacing-2x-small);
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
.uploading-progress *,
|
|
1274
|
+
.syncing-progress *,
|
|
1275
|
+
.completed-progress *,
|
|
1276
|
+
.failed-progress *,
|
|
1277
|
+
.canceled-progress * {
|
|
1278
|
+
white-space: nowrap;
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
.uploading-progress cx-icon,
|
|
1282
|
+
.syncing-progress cx-icon,
|
|
1283
|
+
.completed-progress cx-icon,
|
|
1284
|
+
.failed-progress cx-icon,
|
|
1285
|
+
.canceled-progress cx-icon {
|
|
1286
|
+
--font-size: var(--cx-font-size-medium);
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
.uploading-progress cx-typography::part(base),
|
|
1290
|
+
.syncing-progress cx-typography::part(base),
|
|
1291
|
+
.completed-progress cx-typography::part(base),
|
|
1292
|
+
.failed-progress cx-typography::part(base),
|
|
1293
|
+
.canceled-progress cx-typography::part(base) {
|
|
1294
|
+
line-height: var(--cx-font-size-medium);
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
.uploading-progress cx-icon {
|
|
1298
|
+
color: var(--cx-color-primary-500);
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1301
|
+
.syncing-progress cx-icon {
|
|
1302
|
+
color: var(--cx-color-warning);
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
.completed-progress cx-icon {
|
|
1306
|
+
color: var(--cx-color-success);
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
.failed-progress cx-icon,
|
|
1310
|
+
.failed-progress__text {
|
|
1311
|
+
color: var(--cx-color-danger);
|
|
1312
|
+
cursor: help;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
.canceled-progress cx-icon {
|
|
1316
|
+
color: var(--cx-color-neutral-600);
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
/** #region Settings */
|
|
1320
|
+
.settings {
|
|
1321
|
+
height: 100%;
|
|
1322
|
+
}
|
|
1323
|
+
.settings .error-message {
|
|
1324
|
+
text-align: center;
|
|
1325
|
+
}
|
|
1326
|
+
.settings__form {
|
|
1327
|
+
height: 100%;
|
|
1328
|
+
display: flex;
|
|
1329
|
+
flex-direction: column;
|
|
1330
|
+
}
|
|
1331
|
+
.settings__tab-group {
|
|
1332
|
+
flex: 1;
|
|
1333
|
+
height: 0;
|
|
1334
|
+
}
|
|
1335
|
+
.settings__tab-group::part(base),
|
|
1336
|
+
.settings__tab-group::part(body) {
|
|
1337
|
+
height: 100%;
|
|
1338
|
+
overflow: hidden;
|
|
1339
|
+
}
|
|
1340
|
+
.settings__tab-group cx-tab-panel {
|
|
1341
|
+
padding: var(--cx-spacing-medium) var(--cx-spacing-large)
|
|
1342
|
+
var(--cx-spacing-large) var(--cx-spacing-large);
|
|
1343
|
+
height: 100%;
|
|
1344
|
+
overflow-y: auto;
|
|
1345
|
+
}
|
|
1346
|
+
.settings-group {
|
|
1347
|
+
display: flex;
|
|
1348
|
+
flex-direction: column;
|
|
1349
|
+
gap: var(--cx-spacing-x-small);
|
|
1350
|
+
}
|
|
1351
|
+
.settings__general,
|
|
1352
|
+
.settings__advanced {
|
|
1353
|
+
display: flex;
|
|
1354
|
+
flex-direction: column;
|
|
1355
|
+
gap: calc(var(--cx-spacing-small) * 2);
|
|
1356
|
+
}
|
|
1357
|
+
.settings__footer {
|
|
1358
|
+
border-top: 1px solid var(--cx-color-neutral-200);
|
|
1359
|
+
padding: var(--cx-spacing-x-small) var(--cx-spacing-small);
|
|
1360
|
+
display: flex;
|
|
1361
|
+
justify-content: flex-end;
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
.settings__footer__actions {
|
|
1365
|
+
display: flex;
|
|
1366
|
+
gap: var(--cx-spacing-x-small);
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1369
|
+
.settings__connection-url {
|
|
1370
|
+
display: flex;
|
|
1371
|
+
justify-content: space-between;
|
|
1372
|
+
}
|
|
1373
|
+
.settings__connection-url__value {
|
|
1374
|
+
padding: 0 var(--cx-spacing-small);
|
|
1375
|
+
flex-grow: 1;
|
|
1376
|
+
flex-shrink: 1;
|
|
1377
|
+
overflow: hidden;
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
.settings__software__version {
|
|
1381
|
+
display: flex;
|
|
1382
|
+
flex-direction: column;
|
|
1383
|
+
gap: var(--cx-spacing-small);
|
|
1384
|
+
}
|
|
1385
|
+
.settings__software__version__value {
|
|
1386
|
+
display: flex;
|
|
1387
|
+
align-items: center;
|
|
1388
|
+
justify-content: space-between;
|
|
1389
|
+
gap: var(--cx-spacing-2x-small);
|
|
1390
|
+
}
|
|
1391
|
+
.settings__software__version__value__text {
|
|
1392
|
+
flex-grow: 1;
|
|
1393
|
+
flex-shrink: 1;
|
|
1394
|
+
overflow: hidden;
|
|
1395
|
+
}
|
|
1396
|
+
.settings__software__version__install-button {
|
|
1397
|
+
flex-shrink: 0;
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
.settings__about {
|
|
1401
|
+
text-align: center;
|
|
1402
|
+
color: var(--cx-color-neutral-500);
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
.settings__disconnect-button {
|
|
1406
|
+
width: 100%;
|
|
1407
|
+
}
|
|
1408
|
+
.settings__disconnect-button::part(base),
|
|
1409
|
+
.settings__disconnect-button cx-icon {
|
|
1410
|
+
color: var(--cx-color-danger);
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
.settings__cache__size {
|
|
1414
|
+
display: flex;
|
|
1415
|
+
gap: var(--cx-spacing-small);
|
|
1416
|
+
align-items: center;
|
|
1417
|
+
}
|
|
1418
|
+
.settings__cache__size cx-input {
|
|
1419
|
+
width: 150px;
|
|
1420
|
+
}
|
|
1421
|
+
.settings__cache__location {
|
|
1422
|
+
display: flex;
|
|
1423
|
+
flex-direction: column;
|
|
1424
|
+
gap: var(--cx-spacing-small);
|
|
1425
|
+
}
|
|
1426
|
+
.settings__cache__location__label {
|
|
1427
|
+
--color: var(--cx-color-neutral-600);
|
|
1428
|
+
}
|
|
1429
|
+
.settings__cache__location__value {
|
|
1430
|
+
display: flex;
|
|
1431
|
+
align-items: center;
|
|
1432
|
+
justify-content: space-between;
|
|
1433
|
+
}
|
|
1434
|
+
.settings__cache__location__value__text {
|
|
1435
|
+
padding: 0 var(--cx-spacing-small);
|
|
1436
|
+
flex-grow: 1;
|
|
1437
|
+
flex-shrink: 1;
|
|
1438
|
+
overflow: hidden;
|
|
1439
|
+
}
|
|
1440
|
+
.settings__cache__location__actions {
|
|
1441
|
+
flex-wrap: nowrap;
|
|
1442
|
+
}
|
|
1443
|
+
.settings__cache__location__change-button {
|
|
1444
|
+
flex-shrink: 0;
|
|
1445
|
+
}
|
|
1446
|
+
/** #endregion */
|
|
1447
|
+
|
|
1448
|
+
cx-tree-item:not(.selectable) {
|
|
1449
|
+
--selected-color: var(--cx-color-neutral-700);
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
cx-tree-item:not(:hover):not(.selectable)::part(item) {
|
|
1453
|
+
background-color: unset;
|
|
1454
|
+
color: var(--cx-color-neutral-700);
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
.folder-tree {
|
|
1458
|
+
overflow: auto;
|
|
1459
|
+
flex: 1;
|
|
1460
|
+
}
|
|
1461
|
+
|
|
1462
|
+
.folder-tree:not(.selectable) {
|
|
1463
|
+
max-height: 200px;
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
.folder-tree__item::part(label) {
|
|
1467
|
+
width: 100%;
|
|
1468
|
+
overflow: hidden;
|
|
1469
|
+
}
|
|
1470
|
+
|
|
1471
|
+
.folder-tree__icon {
|
|
1472
|
+
font-size: var(--cx-font-size-large);
|
|
1473
|
+
color: var(--cx-color-neutral-600);
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
.folder-tree__label {
|
|
1477
|
+
display: flex;
|
|
1478
|
+
width: 100%;
|
|
1479
|
+
overflow: hidden;
|
|
1480
|
+
gap: var(--cx-spacing-x-small);
|
|
1481
|
+
line-height: var(--cx-line-height-medium);
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
.folder-tree__label__value {
|
|
1485
|
+
flex-grow: 1;
|
|
1486
|
+
flex-shrink: 1;
|
|
1487
|
+
overflow: hidden;
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
.select-folders-popup::part(body) {
|
|
1491
|
+
display: flex;
|
|
1492
|
+
flex-direction: column;
|
|
1493
|
+
gap: var(--cx-spacing-medium);
|
|
1494
|
+
overflow: hidden;
|
|
1495
|
+
}
|
|
1496
|
+
.select-folders-popup .selectable-folder-tree {
|
|
1497
|
+
flex: 1;
|
|
1498
|
+
overflow: auto;
|
|
1499
|
+
}
|
|
1500
|
+
.select-folders-popup__actions {
|
|
1501
|
+
display: flex;
|
|
1502
|
+
justify-content: flex-end;
|
|
1503
|
+
}
|
|
1504
|
+
`;
|
|
1505
|
+
var Be = Object.defineProperty, Ve = Object.getOwnPropertyDescriptor, c = (t, e, i, o) => {
|
|
1506
|
+
for (var s = o > 1 ? void 0 : o ? Ve(e, i) : e, a = t.length - 1, l; a >= 0; a--)
|
|
1507
|
+
(l = t[a]) && (s = (o ? l(e, i, s) : l(s)) || s);
|
|
1508
|
+
return o && s && Be(e, i, s), s;
|
|
1509
|
+
};
|
|
1510
|
+
let n = class extends Y {
|
|
1511
|
+
constructor() {
|
|
1512
|
+
super(...arguments), this.localize = new Z(this), this.connectionEstablished = !1, this.connectionStatus = "excellent", this.connectionStatusTooltip = "", this.assetIndexSyncStatus = "loading", this.userAvatarUrl = "", this.username = "", this.recentAssets = { assets: [], hasMore: !1 }, this.favoriteAssets = { assets: [], hasMore: !1 }, this.favoritesLastSync = Date.now(), this.favoriteInProgressAssets = [], this.uploadingAssets = { assets: [], hasMore: !1 }, this.availableFolderIdentifiers = [], this.isLoading = !1, this.settings = {
|
|
1513
|
+
cacheLocation: "Default",
|
|
1514
|
+
cacheSize: 0,
|
|
1515
|
+
config: {
|
|
1516
|
+
latestVersion: "",
|
|
1517
|
+
monitoringActivated: !1,
|
|
1518
|
+
mountPoint: "",
|
|
1519
|
+
mountProxy: !1,
|
|
1520
|
+
proxyTypes: [],
|
|
1521
|
+
rootIDs: [],
|
|
1522
|
+
siteUrl: "",
|
|
1523
|
+
version: ""
|
|
1524
|
+
// unlimitedDownloadRate: false,
|
|
1525
|
+
// unlimitedUploadRate: false,
|
|
1526
|
+
// maxDownloadRate: 0,
|
|
1527
|
+
// maxUploadRate: 0,
|
|
1528
|
+
}
|
|
1529
|
+
}, this.pickCacheLocation = async () => "Default", this.hasNewVersion = !1, this.aboutContent = "", this.token = "", this.userInteractionBlocked = !1, this.isConnecting = !1, this.isCancellingConnection = !1, this.isDisconnecting = !1, this.isUpgrading = !1, this.isSettingsOpened = !1, this.rootIDs = this.settings.config.rootIDs, this._activeFoldersMode = this.rootIDs.length > 0, this.removedIds = [], this.cacheSize = H({
|
|
1530
|
+
decimals: 2,
|
|
1531
|
+
inputUnit: "B",
|
|
1532
|
+
targetUnit: B,
|
|
1533
|
+
value: this.settings.cacheSize ?? 0
|
|
1534
|
+
}), this.cacheLocation = this.settings.cacheLocation, this.proxyTypes = this.settings.config.proxyTypes ?? [], this.siteUrl = this.settings.config.siteUrl, this.isRecentAssetsLoading = !1, this.isFavoriteAssetsLoading = !1, this.isUploadingAssetsLoading = !1, this.connectError = "", this.disconnectError = "", this.upgradeError = "", this.totalCount = 0, this.folderPathsSet = /* @__PURE__ */ new Set(), this.validConnectionUrl = !1, this.isAddingRootIDs = !1, this.fetchFolders = async ({
|
|
1535
|
+
excludes: t = [],
|
|
1536
|
+
folderId: e,
|
|
1537
|
+
folderPathsSet: i,
|
|
1538
|
+
limit: o = void 0,
|
|
1539
|
+
start: s = 0
|
|
1540
|
+
}) => {
|
|
1541
|
+
try {
|
|
1542
|
+
return await vt({
|
|
1543
|
+
excludes: t,
|
|
1544
|
+
folderId: e,
|
|
1545
|
+
folderPathsSet: i,
|
|
1546
|
+
limit: o,
|
|
1547
|
+
searchText: this.searchText,
|
|
1548
|
+
siteUrl: this.settings.config.siteUrl,
|
|
1549
|
+
start: s,
|
|
1550
|
+
token: this.token
|
|
1551
|
+
});
|
|
1552
|
+
} catch (a) {
|
|
1553
|
+
a instanceof Error && a.message === "Failed to fetch" && this.emit("cx-renew-token");
|
|
1554
|
+
}
|
|
1555
|
+
return {
|
|
1556
|
+
data: this.availableFolderIdentifiers,
|
|
1557
|
+
totalCount: this.availableFolderIdentifiers.length
|
|
1558
|
+
};
|
|
1559
|
+
}, this.searchText = "", this.loadMore = async () => {
|
|
1560
|
+
const t = this.availableFolderIdentifiers?.length ?? 0;
|
|
1561
|
+
if (t >= this.totalCount)
|
|
1562
|
+
return;
|
|
1563
|
+
this.isLoading = !0;
|
|
1564
|
+
const { data: e, totalCount: i } = await this.fetchFolders({
|
|
1565
|
+
folderId: "",
|
|
1566
|
+
folderPathsSet: this.folderPathsSet,
|
|
1567
|
+
start: t
|
|
1568
|
+
});
|
|
1569
|
+
this.availableFolderIdentifiers = [
|
|
1570
|
+
...this.availableFolderIdentifiers ?? [],
|
|
1571
|
+
...e
|
|
1572
|
+
], this.totalCount = i, this.isLoading = !1;
|
|
1573
|
+
};
|
|
1574
|
+
}
|
|
1575
|
+
connectedCallback() {
|
|
1576
|
+
super.connectedCallback();
|
|
1577
|
+
}
|
|
1578
|
+
runFirstUpdated() {
|
|
1579
|
+
this.settings.config.siteUrl && this.connect();
|
|
1580
|
+
}
|
|
1581
|
+
fetchData() {
|
|
1582
|
+
if (!this.connectionEstablished) {
|
|
1583
|
+
this.validConnectionUrl = V(this.settings.config.siteUrl);
|
|
1584
|
+
return;
|
|
1585
|
+
}
|
|
1586
|
+
this.folderPathsSet = /* @__PURE__ */ new Set(), this.fetchFolders({
|
|
1587
|
+
folderId: "",
|
|
1588
|
+
folderPathsSet: this.folderPathsSet
|
|
1589
|
+
}).then((t) => {
|
|
1590
|
+
this.availableFolderIdentifiers = t.data, this.totalCount = t.totalCount;
|
|
1591
|
+
});
|
|
1592
|
+
}
|
|
1593
|
+
// set recent tab as active when connection is established
|
|
1594
|
+
async showRecentTab() {
|
|
1595
|
+
this.connectionEstablished && (await this.updateComplete, await this.assetsListTabGroup?.updateComplete, this.assetsListTabGroup?.show(b.RECENT));
|
|
1596
|
+
}
|
|
1597
|
+
updateSettingsStates() {
|
|
1598
|
+
this._activeFoldersMode = this.settings.config.rootIDs?.length > 0, this.rootIDs = this.settings.config.rootIDs ?? [], this.cacheSize = H({
|
|
1599
|
+
decimals: 2,
|
|
1600
|
+
inputUnit: "B",
|
|
1601
|
+
targetUnit: B,
|
|
1602
|
+
value: this.settings.cacheSize ?? 0
|
|
1603
|
+
}), this.cacheLocation = this.settings.cacheLocation ?? "Default", this.proxyTypes = this.settings.config.proxyTypes ?? [], this.siteUrl = this.settings.config.siteUrl ?? "", this.validConnectionUrl = V(this.settings.config.siteUrl);
|
|
1604
|
+
}
|
|
1605
|
+
get formHasChanges() {
|
|
1606
|
+
return this.settings.cacheSize !== this.cacheSize || this.settings.cacheLocation !== this.cacheLocation || !!G(this.settings.config.proxyTypes, this.proxyTypes).length || !!G(this.settings.config.rootIDs, this.rootIDs).length;
|
|
1607
|
+
}
|
|
1608
|
+
connect(t = null) {
|
|
1609
|
+
if (t?.preventDefault(), this.connectError = "", !this.siteUrl?.trim())
|
|
1610
|
+
return;
|
|
1611
|
+
const e = at(this.siteUrl);
|
|
1612
|
+
if (!V(e)) {
|
|
1613
|
+
this.connectError = this.localize.term("pleaseEnterAValidUrl");
|
|
1614
|
+
return;
|
|
1615
|
+
}
|
|
1616
|
+
this.settings.config.siteUrl = e, this.emit("cx-connect", {
|
|
1617
|
+
detail: {
|
|
1618
|
+
connectionUrl: this.settings.config.siteUrl
|
|
1619
|
+
}
|
|
1620
|
+
});
|
|
1621
|
+
}
|
|
1622
|
+
cancelConnection() {
|
|
1623
|
+
this.emit("cx-cancel-connection", {
|
|
1624
|
+
detail: {
|
|
1625
|
+
connectionUrl: this.settings.config.siteUrl
|
|
1626
|
+
}
|
|
1627
|
+
});
|
|
1628
|
+
}
|
|
1629
|
+
disconnect() {
|
|
1630
|
+
this.emit("cx-disconnect", {
|
|
1631
|
+
detail: {
|
|
1632
|
+
connectionUrl: this.settings.config.siteUrl
|
|
1633
|
+
}
|
|
1634
|
+
});
|
|
1635
|
+
}
|
|
1636
|
+
upgrade() {
|
|
1637
|
+
this.emit("cx-upgrade");
|
|
1638
|
+
}
|
|
1639
|
+
clearCache() {
|
|
1640
|
+
this.emit("cx-clear-cache");
|
|
1641
|
+
}
|
|
1642
|
+
importSettings() {
|
|
1643
|
+
this.emit("cx-import-settings");
|
|
1644
|
+
}
|
|
1645
|
+
exportSettings() {
|
|
1646
|
+
this.emit("cx-export-settings");
|
|
1647
|
+
}
|
|
1648
|
+
viewLogs(t = "") {
|
|
1649
|
+
this.emit("cx-view-logs", {
|
|
1650
|
+
detail: {
|
|
1651
|
+
assetId: t
|
|
1652
|
+
}
|
|
1653
|
+
});
|
|
1654
|
+
}
|
|
1655
|
+
retryUpload(t) {
|
|
1656
|
+
this.emit("cx-retry-upload", {
|
|
1657
|
+
detail: {
|
|
1658
|
+
assetId: t
|
|
1659
|
+
}
|
|
1660
|
+
});
|
|
1661
|
+
}
|
|
1662
|
+
pauseUpload(t) {
|
|
1663
|
+
this.emit("cx-pause-upload", {
|
|
1664
|
+
detail: {
|
|
1665
|
+
assetId: t
|
|
1666
|
+
}
|
|
1667
|
+
});
|
|
1668
|
+
}
|
|
1669
|
+
resumeUpload(t) {
|
|
1670
|
+
this.emit("cx-resume-upload", {
|
|
1671
|
+
detail: {
|
|
1672
|
+
assetId: t
|
|
1673
|
+
}
|
|
1674
|
+
});
|
|
1675
|
+
}
|
|
1676
|
+
cancelUpload(t) {
|
|
1677
|
+
this.emit("cx-cancel-upload", {
|
|
1678
|
+
detail: {
|
|
1679
|
+
assetId: t
|
|
1680
|
+
}
|
|
1681
|
+
});
|
|
1682
|
+
}
|
|
1683
|
+
saveSettings() {
|
|
1684
|
+
this.emit("cx-save-settings", {
|
|
1685
|
+
detail: {
|
|
1686
|
+
settings: {
|
|
1687
|
+
cacheLocation: this.cacheLocation,
|
|
1688
|
+
cacheSize: H({
|
|
1689
|
+
decimals: 2,
|
|
1690
|
+
inputUnit: B,
|
|
1691
|
+
targetUnit: "B",
|
|
1692
|
+
value: this.cacheSize
|
|
1693
|
+
}),
|
|
1694
|
+
config: {
|
|
1695
|
+
latestVersion: this.settings.config.latestVersion,
|
|
1696
|
+
monitoringActivated: this.settings.config.monitoringActivated,
|
|
1697
|
+
mountPoint: this.settings.config.mountPoint,
|
|
1698
|
+
mountProxy: this.settings.config.mountProxy,
|
|
1699
|
+
proxyTypes: this.proxyTypes,
|
|
1700
|
+
rootIDs: this.rootIDs.filter(
|
|
1701
|
+
(t) => !this.removedIds.includes(t)
|
|
1702
|
+
),
|
|
1703
|
+
siteUrl: this.settings.config.siteUrl,
|
|
1704
|
+
version: this.settings.config.version
|
|
1705
|
+
// maxDownloadRate: this._maxDownloadRate,
|
|
1706
|
+
// maxUploadRate: this._maxUploadRate,
|
|
1707
|
+
// unlimitedDownloadRate: this._unlimitedDownloadRate,
|
|
1708
|
+
// unlimitedUploadRate: this._unlimitedUploadRate,
|
|
1709
|
+
}
|
|
1710
|
+
}
|
|
1711
|
+
}
|
|
1712
|
+
});
|
|
1713
|
+
}
|
|
1714
|
+
markFavorite(t) {
|
|
1715
|
+
this.emit("cx-mark-favorite", {
|
|
1716
|
+
detail: {
|
|
1717
|
+
assetId: t
|
|
1718
|
+
}
|
|
1719
|
+
});
|
|
1720
|
+
}
|
|
1721
|
+
unmarkFavorite(t) {
|
|
1722
|
+
this.emit("cx-unmark-favorite", {
|
|
1723
|
+
detail: {
|
|
1724
|
+
assetId: t
|
|
1725
|
+
}
|
|
1726
|
+
});
|
|
1727
|
+
}
|
|
1728
|
+
openSearch() {
|
|
1729
|
+
this.emit("cx-open-search");
|
|
1730
|
+
}
|
|
1731
|
+
openDrive(t) {
|
|
1732
|
+
this.emit("cx-open-drive", {
|
|
1733
|
+
detail: {
|
|
1734
|
+
asset: t
|
|
1735
|
+
}
|
|
1736
|
+
});
|
|
1737
|
+
}
|
|
1738
|
+
openCacheLocation() {
|
|
1739
|
+
this.emit("cx-open-cache-location");
|
|
1740
|
+
}
|
|
1741
|
+
hideSettings() {
|
|
1742
|
+
this.isSettingsOpened = !1, this.isDisconnecting = !1, this.disconnectError = "", this.isUpgrading = !1, this.upgradeError = "", this.updateSettingsStates();
|
|
1743
|
+
}
|
|
1744
|
+
showSettings() {
|
|
1745
|
+
this.isSettingsOpened = !0;
|
|
1746
|
+
}
|
|
1747
|
+
requestMoreRecentAssets() {
|
|
1748
|
+
if (!this.recentAssetsList)
|
|
1749
|
+
return;
|
|
1750
|
+
const { clientHeight: t, scrollHeight: e, scrollTop: i } = this.recentAssetsList;
|
|
1751
|
+
!this.isRecentAssetsLoading && this.recentAssets.hasMore && i + t >= e - W && (this.isRecentAssetsLoading = !0, this.emit("cx-load-more", {
|
|
1752
|
+
detail: {
|
|
1753
|
+
type: "recent"
|
|
1754
|
+
}
|
|
1755
|
+
}));
|
|
1756
|
+
}
|
|
1757
|
+
onRecentAssetsChanged() {
|
|
1758
|
+
this.isRecentAssetsLoading = !1;
|
|
1759
|
+
}
|
|
1760
|
+
requestMoreFavoriteAssets() {
|
|
1761
|
+
if (!this.favoritesAssetsList)
|
|
1762
|
+
return;
|
|
1763
|
+
const { clientHeight: t, scrollHeight: e, scrollTop: i } = this.favoritesAssetsList;
|
|
1764
|
+
!this.isFavoriteAssetsLoading && this.favoriteAssets.hasMore && i + t >= e - W && (this.isFavoriteAssetsLoading = !0, this.emit("cx-load-more", {
|
|
1765
|
+
detail: {
|
|
1766
|
+
type: "favorites"
|
|
1767
|
+
}
|
|
1768
|
+
}));
|
|
1769
|
+
}
|
|
1770
|
+
onFavoriteAssetsChanged() {
|
|
1771
|
+
this.isFavoriteAssetsLoading = !1;
|
|
1772
|
+
}
|
|
1773
|
+
requestMoreUploadingAssets() {
|
|
1774
|
+
if (!this.uploadsAssetsList)
|
|
1775
|
+
return;
|
|
1776
|
+
const { clientHeight: t, scrollHeight: e, scrollTop: i } = this.uploadsAssetsList;
|
|
1777
|
+
!this.isUploadingAssetsLoading && this.uploadingAssets.hasMore && i + t >= e - W && (this.isUploadingAssetsLoading = !0, this.emit("cx-load-more", {
|
|
1778
|
+
detail: {
|
|
1779
|
+
type: "uploads"
|
|
1780
|
+
}
|
|
1781
|
+
}));
|
|
1782
|
+
}
|
|
1783
|
+
onUploadingAssetsChanged() {
|
|
1784
|
+
this.isUploadingAssetsLoading = !1;
|
|
1785
|
+
}
|
|
1786
|
+
async updateActiveFolderIdentifiers(t) {
|
|
1787
|
+
const e = this.rootIDs;
|
|
1788
|
+
this.rootIDs = t, await this.updateComplete;
|
|
1789
|
+
const i = this.container.querySelectorAll("cx-tree-item"), o = G(this.rootIDs, e);
|
|
1790
|
+
i.forEach((s) => {
|
|
1791
|
+
o.includes(s.dataset.id ?? "") && ht(s);
|
|
1792
|
+
});
|
|
1793
|
+
}
|
|
1794
|
+
// #region Render
|
|
1795
|
+
renderHeader() {
|
|
1796
|
+
const t = () => {
|
|
1797
|
+
this.openDrive();
|
|
1798
|
+
};
|
|
1799
|
+
return r`
|
|
1800
|
+
<div class="header">
|
|
1801
|
+
<div class="header__user">
|
|
1802
|
+
<cx-avatar
|
|
1803
|
+
class="header__avatar"
|
|
1804
|
+
image=${this.userAvatarUrl}
|
|
1805
|
+
label=${this.username}
|
|
1806
|
+
></cx-avatar>
|
|
1807
|
+
<div class="header__username">
|
|
1808
|
+
<cx-line-clamp lines="1" class="header__username__text">
|
|
1809
|
+
<cx-typography variant="body3">${this.username}</cx-typography>
|
|
1810
|
+
</cx-line-clamp>
|
|
1811
|
+
</div>
|
|
1812
|
+
</div>
|
|
1813
|
+
<div class="header__actions">
|
|
1814
|
+
<cx-tooltip content=${this.localize.term("search")} hoist>
|
|
1815
|
+
<cx-icon-button
|
|
1816
|
+
data-testid="header__search-button"
|
|
1817
|
+
name="search"
|
|
1818
|
+
@click=${this.openSearch}
|
|
1819
|
+
></cx-icon-button>
|
|
1820
|
+
</cx-tooltip>
|
|
1821
|
+
<cx-tooltip content=${this.localize.term("openDrive")} hoist>
|
|
1822
|
+
<cx-icon-button
|
|
1823
|
+
data-testid="header__drive-button"
|
|
1824
|
+
name="folder_open"
|
|
1825
|
+
@click=${t}
|
|
1826
|
+
></cx-icon-button>
|
|
1827
|
+
</cx-tooltip>
|
|
1828
|
+
<cx-tooltip content=${this.localize.term("settings")} hoist>
|
|
1829
|
+
<cx-icon-button
|
|
1830
|
+
data-testid="header__settings-button"
|
|
1831
|
+
class="header__settings"
|
|
1832
|
+
name="settings"
|
|
1833
|
+
@click=${this.showSettings}
|
|
1834
|
+
>
|
|
1835
|
+
${g(
|
|
1836
|
+
this.hasNewVersion,
|
|
1837
|
+
() => r`<cx-badge
|
|
1838
|
+
class="settings__version__badge"
|
|
1839
|
+
slot="badge"
|
|
1840
|
+
variant="danger"
|
|
1841
|
+
pill
|
|
1842
|
+
size="x-small"
|
|
1843
|
+
></cx-badge>`
|
|
1844
|
+
)}
|
|
1845
|
+
</cx-icon-button>
|
|
1846
|
+
</cx-tooltip>
|
|
1847
|
+
</div>
|
|
1848
|
+
</div>
|
|
1849
|
+
`;
|
|
1850
|
+
}
|
|
1851
|
+
// #region Assets
|
|
1852
|
+
renderAsset(t, e) {
|
|
1853
|
+
const i = r`
|
|
1854
|
+
${this.renderProgress({
|
|
1855
|
+
isPaused: t.isPaused,
|
|
1856
|
+
progress: (t.size ?? 0) - (t.remainingSize ?? 0),
|
|
1857
|
+
remainingTime: t.remainingTime,
|
|
1858
|
+
size: t.size ?? 0,
|
|
1859
|
+
timestamp: t.uploadTimestamp,
|
|
1860
|
+
uploadErrorMessage: t.uploadErrorMessage,
|
|
1861
|
+
uploadStatus: t.uploadStatus
|
|
1862
|
+
})}
|
|
1863
|
+
`, o = (I) => {
|
|
1864
|
+
I.target && I.target.parentElement.classList.add("placeholder");
|
|
1865
|
+
}, s = (I) => {
|
|
1866
|
+
I.target && I.target.parentElement.classList.remove("placeholder");
|
|
1867
|
+
}, a = pe.includes(
|
|
1868
|
+
(t.docType ?? "").toLowerCase()
|
|
1869
|
+
), l = r`<div
|
|
1870
|
+
class=${A({
|
|
1871
|
+
asset__thumbnail: !0,
|
|
1872
|
+
"asset__thumbnail--folder": a,
|
|
1873
|
+
"asset__thumbnail--placeholder": !t.thumbnail?.trim()
|
|
1874
|
+
})}
|
|
1875
|
+
>
|
|
1876
|
+
${g(
|
|
1877
|
+
a,
|
|
1878
|
+
() => r`<cx-icon
|
|
1879
|
+
class="asset__folder__icon"
|
|
1880
|
+
name="folder_special"
|
|
1881
|
+
></cx-icon>`,
|
|
1882
|
+
() => r`<img
|
|
1883
|
+
class="asset__thumbnail__image"
|
|
1884
|
+
src=${t.thumbnail}
|
|
1885
|
+
@error=${o}
|
|
1886
|
+
@load=${s}
|
|
1887
|
+
/>
|
|
1888
|
+
<cx-icon
|
|
1889
|
+
class="asset__thumbnail__icon"
|
|
1890
|
+
name="insert_drive_file"
|
|
1891
|
+
variant="filled"
|
|
1892
|
+
></cx-icon>
|
|
1893
|
+
<div class="asset__thumbnail__extension">
|
|
1894
|
+
<cx-line-clamp
|
|
1895
|
+
class="asset__thumbnail__extension__line-clamp"
|
|
1896
|
+
lines="1"
|
|
1897
|
+
>
|
|
1898
|
+
<cx-typography
|
|
1899
|
+
class="asset__thumbnail__extension__text"
|
|
1900
|
+
variant="small"
|
|
1901
|
+
>
|
|
1902
|
+
${ge(t.fileName)}
|
|
1903
|
+
</cx-typography>
|
|
1904
|
+
</cx-line-clamp>
|
|
1905
|
+
</div>`
|
|
1906
|
+
)}
|
|
1907
|
+
</div>`, d = () => {
|
|
1908
|
+
this.openDrive(t);
|
|
1909
|
+
}, m = () => {
|
|
1910
|
+
t.isInFavorite ? this.unmarkFavorite(t.recordId) : this.markFavorite(t.recordId);
|
|
1911
|
+
}, u = r`<cx-tooltip
|
|
1912
|
+
content=${this.localize.term("openInDrive")}
|
|
1913
|
+
hoist
|
|
1914
|
+
>
|
|
1915
|
+
<cx-icon-button
|
|
1916
|
+
data-testid="asset__drive-button"
|
|
1917
|
+
name="folder_open"
|
|
1918
|
+
@click=${d}
|
|
1919
|
+
></cx-icon-button>
|
|
1920
|
+
</cx-tooltip>
|
|
1921
|
+
${g(
|
|
1922
|
+
this.favoriteInProgressAssets.includes(t.recordId),
|
|
1923
|
+
() => r`<cx-spinner class="favorite__spinner"></cx-spinner>`,
|
|
1924
|
+
() => r`<cx-tooltip
|
|
1925
|
+
content=${t.isInFavorite ? this.localize.term("unfavorite") : this.localize.term("favorite")}
|
|
1926
|
+
hoist
|
|
1927
|
+
>
|
|
1928
|
+
<cx-icon-button
|
|
1929
|
+
data-testid="asset__favorite-button"
|
|
1930
|
+
name="star"
|
|
1931
|
+
variant=${t.isInFavorite ? "filled" : "outlined"}
|
|
1932
|
+
@click=${m}
|
|
1933
|
+
></cx-icon-button>
|
|
1934
|
+
</cx-tooltip>`
|
|
1935
|
+
)} `, h = () => {
|
|
1936
|
+
t.uploadId && this.retryUpload(t.uploadId);
|
|
1937
|
+
}, _ = () => {
|
|
1938
|
+
t.uploadId && (t.isPaused ? this.resumeUpload(t.uploadId) : this.pauseUpload(t.uploadId));
|
|
1939
|
+
}, f = r`</cx-tooltip
|
|
1940
|
+
><cx-tooltip content=${this.localize.term("retry")} hoist>
|
|
1941
|
+
<cx-icon-button
|
|
1942
|
+
data-testid="asset__retry-button"
|
|
1943
|
+
name="refresh"
|
|
1944
|
+
@click=${h}
|
|
1945
|
+
></cx-icon-button>
|
|
1946
|
+
</cx-tooltip>`, z = r`<cx-tooltip
|
|
1947
|
+
content=${t.isPaused ? this.localize.term("resume") : this.localize.term("pause")}
|
|
1948
|
+
hoist
|
|
1949
|
+
>
|
|
1950
|
+
<cx-icon-button
|
|
1951
|
+
data-testid=${t.isPaused ? "asset__resume-button" : "asset__pause-button"}
|
|
1952
|
+
name=${t.isPaused ? "play_arrow" : "pause"}
|
|
1953
|
+
variant="filled"
|
|
1954
|
+
@click=${_}
|
|
1955
|
+
></cx-icon-button>
|
|
1956
|
+
</cx-tooltip>`;
|
|
1957
|
+
return r`
|
|
1958
|
+
<div
|
|
1959
|
+
data-id=${t.recordId}
|
|
1960
|
+
data-testid=${`asset-${t.uploadStatus}`}
|
|
1961
|
+
class="asset"
|
|
1962
|
+
>
|
|
1963
|
+
${l}
|
|
1964
|
+
<div class="asset__description">
|
|
1965
|
+
<div class="asset__description__label">
|
|
1966
|
+
<cx-line-clamp class="asset__description__label__text" lines="1">
|
|
1967
|
+
<cx-typography variant="body3">${t.fileName}</cx-typography>
|
|
1968
|
+
</cx-line-clamp>
|
|
1969
|
+
</div>
|
|
1970
|
+
<div class="asset__description__status">
|
|
1971
|
+
${g(
|
|
1972
|
+
e === b.RECENT,
|
|
1973
|
+
() => r`
|
|
1974
|
+
<cx-typography
|
|
1975
|
+
variant="small"
|
|
1976
|
+
class="asset__description__status__time"
|
|
1977
|
+
>
|
|
1978
|
+
<cx-relative-time
|
|
1979
|
+
format="narrow"
|
|
1980
|
+
numeric="always"
|
|
1981
|
+
date=${new Date(t.uploadTimestamp)}
|
|
1982
|
+
sync
|
|
1983
|
+
sync-interval=${U}
|
|
1984
|
+
></cx-relative-time>
|
|
1985
|
+
</cx-typography>
|
|
1986
|
+
`
|
|
1987
|
+
)}
|
|
1988
|
+
${g(
|
|
1989
|
+
e === b.UPLOADS,
|
|
1990
|
+
() => i
|
|
1991
|
+
)}
|
|
1992
|
+
</div>
|
|
1993
|
+
</div>
|
|
1994
|
+
<div class="asset__actions">
|
|
1995
|
+
${g(
|
|
1996
|
+
[T.Success, T.PendingComplete].includes(
|
|
1997
|
+
t.uploadStatus
|
|
1998
|
+
) || !t.uploadStatus?.trim(),
|
|
1999
|
+
() => u
|
|
2000
|
+
)}
|
|
2001
|
+
${g(
|
|
2002
|
+
[T.InProgress].includes(
|
|
2003
|
+
t.uploadStatus
|
|
2004
|
+
),
|
|
2005
|
+
() => z
|
|
2006
|
+
)}
|
|
2007
|
+
${g(
|
|
2008
|
+
[T.Failed].includes(t.uploadStatus),
|
|
2009
|
+
() => f
|
|
2010
|
+
)}
|
|
2011
|
+
</div>
|
|
2012
|
+
</div>
|
|
2013
|
+
`;
|
|
2014
|
+
}
|
|
2015
|
+
renderRecentAssets() {
|
|
2016
|
+
const t = r`
|
|
2017
|
+
<div class="recent-empty">
|
|
2018
|
+
<cx-icon class="empty-icon" name="explore"></cx-icon>
|
|
2019
|
+
<cx-typography variant="body2">
|
|
2020
|
+
${this.localize.term("allViewedAssetsWillBeVisibleHere")}
|
|
2021
|
+
</cx-typography>
|
|
2022
|
+
</div>
|
|
2023
|
+
`, [e, i] = st(
|
|
2024
|
+
this.recentAssets.assets
|
|
2025
|
+
), o = r`
|
|
2026
|
+
<div class="recent__list" @scroll=${this.requestMoreRecentAssets}>
|
|
2027
|
+
<div
|
|
2028
|
+
class=${A({
|
|
2029
|
+
empty: e.length === 0,
|
|
2030
|
+
recent__today: !0
|
|
2031
|
+
})}
|
|
2032
|
+
data-testid="recent__today"
|
|
2033
|
+
>
|
|
2034
|
+
<div class="asset-group__label">
|
|
2035
|
+
<cx-typography variant="small">
|
|
2036
|
+
${this.localize.term("today")}
|
|
2037
|
+
</cx-typography>
|
|
2038
|
+
</div>
|
|
2039
|
+
${F(
|
|
2040
|
+
e,
|
|
2041
|
+
(s) => s.recordId,
|
|
2042
|
+
(s) => this.renderAsset(s, b.RECENT)
|
|
2043
|
+
)}
|
|
2044
|
+
</div>
|
|
2045
|
+
<div
|
|
2046
|
+
class=${A({
|
|
2047
|
+
empty: i.length === 0,
|
|
2048
|
+
recent__other: !0
|
|
2049
|
+
})}
|
|
2050
|
+
>
|
|
2051
|
+
<div class="asset-group__label">
|
|
2052
|
+
<cx-typography variant="small">
|
|
2053
|
+
${this.localize.term("allOther")}
|
|
2054
|
+
</cx-typography>
|
|
2055
|
+
</div>
|
|
2056
|
+
${F(
|
|
2057
|
+
i,
|
|
2058
|
+
(s) => s.recordId,
|
|
2059
|
+
(s) => this.renderAsset(s, b.RECENT)
|
|
2060
|
+
)}
|
|
2061
|
+
</div>
|
|
2062
|
+
</div>
|
|
2063
|
+
`;
|
|
2064
|
+
return r`
|
|
2065
|
+
<cx-tab-panel
|
|
2066
|
+
name=${b.RECENT}
|
|
2067
|
+
class="assets-list__recent-tab-panel"
|
|
2068
|
+
>
|
|
2069
|
+
${g(
|
|
2070
|
+
this.recentAssets.assets.length > 0,
|
|
2071
|
+
() => o,
|
|
2072
|
+
() => t
|
|
2073
|
+
)}
|
|
2074
|
+
</cx-tab-panel>
|
|
2075
|
+
`;
|
|
2076
|
+
}
|
|
2077
|
+
renderFavoriteAssets() {
|
|
2078
|
+
const t = r`
|
|
2079
|
+
<div class="favorites-empty">
|
|
2080
|
+
<cx-icon class="empty-icon" name="star"></cx-icon>
|
|
2081
|
+
<cx-typography variant="body2">
|
|
2082
|
+
${this.localize.term("allFavoriteAssetsWillBeVisibleHere")}
|
|
2083
|
+
</cx-typography>
|
|
2084
|
+
</div>
|
|
2085
|
+
`, e = this.favoriteAssets.assets.toSorted(
|
|
2086
|
+
(o, s) => s.uploadTimestamp - o.uploadTimestamp
|
|
2087
|
+
), i = r`
|
|
2088
|
+
<div class="favorites__list" @scroll=${this.requestMoreFavoriteAssets}>
|
|
2089
|
+
${F(
|
|
2090
|
+
e,
|
|
2091
|
+
(o) => o.recordId,
|
|
2092
|
+
(o) => this.renderAsset(o, b.FAVORITES)
|
|
2093
|
+
)}
|
|
2094
|
+
</div>
|
|
2095
|
+
`;
|
|
2096
|
+
return r`
|
|
2097
|
+
<cx-tab-panel name="favorites" class="assets-list__favorites-tab-panel">
|
|
2098
|
+
<div class="favorites-tab-panel__content">
|
|
2099
|
+
<div class="asset-group__label favorites__sync-time">
|
|
2100
|
+
<cx-typography variant="small">
|
|
2101
|
+
${this.localize.term("favoritesSync")} -
|
|
2102
|
+
<cx-relative-time
|
|
2103
|
+
format="narrow"
|
|
2104
|
+
numeric="always"
|
|
2105
|
+
date=${new Date(this.favoritesLastSync)}
|
|
2106
|
+
sync
|
|
2107
|
+
sync-interval=${U}
|
|
2108
|
+
></cx-relative-time>
|
|
2109
|
+
</cx-typography>
|
|
2110
|
+
</div>
|
|
2111
|
+
${g(
|
|
2112
|
+
e.length > 0,
|
|
2113
|
+
() => i,
|
|
2114
|
+
() => t
|
|
2115
|
+
)}
|
|
2116
|
+
</div>
|
|
2117
|
+
</cx-tab-panel>
|
|
2118
|
+
`;
|
|
2119
|
+
}
|
|
2120
|
+
renderProgress({
|
|
2121
|
+
isPaused: t = !1,
|
|
2122
|
+
progress: e = 0,
|
|
2123
|
+
remainingTime: i,
|
|
2124
|
+
size: o = 0,
|
|
2125
|
+
timestamp: s = Date.now(),
|
|
2126
|
+
uploadErrorMessage: a,
|
|
2127
|
+
uploadStatus: l = T.InProgress
|
|
2128
|
+
}) {
|
|
2129
|
+
const d = o > 0 ? e * 100 / o : 0, m = l === T.InProgress ? d : 100, u = r`
|
|
2130
|
+
<div class="uploading-progress">
|
|
2131
|
+
${g(!t, () => r`<cx-icon name="arrow_upward"></cx-icon>`)}
|
|
2132
|
+
<cx-typography variant="small">
|
|
2133
|
+
<cx-line-clamp lines="1">
|
|
2134
|
+
${g(t, () => r`${this.localize.term("paused")} ‧`)}
|
|
2135
|
+
<cx-format-bytes .value=${e}></cx-format-bytes>
|
|
2136
|
+
of
|
|
2137
|
+
<cx-format-bytes .value=${o}></cx-format-bytes>
|
|
2138
|
+
(${new Intl.NumberFormat("en-IN", {
|
|
2139
|
+
maximumFractionDigits: 2
|
|
2140
|
+
}).format(d)}%)
|
|
2141
|
+
${g(
|
|
2142
|
+
!!i && !t,
|
|
2143
|
+
() => r`‧
|
|
2144
|
+
<cx-relative-time
|
|
2145
|
+
format="narrow"
|
|
2146
|
+
numeric="always"
|
|
2147
|
+
date=${new Date(Date.now() + (i ?? 0))}
|
|
2148
|
+
sync
|
|
2149
|
+
sync-interval=${U}
|
|
2150
|
+
></cx-relative-time>`
|
|
2151
|
+
)}
|
|
2152
|
+
</cx-line-clamp>
|
|
2153
|
+
</cx-typography>
|
|
2154
|
+
</div>
|
|
2155
|
+
`, h = r`
|
|
2156
|
+
<div class="syncing-progress">
|
|
2157
|
+
<cx-icon name="cached"></cx-icon>
|
|
2158
|
+
<cx-typography variant="small">
|
|
2159
|
+
<cx-line-clamp lines="1">
|
|
2160
|
+
${this.localize.term("syncing")} ‧
|
|
2161
|
+
<cx-relative-time
|
|
2162
|
+
format="narrow"
|
|
2163
|
+
numeric="always"
|
|
2164
|
+
date=${new Date(s)}
|
|
2165
|
+
sync
|
|
2166
|
+
sync-interval=${U}
|
|
2167
|
+
></cx-relative-time>
|
|
2168
|
+
</cx-line-clamp>
|
|
2169
|
+
</cx-typography>
|
|
2170
|
+
</div>
|
|
2171
|
+
`, _ = r`
|
|
2172
|
+
<div class="completed-progress">
|
|
2173
|
+
<cx-icon name="check"></cx-icon>
|
|
2174
|
+
<cx-typography variant="small">
|
|
2175
|
+
<cx-line-clamp lines="1">
|
|
2176
|
+
${this.localize.term("readyToUse")} ‧
|
|
2177
|
+
<cx-relative-time
|
|
2178
|
+
format="narrow"
|
|
2179
|
+
numeric="always"
|
|
2180
|
+
date=${new Date(s)}
|
|
2181
|
+
sync
|
|
2182
|
+
sync-interval=${U}
|
|
2183
|
+
></cx-relative-time>
|
|
2184
|
+
</cx-line-clamp>
|
|
2185
|
+
</cx-typography>
|
|
2186
|
+
</div>
|
|
2187
|
+
`, f = r`
|
|
2188
|
+
<div class="failed-progress">
|
|
2189
|
+
<cx-typography variant="small">
|
|
2190
|
+
<cx-line-clamp lines="1">
|
|
2191
|
+
<cx-tooltip content=${a}>
|
|
2192
|
+
<span class="failed-progress__text">
|
|
2193
|
+
${this.localize.term("uploadFailed")} ‧
|
|
2194
|
+
</span>
|
|
2195
|
+
</cx-tooltip>
|
|
2196
|
+
<cx-relative-time
|
|
2197
|
+
format="narrow"
|
|
2198
|
+
numeric="always"
|
|
2199
|
+
date=${new Date(s)}
|
|
2200
|
+
sync
|
|
2201
|
+
sync-interval=${U}
|
|
2202
|
+
></cx-relative-time>
|
|
2203
|
+
</cx-line-clamp>
|
|
2204
|
+
</cx-typography>
|
|
2205
|
+
</div>
|
|
2206
|
+
`, z = r`
|
|
2207
|
+
<div class="canceled-progress">
|
|
2208
|
+
<cx-icon name="cancel"></cx-icon>
|
|
2209
|
+
<cx-typography variant="small">
|
|
2210
|
+
<cx-line-clamp lines="1">
|
|
2211
|
+
${this.localize.term("canceled")} ‧
|
|
2212
|
+
<cx-relative-time
|
|
2213
|
+
format="narrow"
|
|
2214
|
+
numeric="always"
|
|
2215
|
+
date=${new Date(s)}
|
|
2216
|
+
sync
|
|
2217
|
+
sync-interval=${U}
|
|
2218
|
+
></cx-relative-time>
|
|
2219
|
+
</cx-line-clamp>
|
|
2220
|
+
</cx-typography>
|
|
2221
|
+
</div>
|
|
2222
|
+
`;
|
|
2223
|
+
return r`
|
|
2224
|
+
${g(
|
|
2225
|
+
l === T.InProgress,
|
|
2226
|
+
() => r`<cx-progress-bar
|
|
2227
|
+
style=${Xt({
|
|
2228
|
+
"--color": t ? "var(--cx-color-warning-500)" : "var(--cx-color-primary-500)"
|
|
2229
|
+
})}
|
|
2230
|
+
.value=${m.toFixed(0)}
|
|
2231
|
+
class="progress-bar"
|
|
2232
|
+
></cx-progress-bar
|
|
2233
|
+
>${u}`
|
|
2234
|
+
)}
|
|
2235
|
+
${g(
|
|
2236
|
+
l === T.PendingComplete,
|
|
2237
|
+
() => h
|
|
2238
|
+
)}
|
|
2239
|
+
${g(l === T.Success, () => _)}
|
|
2240
|
+
${g(l === T.Failed, () => f)}
|
|
2241
|
+
${g(l === T.Canceled, () => z)}
|
|
2242
|
+
`;
|
|
2243
|
+
}
|
|
2244
|
+
renderUploadingAssets() {
|
|
2245
|
+
const t = r`
|
|
2246
|
+
<div class="uploads-empty">
|
|
2247
|
+
<cx-icon class="empty-icon" name="arrow_upward"></cx-icon>
|
|
2248
|
+
<cx-typography variant="body2">
|
|
2249
|
+
${this.localize.term("allAssetUploadsWillBeVisibleHere")}
|
|
2250
|
+
</cx-typography>
|
|
2251
|
+
</div>
|
|
2252
|
+
`, [e, i] = st(
|
|
2253
|
+
this.uploadingAssets.assets
|
|
2254
|
+
), o = r`
|
|
2255
|
+
<div class="uploads__list" @scroll=${this.requestMoreUploadingAssets}>
|
|
2256
|
+
<div
|
|
2257
|
+
class=${A({
|
|
2258
|
+
empty: e.length === 0,
|
|
2259
|
+
recent__today: !0
|
|
2260
|
+
})}
|
|
2261
|
+
data-testid="uploads__today"
|
|
2262
|
+
>
|
|
2263
|
+
<div class="asset-group__label">
|
|
2264
|
+
<cx-typography variant="small">
|
|
2265
|
+
${this.localize.term("today")}
|
|
2266
|
+
</cx-typography>
|
|
2267
|
+
</div>
|
|
2268
|
+
${F(
|
|
2269
|
+
e,
|
|
2270
|
+
(s) => s.recordId,
|
|
2271
|
+
(s) => this.renderAsset(s, b.UPLOADS)
|
|
2272
|
+
)}
|
|
2273
|
+
</div>
|
|
2274
|
+
<div
|
|
2275
|
+
class=${A({
|
|
2276
|
+
empty: i.length === 0,
|
|
2277
|
+
uploads__other: !0
|
|
2278
|
+
})}
|
|
2279
|
+
>
|
|
2280
|
+
<div class="asset-group__label">
|
|
2281
|
+
<cx-typography variant="small">
|
|
2282
|
+
${this.localize.term("allOther")}
|
|
2283
|
+
</cx-typography>
|
|
2284
|
+
</div>
|
|
2285
|
+
${F(
|
|
2286
|
+
i,
|
|
2287
|
+
(s) => s.recordId,
|
|
2288
|
+
(s) => this.renderAsset(s, b.UPLOADS)
|
|
2289
|
+
)}
|
|
2290
|
+
</div>
|
|
2291
|
+
</div>
|
|
2292
|
+
`;
|
|
2293
|
+
return r`
|
|
2294
|
+
<cx-tab-panel name="uploads" class="assets-list__uploads-tab-panel">
|
|
2295
|
+
${g(
|
|
2296
|
+
this.uploadingAssets.assets.length > 0,
|
|
2297
|
+
() => o,
|
|
2298
|
+
() => t
|
|
2299
|
+
)}
|
|
2300
|
+
</cx-tab-panel>
|
|
2301
|
+
`;
|
|
2302
|
+
}
|
|
2303
|
+
renderAssetsList() {
|
|
2304
|
+
return r`
|
|
2305
|
+
<div class="assets-list">
|
|
2306
|
+
<cx-tab-group
|
|
2307
|
+
@cx-tab-show=${async (e) => {
|
|
2308
|
+
switch (await e.target.updateComplete, e.detail.name) {
|
|
2309
|
+
case b.RECENT:
|
|
2310
|
+
this.requestMoreRecentAssets();
|
|
2311
|
+
break;
|
|
2312
|
+
case b.FAVORITES:
|
|
2313
|
+
this.requestMoreFavoriteAssets();
|
|
2314
|
+
break;
|
|
2315
|
+
case b.UPLOADS:
|
|
2316
|
+
this.requestMoreUploadingAssets();
|
|
2317
|
+
break;
|
|
2318
|
+
}
|
|
2319
|
+
}}
|
|
2320
|
+
no-scroll-controls
|
|
2321
|
+
class="assets-list__tab-group"
|
|
2322
|
+
>
|
|
2323
|
+
<cx-tab
|
|
2324
|
+
active
|
|
2325
|
+
data-testid="assets-list__recent-tab"
|
|
2326
|
+
slot="nav"
|
|
2327
|
+
panel=${b.RECENT}
|
|
2328
|
+
>
|
|
2329
|
+
${this.localize.term("recent")}
|
|
2330
|
+
</cx-tab>
|
|
2331
|
+
<cx-tab
|
|
2332
|
+
data-testid="assets-list__favorites-tab"
|
|
2333
|
+
slot="nav"
|
|
2334
|
+
panel=${b.FAVORITES}
|
|
2335
|
+
>
|
|
2336
|
+
${this.localize.term("favorites")}
|
|
2337
|
+
</cx-tab>
|
|
2338
|
+
<cx-tab
|
|
2339
|
+
data-testid="assets-list__uploads-tab"
|
|
2340
|
+
slot="nav"
|
|
2341
|
+
panel=${b.UPLOADS}
|
|
2342
|
+
>
|
|
2343
|
+
${this.localize.term("uploads")}
|
|
2344
|
+
</cx-tab>
|
|
2345
|
+
${this.renderRecentAssets()} ${this.renderFavoriteAssets()}
|
|
2346
|
+
${this.renderUploadingAssets()}
|
|
2347
|
+
</cx-tab-group>
|
|
2348
|
+
</div>
|
|
2349
|
+
`;
|
|
2350
|
+
}
|
|
2351
|
+
renderAssetsView() {
|
|
2352
|
+
return r`
|
|
2353
|
+
<div class="assets">
|
|
2354
|
+
${this.renderHeader()}${this.renderAssetsList()}${this.renderStatusFooter()}
|
|
2355
|
+
</div>
|
|
2356
|
+
`;
|
|
2357
|
+
}
|
|
2358
|
+
onSearch() {
|
|
2359
|
+
this.folderPathsSet = /* @__PURE__ */ new Set(), this.fetchFolders({
|
|
2360
|
+
folderId: "",
|
|
2361
|
+
folderPathsSet: this.folderPathsSet
|
|
2362
|
+
}).then((t) => {
|
|
2363
|
+
this.availableFolderIdentifiers = t.data, this.totalCount = t.totalCount;
|
|
2364
|
+
});
|
|
2365
|
+
}
|
|
2366
|
+
renderSelectFoldersPopup() {
|
|
2367
|
+
const t = () => {
|
|
2368
|
+
this.folderTree.rootIDs = this.rootIDs, this.dialog.show();
|
|
2369
|
+
}, e = (s = null) => {
|
|
2370
|
+
s?.target && s.target !== this.dialog || (this.folderTree.resetTree(), this.folderTree.rootIDs = [], this.folderTree.removedIDs = [], this.dialog.hide(), this.searchText = "");
|
|
2371
|
+
}, i = async () => {
|
|
2372
|
+
this.isAddingRootIDs = !0, await this.updateComplete, this.searchText = "";
|
|
2373
|
+
const s = this.rootIDs.filter((d) => {
|
|
2374
|
+
if (!this.folderTree.shadowRoot?.querySelector(
|
|
2375
|
+
`[data-id="${$(d).id}"]`
|
|
2376
|
+
))
|
|
2377
|
+
return !0;
|
|
2378
|
+
}), a = /* @__PURE__ */ new Set([
|
|
2379
|
+
...this.folderTree.currentRootIDs,
|
|
2380
|
+
...s
|
|
2381
|
+
]);
|
|
2382
|
+
for (const d of a) {
|
|
2383
|
+
const m = P($(d).path), u = this.folderTree.removedIDs.filter(
|
|
2384
|
+
(h) => P($(h).path).startsWith(m)
|
|
2385
|
+
);
|
|
2386
|
+
if (u.length > 0) {
|
|
2387
|
+
const { totalCount: h } = await this.fetchFolders({
|
|
2388
|
+
excludes: u.map((f) => $(f).id),
|
|
2389
|
+
folderId: $(d).id,
|
|
2390
|
+
start: 0
|
|
2391
|
+
}), { data: _ } = await this.fetchFolders({
|
|
2392
|
+
excludes: u.map((f) => $(f).id),
|
|
2393
|
+
folderId: $(d).id,
|
|
2394
|
+
limit: h || 10,
|
|
2395
|
+
start: 0
|
|
2396
|
+
});
|
|
2397
|
+
_.forEach((f) => {
|
|
2398
|
+
a.add(
|
|
2399
|
+
k({ id: f.id, path: f.fullPath })
|
|
2400
|
+
);
|
|
2401
|
+
}), a.delete(d);
|
|
2402
|
+
}
|
|
2403
|
+
}
|
|
2404
|
+
const l = Array.from(a);
|
|
2405
|
+
this.updateActiveFolderIdentifiers(l), this.removedIds = l.filter(
|
|
2406
|
+
(d) => [...l].some((m) => {
|
|
2407
|
+
const u = $(d), h = $(m), _ = P(h.path);
|
|
2408
|
+
return m !== d && u.path.startsWith(_);
|
|
2409
|
+
})
|
|
2410
|
+
), e(), this.isAddingRootIDs = !1;
|
|
2411
|
+
}, o = (s) => {
|
|
2412
|
+
const a = s.target;
|
|
2413
|
+
this.searchText = (a.value ?? "").trim();
|
|
2414
|
+
};
|
|
2415
|
+
return r`
|
|
2416
|
+
<cx-dialog
|
|
2417
|
+
class="select-folders-popup"
|
|
2418
|
+
no-header
|
|
2419
|
+
@cx-after-hide=${e}
|
|
2420
|
+
.boundary=${this.container}
|
|
2421
|
+
>
|
|
2422
|
+
<cx-input
|
|
2423
|
+
autofocus
|
|
2424
|
+
clearable
|
|
2425
|
+
@cx-input=${o}
|
|
2426
|
+
value=${this.searchText}
|
|
2427
|
+
placeholder=${this.localize.term("search")}
|
|
2428
|
+
>
|
|
2429
|
+
<cx-icon name="search" slot="prefix"></cx-icon>
|
|
2430
|
+
</cx-input>
|
|
2431
|
+
${this.renderSelectableFolderTree()}
|
|
2432
|
+
<div class="select-folders-popup__actions">
|
|
2433
|
+
<cx-button
|
|
2434
|
+
?loading=${this.isAddingRootIDs}
|
|
2435
|
+
variant="primary"
|
|
2436
|
+
@click=${i}
|
|
2437
|
+
>
|
|
2438
|
+
${this.localize.term("add")}
|
|
2439
|
+
</cx-button>
|
|
2440
|
+
</div>
|
|
2441
|
+
</cx-dialog>
|
|
2442
|
+
<cx-button
|
|
2443
|
+
data-testid="settings__select-folders-button"
|
|
2444
|
+
@click=${t}
|
|
2445
|
+
>
|
|
2446
|
+
<cx-icon name="folder" slot="prefix"></cx-icon>
|
|
2447
|
+
${this.localize.term("selectFolders")}
|
|
2448
|
+
</cx-button>
|
|
2449
|
+
`;
|
|
2450
|
+
}
|
|
2451
|
+
renderSelectableFolderTree() {
|
|
2452
|
+
const t = this.availableFolderIdentifiers;
|
|
2453
|
+
return r`
|
|
2454
|
+
<cx-folder-tree
|
|
2455
|
+
class="selectable-folder-tree"
|
|
2456
|
+
.siteUrl=${this.settings.config.siteUrl}
|
|
2457
|
+
.token=${this.token}
|
|
2458
|
+
.searchText=${this.searchText}
|
|
2459
|
+
.folders=${t}
|
|
2460
|
+
.rootIDs=${this.rootIDs}
|
|
2461
|
+
.totalCount=${this.totalCount}
|
|
2462
|
+
.loadMore=${this.loadMore}
|
|
2463
|
+
.folderPathsSet=${this.folderPathsSet}
|
|
2464
|
+
?isLoading=${this.isLoading}
|
|
2465
|
+
></cx-folder-tree>
|
|
2466
|
+
`;
|
|
2467
|
+
}
|
|
2468
|
+
renderRootFolderTree() {
|
|
2469
|
+
if (!this.rootIDs.length)
|
|
2470
|
+
return bt;
|
|
2471
|
+
const t = this.rootIDs.filter(
|
|
2472
|
+
(o) => !this.removedIds.includes(o)
|
|
2473
|
+
), e = (o) => {
|
|
2474
|
+
this.updateActiveFolderIdentifiers(
|
|
2475
|
+
t.filter(
|
|
2476
|
+
(s) => $(s).id !== o
|
|
2477
|
+
)
|
|
2478
|
+
), this.folderTree.rootIDs = this.rootIDs, this.folderTree.resetTree();
|
|
2479
|
+
}, i = (o) => {
|
|
2480
|
+
const { id: s, path: a } = $(o), l = () => {
|
|
2481
|
+
e(s);
|
|
2482
|
+
};
|
|
2483
|
+
return r`
|
|
2484
|
+
<cx-tree-item
|
|
2485
|
+
data-id=${s}
|
|
2486
|
+
class=${A({
|
|
2487
|
+
"folder-tree__item": !0
|
|
2488
|
+
})}
|
|
2489
|
+
>
|
|
2490
|
+
<div class="folder-tree__label">
|
|
2491
|
+
<cx-icon class="folder-tree__icon" name="folder"></cx-icon>
|
|
2492
|
+
<cx-line-clamp lines="1" class="folder-tree__label__value">
|
|
2493
|
+
${a}
|
|
2494
|
+
</cx-line-clamp>
|
|
2495
|
+
</div>
|
|
2496
|
+
<cx-tooltip
|
|
2497
|
+
slot="actions"
|
|
2498
|
+
content=${this.localize.term("removeFolder", 1)}
|
|
2499
|
+
hoist
|
|
2500
|
+
>
|
|
2501
|
+
<cx-icon-button
|
|
2502
|
+
@click=${l}
|
|
2503
|
+
name="close"
|
|
2504
|
+
></cx-icon-button>
|
|
2505
|
+
</cx-tooltip>
|
|
2506
|
+
</cx-tree-item>
|
|
2507
|
+
`;
|
|
2508
|
+
};
|
|
2509
|
+
return r`
|
|
2510
|
+
<div data-testid="root-folder-tree" class="folder-tree">
|
|
2511
|
+
<cx-tree selection="none">
|
|
2512
|
+
${F(
|
|
2513
|
+
t,
|
|
2514
|
+
(o) => o,
|
|
2515
|
+
(o) => i(o)
|
|
2516
|
+
)}
|
|
2517
|
+
>
|
|
2518
|
+
</cx-tree>
|
|
2519
|
+
</div>
|
|
2520
|
+
`;
|
|
2521
|
+
}
|
|
2522
|
+
// renderUploadDownloadSettings(): TemplateResult {
|
|
2523
|
+
// const maxUploadRateInput = this._unlimitedUploadRate
|
|
2524
|
+
// ? ''
|
|
2525
|
+
// : html`<cx-input
|
|
2526
|
+
// class="settings__upload-rate-input"
|
|
2527
|
+
// label=${this.localize.term('maxUploadRate')}
|
|
2528
|
+
// type="number"
|
|
2529
|
+
// no-spin-buttons
|
|
2530
|
+
// value=${this.settings.maxUploadRate}
|
|
2531
|
+
// @cx-change=${(event: CxChangeEvent) => {
|
|
2532
|
+
// const target = event.target as CxInput;
|
|
2533
|
+
// const value = Number(target.value);
|
|
2534
|
+
// if (value < 0) {
|
|
2535
|
+
// target.setCustomValidity(
|
|
2536
|
+
// this.localize.term('maxUploadRateCannotBeNegative'),
|
|
2537
|
+
// );
|
|
2538
|
+
// return;
|
|
2539
|
+
// }
|
|
2540
|
+
// this._maxUploadRate = Number(target.value);
|
|
2541
|
+
// }}
|
|
2542
|
+
// ><cx-typography slot="suffix" variant="body2"
|
|
2543
|
+
// >Mb/s</cx-typography
|
|
2544
|
+
// ></cx-input
|
|
2545
|
+
// >`;
|
|
2546
|
+
// const uploadRateSetting = html`<cx-switch
|
|
2547
|
+
// class="settings__upload-rate-switch"
|
|
2548
|
+
// ?checked=${this.settings.unlimitedUploadRate}
|
|
2549
|
+
// @cx-change=${(event: CxChangeEvent) => {
|
|
2550
|
+
// this._unlimitedUploadRate = (event.target as HTMLInputElement).checked;
|
|
2551
|
+
// }}
|
|
2552
|
+
// >${this.localize.term('unlimitedUploadRate')}</cx-switch
|
|
2553
|
+
// >${maxUploadRateInput}`;
|
|
2554
|
+
// const maxDownloadRateInput = this._unlimitedDownloadRate
|
|
2555
|
+
// ? ''
|
|
2556
|
+
// : html`<cx-input
|
|
2557
|
+
// class="settings__download-rate-input"
|
|
2558
|
+
// label=${this.localize.term('maxDownloadRate')}
|
|
2559
|
+
// type="number"
|
|
2560
|
+
// no-spin-buttons
|
|
2561
|
+
// value=${this.settings.maxDownloadRate}
|
|
2562
|
+
// @cx-change=${(event: CxChangeEvent) => {
|
|
2563
|
+
// const target = event.target as CxInput;
|
|
2564
|
+
// const value = Number(target.value);
|
|
2565
|
+
// if (value < 0) {
|
|
2566
|
+
// target.setCustomValidity(
|
|
2567
|
+
// this.localize.term('maxDownloadRateCannotBeNegative'),
|
|
2568
|
+
// );
|
|
2569
|
+
// return;
|
|
2570
|
+
// }
|
|
2571
|
+
// this._maxDownloadRate = Number(target.value);
|
|
2572
|
+
// }}
|
|
2573
|
+
// ><cx-typography slot="suffix" variant="body2"
|
|
2574
|
+
// >Mb/s</cx-typography
|
|
2575
|
+
// ></cx-input
|
|
2576
|
+
// >`;
|
|
2577
|
+
// const downloadRateSetting = html`<cx-switch
|
|
2578
|
+
// class="settings__download-rate-switch"
|
|
2579
|
+
// ?checked=${this.settings.unlimitedDownloadRate}
|
|
2580
|
+
// @cx-change=${(event: CxChangeEvent) => {
|
|
2581
|
+
// this._unlimitedDownloadRate = (event.target as HTMLInputElement).checked;
|
|
2582
|
+
// }}
|
|
2583
|
+
// >${this.localize.term('unlimitedDownloadRate')}</cx-switch
|
|
2584
|
+
// >${maxDownloadRateInput}`;
|
|
2585
|
+
// return html`<div class="settings-group settings__upload-download">
|
|
2586
|
+
// <cx-typography variant="h5"
|
|
2587
|
+
// >${this.localize.term('uploadDownload')}</cx-typography
|
|
2588
|
+
// >
|
|
2589
|
+
// ${uploadRateSetting} ${downloadRateSetting}
|
|
2590
|
+
// </div>`;
|
|
2591
|
+
// }
|
|
2592
|
+
handleActiveFolderChange(t) {
|
|
2593
|
+
t.target.value === "custom" ? (this._activeFoldersMode = !0, this.rootIDs = this.settings.config.rootIDs ?? []) : (this._activeFoldersMode = !1, this.rootIDs = []);
|
|
2594
|
+
}
|
|
2595
|
+
renderGeneralSettings() {
|
|
2596
|
+
const t = r`
|
|
2597
|
+
<div class="settings-group settings__active-folder">
|
|
2598
|
+
<cx-typography variant="h5">
|
|
2599
|
+
${this.localize.term("activeFolders")}
|
|
2600
|
+
</cx-typography>
|
|
2601
|
+
<cx-typography variant="body3">
|
|
2602
|
+
${this.localize.term("activeFoldersHelpText")}
|
|
2603
|
+
</cx-typography>
|
|
2604
|
+
<cx-select
|
|
2605
|
+
data-testid="settings__active-folder-select"
|
|
2606
|
+
hoist
|
|
2607
|
+
input-behavior="none"
|
|
2608
|
+
value=${this._activeFoldersMode ? "custom" : "all"}
|
|
2609
|
+
@cx-change=${this.handleActiveFolderChange}
|
|
2610
|
+
>
|
|
2611
|
+
<cx-option value="all">
|
|
2612
|
+
${this.localize.term("allFoldersDefault")}
|
|
2613
|
+
</cx-option>
|
|
2614
|
+
<cx-option value="custom">${this.localize.term("custom")}</cx-option>
|
|
2615
|
+
</cx-select>
|
|
2616
|
+
${g(
|
|
2617
|
+
this._activeFoldersMode,
|
|
2618
|
+
() => r`
|
|
2619
|
+
${this.renderRootFolderTree()} ${this.renderSelectFoldersPopup()}
|
|
2620
|
+
`
|
|
2621
|
+
)}
|
|
2622
|
+
</div>
|
|
2623
|
+
`;
|
|
2624
|
+
return r`
|
|
2625
|
+
<div class="settings__general">
|
|
2626
|
+
${t}
|
|
2627
|
+
<div class="settings-group settings__software">
|
|
2628
|
+
<cx-typography variant="h5">
|
|
2629
|
+
${this.localize.term("software")}
|
|
2630
|
+
</cx-typography>
|
|
2631
|
+
<div class="settings__software__version">
|
|
2632
|
+
<div class="settings__software__version__value">
|
|
2633
|
+
<cx-line-clamp
|
|
2634
|
+
lines="1"
|
|
2635
|
+
class="settings__software__version__value__text"
|
|
2636
|
+
>
|
|
2637
|
+
<cx-typography variant="body3">
|
|
2638
|
+
${this.localize.term("currentVersion")}
|
|
2639
|
+
${it(this.settings.config.version ?? "")}
|
|
2640
|
+
</cx-typography>
|
|
2641
|
+
</cx-line-clamp>
|
|
2642
|
+
</div>
|
|
2643
|
+
${g(
|
|
2644
|
+
this.hasNewVersion,
|
|
2645
|
+
() => r`<div class="settings__software__version__value">
|
|
2646
|
+
<cx-badge
|
|
2647
|
+
class="settings__version__badge"
|
|
2648
|
+
slot="badge"
|
|
2649
|
+
variant="danger"
|
|
2650
|
+
pill
|
|
2651
|
+
size="x-small"
|
|
2652
|
+
></cx-badge>
|
|
2653
|
+
|
|
2654
|
+
<cx-line-clamp
|
|
2655
|
+
lines="1"
|
|
2656
|
+
class="settings__software__version__value__text"
|
|
2657
|
+
>
|
|
2658
|
+
<cx-typography variant="body3">
|
|
2659
|
+
${this.localize.term(
|
|
2660
|
+
"newVersionAvailable",
|
|
2661
|
+
it(
|
|
2662
|
+
this.settings.config.latestVersion ?? ""
|
|
2663
|
+
)
|
|
2664
|
+
)}
|
|
2665
|
+
</cx-typography>
|
|
2666
|
+
</cx-line-clamp>
|
|
2667
|
+
<cx-button
|
|
2668
|
+
size="small"
|
|
2669
|
+
?loading=${this.isUpgrading}
|
|
2670
|
+
class="settings__software__version__install-button"
|
|
2671
|
+
outline
|
|
2672
|
+
@click=${this.upgrade}
|
|
2673
|
+
>
|
|
2674
|
+
<cx-icon name="install_desktop" slot="prefix"></cx-icon>
|
|
2675
|
+
${this.localize.term("download")}
|
|
2676
|
+
</cx-button>
|
|
2677
|
+
</div>`
|
|
2678
|
+
)}
|
|
2679
|
+
</div>
|
|
2680
|
+
</div>
|
|
2681
|
+
<div class="settings-group settings__connection">
|
|
2682
|
+
<cx-typography variant="h5">
|
|
2683
|
+
${this.localize.term("connection")}
|
|
2684
|
+
</cx-typography>
|
|
2685
|
+
<div class="settings__connection-url">
|
|
2686
|
+
<cx-typography variant="body3">URL:</cx-typography>
|
|
2687
|
+
<cx-line-clamp class="settings__connection-url__value" lines="1">
|
|
2688
|
+
<cx-typography variant="body3">
|
|
2689
|
+
${this.settings.config.siteUrl}
|
|
2690
|
+
</cx-typography>
|
|
2691
|
+
</cx-line-clamp>
|
|
2692
|
+
</div>
|
|
2693
|
+
</div>
|
|
2694
|
+
<cx-space direction="vertical">
|
|
2695
|
+
<div class="settings__disconnect">
|
|
2696
|
+
<cx-button
|
|
2697
|
+
slot="trigger"
|
|
2698
|
+
?loading=${this.isDisconnecting}
|
|
2699
|
+
text
|
|
2700
|
+
variant="text"
|
|
2701
|
+
class="settings__disconnect-button"
|
|
2702
|
+
@click=${this.disconnect}
|
|
2703
|
+
>
|
|
2704
|
+
<cx-icon name="cloud_off" slot="prefix"></cx-icon>
|
|
2705
|
+
${this.localize.term("disconnect")}
|
|
2706
|
+
</cx-button>
|
|
2707
|
+
<cx-typography class="error-message" variant="body3">
|
|
2708
|
+
${this.disconnectError}
|
|
2709
|
+
</cx-typography>
|
|
2710
|
+
</div>
|
|
2711
|
+
</cx-space>
|
|
2712
|
+
<div class="settings-group settings__about">
|
|
2713
|
+
<div data-testid="settings__about__content">
|
|
2714
|
+
<cx-typography variant="small">${this.aboutContent}</cx-typography>
|
|
2715
|
+
</div>
|
|
2716
|
+
</div>
|
|
2717
|
+
</div>
|
|
2718
|
+
`;
|
|
2719
|
+
}
|
|
2720
|
+
handleProxyChange(t) {
|
|
2721
|
+
const i = t.target.value;
|
|
2722
|
+
i.includes("All") ? this.proxyTypes = ["All"] : this.proxyTypes = i;
|
|
2723
|
+
}
|
|
2724
|
+
handleCacheSizeKeydown(t) {
|
|
2725
|
+
const e = /\d/;
|
|
2726
|
+
// Block minus sign and non-numeric characters
|
|
2727
|
+
(t.key === "Minus" || // for key="-" (Firefox)
|
|
2728
|
+
t.key === "-" || // for key="-" (Chrome)
|
|
2729
|
+
t.key.length === 1 && !e.test(t.key)) && t.preventDefault();
|
|
2730
|
+
}
|
|
2731
|
+
handleCacheSizeChange(t) {
|
|
2732
|
+
const e = t.target;
|
|
2733
|
+
if (Number(e.value) < 0) {
|
|
2734
|
+
e.setCustomValidity(this.localize.term("cacheSizeCannotBeNegative"));
|
|
2735
|
+
return;
|
|
2736
|
+
}
|
|
2737
|
+
this.cacheSize = Number(e.value);
|
|
2738
|
+
}
|
|
2739
|
+
async handleCacheLocationClick() {
|
|
2740
|
+
const t = await this.pickCacheLocation();
|
|
2741
|
+
this.cacheLocation = t;
|
|
2742
|
+
}
|
|
2743
|
+
async handleCacheLocationChange() {
|
|
2744
|
+
await this.updateComplete, this.cacheLocationValueText?.handleResize();
|
|
2745
|
+
}
|
|
2746
|
+
renderAdvancedSettings() {
|
|
2747
|
+
const t = r`<cx-tooltip
|
|
2748
|
+
content=${this.localize.term("openDrive")}
|
|
2749
|
+
hoist
|
|
2750
|
+
>
|
|
2751
|
+
<cx-icon-button
|
|
2752
|
+
data-testid="settings__cache__location__open-button"
|
|
2753
|
+
name="folder_open"
|
|
2754
|
+
outline
|
|
2755
|
+
@click=${this.openCacheLocation}
|
|
2756
|
+
></cx-icon-button>
|
|
2757
|
+
</cx-tooltip>`;
|
|
2758
|
+
return r`
|
|
2759
|
+
<div class="settings__advanced">
|
|
2760
|
+
<div class="settings-group settings__proxy">
|
|
2761
|
+
<cx-typography variant="h5">Proxy</cx-typography>
|
|
2762
|
+
<cx-select
|
|
2763
|
+
class="settings__proxy__select"
|
|
2764
|
+
label=${this.localize.term("types")}
|
|
2765
|
+
multiple
|
|
2766
|
+
input-behavior="none"
|
|
2767
|
+
value=${(this.proxyTypes ?? []).join(" ")}
|
|
2768
|
+
@cx-change=${this.handleProxyChange}
|
|
2769
|
+
>
|
|
2770
|
+
<cx-option value="Image" ?disabled=${(this.proxyTypes ?? []).includes("All")}>${this.localize.term("image")}</cx-option>
|
|
2771
|
+
<cx-option value="Video" ?disabled=${(this.proxyTypes ?? []).includes("All")}>${this.localize.term("video")}</cx-option>
|
|
2772
|
+
<cx-option value="Audio" ?disabled=${(this.proxyTypes ?? []).includes("All")}>${this.localize.term("audio")}</cx-option>
|
|
2773
|
+
<cx-option value="All">${this.localize.term("all")}</cx-option>
|
|
2774
|
+
</cx-select>
|
|
2775
|
+
<cx-typography variant="small">
|
|
2776
|
+
${this.localize.term(
|
|
2777
|
+
"itCanTakeAFewMinutesForThisSettingToTakeEffect"
|
|
2778
|
+
)}
|
|
2779
|
+
</cx-typography>
|
|
2780
|
+
</div>
|
|
2781
|
+
<div class="settings-group settings__config">
|
|
2782
|
+
<cx-typography variant="h5">
|
|
2783
|
+
${this.localize.term("config")}
|
|
2784
|
+
</cx-typography>
|
|
2785
|
+
<div class="settings__config__buttons">
|
|
2786
|
+
<cx-button
|
|
2787
|
+
data-testid="settings__config__export-button"
|
|
2788
|
+
@click=${this.exportSettings}
|
|
2789
|
+
>
|
|
2790
|
+
<cx-icon name="file_download" slot="prefix"></cx-icon>
|
|
2791
|
+
${this.localize.term("export")}
|
|
2792
|
+
</cx-button>
|
|
2793
|
+
<cx-button
|
|
2794
|
+
@click=${this.importSettings}
|
|
2795
|
+
data-testid="settings__config__import-button"
|
|
2796
|
+
>
|
|
2797
|
+
<cx-icon name="file_upload" slot="prefix"></cx-icon>
|
|
2798
|
+
${this.localize.term("import")}
|
|
2799
|
+
</cx-button>
|
|
2800
|
+
</div>
|
|
2801
|
+
</div>
|
|
2802
|
+
<div class="settings-group settings__logs">
|
|
2803
|
+
<cx-typography variant="h5">
|
|
2804
|
+
${this.localize.term("logs")}
|
|
2805
|
+
</cx-typography>
|
|
2806
|
+
<div class="settings__logs__buttons">
|
|
2807
|
+
<cx-button
|
|
2808
|
+
data-testid="settings__logs__view-button"
|
|
2809
|
+
@click=${this.viewLogs}
|
|
2810
|
+
>
|
|
2811
|
+
<cx-icon name="code" slot="prefix"></cx-icon>
|
|
2812
|
+
${this.localize.term("view")}
|
|
2813
|
+
</cx-button>
|
|
2814
|
+
</div>
|
|
2815
|
+
</div>
|
|
2816
|
+
<div class="settings-group settings__cache">
|
|
2817
|
+
<cx-typography variant="h5">
|
|
2818
|
+
${this.localize.term("cache")}
|
|
2819
|
+
</cx-typography>
|
|
2820
|
+
<div class="settings__cache__size">
|
|
2821
|
+
<cx-input
|
|
2822
|
+
data-testid="settings__cache__size__input"
|
|
2823
|
+
label=${this.localize.term("size")}
|
|
2824
|
+
type="number"
|
|
2825
|
+
no-spin-buttons
|
|
2826
|
+
min="0"
|
|
2827
|
+
step="any"
|
|
2828
|
+
value=${this.cacheSize}
|
|
2829
|
+
@keydown=${this.handleCacheSizeKeydown}
|
|
2830
|
+
@cx-change=${this.handleCacheSizeChange}
|
|
2831
|
+
>
|
|
2832
|
+
<cx-typography slot="suffix" variant="body2"
|
|
2833
|
+
>${B}</cx-typography
|
|
2834
|
+
>
|
|
2835
|
+
</cx-input>
|
|
2836
|
+
</div>
|
|
2837
|
+
<div class="settings__cache__location">
|
|
2838
|
+
<cx-typography
|
|
2839
|
+
variant="body3"
|
|
2840
|
+
class="settings__cache__location__label"
|
|
2841
|
+
>
|
|
2842
|
+
${this.localize.term("location")}
|
|
2843
|
+
</cx-typography>
|
|
2844
|
+
<div class="settings__cache__location__value">
|
|
2845
|
+
<cx-line-clamp
|
|
2846
|
+
lines="1"
|
|
2847
|
+
class="settings__cache__location__value__text"
|
|
2848
|
+
>
|
|
2849
|
+
<cx-typography variant="body3">
|
|
2850
|
+
${this.cacheLocation}
|
|
2851
|
+
</cx-typography>
|
|
2852
|
+
</cx-line-clamp>
|
|
2853
|
+
<cx-space
|
|
2854
|
+
spacing="x-small"
|
|
2855
|
+
class="settings__cache__location__actions"
|
|
2856
|
+
>
|
|
2857
|
+
<cx-button
|
|
2858
|
+
class="settings__cache__location__change-button"
|
|
2859
|
+
outline
|
|
2860
|
+
@click=${this.handleCacheLocationClick}
|
|
2861
|
+
>
|
|
2862
|
+
<cx-icon name="edit" slot="prefix"></cx-icon>
|
|
2863
|
+
${this.localize.term("change")}
|
|
2864
|
+
</cx-button>
|
|
2865
|
+
${t}
|
|
2866
|
+
</cx-space>
|
|
2867
|
+
</div>
|
|
2868
|
+
</div>
|
|
2869
|
+
|
|
2870
|
+
<div class="settings__cache__buttons">
|
|
2871
|
+
<cx-button
|
|
2872
|
+
data-testid="settings__cache__clear-button"
|
|
2873
|
+
@click=${this.clearCache}
|
|
2874
|
+
>
|
|
2875
|
+
<cx-icon name="delete" slot="prefix"></cx-icon>
|
|
2876
|
+
${this.localize.term("clearCache")}
|
|
2877
|
+
</cx-button>
|
|
2878
|
+
</div>
|
|
2879
|
+
</div>
|
|
2880
|
+
</div>
|
|
2881
|
+
`;
|
|
2882
|
+
}
|
|
2883
|
+
renderSettingsView() {
|
|
2884
|
+
const t = () => {
|
|
2885
|
+
this.hideSettings();
|
|
2886
|
+
};
|
|
2887
|
+
return r`
|
|
2888
|
+
<div class="settings">
|
|
2889
|
+
<form class="settings__form" @submit=${(i) => {
|
|
2890
|
+
i.preventDefault(), this.saveSettings();
|
|
2891
|
+
}}>
|
|
2892
|
+
<cx-tab-group no-scroll-controls class="settings__tab-group">
|
|
2893
|
+
<cx-tab
|
|
2894
|
+
active
|
|
2895
|
+
class="settings_general-tab"
|
|
2896
|
+
slot="nav"
|
|
2897
|
+
panel="general"
|
|
2898
|
+
>
|
|
2899
|
+
${this.localize.term("general")}
|
|
2900
|
+
</cx-tab>
|
|
2901
|
+
<cx-tab
|
|
2902
|
+
data-testid="settings_advanced-tab"
|
|
2903
|
+
slot="nav"
|
|
2904
|
+
panel="advanced"
|
|
2905
|
+
>
|
|
2906
|
+
${this.localize.term("advanced")}
|
|
2907
|
+
</cx-tab>
|
|
2908
|
+
<cx-tab-panel name="general">
|
|
2909
|
+
${this.renderGeneralSettings()}
|
|
2910
|
+
</cx-tab-panel>
|
|
2911
|
+
<cx-tab-panel name="advanced" class="settings_advanced-tab-panel">
|
|
2912
|
+
${this.renderAdvancedSettings()}
|
|
2913
|
+
</cx-tab-panel>
|
|
2914
|
+
</cx-tab-group>
|
|
2915
|
+
<div class="settings__footer">
|
|
2916
|
+
<div class="settings__footer__actions">
|
|
2917
|
+
<cx-button
|
|
2918
|
+
data-testid="settings__cancel-button"
|
|
2919
|
+
type="button"
|
|
2920
|
+
@click=${t}
|
|
2921
|
+
>
|
|
2922
|
+
${this.localize.term("cancel")}
|
|
2923
|
+
</cx-button>
|
|
2924
|
+
<cx-button
|
|
2925
|
+
data-testid="settings__save-button"
|
|
2926
|
+
?disabled=${!this.formHasChanges}
|
|
2927
|
+
type="submit"
|
|
2928
|
+
variant="primary"
|
|
2929
|
+
>
|
|
2930
|
+
${this.localize.term("save")}
|
|
2931
|
+
</cx-button>
|
|
2932
|
+
</div>
|
|
2933
|
+
</div>
|
|
2934
|
+
</form>
|
|
2935
|
+
</div>
|
|
2936
|
+
`;
|
|
2937
|
+
}
|
|
2938
|
+
// #endregion
|
|
2939
|
+
renderStatusFooter() {
|
|
2940
|
+
const t = r`
|
|
2941
|
+
<cx-typography class="error-message" variant="small">
|
|
2942
|
+
${this.localize.term("fileOnDemandSyncErrorMessage")}
|
|
2943
|
+
</cx-typography>
|
|
2944
|
+
`, e = () => {
|
|
2945
|
+
switch (this.connectionStatus) {
|
|
2946
|
+
case "excellent":
|
|
2947
|
+
return r`
|
|
2948
|
+
<cx-icon variant="filled" name="check_circle"></cx-icon>
|
|
2949
|
+
`;
|
|
2950
|
+
case "good":
|
|
2951
|
+
return r` <cx-icon variant="filled" name="circle"></cx-icon> `;
|
|
2952
|
+
case "bad":
|
|
2953
|
+
return r` <cx-icon variant="filled" name="circle"></cx-icon> `;
|
|
2954
|
+
}
|
|
2955
|
+
}, i = () => {
|
|
2956
|
+
switch (this.assetIndexSyncStatus) {
|
|
2957
|
+
case "loaded":
|
|
2958
|
+
return r`
|
|
2959
|
+
<cx-icon variant="filled" name="check_circle"></cx-icon>
|
|
2960
|
+
`;
|
|
2961
|
+
case "loading":
|
|
2962
|
+
return r` <cx-icon variant="filled" name="cached"></cx-icon> `;
|
|
2963
|
+
case "error":
|
|
2964
|
+
return r` <cx-icon variant="filled" name="error"></cx-icon> `;
|
|
2965
|
+
}
|
|
2966
|
+
}, o = r`<div
|
|
2967
|
+
class=${A({
|
|
2968
|
+
"connection-status": !0,
|
|
2969
|
+
"connection-status--bad": this.connectionStatus === "bad",
|
|
2970
|
+
"connection-status--excellent": this.connectionStatus === "excellent",
|
|
2971
|
+
"connection-status--good": this.connectionStatus === "good"
|
|
2972
|
+
})}
|
|
2973
|
+
>
|
|
2974
|
+
<cx-typography class="label" variant="small">
|
|
2975
|
+
${this.localize.term("connection")}
|
|
2976
|
+
</cx-typography>
|
|
2977
|
+
<cx-tooltip
|
|
2978
|
+
class="connection-status__tooltip"
|
|
2979
|
+
content=${this.connectionStatusTooltip}
|
|
2980
|
+
hoist
|
|
2981
|
+
?disabled=${!this.connectionStatusTooltip.trim()}
|
|
2982
|
+
>
|
|
2983
|
+
<div class="connection-status__value">
|
|
2984
|
+
<cx-typography variant="small">
|
|
2985
|
+
${this.connectionStatus}
|
|
2986
|
+
</cx-typography>
|
|
2987
|
+
${e()}
|
|
2988
|
+
</div>
|
|
2989
|
+
</cx-tooltip>
|
|
2990
|
+
</div>`;
|
|
2991
|
+
return r`
|
|
2992
|
+
<cx-divider class="status-footer__divider"></cx-divider>
|
|
2993
|
+
<div class="status-footer">
|
|
2994
|
+
<div class="connected-url">
|
|
2995
|
+
<cx-typography class="label" variant="small">
|
|
2996
|
+
${this.localize.term("connectedTo")}
|
|
2997
|
+
</cx-typography>
|
|
2998
|
+
<cx-line-clamp class="value-line-clamp" lines="1">
|
|
2999
|
+
<cx-typography class="value" variant="small">
|
|
3000
|
+
${this.settings.config.siteUrl}
|
|
3001
|
+
</cx-typography>
|
|
3002
|
+
</cx-line-clamp>
|
|
3003
|
+
</div>
|
|
3004
|
+
${o}
|
|
3005
|
+
<div
|
|
3006
|
+
class=${A({
|
|
3007
|
+
"asset-index-sync-status": !0,
|
|
3008
|
+
"asset-index-sync-status--error": this.assetIndexSyncStatus === "error",
|
|
3009
|
+
"asset-index-sync-status--loaded": this.assetIndexSyncStatus === "loaded",
|
|
3010
|
+
"asset-index-sync-status--loading": this.assetIndexSyncStatus === "loading"
|
|
3011
|
+
})}
|
|
3012
|
+
>
|
|
3013
|
+
<cx-typography class="label" variant="small">
|
|
3014
|
+
${this.localize.term("assetIndexSync")}
|
|
3015
|
+
</cx-typography>
|
|
3016
|
+
<div class="value">
|
|
3017
|
+
<cx-typography variant="small">
|
|
3018
|
+
${le[this.assetIndexSyncStatus]}
|
|
3019
|
+
</cx-typography>
|
|
3020
|
+
${i()}
|
|
3021
|
+
</div>
|
|
3022
|
+
</div>
|
|
3023
|
+
${g(this.assetIndexSyncStatus === "error", () => t)}
|
|
3024
|
+
</div>
|
|
3025
|
+
`;
|
|
3026
|
+
}
|
|
3027
|
+
handleConnectionURLInput(t) {
|
|
3028
|
+
this.validConnectionUrl = !0, this.siteUrl = t.target.value.trim();
|
|
3029
|
+
const e = at(this.siteUrl);
|
|
3030
|
+
V(e) || (this.validConnectionUrl = !1);
|
|
3031
|
+
}
|
|
3032
|
+
renderWelcomeView() {
|
|
3033
|
+
return r`
|
|
3034
|
+
<div class="welcome">
|
|
3035
|
+
<div class="welcome__message">
|
|
3036
|
+
<cx-typography variant="h5">
|
|
3037
|
+
${this.localize.term("welcomeToFileOnDemand")}
|
|
3038
|
+
</cx-typography>
|
|
3039
|
+
<cx-typography variant="body3">
|
|
3040
|
+
${this.localize.term("enterYourSiteUrlToConnect")}
|
|
3041
|
+
</cx-typography>
|
|
3042
|
+
</div>
|
|
3043
|
+
<form class="welcome__actions" @submit=${this.connect}>
|
|
3044
|
+
<cx-input
|
|
3045
|
+
aria-label=${this.localize.term("connectionURLInput")}
|
|
3046
|
+
class="welcome__input"
|
|
3047
|
+
placeholder="Ex: https://cortex.orangelogic.com/"
|
|
3048
|
+
value=${this.settings.config.siteUrl}
|
|
3049
|
+
@cx-input=${this.handleConnectionURLInput}
|
|
3050
|
+
></cx-input>
|
|
3051
|
+
<cx-tooltip
|
|
3052
|
+
class="welcome__connect-button__tooltip"
|
|
3053
|
+
?disabled=${this.siteUrl.trim() && this.validConnectionUrl}
|
|
3054
|
+
content=${this.siteUrl.trim() ? this.localize.term("pleaseEnterAValidUrl") : this.localize.term("connectionCannotBeEmpty")}
|
|
3055
|
+
>
|
|
3056
|
+
<cx-button
|
|
3057
|
+
type="submit"
|
|
3058
|
+
?loading=${this.isConnecting}
|
|
3059
|
+
variant="primary"
|
|
3060
|
+
class=${A({
|
|
3061
|
+
"welcome__connect-button": !0,
|
|
3062
|
+
"welcome__connect-button--disabled": !this.siteUrl.trim() || !this.validConnectionUrl
|
|
3063
|
+
})}
|
|
3064
|
+
?disabled=${!this.siteUrl.trim() || !this.validConnectionUrl}
|
|
3065
|
+
>
|
|
3066
|
+
${this.localize.term("connect")}
|
|
3067
|
+
</cx-button>
|
|
3068
|
+
</cx-tooltip>
|
|
3069
|
+
<cx-button
|
|
3070
|
+
type="button"
|
|
3071
|
+
?loading=${this.isCancellingConnection}
|
|
3072
|
+
variant="text"
|
|
3073
|
+
class=${A({
|
|
3074
|
+
"welcome__cancel-connection-button": !0
|
|
3075
|
+
})}
|
|
3076
|
+
?disabled=${!this.isConnecting}
|
|
3077
|
+
@click=${this.cancelConnection}
|
|
3078
|
+
>
|
|
3079
|
+
${this.localize.term("cancel")}
|
|
3080
|
+
</cx-button>
|
|
3081
|
+
<cx-typography class="error-message" variant="body3">
|
|
3082
|
+
${g(
|
|
3083
|
+
this.connectError,
|
|
3084
|
+
() => this.connectError,
|
|
3085
|
+
() => " "
|
|
3086
|
+
)}
|
|
3087
|
+
</cx-typography>
|
|
3088
|
+
</form>
|
|
3089
|
+
</div>
|
|
3090
|
+
`;
|
|
3091
|
+
}
|
|
3092
|
+
renderView() {
|
|
3093
|
+
return this.connectionEstablished ? this.isSettingsOpened ? this.renderSettingsView() : this.renderAssetsView() : this.renderWelcomeView();
|
|
3094
|
+
}
|
|
3095
|
+
renderLoadingOverlay() {
|
|
3096
|
+
return r`
|
|
3097
|
+
<div class="loading-overlay">
|
|
3098
|
+
<cx-spinner></cx-spinner>
|
|
3099
|
+
</div>
|
|
3100
|
+
`;
|
|
3101
|
+
}
|
|
3102
|
+
render() {
|
|
3103
|
+
return r`
|
|
3104
|
+
<div
|
|
3105
|
+
class=${A({
|
|
3106
|
+
container: !0,
|
|
3107
|
+
"container--connected": this.connectionEstablished,
|
|
3108
|
+
"container--user-interaction-blocked": this.userInteractionBlocked
|
|
3109
|
+
})}
|
|
3110
|
+
>
|
|
3111
|
+
${this.renderView()}
|
|
3112
|
+
${g(this.userInteractionBlocked, () => this.renderLoadingOverlay())}
|
|
3113
|
+
</div>
|
|
3114
|
+
`;
|
|
3115
|
+
}
|
|
3116
|
+
// #endregion
|
|
3117
|
+
};
|
|
3118
|
+
n.styles = Me;
|
|
3119
|
+
n.dependencies = {
|
|
3120
|
+
"cx-avatar": Lt,
|
|
3121
|
+
"cx-button": Rt,
|
|
3122
|
+
"cx-confirm-popover": Kt,
|
|
3123
|
+
"cx-dialog": Pt,
|
|
3124
|
+
"cx-divider": Ft,
|
|
3125
|
+
"cx-folder-tree": y,
|
|
3126
|
+
"cx-format-bytes": Ut,
|
|
3127
|
+
"cx-icon": lt,
|
|
3128
|
+
"cx-icon-button": kt,
|
|
3129
|
+
"cx-input": Ot,
|
|
3130
|
+
"cx-line-clamp": dt,
|
|
3131
|
+
"cx-option": Nt,
|
|
3132
|
+
"cx-progress-bar": jt,
|
|
3133
|
+
"cx-relative-time": Mt,
|
|
3134
|
+
"cx-select": Bt,
|
|
3135
|
+
"cx-space": Vt,
|
|
3136
|
+
"cx-tab": Ht,
|
|
3137
|
+
"cx-tab-group": Wt,
|
|
3138
|
+
"cx-tab-panel": Gt,
|
|
3139
|
+
"cx-tooltip": qt,
|
|
3140
|
+
"cx-tree": ut,
|
|
3141
|
+
"cx-tree-item": pt,
|
|
3142
|
+
"cx-typography": Yt
|
|
3143
|
+
};
|
|
3144
|
+
c([
|
|
3145
|
+
R(".container")
|
|
3146
|
+
], n.prototype, "container", 2);
|
|
3147
|
+
c([
|
|
3148
|
+
R("cx-folder-tree")
|
|
3149
|
+
], n.prototype, "folderTree", 2);
|
|
3150
|
+
c([
|
|
3151
|
+
R("cx-dialog")
|
|
3152
|
+
], n.prototype, "dialog", 2);
|
|
3153
|
+
c([
|
|
3154
|
+
R(".recent__list")
|
|
3155
|
+
], n.prototype, "recentAssetsList", 2);
|
|
3156
|
+
c([
|
|
3157
|
+
R(".favorites__list")
|
|
3158
|
+
], n.prototype, "favoritesAssetsList", 2);
|
|
3159
|
+
c([
|
|
3160
|
+
R(".uploads__list")
|
|
3161
|
+
], n.prototype, "uploadsAssetsList", 2);
|
|
3162
|
+
c([
|
|
3163
|
+
R(".assets-list__tab-group")
|
|
3164
|
+
], n.prototype, "assetsListTabGroup", 2);
|
|
3165
|
+
c([
|
|
3166
|
+
R(".settings__cache__location__value__text")
|
|
3167
|
+
], n.prototype, "cacheLocationValueText", 2);
|
|
3168
|
+
c([
|
|
3169
|
+
p({
|
|
3170
|
+
attribute: "connection-established",
|
|
3171
|
+
type: Boolean
|
|
3172
|
+
})
|
|
3173
|
+
], n.prototype, "connectionEstablished", 2);
|
|
3174
|
+
c([
|
|
3175
|
+
p({
|
|
3176
|
+
attribute: "connection-status",
|
|
3177
|
+
reflect: !0,
|
|
3178
|
+
type: String
|
|
3179
|
+
})
|
|
3180
|
+
], n.prototype, "connectionStatus", 2);
|
|
3181
|
+
c([
|
|
3182
|
+
p({
|
|
3183
|
+
attribute: "connection-status-tooltip",
|
|
3184
|
+
type: String
|
|
3185
|
+
})
|
|
3186
|
+
], n.prototype, "connectionStatusTooltip", 2);
|
|
3187
|
+
c([
|
|
3188
|
+
p({
|
|
3189
|
+
attribute: "asset-index-sync-status",
|
|
3190
|
+
reflect: !0,
|
|
3191
|
+
type: String
|
|
3192
|
+
})
|
|
3193
|
+
], n.prototype, "assetIndexSyncStatus", 2);
|
|
3194
|
+
c([
|
|
3195
|
+
p({
|
|
3196
|
+
attribute: "user-avatar-url",
|
|
3197
|
+
type: String
|
|
3198
|
+
})
|
|
3199
|
+
], n.prototype, "userAvatarUrl", 2);
|
|
3200
|
+
c([
|
|
3201
|
+
p({
|
|
3202
|
+
type: String
|
|
3203
|
+
})
|
|
3204
|
+
], n.prototype, "username", 2);
|
|
3205
|
+
c([
|
|
3206
|
+
p({
|
|
3207
|
+
attribute: "recent-assets",
|
|
3208
|
+
type: Object
|
|
3209
|
+
})
|
|
3210
|
+
], n.prototype, "recentAssets", 2);
|
|
3211
|
+
c([
|
|
3212
|
+
p({
|
|
3213
|
+
attribute: "favorite-assets",
|
|
3214
|
+
type: Object
|
|
3215
|
+
})
|
|
3216
|
+
], n.prototype, "favoriteAssets", 2);
|
|
3217
|
+
c([
|
|
3218
|
+
p({
|
|
3219
|
+
attribute: "favorite-last-sync",
|
|
3220
|
+
type: Number
|
|
3221
|
+
})
|
|
3222
|
+
], n.prototype, "favoritesLastSync", 2);
|
|
3223
|
+
c([
|
|
3224
|
+
p({
|
|
3225
|
+
attribute: "favorite-in-progress-assets",
|
|
3226
|
+
converter: {
|
|
3227
|
+
fromAttribute: (t) => t.split(" ").map(Number),
|
|
3228
|
+
toAttribute: (t) => t.join(" ")
|
|
3229
|
+
},
|
|
3230
|
+
type: String
|
|
3231
|
+
})
|
|
3232
|
+
], n.prototype, "favoriteInProgressAssets", 2);
|
|
3233
|
+
c([
|
|
3234
|
+
p({
|
|
3235
|
+
attribute: "uploading-assets",
|
|
3236
|
+
type: Object
|
|
3237
|
+
})
|
|
3238
|
+
], n.prototype, "uploadingAssets", 2);
|
|
3239
|
+
c([
|
|
3240
|
+
x()
|
|
3241
|
+
], n.prototype, "availableFolderIdentifiers", 2);
|
|
3242
|
+
c([
|
|
3243
|
+
x()
|
|
3244
|
+
], n.prototype, "isLoading", 2);
|
|
3245
|
+
c([
|
|
3246
|
+
p({
|
|
3247
|
+
attribute: "settings",
|
|
3248
|
+
type: Object
|
|
3249
|
+
})
|
|
3250
|
+
], n.prototype, "settings", 2);
|
|
3251
|
+
c([
|
|
3252
|
+
p({ attribute: "pick-cache-location" })
|
|
3253
|
+
], n.prototype, "pickCacheLocation", 2);
|
|
3254
|
+
c([
|
|
3255
|
+
p({
|
|
3256
|
+
attribute: "has-new-version",
|
|
3257
|
+
type: Boolean
|
|
3258
|
+
})
|
|
3259
|
+
], n.prototype, "hasNewVersion", 2);
|
|
3260
|
+
c([
|
|
3261
|
+
p({
|
|
3262
|
+
attribute: "about-content",
|
|
3263
|
+
type: String
|
|
3264
|
+
})
|
|
3265
|
+
], n.prototype, "aboutContent", 2);
|
|
3266
|
+
c([
|
|
3267
|
+
p({ type: String })
|
|
3268
|
+
], n.prototype, "token", 2);
|
|
3269
|
+
c([
|
|
3270
|
+
p({
|
|
3271
|
+
attribute: "user-interaction-blocked",
|
|
3272
|
+
type: Boolean
|
|
3273
|
+
})
|
|
3274
|
+
], n.prototype, "userInteractionBlocked", 2);
|
|
3275
|
+
c([
|
|
3276
|
+
p({
|
|
3277
|
+
attribute: "is-connecting",
|
|
3278
|
+
type: Boolean
|
|
3279
|
+
})
|
|
3280
|
+
], n.prototype, "isConnecting", 2);
|
|
3281
|
+
c([
|
|
3282
|
+
p({
|
|
3283
|
+
attribute: "is-cancelling-connection",
|
|
3284
|
+
type: Boolean
|
|
3285
|
+
})
|
|
3286
|
+
], n.prototype, "isCancellingConnection", 2);
|
|
3287
|
+
c([
|
|
3288
|
+
p({
|
|
3289
|
+
attribute: "is-disconnecting",
|
|
3290
|
+
type: Boolean
|
|
3291
|
+
})
|
|
3292
|
+
], n.prototype, "isDisconnecting", 2);
|
|
3293
|
+
c([
|
|
3294
|
+
p({
|
|
3295
|
+
attribute: "is-upgrading",
|
|
3296
|
+
type: Boolean
|
|
3297
|
+
})
|
|
3298
|
+
], n.prototype, "isUpgrading", 2);
|
|
3299
|
+
c([
|
|
3300
|
+
x()
|
|
3301
|
+
], n.prototype, "isSettingsOpened", 2);
|
|
3302
|
+
c([
|
|
3303
|
+
x()
|
|
3304
|
+
], n.prototype, "rootIDs", 2);
|
|
3305
|
+
c([
|
|
3306
|
+
x()
|
|
3307
|
+
], n.prototype, "_activeFoldersMode", 2);
|
|
3308
|
+
c([
|
|
3309
|
+
x()
|
|
3310
|
+
], n.prototype, "removedIds", 2);
|
|
3311
|
+
c([
|
|
3312
|
+
x()
|
|
3313
|
+
], n.prototype, "cacheSize", 2);
|
|
3314
|
+
c([
|
|
3315
|
+
x()
|
|
3316
|
+
], n.prototype, "cacheLocation", 2);
|
|
3317
|
+
c([
|
|
3318
|
+
x()
|
|
3319
|
+
], n.prototype, "proxyTypes", 2);
|
|
3320
|
+
c([
|
|
3321
|
+
x()
|
|
3322
|
+
], n.prototype, "siteUrl", 2);
|
|
3323
|
+
c([
|
|
3324
|
+
x()
|
|
3325
|
+
], n.prototype, "isRecentAssetsLoading", 2);
|
|
3326
|
+
c([
|
|
3327
|
+
x()
|
|
3328
|
+
], n.prototype, "isFavoriteAssetsLoading", 2);
|
|
3329
|
+
c([
|
|
3330
|
+
x()
|
|
3331
|
+
], n.prototype, "isUploadingAssetsLoading", 2);
|
|
3332
|
+
c([
|
|
3333
|
+
x()
|
|
3334
|
+
], n.prototype, "connectError", 2);
|
|
3335
|
+
c([
|
|
3336
|
+
x()
|
|
3337
|
+
], n.prototype, "disconnectError", 2);
|
|
3338
|
+
c([
|
|
3339
|
+
x()
|
|
3340
|
+
], n.prototype, "upgradeError", 2);
|
|
3341
|
+
c([
|
|
3342
|
+
x()
|
|
3343
|
+
], n.prototype, "totalCount", 2);
|
|
3344
|
+
c([
|
|
3345
|
+
x()
|
|
3346
|
+
], n.prototype, "folderPathsSet", 2);
|
|
3347
|
+
c([
|
|
3348
|
+
x()
|
|
3349
|
+
], n.prototype, "validConnectionUrl", 2);
|
|
3350
|
+
c([
|
|
3351
|
+
x()
|
|
3352
|
+
], n.prototype, "isAddingRootIDs", 2);
|
|
3353
|
+
c([
|
|
3354
|
+
L(["connectionEstablished", "token"])
|
|
3355
|
+
], n.prototype, "fetchData", 1);
|
|
3356
|
+
c([
|
|
3357
|
+
L(["connectionEstablished"])
|
|
3358
|
+
], n.prototype, "showRecentTab", 1);
|
|
3359
|
+
c([
|
|
3360
|
+
L("settings")
|
|
3361
|
+
], n.prototype, "updateSettingsStates", 1);
|
|
3362
|
+
c([
|
|
3363
|
+
L("recentAssets")
|
|
3364
|
+
], n.prototype, "onRecentAssetsChanged", 1);
|
|
3365
|
+
c([
|
|
3366
|
+
L("favoriteAssets")
|
|
3367
|
+
], n.prototype, "onFavoriteAssetsChanged", 1);
|
|
3368
|
+
c([
|
|
3369
|
+
L("uploadingAssets")
|
|
3370
|
+
], n.prototype, "onUploadingAssetsChanged", 1);
|
|
3371
|
+
c([
|
|
3372
|
+
x()
|
|
3373
|
+
], n.prototype, "searchText", 2);
|
|
3374
|
+
c([
|
|
3375
|
+
L(["searchText"]),
|
|
3376
|
+
Zt(200)
|
|
3377
|
+
], n.prototype, "onSearch", 1);
|
|
3378
|
+
c([
|
|
3379
|
+
L("cacheLocation")
|
|
3380
|
+
], n.prototype, "handleCacheLocationChange", 1);
|
|
3381
|
+
n = c([
|
|
3382
|
+
K("cx-file-on-demand")
|
|
3383
|
+
], n);
|
|
3384
|
+
export {
|
|
3385
|
+
n as C,
|
|
3386
|
+
As as U,
|
|
3387
|
+
at as a,
|
|
3388
|
+
Pe as b,
|
|
3389
|
+
Oe as c,
|
|
3390
|
+
nt as d,
|
|
3391
|
+
Ue as e,
|
|
3392
|
+
Ne as f,
|
|
3393
|
+
je as i,
|
|
3394
|
+
Ce as o,
|
|
3395
|
+
Re as s
|
|
3396
|
+
};
|