@ptcwebops/ptcw-design 6.3.3 → 6.3.4
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/{component-35540bfb.js → component-06dda623.js} +1 -1
- package/dist/cjs/{component-1b8ad4d2.js → component-5b5b6a98.js} +1 -1
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +3 -3
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +2 -2
- package/dist/cjs/ptc-form-checkbox_2.cjs.entry.js +1 -1
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +2 -2
- package/dist/collection/components/ptc-modal/ptc-modal.js +3 -3
- package/dist/custom-elements/index.js +4 -4
- package/dist/esm/{component-8c53e377.js → component-274da230.js} +1 -1
- package/dist/esm/{component-9beac35b.js → component-341e4eaa.js} +1 -1
- package/dist/esm/ptc-close-icon_2.entry.js +3 -3
- package/dist/esm/ptc-data-lookup.entry.js +2 -2
- package/dist/esm/ptc-form-checkbox_2.entry.js +1 -1
- package/dist/esm/ptc-multi-select_2.entry.js +2 -2
- package/dist/ptcw-design/{p-dd02e4d6.entry.js → p-076efe50.entry.js} +1 -1
- package/dist/ptcw-design/{p-2cb2de0f.entry.js → p-114d0de7.entry.js} +1 -1
- package/dist/ptcw-design/{p-5dae4f30.entry.js → p-1ca8a5bf.entry.js} +1 -1
- package/dist/ptcw-design/p-54350a01.entry.js +1 -0
- package/dist/ptcw-design/{p-98844b50.js → p-be533f0d.js} +1 -1
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/ptcw-design/p-a3822c52.entry.js +0 -1
- /package/dist/ptcw-design/{p-98426799.js → p-c1513c3f.js} +0 -0
|
@@ -14,7 +14,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
14
14
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
15
15
|
PERFORMANCE OF THIS SOFTWARE.
|
|
16
16
|
***************************************************************************** */
|
|
17
|
-
/* global Reflect, Promise, SuppressedError, Symbol
|
|
17
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
18
18
|
|
|
19
19
|
var extendStatics = function(d, b) {
|
|
20
20
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -36,10 +36,10 @@ const PtcModal = class {
|
|
|
36
36
|
// If it's inside a shadow DOM, try finding a focusable child
|
|
37
37
|
const shadowRoot = this.lastFocusElement.shadowRoot;
|
|
38
38
|
if (shadowRoot) {
|
|
39
|
-
const
|
|
40
|
-
if (
|
|
39
|
+
const focusableElementList = shadowRoot.querySelectorAll('button, [tabindex]:not([tabindex="-1"])');
|
|
40
|
+
if (focusableElementList) {
|
|
41
|
+
let focusableElement = focusableElementList[focusableElementList.length - 1];
|
|
41
42
|
focusableElement.focus();
|
|
42
|
-
console.log('yes');
|
|
43
43
|
return;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-63ddc79c.js');
|
|
6
|
-
const component = require('./component-
|
|
7
|
-
require('./component-
|
|
6
|
+
const component = require('./component-06dda623.js');
|
|
7
|
+
require('./component-5b5b6a98.js');
|
|
8
8
|
|
|
9
9
|
// Define the ElqLib class
|
|
10
10
|
class ElqLib {
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-63ddc79c.js');
|
|
6
6
|
const validationMessages = require('./validation-messages-33a4f26b.js');
|
|
7
7
|
const utils = require('./utils-ad441b07.js');
|
|
8
|
-
const component = require('./component-
|
|
8
|
+
const component = require('./component-5b5b6a98.js');
|
|
9
9
|
const _commonjsHelpers = require('./_commonjsHelpers-537d719a.js');
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-63ddc79c.js');
|
|
6
6
|
const validationMessages = require('./validation-messages-33a4f26b.js');
|
|
7
7
|
const utils = require('./utils-ad441b07.js');
|
|
8
|
-
const component = require('./component-
|
|
9
|
-
require('./component-
|
|
8
|
+
const component = require('./component-06dda623.js');
|
|
9
|
+
require('./component-5b5b6a98.js');
|
|
10
10
|
|
|
11
11
|
const ptcMultiSelectCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.ptc-multi-select{position:relative;display:block;margin-bottom:var(--ptc-element-spacing-04)}.ptc-multi-select.invalid::before{content:\"\";position:absolute;width:calc(100% + 16px);height:calc(100% + 8px);background:#FEF3F3;display:flex;flex-direction:column;justify-content:center;z-index:0;left:50%;top:50%;transform:translate(-50%, -50%)}.ptc-multi-select.invalid .mdc-select-helper-text--validation-msg{z-index:2;opacity:1;position:relative;color:#AF3231;font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-xx-small);font-style:normal;font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-densest);opacity:1;height:auto;margin-left:8px;margin-top:var(--ptc-element-spacing-02)}.ptc-multi-select.invalid .mdc-select-helper-text--validation-msg svg{transform:translate(-8px, 3px)}.ptc-multi-select .multi-select-label{display:block;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-semibold);line-height:normal;margin-bottom:var(--ptc-element-spacing-01);z-index:1;position:relative;color:#40434A}.ptc-multi-select .selected-items{cursor:pointer;background-color:#fff;border:1px solid rgba(0, 0, 0, 0.38);padding:8px;border-radius:0px;position:relative;user-select:none;color:var(--color-gray-12);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-regular);max-width:100%;max-height:34px;overflow:hidden;line-height:24px;display:flex;align-items:center}.ptc-multi-select .selected-items:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline);outline-offset:-4px}.ptc-multi-select .selected-items:focus{border:2px solid var(--color-blue-07)}.ptc-multi-select .selected-items[aria-expanded]{border:2px solid var(--color-blue-07)}.ptc-multi-select .selected-items .input-text{width:calc(100% - 18px);display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis}.ptc-multi-select .multi-select-icon{fill:rgba(0, 0, 0, 0.54);position:absolute;right:var(--ptc-element-spacing-02);width:18px;height:18px;margin:0 auto}.ptc-multi-select .multi-select-icon .multi-arrow-svg{transform:translate(-50%, 25%);position:relative;left:50%;bottom:25%}.ptc-multi-select .dropdown{display:none;list-style:none;padding:0;margin:0;border:1px solid #ccc;max-height:350px;overflow-y:auto;position:absolute;width:100%;background-color:#fff;z-index:1000;}.ptc-multi-select .dropdown.show{display:block}.ptc-multi-select .dropdown li{display:flex;align-items:center;padding:5px 8px;cursor:pointer;color:var(--color-gray-10);position:relative;}.ptc-multi-select .dropdown li:hover,.ptc-multi-select .dropdown li:focus-within{background-color:var(--color-gray-02)}.ptc-multi-select .dropdown li.selected{background-color:var(--color-gray-02)}.ptc-multi-select .dropdown li.selected:hover{background-color:var(--color-gray-04)}.ptc-multi-select .dropdown li label{display:-webkit-box;font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-xx-small);position:relative;padding-left:22px;cursor:pointer;width:100%;overflow:hidden;-webkit-line-clamp:4;line-clamp:4;-webkit-box-orient:vertical;text-overflow:ellipsis;line-height:24px}.ptc-multi-select .dropdown li:focus-within{background-color:var(--color-gray-02);outline:none}.ptc-multi-select .dropdown li:last-child{border-bottom:none}.ptc-multi-select .dropdown input[type=checkbox]{position:absolute;opacity:0;cursor:pointer}.ptc-multi-select .dropdown input[type=checkbox]:checked{background-color:var(--color-green-07)}.ptc-multi-select .dropdown label::before{content:\"\";position:absolute;left:0;top:5px;width:14px;height:14px;background-color:#fff;border:1px solid #ccc;box-sizing:border-box}.ptc-multi-select .dropdown input[type=checkbox]:checked+label::before{background-color:var(--color-green-07);border-color:var(--color-green-07)}.ptc-multi-select .dropdown input[type=checkbox]:checked+label::after{content:url(\"data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.15341 1.14134C7.0572 1.04719 6.94024 1 6.80262 1C6.66499 1 6.54771 1.04719 6.45158 1.14134L3.06571 4.45979L1.5485 2.96965C1.45197 2.8755 1.33501 2.82831 1.19738 2.82831C1.05976 2.82831 0.942797 2.8755 0.846348 2.96965L0.144437 3.65645C0.0482247 3.75091 0 3.86528 0 4.00004C0 4.13472 0.0482247 4.2494 0.144437 4.34355L2.01277 6.17186L2.71492 6.85866C2.81113 6.95312 2.92809 7 3.06571 7C3.20334 7 3.3203 6.95312 3.41675 6.85866L4.11866 6.17186L7.85556 2.51525C7.95177 2.42086 8 2.30641 8 2.17173C8 2.03705 7.95177 1.9226 7.85556 1.82814L7.15341 1.14134Z' fill='white'/%3E%3C/svg%3E\");position:absolute;left:3px;top:0px;color:white;width:8px;height:24px}.ptc-multi-select button.ddl-click-text{all:unset;cursor:pointer;color:var(--color-gray-7);text-decoration:underline;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-semibold)}.ptc-multi-select .tooltip{position:absolute;transform:translate(0, -12px);z-index:1001;padding:8px;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-weight:var(--ptc-font-weight-semibold);background:var(--color-gray-09);box-shadow:0px 2px 4px rgba(0, 0, 0, 0.3);border:none;border-radius:2px;width:auto;height:fit-content;text-align:left;text-shadow:none;white-space:normal}.ptc-multi-select .tooltip::after{position:absolute;content:\"\";bottom:0px;border:8px solid transparent;border-top:8px solid var(--color-gray-09);left:50%;transform:translate(-50%, 100%)}@media only screen and (min-width: 992px){.ptc-multi-select .tooltip{width:273px;transform:translate(-100%, 80%)}.ptc-multi-select .tooltip::after{right:8px;left:auto;transform:translateY(100%)}}.ptc-multi-select .tooltip span{word-break:initial}";
|
|
12
12
|
|
|
@@ -14,10 +14,10 @@ export class PtcModal {
|
|
|
14
14
|
// If it's inside a shadow DOM, try finding a focusable child
|
|
15
15
|
const shadowRoot = this.lastFocusElement.shadowRoot;
|
|
16
16
|
if (shadowRoot) {
|
|
17
|
-
const
|
|
18
|
-
if (
|
|
17
|
+
const focusableElementList = shadowRoot.querySelectorAll('button, [tabindex]:not([tabindex="-1"])');
|
|
18
|
+
if (focusableElementList) {
|
|
19
|
+
let focusableElement = focusableElementList[focusableElementList.length - 1];
|
|
19
20
|
focusableElement.focus();
|
|
20
|
-
console.log('yes');
|
|
21
21
|
return;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -12310,7 +12310,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
12310
12310
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
12311
12311
|
PERFORMANCE OF THIS SOFTWARE.
|
|
12312
12312
|
***************************************************************************** */
|
|
12313
|
-
/* global Reflect, Promise, SuppressedError, Symbol
|
|
12313
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
12314
12314
|
|
|
12315
12315
|
var extendStatics = function(d, b) {
|
|
12316
12316
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -23347,10 +23347,10 @@ const PtcModal$1 = class extends HTMLElement$1 {
|
|
|
23347
23347
|
// If it's inside a shadow DOM, try finding a focusable child
|
|
23348
23348
|
const shadowRoot = this.lastFocusElement.shadowRoot;
|
|
23349
23349
|
if (shadowRoot) {
|
|
23350
|
-
const
|
|
23351
|
-
if (
|
|
23350
|
+
const focusableElementList = shadowRoot.querySelectorAll('button, [tabindex]:not([tabindex="-1"])');
|
|
23351
|
+
if (focusableElementList) {
|
|
23352
|
+
let focusableElement = focusableElementList[focusableElementList.length - 1];
|
|
23352
23353
|
focusableElement.focus();
|
|
23353
|
-
console.log('yes');
|
|
23354
23354
|
return;
|
|
23355
23355
|
}
|
|
23356
23356
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __extends, a as __assign, b as __read, c as __spreadArray, M as MDCFoundation, m as matches, d as closest, e as MDCComponent, f as __values, g as getCorrectPropertyName, h as MDCRipple, i as MDCRippleFoundation, j as MDCFloatingLabel, k as MDCLineRipple, l as MDCNotchedOutline } from './component-
|
|
1
|
+
import { _ as __extends, a as __assign, b as __read, c as __spreadArray, M as MDCFoundation, m as matches, d as closest, e as MDCComponent, f as __values, g as getCorrectPropertyName, h as MDCRipple, i as MDCRippleFoundation, j as MDCFloatingLabel, k as MDCLineRipple, l as MDCNotchedOutline } from './component-341e4eaa.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
@@ -12,7 +12,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
12
12
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
13
|
PERFORMANCE OF THIS SOFTWARE.
|
|
14
14
|
***************************************************************************** */
|
|
15
|
-
/* global Reflect, Promise, SuppressedError, Symbol
|
|
15
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
16
16
|
|
|
17
17
|
var extendStatics = function(d, b) {
|
|
18
18
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -32,10 +32,10 @@ const PtcModal = class {
|
|
|
32
32
|
// If it's inside a shadow DOM, try finding a focusable child
|
|
33
33
|
const shadowRoot = this.lastFocusElement.shadowRoot;
|
|
34
34
|
if (shadowRoot) {
|
|
35
|
-
const
|
|
36
|
-
if (
|
|
35
|
+
const focusableElementList = shadowRoot.querySelectorAll('button, [tabindex]:not([tabindex="-1"])');
|
|
36
|
+
if (focusableElementList) {
|
|
37
|
+
let focusableElement = focusableElementList[focusableElementList.length - 1];
|
|
37
38
|
focusableElement.focus();
|
|
38
|
-
console.log('yes');
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-c83db688.js';
|
|
2
|
-
import { M as MDCSelect } from './component-
|
|
3
|
-
import './component-
|
|
2
|
+
import { M as MDCSelect } from './component-274da230.js';
|
|
3
|
+
import './component-341e4eaa.js';
|
|
4
4
|
|
|
5
5
|
// Define the ElqLib class
|
|
6
6
|
class ElqLib {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-c83db688.js';
|
|
2
2
|
import { V as ValidationMessages } from './validation-messages-adbb6518.js';
|
|
3
3
|
import { h as getLanguageFromURL } from './utils-63eab4bd.js';
|
|
4
|
-
import { _ as __extends, a as __assign, M as MDCFoundation, n as getCorrectEventName, h as MDCRipple, o as applyPassive, m as matches, i as MDCRippleFoundation, f as __values, e as MDCComponent, k as MDCLineRipple, j as MDCFloatingLabel, l as MDCNotchedOutline } from './component-
|
|
4
|
+
import { _ as __extends, a as __assign, M as MDCFoundation, n as getCorrectEventName, h as MDCRipple, o as applyPassive, m as matches, i as MDCRippleFoundation, f as __values, e as MDCComponent, k as MDCLineRipple, j as MDCFloatingLabel, l as MDCNotchedOutline } from './component-341e4eaa.js';
|
|
5
5
|
import { c as createCommonjsModule } from './_commonjsHelpers-9943807e.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-c83db688.js';
|
|
2
2
|
import { V as ValidationMessages } from './validation-messages-adbb6518.js';
|
|
3
3
|
import { h as getLanguageFromURL } from './utils-63eab4bd.js';
|
|
4
|
-
import { M as MDCSelect } from './component-
|
|
5
|
-
import './component-
|
|
4
|
+
import { M as MDCSelect } from './component-274da230.js';
|
|
5
|
+
import './component-341e4eaa.js';
|
|
6
6
|
|
|
7
7
|
const ptcMultiSelectCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.ptc-multi-select{position:relative;display:block;margin-bottom:var(--ptc-element-spacing-04)}.ptc-multi-select.invalid::before{content:\"\";position:absolute;width:calc(100% + 16px);height:calc(100% + 8px);background:#FEF3F3;display:flex;flex-direction:column;justify-content:center;z-index:0;left:50%;top:50%;transform:translate(-50%, -50%)}.ptc-multi-select.invalid .mdc-select-helper-text--validation-msg{z-index:2;opacity:1;position:relative;color:#AF3231;font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-xx-small);font-style:normal;font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-densest);opacity:1;height:auto;margin-left:8px;margin-top:var(--ptc-element-spacing-02)}.ptc-multi-select.invalid .mdc-select-helper-text--validation-msg svg{transform:translate(-8px, 3px)}.ptc-multi-select .multi-select-label{display:block;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-semibold);line-height:normal;margin-bottom:var(--ptc-element-spacing-01);z-index:1;position:relative;color:#40434A}.ptc-multi-select .selected-items{cursor:pointer;background-color:#fff;border:1px solid rgba(0, 0, 0, 0.38);padding:8px;border-radius:0px;position:relative;user-select:none;color:var(--color-gray-12);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-regular);max-width:100%;max-height:34px;overflow:hidden;line-height:24px;display:flex;align-items:center}.ptc-multi-select .selected-items:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline);outline-offset:-4px}.ptc-multi-select .selected-items:focus{border:2px solid var(--color-blue-07)}.ptc-multi-select .selected-items[aria-expanded]{border:2px solid var(--color-blue-07)}.ptc-multi-select .selected-items .input-text{width:calc(100% - 18px);display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis}.ptc-multi-select .multi-select-icon{fill:rgba(0, 0, 0, 0.54);position:absolute;right:var(--ptc-element-spacing-02);width:18px;height:18px;margin:0 auto}.ptc-multi-select .multi-select-icon .multi-arrow-svg{transform:translate(-50%, 25%);position:relative;left:50%;bottom:25%}.ptc-multi-select .dropdown{display:none;list-style:none;padding:0;margin:0;border:1px solid #ccc;max-height:350px;overflow-y:auto;position:absolute;width:100%;background-color:#fff;z-index:1000;}.ptc-multi-select .dropdown.show{display:block}.ptc-multi-select .dropdown li{display:flex;align-items:center;padding:5px 8px;cursor:pointer;color:var(--color-gray-10);position:relative;}.ptc-multi-select .dropdown li:hover,.ptc-multi-select .dropdown li:focus-within{background-color:var(--color-gray-02)}.ptc-multi-select .dropdown li.selected{background-color:var(--color-gray-02)}.ptc-multi-select .dropdown li.selected:hover{background-color:var(--color-gray-04)}.ptc-multi-select .dropdown li label{display:-webkit-box;font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-xx-small);position:relative;padding-left:22px;cursor:pointer;width:100%;overflow:hidden;-webkit-line-clamp:4;line-clamp:4;-webkit-box-orient:vertical;text-overflow:ellipsis;line-height:24px}.ptc-multi-select .dropdown li:focus-within{background-color:var(--color-gray-02);outline:none}.ptc-multi-select .dropdown li:last-child{border-bottom:none}.ptc-multi-select .dropdown input[type=checkbox]{position:absolute;opacity:0;cursor:pointer}.ptc-multi-select .dropdown input[type=checkbox]:checked{background-color:var(--color-green-07)}.ptc-multi-select .dropdown label::before{content:\"\";position:absolute;left:0;top:5px;width:14px;height:14px;background-color:#fff;border:1px solid #ccc;box-sizing:border-box}.ptc-multi-select .dropdown input[type=checkbox]:checked+label::before{background-color:var(--color-green-07);border-color:var(--color-green-07)}.ptc-multi-select .dropdown input[type=checkbox]:checked+label::after{content:url(\"data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.15341 1.14134C7.0572 1.04719 6.94024 1 6.80262 1C6.66499 1 6.54771 1.04719 6.45158 1.14134L3.06571 4.45979L1.5485 2.96965C1.45197 2.8755 1.33501 2.82831 1.19738 2.82831C1.05976 2.82831 0.942797 2.8755 0.846348 2.96965L0.144437 3.65645C0.0482247 3.75091 0 3.86528 0 4.00004C0 4.13472 0.0482247 4.2494 0.144437 4.34355L2.01277 6.17186L2.71492 6.85866C2.81113 6.95312 2.92809 7 3.06571 7C3.20334 7 3.3203 6.95312 3.41675 6.85866L4.11866 6.17186L7.85556 2.51525C7.95177 2.42086 8 2.30641 8 2.17173C8 2.03705 7.95177 1.9226 7.85556 1.82814L7.15341 1.14134Z' fill='white'/%3E%3C/svg%3E\");position:absolute;left:3px;top:0px;color:white;width:8px;height:24px}.ptc-multi-select button.ddl-click-text{all:unset;cursor:pointer;color:var(--color-gray-7);text-decoration:underline;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-semibold)}.ptc-multi-select .tooltip{position:absolute;transform:translate(0, -12px);z-index:1001;padding:8px;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-weight:var(--ptc-font-weight-semibold);background:var(--color-gray-09);box-shadow:0px 2px 4px rgba(0, 0, 0, 0.3);border:none;border-radius:2px;width:auto;height:fit-content;text-align:left;text-shadow:none;white-space:normal}.ptc-multi-select .tooltip::after{position:absolute;content:\"\";bottom:0px;border:8px solid transparent;border-top:8px solid var(--color-gray-09);left:50%;transform:translate(-50%, 100%)}@media only screen and (min-width: 992px){.ptc-multi-select .tooltip{width:273px;transform:translate(-100%, 80%)}.ptc-multi-select .tooltip::after{right:8px;left:auto;transform:translateY(100%)}}.ptc-multi-select .tooltip span{word-break:initial}";
|
|
8
8
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,H as n,g as a}from"./p-ac75c7ad.js";import{V as o}from"./p-18a5a338.js";import{h as c}from"./p-77b1221e.js";import{_ as r,a as d,M as l,n as s,h,o as p,m,i as f,f as x,e as u,k as g,j as b,l as _}from"./p-
|
|
1
|
+
import{r as t,c as i,h as e,H as n,g as a}from"./p-ac75c7ad.js";import{V as o}from"./p-18a5a338.js";import{h as c}from"./p-77b1221e.js";import{_ as r,a as d,M as l,n as s,h,o as p,m,i as f,f as x,e as u,k as g,j as b,l as _}from"./p-c1513c3f.js";import{c as k}from"./p-112455b1.js";
|
|
2
2
|
/**
|
|
3
3
|
* @license
|
|
4
4
|
* Copyright 2016 Google Inc.
|