@orangelogic/design-system 2.60.0 → 2.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/library/apps/cortex/src/types.d.ts +2 -0
- package/library/chunks/_baseRest.ClTMQtN1.js +67 -0
- package/library/chunks/{_baseUniq.BUihBa8c.js → _baseUniq.Df-fLIBx.js} +53 -56
- package/library/chunks/{amazon_s3.DeaMdPPn.js → amazon_s3.BEMtqafk.js} +1 -1
- package/library/chunks/animate.El-MpOws.js +37 -0
- package/library/chunks/animation-registry.HmpwNuGH.js +34 -0
- package/library/chunks/{animation.B7d72NVK.js → animation.DfUHRQry.js} +10 -8
- package/library/chunks/array.DCtvHiLS.js +81 -0
- package/library/chunks/asset.CG_yXtWK.js +288 -0
- package/library/chunks/{browser.Va59Ix3P.js → browser.BHOCIF_A.js} +18 -16
- package/library/chunks/{button.CtCSNRB3.js → button.P71VJ5xh.js} +75 -74
- package/library/chunks/{button.styles.C8AIO8fd.js → button.styles.Dl5IQLHU.js} +1 -1
- package/library/chunks/{capitalize.CNStXZBq.js → capitalize.WSkCXkNE.js} +1 -1
- package/library/chunks/{chatbot.sm4Rph1v.js → chatbot.BmpIu59L.js} +2 -2
- package/library/chunks/{class-map.CoZTSvbM.js → class-map.BiVq-cVR.js} +1 -1
- package/library/chunks/{color-swatch-group.qJevXs50.js → color-swatch-group.DlLmydlB.js} +116 -127
- package/library/chunks/color-swatch.Bpb_hW2H.js +407 -0
- package/library/chunks/color.vLD2sNTs.js +164 -0
- package/library/chunks/{component.styles.CI-v8BZa.js → component.styles.DMSLciL5.js} +1 -1
- package/library/chunks/{confirm-popover.D2TF1x6K.js → confirm-popover.C1uA36JR.js} +15 -13
- package/library/chunks/{content-builder.WranV3P4.js → content-builder.Bf7kqzDI.js} +1 -1
- package/library/chunks/converters.DkDtLstb.js +11 -0
- package/library/chunks/{cropper.aA0v16xS.js → cropper.BraEEykE.js} +5004 -5024
- package/library/chunks/custom-element.L4WJXn1j.js +14 -0
- package/library/chunks/debounce.DaHuiSGU.js +15 -0
- package/library/chunks/{default-value.CIKAvD5l.js → default-value.COZopaet.js} +1 -1
- package/library/chunks/{dialog.B1TORO6S.js → dialog.C_75RVVz.js} +52 -49
- package/library/chunks/{directive-helpers.DBHob-_L.js → directive-helpers.Dm4rc594.js} +1 -1
- package/library/chunks/dom.CZrJ64Dm.js +92 -0
- package/library/chunks/{dot-pagination.8f2oX_ge.js → dot-pagination.CoCIJsHC.js} +24 -22
- package/library/chunks/{endpoints.BgyupJys.js → endpoints.B7lcoc1N.js} +1 -3
- package/library/chunks/{file-on-demand.Cwgabdyw.js → file-on-demand.B2jNilAj.js} +1829 -1544
- package/library/chunks/{folder-select.DiWCwR-T.js → folder-select.CSEQxIXF.js} +380 -255
- package/library/chunks/{form-control.styles.NE2Q-quE.js → form-control.styles.CUGhvlfT.js} +1 -1
- package/library/chunks/{form.B8u0ywni.js → form.CO12-VK0.js} +1 -1
- package/library/chunks/{guard.BDP4A85K.js → guard.D4axKaMo.js} +1 -1
- package/library/chunks/{header.B_FD8uLt.js → header.Bd3G0-oA.js} +11 -9
- package/library/chunks/{hub-connection.CxfaT11o.js → hub-connection.BxT2b7Nq.js} +4 -3
- package/library/chunks/{i18n.BP2FRO1v.js → i18n.DrzK7TPf.js} +54 -7
- package/library/chunks/identity.ByMq8VxU.js +6 -0
- package/library/chunks/{if-defined.MfEgpxEN.js → if-defined.BRoBj_Rp.js} +1 -1
- package/library/chunks/{iframe.DZm7FiCl.js → iframe.UCj6Ze2A.js} +18 -16
- package/library/chunks/{image.Ycf8RudS.js → image.DZCRhE3G.js} +82 -79
- package/library/chunks/image.mbpyiQpQ.js +82 -0
- package/library/chunks/index.S0wy3rzm.js +373 -0
- package/library/chunks/isObjectLike.D3cpZO39.js +81 -0
- package/library/chunks/{isSymbol.L0C2ND_U.js → isSymbol.huJ_Cvxt.js} +1 -1
- package/library/chunks/lib-cortex-element.CVMmyPMC.js +146 -0
- package/library/chunks/{list-editor.COkw5JKG.js → list-editor.CrLntuM7.js} +75 -79
- package/library/chunks/{custom-element.vnXBMQxc.js → lit-element.jLBm65_O.js} +123 -277
- package/library/chunks/{live.LdB9xEhp.js → live.SCz6M8Gs.js} +2 -2
- package/library/chunks/{mailchimp.BjbPJfd-.js → mailchimp.Bs6uJVsf.js} +1 -1
- package/library/chunks/{modal.BqNLxgs1.js → modal.U1QltQKe.js} +25 -19
- package/library/chunks/{option.D9KJhzHs.js → option.D1u5-cTt.js} +21 -19
- package/library/chunks/{orangelogic.BgbQXkBv.js → orangelogic.TdFfoPUN.js} +1 -1
- package/library/chunks/{overlayscrollbars.aFuRG5Rs.js → overlayscrollbars.XhGWx9Zk.js} +1 -1
- package/library/chunks/{pagination.C2FN4fmO.js → pagination.BI3LONVU.js} +17 -15
- package/library/chunks/{ref.BaCjlzLO.js → ref.bzeTdX0K.js} +2 -2
- package/library/chunks/{repeat.CauKaXyy.js → repeat.DbF2p5ae.js} +2 -2
- package/library/chunks/responsive.CA6dcNiM.js +17 -0
- package/library/chunks/{scroll.DwPiX2Ox.js → scroll.xtO5yojm.js} +3 -2
- package/library/chunks/{slot.DJLm4Dig.js → slot.j5oheLJC.js} +12 -4
- package/library/chunks/{state.Cw55xXlb.js → state.CSDxrqLd.js} +1 -1
- package/library/chunks/{static.BjNkqt7_.js → static.UA3G1Deq.js} +1 -1
- package/library/chunks/string.Cp_XNbnV.js +160 -0
- package/library/chunks/{style-map.CZovMmo_.js → style-map.llVFPd__.js} +1 -1
- package/library/chunks/{tab-group.5fLnWflv.js → tab-group.DxSlcWK0.js} +20 -18
- package/library/chunks/{table.BAr8KKc6.js → table.CY-iMTWV.js} +457 -505
- package/library/chunks/template.CsJd8Pb_.js +20 -0
- package/library/chunks/time.D_uFZqqe.js +118 -0
- package/library/chunks/{toString.CL_lYXbK.js → toString.CRT5zqEU.js} +3 -3
- package/library/chunks/toast.BXNbwZV8.js +25 -0
- package/library/chunks/{tree.CUfvIDyA.js → tree.CNbrP8cY.js} +33 -36
- package/library/chunks/{typography.BFpl0WMA.js → typography.oDzoLbZS.js} +16 -14
- package/library/chunks/{unsafe-html.DyO9_Rsq.js → unsafe-html.Dff7-rCx.js} +1 -1
- package/library/chunks/url.LjsR2sB5.js +15 -0
- package/library/chunks/user-agent.D9aPuOyL.js +4 -0
- package/library/chunks/watch.q1sEjPWL.js +501 -0
- package/library/components/alert.js +38 -35
- package/library/components/animated-image.js +25 -23
- package/library/components/animation.js +7 -5
- package/library/components/array-line-clamp.d.ts +3 -0
- package/library/components/array-line-clamp.js +195 -0
- package/library/components/asset-link-format.js +223 -212
- package/library/components/atoms.js +164 -162
- package/library/components/avatar.js +28 -26
- package/library/components/badge.js +10 -8
- package/library/components/bicolor-picker.js +21 -19
- package/library/components/border-input-group.js +11 -9
- package/library/components/breadcrumb-item.js +14 -12
- package/library/components/breadcrumb.js +24 -22
- package/library/components/button-group.js +26 -24
- package/library/components/button.js +14 -13
- package/library/components/card.js +28 -19
- package/library/components/checkbox.js +29 -23
- package/library/components/color-picker.js +19 -17
- package/library/components/color-swatch-group.js +20 -17
- package/library/components/color-swatch.js +16 -13
- package/library/components/confirm-popover.js +11 -9
- package/library/components/copy-button.js +15 -13
- package/library/components/corner-position-input-group.js +13 -11
- package/library/components/cortex-element.d.ts +3 -0
- package/library/components/cortex-element.js +5 -0
- package/library/components/cropper.js +7 -5
- package/library/components/details.js +23 -20
- package/library/components/dialog.js +19 -16
- package/library/components/divider.js +13 -11
- package/library/components/dot-pagination.js +11 -9
- package/library/components/dot-status.js +10 -8
- package/library/components/drawer.js +63 -51
- package/library/components/dropdown.js +29 -26
- package/library/components/dynamic-select.js +12 -10
- package/library/components/element-clamp.js +28 -25
- package/library/components/file-on-demand.js +21 -20
- package/library/components/folder-select.js +12 -10
- package/library/components/format-bytes.js +11 -10
- package/library/components/format-date.js +11 -9
- package/library/components/format-number.js +16 -15
- package/library/components/format-time.js +118 -9
- package/library/components/grid-item.js +48 -46
- package/library/components/grid.js +31 -29
- package/library/components/header.js +10 -9
- package/library/components/hub-connection.js +6 -5
- package/library/components/icon-button.js +20 -18
- package/library/components/icon.js +17 -15
- package/library/components/iframe.js +10 -8
- package/library/components/image-comparer.js +27 -25
- package/library/components/image.js +14 -11
- package/library/components/include.js +26 -24
- package/library/components/input-group.js +15 -13
- package/library/components/input.js +23 -21
- package/library/components/line-clamp.js +12 -10
- package/library/components/list-editor.js +17 -15
- package/library/components/markdown.js +80 -78
- package/library/components/masonry.js +46 -44
- package/library/components/menu-item.js +151 -136
- package/library/components/menu-label.js +15 -13
- package/library/components/menu-section.js +18 -16
- package/library/components/menu.js +10 -8
- package/library/components/molecules.js +5 -5
- package/library/components/mutation-observer.js +12 -10
- package/library/components/option.js +10 -8
- package/library/components/organisms.js +2 -2
- package/library/components/padding-input-group.js +30 -28
- package/library/components/pagination.js +14 -12
- package/library/components/popup.js +3296 -9
- package/library/components/position-picker.js +12 -10
- package/library/components/progress-bar.js +13 -11
- package/library/components/progress-ring.js +15 -13
- package/library/components/qr-code.js +54 -52
- package/library/components/radio-button.js +19 -17
- package/library/components/radio-card.js +14 -12
- package/library/components/radio-group.js +20 -18
- package/library/components/radio.js +15 -13
- package/library/components/range.js +25 -23
- package/library/components/rating.js +17 -15
- package/library/components/relative-time.js +16 -14
- package/library/components/resize-observer.js +21 -19
- package/library/components/select.js +1442 -25
- package/library/components/shadow-input-group.js +19 -17
- package/library/components/share-option-list.js +20 -18
- package/library/components/sidebar.js +14 -12
- package/library/components/size-input-group.js +35 -33
- package/library/components/skeleton.js +12 -10
- package/library/components/space.js +12 -10
- package/library/components/spinner.js +17 -15
- package/library/components/split-panel.js +15 -13
- package/library/components/step.js +18 -16
- package/library/components/stepper-wizard.js +11 -9
- package/library/components/stepper.js +13 -11
- package/library/components/switch.js +21 -19
- package/library/components/tab-group.js +15 -13
- package/library/components/tab-panel.js +20 -18
- package/library/components/tab.js +18 -16
- package/library/components/table.js +69 -67
- package/library/components/tag.js +11 -9
- package/library/components/textarea.js +20 -18
- package/library/components/timecode.js +98 -8
- package/library/components/tooltip.js +24 -21
- package/library/components/tree-item.js +14 -11
- package/library/components/tree.js +12 -10
- package/library/components/typeface.js +13 -11
- package/library/components/types.js +15487 -15444
- package/library/components/typography.js +6 -4
- package/library/components/video.js +13 -11
- package/library/components/visually-hidden.js +15 -13
- package/library/events.d.ts +1 -0
- package/library/events.js +1 -0
- package/library/package.json +11 -2
- package/library/packages/atoms/src/components/array-line-clamp/array-line-clamp.d.ts +45 -0
- package/library/packages/atoms/src/components/array-line-clamp/array-line-clamp.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/checkbox/checkbox.d.ts +2 -0
- package/library/packages/atoms/src/components/drawer/drawer.d.ts +7 -1
- package/library/packages/atoms/src/components/include/include.d.ts +1 -0
- package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +2 -0
- package/library/packages/atoms/src/components/tree/tree.d.ts +0 -4
- package/library/packages/atoms/src/index.d.ts +1 -0
- package/library/packages/events/src/cx-file-on-demand-load-more.d.ts +8 -0
- package/library/packages/events/src/cx-file-on-demand-pin.d.ts +8 -0
- package/library/packages/events/src/cx-file-on-demand-unpin.d.ts +8 -0
- package/library/packages/events/src/cx-folder-select-search-term-change.d.ts +8 -0
- package/library/packages/events/src/cx-share-option-list-item-selected.d.ts +8 -0
- package/library/packages/events/src/events.d.ts +6 -2
- package/library/packages/molecules/src/asset-picker/asset-picker.d.ts +2 -0
- package/library/packages/molecules/src/cropper/cropper.d.ts +1 -0
- package/library/packages/molecules/src/cropper/react/Cropper.d.ts +1 -0
- package/library/packages/molecules/src/download-format-picker/download-format-picker.d.ts +1 -0
- package/library/packages/molecules/src/folder-select/components/folder-select-tree/folder-select-tree.d.ts +8 -0
- package/library/packages/molecules/src/folder-select/components/folder-select-tree-item/folder-select-tree-item.d.ts +1 -0
- package/library/packages/molecules/src/folder-select/folder-select.d.ts +6 -1
- package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +3 -7
- package/library/packages/organisms/src/content-builder/styleController.d.ts +8 -8
- package/library/packages/organisms/src/file-on-demand/components/file-on-demand-asset/file-on-demand-asset.d.ts +80 -0
- package/library/packages/organisms/src/file-on-demand/components/file-on-demand-asset/file-on-demand-asset.styles.d.ts +2 -0
- package/library/packages/organisms/src/file-on-demand/components/file-on-demand-pinned-status.ts/file-on-demand-pinned-status.d.ts +44 -0
- package/library/packages/organisms/src/file-on-demand/file-on-demand.constants.d.ts +1 -0
- package/library/packages/organisms/src/file-on-demand/file-on-demand.d.ts +11 -18
- package/library/packages/organisms/src/file-on-demand/file-on-demand.utils.d.ts +6 -0
- package/library/packages/services/src/api/folder/folder.d.ts +4 -8
- package/library/packages/services/src/api/folder/folder.types.d.ts +2 -1
- package/library/packages/types/src/file-on-demand.d.ts +4 -0
- package/library/packages/types/src/folder-select.d.ts +9 -2
- package/library/packages/utils/src/custom-element/i18n.d.ts +40 -2
- package/library/packages/utils/src/drag-scroll/drag-scroll.d.ts +22 -0
- package/library/packages/utils/src/drag-scroll/index.d.ts +1 -0
- package/library/packages/utils/src/font/font.d.ts +26 -0
- package/library/packages/utils/src/font/index.d.ts +1 -0
- package/library/packages/utils/src/history-manager/history-manager.d.ts +13 -0
- package/library/packages/utils/src/history-manager/index.d.ts +1 -0
- package/library/packages/utils/src/index.d.ts +45 -0
- package/library/packages/utils/src/template/index.d.ts +1 -0
- package/library/packages/utils/src/template/template.d.ts +3 -0
- package/library/react-web-component.d.ts +418 -360
- package/library/utils.d.ts +1 -0
- package/library/utils.js +180 -0
- package/package.json +11 -2
- package/library/chunks/animation-registry.DavRkTTr.js +0 -69
- package/library/chunks/asset.Ba-CxnNM.js +0 -309
- package/library/chunks/color-swatch.DUe3iLLo.js +0 -558
- package/library/chunks/dom.C0OFx7ND.js +0 -78
- package/library/chunks/format-time.BW6-ZWCX.js +0 -226
- package/library/chunks/isObjectLike.z36Fu426.js +0 -34
- package/library/chunks/popup._w5T7x8f.js +0 -3307
- package/library/chunks/select.DfO4de04.js +0 -1441
- package/library/chunks/string.BCk3SmdZ.js +0 -144
- package/library/chunks/timecode.D7XTiQ_3.js +0 -105
- package/library/chunks/watch.BCJD77bD.js +0 -547
- package/library/packages/events/src/cx-load-more.d.ts +0 -8
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import "../chunks/
|
|
2
|
-
import "../chunks/component.styles.
|
|
3
|
-
import { C as
|
|
1
|
+
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
+
import "../chunks/component.styles.DMSLciL5.js";
|
|
3
|
+
import { C as a } from "../chunks/typography.oDzoLbZS.js";
|
|
4
|
+
import "../chunks/custom-element.L4WJXn1j.js";
|
|
5
|
+
import "../chunks/lit-element.jLBm65_O.js";
|
|
4
6
|
export {
|
|
5
|
-
|
|
7
|
+
a as default
|
|
6
8
|
};
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { a as Ab, c as ps, g as kn } from "../chunks/_commonjsHelpers.ByX85dGu.js";
|
|
2
|
-
import { r as Tb, C as Eb, R as wb } from "../chunks/image.
|
|
2
|
+
import { r as Tb, C as Eb, R as wb } from "../chunks/image.DZCRhE3G.js";
|
|
3
3
|
import Sb from "./resize-observer.js";
|
|
4
|
-
import { c as Cb } from "../chunks/component.styles.
|
|
5
|
-
import { b as Mb } from "../chunks/browser.
|
|
6
|
-
import {
|
|
7
|
-
import { L as
|
|
8
|
-
import { w as Bn } from "../chunks/watch.
|
|
9
|
-
import {
|
|
4
|
+
import { c as Cb } from "../chunks/component.styles.DMSLciL5.js";
|
|
5
|
+
import { b as Mb } from "../chunks/browser.BHOCIF_A.js";
|
|
6
|
+
import { c as Db } from "../chunks/custom-element.L4WJXn1j.js";
|
|
7
|
+
import { L as Pb } from "../chunks/i18n.DrzK7TPf.js";
|
|
8
|
+
import { w as Bn } from "../chunks/watch.q1sEjPWL.js";
|
|
9
|
+
import { i as Lb, x as Kc } from "../chunks/lit-element.jLBm65_O.js";
|
|
10
|
+
import { n as ki } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
11
|
+
import { r as Fn } from "../chunks/state.CSDxrqLd.js";
|
|
10
12
|
import { e as ao } from "../chunks/query.BBf1UFkC.js";
|
|
11
13
|
import { r as Rb } from "../chunks/query-async.CTgXGyQ5.js";
|
|
12
|
-
import { e as Dp } from "../chunks/class-map.
|
|
14
|
+
import { e as Dp } from "../chunks/class-map.BiVq-cVR.js";
|
|
13
15
|
import { n as Pp } from "../chunks/when.Dr1es41R.js";
|
|
14
16
|
function Qe(e) {
|
|
15
17
|
if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -46901,7 +46903,7 @@ const G3 = function(e) {
|
|
|
46901
46903
|
};
|
|
46902
46904
|
re.registerPlugin("qualityLevels", F_);
|
|
46903
46905
|
F_.VERSION = B_;
|
|
46904
|
-
const V3 = 5e3, z3 = 500, H3 =
|
|
46906
|
+
const V3 = 5e3, z3 = 500, H3 = Lb`
|
|
46905
46907
|
:host {
|
|
46906
46908
|
--border-radius: 0px;
|
|
46907
46909
|
--border: 0px;
|
|
@@ -49291,7 +49293,7 @@ var W3 = Object.defineProperty, q3 = Object.getOwnPropertyDescriptor, Bt = (e, t
|
|
|
49291
49293
|
};
|
|
49292
49294
|
let Pt = class extends wb {
|
|
49293
49295
|
constructor() {
|
|
49294
|
-
super(), this.localize = new
|
|
49296
|
+
super(), this.localize = new Pb(this), this.src = "", this.name = "", this.nameSourceField = "", this.type = "", this.poster = "", this.autoplay = !1, this.loop = !1, this.muted = !1, this.showControls = !1, this.disablePictureInPicture = !1, this.disableRemotePlayback = !1, this.disableVolumePanel = !1, this.isLoaded = !1, this.isPlaying = !1, this.isError = !1, this.isFullscreen = !1, this.player = null, this.videoWidth = 0, this.videoHeight = 0, this.autoPlayTimeout = null, this.parsedName = "", this.onPause = this.onPause.bind(this), this.onPlay = this.onPlay.bind(this), this.onTimeUpdate = this.onTimeUpdate.bind(this), this.onEnded = this.onEnded.bind(this), this.onSeeked = this.onSeeked.bind(this), this.onFullscreenChange = this.onFullscreenChange.bind(this), this.onLoadedMetadata = this.onLoadedMetadata.bind(this), this.onError = this.onError.bind(this);
|
|
49295
49297
|
}
|
|
49296
49298
|
/**
|
|
49297
49299
|
* The current time of the video.
|
|
@@ -49639,7 +49641,7 @@ Bt([
|
|
|
49639
49641
|
Bn("parsedName", { waitUntilFirstUpdate: !0 })
|
|
49640
49642
|
], Pt.prototype, "handleParsedNameChange", 1);
|
|
49641
49643
|
Pt = Bt([
|
|
49642
|
-
|
|
49644
|
+
Db("cx-video")
|
|
49643
49645
|
], Pt);
|
|
49644
49646
|
export {
|
|
49645
49647
|
Pt as default
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as
|
|
3
|
-
|
|
1
|
+
import { C as a } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
+
import { c as l } from "../chunks/component.styles.DMSLciL5.js";
|
|
3
|
+
import { c as m } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
+
import { i as c, x as d } from "../chunks/lit-element.jLBm65_O.js";
|
|
5
|
+
const h = c`
|
|
4
6
|
:host(:not(:focus-within)) {
|
|
5
7
|
position: absolute !important;
|
|
6
8
|
width: 1px !important;
|
|
@@ -13,20 +15,20 @@ const h = p`
|
|
|
13
15
|
padding: 0 !important;
|
|
14
16
|
}
|
|
15
17
|
`;
|
|
16
|
-
var
|
|
17
|
-
for (var t = i > 1 ? void 0 : i ?
|
|
18
|
-
(s = r[
|
|
18
|
+
var f = Object.getOwnPropertyDescriptor, u = (r, n, p, i) => {
|
|
19
|
+
for (var t = i > 1 ? void 0 : i ? f(n, p) : n, o = r.length - 1, s; o >= 0; o--)
|
|
20
|
+
(s = r[o]) && (t = s(t) || t);
|
|
19
21
|
return t;
|
|
20
22
|
};
|
|
21
|
-
let
|
|
23
|
+
let e = class extends a {
|
|
22
24
|
render() {
|
|
23
|
-
return
|
|
25
|
+
return d` <slot></slot> `;
|
|
24
26
|
}
|
|
25
27
|
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
],
|
|
28
|
+
e.styles = [l, h];
|
|
29
|
+
e = u([
|
|
30
|
+
m("cx-visually-hidden")
|
|
31
|
+
], e);
|
|
30
32
|
export {
|
|
31
|
-
|
|
33
|
+
e as default
|
|
32
34
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './packages/events/src/events'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/library/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orangelogic/design-system",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.61.0",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"types": "library/types.d.ts",
|
|
7
7
|
"scripts": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"start": "vite",
|
|
13
13
|
"open": "npx playwright test --project=chromium --ui",
|
|
14
14
|
"playwright": "npx playwright test --project=chromium",
|
|
15
|
-
"build-library": "bun run build && vite build --config ./vite.library.config.
|
|
15
|
+
"build-library": "bun run build && vite build --config ./vite.library.config.ts",
|
|
16
16
|
"publish": "./scripts/publish-if-needed.js"
|
|
17
17
|
},
|
|
18
18
|
"bin": {
|
|
@@ -30,6 +30,15 @@
|
|
|
30
30
|
"import": "./library/components/*",
|
|
31
31
|
"types": "./library/components/*.d.ts"
|
|
32
32
|
},
|
|
33
|
+
"./utils": {
|
|
34
|
+
"types": "./library/utils.d.ts",
|
|
35
|
+
"import": "./library/utils.js",
|
|
36
|
+
"default": "./library/utils.js"
|
|
37
|
+
},
|
|
38
|
+
"./events": {
|
|
39
|
+
"import": "./library/events.js",
|
|
40
|
+
"types": "./library/events.d.ts"
|
|
41
|
+
},
|
|
33
42
|
"./react-types": "./library/react-web-component.js",
|
|
34
43
|
"./css/*": "./library/css/*",
|
|
35
44
|
"./assets/*": "./library/assets/*"
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { default as CortexElement } from '../../../../base/src/cortex-element.ts';
|
|
2
|
+
import { CSSResultGroup } from 'lit';
|
|
3
|
+
import { default as CxLineClamp } from '../line-clamp/line-clamp';
|
|
4
|
+
import { default as CxResizeObserver } from '../resize-observer/resize-observer';
|
|
5
|
+
import { default as CxTag } from '../tag/tag';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* @summary Renders an array of items in a row, hiding overflow with a "+N" indicator and tooltip.
|
|
9
|
+
*
|
|
10
|
+
* @slot (default) - One or more elements; each direct child is one item. Items that overflow are hidden and summarized in the indicator tooltip.
|
|
11
|
+
*
|
|
12
|
+
* @csspart container - The items container.
|
|
13
|
+
* @csspart indicator - The "+N" tag when items are clamped.
|
|
14
|
+
*
|
|
15
|
+
* @cssproperty [--array-clamp-separator=', '] - Separator text rendered between visible items.
|
|
16
|
+
*/
|
|
17
|
+
export default class CxArrayLineClamp extends CortexElement {
|
|
18
|
+
static readonly styles: CSSResultGroup;
|
|
19
|
+
static readonly dependencies: {
|
|
20
|
+
'cx-line-clamp': typeof CxLineClamp;
|
|
21
|
+
'cx-resize-observer': typeof CxResizeObserver;
|
|
22
|
+
'cx-tag': typeof CxTag;
|
|
23
|
+
};
|
|
24
|
+
private readonly containerEl;
|
|
25
|
+
private readonly slotEl;
|
|
26
|
+
/** Separator string between visible items (e.g. ", " or "; "). */
|
|
27
|
+
separator: string;
|
|
28
|
+
/** Separator used in the tooltip for hidden items (defaults to `separator` if not set). */
|
|
29
|
+
tooltipSeparator: string;
|
|
30
|
+
private clampedMap;
|
|
31
|
+
private get totalClamped();
|
|
32
|
+
private get totalVisible();
|
|
33
|
+
private get hiddenChildrenStr();
|
|
34
|
+
private applyItemClasses;
|
|
35
|
+
private handleSlotChange;
|
|
36
|
+
private handleResize;
|
|
37
|
+
runFirstUpdated(): void;
|
|
38
|
+
handleClampedMapChange(): void;
|
|
39
|
+
render(): import('lit').TemplateResult<1>;
|
|
40
|
+
}
|
|
41
|
+
declare global {
|
|
42
|
+
interface HTMLElementTagNameMap {
|
|
43
|
+
'cx-array-line-clamp': CxArrayLineClamp;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -65,6 +65,8 @@ export default class CxCheckbox extends CortexElement implements CortexFormContr
|
|
|
65
65
|
helpText: string;
|
|
66
66
|
/** Position of the label relative to the checkbox control. Use `--checkbox-label-gap` to control the distance. */
|
|
67
67
|
labelPlacement: CxCheckboxLabelPlacement;
|
|
68
|
+
/** The checkbox's aria-label text. */
|
|
69
|
+
ariaLabel: string | null;
|
|
68
70
|
/** Gets the validity state object */
|
|
69
71
|
get validity(): ValidityState;
|
|
70
72
|
/** Gets the validation message */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as CortexElement } from '../../../../base/src/cortex-element.ts';
|
|
2
2
|
import { DrawerVariant } from '../../../../types/src/drawer';
|
|
3
3
|
import { default as Modal } from '../../../../utils/src/custom-element/modal';
|
|
4
|
-
import { CSSResultGroup } from 'lit';
|
|
4
|
+
import { CSSResultGroup, PropertyValues } from 'lit';
|
|
5
5
|
import { default as CxIconButton } from '../icon-button/icon-button';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -70,6 +70,11 @@ export default class CxDrawer extends CortexElement {
|
|
|
70
70
|
drawer: HTMLElement;
|
|
71
71
|
panel: HTMLElement;
|
|
72
72
|
overlay: HTMLElement;
|
|
73
|
+
/**
|
|
74
|
+
* Keeps `.drawer--open` sizing applied while the close animation runs so the panel is not clipped
|
|
75
|
+
* (`overflow: hidden` on `.drawer` with 0×0 size).
|
|
76
|
+
*/
|
|
77
|
+
private isClosing;
|
|
73
78
|
/**
|
|
74
79
|
* Indicates whether or not the drawer is open. You can toggle this attribute to show and hide the drawer, or you can
|
|
75
80
|
* use the `show()` and `hide()` methods and this attribute will reflect the drawer's open state.
|
|
@@ -100,6 +105,7 @@ export default class CxDrawer extends CortexElement {
|
|
|
100
105
|
noCloseButton: boolean;
|
|
101
106
|
connectedUpdatedCallback(): void;
|
|
102
107
|
disconnectedCallback(): void;
|
|
108
|
+
protected willUpdate(changed: PropertyValues): void;
|
|
103
109
|
private requestClose;
|
|
104
110
|
private addOpenListeners;
|
|
105
111
|
private removeOpenListeners;
|
|
@@ -24,6 +24,7 @@ export default class CxInclude extends CortexElement {
|
|
|
24
24
|
* code and can result in XSS attacks.
|
|
25
25
|
*/
|
|
26
26
|
allowScripts: boolean;
|
|
27
|
+
private requestInclude;
|
|
27
28
|
private executeScript;
|
|
28
29
|
handleSrcChange(): Promise<void>;
|
|
29
30
|
render(): import('lit').TemplateResult<1>;
|
|
@@ -74,6 +74,8 @@ export default class CxMenuItem extends CortexElement {
|
|
|
74
74
|
/** The shift boundary for the submenu. */
|
|
75
75
|
shiftBoundary: Element | Element[];
|
|
76
76
|
menu: string;
|
|
77
|
+
/** Whether to always show the checked icon. */
|
|
78
|
+
alwaysShowCheckedIcon: boolean;
|
|
77
79
|
/** The placement of the submenu relative to the menu item. When null/undefined, uses RTL-aware default positioning. */
|
|
78
80
|
submenuPlacement?: 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
|
|
79
81
|
/** Enables lazy loading submenu behavior. */
|
|
@@ -72,10 +72,6 @@ export default class CxTree extends CortexElement {
|
|
|
72
72
|
* Whether to disable dragging an item inside another item for this tree.
|
|
73
73
|
*/
|
|
74
74
|
noDragInside: boolean;
|
|
75
|
-
/**
|
|
76
|
-
* When partialSyncCheckboxes is true, whether to include an item if it's indeterminate but previously selected.
|
|
77
|
-
*/
|
|
78
|
-
noIndeterminatePreviouslySelected: boolean;
|
|
79
75
|
/**
|
|
80
76
|
* Indicates whether the tree items are focusable.
|
|
81
77
|
* If set to 'false', the tree items will not be focusable and will not receive focus when the user clicks on it.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { default as CxAlert } from './components/alert/alert';
|
|
2
2
|
export { default as CxAnimatedImage } from './components/animated-image/animated-image';
|
|
3
3
|
export { default as CxAnimation } from './components/animation/animation';
|
|
4
|
+
export { default as CxArrayLineClamp } from './components/array-line-clamp/array-line-clamp';
|
|
4
5
|
export { default as CxAvatar } from './components/avatar/avatar';
|
|
5
6
|
export { default as CxBadge } from './components/badge/badge';
|
|
6
7
|
export { default as CxBreadcrumb } from './components/breadcrumb/breadcrumb';
|
|
@@ -51,13 +51,13 @@ export * from './cx-download-format-picker-select';
|
|
|
51
51
|
export * from './cx-download-format-request-status';
|
|
52
52
|
export * from './cx-drag-end';
|
|
53
53
|
export * from './cx-drag-start';
|
|
54
|
-
export * from './cx-table-dropdown-filter-change';
|
|
55
54
|
export * from './cx-enter';
|
|
56
55
|
export * from './cx-error';
|
|
57
56
|
export * from './cx-expand';
|
|
58
57
|
export * from './cx-export-settings';
|
|
59
58
|
export * from './cx-finish';
|
|
60
59
|
export * from './cx-focus';
|
|
60
|
+
export * from './cx-folder-select-search-term-change';
|
|
61
61
|
export * from './cx-gallery-chunk-request';
|
|
62
62
|
export * from './cx-gallery-config-save';
|
|
63
63
|
export * from './cx-gallery-item-click';
|
|
@@ -80,7 +80,7 @@ export * from './cx-lazy-change';
|
|
|
80
80
|
export * from './cx-lazy-load';
|
|
81
81
|
export * from './cx-list-editor-change';
|
|
82
82
|
export * from './cx-load';
|
|
83
|
-
export * from './cx-load-more';
|
|
83
|
+
export * from './cx-file-on-demand-load-more';
|
|
84
84
|
export * from './cx-mark-favorite';
|
|
85
85
|
export * from './cx-masonry-select';
|
|
86
86
|
export * from './cx-mount-request-asset';
|
|
@@ -94,6 +94,7 @@ export * from './cx-page-outline-headings-count';
|
|
|
94
94
|
export * from './cx-page-outline-item-click';
|
|
95
95
|
export * from './cx-page-size-change';
|
|
96
96
|
export * from './cx-pause-upload';
|
|
97
|
+
export * from './cx-file-on-demand-pin';
|
|
97
98
|
export * from './cx-ready';
|
|
98
99
|
export * from './cx-refresh';
|
|
99
100
|
export * from './cx-register-tag';
|
|
@@ -113,6 +114,7 @@ export * from './cx-select';
|
|
|
113
114
|
export * from './cx-selected-change';
|
|
114
115
|
export * from './cx-selection-change';
|
|
115
116
|
export * from './cx-shadow-input-group-change';
|
|
117
|
+
export * from './cx-share-option-list-item-selected';
|
|
116
118
|
export * from './cx-show';
|
|
117
119
|
export * from './cx-slide-change';
|
|
118
120
|
export * from './cx-start';
|
|
@@ -120,6 +122,7 @@ export * from './cx-swatch-add';
|
|
|
120
122
|
export * from './cx-tab-hide';
|
|
121
123
|
export * from './cx-tab-show';
|
|
122
124
|
export * from './cx-table-advanced-search-click';
|
|
125
|
+
export * from './cx-table-dropdown-filter-change';
|
|
123
126
|
export * from './cx-table-export';
|
|
124
127
|
export * from './cx-table-row-action-click';
|
|
125
128
|
export * from './cx-table-save-search-select';
|
|
@@ -128,6 +131,7 @@ export * from './cx-time-update';
|
|
|
128
131
|
export * from './cx-typeface-change';
|
|
129
132
|
export * from './cx-typeface-download';
|
|
130
133
|
export * from './cx-unmark-favorite';
|
|
134
|
+
export * from './cx-file-on-demand-unpin';
|
|
131
135
|
export * from './cx-video-click';
|
|
132
136
|
export * from './cx-video-editor-track-canvas-ready';
|
|
133
137
|
export * from './cx-video-editor-track-click';
|
|
@@ -55,6 +55,8 @@ export default class CxAssetPicker extends CortexElement {
|
|
|
55
55
|
* It should return a promise that resolves to an Asset object.
|
|
56
56
|
*/
|
|
57
57
|
onRequestAsset: ((type: AssetTypeString, multiple?: boolean, accepts?: string[]) => Promise<Asset | Record<string, Asset>>) | undefined;
|
|
58
|
+
/** Kept as an instance field so tests can stub this API call. */
|
|
59
|
+
private apiGetAssets;
|
|
58
60
|
private handleRequestAssetClick;
|
|
59
61
|
handleValueChange(): Promise<void>;
|
|
60
62
|
private handleDeleteClick;
|
|
@@ -53,6 +53,7 @@ export default class CxDownloadFormatPicker extends CortexElement {
|
|
|
53
53
|
* Populated by fetching available format codes from the API.
|
|
54
54
|
*/
|
|
55
55
|
private formatLabelMap;
|
|
56
|
+
private apiGetAllFormatCodes;
|
|
56
57
|
runFirstUpdated(): void;
|
|
57
58
|
/**
|
|
58
59
|
* Returns true if the value has any format selected.
|
|
@@ -6,6 +6,7 @@ import { TemplateResult } from 'lit';
|
|
|
6
6
|
import { default as CxFolderSelectTreeItem } from '../folder-select-tree-item/folder-select-tree-item';
|
|
7
7
|
|
|
8
8
|
export default class CxFolderSelectTree extends CortexElement {
|
|
9
|
+
#private;
|
|
9
10
|
static readonly dependencies: {
|
|
10
11
|
'cx-button': typeof CxButton;
|
|
11
12
|
'cx-folder-select-tree-item': typeof CxFolderSelectTreeItem;
|
|
@@ -19,8 +20,13 @@ export default class CxFolderSelectTree extends CortexElement {
|
|
|
19
20
|
token: string;
|
|
20
21
|
bearerToken: string;
|
|
21
22
|
baseUrl: string;
|
|
23
|
+
extraFolderId: string;
|
|
24
|
+
extraFolderTitle: string;
|
|
25
|
+
seeThru: boolean;
|
|
26
|
+
extraFolderData: Folder | null;
|
|
22
27
|
api?: FolderSelectApi;
|
|
23
28
|
excludeVirtualFolders: boolean;
|
|
29
|
+
firstFetchCallback: ((data: Folder[]) => void) | null;
|
|
24
30
|
data: Folder[];
|
|
25
31
|
hasMore: boolean;
|
|
26
32
|
loading: boolean;
|
|
@@ -30,8 +36,10 @@ export default class CxFolderSelectTree extends CortexElement {
|
|
|
30
36
|
*/
|
|
31
37
|
createRenderRoot(): this;
|
|
32
38
|
runFirstUpdated(): void;
|
|
39
|
+
handleExtraFolderIdChange(): Promise<void>;
|
|
33
40
|
loadMore(event: MouseEvent): Promise<void>;
|
|
34
41
|
handleFetchFolders(): Promise<void>;
|
|
42
|
+
private fetchFolders;
|
|
35
43
|
private renderFolder;
|
|
36
44
|
render(): TemplateResult;
|
|
37
45
|
}
|
|
@@ -2,7 +2,7 @@ import { default as CxIcon } from '../../../atoms/src/components/icon/icon.ts';
|
|
|
2
2
|
import { default as CxInput } from '../../../atoms/src/components/input/input.ts';
|
|
3
3
|
import { default as CxSelect } from '../../../atoms/src/components/select/select.ts';
|
|
4
4
|
import { default as CortexElement } from '../../../base/src/cortex-element.ts';
|
|
5
|
-
import { FolderSelectApi, FolderSelectVariant } from '../../../types/src/folder-select';
|
|
5
|
+
import { Folder, FolderSelectApi, FolderSelectVariant } from '../../../types/src/folder-select';
|
|
6
6
|
import { CSSResultGroup, TemplateResult } from 'lit';
|
|
7
7
|
import { default as CxFolderSelectTree } from './components/folder-select-tree/folder-select-tree';
|
|
8
8
|
|
|
@@ -27,13 +27,18 @@ export default class CxFolderSelect extends CortexElement {
|
|
|
27
27
|
open: boolean;
|
|
28
28
|
token: string;
|
|
29
29
|
bearerToken: string;
|
|
30
|
+
seeThru: boolean;
|
|
30
31
|
api?: FolderSelectApi;
|
|
31
32
|
required: boolean;
|
|
32
33
|
form: string | HTMLElement | undefined;
|
|
33
34
|
excludeVirtualFolders: boolean;
|
|
35
|
+
extraFolderId: string;
|
|
36
|
+
extraFolderTitle: string;
|
|
37
|
+
firstFetchCallback: ((data: Folder[]) => void) | null;
|
|
34
38
|
searchTerm: string;
|
|
35
39
|
constructor();
|
|
36
40
|
updateWrappedApi(): void;
|
|
41
|
+
handleSearchTermChange(): void;
|
|
37
42
|
private handleSearchTermInputChange;
|
|
38
43
|
private handleSearchTermSelectChange;
|
|
39
44
|
selectGetOptionValue(option: HTMLElement): string;
|
|
@@ -42,13 +42,6 @@ export default class CxAssetLinkFormat extends CortexElement {
|
|
|
42
42
|
* @example 'https://qa-latest.orangelogic.com'
|
|
43
43
|
*/
|
|
44
44
|
baseUrl: string | undefined;
|
|
45
|
-
/**
|
|
46
|
-
* The access token for the asset service.
|
|
47
|
-
* This token is used to authenticate requests to the asset service.
|
|
48
|
-
* This is useful for integration with different environments that are outside of the Orange Logic platform, such as Content Browser SDK.
|
|
49
|
-
* If not provided, the component will not include an access token in requests.
|
|
50
|
-
*/
|
|
51
|
-
accessToken: string | undefined;
|
|
52
45
|
/**
|
|
53
46
|
* The asset to be formatted.
|
|
54
47
|
* This is an object that contains the asset's details such as ID, original URL, image URL, width, and height.
|
|
@@ -100,6 +93,8 @@ export default class CxAssetLinkFormat extends CortexElement {
|
|
|
100
93
|
height: number;
|
|
101
94
|
width: number;
|
|
102
95
|
};
|
|
96
|
+
hideHeader: boolean;
|
|
97
|
+
queryElement: HTMLElement | null;
|
|
103
98
|
/**
|
|
104
99
|
* The currently active setting in the asset link format component.
|
|
105
100
|
* This is a string that represents the active setting, such as 'cx-asset-link-format-crop', 'cx-asset-link-format-resize', etc.
|
|
@@ -249,6 +244,7 @@ export default class CxAssetLinkFormat extends CortexElement {
|
|
|
249
244
|
x: number;
|
|
250
245
|
y: number;
|
|
251
246
|
};
|
|
247
|
+
setActiveSetting(activeSetting: string): void;
|
|
252
248
|
private freezeTransformations;
|
|
253
249
|
handleTransformationsChange(): Promise<void>;
|
|
254
250
|
private handleCropperElementChange;
|
|
@@ -21,6 +21,13 @@ export default class StyleController {
|
|
|
21
21
|
default?: any;
|
|
22
22
|
text?: string | undefined;
|
|
23
23
|
placeholder?: string;
|
|
24
|
+
category?: (string | import('grapesjs').BlockCategoryProperties) | undefined;
|
|
25
|
+
changeProp?: boolean | undefined;
|
|
26
|
+
getValue?: ((props: {
|
|
27
|
+
editor: import('grapesjs').Editor;
|
|
28
|
+
trait: import('grapesjs').Trait;
|
|
29
|
+
component: import('grapesjs').Component;
|
|
30
|
+
}) => any) | undefined;
|
|
24
31
|
setValue?: ((props: {
|
|
25
32
|
value: any;
|
|
26
33
|
editor: import('grapesjs').Editor;
|
|
@@ -30,16 +37,9 @@ export default class StyleController {
|
|
|
30
37
|
options: import('grapesjs').TraitSetValueOptions;
|
|
31
38
|
emitUpdate: () => void;
|
|
32
39
|
}) => void) | undefined;
|
|
33
|
-
step?: number | undefined;
|
|
34
|
-
getValue?: ((props: {
|
|
35
|
-
editor: import('grapesjs').Editor;
|
|
36
|
-
trait: import('grapesjs').Trait;
|
|
37
|
-
component: import('grapesjs').Component;
|
|
38
|
-
}) => any) | undefined;
|
|
39
|
-
category?: (string | import('grapesjs').BlockCategoryProperties) | undefined;
|
|
40
|
-
changeProp?: boolean | undefined;
|
|
41
40
|
valueTrue?: string | undefined;
|
|
42
41
|
valueFalse?: string | undefined;
|
|
42
|
+
step?: number | undefined;
|
|
43
43
|
labelButton?: string | undefined;
|
|
44
44
|
command?: string | ((editor: import('grapesjs').Editor, trait: import('grapesjs').Trait) => any) | undefined;
|
|
45
45
|
full?: boolean | undefined;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { default as CxFormatBytes } from '../../../../../atoms/src/components/format-bytes/format-bytes.ts';
|
|
2
|
+
import { default as CxIcon } from '../../../../../atoms/src/components/icon/icon.ts';
|
|
3
|
+
import { default as CxIconButton } from '../../../../../atoms/src/components/icon-button/icon-button.ts';
|
|
4
|
+
import { default as CxLineClamp } from '../../../../../atoms/src/components/line-clamp/line-clamp.ts';
|
|
5
|
+
import { default as CxProgressBar } from '../../../../../atoms/src/components/progress-bar/progress-bar.ts';
|
|
6
|
+
import { default as CxRelativeTime } from '../../../../../atoms/src/components/relative-time/relative-time.ts';
|
|
7
|
+
import { default as CxSpinner } from '../../../../../atoms/src/components/spinner/spinner.ts';
|
|
8
|
+
import { default as CxTooltip } from '../../../../../atoms/src/components/tooltip/tooltip.ts';
|
|
9
|
+
import { default as CxTypography } from '../../../../../atoms/src/components/typography/typography.ts';
|
|
10
|
+
import { default as CortexElement } from '../../../../../base/src/cortex-element.ts';
|
|
11
|
+
import { Asset } from '../../../../../types/src/file-on-demand';
|
|
12
|
+
import { CSSResultGroup, PropertyValues, TemplateResult } from 'lit';
|
|
13
|
+
import { ASSET_LIST_TYPES } from '../../file-on-demand.constants';
|
|
14
|
+
import { default as CxFileOnDemandPinnedStatus } from '../file-on-demand-pinned-status.ts/file-on-demand-pinned-status';
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* @summary CxFileOnDemandAsset
|
|
18
|
+
*/
|
|
19
|
+
export default class CxFileOnDemandAsset extends CortexElement {
|
|
20
|
+
static readonly styles: CSSResultGroup;
|
|
21
|
+
static readonly dependencies: {
|
|
22
|
+
'cx-file-on-demand-pinned-status': typeof CxFileOnDemandPinnedStatus;
|
|
23
|
+
'cx-format-bytes': typeof CxFormatBytes;
|
|
24
|
+
'cx-icon': typeof CxIcon;
|
|
25
|
+
'cx-icon-button': typeof CxIconButton;
|
|
26
|
+
'cx-line-clamp': typeof CxLineClamp;
|
|
27
|
+
'cx-progress-bar': typeof CxProgressBar;
|
|
28
|
+
'cx-relative-time': typeof CxRelativeTime;
|
|
29
|
+
'cx-spinner': typeof CxSpinner;
|
|
30
|
+
'cx-tooltip': typeof CxTooltip;
|
|
31
|
+
'cx-typography': typeof CxTypography;
|
|
32
|
+
};
|
|
33
|
+
private readonly localize;
|
|
34
|
+
asset: Asset;
|
|
35
|
+
listType: (typeof ASSET_LIST_TYPES)[keyof typeof ASSET_LIST_TYPES];
|
|
36
|
+
/** The assets that are currently being marked/unmarked as favorite. */
|
|
37
|
+
favoriteInProgressAssets: string[];
|
|
38
|
+
/** The assets that are currently being pinned/unpinning. */
|
|
39
|
+
pinInProgressAssets: string[];
|
|
40
|
+
/** Tracks whether the current thumbnail URL failed to load. */
|
|
41
|
+
private thumbnailLoadError;
|
|
42
|
+
get showFailedActions(): boolean;
|
|
43
|
+
get showInProgressActions(): boolean;
|
|
44
|
+
get showNormalActions(): boolean;
|
|
45
|
+
get showPinnedActions(): boolean;
|
|
46
|
+
get isFolder(): boolean;
|
|
47
|
+
get thumbnailUrl(): string;
|
|
48
|
+
get showThumbnailPlaceholder(): boolean;
|
|
49
|
+
protected willUpdate(changedProperties: PropertyValues<this>): void;
|
|
50
|
+
private handleImgError;
|
|
51
|
+
private handleImgLoad;
|
|
52
|
+
private handleOpenDriveClick;
|
|
53
|
+
private openDrive;
|
|
54
|
+
private unmarkFavorite;
|
|
55
|
+
private markFavorite;
|
|
56
|
+
private pinAsset;
|
|
57
|
+
private unpinAsset;
|
|
58
|
+
private handlePinClick;
|
|
59
|
+
private handleFavoriteClick;
|
|
60
|
+
private retryUpload;
|
|
61
|
+
private handleRetryUploadClick;
|
|
62
|
+
private resumeUpload;
|
|
63
|
+
private pauseUpload;
|
|
64
|
+
private handlePauseUploadClick;
|
|
65
|
+
private renderProgress;
|
|
66
|
+
private renderUploadingStatus;
|
|
67
|
+
private renderPinnedStatus;
|
|
68
|
+
private renderThumbnailContent;
|
|
69
|
+
private renderThumbnail;
|
|
70
|
+
private renderNormalActions;
|
|
71
|
+
private renderFailedActions;
|
|
72
|
+
private renderInProgressActions;
|
|
73
|
+
private renderPinnedActions;
|
|
74
|
+
render(): TemplateResult<1>;
|
|
75
|
+
}
|
|
76
|
+
declare global {
|
|
77
|
+
interface HTMLElementTagNameMap {
|
|
78
|
+
'cx-file-on-demand-asset': CxFileOnDemandAsset;
|
|
79
|
+
}
|
|
80
|
+
}
|