@ptcwebops/ptcw-design 0.2.2 → 0.2.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/icon-asset.cjs.entry.js +64 -0
- package/dist/cjs/{index-ac192914.js → index-0b899fc6.js} +158 -87
- package/dist/cjs/list-item.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/lottie-player.cjs.entry.js +2 -2
- package/dist/cjs/my-component.cjs.entry.js +3 -3
- package/dist/cjs/ptc-announcement.cjs.entry.js +35 -0
- package/dist/cjs/ptc-avatar.cjs.entry.js +2 -2
- package/dist/cjs/ptc-button_2.cjs.entry.js +97 -0
- package/dist/cjs/ptc-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-countdown.cjs.entry.js +2 -2
- package/dist/cjs/ptc-date.cjs.entry.js +2 -2
- package/dist/cjs/ptc-footer.cjs.entry.js +2 -2
- package/dist/cjs/ptc-form_3.cjs.entry.js +171 -0
- package/dist/cjs/ptc-img.cjs.entry.js +2 -2
- package/dist/cjs/ptc-link.cjs.entry.js +2 -2
- package/dist/cjs/ptc-list.cjs.entry.js +2 -2
- package/dist/cjs/ptc-lottie.cjs.entry.js +2 -2
- package/dist/cjs/ptc-nav-item.cjs.entry.js +2 -2
- package/dist/cjs/ptc-nav.cjs.entry.js +2 -2
- package/dist/cjs/ptc-overlay.cjs.entry.js +2 -2
- package/dist/cjs/ptc-para.cjs.entry.js +40 -0
- package/dist/cjs/ptc-picture.cjs.entry.js +2 -2
- package/dist/cjs/ptc-spacer.cjs.entry.js +2 -2
- package/dist/cjs/ptc-span.cjs.entry.js +2 -2
- package/dist/cjs/ptc-title.cjs.entry.js +3 -3
- package/dist/cjs/ptcw-design.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +5 -2
- package/dist/collection/components/my-component/my-component.js +2 -3
- package/dist/collection/components/ptc-announcement/ptc-announcement.js +2 -2
- package/dist/collection/components/ptc-button/ptc-button.js +2 -2
- package/dist/collection/components/ptc-form/ptc-form.css +3 -0
- package/dist/collection/components/ptc-form/ptc-form.js +118 -0
- package/dist/collection/components/ptc-form/validation/FormValidation.full.min.js +1 -0
- package/dist/collection/components/ptc-form/validation/FormValidation.js +4234 -0
- package/dist/collection/components/ptc-input/ptc-input.css +47 -0
- package/dist/collection/components/ptc-input/ptc-input.js +133 -80
- package/dist/collection/components/ptc-select/ptc-select.css +22 -0
- package/dist/collection/components/ptc-select/ptc-select.js +105 -0
- package/dist/collection/components/ptc-title/ptc-title.js +1 -1
- package/dist/custom-elements/index.d.ts +19 -1
- package/dist/custom-elements/index.js +220 -50
- package/dist/esm/icon-asset.entry.js +60 -0
- package/dist/esm/{index-7a3883ee.js → index-eb8ce23d.js} +159 -88
- package/dist/esm/list-item.entry.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/lottie-player.entry.js +2 -2
- package/dist/esm/my-component.entry.js +3 -3
- package/dist/esm/ptc-announcement.entry.js +31 -0
- package/dist/esm/ptc-avatar.entry.js +2 -2
- package/dist/esm/ptc-button_2.entry.js +92 -0
- package/dist/esm/ptc-card.entry.js +2 -2
- package/dist/esm/ptc-countdown.entry.js +2 -2
- package/dist/esm/ptc-date.entry.js +2 -2
- package/dist/esm/ptc-footer.entry.js +2 -2
- package/dist/esm/ptc-form_3.entry.js +165 -0
- package/dist/esm/ptc-img.entry.js +2 -2
- package/dist/esm/ptc-link.entry.js +2 -2
- package/dist/esm/ptc-list.entry.js +2 -2
- package/dist/esm/ptc-lottie.entry.js +2 -2
- package/dist/esm/ptc-nav-item.entry.js +2 -2
- package/dist/esm/ptc-nav.entry.js +2 -2
- package/dist/esm/ptc-overlay.entry.js +2 -2
- package/dist/esm/ptc-para.entry.js +36 -0
- package/dist/esm/ptc-picture.entry.js +2 -2
- package/dist/esm/ptc-spacer.entry.js +2 -2
- package/dist/esm/ptc-span.entry.js +2 -2
- package/dist/esm/ptc-title.entry.js +3 -3
- package/dist/esm/ptcw-design.js +3 -3
- package/dist/ptcw-design/p-01243ce4.entry.js +1 -0
- package/dist/ptcw-design/p-01f4bf71.entry.js +1 -0
- package/dist/ptcw-design/p-1b3b0193.entry.js +1 -0
- package/dist/ptcw-design/p-22fd400f.entry.js +1 -0
- package/dist/ptcw-design/p-23d07898.entry.js +1 -0
- package/dist/ptcw-design/p-2b59ce7a.entry.js +1 -0
- package/dist/ptcw-design/p-2ca3c085.js +1 -0
- package/dist/ptcw-design/p-389a5670.entry.js +1 -0
- package/dist/ptcw-design/p-3f42afb6.entry.js +1 -0
- package/dist/ptcw-design/p-51443fbb.entry.js +1 -0
- package/dist/ptcw-design/p-54794e45.entry.js +1 -0
- package/dist/ptcw-design/p-5ae43421.entry.js +1 -0
- package/dist/ptcw-design/p-63b55aba.entry.js +1 -0
- package/dist/ptcw-design/p-6b5c0d9d.entry.js +1 -0
- package/dist/ptcw-design/p-7076b32f.entry.js +1 -0
- package/dist/ptcw-design/{p-51a3e9e6.entry.js → p-75dc7328.entry.js} +1 -1
- package/dist/ptcw-design/p-945f5a15.entry.js +1 -0
- package/dist/ptcw-design/p-a86452af.entry.js +1 -0
- package/dist/ptcw-design/p-cf3d92e0.entry.js +1 -0
- package/dist/ptcw-design/p-d3f9852f.entry.js +1 -0
- package/dist/ptcw-design/p-d80b24c9.entry.js +1 -0
- package/dist/ptcw-design/p-e4b96b46.entry.js +1 -0
- package/dist/ptcw-design/p-eda0500f.entry.js +1 -0
- package/dist/ptcw-design/p-ef6acb81.entry.js +1 -0
- package/dist/ptcw-design/p-fd29d9dd.entry.js +1 -0
- package/dist/ptcw-design/ptcw-design.css +1 -1
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/ptcw-design/validation/FormValidation.full.min.js +1 -0
- package/dist/ptcw-design/validation/FormValidation.js +4234 -0
- package/dist/types/components/ptc-form/ptc-form.d.ts +11 -0
- package/dist/types/components/ptc-input/ptc-input.d.ts +19 -0
- package/dist/types/components/ptc-select/ptc-select.d.ts +9 -0
- package/dist/types/components.d.ts +63 -0
- package/dist/types/global.d.ts +1072 -0
- package/dist/types/stencil-public-runtime.d.ts +189 -186
- package/loader/index.d.ts +0 -1
- package/package.json +6 -2
- package/readme.md +1 -1
- package/dist/cjs/icon-asset_5.cjs.entry.js +0 -218
- package/dist/esm/icon-asset_5.entry.js +0 -210
- package/dist/ptcw-design/p-0c8df906.entry.js +0 -1
- package/dist/ptcw-design/p-186beb2c.entry.js +0 -1
- package/dist/ptcw-design/p-2d5f8cff.entry.js +0 -1
- package/dist/ptcw-design/p-50923c9a.js +0 -1
- package/dist/ptcw-design/p-62706e4e.entry.js +0 -1
- package/dist/ptcw-design/p-66ffa30c.entry.js +0 -1
- package/dist/ptcw-design/p-6b1a35e1.entry.js +0 -1
- package/dist/ptcw-design/p-73e2418e.entry.js +0 -1
- package/dist/ptcw-design/p-796b8287.entry.js +0 -1
- package/dist/ptcw-design/p-8edac972.entry.js +0 -1
- package/dist/ptcw-design/p-90402319.entry.js +0 -1
- package/dist/ptcw-design/p-919311d2.entry.js +0 -1
- package/dist/ptcw-design/p-ac449734.entry.js +0 -1
- package/dist/ptcw-design/p-d17b386a.entry.js +0 -1
- package/dist/ptcw-design/p-d44c44e6.entry.js +0 -1
- package/dist/ptcw-design/p-d6553853.entry.js +0 -1
- package/dist/ptcw-design/p-ef250898.entry.js +0 -1
- package/dist/ptcw-design/p-f694e46a.entry.js +0 -1
- package/dist/ptcw-design/p-f80152dc.entry.js +0 -1
- package/dist/ptcw-design/p-ff28ce2d.entry.js +0 -1
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0b899fc6.js');
|
|
6
6
|
|
|
7
7
|
const ptcListCss = "ptc-list .link-primary li{font-size:var(--ptc-font-size-medium);line-height:var(--ptc-line-height-normal);letter-spacing:var(--ptc-letter-spacing-normal);list-style:none}ptc-list .link-primary li:not(:last-child){margin-bottom:0.625rem}ptc-list .link-primary li a{color:var(--color-white);outline:none;text-decoration:none;font-family:Rajdhani;font-size:var(--ptc-font-size-medium);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-normal);text-transform:uppercase;letter-spacing:var(--ptc-letter-spacing-normal)}ptc-list .link-primary li a:hover{color:var(--color-white);border-bottom:1.5px solid var(--color-primary-green)}";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
let PtcList = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
this.listType = 'para-list';
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0b899fc6.js');
|
|
6
6
|
|
|
7
7
|
const ptcLottieCss = ":host{display:block;width:100%;height:auto}";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
let PtcLottie = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
/**
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0b899fc6.js');
|
|
6
6
|
|
|
7
7
|
const ptcNavItemCss = ":host{display:block;width:100%}@media screen and (min-width: 992px){:host{width:auto}}:host([depth=\"2\"]) a{font-family:var(--ptc-font-secondary-latin);font-size:var(--ptc-font-size-medium);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-dense);letter-spacing:var(--ptc-letter-spacing-dense);margin-bottom:var(--ptc-element-spacing-03);padding-left:50px}@media screen and (min-width: 992px){:host([depth=\"2\"]) a{padding-left:0px}}:host([depth=\"1\"]) a{font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-dense);letter-spacing:var(--ptc-letter-spacing-dense);padding:20px 25px}:host([nav-type=secondary-nav]) a{font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-thin)}:host([nav-type=language-nav]) a{font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-thin)}@media only screen and (min-width: 992px){.primary-nav~.ptc-nav-children{position:absolute;left:0}.primary-nav~.ptc-nav-children ::slotted(.nav-tab){background-color:#1c2126;display:flex;width:100vw}.language-nav~.ptc-nav-children{position:absolute;background-color:#1c2126}}a[aria-expanded=true]~.ptc-nav-children{padding-top:var(--ptc-element-spacing-04);max-height:2000px}@media screen and (min-width: 992px){a[aria-expanded=true]~.ptc-nav-children{padding-top:0}}.ptc-nav-children{overflow:hidden;max-height:0;transition:max-height 0.25s ease-in-out, padding-top 0.25s ease-in-out}a{color:var(--color-white);text-transform:uppercase;display:block;outline:none;text-decoration:none}";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
let PtcNavItem = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
this.menuItemToggled = index.createEvent(this, "menuItemToggled", 7);
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0b899fc6.js');
|
|
6
6
|
|
|
7
7
|
const ptcNavCss = ":host{display:block}.nav-style{background-color:#1c2126;display:block}@media only screen and (min-width: 992px){.nav-style{display:grid;grid-template-columns:auto fit-content(76px);grid-template-rows:fit-content(22px) 1fr;grid-template-areas:\"secondary secondary\" \"primary language\"}.primary-nav{grid-area:primary}.secondary-nav{grid-area:secondary}.language-nav{grid-area:language}}";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
let PtcNav = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0b899fc6.js');
|
|
6
6
|
|
|
7
7
|
const ptcOverlayCss = ":host{display:block}";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
let PtcOverlay = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-0b899fc6.js');
|
|
6
|
+
|
|
7
|
+
const ptcParaCss = "p.default{text-shadow:0 3px 6px var(--color-white);line-height:var(--ptc-line-height-dense);color:var(--color-primary-grey)}p.xx-small{font-size:var(--ptc-font-size-xx-small)}p.x-small{font-size:var(--ptc-font-size-x-small)}p.small{font-size:var(--ptc-font-size-small)}p.medium{font-size:var(--ptc-font-size-medium)}p.large{font-size:var(--ptc-font-size-large)}p.x-large{font-size:var(--ptc-font-size-x-large)}p.xx-large{font-size:var(--ptc-font-size-xx-large)}p.xxx-large{font-size:var(--ptc-font-size-xxx-large)}p.xxxx-large{font-size:var(--ptc-font-size-xxxx-large)}p.w-3{font-weight:var(--ptc-font-weight-thin)}p.w-4{font-weight:var(--ptc-font-weight-regular)}p.w-5{font-weight:var(--ptc-font-weight-medium)}p.w-6{font-weight:var(--ptc-font-weight-semibold)}p.w-7{font-weight:var(--ptc-font-weight-bold)}p.w-8{font-weight:var(--ptc-font-weight-extrabold)}p.w-9{font-weight:var(--ptc-font-weight-black)}p.margin-flush{margin-top:0;margin-bottom:0}p.margin-top-3{margin-top:var(--ptc-element-spacing-03)}p.margin-top-4{margin-top:var(--ptc-element-spacing-04)}p.margin-top-5{margin-top:var(--ptc-element-spacing-05)}p.margin-top-6{margin-top:var(--ptc-element-spacing-06)}p.margin-bottom-3{margin-bottom:var(--ptc-element-spacing-03)}p.margin-bottom-4{margin-bottom:var(--ptc-element-spacing-04)}p.margin-bottom-5{margin-bottom:var(--ptc-element-spacing-05)}p.margin-bottom-6{margin-bottom:var(--ptc-element-spacing-06)}p.announcement{text-transform:uppercase;font-size:var(--ptc-font-size-small);color:var(--color-secondary-grey);line-height:var(--ptc-line-height-looser);letter-spacing:1px}";
|
|
8
|
+
|
|
9
|
+
let PtcPara = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
/**
|
|
13
|
+
* Paragraph font size
|
|
14
|
+
**/
|
|
15
|
+
this.fontSize = "medium";
|
|
16
|
+
/**
|
|
17
|
+
* Paragraph font weight
|
|
18
|
+
**/
|
|
19
|
+
this.fontWeight = 'w-4';
|
|
20
|
+
/**
|
|
21
|
+
* Paragraph Style
|
|
22
|
+
**/
|
|
23
|
+
this.paraStyle = 'default';
|
|
24
|
+
}
|
|
25
|
+
render() {
|
|
26
|
+
const classMap = this.getCssClassMap();
|
|
27
|
+
return (index.h("p", { class: classMap, part: "part-para" }, index.h("slot", null)));
|
|
28
|
+
}
|
|
29
|
+
getCssClassMap() {
|
|
30
|
+
return {
|
|
31
|
+
[this.fontSize]: true,
|
|
32
|
+
[this.fontWeight]: true,
|
|
33
|
+
[this.paraStyle]: true,
|
|
34
|
+
[this.paraMargin]: true,
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
PtcPara.style = ptcParaCss;
|
|
39
|
+
|
|
40
|
+
exports.ptc_para = PtcPara;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0b899fc6.js');
|
|
6
6
|
const interfaces = require('./interfaces-0ecd8027.js');
|
|
7
7
|
|
|
8
8
|
const ptcPictureCss = ":host{display:block;overflow:hidden}img{max-width:100%;height:auto}.cover{object-fit:cover}.fill{object-fit:fill}.contain{object-fit:contain}.scale-down{object-fit:scale-down}.none{object-fit:none}.initial{object-fit:initial}.inherit{object-fit:inherit}";
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
let PtcPicture = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
/**
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0b899fc6.js');
|
|
6
6
|
|
|
7
7
|
const ptcSpacerCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.ptc-spacer-horizontal){display:inline-block;height:100% !important}:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.ptc-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.ptc-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.small){width:12px;min-width:12px}}:host(.ptc-spacer-horizontal.medium){height:100%}:host(.ptc-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.large){width:20px;min-width:20px}}:host(.ptc-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.ptc-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.ptc-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.ptc-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.ptc-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.ptc-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.ptc-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.ptc-spacer-vertical.small){height:12px;min-height:12px}}:host(.ptc-spacer-vertical.medium){width:100%}:host(.ptc-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.ptc-spacer-vertical.large){height:20px;min-height:20px}}:host(.ptc-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.ptc-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.ptc-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.ptc-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.ptc-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.ptc-spacer-xx-small){display:block}}:host(.ptc-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.ptc-spacer-x-small){display:block}}:host(.ptc-spacer-small){display:none}@media (min-width: 36em){:host(.ptc-spacer-small){display:block}}:host(.ptc-spacer-medium){display:none}@media (min-width: 48em){:host(.ptc-spacer-medium){display:block}}:host(.ptc-spacer-large){display:none}@media (min-width: 62em){:host(.ptc-spacer-large){display:block}}:host(.ptc-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.ptc-spacer-x-large){display:block}}:host(.ptc-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.ptc-spacer-xx-large){display:block}}";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
let PtcSpacer = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
/**
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0b899fc6.js');
|
|
6
6
|
|
|
7
7
|
const ptcSpanCss = ":host(.link-style) span{color:var(--color-primary-uigrey);font-weight:var(--ptc-font-weight-black);position:relative;line-height:var(--ptc-line-height-normal)}:host(.nav-style) span{display:block;color:#cac8c8;font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense);text-transform:capitalize;padding-left:var(--ptc-element-spacing-05);font-size:17px;padding-bottom:var(--ptc-element-spacing-03)}:host(.tag-style) span{font-size:var(--ptc-font-size-medium);line-height:var(--ptc-line-height-dense);font-weight:var(--ptc-font-weight-regular);color:#40434a}:host(.inline) span{display:inline}:host(.block) span{display:block}:host(.inline-block) span{display:inline-block}";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
let PtcSpan = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
/**
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0b899fc6.js');
|
|
6
6
|
|
|
7
|
-
const ptcTitleCss = "div.center{text-align:center}div.center.dotted h1::before,div.center.dotted h2::before,div.center.dotted h3::before{left:50%;transform:translateX(-50%)}div.left{text-align:left}div.left.dotted h1::before,div.left.dotted h2::before,div.left.dotted h3::before{left:0%}div.right{text-align:right}div.right.dotted h1::before,div.right.dotted h2::before,div.right.dotted h3::before{right:0%}div.dotted h1::before,div.dotted h2::before,div.dotted h3::before{content:\"\";position:absolute;top:-6px;width:30%;display:block;border-top:3px dashed #5bb73b}div.solid h1::before,div.solid h2::before,div.solid h3::before{content:\"\";position:absolute;width:100%;height:0.7px;background-color:var(--color-secondary-grey);opacity:0.9;left:0px}div.solid h1::after,div.solid h2::after,div.solid h3::after{content:\"\";position:absolute;width:20%;height:2px;background-color:var(--color-primary-green);top:-2px;left:0px}div h1,div h2,div h3{display:inline-block;position:relative}div h1{font-size:46px;line-height:52px;font-weight:800;letter-spacing:0px;color:var(--color-primary-grey)}div h2{font-size:28px;line-height:32px;font-weight:800;color:var(--color-primary-grey)}";
|
|
7
|
+
const ptcTitleCss = "div.center.sc-ptc-title{text-align:center}div.center.dotted.sc-ptc-title h1.sc-ptc-title::before,div.center.dotted.sc-ptc-title h2.sc-ptc-title::before,div.center.dotted.sc-ptc-title h3.sc-ptc-title::before{left:50%;transform:translateX(-50%)}div.left.sc-ptc-title{text-align:left}div.left.dotted.sc-ptc-title h1.sc-ptc-title::before,div.left.dotted.sc-ptc-title h2.sc-ptc-title::before,div.left.dotted.sc-ptc-title h3.sc-ptc-title::before{left:0%}div.right.sc-ptc-title{text-align:right}div.right.dotted.sc-ptc-title h1.sc-ptc-title::before,div.right.dotted.sc-ptc-title h2.sc-ptc-title::before,div.right.dotted.sc-ptc-title h3.sc-ptc-title::before{right:0%}div.dotted.sc-ptc-title h1.sc-ptc-title::before,div.dotted.sc-ptc-title h2.sc-ptc-title::before,div.dotted.sc-ptc-title h3.sc-ptc-title::before{content:\"\";position:absolute;top:-6px;width:30%;display:block;border-top:3px dashed #5bb73b}div.solid.sc-ptc-title h1.sc-ptc-title::before,div.solid.sc-ptc-title h2.sc-ptc-title::before,div.solid.sc-ptc-title h3.sc-ptc-title::before{content:\"\";position:absolute;width:100%;height:0.7px;background-color:var(--color-secondary-grey);opacity:0.9;left:0px}div.solid.sc-ptc-title h1.sc-ptc-title::after,div.solid.sc-ptc-title h2.sc-ptc-title::after,div.solid.sc-ptc-title h3.sc-ptc-title::after{content:\"\";position:absolute;width:20%;height:2px;background-color:var(--color-primary-green);top:-2px;left:0px}div.sc-ptc-title h1.sc-ptc-title,div.sc-ptc-title h2.sc-ptc-title,div.sc-ptc-title h3.sc-ptc-title{display:inline-block;position:relative}div.sc-ptc-title h1.sc-ptc-title{font-size:46px;line-height:52px;font-weight:800;letter-spacing:0px;color:var(--color-primary-grey)}div.sc-ptc-title h2.sc-ptc-title{font-size:28px;line-height:32px;font-weight:800;color:var(--color-primary-grey)}";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
let PtcTitle = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-0b899fc6.js');
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v2.
|
|
6
|
+
Stencil Client Patch Browser v2.13.0 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
const patchBrowser = () => {
|
|
9
9
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('ptcw-design.cjs.js', document.baseURI).href));
|
|
@@ -15,5 +15,5 @@ const patchBrowser = () => {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(options => {
|
|
18
|
-
return index.bootstrapLazy([["ptc-card.cjs",[[1,"ptc-card",{"cardType":[1,"card-type"],"cardHref":[1,"card-href"],"target":[1],"rel":[1],"hasImage":[4,"has-image"],"hasVideo":[4,"has-video"],"hasLottie":[4,"has-lottie"],"heading":[1],"cardDate":[1,"card-date"],"styles":[1]}]]],["ptc-link.cjs",[[1,"ptc-link",{"disabled":[516],"external":[516],"href":[1],"target":[1],"linkTitle":[1,"link-title"],"theme":[1],"uppercase":[4],"fontSize":[1,"font-size"]}]]],["ptc-lottie.cjs",[[1,"ptc-lottie",{"jsonSrc":[1025,"json-src"],"speed":[1026]}]]],["list-item.cjs",[[4,"list-item",{"listType":[1,"list-type"],"linkHref":[1,"link-href"]}]]],["my-component.cjs",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]],["ptc-avatar.cjs",[[1,"ptc-avatar"]]],["ptc-countdown.cjs",[[1,"ptc-countdown"]]],["ptc-footer.cjs",[[1,"ptc-footer"]]],["ptc-img.cjs",[[0,"ptc-img",{"sizeXs":[1025,"size-xs"],"sizeSm":[1025,"size-sm"],"sizeMd":[1025,"size-md"],"sizeLg":[1025,"size-lg"],"imgUrl":[1,"img-url"],"imageType":[1,"image-type"],"borderRadius":[1,"border-radius"],"loadMode":[1,"load-mode"]},[[9,"resize","WindowResize"]]]]],["ptc-list.cjs",[[0,"ptc-list",{"listType":[1,"list-type"],"listItems":[16]}]]],["ptc-nav.cjs",[[1,"ptc-nav"]]],["ptc-nav-item.cjs",[[1,"ptc-nav-item",{"url":[1025],"label":[1025],"ariaExpanded":[1028,"aria-expanded"],"depth":[1538],"hasChildren":[1028,"has-children"],"parentExpanded":[1540,"parent-expanded"],"navType":[1,"nav-type"]},[[0,"handleClick","handleClick"],[9,"resize","handleResize"]]]]],["ptc-overlay.cjs",[[4,"ptc-overlay"]]],["ptc-picture.cjs",[[1,"ptc-picture",{"src":[1],"alt":[1],"sizeXs":[1025,"size-xs"],"sizeSm":[1025,"size-sm"],"sizeMd":[1025,"size-md"],"sizeLg":[1025,"size-lg"],"borderRadius":[1,"border-radius"],"height":[1],"width":[1],"objectFit":[1,"object-fit"],"styles":[1],"oldSrc":[32]},[[9,"resize","WindowResize"]]]]],["ptc-spacer.cjs",[[1,"ptc-spacer",{"breakpoint":[1],"size":[1],"direction":[1]}]]],["ptc-span.cjs",[[1,"ptc-span",{"spanStyle":[1,"span-style"],"display":[1],"styles":[1]}]]],["ptc-title.cjs",[[
|
|
18
|
+
return index.bootstrapLazy([["ptc-announcement.cjs",[[1,"ptc-announcement",{"btnText":[513,"btn-text"],"visible":[1540],"btnLink":[513,"btn-link"],"tempContainer":[4,"temp-container"]}]]],["ptc-card.cjs",[[1,"ptc-card",{"cardType":[1,"card-type"],"cardHref":[1,"card-href"],"target":[1],"rel":[1],"hasImage":[4,"has-image"],"hasVideo":[4,"has-video"],"hasLottie":[4,"has-lottie"],"heading":[1],"cardDate":[1,"card-date"],"styles":[1]}]]],["ptc-link.cjs",[[1,"ptc-link",{"disabled":[516],"external":[516],"href":[1],"target":[1],"linkTitle":[1,"link-title"],"theme":[1],"uppercase":[4],"fontSize":[1,"font-size"]}]]],["ptc-lottie.cjs",[[1,"ptc-lottie",{"jsonSrc":[1025,"json-src"],"speed":[1026]}]]],["ptc-form_3.cjs",[[6,"ptc-form",{"value":[32],"inputValue":[32],"selectValue":[32]}],[6,"ptc-input",{"type":[1],"dataEloquaName":[1,"data-eloqua-name"],"inputId":[1,"input-id"],"inputName":[1,"input-name"],"focused":[32]}],[6,"ptc-select",{"dataEloquaName":[1,"data-eloqua-name"],"selectId":[1,"select-id"],"name":[1],"valueOptions":[1040]}]]],["list-item.cjs",[[4,"list-item",{"listType":[1,"list-type"],"linkHref":[1,"link-href"]}]]],["my-component.cjs",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]],["ptc-avatar.cjs",[[1,"ptc-avatar"]]],["ptc-countdown.cjs",[[1,"ptc-countdown"]]],["ptc-footer.cjs",[[1,"ptc-footer"]]],["ptc-img.cjs",[[0,"ptc-img",{"sizeXs":[1025,"size-xs"],"sizeSm":[1025,"size-sm"],"sizeMd":[1025,"size-md"],"sizeLg":[1025,"size-lg"],"imgUrl":[1,"img-url"],"imageType":[1,"image-type"],"borderRadius":[1,"border-radius"],"loadMode":[1,"load-mode"]},[[9,"resize","WindowResize"]]]]],["ptc-list.cjs",[[0,"ptc-list",{"listType":[1,"list-type"],"listItems":[16]}]]],["ptc-nav.cjs",[[1,"ptc-nav"]]],["ptc-nav-item.cjs",[[1,"ptc-nav-item",{"url":[1025],"label":[1025],"ariaExpanded":[1028,"aria-expanded"],"depth":[1538],"hasChildren":[1028,"has-children"],"parentExpanded":[1540,"parent-expanded"],"navType":[1,"nav-type"]},[[0,"handleClick","handleClick"],[9,"resize","handleResize"]]]]],["ptc-overlay.cjs",[[4,"ptc-overlay"]]],["ptc-para.cjs",[[1,"ptc-para",{"fontSize":[1,"font-size"],"fontWeight":[1,"font-weight"],"paraStyle":[1,"para-style"],"paraMargin":[1,"para-margin"]}]]],["ptc-picture.cjs",[[1,"ptc-picture",{"src":[1],"alt":[1],"sizeXs":[1025,"size-xs"],"sizeSm":[1025,"size-sm"],"sizeMd":[1025,"size-md"],"sizeLg":[1025,"size-lg"],"borderRadius":[1,"border-radius"],"height":[1],"width":[1],"objectFit":[1,"object-fit"],"styles":[1],"oldSrc":[32]},[[9,"resize","WindowResize"]]]]],["ptc-spacer.cjs",[[1,"ptc-spacer",{"breakpoint":[1],"size":[1],"direction":[1]}]]],["ptc-span.cjs",[[1,"ptc-span",{"spanStyle":[1,"span-style"],"display":[1],"styles":[1]}]]],["ptc-title.cjs",[[6,"ptc-title",{"type":[1],"textAlign":[1,"text-align"],"upperline":[1]}]]],["lottie-player.cjs",[[1,"lottie-player",{"mode":[1],"autoplay":[4],"background":[513],"controls":[4],"count":[2],"direction":[2],"hover":[4],"loop":[516],"renderer":[1],"speed":[2],"src":[1],"currentState":[1,"current-state"],"seeker":[8],"intermission":[2],"play":[64],"pause":[64],"stop":[64],"seek":[64],"getLottie":[64],"setSpeed":[64],"setDirection":[64],"setLooping":[64],"togglePlay":[64],"toggleLooping":[64]}]]],["ptc-date.cjs",[[1,"ptc-date",{"year":[2],"month":[2],"day":[2],"country":[1],"dateString":[1,"date-string"],"dateStyles":[1,"date-styles"]}]]],["ptc-button_2.cjs",[[1,"ptc-button",{"disabled":[516],"type":[1],"color":[1],"iconAnimation":[1,"icon-animation"],"iconPosition":[1,"icon-position"],"linkHref":[1,"link-href"],"target":[1],"rel":[1],"tabNav":[2,"tab-nav"],"styles":[1]}],[1,"ptc-svg-btn",{"svgName":[1,"svg-name"]}]]],["icon-asset.cjs",[[0,"icon-asset",{"name":[1],"size":[1],"type":[1],"spin":[1],"pulse":[1],"color":[1]}]]]], options);
|
|
19
19
|
});
|
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
"./components/ptc-countdown/ptc-countdown.js",
|
|
11
11
|
"./components/ptc-date/ptc-date.js",
|
|
12
12
|
"./components/ptc-footer/ptc-footer.js",
|
|
13
|
+
"./components/ptc-form/ptc-form.js",
|
|
13
14
|
"./components/ptc-img/ptc-img.js",
|
|
15
|
+
"./components/ptc-input/ptc-input.js",
|
|
14
16
|
"./components/ptc-link/ptc-link.js",
|
|
15
17
|
"./components/ptc-list/ptc-list.js",
|
|
16
18
|
"./components/ptc-lottie/ptc-lottie.js",
|
|
@@ -19,6 +21,7 @@
|
|
|
19
21
|
"./components/ptc-overlay/ptc-overlay.js",
|
|
20
22
|
"./components/ptc-para/ptc-para.js",
|
|
21
23
|
"./components/ptc-picture/ptc-picture.js",
|
|
24
|
+
"./components/ptc-select/ptc-select.js",
|
|
22
25
|
"./components/ptc-spacer/ptc-spacer.js",
|
|
23
26
|
"./components/ptc-span/ptc-span.js",
|
|
24
27
|
"./components/ptc-svg-btn/ptc-svg-btn.js",
|
|
@@ -26,8 +29,8 @@
|
|
|
26
29
|
],
|
|
27
30
|
"compiler": {
|
|
28
31
|
"name": "@stencil/core",
|
|
29
|
-
"version": "2.
|
|
30
|
-
"typescriptVersion": "4.
|
|
32
|
+
"version": "2.13.0",
|
|
33
|
+
"typescriptVersion": "4.3.5"
|
|
31
34
|
},
|
|
32
35
|
"collections": [
|
|
33
36
|
{
|
|
@@ -6,9 +6,8 @@ export class MyComponent {
|
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
8
|
return h("div", null,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
this.getText()));
|
|
9
|
+
"Hello, World! I'm ",
|
|
10
|
+
this.getText());
|
|
12
11
|
}
|
|
13
12
|
static get is() { return "my-component"; }
|
|
14
13
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,9 +18,9 @@ export class PtcAnnouncement {
|
|
|
18
18
|
h("div", { class: "left-content", part: "part-left-content" },
|
|
19
19
|
h("div", { class: "description" },
|
|
20
20
|
h("slot", null)),
|
|
21
|
-
!!this.btnText ? (h("ptc-button", { color: "
|
|
21
|
+
!!this.btnText ? (h("ptc-button", { color: "ptc-quaternary", "link-href": this.btnLink, class: "hydrated" },
|
|
22
22
|
this.btnText,
|
|
23
|
-
h("icon-asset", { slot: "slot-after-text", type: "ptc", size: "small", name: "
|
|
23
|
+
h("icon-asset", { slot: "slot-after-text", type: "ptc", size: "small", name: "button-arrow-right", color: "white" }))) : null),
|
|
24
24
|
h("ptc-svg-btn", { "svg-name": "close", onClick: this.closeClick })))));
|
|
25
25
|
}
|
|
26
26
|
getCssClassMap() {
|
|
@@ -12,7 +12,7 @@ export class PtcButton {
|
|
|
12
12
|
/**
|
|
13
13
|
* Button theme color
|
|
14
14
|
*/
|
|
15
|
-
this.color = '
|
|
15
|
+
this.color = 'ptc-primary';
|
|
16
16
|
/**
|
|
17
17
|
* Icon Animation
|
|
18
18
|
*/
|
|
@@ -124,7 +124,7 @@ export class PtcButton {
|
|
|
124
124
|
},
|
|
125
125
|
"attribute": "color",
|
|
126
126
|
"reflect": false,
|
|
127
|
-
"defaultValue": "'
|
|
127
|
+
"defaultValue": "'ptc-primary'"
|
|
128
128
|
},
|
|
129
129
|
"iconAnimation": {
|
|
130
130
|
"type": "string",
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { Component, h, Element, State } from '@stencil/core';
|
|
2
|
+
import './validation/FormValidation.full.min.js';
|
|
3
|
+
export class PtcForm {
|
|
4
|
+
handleChange(event) {
|
|
5
|
+
this.inputValue = event.target.value;
|
|
6
|
+
// if (event.target.validity.typeMismatch) {
|
|
7
|
+
// console.log('this element is not valid')
|
|
8
|
+
// };
|
|
9
|
+
console.log(this.inputValue);
|
|
10
|
+
}
|
|
11
|
+
handleSelect(event) {
|
|
12
|
+
this.selectValue = event.target.value;
|
|
13
|
+
console.log(this.selectValue);
|
|
14
|
+
}
|
|
15
|
+
componentDidLoad() {
|
|
16
|
+
// const countryValue = (this.el.shadowRoot.getElementById("contact-country") as HTMLInputElement).value;
|
|
17
|
+
// console.log(countryValue);
|
|
18
|
+
//console.log(this.el.shadowRoot.querySelector('form'));
|
|
19
|
+
window.FormValidation.formValidation(this.el.querySelector('form'), {
|
|
20
|
+
fields: {
|
|
21
|
+
firstname: {
|
|
22
|
+
validators: {
|
|
23
|
+
notEmpty: {
|
|
24
|
+
message: '* The first name is required',
|
|
25
|
+
},
|
|
26
|
+
regexp: {
|
|
27
|
+
regexp: /^[a-zA-Z0-9_]+$/,
|
|
28
|
+
message: '* The username can only consist of alphabetical, number and underscore',
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
lastname: {
|
|
33
|
+
validators: {
|
|
34
|
+
notEmpty: {
|
|
35
|
+
message: '* The last name is required',
|
|
36
|
+
},
|
|
37
|
+
regexp: {
|
|
38
|
+
regexp: /^[a-zA-Z0-9_]+$/,
|
|
39
|
+
message: '* The username can only consist of alphabetical, number and underscore',
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
email: {
|
|
44
|
+
validators: {
|
|
45
|
+
notEmpty: {
|
|
46
|
+
message: '* Please enter your email',
|
|
47
|
+
},
|
|
48
|
+
emailAddress: {
|
|
49
|
+
message: '* The value is not a valid email address',
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
required: {
|
|
54
|
+
validators: {
|
|
55
|
+
notEmpty: {
|
|
56
|
+
message: '* This field is required',
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
phoneNumber: {
|
|
61
|
+
validators: {
|
|
62
|
+
// phone: {
|
|
63
|
+
// country: function () {
|
|
64
|
+
// return countryValue;
|
|
65
|
+
// },
|
|
66
|
+
// message: 'The value is not a valid phone number',
|
|
67
|
+
// },
|
|
68
|
+
notEmpty: {
|
|
69
|
+
message: '* phone number is required',
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
postalCode: {
|
|
74
|
+
validators: {
|
|
75
|
+
// zipCode: {
|
|
76
|
+
// country: function () {
|
|
77
|
+
// return countryValue;
|
|
78
|
+
// },
|
|
79
|
+
// message: 'The value is not a valid postal code',
|
|
80
|
+
// },
|
|
81
|
+
notEmpty: {
|
|
82
|
+
message: '* zipcode is required',
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
plugins: {
|
|
88
|
+
message: new FormValidation.plugins.Message({
|
|
89
|
+
clazz: '...',
|
|
90
|
+
}),
|
|
91
|
+
trigger: new FormValidation.plugins.Trigger(),
|
|
92
|
+
submitButton: new FormValidation.plugins.SubmitButton(),
|
|
93
|
+
defaultSubmit: new FormValidation.plugins.DefaultSubmit(),
|
|
94
|
+
},
|
|
95
|
+
});
|
|
96
|
+
//fv.revalidateField('phoneNumber')
|
|
97
|
+
}
|
|
98
|
+
render() {
|
|
99
|
+
return (h("form", { id: "loginForm", method: "POST", class: "loginForm" },
|
|
100
|
+
h("slot", null),
|
|
101
|
+
h("button", { type: "submit", class: "btn btn-primary" }, "Login")));
|
|
102
|
+
}
|
|
103
|
+
static get is() { return "ptc-form"; }
|
|
104
|
+
static get encapsulation() { return "scoped"; }
|
|
105
|
+
static get originalStyleUrls() { return {
|
|
106
|
+
"$": ["ptc-form.scss"]
|
|
107
|
+
}; }
|
|
108
|
+
static get styleUrls() { return {
|
|
109
|
+
"$": ["ptc-form.css"]
|
|
110
|
+
}; }
|
|
111
|
+
static get assetsDirs() { return ["validation"]; }
|
|
112
|
+
static get states() { return {
|
|
113
|
+
"value": {},
|
|
114
|
+
"inputValue": {},
|
|
115
|
+
"selectValue": {}
|
|
116
|
+
}; }
|
|
117
|
+
static get elementRef() { return "el"; }
|
|
118
|
+
}
|