@ptcwebops/ptcw-design 0.6.6 → 0.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/icon-asset_13.cjs.entry.js +41 -13
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/ptc-card-content_2.cjs.entry.js +2 -2
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +186 -42
- package/dist/cjs/ptc-pagenation.cjs.entry.js +1 -1
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/cjs/tab-header.cjs.entry.js +1 -1
- package/dist/cjs/{utils-dc2c222f.js → utils-2ac2a528.js} +16 -0
- package/dist/collection/components/icon-asset/icon-asset.css +25 -0
- package/dist/collection/components/icon-asset/icon-asset.js +4 -4
- package/dist/collection/components/icon-asset/media/designer.svg +7 -4
- package/dist/collection/components/ptc-card-content/ptc-card-content.js +2 -2
- package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +1 -1
- package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.css +130 -57
- package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +314 -46
- package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.css +15 -0
- package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +45 -10
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +1 -1
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.css +2 -2
- package/dist/collection/components/tab-header/tab-header.js +1 -2
- package/dist/collection/utils/utils.js +16 -0
- package/dist/custom-elements/index.js +248 -62
- package/dist/esm/icon-asset_13.entry.js +41 -13
- package/dist/esm/loader.js +1 -1
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/ptc-card-content_2.entry.js +2 -2
- package/dist/esm/ptc-collapse-list.entry.js +186 -42
- package/dist/esm/ptc-pagenation.entry.js +1 -1
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/esm/tab-header.entry.js +1 -1
- package/dist/esm/{utils-334d53bc.js → utils-2dbb41dc.js} +16 -1
- package/dist/ptcw-design/media/designer.svg +7 -4
- package/dist/ptcw-design/p-14f55c38.entry.js +1 -0
- package/dist/ptcw-design/{p-57f553f0.entry.js → p-3f2c3e47.entry.js} +1 -1
- package/dist/ptcw-design/p-53deea18.entry.js +1 -0
- package/dist/ptcw-design/p-5e98555a.js +1 -0
- package/dist/ptcw-design/{p-cc5e59ce.entry.js → p-b30ba340.entry.js} +1 -1
- package/dist/ptcw-design/p-da709b70.entry.js +1 -0
- package/dist/ptcw-design/{p-dac5d058.entry.js → p-e7e07b91.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.css +1 -1
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/icon-asset/icon-asset.d.ts +2 -2
- package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +18 -2
- package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +7 -1
- package/dist/types/components.d.ts +16 -13
- package/dist/types/utils/utils.d.ts +1 -0
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/ptcw-design/p-0b1a9208.entry.js +0 -1
- package/dist/ptcw-design/p-2bec91cd.entry.js +0 -1
- package/dist/ptcw-design/p-2e496d31.js +0 -1
- package/dist/ptcw-design/p-8466b65b.entry.js +0 -1
|
@@ -16,7 +16,7 @@ let DropdownItem$1 = class extends HTMLElement {
|
|
|
16
16
|
static get style() { return dropdownItemCss; }
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
-
const iconAssetCss = ".svg-inline--fa.sc-icon-asset,svg.sc-icon-asset:not(:root).svg-inline--fa{overflow:visible}.svg-inline--fa.sc-icon-asset{display:inline-block;font-size:inherit;height:1em;vertical-align:-.125em}.svg-inline--fa.fa-lg.sc-icon-asset{vertical-align:-.225em}.svg-inline--fa.fa-w-1.sc-icon-asset{width:.0625em}.svg-inline--fa.fa-w-2.sc-icon-asset{width:.125em}.svg-inline--fa.fa-w-3.sc-icon-asset{width:.1875em}.svg-inline--fa.fa-w-4.sc-icon-asset{width:.25em}.svg-inline--fa.fa-w-5.sc-icon-asset{width:.3125em}.svg-inline--fa.fa-w-6.sc-icon-asset{width:.375em}.svg-inline--fa.fa-w-7.sc-icon-asset{width:.4375em}.svg-inline--fa.fa-w-8.sc-icon-asset{width:.5em}.svg-inline--fa.fa-w-9.sc-icon-asset{width:.5625em}.svg-inline--fa.fa-w-10.sc-icon-asset{width:.625em}.svg-inline--fa.fa-w-11.sc-icon-asset{width:.6875em}.svg-inline--fa.fa-w-12.sc-icon-asset{width:.75em}.svg-inline--fa.fa-w-13.sc-icon-asset{width:.8125em}.svg-inline--fa.fa-w-14.sc-icon-asset{width:.875em}.svg-inline--fa.fa-w-15.sc-icon-asset{width:.9375em}.svg-inline--fa.fa-w-16.sc-icon-asset{width:1em}.svg-inline--fa.fa-w-17.sc-icon-asset{width:1.0625em}.svg-inline--fa.fa-w-18.sc-icon-asset{width:1.125em}.svg-inline--fa.fa-w-19.sc-icon-asset{width:1.1875em}.svg-inline--fa.fa-w-20.sc-icon-asset{width:1.25em}.svg-inline--fa.fa-pull-left.sc-icon-asset{margin-right:.3em;width:auto}.svg-inline--fa.fa-pull-right.sc-icon-asset{margin-left:.3em;width:auto}.svg-inline--fa.fa-border.sc-icon-asset{height:1.5em}.svg-inline--fa.fa-li.sc-icon-asset{width:2em}.svg-inline--fa.fa-fw.sc-icon-asset{width:1.25em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers.sc-icon-asset{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset,.fa-layers-text.sc-icon-asset{display:inline-block;position:absolute;text-align:center}.fa-layers-text.sc-icon-asset{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset{background-color:#ff253a;border-radius:1em;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;height:1.5em;line-height:1;max-width:5em;min-width:1.5em;overflow:hidden;padding:.25em;right:0;text-overflow:ellipsis;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right.sc-icon-asset{bottom:0;right:0;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left.sc-icon-asset{bottom:0;left:0;right:auto;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right.sc-icon-asset{right:0;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left.sc-icon-asset{left:0;right:auto;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top left;transform-origin:top left}.fa-lg.sc-icon-asset{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs.sc-icon-asset{font-size:.75em}.fa-sm.sc-icon-asset{font-size:.875em}.fa-1x.sc-icon-asset{font-size:1em}.fa-2x.sc-icon-asset{font-size:2em}.fa-3x.sc-icon-asset{font-size:3em}.fa-4x.sc-icon-asset{font-size:4em}.fa-5x.sc-icon-asset{font-size:5em}.fa-6x.sc-icon-asset{font-size:6em}.fa-7x.sc-icon-asset{font-size:7em}.fa-8x.sc-icon-asset{font-size:8em}.fa-9x.sc-icon-asset{font-size:9em}.fa-10x.sc-icon-asset{font-size:10em}.fa-fw.sc-icon-asset{text-align:center;width:1.25em}.fa-ul.sc-icon-asset{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul.sc-icon-asset>li.sc-icon-asset{position:relative}.fa-li.sc-icon-asset{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border.sc-icon-asset{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left.sc-icon-asset{float:left}.fa-pull-right.sc-icon-asset{float:right}.fa.fa-pull-left.sc-icon-asset,.fab.fa-pull-left.sc-icon-asset,.fal.fa-pull-left.sc-icon-asset,.far.fa-pull-left.sc-icon-asset,.fas.fa-pull-left.sc-icon-asset{margin-right:.3em}.fa.fa-pull-right.sc-icon-asset,.fab.fa-pull-right.sc-icon-asset,.fal.fa-pull-right.sc-icon-asset,.far.fa-pull-right.sc-icon-asset,.fas.fa-pull-right.sc-icon-asset{margin-left:.3em}.fa-spin.sc-icon-asset{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse.sc-icon-asset{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)\";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)\";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)\";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)\";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical.sc-icon-asset{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset,.fa-flip-vertical.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\"}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset{-webkit-transform:scale(-1);transform:scale(-1)}.sc-icon-asset:root .fa-flip-both.sc-icon-asset,.sc-icon-asset:root .fa-flip-horizontal.sc-icon-asset,.sc-icon-asset:root .fa-flip-vertical.sc-icon-asset,.sc-icon-asset:root .fa-rotate-90.sc-icon-asset,.sc-icon-asset:root .fa-rotate-180.sc-icon-asset,.sc-icon-asset:root .fa-rotate-270.sc-icon-asset{-webkit-filter:none;filter:none}.fa-stack.sc-icon-asset{display:inline-block;height:2em;position:relative;width:2.5em}.fa-stack-1x.sc-icon-asset,.fa-stack-2x.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.svg-inline--fa.fa-stack-1x.sc-icon-asset{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x.sc-icon-asset{height:2em;width:2.5em}.fa-inverse.sc-icon-asset{color:#fff}.sr-only.sc-icon-asset{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable.sc-icon-asset:active,.sr-only-focusable.sc-icon-asset:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.svg-inline--fa.sc-icon-asset .fa-primary.sc-icon-asset{fill:var(--fa-primary-color,currentColor);opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset{fill:var(--fa-secondary-color,currentColor)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset,.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-primary.sc-icon-asset{opacity:.4;opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-secondary.sc-icon-asset{opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-primary.sc-icon-asset,.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-secondary.sc-icon-asset{fill:#000}.fad.fa-inverse.sc-icon-asset{color:#fff}icon-asset.sc-icon-asset{vertical-align:middle}svg.sc-icon-asset{transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}svg.xxx-small.sc-icon-asset{width:var(--ptc-font-size-xxx-small);height:var(--ptc-font-size-xxx-small)}svg.xx-small.sc-icon-asset{width:var(--ptc-font-size-xx-small);height:var(--ptc-font-size-xx-small)}svg.x-small.sc-icon-asset{width:var(--ptc-font-size-x-small);height:var(--ptc-font-size-x-small)}svg.small.sc-icon-asset{width:var(--ptc-font-size-small);height:var(--ptc-font-size-small)}svg.medium.sc-icon-asset{width:var(--ptc-font-size-medium);height:var(--ptc-font-size-medium)}svg.large.sc-icon-asset{width:var(--ptc-font-size-large);height:var(--ptc-font-size-large)}svg.x-large.sc-icon-asset{width:var(--ptc-font-size-x-large);height:var(--ptc-font-size-x-large)}svg.xx-large.sc-icon-asset{width:var(--ptc-font-size-xx-large);height:var(--ptc-font-size-xx-large)}svg.xxx-large.sc-icon-asset{width:var(--ptc-font-size-xxx-large);height:var(--ptc-font-size-xxx-large)}svg.xxxx-large.sc-icon-asset{width:var(--ptc-font-size-xxxx-large);height:var(--ptc-font-size-xxxx-large)}svg.white.sc-icon-asset{fill:var(--color-white)}svg.black.sc-icon-asset{fill:var(--color-black)}svg.ptc-green.sc-icon-asset{fill:var(--color-green-07)}svg.gray.sc-icon-asset{fill:var(--color-gray-06)}svg.inherit.sc-icon-asset{fill:inherit}";
|
|
19
|
+
const iconAssetCss = ".svg-inline--fa.sc-icon-asset,svg.sc-icon-asset:not(:root).svg-inline--fa{overflow:visible}.svg-inline--fa.sc-icon-asset{display:inline-block;font-size:inherit;height:1em;vertical-align:-.125em}.svg-inline--fa.fa-lg.sc-icon-asset{vertical-align:-.225em}.svg-inline--fa.fa-w-1.sc-icon-asset{width:.0625em}.svg-inline--fa.fa-w-2.sc-icon-asset{width:.125em}.svg-inline--fa.fa-w-3.sc-icon-asset{width:.1875em}.svg-inline--fa.fa-w-4.sc-icon-asset{width:.25em}.svg-inline--fa.fa-w-5.sc-icon-asset{width:.3125em}.svg-inline--fa.fa-w-6.sc-icon-asset{width:.375em}.svg-inline--fa.fa-w-7.sc-icon-asset{width:.4375em}.svg-inline--fa.fa-w-8.sc-icon-asset{width:.5em}.svg-inline--fa.fa-w-9.sc-icon-asset{width:.5625em}.svg-inline--fa.fa-w-10.sc-icon-asset{width:.625em}.svg-inline--fa.fa-w-11.sc-icon-asset{width:.6875em}.svg-inline--fa.fa-w-12.sc-icon-asset{width:.75em}.svg-inline--fa.fa-w-13.sc-icon-asset{width:.8125em}.svg-inline--fa.fa-w-14.sc-icon-asset{width:.875em}.svg-inline--fa.fa-w-15.sc-icon-asset{width:.9375em}.svg-inline--fa.fa-w-16.sc-icon-asset{width:1em}.svg-inline--fa.fa-w-17.sc-icon-asset{width:1.0625em}.svg-inline--fa.fa-w-18.sc-icon-asset{width:1.125em}.svg-inline--fa.fa-w-19.sc-icon-asset{width:1.1875em}.svg-inline--fa.fa-w-20.sc-icon-asset{width:1.25em}.svg-inline--fa.fa-pull-left.sc-icon-asset{margin-right:.3em;width:auto}.svg-inline--fa.fa-pull-right.sc-icon-asset{margin-left:.3em;width:auto}.svg-inline--fa.fa-border.sc-icon-asset{height:1.5em}.svg-inline--fa.fa-li.sc-icon-asset{width:2em}.svg-inline--fa.fa-fw.sc-icon-asset{width:1.25em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers.sc-icon-asset{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset,.fa-layers-text.sc-icon-asset{display:inline-block;position:absolute;text-align:center}.fa-layers-text.sc-icon-asset{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset{background-color:#ff253a;border-radius:1em;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;height:1.5em;line-height:1;max-width:5em;min-width:1.5em;overflow:hidden;padding:.25em;right:0;text-overflow:ellipsis;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right.sc-icon-asset{bottom:0;right:0;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left.sc-icon-asset{bottom:0;left:0;right:auto;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right.sc-icon-asset{right:0;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left.sc-icon-asset{left:0;right:auto;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top left;transform-origin:top left}.fa-lg.sc-icon-asset{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs.sc-icon-asset{font-size:.75em}.fa-sm.sc-icon-asset{font-size:.875em}.fa-1x.sc-icon-asset{font-size:1em}.fa-2x.sc-icon-asset{font-size:2em}.fa-3x.sc-icon-asset{font-size:3em}.fa-4x.sc-icon-asset{font-size:4em}.fa-5x.sc-icon-asset{font-size:5em}.fa-6x.sc-icon-asset{font-size:6em}.fa-7x.sc-icon-asset{font-size:7em}.fa-8x.sc-icon-asset{font-size:8em}.fa-9x.sc-icon-asset{font-size:9em}.fa-10x.sc-icon-asset{font-size:10em}.fa-fw.sc-icon-asset{text-align:center;width:1.25em}.fa-ul.sc-icon-asset{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul.sc-icon-asset>li.sc-icon-asset{position:relative}.fa-li.sc-icon-asset{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border.sc-icon-asset{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left.sc-icon-asset{float:left}.fa-pull-right.sc-icon-asset{float:right}.fa.fa-pull-left.sc-icon-asset,.fab.fa-pull-left.sc-icon-asset,.fal.fa-pull-left.sc-icon-asset,.far.fa-pull-left.sc-icon-asset,.fas.fa-pull-left.sc-icon-asset{margin-right:.3em}.fa.fa-pull-right.sc-icon-asset,.fab.fa-pull-right.sc-icon-asset,.fal.fa-pull-right.sc-icon-asset,.far.fa-pull-right.sc-icon-asset,.fas.fa-pull-right.sc-icon-asset{margin-left:.3em}.fa-spin.sc-icon-asset{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse.sc-icon-asset{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)\";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)\";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)\";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)\";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical.sc-icon-asset{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset,.fa-flip-vertical.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\"}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset{-webkit-transform:scale(-1);transform:scale(-1)}.sc-icon-asset:root .fa-flip-both.sc-icon-asset,.sc-icon-asset:root .fa-flip-horizontal.sc-icon-asset,.sc-icon-asset:root .fa-flip-vertical.sc-icon-asset,.sc-icon-asset:root .fa-rotate-90.sc-icon-asset,.sc-icon-asset:root .fa-rotate-180.sc-icon-asset,.sc-icon-asset:root .fa-rotate-270.sc-icon-asset{-webkit-filter:none;filter:none}.fa-stack.sc-icon-asset{display:inline-block;height:2em;position:relative;width:2.5em}.fa-stack-1x.sc-icon-asset,.fa-stack-2x.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.svg-inline--fa.fa-stack-1x.sc-icon-asset{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x.sc-icon-asset{height:2em;width:2.5em}.fa-inverse.sc-icon-asset{color:#fff}.sr-only.sc-icon-asset{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable.sc-icon-asset:active,.sr-only-focusable.sc-icon-asset:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.svg-inline--fa.sc-icon-asset .fa-primary.sc-icon-asset{fill:var(--fa-primary-color,currentColor);opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset{fill:var(--fa-secondary-color,currentColor)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset,.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-primary.sc-icon-asset{opacity:.4;opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-secondary.sc-icon-asset{opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-primary.sc-icon-asset,.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-secondary.sc-icon-asset{fill:#000}.fad.fa-inverse.sc-icon-asset{color:#fff}icon-asset.sc-icon-asset{vertical-align:middle}svg.sc-icon-asset{transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}svg.micro.sc-icon-asset{width:calc(var(--ptc-font-size-x-small)/2);height:calc(var(--ptc-font-size-x-small)/2)}svg.xxx-small.sc-icon-asset{width:var(--ptc-font-size-xxx-small);height:var(--ptc-font-size-xxx-small)}svg.xx-small.sc-icon-asset{width:var(--ptc-font-size-xx-small);height:var(--ptc-font-size-xx-small)}svg.x-small.sc-icon-asset{width:var(--ptc-font-size-x-small);height:var(--ptc-font-size-x-small)}svg.small.sc-icon-asset{width:var(--ptc-font-size-small);height:var(--ptc-font-size-small)}svg.medium.sc-icon-asset{width:var(--ptc-font-size-medium);height:var(--ptc-font-size-medium)}svg.large.sc-icon-asset{width:var(--ptc-font-size-large);height:var(--ptc-font-size-large)}svg.x-large.sc-icon-asset{width:var(--ptc-font-size-x-large);height:var(--ptc-font-size-x-large)}svg.xx-large.sc-icon-asset{width:var(--ptc-font-size-xx-large);height:var(--ptc-font-size-xx-large)}svg.xxx-large.sc-icon-asset{width:var(--ptc-font-size-xxx-large);height:var(--ptc-font-size-xxx-large)}svg.xxxx-large.sc-icon-asset{width:var(--ptc-font-size-xxxx-large);height:var(--ptc-font-size-xxxx-large)}svg.white.sc-icon-asset{fill:var(--color-white)}svg.white.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-white)}svg.black.sc-icon-asset{fill:var(--color-black)}svg.black.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-black)}svg.ptc-green.sc-icon-asset{fill:var(--color-green-07)}svg.ptc-green.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-green-07)}svg.gray.sc-icon-asset{fill:var(--color-gray-06)}svg.gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-06)}svg.light-gray.sc-icon-asset{fill:var(--color-gray-05)}svg.light-gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-05)}svg.inherit.sc-icon-asset{fill:inherit}svg.inherit.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:inherit}";
|
|
20
20
|
|
|
21
21
|
let IconAsset$1 = class extends HTMLElement {
|
|
22
22
|
constructor() {
|
|
@@ -13637,6 +13637,21 @@ function generateUUID() {
|
|
|
13637
13637
|
return s4() + s4() + '-' + s4() + '-' + s4() + '-' +
|
|
13638
13638
|
s4() + '-' + s4() + s4() + s4();
|
|
13639
13639
|
}
|
|
13640
|
+
function debounce(func, wait, referer) {
|
|
13641
|
+
let key = generateUUID();
|
|
13642
|
+
if (!globalThis.debounceTimeouts) {
|
|
13643
|
+
globalThis.debounceTimeouts = {};
|
|
13644
|
+
}
|
|
13645
|
+
return function executedFunction(e) {
|
|
13646
|
+
var context = referer || this;
|
|
13647
|
+
var args = e;
|
|
13648
|
+
var callback = function () {
|
|
13649
|
+
func(context, args);
|
|
13650
|
+
};
|
|
13651
|
+
clearTimeout(globalThis.debounceTimeouts[key]);
|
|
13652
|
+
globalThis.debounceTimeouts[key] = setTimeout(callback, wait);
|
|
13653
|
+
};
|
|
13654
|
+
}
|
|
13640
13655
|
|
|
13641
13656
|
const myComponentCss = ":host{display:block}";
|
|
13642
13657
|
|
|
@@ -14061,7 +14076,7 @@ let PtcCardContent$1 = class extends HTMLElement {
|
|
|
14061
14076
|
if (!this.el.classList.contains('speed-bump') && !this.el.classList.contains('card-video-intro') && !this.el.classList.contains('card-dynamic')) {
|
|
14062
14077
|
this.hoverEvent.emit();
|
|
14063
14078
|
this.el.classList.add('mouse-hover');
|
|
14064
|
-
if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist')) {
|
|
14079
|
+
if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && this.el.nextElementSibling) {
|
|
14065
14080
|
this.el.nextElementSibling.classList.add('mouse-hover-card-bottom');
|
|
14066
14081
|
}
|
|
14067
14082
|
}
|
|
@@ -14070,7 +14085,7 @@ let PtcCardContent$1 = class extends HTMLElement {
|
|
|
14070
14085
|
if (!this.el.classList.contains('speed-bump') && !this.el.classList.contains('card-video-intro') && !this.el.classList.contains('card-dynamic')) {
|
|
14071
14086
|
this.hoverEvent.emit();
|
|
14072
14087
|
this.el.classList.remove('mouse-hover');
|
|
14073
|
-
if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist')) {
|
|
14088
|
+
if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && this.el.nextElementSibling) {
|
|
14074
14089
|
this.el.nextElementSibling.classList.remove('mouse-hover-card-bottom');
|
|
14075
14090
|
}
|
|
14076
14091
|
}
|
|
@@ -14141,13 +14156,13 @@ let PtcCheckbox$1 = class extends HTMLElement {
|
|
|
14141
14156
|
input.checked = this.checked == 'checked';
|
|
14142
14157
|
}
|
|
14143
14158
|
render() {
|
|
14144
|
-
return (h(Host, null, h("label", { class: "ptc-checkbox" }, h("slot", null), h("input", { type: "checkbox", checked: this.checked == "checked", name: this.inputName, value: this.value, onChange: (e) => this.handleClick(e) }), h("span", { class: "check" }, h("span", { class: "mark" }, h("icon-asset", { type: "ptc", size: "xx-small", name: "checkmark" }))))));
|
|
14159
|
+
return (h(Host, null, h("label", { class: "ptc-checkbox" }, h("slot", null), h("input", { type: "checkbox", checked: this.checked == "checked", name: this.inputName, value: this.value, onChange: (e) => this.handleClick(e) }), h("span", { class: "check" }, h("span", { class: "mark" }, h("icon-asset", { type: "ptc", color: "white", size: "xx-small", name: "checkmark" }))))));
|
|
14145
14160
|
}
|
|
14146
14161
|
get host() { return this; }
|
|
14147
14162
|
static get style() { return ptcCheckboxCss; }
|
|
14148
14163
|
};
|
|
14149
14164
|
|
|
14150
|
-
const ptcCollapseListCss = ":host{display:block}.container{border-right:1px solid rgba(112, 112, 112, 0.25);position:relative}a{transition:color ease-out 250ms}ul{transition:max-height ease-out 250ms, padding ease-out 250ms;overflow:hidden;list-style:none;padding:0;margin:0}.level-1>ul
|
|
14165
|
+
const ptcCollapseListCss = ":host{display:block;height:100%}.container{border-right:1px solid rgba(112, 112, 112, 0.25);position:relative;height:100%}.container>ul{overflow:visible}a{transition:color ease-out 250ms}ul{transition:max-height ease-out 250ms, padding ease-out 250ms;overflow:hidden;list-style:none;padding:0;margin:0}li{cursor:pointer}.level-1>ul{max-height:0}.level-1>ul>li{margin:12px 0}.level-1>ul>li:first-child{margin-top:20px}.level-1>ul>li:last-child{margin-bottom:10px}.level-2>ul,.level-3>ul,.level-4>ul,.level-5>ul{max-height:0}.level-2>ul>li,.level-3>ul>li,.level-4>ul>li,.level-5>ul>li{margin:8px 0}.level-2>ul{padding-left:2.25rem}.level-3>ul{padding-left:3rem}.level-4>ul{padding-left:3.75rem}.level-5>ul{padding-left:4.5rem}.level-1{position:relative}.level-1>a{position:relative;padding:16px 20px 17.5px 0;display:block;font-size:18px;letter-spacing:0.45px;font-weight:800;color:var(--color-gray-08);text-decoration:none;border-bottom:1px solid rgba(112, 112, 112, 0.25)}.level-1>a:hover,.level-1>a:active,.level-1>a:focus{text-decoration:none}.level-1>a>icon-asset{transition:transform var(--ptc-ease-out) var(--ptc-transition-medium), padding var(--ptc-ease-out) var(--ptc-transition-medium);position:absolute;right:20px;padding-top:2px}.level-1>a:after{content:\"\";display:block;position:absolute;bottom:-2px;left:0;height:3px;width:40px;background-color:var(--color-green-07);transition:background-color var(--ptc-ease-out) var(--ptc-transition-medium)}.level-1.expanded a>icon-asset{transform:rotate(-180deg);padding-top:0}.level-1.expanded a>ul{padding-top:14px}.level-1.expanded a:after{background-color:var(--color-gray-11)}.level-1>ul{padding-top:0}.level-1:first-child>a{padding-top:20px}.level-2,.level-3,.level-4,.level-5{position:relative}.level-2>a,.level-3>a,.level-4>a,.level-5>a{font-size:15px;font-weight:500;letter-spacing:0.4px;color:var(--color-gray-10);text-decoration:none;display:inline-block;margin-left:20px}.level-2>a:hover,.level-2>a:active,.level-3>a:hover,.level-3>a:active,.level-4>a:hover,.level-4>a:active,.level-5>a:hover,.level-5>a:active{font-weight:800;color:var(--color-green-07);text-decoration:none}.level-2 .expander-icon,.level-3 .expander-icon,.level-4 .expander-icon,.level-5 .expander-icon{position:absolute;left:-18px;top:2px}.level-3:before,.level-4:before,.level-5:before{position:absolute;content:\"\";width:2rem;height:1px;display:block;left:0;top:9px;background-color:var(--color-gray-02)}.level-3:before{width:2rem;left:-2.25rem}.level-4:before{width:2.75rem;left:-3rem}.level-5:before{width:3.5rem;left:-3.75rem}.search-box{display:flex;width:100%}.search-box input[type=text]{font-family:var(--ptc-font-latin);padding:8px 45px 8px 18px;font-size:1rem;font-weight:400;color:var(--color-gray-12);box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-06);transition:border var(--ptc-transition-medium) var(--ptc-ease-out), box-shadow var(--ptc-transition-medium) var(--ptc-ease-out);background-color:var(--color-white);width:100%;margin-right:2rem}.search-box input[type=text]::-ms-clear{display:none}.search-box input[type=text]:focus{outline:none;box-shadow:var(--ptc-shadow-small);border:solid 1px var(--color-gray-12)}.search-box input[type=text]::placeholder{color:var(--color-gray-07)}";
|
|
14151
14166
|
|
|
14152
14167
|
class CollapseListItem {
|
|
14153
14168
|
}
|
|
@@ -14158,40 +14173,74 @@ let PtcCollapseList$1 = class extends HTMLElement {
|
|
|
14158
14173
|
this.__attachShadow();
|
|
14159
14174
|
this.itemSelected = createEvent(this, "itemSelected", 7);
|
|
14160
14175
|
this.itemExpanded = createEvent(this, "itemExpanded", 7);
|
|
14176
|
+
this.textChanged = createEvent(this, "textChanged", 7);
|
|
14177
|
+
this.inputUpdated = createEvent(this, "inputUpdated", 7);
|
|
14161
14178
|
this.ready = createEvent(this, "ready", 7);
|
|
14162
|
-
this.
|
|
14179
|
+
this.viewUpdated = createEvent(this, "viewUpdated", 7);
|
|
14180
|
+
this.changed = createEvent(this, "changed", 7);
|
|
14163
14181
|
}
|
|
14164
14182
|
componentWillLoad() {
|
|
14165
14183
|
this.loadListItems();
|
|
14184
|
+
this.selectedItems = [];
|
|
14166
14185
|
}
|
|
14167
14186
|
componentDidLoad() {
|
|
14168
14187
|
this.ready.emit({
|
|
14169
14188
|
sender: this.el,
|
|
14170
|
-
tree: this.data
|
|
14189
|
+
tree: this.data,
|
|
14190
|
+
search: this.searchText
|
|
14171
14191
|
});
|
|
14192
|
+
let event = () => {
|
|
14193
|
+
this.changed.emit({
|
|
14194
|
+
sender: this.el,
|
|
14195
|
+
selectedValue: this.selectedValue,
|
|
14196
|
+
selectedItems: this.selectedItems,
|
|
14197
|
+
search: this.searchText
|
|
14198
|
+
});
|
|
14199
|
+
};
|
|
14200
|
+
this.debouncedUpdatedEvent = debounce(event, this.debounceUpdateDelay, this);
|
|
14172
14201
|
}
|
|
14173
14202
|
componentDidUpdate() {
|
|
14174
|
-
this.
|
|
14203
|
+
this.viewUpdated.emit({
|
|
14175
14204
|
sender: this.el,
|
|
14176
|
-
tree: this.data
|
|
14205
|
+
tree: this.data,
|
|
14206
|
+
search: this.searchText
|
|
14177
14207
|
});
|
|
14178
14208
|
}
|
|
14179
14209
|
onItemSelectedHandler(event) {
|
|
14180
14210
|
this.itemSelected.emit({
|
|
14181
14211
|
event: event,
|
|
14182
14212
|
sender: event ? event.target : this.el,
|
|
14213
|
+
selectedValue: this.selectedValue,
|
|
14183
14214
|
selectedItems: this.selectedItems,
|
|
14184
14215
|
tree: this.data
|
|
14185
14216
|
});
|
|
14217
|
+
this.fireChangedEvent();
|
|
14218
|
+
}
|
|
14219
|
+
onInputUpdated(event) {
|
|
14220
|
+
let input = event.target;
|
|
14221
|
+
this.searchText = input.value;
|
|
14222
|
+
this.inputUpdated.emit({
|
|
14223
|
+
event: event,
|
|
14224
|
+
sender: input,
|
|
14225
|
+
selectedValue: this.selectedValue,
|
|
14226
|
+
selectedItems: this.selectedItems,
|
|
14227
|
+
tree: this.data,
|
|
14228
|
+
search: this.searchText
|
|
14229
|
+
});
|
|
14230
|
+
this.fireChangedEvent();
|
|
14186
14231
|
}
|
|
14187
|
-
|
|
14232
|
+
onItemExpandedHandler(event) {
|
|
14188
14233
|
this.itemExpanded.emit({
|
|
14189
14234
|
event: event,
|
|
14190
14235
|
sender: event ? event.target : this.el,
|
|
14236
|
+
selectedValue: this.selectedValue,
|
|
14191
14237
|
selectedItems: this.selectedItems,
|
|
14192
14238
|
tree: this.data
|
|
14193
14239
|
});
|
|
14194
14240
|
}
|
|
14241
|
+
fireChangedEvent() {
|
|
14242
|
+
this.debouncedUpdatedEvent();
|
|
14243
|
+
}
|
|
14195
14244
|
loadListItems() {
|
|
14196
14245
|
this.hashMap = {};
|
|
14197
14246
|
if (!this.data) {
|
|
@@ -14230,11 +14279,11 @@ let PtcCollapseList$1 = class extends HTMLElement {
|
|
|
14230
14279
|
}
|
|
14231
14280
|
}
|
|
14232
14281
|
setUpCategory(name, allowMultiSelect) {
|
|
14233
|
-
if (!this.
|
|
14234
|
-
this.
|
|
14282
|
+
if (!this.selectedValue) {
|
|
14283
|
+
this.selectedValue = {};
|
|
14235
14284
|
}
|
|
14236
|
-
if (name && !this.
|
|
14237
|
-
this.
|
|
14285
|
+
if (name && !this.selectedValue[name]) {
|
|
14286
|
+
this.selectedValue[name] = {
|
|
14238
14287
|
name: name,
|
|
14239
14288
|
items: new Array(),
|
|
14240
14289
|
allowMultiSelect: allowMultiSelect
|
|
@@ -14250,42 +14299,113 @@ let PtcCollapseList$1 = class extends HTMLElement {
|
|
|
14250
14299
|
});
|
|
14251
14300
|
}
|
|
14252
14301
|
updateExpandedItems() {
|
|
14253
|
-
|
|
14254
|
-
|
|
14255
|
-
|
|
14256
|
-
|
|
14257
|
-
|
|
14258
|
-
|
|
14259
|
-
|
|
14260
|
-
|
|
14261
|
-
|
|
14302
|
+
const redraw = (timestamp) => {
|
|
14303
|
+
if (!this.refreshBuffer) {
|
|
14304
|
+
this.refreshBuffer = timestamp;
|
|
14305
|
+
}
|
|
14306
|
+
const elapsed = timestamp - this.refreshBuffer;
|
|
14307
|
+
let items = this.el.shadowRoot.querySelectorAll('li');
|
|
14308
|
+
items.forEach((z) => {
|
|
14309
|
+
let ul = z.querySelector(':scope > ul');
|
|
14310
|
+
if (ul) {
|
|
14311
|
+
if (!z.classList.contains('expanded')) {
|
|
14312
|
+
ul.style.removeProperty('max-height');
|
|
14313
|
+
}
|
|
14314
|
+
else {
|
|
14315
|
+
ul.style.maxHeight = ul.scrollHeight + "px";
|
|
14316
|
+
}
|
|
14262
14317
|
}
|
|
14318
|
+
});
|
|
14319
|
+
if (elapsed < 2500) {
|
|
14320
|
+
window.requestAnimationFrame(redraw);
|
|
14263
14321
|
}
|
|
14264
|
-
|
|
14322
|
+
else {
|
|
14323
|
+
this.refreshBuffer = undefined;
|
|
14324
|
+
}
|
|
14325
|
+
};
|
|
14326
|
+
if (!this.refreshBuffer) {
|
|
14327
|
+
window.requestAnimationFrame(redraw);
|
|
14328
|
+
}
|
|
14329
|
+
else {
|
|
14330
|
+
this.refreshBuffer = undefined;
|
|
14331
|
+
}
|
|
14265
14332
|
}
|
|
14266
14333
|
updateSelectedItemStatus(uuid) {
|
|
14267
14334
|
var _a;
|
|
14268
14335
|
let selectedItem = this.hashMap[uuid];
|
|
14269
14336
|
if (selectedItem && selectedItem.value) {
|
|
14270
14337
|
let categoryName = (_a = selectedItem.category) !== null && _a !== void 0 ? _a : 'default';
|
|
14271
|
-
if (!this.
|
|
14338
|
+
if (!this.selectedValue[categoryName]) {
|
|
14272
14339
|
this.setUpCategory(categoryName, selectedItem.allowMultiSelect == true);
|
|
14273
14340
|
}
|
|
14274
|
-
let items = this.
|
|
14341
|
+
let items = this.selectedValue[categoryName].items;
|
|
14275
14342
|
if (items.indexOf(selectedItem.value) < 0) {
|
|
14276
|
-
if (this.
|
|
14343
|
+
if (this.selectedValue[categoryName].allowMultiSelect) {
|
|
14277
14344
|
items.push(selectedItem.value);
|
|
14278
14345
|
}
|
|
14279
14346
|
else {
|
|
14347
|
+
this.selectedItems = this.selectedItems.filter((z) => { return z.value != items[0]; });
|
|
14280
14348
|
items = [selectedItem.value];
|
|
14281
14349
|
}
|
|
14350
|
+
this.selectedItems.push(selectedItem);
|
|
14282
14351
|
}
|
|
14283
14352
|
else {
|
|
14284
14353
|
items = items.filter((z) => { return z != selectedItem.value; });
|
|
14354
|
+
this.selectedItems = this.selectedItems.filter((z) => { return z.value != selectedItem.value; });
|
|
14355
|
+
}
|
|
14356
|
+
this.selectedValue[categoryName].items = items;
|
|
14357
|
+
}
|
|
14358
|
+
}
|
|
14359
|
+
unSelectItem(uuid) {
|
|
14360
|
+
var _a;
|
|
14361
|
+
let selectedItem = this.hashMap[uuid];
|
|
14362
|
+
if (selectedItem && selectedItem.value) {
|
|
14363
|
+
let categoryName = (_a = selectedItem.category) !== null && _a !== void 0 ? _a : 'default';
|
|
14364
|
+
if (!this.selectedValue[categoryName]) {
|
|
14365
|
+
this.setUpCategory(categoryName, selectedItem.allowMultiSelect == true);
|
|
14366
|
+
}
|
|
14367
|
+
let items = this.selectedValue[categoryName].items;
|
|
14368
|
+
if (items.indexOf(selectedItem.value) > -1) {
|
|
14369
|
+
items = items.filter((z) => { return z != selectedItem.value; });
|
|
14370
|
+
this.selectedItems = this.selectedItems.filter((z) => { return z.value != selectedItem.value; });
|
|
14285
14371
|
}
|
|
14286
|
-
this.
|
|
14372
|
+
this.selectedValue[categoryName].items = items;
|
|
14287
14373
|
}
|
|
14288
14374
|
}
|
|
14375
|
+
selectItem(uuid) {
|
|
14376
|
+
var _a;
|
|
14377
|
+
let selectedItem = this.hashMap[uuid];
|
|
14378
|
+
if (selectedItem && selectedItem.value) {
|
|
14379
|
+
let categoryName = (_a = selectedItem.category) !== null && _a !== void 0 ? _a : 'default';
|
|
14380
|
+
if (!this.selectedValue[categoryName]) {
|
|
14381
|
+
this.setUpCategory(categoryName, selectedItem.allowMultiSelect == true);
|
|
14382
|
+
}
|
|
14383
|
+
let items = this.selectedValue[categoryName].items;
|
|
14384
|
+
if (items.indexOf(selectedItem.value) < 0) {
|
|
14385
|
+
if (this.selectedValue[categoryName].allowMultiSelect) {
|
|
14386
|
+
items.push(selectedItem.value);
|
|
14387
|
+
}
|
|
14388
|
+
else {
|
|
14389
|
+
items = [selectedItem.value];
|
|
14390
|
+
}
|
|
14391
|
+
this.selectedItems.push(selectedItem);
|
|
14392
|
+
}
|
|
14393
|
+
this.selectedValue[categoryName].items = items;
|
|
14394
|
+
}
|
|
14395
|
+
}
|
|
14396
|
+
getItemByValue(value) {
|
|
14397
|
+
let result;
|
|
14398
|
+
if (this.hashMap) {
|
|
14399
|
+
for (const [_, v] of Object.entries(this.hashMap)) {
|
|
14400
|
+
let item = v;
|
|
14401
|
+
if (item.value == value) {
|
|
14402
|
+
result = item;
|
|
14403
|
+
break;
|
|
14404
|
+
}
|
|
14405
|
+
}
|
|
14406
|
+
}
|
|
14407
|
+
return result;
|
|
14408
|
+
}
|
|
14289
14409
|
onItemLinkClick(event, uuid) {
|
|
14290
14410
|
if (event) {
|
|
14291
14411
|
event.preventDefault();
|
|
@@ -14296,48 +14416,87 @@ let PtcCollapseList$1 = class extends HTMLElement {
|
|
|
14296
14416
|
onExpandClick(event, collapseParents) {
|
|
14297
14417
|
if (event) {
|
|
14298
14418
|
event.preventDefault();
|
|
14299
|
-
let sender = event.
|
|
14419
|
+
let sender = event.currentTarget;
|
|
14420
|
+
let root = sender.closest('.level-1');
|
|
14421
|
+
let parent = sender.closest('li');
|
|
14300
14422
|
if (collapseParents) {
|
|
14301
|
-
this.collapseAllFirstLevelItems(
|
|
14423
|
+
this.collapseAllFirstLevelItems(root);
|
|
14302
14424
|
}
|
|
14303
|
-
if (
|
|
14304
|
-
let parent = sender.parentNode;
|
|
14425
|
+
if (parent) {
|
|
14305
14426
|
parent.classList.toggle("expanded");
|
|
14306
14427
|
}
|
|
14428
|
+
if (sender.classList.contains('expander-icon')) {
|
|
14429
|
+
let icon = parent.classList.contains('expanded') ? 'minus' : 'plus';
|
|
14430
|
+
sender.querySelector('icon-asset').setAttribute('name', icon);
|
|
14431
|
+
}
|
|
14307
14432
|
this.updateExpandedItems();
|
|
14308
14433
|
}
|
|
14309
|
-
this.
|
|
14434
|
+
this.onItemExpandedHandler(event);
|
|
14310
14435
|
}
|
|
14311
14436
|
render() {
|
|
14312
|
-
let renderLevel = (arr,
|
|
14313
|
-
let levelClass = `level-${
|
|
14437
|
+
let renderLevel = (arr, level) => {
|
|
14438
|
+
let levelClass = `level-${level}`;
|
|
14314
14439
|
return (h("ul", null, arr.map((z) => {
|
|
14315
14440
|
let expandable = false;
|
|
14316
|
-
let
|
|
14317
|
-
|
|
14318
|
-
|
|
14319
|
-
|
|
14441
|
+
let selectable = false;
|
|
14442
|
+
let icon;
|
|
14443
|
+
if (level == 1) {
|
|
14444
|
+
if (z.children) {
|
|
14445
|
+
expandable = true;
|
|
14446
|
+
selectable = false;
|
|
14447
|
+
icon = (h("icon-asset", { type: "ptc", name: "chevron-down", color: "ptc-green", size: "medium" }));
|
|
14448
|
+
}
|
|
14449
|
+
else {
|
|
14450
|
+
expandable = false;
|
|
14451
|
+
selectable = true;
|
|
14452
|
+
icon = (h("icon-asset", { type: "ptc", name: "plus", color: "ptc-green", size: "medium" }));
|
|
14453
|
+
}
|
|
14320
14454
|
}
|
|
14321
|
-
|
|
14455
|
+
else if (level > 1) {
|
|
14456
|
+
selectable = true;
|
|
14457
|
+
if (z.children) {
|
|
14458
|
+
expandable = true;
|
|
14459
|
+
icon = (h("icon-asset", { type: "ptc", name: "plus", color: "gray", size: "xxx-small" }));
|
|
14460
|
+
}
|
|
14461
|
+
else {
|
|
14462
|
+
expandable = false;
|
|
14463
|
+
}
|
|
14464
|
+
}
|
|
14465
|
+
return (h("li", { class: levelClass }, getLink(z, icon, level, expandable, selectable), z.children ? renderLevel(z.children, level + 1) : ''));
|
|
14322
14466
|
})));
|
|
14323
14467
|
};
|
|
14324
|
-
let getLink = (item, expandable) => {
|
|
14468
|
+
let getLink = (item, icon, level, expandable, selectable) => {
|
|
14325
14469
|
let clickEvent = (e) => {
|
|
14326
14470
|
if (expandable) {
|
|
14327
|
-
this.onExpandClick(e,
|
|
14471
|
+
this.onExpandClick(e, level == 1);
|
|
14328
14472
|
}
|
|
14329
14473
|
else {
|
|
14330
14474
|
this.onItemLinkClick(e, item.id);
|
|
14331
14475
|
}
|
|
14332
14476
|
};
|
|
14333
14477
|
if (item.isExternalLink) {
|
|
14334
|
-
return (h("a", { href: item.href, target: item.target, title: item.title }, item.text));
|
|
14478
|
+
return (h("a", { href: item.href, target: item.target, title: item.title }, icon, item.text));
|
|
14479
|
+
}
|
|
14480
|
+
else if ((!expandable && selectable) || (expandable && !selectable)) {
|
|
14481
|
+
return (h("a", { href: "#", title: item.text, onClick: clickEvent }, icon, item.text));
|
|
14335
14482
|
}
|
|
14336
14483
|
else {
|
|
14337
|
-
return
|
|
14484
|
+
return [
|
|
14485
|
+
h("a", { class: "expander-icon", href: "#", onClick: (e) => { this.onExpandClick(e, false); } }, icon),
|
|
14486
|
+
h("a", { href: "#", title: item.text, onClick: (e) => { this.onItemLinkClick(e, item.id); } }, item.text)
|
|
14487
|
+
];
|
|
14338
14488
|
}
|
|
14339
14489
|
};
|
|
14340
|
-
return (h(Host, null, h("div", { class: "container" }, h("ptc-title", { type: 'h4', "title-size": "medium", "title-weight": "w-6", "text-align": 'left', upperline: "no-upperline" }, "Filter Results :"), h("input", { type: "text", placeholder:
|
|
14490
|
+
return (h(Host, null, h("div", { class: "container" }, h("ptc-title", { type: 'h4', "title-size": "medium", "title-weight": "w-6", "text-align": 'left', upperline: "no-upperline" }, "Filter Results :"), h("div", { class: "search-box" }, h("input", { type: "text", placeholder: this.placeholderText, onKeyUp: (e) => { this.onInputUpdated(e); } })), renderLevel(this.data, 1))));
|
|
14491
|
+
}
|
|
14492
|
+
async removeSelectedItem(value) {
|
|
14493
|
+
let item = this.getItemByValue(value);
|
|
14494
|
+
this.unSelectItem(item.id);
|
|
14495
|
+
this.fireChangedEvent();
|
|
14496
|
+
}
|
|
14497
|
+
async addSelectedItem(value) {
|
|
14498
|
+
let item = this.getItemByValue(value);
|
|
14499
|
+
this.selectItem(item.id);
|
|
14341
14500
|
}
|
|
14342
14501
|
get el() { return this; }
|
|
14343
14502
|
static get style() { return ptcCollapseListCss; }
|
|
@@ -14596,12 +14755,7 @@ let PtcEllipsisDropdown$1 = class extends HTMLElement {
|
|
|
14596
14755
|
static get style() { return ptcEllipsisDropdownCss; }
|
|
14597
14756
|
};
|
|
14598
14757
|
|
|
14599
|
-
const
|
|
14600
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.88956 3.99986L8.00002 0.888695L7.11135 -0.000183105L4.00089 3.11099L0.890644 2.34688e-05L0.00197005 0.888902L3.11222 3.99986L0.00195312 7.11084L0.890627 7.99972L4.00089 4.88874L7.11136 7.99993L8.00003 7.11105L4.88956 3.99986Z" fill="#9AA6AD"/>
|
|
14601
|
-
</svg>
|
|
14602
|
-
`;
|
|
14603
|
-
|
|
14604
|
-
const ptcFilterTagCss = ".ptc-filter-tag{display:block;cursor:pointer;position:relative;margin:0.25rem}.ptc-filter-tag.bubble{display:inline-block;font-family:Raleway;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:left;align-items:center;transition:border-color ease-out 250ms;border:1px solid var(--color-gray-05);border-radius:999px;padding:0.375rem 1.875rem 0.375rem 0.875rem;background:var(--color-white)}.ptc-filter-tag.bubble:hover{border:1px solid var(--color-gray-12)}.ptc-filter-tag.bubble .cls{display:block;position:absolute;top:0.35rem;right:0.8rem}.ptc-filter-tag.link,.ptc-filter-tag.link-lg{display:inline-block;font-family:Raleway;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:right;border-bottom:1px solid transparent;background:var(--color-white)}.ptc-filter-tag.link:hover,.ptc-filter-tag.link-lg:hover{text-decoration:underline}.ptc-filter-tag.link .cls,.ptc-filter-tag.link-lg .cls{display:none}.ptc-filter-tag.link-lg{font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold)}.ptc-filter-tag.button{background:var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);padding:0.625rem 1rem;font-family:\"Raleway\";font-style:normal;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-denser);color:var(--color-white)}.ptc-filter-tag.button:hover{background-color:var(--color-gray-12)}.ptc-filter-tag.button:active{background-color:var(--color-black)}.ptc-filter-tag.button .cls{display:none}";
|
|
14758
|
+
const ptcFilterTagCss = ".ptc-filter-tag{display:block;cursor:pointer;position:relative;margin:0.25rem}.ptc-filter-tag.bubble{display:inline-block;font-family:Raleway;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:left;align-items:center;transition:border-color ease-out 250ms;border:1px solid var(--color-gray-05);border-radius:999px;padding:0.375rem 1.875rem 0.375rem 0.875rem;background:var(--color-white)}.ptc-filter-tag.bubble:hover{border:1px solid var(--color-gray-12)}.ptc-filter-tag.bubble .cls{display:block;position:absolute;top:0.35rem;right:0.8rem}.ptc-filter-tag.link,.ptc-filter-tag.link-lg{display:inline-block;font-family:Raleway;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:right;border-bottom:1px solid transparent;background:var(--color-white)}.ptc-filter-tag.link:hover,.ptc-filter-tag.link-lg:hover{text-decoration:underline}.ptc-filter-tag.link .cls,.ptc-filter-tag.link-lg .cls{display:none}.ptc-filter-tag.link-lg{font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold)}.ptc-filter-tag.button{background:var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);padding:0.625rem 1rem;font-family:\"Raleway\";font-style:normal;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-denser);color:var(--color-white)}.ptc-filter-tag.button:hover{background-color:var(--color-gray-12)}.ptc-filter-tag.button:active{background-color:var(--color-black)}.ptc-filter-tag.button .cls{display:none}.ptc-filter-tag.standard{display:inline-flex;background:var(--color-gray-10);font-family:\"Raleway\";font-style:normal;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-denser);color:var(--color-green-07);background-color:transparent}.ptc-filter-tag.standard .cls{display:block;margin-left:0.25rem}";
|
|
14605
14759
|
|
|
14606
14760
|
let PtcFilterTag$1 = class extends HTMLElement {
|
|
14607
14761
|
constructor() {
|
|
@@ -14609,17 +14763,49 @@ let PtcFilterTag$1 = class extends HTMLElement {
|
|
|
14609
14763
|
this.__registerHost();
|
|
14610
14764
|
this.__attachShadow();
|
|
14611
14765
|
this.clicked = createEvent(this, "clicked", 7);
|
|
14612
|
-
/**
|
|
14613
|
-
* Theme
|
|
14614
|
-
*/
|
|
14615
14766
|
this.theme = 'bubble';
|
|
14616
14767
|
this.handleClick = () => {
|
|
14617
14768
|
this.clicked.emit(this);
|
|
14618
14769
|
};
|
|
14619
14770
|
}
|
|
14771
|
+
componentWillLoad() {
|
|
14772
|
+
this.iconColorMap = {
|
|
14773
|
+
'bubble': {
|
|
14774
|
+
'hover': 'black',
|
|
14775
|
+
'standard': 'light-gray'
|
|
14776
|
+
},
|
|
14777
|
+
'standard': {
|
|
14778
|
+
'hover': 'ptc-green',
|
|
14779
|
+
'standard': 'black'
|
|
14780
|
+
},
|
|
14781
|
+
};
|
|
14782
|
+
}
|
|
14783
|
+
handleMouseEnter() {
|
|
14784
|
+
this.updateIconColor('hover');
|
|
14785
|
+
}
|
|
14786
|
+
handleMouseLeave() {
|
|
14787
|
+
this.updateIconColor('standard');
|
|
14788
|
+
}
|
|
14789
|
+
updateIconColor(state) {
|
|
14790
|
+
let icon = this.el.shadowRoot.querySelector('icon-asset');
|
|
14791
|
+
if (icon) {
|
|
14792
|
+
if (this.iconColorMap[this.theme]) {
|
|
14793
|
+
icon.setAttribute('color', this.iconColorMap[this.theme][state]);
|
|
14794
|
+
}
|
|
14795
|
+
}
|
|
14796
|
+
}
|
|
14620
14797
|
render() {
|
|
14621
14798
|
const classMap = this.getCssClassMap();
|
|
14622
|
-
|
|
14799
|
+
let icon;
|
|
14800
|
+
switch (this.theme) {
|
|
14801
|
+
case 'bubble':
|
|
14802
|
+
icon = (h("icon-asset", { class: "cls", type: "ptc", color: "light-gray", name: "times", size: "micro" }));
|
|
14803
|
+
break;
|
|
14804
|
+
case 'standard':
|
|
14805
|
+
icon = (h("icon-asset", { class: "cls", type: "ptc", color: "black", name: "times", size: "xxx-small" }));
|
|
14806
|
+
break;
|
|
14807
|
+
}
|
|
14808
|
+
return (h(Host, null, h("span", { class: classMap, onClick: () => this.handleClick(), onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave() }, h("slot", null), icon)));
|
|
14623
14809
|
}
|
|
14624
14810
|
getCssClassMap() {
|
|
14625
14811
|
return {
|
|
@@ -14627,6 +14813,7 @@ let PtcFilterTag$1 = class extends HTMLElement {
|
|
|
14627
14813
|
[this.theme]: true
|
|
14628
14814
|
};
|
|
14629
14815
|
}
|
|
14816
|
+
get el() { return this; }
|
|
14630
14817
|
static get style() { return ptcFilterTagCss; }
|
|
14631
14818
|
};
|
|
14632
14819
|
|
|
@@ -14740,7 +14927,7 @@ let PtcIconMinimize$1 = class extends HTMLElement {
|
|
|
14740
14927
|
render() {
|
|
14741
14928
|
let scrollHeight = this.getScrollHeight();
|
|
14742
14929
|
let icon = this.opened ? 'minus' : 'plus';
|
|
14743
|
-
return (h("div", { class: "ptc-icon-minimize" }, h("div", { class: "header" }, h("div", { class: "title" }, this.heading), h("div", { class: "icon", onClick: () => this.dropdownToggle() }, h("icon-asset", { type: "ptc", size: "xxx-small", name: icon }))), h("div", { class: "content", style: scrollHeight }, h("slot", null))));
|
|
14930
|
+
return (h("div", { class: "ptc-icon-minimize" }, h("div", { class: "header" }, h("div", { class: "title" }, this.heading), h("div", { class: "icon", onClick: () => this.dropdownToggle() }, h("icon-asset", { type: "ptc", color: "black", size: "xxx-small", name: icon }))), h("div", { class: "content", style: scrollHeight }, h("slot", null))));
|
|
14744
14931
|
}
|
|
14745
14932
|
get host() { return this; }
|
|
14746
14933
|
static get style() { return ptcIconMinimizeCss; }
|
|
@@ -16137,7 +16324,7 @@ let PtcOverlay$1 = class extends HTMLElement {
|
|
|
16137
16324
|
static get style() { return ptcOverlayCss; }
|
|
16138
16325
|
};
|
|
16139
16326
|
|
|
16140
|
-
const ptcPagenationCss = ":host{display:block}.events-filter{padding:20px 32px 20px 0;text-align:center}@media (min-width: 992px){.events-filter{padding:10px 40px 10px 0px}}.events-filter .pagenation-arrow{width:40px;height:40px;margin:0 15px;vertical-align:middle}.show-page{display:inline}.hide-page{display:none}.prev-text{display:none}.last-text{display:none}@media (min-width: 992px){.prev-text{display:inline;cursor:pointer}.last-text{display:inline;cursor:pointer}}.events-filter-item{font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-semibold);font-stretch:normal;font-style:var(--ptc-font-style-normal);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:left;padding:6px;color:var(--color-gray-
|
|
16327
|
+
const ptcPagenationCss = ":host{display:block}.events-filter{padding:20px 32px 20px 0;text-align:center}@media (min-width: 992px){.events-filter{padding:10px 40px 10px 0px}}.events-filter .pagenation-arrow{width:40px;height:40px;margin:0 15px;vertical-align:middle}.show-page{display:inline}.hide-page{display:none}.prev-text{display:none}.last-text{display:none}@media (min-width: 992px){.prev-text{display:inline;cursor:pointer}.last-text{display:inline;cursor:pointer}}.events-filter-item{font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-semibold);font-stretch:normal;font-style:var(--ptc-font-style-normal);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:left;padding:6px;color:var(--color-gray-10);text-decoration:none}.events-filter .active{font-family:var(--ptc-font-latin);border-bottom:2px solid var(--color-green-13);font-weight:var(--ptc-font-weight-semibold)}.events-filter-item:hover,.events-filter-item:focus{text-decoration:none;outline:0;color:var(--color-green-14)}.events-filter .disabled{color:var(--color-white-01)}.events-filter-dots{padding:0rem;font-weight:var(--ptc-font-weight-extrabold);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-xx-small);font-stretch:normal;font-style:var(--ptc-font-style-normal);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:left;color:var(--color-gray-10);text-decoration:none}.events-disable-arrows{opacity:0.35}.events-enable-arrows{opacity:1}.events-small-dots{height:60px;margin-top:-25px}@media (min-width: 992px){.events-small-dots{height:80px;margin-top:-40px}}.last-page{transform:rotate(180deg)}";
|
|
16141
16328
|
|
|
16142
16329
|
let PtcPagenation$1 = class extends HTMLElement {
|
|
16143
16330
|
constructor() {
|
|
@@ -17133,7 +17320,6 @@ let TabHeader$1 = class extends HTMLElement {
|
|
|
17133
17320
|
constructor() {
|
|
17134
17321
|
super();
|
|
17135
17322
|
this.__registerHost();
|
|
17136
|
-
this.__attachShadow();
|
|
17137
17323
|
this.tabClicked = createEvent(this, "tabClicked", 7);
|
|
17138
17324
|
this.id = this.generateId();
|
|
17139
17325
|
this.isSelected = false;
|
|
@@ -17170,7 +17356,7 @@ let TabHeader$1 = class extends HTMLElement {
|
|
|
17170
17356
|
'tab-header-selected': this.isSelected
|
|
17171
17357
|
};
|
|
17172
17358
|
return [
|
|
17173
|
-
h("
|
|
17359
|
+
h("h2", { class: classes, onClick: this.onClick.bind(this) }, h("slot", null)),
|
|
17174
17360
|
];
|
|
17175
17361
|
}
|
|
17176
17362
|
static get style() { return tabHeaderCss; }
|
|
@@ -17191,13 +17377,13 @@ const PtcCardBottom = /*@__PURE__*/proxyCustomElement(PtcCardBottom$1, [1,"ptc-c
|
|
|
17191
17377
|
const PtcCardContent = /*@__PURE__*/proxyCustomElement(PtcCardContent$1, [1,"ptc-card-content",{"cardType":[1,"card-type"],"styles":[1]}]);
|
|
17192
17378
|
const PtcCardPlm = /*@__PURE__*/proxyCustomElement(PtcCardPlm$1, [1,"ptc-card-plm",{"cardType":[1,"card-type"],"cardLink":[1,"card-link"],"linkTitle":[1,"link-title"],"linkTarget":[1,"link-target"]}]);
|
|
17193
17379
|
const PtcCheckbox = /*@__PURE__*/proxyCustomElement(PtcCheckbox$1, [1,"ptc-checkbox",{"checked":[1025],"value":[1025],"inputName":[1,"input-name"]}]);
|
|
17194
|
-
const PtcCollapseList = /*@__PURE__*/proxyCustomElement(PtcCollapseList$1, [1,"ptc-collapse-list",{"listItems":[1040],"data":[32],"selectedItems":[32],"hashMap":[32]}]);
|
|
17380
|
+
const PtcCollapseList = /*@__PURE__*/proxyCustomElement(PtcCollapseList$1, [1,"ptc-collapse-list",{"listItems":[1040],"placeholderText":[1025,"placeholder-text"],"debounceUpdateDelay":[1026,"debounce-update-delay"],"data":[32],"searchText":[32],"selectedValue":[32],"selectedItems":[32],"hashMap":[32],"debouncedUpdatedEvent":[32],"refreshBuffer":[32]}]);
|
|
17195
17381
|
const PtcContainer = /*@__PURE__*/proxyCustomElement(PtcContainer$1, [1,"ptc-container",{"backgroundColor":[1,"background-color"],"elevation":[1],"containerType":[1,"container-type"],"spacing":[1]}]);
|
|
17196
17382
|
const PtcDate = /*@__PURE__*/proxyCustomElement(PtcDate$1, [1,"ptc-date",{"year":[2],"month":[2],"day":[2],"country":[1],"dateString":[1,"date-string"],"dateColor":[1,"date-color"],"dateStyles":[1,"date-styles"],"dataSize":[1,"data-size"]}]);
|
|
17197
17383
|
const PtcDropdown = /*@__PURE__*/proxyCustomElement(PtcDropdown$1, [1,"ptc-dropdown",{"theme":[1],"label":[1],"listItems":[16],"toggle":[32],"selectedItem":[32]},[[4,"click","offClick"]]]);
|
|
17198
17384
|
const PtcDynamicCard = /*@__PURE__*/proxyCustomElement(PtcDynamicCard$1, [1,"ptc-dynamic-card",{"cardType":[1,"card-type"],"cardTitle":[1,"card-title"],"cardImgSrc":[1,"card-img-src"],"cardImgAlt":[1,"card-img-alt"],"cardStatus":[32]},[[2,"click","handleClick"],[9,"resize","handleResize"]]]);
|
|
17199
17385
|
const PtcEllipsisDropdown = /*@__PURE__*/proxyCustomElement(PtcEllipsisDropdown$1, [1,"ptc-ellipsis-dropdown",{"dataItems":[16],"selectedTab":[1,"selected-tab"],"isDropdownOpen":[32]},[[4,"click","offClick"]]]);
|
|
17200
|
-
const PtcFilterTag = /*@__PURE__*/proxyCustomElement(PtcFilterTag$1, [1,"ptc-filter-tag",{"theme":[1]}]);
|
|
17386
|
+
const PtcFilterTag = /*@__PURE__*/proxyCustomElement(PtcFilterTag$1, [1,"ptc-filter-tag",{"theme":[1],"iconColorMap":[32]}]);
|
|
17201
17387
|
const PtcHero = /*@__PURE__*/proxyCustomElement(PtcHero$1, [1,"ptc-hero",{"heroType":[1,"hero-type"],"bgUrl":[1,"bg-url"]}]);
|
|
17202
17388
|
const PtcHeroFooterCta = /*@__PURE__*/proxyCustomElement(PtcHeroFooterCta$1, [6,"ptc-hero-footer-cta",{"ctaTitle":[1,"cta-title"],"description":[1],"backgroundImage":[1,"background-image"]}]);
|
|
17203
17389
|
const PtcIconList = /*@__PURE__*/proxyCustomElement(PtcIconList$1, [1,"ptc-icon-list",{"listType":[1,"list-type"],"valueWithUnit":[1,"value-with-unit"],"valueText":[1,"value-text"],"listContent":[1,"list-content"],"isLastItem":[4,"is-last-item"]}]);
|
|
@@ -17229,7 +17415,7 @@ const PtcTabList = /*@__PURE__*/proxyCustomElement(PtcTabList$1, [4,"ptc-tab-lis
|
|
|
17229
17415
|
const PtcTitle = /*@__PURE__*/proxyCustomElement(PtcTitle$1, [6,"ptc-title",{"isPlmHub":[4,"is-plm-hub"],"type":[1],"textAlign":[1,"text-align"],"upperline":[1],"titleShadow":[1,"title-shadow"],"titleMargin":[1,"title-margin"],"titleWeight":[1,"title-weight"],"titleSize":[1,"title-size"],"titleHeight":[1,"title-height"],"styles":[1]}]);
|
|
17230
17416
|
const PtcTwoColumnMedia = /*@__PURE__*/proxyCustomElement(PtcTwoColumnMedia$1, [1,"ptc-two-column-media",{"componentType":[1,"component-type"]}]);
|
|
17231
17417
|
const TabContent = /*@__PURE__*/proxyCustomElement(TabContent$1, [4,"tab-content",{"name":[1],"isSelected":[32]}]);
|
|
17232
|
-
const TabHeader = /*@__PURE__*/proxyCustomElement(TabHeader$1, [
|
|
17418
|
+
const TabHeader = /*@__PURE__*/proxyCustomElement(TabHeader$1, [4,"tab-header",{"name":[1],"isSelected":[32]}]);
|
|
17233
17419
|
const defineCustomElements = (opts) => {
|
|
17234
17420
|
if (typeof customElements !== 'undefined') {
|
|
17235
17421
|
[
|