@ptcwebops/ptcw-design 6.2.9-beta → 6.2.9
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/blog-detail-content_2.cjs.entry.js +1 -1
- package/dist/cjs/blog-detail-layout.cjs.entry.js +1 -1
- package/dist/cjs/blogs-search-section.cjs.entry.js +1 -1
- package/dist/cjs/{component-4dd13907.js → component-06dda623.js} +1494 -3305
- package/dist/cjs/component-5b5b6a98.js +1819 -0
- package/dist/cjs/{event-jumbotron-example_15.cjs.entry.js → event-jumbotron-example_16.cjs.entry.js} +37 -68
- package/dist/cjs/featured-list.cjs.entry.js +1 -1
- package/dist/cjs/homepage-jumbotron.cjs.entry.js +1 -1
- package/dist/cjs/homepage-toggled-content.cjs.entry.js +1 -1
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/most-popular-news.cjs.entry.js +1 -1
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/ptc-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/ptc-background-video.cjs.entry.js +1 -1
- package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +2 -1
- package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
- package/dist/cjs/ptc-footer.cjs.entry.js +1 -1
- package/dist/cjs/{ptc-form-checkbox_4.cjs.entry.js → ptc-form-checkbox_2.cjs.entry.js} +10 -795
- package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +1 -1
- package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +1 -1
- package/dist/cjs/ptc-icon-card.cjs.entry.js +2 -8
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +1 -1
- package/dist/cjs/ptc-media-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +670 -0
- package/dist/cjs/ptc-nav-submenu.cjs.entry.js +1 -1
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-previous-url.cjs.entry.js +2 -10
- package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +1 -1
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
- package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +2 -7
- package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
- package/dist/cjs/ptc-white-paper.cjs.entry.js +1 -1
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/cjs/{utils-ad441b07.js → utils-87d7b99f.js} +0 -9
- package/dist/cjs/validation-messages-33a4f26b.js +126 -0
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +2 -30
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +5 -20
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +1 -19
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.css +0 -21
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +1 -23
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +5 -20
- package/dist/collection/components/ptc-button/ptc-button.js +1 -4
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +5 -20
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +5 -20
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +5 -20
- package/dist/collection/components/ptc-footer/ptc-footer-v2.css +1 -14
- package/dist/collection/components/ptc-icon-card/ptc-icon-card.css +0 -10
- package/dist/collection/components/ptc-icon-card/ptc-icon-card.js +1 -25
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +5 -20
- package/dist/collection/components/ptc-link/ptc-link.css +0 -8
- package/dist/collection/components/ptc-link/ptc-link.js +1 -4
- package/dist/collection/components/ptc-modal/ptc-modal.css +0 -94
- package/dist/collection/components/ptc-modal/ptc-modal.js +7 -104
- package/dist/collection/components/ptc-para/ptc-para.css +0 -3
- package/dist/collection/components/ptc-para/ptc-para.js +2 -2
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +5 -20
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +0 -16
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +1 -27
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +5 -20
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +5 -20
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +5 -20
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +5 -20
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +5 -20
- package/dist/collection/components/ptc-scroll-button/ptc-scroll-button.js +1 -41
- package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.css +0 -10
- package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.js +1 -24
- package/dist/collection/components/ptc-textfield/ptc-textfield.css +0 -51
- package/dist/collection/components/ptc-textfield/ptc-textfield.js +4 -59
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +5 -20
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +5 -20
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +5 -20
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +0 -7
- package/dist/collection/utils/utils.js +0 -8
- package/dist/custom-elements/index.d.ts +0 -6
- package/dist/custom-elements/index.js +45 -222
- package/dist/esm/blog-detail-content_2.entry.js +1 -1
- package/dist/esm/blog-detail-layout.entry.js +1 -1
- package/dist/esm/blogs-search-section.entry.js +1 -1
- package/dist/esm/{component-9c921cc6.js → component-274da230.js} +1482 -3281
- package/dist/esm/component-341e4eaa.js +1802 -0
- package/dist/esm/{event-jumbotron-example_15.entry.js → event-jumbotron-example_16.entry.js} +37 -69
- package/dist/esm/featured-list.entry.js +1 -1
- package/dist/esm/homepage-jumbotron.entry.js +1 -1
- package/dist/esm/homepage-toggled-content.entry.js +1 -1
- package/dist/esm/innovator-toggle-container.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/most-popular-news.entry.js +1 -1
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +1 -1
- package/dist/esm/ptc-background-video.entry.js +1 -1
- package/dist/esm/ptc-bio-card.entry.js +1 -1
- package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
- package/dist/esm/ptc-collapse-list.entry.js +1 -1
- package/dist/esm/ptc-data-lookup.entry.js +2 -1
- package/dist/esm/ptc-featured-list.entry.js +1 -1
- package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
- package/dist/esm/ptc-footer.entry.js +1 -1
- package/dist/esm/{ptc-form-checkbox_4.entry.js → ptc-form-checkbox_2.entry.js} +9 -792
- package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
- package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
- package/dist/esm/ptc-icon-card.entry.js +3 -9
- package/dist/esm/ptc-jumbotron.entry.js +1 -1
- package/dist/esm/ptc-media-card.entry.js +1 -1
- package/dist/esm/ptc-multi-select_2.entry.js +665 -0
- package/dist/esm/ptc-nav-submenu.entry.js +1 -1
- package/dist/esm/ptc-podcast-card.entry.js +1 -1
- package/dist/esm/ptc-previous-url.entry.js +2 -10
- package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
- package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
- package/dist/esm/ptc-product-card.entry.js +1 -1
- package/dist/esm/ptc-product-category.entry.js +1 -1
- package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
- package/dist/esm/ptc-readmore-char.entry.js +1 -1
- package/dist/esm/ptc-readmore-v3.entry.js +1 -1
- package/dist/esm/ptc-social-icons-footer.entry.js +2 -7
- package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
- package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
- package/dist/esm/ptc-white-paper.entry.js +1 -1
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/esm/{utils-ff65c75b.js → utils-b7c6422e.js} +1 -9
- package/dist/esm/validation-messages-adbb6518.js +124 -0
- package/dist/ptcw-design/media/designer-v6.0.6.svg +2 -30
- package/dist/ptcw-design/p-00e21489.entry.js +1 -0
- package/dist/ptcw-design/{p-72df6678.entry.js → p-085e82b8.entry.js} +1 -1
- package/dist/ptcw-design/p-0e8e6b0a.entry.js +1 -0
- package/dist/ptcw-design/{p-d10cb999.entry.js → p-103ec637.entry.js} +1 -1
- package/dist/ptcw-design/p-136a91bf.entry.js +1 -0
- package/dist/ptcw-design/{p-5ef88025.entry.js → p-14e53256.entry.js} +1 -1
- package/dist/ptcw-design/p-18a5a338.js +1 -0
- package/dist/ptcw-design/p-18f59395.entry.js +1 -0
- package/dist/ptcw-design/p-1b7087e7.entry.js +1 -0
- package/dist/ptcw-design/p-1ca8a5bf.entry.js +1 -0
- package/dist/ptcw-design/{p-0d806031.entry.js → p-1cff585f.entry.js} +1 -1
- package/dist/ptcw-design/{p-c66b8926.entry.js → p-2335d57c.entry.js} +1 -1
- package/dist/ptcw-design/{p-c37a3bd2.entry.js → p-29639cd4.entry.js} +1 -1
- package/dist/ptcw-design/{p-d9abe7e8.entry.js → p-34610052.entry.js} +1 -1
- package/dist/ptcw-design/{p-e4000363.entry.js → p-34b270c1.entry.js} +1 -1
- package/dist/ptcw-design/p-3f71553e.entry.js +1 -0
- package/dist/ptcw-design/p-419e260c.entry.js +68 -0
- package/dist/ptcw-design/{p-d756db27.entry.js → p-48183365.entry.js} +1 -1
- package/dist/ptcw-design/{p-c95f423e.entry.js → p-4c096997.entry.js} +1 -1
- package/dist/ptcw-design/p-4e2bb0e0.entry.js +1 -0
- package/dist/ptcw-design/{p-7a9611b4.entry.js → p-52b82ac5.entry.js} +1 -1
- package/dist/ptcw-design/p-583608d9.entry.js +1 -0
- package/dist/ptcw-design/{p-11e0edaf.entry.js → p-760507e1.entry.js} +1 -1
- package/dist/ptcw-design/p-78be481f.entry.js +1 -0
- package/dist/ptcw-design/{p-e3f8e5d5.entry.js → p-7e7ebf0a.entry.js} +1 -1
- package/dist/ptcw-design/p-841b807d.js +1 -0
- package/dist/ptcw-design/p-8daf00ae.entry.js +1 -0
- package/dist/ptcw-design/{p-ae970a60.entry.js → p-999d1c9f.entry.js} +1 -1
- package/dist/ptcw-design/{p-bb902570.entry.js → p-a3a04f4e.entry.js} +1 -1
- package/dist/ptcw-design/p-be533f0d.js +134 -0
- package/dist/ptcw-design/p-c1513c3f.js +203 -0
- package/dist/ptcw-design/{p-6d3326da.entry.js → p-cffebefe.entry.js} +1 -1
- package/dist/ptcw-design/{p-77cad16c.entry.js → p-d1857ada.entry.js} +1 -1
- package/dist/ptcw-design/{p-ea7369e9.entry.js → p-d3e5b65c.entry.js} +1 -1
- package/dist/ptcw-design/p-d734b373.entry.js +1 -0
- package/dist/ptcw-design/p-dc488936.entry.js +1 -0
- package/dist/ptcw-design/p-dd73c4d1.entry.js +1 -0
- package/dist/ptcw-design/{p-da82dc93.entry.js → p-df8526a2.entry.js} +1 -1
- package/dist/ptcw-design/{p-808ec62a.entry.js → p-e38ed0e3.entry.js} +1 -1
- package/dist/ptcw-design/p-e7937ac1.entry.js +1 -0
- package/dist/ptcw-design/p-e9a7475b.entry.js +1 -0
- package/dist/ptcw-design/{p-2c6fc745.entry.js → p-eab1042e.entry.js} +1 -1
- package/dist/ptcw-design/p-f05fec22.entry.js +1 -0
- package/dist/ptcw-design/{p-2749c178.entry.js → p-fce2bd81.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.css +2 -2
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.d.ts +0 -1
- package/dist/types/components/ptc-button/ptc-button.d.ts +0 -1
- package/dist/types/components/ptc-icon-card/ptc-icon-card.d.ts +0 -6
- package/dist/types/components/ptc-link/ptc-link.d.ts +0 -1
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +2 -7
- package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +0 -2
- package/dist/types/components/ptc-scroll-button/ptc-scroll-button.d.ts +0 -10
- package/dist/types/components/ptc-social-icons-footer/ptc-social-icons-footer.d.ts +0 -5
- package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +0 -3
- package/dist/types/components.d.ts +6 -55
- package/dist/types/utils/utils.d.ts +0 -1
- package/package.json +1 -1
- package/readme.md +1 -5
- package/dist/cjs/modal-form-example.cjs.entry.js +0 -94
- package/dist/cjs/ptc-overlay.cjs.entry.js +0 -34
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +0 -26
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +0 -99
- package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +0 -45
- package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +0 -47
- package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +0 -157
- package/dist/esm/modal-form-example.entry.js +0 -90
- package/dist/esm/ptc-overlay.entry.js +0 -30
- package/dist/ptcw-design/p-1b257420.entry.js +0 -1
- package/dist/ptcw-design/p-1f62e213.entry.js +0 -1
- package/dist/ptcw-design/p-257deac0.entry.js +0 -1
- package/dist/ptcw-design/p-2ac5ed9c.entry.js +0 -1
- package/dist/ptcw-design/p-34c50b3e.entry.js +0 -1
- package/dist/ptcw-design/p-36007a57.entry.js +0 -1
- package/dist/ptcw-design/p-50d68602.entry.js +0 -1
- package/dist/ptcw-design/p-5ef23b5c.entry.js +0 -1
- package/dist/ptcw-design/p-6c2b4fb8.entry.js +0 -1
- package/dist/ptcw-design/p-77b8ce07.entry.js +0 -68
- package/dist/ptcw-design/p-799afee5.entry.js +0 -1
- package/dist/ptcw-design/p-8872161f.js +0 -1
- package/dist/ptcw-design/p-90c4f08b.entry.js +0 -1
- package/dist/ptcw-design/p-95187918.entry.js +0 -1
- package/dist/ptcw-design/p-a3b57ede.entry.js +0 -1
- package/dist/ptcw-design/p-ba8c58a7.entry.js +0 -1
- package/dist/ptcw-design/p-bcab66bf.js +0 -336
- package/dist/ptcw-design/p-d2e26642.entry.js +0 -1
- package/dist/ptcw-design/p-de960790.entry.js +0 -1
- package/dist/ptcw-design/p-e90fbbad.entry.js +0 -1
- package/dist/ptcw-design/p-f8512dc9.entry.js +0 -1
- package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +0 -25
|
@@ -44,7 +44,6 @@ export namespace Components {
|
|
|
44
44
|
}
|
|
45
45
|
interface EventJumbotronExample {
|
|
46
46
|
"cards": { title: string; description: string; panelContent: string; cardBg: string }[];
|
|
47
|
-
"modalBtnCloseText": string;
|
|
48
47
|
}
|
|
49
48
|
interface FeaturedEventsSliderExample {
|
|
50
49
|
}
|
|
@@ -170,8 +169,6 @@ export namespace Components {
|
|
|
170
169
|
*/
|
|
171
170
|
"styles"?: string;
|
|
172
171
|
}
|
|
173
|
-
interface ModalFormExample {
|
|
174
|
-
}
|
|
175
172
|
interface MostPopularNews {
|
|
176
173
|
"topTitle": string;
|
|
177
174
|
}
|
|
@@ -906,10 +903,6 @@ export namespace Components {
|
|
|
906
903
|
}
|
|
907
904
|
interface PtcIconCard {
|
|
908
905
|
"cardHref": string;
|
|
909
|
-
/**
|
|
910
|
-
* Add dark-focus-state property where button is present on dark backgrounds
|
|
911
|
-
*/
|
|
912
|
-
"darkFocusState": boolean;
|
|
913
906
|
"target": string;
|
|
914
907
|
"trackerId"?: string;
|
|
915
908
|
}
|
|
@@ -1217,7 +1210,6 @@ export namespace Components {
|
|
|
1217
1210
|
* Add the border radius Options: standard | large | pill | circle
|
|
1218
1211
|
*/
|
|
1219
1212
|
"borderRadius"?: 'standard' | 'large' | 'pill' | 'circle';
|
|
1220
|
-
"bottomCloseBtn"?: string;
|
|
1221
1213
|
/**
|
|
1222
1214
|
* Sets if popup should close if click on outside
|
|
1223
1215
|
*/
|
|
@@ -1230,9 +1222,6 @@ export namespace Components {
|
|
|
1230
1222
|
* Sets if popup should overlay
|
|
1231
1223
|
*/
|
|
1232
1224
|
"fixed"?: boolean;
|
|
1233
|
-
"headerOnlyBg"?: string;
|
|
1234
|
-
"headerOnlyText1"?: string;
|
|
1235
|
-
"headerOnlyText2"?: string;
|
|
1236
1225
|
/**
|
|
1237
1226
|
* Sets if popup should have rounded corners
|
|
1238
1227
|
*/
|
|
@@ -1250,7 +1239,7 @@ export namespace Components {
|
|
|
1250
1239
|
* Sets if popup should overlay
|
|
1251
1240
|
*/
|
|
1252
1241
|
"keepInViewport"?: boolean;
|
|
1253
|
-
"modalType": 'video-modal' | 'default-modal' | 'event-listing'
|
|
1242
|
+
"modalType": 'video-modal' | 'default-modal' | 'event-listing';
|
|
1254
1243
|
/**
|
|
1255
1244
|
* Sets if popup should overlay
|
|
1256
1245
|
*/
|
|
@@ -1272,13 +1261,12 @@ export namespace Components {
|
|
|
1272
1261
|
/**
|
|
1273
1262
|
* Sets if popup should close if click on outside
|
|
1274
1263
|
*/
|
|
1275
|
-
"size"?: 'sm' | 'md' | 'lg' | 'xl' | '
|
|
1264
|
+
"size"?: 'sm' | 'md' | 'lg' | 'xl' | 'max'| 'sm-modal';
|
|
1276
1265
|
/**
|
|
1277
1266
|
* (optional) Injected CSS Styles
|
|
1278
1267
|
*/
|
|
1279
1268
|
"styles"?: string;
|
|
1280
1269
|
"toggleModal": () => Promise<void>;
|
|
1281
|
-
"vhCenter"?: boolean;
|
|
1282
1270
|
}
|
|
1283
1271
|
interface PtcModalQuiz {
|
|
1284
1272
|
"focusIn": () => Promise<void>;
|
|
@@ -1531,7 +1519,7 @@ export namespace Components {
|
|
|
1531
1519
|
/**
|
|
1532
1520
|
* Paragraph Color
|
|
1533
1521
|
*/
|
|
1534
|
-
"paraColor": 'primary-grey' | '
|
|
1522
|
+
"paraColor": 'primary-grey' | 'white' | 'gray-darker';
|
|
1535
1523
|
/**
|
|
1536
1524
|
* line height
|
|
1537
1525
|
*/
|
|
@@ -1695,7 +1683,6 @@ export namespace Components {
|
|
|
1695
1683
|
*/
|
|
1696
1684
|
"styles"?: string;
|
|
1697
1685
|
"text": string | undefined;
|
|
1698
|
-
"theme": 'standard' | 'light';
|
|
1699
1686
|
}
|
|
1700
1687
|
interface PtcPricingAddOnCard {
|
|
1701
1688
|
/**
|
|
@@ -2199,10 +2186,6 @@ export namespace Components {
|
|
|
2199
2186
|
"xUrl": string;
|
|
2200
2187
|
}
|
|
2201
2188
|
interface PtcSocialIconsFooter {
|
|
2202
|
-
/**
|
|
2203
|
-
* Add dark-focus-state property where button is present on dark backgrounds
|
|
2204
|
-
*/
|
|
2205
|
-
"darkFocusState": boolean;
|
|
2206
2189
|
"facebookImageAlt": string;
|
|
2207
2190
|
"facebookImageUrl": string;
|
|
2208
2191
|
"facebookUrl": string;
|
|
@@ -2434,14 +2417,11 @@ export namespace Components {
|
|
|
2434
2417
|
"infoText": string;
|
|
2435
2418
|
"inputValue": string;
|
|
2436
2419
|
"labelText": string;
|
|
2437
|
-
"placeholderText": string;
|
|
2438
2420
|
"ptcDataEloquaName": string;
|
|
2439
2421
|
"ptcDataTargetEloquaName": string;
|
|
2440
2422
|
"ptcMaxLength"?: number;
|
|
2441
2423
|
"required": boolean;
|
|
2442
|
-
"styles": string;
|
|
2443
2424
|
"syncCountry": (countryCode: string) => Promise<void>;
|
|
2444
|
-
"textfieldForm": 'default' | 'email-signup';
|
|
2445
2425
|
"type": string;
|
|
2446
2426
|
"validateTextField": () => Promise<void>;
|
|
2447
2427
|
}
|
|
@@ -3076,12 +3056,6 @@ declare global {
|
|
|
3076
3056
|
prototype: HTMLMaxWidthContainerElement;
|
|
3077
3057
|
new (): HTMLMaxWidthContainerElement;
|
|
3078
3058
|
};
|
|
3079
|
-
interface HTMLModalFormExampleElement extends Components.ModalFormExample, HTMLStencilElement {
|
|
3080
|
-
}
|
|
3081
|
-
var HTMLModalFormExampleElement: {
|
|
3082
|
-
prototype: HTMLModalFormExampleElement;
|
|
3083
|
-
new (): HTMLModalFormExampleElement;
|
|
3084
|
-
};
|
|
3085
3059
|
interface HTMLMostPopularNewsElement extends Components.MostPopularNews, HTMLStencilElement {
|
|
3086
3060
|
}
|
|
3087
3061
|
var HTMLMostPopularNewsElement: {
|
|
@@ -3979,7 +3953,6 @@ declare global {
|
|
|
3979
3953
|
"jumbotron-sub-mune": HTMLJumbotronSubMuneElement;
|
|
3980
3954
|
"list-item": HTMLListItemElement;
|
|
3981
3955
|
"max-width-container": HTMLMaxWidthContainerElement;
|
|
3982
|
-
"modal-form-example": HTMLModalFormExampleElement;
|
|
3983
3956
|
"most-popular-news": HTMLMostPopularNewsElement;
|
|
3984
3957
|
"my-component": HTMLMyComponentElement;
|
|
3985
3958
|
"news-search-result": HTMLNewsSearchResultElement;
|
|
@@ -4165,7 +4138,6 @@ declare namespace LocalJSX {
|
|
|
4165
4138
|
}
|
|
4166
4139
|
interface EventJumbotronExample {
|
|
4167
4140
|
"cards"?: { title: string; description: string; panelContent: string; cardBg: string }[];
|
|
4168
|
-
"modalBtnCloseText"?: string;
|
|
4169
4141
|
}
|
|
4170
4142
|
interface FeaturedEventsSliderExample {
|
|
4171
4143
|
}
|
|
@@ -4297,8 +4269,6 @@ declare namespace LocalJSX {
|
|
|
4297
4269
|
*/
|
|
4298
4270
|
"styles"?: string;
|
|
4299
4271
|
}
|
|
4300
|
-
interface ModalFormExample {
|
|
4301
|
-
}
|
|
4302
4272
|
interface MostPopularNews {
|
|
4303
4273
|
"topTitle"?: string;
|
|
4304
4274
|
}
|
|
@@ -5057,10 +5027,6 @@ declare namespace LocalJSX {
|
|
|
5057
5027
|
}
|
|
5058
5028
|
interface PtcIconCard {
|
|
5059
5029
|
"cardHref"?: string;
|
|
5060
|
-
/**
|
|
5061
|
-
* Add dark-focus-state property where button is present on dark backgrounds
|
|
5062
|
-
*/
|
|
5063
|
-
"darkFocusState"?: boolean;
|
|
5064
5030
|
"target"?: string;
|
|
5065
5031
|
"trackerId"?: string;
|
|
5066
5032
|
}
|
|
@@ -5369,7 +5335,6 @@ declare namespace LocalJSX {
|
|
|
5369
5335
|
* Add the border radius Options: standard | large | pill | circle
|
|
5370
5336
|
*/
|
|
5371
5337
|
"borderRadius"?: 'standard' | 'large' | 'pill' | 'circle';
|
|
5372
|
-
"bottomCloseBtn"?: string;
|
|
5373
5338
|
/**
|
|
5374
5339
|
* Sets if popup should close if click on outside
|
|
5375
5340
|
*/
|
|
@@ -5382,9 +5347,6 @@ declare namespace LocalJSX {
|
|
|
5382
5347
|
* Sets if popup should overlay
|
|
5383
5348
|
*/
|
|
5384
5349
|
"fixed"?: boolean;
|
|
5385
|
-
"headerOnlyBg"?: string;
|
|
5386
|
-
"headerOnlyText1"?: string;
|
|
5387
|
-
"headerOnlyText2"?: string;
|
|
5388
5350
|
/**
|
|
5389
5351
|
* Sets if popup should have rounded corners
|
|
5390
5352
|
*/
|
|
@@ -5401,7 +5363,7 @@ declare namespace LocalJSX {
|
|
|
5401
5363
|
* Sets if popup should overlay
|
|
5402
5364
|
*/
|
|
5403
5365
|
"keepInViewport"?: boolean;
|
|
5404
|
-
"modalType"?: 'video-modal' | 'default-modal' | 'event-listing'
|
|
5366
|
+
"modalType"?: 'video-modal' | 'default-modal' | 'event-listing';
|
|
5405
5367
|
/**
|
|
5406
5368
|
* Event for modal popup closed
|
|
5407
5369
|
*/
|
|
@@ -5429,12 +5391,11 @@ declare namespace LocalJSX {
|
|
|
5429
5391
|
/**
|
|
5430
5392
|
* Sets if popup should close if click on outside
|
|
5431
5393
|
*/
|
|
5432
|
-
"size"?: 'sm' | 'md' | 'lg' | 'xl' | '
|
|
5394
|
+
"size"?: 'sm' | 'md' | 'lg' | 'xl' | 'max'| 'sm-modal';
|
|
5433
5395
|
/**
|
|
5434
5396
|
* (optional) Injected CSS Styles
|
|
5435
5397
|
*/
|
|
5436
5398
|
"styles"?: string;
|
|
5437
|
-
"vhCenter"?: boolean;
|
|
5438
5399
|
}
|
|
5439
5400
|
interface PtcModalQuiz {
|
|
5440
5401
|
/**
|
|
@@ -5696,7 +5657,7 @@ declare namespace LocalJSX {
|
|
|
5696
5657
|
/**
|
|
5697
5658
|
* Paragraph Color
|
|
5698
5659
|
*/
|
|
5699
|
-
"paraColor"?: 'primary-grey' | '
|
|
5660
|
+
"paraColor"?: 'primary-grey' | 'white' | 'gray-darker';
|
|
5700
5661
|
/**
|
|
5701
5662
|
* line height
|
|
5702
5663
|
*/
|
|
@@ -5858,7 +5819,6 @@ declare namespace LocalJSX {
|
|
|
5858
5819
|
*/
|
|
5859
5820
|
"styles"?: string;
|
|
5860
5821
|
"text"?: string | undefined;
|
|
5861
|
-
"theme"?: 'standard' | 'light';
|
|
5862
5822
|
}
|
|
5863
5823
|
interface PtcPricingAddOnCard {
|
|
5864
5824
|
/**
|
|
@@ -6385,10 +6345,6 @@ declare namespace LocalJSX {
|
|
|
6385
6345
|
"xUrl"?: string;
|
|
6386
6346
|
}
|
|
6387
6347
|
interface PtcSocialIconsFooter {
|
|
6388
|
-
/**
|
|
6389
|
-
* Add dark-focus-state property where button is present on dark backgrounds
|
|
6390
|
-
*/
|
|
6391
|
-
"darkFocusState"?: boolean;
|
|
6392
6348
|
"facebookImageAlt"?: string;
|
|
6393
6349
|
"facebookImageUrl"?: string;
|
|
6394
6350
|
"facebookUrl"?: string;
|
|
@@ -6621,13 +6577,10 @@ declare namespace LocalJSX {
|
|
|
6621
6577
|
"infoText"?: string;
|
|
6622
6578
|
"inputValue"?: string;
|
|
6623
6579
|
"labelText"?: string;
|
|
6624
|
-
"placeholderText"?: string;
|
|
6625
6580
|
"ptcDataEloquaName"?: string;
|
|
6626
6581
|
"ptcDataTargetEloquaName"?: string;
|
|
6627
6582
|
"ptcMaxLength"?: number;
|
|
6628
6583
|
"required"?: boolean;
|
|
6629
|
-
"styles"?: string;
|
|
6630
|
-
"textfieldForm"?: 'default' | 'email-signup';
|
|
6631
6584
|
"type"?: string;
|
|
6632
6585
|
}
|
|
6633
6586
|
interface PtcTheaterVideo {
|
|
@@ -6938,7 +6891,6 @@ declare namespace LocalJSX {
|
|
|
6938
6891
|
"jumbotron-sub-mune": JumbotronSubMune;
|
|
6939
6892
|
"list-item": ListItem;
|
|
6940
6893
|
"max-width-container": MaxWidthContainer;
|
|
6941
|
-
"modal-form-example": ModalFormExample;
|
|
6942
6894
|
"most-popular-news": MostPopularNews;
|
|
6943
6895
|
"my-component": MyComponent;
|
|
6944
6896
|
"news-search-result": NewsSearchResult;
|
|
@@ -7116,7 +7068,6 @@ declare module "@stencil/core" {
|
|
|
7116
7068
|
"jumbotron-sub-mune": LocalJSX.JumbotronSubMune & JSXBase.HTMLAttributes<HTMLJumbotronSubMuneElement>;
|
|
7117
7069
|
"list-item": LocalJSX.ListItem & JSXBase.HTMLAttributes<HTMLListItemElement>;
|
|
7118
7070
|
"max-width-container": LocalJSX.MaxWidthContainer & JSXBase.HTMLAttributes<HTMLMaxWidthContainerElement>;
|
|
7119
|
-
"modal-form-example": LocalJSX.ModalFormExample & JSXBase.HTMLAttributes<HTMLModalFormExampleElement>;
|
|
7120
7071
|
"most-popular-news": LocalJSX.MostPopularNews & JSXBase.HTMLAttributes<HTMLMostPopularNewsElement>;
|
|
7121
7072
|
"my-component": LocalJSX.MyComponent & JSXBase.HTMLAttributes<HTMLMyComponentElement>;
|
|
7122
7073
|
"news-search-result": LocalJSX.NewsSearchResult & JSXBase.HTMLAttributes<HTMLNewsSearchResultElement>;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|

|
|
2
2
|
|
|
3
|
-
# PTC Design 6.2.9
|
|
3
|
+
# PTC Design 6.2.9
|
|
4
4
|
|
|
5
5
|
The site is the place for documentation on PTC Design System
|
|
6
6
|
|
|
@@ -17,7 +17,3 @@ To build the site from the source, ensure you're using the most recent versions
|
|
|
17
17
|
- puppeteer 10.0.0
|
|
18
18
|
|
|
19
19
|
## License
|
|
20
|
-
|
|
21
|
-
## Release notes
|
|
22
|
-
|
|
23
|
-
TODO: figure out how to do release notes with npm
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-63ddc79c.js');
|
|
6
|
-
|
|
7
|
-
const modalFormExampleCss = ":host {\r\n display: block;\r\n}\r\n\r\n.form-wrapper {\r\n width: 371px;\r\n display: flex;\r\n border-radius: 3px;\r\n background: #FFF;\r\n flex-direction: column;\r\n align-items: center;\r\n padding: 0px 32px;\r\n\r\n @media only screen and (min-width: 360px) and (max-width: 479.55px) {\r\n max-width: 360px;\r\n width: 360px;\r\n }\r\n\r\n .button-wrapper {\r\n display: flex;\r\n justify-content: flex-end;\r\n gap: 20px;\r\n margin-top: 48px;\r\n flex-wrap: wrap;\r\n }\r\n}\r\n";
|
|
8
|
-
|
|
9
|
-
const PtcForm = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.formData = {
|
|
13
|
-
email: '',
|
|
14
|
-
firstName: '',
|
|
15
|
-
lastName: '',
|
|
16
|
-
company: '',
|
|
17
|
-
country: '',
|
|
18
|
-
phone: '',
|
|
19
|
-
inquiryReason: '',
|
|
20
|
-
howhearselfreport: '',
|
|
21
|
-
policyChecked: false,
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
// private countryEle: HTMLPtcSelectElement;
|
|
25
|
-
// private inquiryreasonEle: HTMLPtcTextfieldElement;
|
|
26
|
-
// private howhearselfreport: HTMLPtcTextfieldElement;
|
|
27
|
-
componentDidLoad() {
|
|
28
|
-
this.formButton = this.el.querySelector('.form-submit');
|
|
29
|
-
this.formButton.addEventListener('click', this.handleSubmit.bind(this));
|
|
30
|
-
//get Email
|
|
31
|
-
this.emailEle = this.el.querySelector('ptc-textfield[field-id="contact-email"]');
|
|
32
|
-
this.firstNameEle = this.el.querySelector('ptc-textfield[field-id="contact-firstname"]');
|
|
33
|
-
this.lastNameEle = this.el.querySelector('ptc-textfield[field-id="contact-lastname"]');
|
|
34
|
-
this.companyEle = this.el.querySelector('ptc-textfield[field-id="company"]');
|
|
35
|
-
this.phoneEle = this.el.querySelector('ptc-textfield[field-id="contact-phone"]');
|
|
36
|
-
// this.countryEle = this.el.querySelector('ptc-select[field-id="contact-country"]')
|
|
37
|
-
// this.inquiryreasonEle = this.el.querySelector('ptc-textfield[field-id="contact-inquiry"]')
|
|
38
|
-
// this.howhearselfreport = this.el.querySelector('ptc-textfield[field-id="self-reporting"]')
|
|
39
|
-
}
|
|
40
|
-
handleInputChange(field, value) {
|
|
41
|
-
this.formData = Object.assign(Object.assign({}, this.formData), { [field]: value });
|
|
42
|
-
}
|
|
43
|
-
handleSubmit(event) {
|
|
44
|
-
event.preventDefault();
|
|
45
|
-
this.formData.email = this.emailEle.inputValue;
|
|
46
|
-
this.formData.firstName = this.firstNameEle.inputValue;
|
|
47
|
-
this.formData.lastName = this.lastNameEle.inputValue;
|
|
48
|
-
this.formData.company = this.companyEle.inputValue;
|
|
49
|
-
this.formData.phone = this.phoneEle.inputValue;
|
|
50
|
-
// this.formData.country = this.countryEle.inputValue;
|
|
51
|
-
// this.formData.inquiryReason= this.inquiryreasonEle.inputValue;
|
|
52
|
-
// this.formData.howhearselfreport = this.howhearselfreport.inputValue;
|
|
53
|
-
// console.log("get form Data: " + this.formData.email)
|
|
54
|
-
if (this.isValid()) {
|
|
55
|
-
const formSubmitEvent = new CustomEvent('formSubmit', {
|
|
56
|
-
detail: this.formData,
|
|
57
|
-
bubbles: true,
|
|
58
|
-
});
|
|
59
|
-
this.el.dispatchEvent(formSubmitEvent);
|
|
60
|
-
console.log('Form Submitted: ' + this.formData);
|
|
61
|
-
}
|
|
62
|
-
else {
|
|
63
|
-
console.log('Form validation failed');
|
|
64
|
-
console.log('Form Submitted: ' + this.formData.email, this.formData.firstName, this.formData.lastName, this.formData.company, this.formData.phone);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
isValid() {
|
|
68
|
-
const { email, firstName, lastName, company, country, phone, inquiryReason, howhearselfreport, policyChecked } = this.formData;
|
|
69
|
-
const invalidLength = document.querySelectorAll('.invalid-field').length;
|
|
70
|
-
// console.log('invalid fields length: ' + invalidLength), check the select field
|
|
71
|
-
return (email !== '' &&
|
|
72
|
-
phone !== '' &&
|
|
73
|
-
firstName !== '' &&
|
|
74
|
-
lastName !== '' &&
|
|
75
|
-
company !== '' &&
|
|
76
|
-
country !== '' &&
|
|
77
|
-
inquiryReason !== '' &&
|
|
78
|
-
howhearselfreport != '' &&
|
|
79
|
-
policyChecked &&
|
|
80
|
-
invalidLength === 0);
|
|
81
|
-
}
|
|
82
|
-
render() {
|
|
83
|
-
const multiSelectItems = [
|
|
84
|
-
{ text: 'Item 1', selected: false, ptcDataEloquaName: 'item_1', ptcDataTargetEloquaName: 'item_target-1' },
|
|
85
|
-
{ text: 'Item 2', selected: false, ptcDataEloquaName: 'item_2', ptcDataTargetEloquaName: 'item_target-2' },
|
|
86
|
-
{ text: 'Item 3', selected: false, ptcDataEloquaName: 'item_3', ptcDataTargetEloquaName: 'item_target-3' }
|
|
87
|
-
];
|
|
88
|
-
return (index.h(index.Host, null, index.h("div", { class: "ptc-container u-flex u-flex-justify-center" }, index.h("div", { class: "form-wrapper" }, index.h("ptc-title", { "seo-compatibility-mode": true, "text-align": "left", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-7", "is-plm-hub": "false", "title-size": "medium" }, index.h("h2", null, "PTC\u2019s PLM application suite combines the power of Windchill, the industry\u2019s #1 PLM software with Thingworx")), index.h("ptc-spacer", { size: "x-small", breakpoint: "small" }), index.h("ptc-spacer", { size: "small", breakpoint: "x-small" }), index.h("ptc-para", { "seo-compatibility-mode": true, "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-style": "main", "para-line-h": "line-height-densest" }, "PTC\u2019s market-leading, purpose-built IIoT platform. The suite offers a mix of Packages, Add-Ons, and Apps to best suit your business needs:"), index.h("ptc-spacer", { size: "x-small", breakpoint: "small" }), index.h("ptc-spacer", { size: "small", breakpoint: "x-small" }), index.h("max-width-container", { "max-width": "277", breakpoint: 480 }, index.h("ptc-title", { type: "h2", "text-align": "", "title-size": "x-small", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-6", "is-plm-hub": "false" }, "Please fill out the form and a PTC sales representative will be in touch."), index.h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), index.h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), index.h("ptc-spacer", { breakpoint: "small", size: "small" }), index.h("ptc-spacer", { breakpoint: "small", size: "small" })), index.h("form", { onSubmit: event => this.handleSubmit(event) }, index.h("ptc-textfield", { "field-id": "contact-firstname", "label-text": "First Name*", type: "text", "ptc-data-eloqua-name": "C_FirstName", "field-name": "firstname" }), index.h("ptc-textfield", { "field-id": "contact-lastname", "label-text": "Last Name*", type: "text", "ptc-data-eloqua-name": "C_LastName", "field-name": "lastname" }), index.h("ptc-textfield", { "field-id": "company", "label-text": "Company*", type: "text", "ptc-data-eloqua-name": "C_Company", "field-name": "company" }), index.h("ptc-textfield", { "field-id": "contact-email", "label-text": "Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "email" }), index.h("ptc-textfield", { "field-id": "company-email", "label-text": "Company Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "companyemail" }), index.h("ptc-select", { "field-id": "contact-country", label: "Country*", "ptc-data-eloqua-name": "C_Country", "field-name": "country" }, index.h("ul", { class: "mdc-list" }, index.h("li", { class: "mdc-list-item placehoder-li", "data-value": "" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Select a country")), index.h("li", { class: "mdc-list-item", "data-value": "USA" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "USA")), index.h("li", { class: "mdc-list-item", "data-value": "Canada" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Canada")), index.h("li", { class: "mdc-list-item", "data-value": "China" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "China")))), index.h("ptc-textfield", { "field-id": "contact-phone", "label-text": "Phone*", type: "tel", "ptc-data-eloqua-name": "C_BusPhone", "field-name": "phone" }), index.h("ptc-select", { label: "What information are you interested in?*", "ptc-data-eloqua-name": "Inquiry_Reason", "field-name": "inquiryreason", "field-id": "contact-inquiry" }, index.h("ul", { class: "mdc-list" }, index.h("li", { class: "mdc-list-item", "data-value": "Please select a value" }, index.h("span", { class: "mdc-list-item__ripple" })), index.h("li", { class: "mdc-list-item", "data-value": "Augmented Reality (AR)" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Augmented Reality (AR)")), index.h("li", { class: "mdc-list-item", "data-value": "CAD" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Computer Aided Design")), index.h("li", { class: "mdc-list-item", "data-value": "Retail(FlexPLM)" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Fashion and Retail Product Lifecycle Management")))), index.h("ptc-multi-select", { items: multiSelectItems, "is-required": 'true' }), index.h("ptc-textfield", { "field-id": "Self-Reporting", "label-text": "How can we help you?*", type: "text", "ptc-data-eloqua-name": "HowHearSelfReport", "ptc-max-length": "100", "field-name": "howhearselfreport" }), index.h("ptc-form-checkbox", { label: "I agree to the policy", "checkbox-id": "test" }), index.h("div", { class: "button-wrapper" }, index.h("ptc-button", { class: "form-submit", color: "ptc-quaternary", type: "submit", styles: ":host{align-self:flex-end; display:block; float: left; width: fit-content;}" }, "Submit"), index.h("ptc-button", { class: "form-close", color: "ptc-tertiary", type: "button", styles: ":host{align-self:flex-end; display:block; float: left; width: fit-content;}" }, "Cancel")))))));
|
|
89
|
-
}
|
|
90
|
-
get el() { return index.getElement(this); }
|
|
91
|
-
};
|
|
92
|
-
PtcForm.style = modalFormExampleCss;
|
|
93
|
-
|
|
94
|
-
exports.modal_form_example = PtcForm;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-63ddc79c.js');
|
|
6
|
-
|
|
7
|
-
const ptcOverlayCss = "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}}:host{display:block;position:absolute;top:0;left:0;width:100%;height:100%;transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.blue){background:linear-gradient(180deg, rgba(25, 123, 192, 0.2) 0%, var(--color-blue-07) 100%)}:host(.red){background:linear-gradient(180deg, rgba(209, 44, 58, 0.2) 0%, var(--color-red-07) 100%)}:host(.orange){background:linear-gradient(180deg, rgba(195, 119, 41, 0.2) 0%, var(--color-orange-07) 100%)}:host(.green){background:linear-gradient(180deg, rgba(0, 137, 11, 0.2) 0%, var(--color-green-07) 100%)}:host(.black-1){background:linear-gradient(270deg, rgba(32, 38, 42, 0.32) 33.33%, var(--color-gray-12) 100%)}:host(.black-2){background:linear-gradient(180deg, rgba(32, 38, 42, 0) 0%, var(--color-gray-12) 100%)}:host(.black-4){background:rgba(0, 0, 0, 0.66)}:host(.black-5){background:rgba(0, 0, 0, 0.76)}@media only screen and (min-width: 768px){:host(.black-1){background:linear-gradient(270deg, rgba(32, 38, 42, 0) 33.33%, var(--color-gray-12) 100%)}:host(.black-2){background:linear-gradient(180deg, rgba(32, 38, 42, 0) 0%, var(--color-gray-12) 100%)}}:host(.black-3){background:linear-gradient(180deg, var(--color-gray-12) 0%, rgba(32, 38, 42, 0.55) 100%)}:host(.slate-grey){background:linear-gradient(180deg, rgba(97, 116, 128, 0.2) 0%, var(--color-gray-07) 100%)}:host(.bright-blue){background:linear-gradient(180deg, rgba(25, 123, 192, 0.72) 0%, rgba(25, 123, 192, 0.85) 69.27%, rgba(25, 123, 192, 0.4) 100%)}:host(.bright-red){background:linear-gradient(180deg, rgba(211, 62, 62, 0.72) 0%, rgba(211, 62, 62, 0.85) 69.27%, rgba(211, 62, 62, 0.4) 100%)}:host(.bright-orange){background:linear-gradient(180deg, rgba(195, 119, 41, 0.72) 0%, rgba(195, 119, 41, 0.85) 69.27%, rgba(195, 119, 41, 0.4) 100%)}:host(.bright-green){background:linear-gradient(180deg, rgba(0, 137, 11, 0.72) 0%, rgba(0, 137, 11, 0.85) 69.27%, rgba(0, 137, 11, 0.4) 100%)}:host(.bright-slate-grey){background:linear-gradient(180deg, rgba(97, 116, 128, 0.72) 0%, rgba(97, 116, 128, 0.85) 69.27%, rgba(97, 116, 128, 0.4) 100%)}:host(.solid-black-1){background:rgba(16, 19, 20, 0.85)}:host(.solid-black-2){background:rgba(16, 19, 20, 0.7)}:host(.hp-blue){background:linear-gradient(180deg, #197BC0 0%, #4795CD 100%)}:host(.hp-green){background:linear-gradient(180deg, #00890B 0%, #33A13C 100%)}:host(.hp-red){background:linear-gradient(180deg, #D33E3E 0%, #DC6565 100%)}:host(.hp-gray){background:linear-gradient(180deg, #617480 0%, #819099 100%)}:host(.hp-orange){background:linear-gradient(180deg, #C37729 0%, #CF9254 100%)}:host(.transparent){background:linear-gradient(180deg, transparent 0%, transparent 100%)}:host(.radius-standard){border-radius:var(--ptc-border-radius-standard)}:host(.radius-large){border-radius:var(--ptc-border-radius-large)}:host(.radius-pill){border-radius:var(--ptc-border-radius-pill)}:host(.radius-circle){border-radius:var(--ptc-border-radius-circle)}:host(.z-index-auto){z-index:auto}:host(.z-index-n-1){z-index:-1}:host(.z-index-n-2){z-index:-2}:host(.z-index-p-1){z-index:1}:host(.z-index-p-2){z-index:2}";
|
|
8
|
-
|
|
9
|
-
const PtcOverlay = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.filterColor = undefined;
|
|
13
|
-
this.borderRadius = undefined;
|
|
14
|
-
this.overlayZIndex = 'z-index-auto';
|
|
15
|
-
this.styles = undefined;
|
|
16
|
-
}
|
|
17
|
-
async setOverlay(overlayName) {
|
|
18
|
-
this.filterColor = overlayName;
|
|
19
|
-
}
|
|
20
|
-
render() {
|
|
21
|
-
const classMap = this.getCssClassMap();
|
|
22
|
-
return index.h(index.Host, { class: classMap });
|
|
23
|
-
}
|
|
24
|
-
getCssClassMap() {
|
|
25
|
-
return {
|
|
26
|
-
[this.filterColor]: !!this.filterColor ? true : false,
|
|
27
|
-
[this.borderRadius]: !!this.borderRadius ? true : false,
|
|
28
|
-
[this.overlayZIndex]: true,
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
PtcOverlay.style = ptcOverlayCss;
|
|
33
|
-
|
|
34
|
-
exports.ptc_overlay = PtcOverlay;
|
package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: block;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.form-wrapper {
|
|
6
|
-
width: 371px;
|
|
7
|
-
display: flex;
|
|
8
|
-
border-radius: 3px;
|
|
9
|
-
background: #FFF;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
align-items: center;
|
|
12
|
-
padding: 0px 32px;
|
|
13
|
-
|
|
14
|
-
@media only screen and (min-width: 360px) and (max-width: 479.55px) {
|
|
15
|
-
max-width: 360px;
|
|
16
|
-
width: 360px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.button-wrapper {
|
|
20
|
-
display: flex;
|
|
21
|
-
justify-content: flex-end;
|
|
22
|
-
gap: 20px;
|
|
23
|
-
margin-top: 48px;
|
|
24
|
-
flex-wrap: wrap;
|
|
25
|
-
}
|
|
26
|
-
}
|
package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { Host, h } from '@stencil/core';
|
|
2
|
-
export class PtcForm {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.formData = {
|
|
5
|
-
email: '',
|
|
6
|
-
firstName: '',
|
|
7
|
-
lastName: '',
|
|
8
|
-
company: '',
|
|
9
|
-
country: '',
|
|
10
|
-
phone: '',
|
|
11
|
-
inquiryReason: '',
|
|
12
|
-
howhearselfreport: '',
|
|
13
|
-
policyChecked: false,
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
// private countryEle: HTMLPtcSelectElement;
|
|
17
|
-
// private inquiryreasonEle: HTMLPtcTextfieldElement;
|
|
18
|
-
// private howhearselfreport: HTMLPtcTextfieldElement;
|
|
19
|
-
componentDidLoad() {
|
|
20
|
-
this.formButton = this.el.querySelector('.form-submit');
|
|
21
|
-
this.formButton.addEventListener('click', this.handleSubmit.bind(this));
|
|
22
|
-
//get Email
|
|
23
|
-
this.emailEle = this.el.querySelector('ptc-textfield[field-id="contact-email"]');
|
|
24
|
-
this.firstNameEle = this.el.querySelector('ptc-textfield[field-id="contact-firstname"]');
|
|
25
|
-
this.lastNameEle = this.el.querySelector('ptc-textfield[field-id="contact-lastname"]');
|
|
26
|
-
this.companyEle = this.el.querySelector('ptc-textfield[field-id="company"]');
|
|
27
|
-
this.phoneEle = this.el.querySelector('ptc-textfield[field-id="contact-phone"]');
|
|
28
|
-
// this.countryEle = this.el.querySelector('ptc-select[field-id="contact-country"]')
|
|
29
|
-
// this.inquiryreasonEle = this.el.querySelector('ptc-textfield[field-id="contact-inquiry"]')
|
|
30
|
-
// this.howhearselfreport = this.el.querySelector('ptc-textfield[field-id="self-reporting"]')
|
|
31
|
-
}
|
|
32
|
-
handleInputChange(field, value) {
|
|
33
|
-
this.formData = Object.assign(Object.assign({}, this.formData), { [field]: value });
|
|
34
|
-
}
|
|
35
|
-
handleSubmit(event) {
|
|
36
|
-
event.preventDefault();
|
|
37
|
-
this.formData.email = this.emailEle.inputValue;
|
|
38
|
-
this.formData.firstName = this.firstNameEle.inputValue;
|
|
39
|
-
this.formData.lastName = this.lastNameEle.inputValue;
|
|
40
|
-
this.formData.company = this.companyEle.inputValue;
|
|
41
|
-
this.formData.phone = this.phoneEle.inputValue;
|
|
42
|
-
// this.formData.country = this.countryEle.inputValue;
|
|
43
|
-
// this.formData.inquiryReason= this.inquiryreasonEle.inputValue;
|
|
44
|
-
// this.formData.howhearselfreport = this.howhearselfreport.inputValue;
|
|
45
|
-
// console.log("get form Data: " + this.formData.email)
|
|
46
|
-
if (this.isValid()) {
|
|
47
|
-
const formSubmitEvent = new CustomEvent('formSubmit', {
|
|
48
|
-
detail: this.formData,
|
|
49
|
-
bubbles: true,
|
|
50
|
-
});
|
|
51
|
-
this.el.dispatchEvent(formSubmitEvent);
|
|
52
|
-
console.log('Form Submitted: ' + this.formData);
|
|
53
|
-
}
|
|
54
|
-
else {
|
|
55
|
-
console.log('Form validation failed');
|
|
56
|
-
console.log('Form Submitted: ' + this.formData.email, this.formData.firstName, this.formData.lastName, this.formData.company, this.formData.phone);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
isValid() {
|
|
60
|
-
const { email, firstName, lastName, company, country, phone, inquiryReason, howhearselfreport, policyChecked } = this.formData;
|
|
61
|
-
const invalidLength = document.querySelectorAll('.invalid-field').length;
|
|
62
|
-
// console.log('invalid fields length: ' + invalidLength), check the select field
|
|
63
|
-
return (email !== '' &&
|
|
64
|
-
phone !== '' &&
|
|
65
|
-
firstName !== '' &&
|
|
66
|
-
lastName !== '' &&
|
|
67
|
-
company !== '' &&
|
|
68
|
-
country !== '' &&
|
|
69
|
-
inquiryReason !== '' &&
|
|
70
|
-
howhearselfreport != '' &&
|
|
71
|
-
policyChecked &&
|
|
72
|
-
invalidLength === 0);
|
|
73
|
-
}
|
|
74
|
-
render() {
|
|
75
|
-
const multiSelectItems = [
|
|
76
|
-
{ text: 'Item 1', selected: false, ptcDataEloquaName: 'item_1', ptcDataTargetEloquaName: 'item_target-1' },
|
|
77
|
-
{ text: 'Item 2', selected: false, ptcDataEloquaName: 'item_2', ptcDataTargetEloquaName: 'item_target-2' },
|
|
78
|
-
{ text: 'Item 3', selected: false, ptcDataEloquaName: 'item_3', ptcDataTargetEloquaName: 'item_target-3' }
|
|
79
|
-
];
|
|
80
|
-
return (h(Host, null, h("div", { class: "ptc-container u-flex u-flex-justify-center" }, h("div", { class: "form-wrapper" }, h("ptc-title", { "seo-compatibility-mode": true, "text-align": "left", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-7", "is-plm-hub": "false", "title-size": "medium" }, h("h2", null, "PTC\u2019s PLM application suite combines the power of Windchill, the industry\u2019s #1 PLM software with Thingworx")), h("ptc-spacer", { size: "x-small", breakpoint: "small" }), h("ptc-spacer", { size: "small", breakpoint: "x-small" }), h("ptc-para", { "seo-compatibility-mode": true, "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-style": "main", "para-line-h": "line-height-densest" }, "PTC\u2019s market-leading, purpose-built IIoT platform. The suite offers a mix of Packages, Add-Ons, and Apps to best suit your business needs:"), h("ptc-spacer", { size: "x-small", breakpoint: "small" }), h("ptc-spacer", { size: "small", breakpoint: "x-small" }), h("max-width-container", { "max-width": "277", breakpoint: 480 }, h("ptc-title", { type: "h2", "text-align": "", "title-size": "x-small", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-6", "is-plm-hub": "false" }, "Please fill out the form and a PTC sales representative will be in touch."), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "small", size: "small" })), h("form", { onSubmit: event => this.handleSubmit(event) }, h("ptc-textfield", { "field-id": "contact-firstname", "label-text": "First Name*", type: "text", "ptc-data-eloqua-name": "C_FirstName", "field-name": "firstname" }), h("ptc-textfield", { "field-id": "contact-lastname", "label-text": "Last Name*", type: "text", "ptc-data-eloqua-name": "C_LastName", "field-name": "lastname" }), h("ptc-textfield", { "field-id": "company", "label-text": "Company*", type: "text", "ptc-data-eloqua-name": "C_Company", "field-name": "company" }), h("ptc-textfield", { "field-id": "contact-email", "label-text": "Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "email" }), h("ptc-textfield", { "field-id": "company-email", "label-text": "Company Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "companyemail" }), h("ptc-select", { "field-id": "contact-country", label: "Country*", "ptc-data-eloqua-name": "C_Country", "field-name": "country" }, h("ul", { class: "mdc-list" }, h("li", { class: "mdc-list-item placehoder-li", "data-value": "" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Select a country")), h("li", { class: "mdc-list-item", "data-value": "USA" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "USA")), h("li", { class: "mdc-list-item", "data-value": "Canada" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Canada")), h("li", { class: "mdc-list-item", "data-value": "China" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "China")))), h("ptc-textfield", { "field-id": "contact-phone", "label-text": "Phone*", type: "tel", "ptc-data-eloqua-name": "C_BusPhone", "field-name": "phone" }), h("ptc-select", { label: "What information are you interested in?*", "ptc-data-eloqua-name": "Inquiry_Reason", "field-name": "inquiryreason", "field-id": "contact-inquiry" }, h("ul", { class: "mdc-list" }, h("li", { class: "mdc-list-item", "data-value": "Please select a value" }, h("span", { class: "mdc-list-item__ripple" })), h("li", { class: "mdc-list-item", "data-value": "Augmented Reality (AR)" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Augmented Reality (AR)")), h("li", { class: "mdc-list-item", "data-value": "CAD" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Computer Aided Design")), h("li", { class: "mdc-list-item", "data-value": "Retail(FlexPLM)" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Fashion and Retail Product Lifecycle Management")))), h("ptc-multi-select", { items: multiSelectItems, "is-required": 'true' }), h("ptc-textfield", { "field-id": "Self-Reporting", "label-text": "How can we help you?*", type: "text", "ptc-data-eloqua-name": "HowHearSelfReport", "ptc-max-length": "100", "field-name": "howhearselfreport" }), h("ptc-form-checkbox", { label: "I agree to the policy", "checkbox-id": "test" }), h("div", { class: "button-wrapper" }, h("ptc-button", { class: "form-submit", color: "ptc-quaternary", type: "submit", styles: ":host{align-self:flex-end; display:block; float: left; width: fit-content;}" }, "Submit"), h("ptc-button", { class: "form-close", color: "ptc-tertiary", type: "button", styles: ":host{align-self:flex-end; display:block; float: left; width: fit-content;}" }, "Cancel")))))));
|
|
81
|
-
}
|
|
82
|
-
static get is() { return "modal-form-example"; }
|
|
83
|
-
static get originalStyleUrls() {
|
|
84
|
-
return {
|
|
85
|
-
"$": ["modal-form-example.css"]
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
static get styleUrls() {
|
|
89
|
-
return {
|
|
90
|
-
"$": ["modal-form-example.css"]
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
static get states() {
|
|
94
|
-
return {
|
|
95
|
-
"formData": {}
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
static get elementRef() { return "el"; }
|
|
99
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { html } from 'lit';
|
|
2
|
-
|
|
3
|
-
export default {
|
|
4
|
-
title: 'Organisms/E-Support Organisms/Case Tracker'
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
const CaseTracker = args => {
|
|
8
|
-
return html `
|
|
9
|
-
|
|
10
|
-
<ptc-spacer></ptc-spacer>
|
|
11
|
-
<ptc-spacer></ptc-spacer>
|
|
12
|
-
<ptc-spacer></ptc-spacer>
|
|
13
|
-
<div class="ptc-container is-grid">
|
|
14
|
-
<div class="is-col-12 is-col-6-md">
|
|
15
|
-
<ptc-title upperline="none">Case Tracker - Authorized Use Only</ptc-title>
|
|
16
|
-
<ptc-spacer></ptc-spacer>
|
|
17
|
-
<ptc-spacer></ptc-spacer>
|
|
18
|
-
<ptc-para>If you want to use this application on behalf of a customer use this search from to lookup the customer record. When you have found the customer hit the Next > button</ptc-para>
|
|
19
|
-
<ptc-textfield field-id="contact-email" label-text="Customer Name" type="text" ptc-data-eloqua-name="C_EmailAddress" field-name="email"></ptc-textfield>
|
|
20
|
-
<ptc-textfield field-id="contact-email" label-text="Customer Number" type="text" ptc-data-eloqua-name="C_EmailAddress" field-name="email"></ptc-textfield>
|
|
21
|
-
<ptc-button color="ptc-quaternary" disabled="false" link-href="https://www.ptc.com" link-title="PTC" rel="undefined" tab-nav="0" target="_self" text-align="undefined" type="button">Search</ptc-button>
|
|
22
|
-
<ptc-button color="ptc-quaternary" disabled="false" link-href="https://www.ptc.com" link-title="PTC" rel="undefined" tab-nav="0" target="_self" text-align="undefined" type="button">Next</ptc-button>
|
|
23
|
-
</div>
|
|
24
|
-
<div class="is-col-12 is-col-2-md">
|
|
25
|
-
|
|
26
|
-
</div>
|
|
27
|
-
<div class="is-col-12 is-col-3-md">
|
|
28
|
-
<ptc-spacer></ptc-spacer>
|
|
29
|
-
<ptc-spacer></ptc-spacer>
|
|
30
|
-
<ptc-spacer></ptc-spacer>
|
|
31
|
-
<ptc-spacer></ptc-spacer>
|
|
32
|
-
<div style="border: solid; padding: 5px;">
|
|
33
|
-
<ptc-title upperline="none" type="h3">search tips</ptc-title>
|
|
34
|
-
<ul>
|
|
35
|
-
<li>You can use this search form to use this application on behalf of a customer.</li>
|
|
36
|
-
<li>You can use this search form to use this application on behalf of a customer.</li>
|
|
37
|
-
</ul>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
</div>
|
|
43
|
-
`;}
|
|
44
|
-
|
|
45
|
-
export const Preview = CaseTracker.bind();
|