@phatvu/web-component-poc 1.0.4 → 1.0.6
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/fast-button_4.cjs.entry.js +1 -1
- package/dist/cjs/job-card.cjs.entry.js +138 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/web-component-poc.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/button/button.js +2 -2
- package/dist/collection/components/job-card/job-card.css +247 -0
- package/dist/collection/components/job-card/job-card.js +435 -0
- package/dist/collection/components/jobs-item/jobs-item.js +5 -5
- package/dist/collection/components/jobs-list-only/jobs-list-only.js +6 -6
- package/dist/components/job-card.d.ts +11 -0
- package/dist/components/job-card.js +1 -0
- package/dist/components/jobs-list-only.js +1 -1
- package/dist/esm/fast-button_4.entry.js +1 -1
- package/dist/esm/job-card.entry.js +136 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/web-component-poc.js +1 -1
- package/dist/types/components/job-card/job-card.d.ts +93 -0
- package/dist/types/components/jobs-item/jobs-item.d.ts +2 -2
- package/dist/types/components/jobs-list-only/jobs-list-only.d.ts +2 -2
- package/dist/types/components.d.ts +246 -7
- package/dist/types/mock/jobs-list-only.mock.d.ts +2 -2
- package/dist/types/types/jobs-list.d.ts +6 -2
- package/dist/web-component-poc/p-52c85341.entry.js +1 -0
- package/dist/web-component-poc/{p-df843533.entry.js → p-96761988.entry.js} +1 -1
- package/dist/web-component-poc/web-component-poc.esm.js +1 -1
- package/hydrate/index.js +181 -1
- package/hydrate/index.mjs +181 -1
- package/package.json +5 -1
- package/dist/web-component-poc/index-pJKMKO-T.js.map +0 -1
- package/dist/web-component-poc/index.esm.js.map +0 -1
- package/dist/web-component-poc/web-component-poc.esm.js.map +0 -1
package/hydrate/index.mjs
CHANGED
|
@@ -6505,6 +6505,185 @@ class CustomButton {
|
|
|
6505
6505
|
}; }
|
|
6506
6506
|
}
|
|
6507
6507
|
|
|
6508
|
+
const jobCardCss = () => `.job-card{display:block;padding:16px;border:1px solid #e0e0e0;border-radius:8px;background-color:#fff;box-shadow:0 2px 4px rgba(0, 0, 0, 0.08);transition:box-shadow 0.2s ease, border-color 0.2s ease}.job-card:hover{box-shadow:0 4px 8px rgba(0, 0, 0, 0.12);border-color:#d0d0d0}.job-card__header{margin-bottom:12px}.job-card__title{margin:0;font-size:18px;font-weight:700;display:flex;align-items:center;flex-wrap:wrap;gap:8px}.job-card__title--link{text-decoration:none;color:#1f9755;transition:color 0.2s ease}.job-card__title--link:hover{text-decoration:underline;color:#1a7a43}.job-card__reference{font-size:0.875em;color:#666;background-color:#f5f5f5;padding:2px 6px;border-radius:3px}.job-card__reference--empty{display:none}.job-card__remote{background:#e8f5e9;color:#2e7d32;border-radius:100px;padding:4px 12px;text-transform:uppercase;font-size:11px;font-weight:700;line-height:1.5;white-space:nowrap}.job-card__remote--empty{display:none}.job-card__distance{display:inline-flex;align-items:center;gap:4px;margin-top:6px;font-size:13px;font-weight:500;color:#555}.job-card__distance--icon{display:inline-flex;align-items:center}.job-card__distance--icon svg{width:16px;height:16px;color:#1f9755}.job-card__content{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.job-card__info{flex:1;display:flex;flex-direction:column;gap:8px}.job-card__street,.job-card__brand,.job-card__employment-type{display:flex;align-items:center;flex-wrap:wrap;gap:4px 6px;font-size:14px}.job-card__street--empty,.job-card__brand--empty,.job-card__employment-type--empty{color:#999}.job-card__street--icon,.job-card__brand--icon,.job-card__employment-type--icon{display:inline-flex;align-items:center;flex-shrink:0}.job-card__street--icon svg,.job-card__brand--icon svg,.job-card__employment-type--icon svg{width:16px;height:16px;color:#666}.job-card__street--label,.job-card__brand--label,.job-card__employment-type--label{color:#333}.job-card__street--label__wrapper{display:flex;align-items:center;gap:6px}.job-card__street--more-locations__wrapper{display:flex;align-items:center;gap:2px;font-size:12px;margin-left:2px}.job-card__street--amount{font-weight:600;color:#1f9755}.job-card__street--more-locations{color:#999}.job-card__apply{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 16px;background-color:#198754;color:#fff;border-radius:4px;text-decoration:none;font-weight:600;font-size:14px;transition:background-color 0.2s ease, transform 0.1s ease;white-space:nowrap;flex-shrink:0}.job-card__apply:hover{background-color:#1a6f47;transform:translateY(-1px)}.job-card__apply:active{transform:translateY(0)}.job-card__apply--icon{display:inline-flex;align-items:center}.job-card__apply--icon svg{width:14px;height:14px}@media (max-width: 768px){.job-card{padding:12px}.job-card__content{flex-direction:column;gap:10px}.job-card__apply{width:100%;justify-content:center}.job-card__title{font-size:16px}}@media (max-width: 480px){.job-card{padding:10px}.job-card__title{font-size:15px}.job-card__distance{font-size:12px}.job-card__street,.job-card__brand,.job-card__employment-type{font-size:13px}}`;
|
|
6509
|
+
|
|
6510
|
+
/**
|
|
6511
|
+
* Helper function to get formatted location label from location object
|
|
6512
|
+
*/
|
|
6513
|
+
function getLocationLabel$1(loc) {
|
|
6514
|
+
if (loc.cityStateAbbr)
|
|
6515
|
+
return loc.cityStateAbbr;
|
|
6516
|
+
const parts = [loc.streetAddress, loc.city, loc.stateAbbr || loc.state, loc.countryAbbr || loc.country].filter(Boolean);
|
|
6517
|
+
return parts.join(', ') || loc.locationText || '';
|
|
6518
|
+
}
|
|
6519
|
+
/**
|
|
6520
|
+
* Helper function to get the first location from job locations
|
|
6521
|
+
*/
|
|
6522
|
+
function getFirstLocation$1(job) {
|
|
6523
|
+
const locs = job.locations;
|
|
6524
|
+
if (!locs?.length)
|
|
6525
|
+
return undefined;
|
|
6526
|
+
return locs[0];
|
|
6527
|
+
}
|
|
6528
|
+
/**
|
|
6529
|
+
* JobCard Component
|
|
6530
|
+
*
|
|
6531
|
+
* A reusable card component for displaying job information based on the React JobItem component.
|
|
6532
|
+
* Features include:
|
|
6533
|
+
* - Job title with apply link
|
|
6534
|
+
* - Location with distance
|
|
6535
|
+
* - Brand/company name
|
|
6536
|
+
* - Employment type
|
|
6537
|
+
* - Reference number (optional)
|
|
6538
|
+
* - Remote indicator (optional)
|
|
6539
|
+
* - Multi-location support
|
|
6540
|
+
* - Custom extra fields
|
|
6541
|
+
*
|
|
6542
|
+
* @example
|
|
6543
|
+
* ```html
|
|
6544
|
+
* <job-card
|
|
6545
|
+
* .job={jobData}
|
|
6546
|
+
* applyButtonText="Apply"
|
|
6547
|
+
* showBrand="true"
|
|
6548
|
+
* showEmploymentType="true"
|
|
6549
|
+
* ></job-card>
|
|
6550
|
+
* ```
|
|
6551
|
+
*/
|
|
6552
|
+
class JobCard {
|
|
6553
|
+
constructor(hostRef) {
|
|
6554
|
+
registerInstance(this, hostRef);
|
|
6555
|
+
}
|
|
6556
|
+
/**
|
|
6557
|
+
* The job data object to display. Accepts either a Job object or a JSON string.
|
|
6558
|
+
*/
|
|
6559
|
+
job;
|
|
6560
|
+
/**
|
|
6561
|
+
* Index of the job in a list (used for accessibility)
|
|
6562
|
+
*/
|
|
6563
|
+
index = 0;
|
|
6564
|
+
/**
|
|
6565
|
+
* Text for the apply button
|
|
6566
|
+
*/
|
|
6567
|
+
applyButtonText = 'Apply Now';
|
|
6568
|
+
/**
|
|
6569
|
+
* Whether to show the brand/company name
|
|
6570
|
+
*/
|
|
6571
|
+
showBrand = true;
|
|
6572
|
+
/**
|
|
6573
|
+
* Whether to show the reference number
|
|
6574
|
+
*/
|
|
6575
|
+
showReference = false;
|
|
6576
|
+
/**
|
|
6577
|
+
* Whether to show employment type
|
|
6578
|
+
*/
|
|
6579
|
+
showEmploymentType = true;
|
|
6580
|
+
/**
|
|
6581
|
+
* Text shown for multiple locations
|
|
6582
|
+
*/
|
|
6583
|
+
multiLocationText = 'More locations';
|
|
6584
|
+
/**
|
|
6585
|
+
* Text shown for remote jobs
|
|
6586
|
+
*/
|
|
6587
|
+
remoteLocationText = 'Remote';
|
|
6588
|
+
/**
|
|
6589
|
+
* Whether to show distances in kilometers instead of miles
|
|
6590
|
+
*/
|
|
6591
|
+
enableKilometers = false;
|
|
6592
|
+
/**
|
|
6593
|
+
* Whether to show commute time
|
|
6594
|
+
*/
|
|
6595
|
+
showCommuteTime = false;
|
|
6596
|
+
/**
|
|
6597
|
+
* Format string for street address (not used in base web component)
|
|
6598
|
+
*/
|
|
6599
|
+
streetFormat = '{street}, {city_state_abbr}';
|
|
6600
|
+
/** Extra CSS class on the root inner element (avoid prop name "className", reserved on HTMLElement). */
|
|
6601
|
+
rootClass = '';
|
|
6602
|
+
/**
|
|
6603
|
+
* Custom extra fields configuration
|
|
6604
|
+
*/
|
|
6605
|
+
extraFieldsConfig = [];
|
|
6606
|
+
/**
|
|
6607
|
+
* Format distance with unit
|
|
6608
|
+
*/
|
|
6609
|
+
formatDistance(distance) {
|
|
6610
|
+
const value = this.enableKilometers ? distance * 1.60934 : distance;
|
|
6611
|
+
const unit = this.enableKilometers ? 'Km' : 'Miles';
|
|
6612
|
+
const str = `${value.toFixed(1)} ${unit}`.replace('.0', '');
|
|
6613
|
+
return str;
|
|
6614
|
+
}
|
|
6615
|
+
/**
|
|
6616
|
+
* Is Empty utility
|
|
6617
|
+
*/
|
|
6618
|
+
isEmpty(value) {
|
|
6619
|
+
if (value === null || value === undefined || value === '') {
|
|
6620
|
+
return true;
|
|
6621
|
+
}
|
|
6622
|
+
if (Array.isArray(value) && value.length === 0) {
|
|
6623
|
+
return true;
|
|
6624
|
+
}
|
|
6625
|
+
return false;
|
|
6626
|
+
}
|
|
6627
|
+
/**
|
|
6628
|
+
* Parse job data from prop - handles both object and JSON string
|
|
6629
|
+
*/
|
|
6630
|
+
getJobData() {
|
|
6631
|
+
if (!this.job)
|
|
6632
|
+
return null;
|
|
6633
|
+
if (typeof this.job === 'string') {
|
|
6634
|
+
try {
|
|
6635
|
+
return JSON.parse(this.job);
|
|
6636
|
+
}
|
|
6637
|
+
catch {
|
|
6638
|
+
console.warn('job-card: Failed to parse job JSON string');
|
|
6639
|
+
return null;
|
|
6640
|
+
}
|
|
6641
|
+
}
|
|
6642
|
+
return this.job;
|
|
6643
|
+
}
|
|
6644
|
+
render() {
|
|
6645
|
+
const job = this.getJobData();
|
|
6646
|
+
if (!job)
|
|
6647
|
+
return null;
|
|
6648
|
+
const firstLoc = getFirstLocation$1(job);
|
|
6649
|
+
const locationLabel = firstLoc ? getLocationLabel$1(firstLoc) : '';
|
|
6650
|
+
const distance = firstLoc?.distance ?? 0;
|
|
6651
|
+
const distanceLabel = distance > 0 ? this.formatDistance(distance) : '';
|
|
6652
|
+
const applyHref = job.applyURL ||
|
|
6653
|
+
(job.originalURL ? `${typeof window !== 'undefined' ? window.location.origin : ''}${job.originalURL}` : '#');
|
|
6654
|
+
const applyLabel = `${this.applyButtonText}, ${job.title || ''}`;
|
|
6655
|
+
const locs = job.locations ?? [];
|
|
6656
|
+
const hasMultipleLocations = locs.length > 1;
|
|
6657
|
+
return (hAsync("div", { class: `job-card ${this.rootClass}`.trim() }, hAsync("div", { class: "job-card__header" }, hAsync("h3", { class: "job-card__title" }, hAsync("a", { class: "job-card__title--link", href: applyHref, target: "_blank", rel: "noopener noreferrer" }, job.title || ''), this.showReference && (hAsync("span", { class: `job-card__reference ${job.reference ? '' : 'job-card__reference--empty'}` }, job.reference || '')), job.isRemote && (hAsync("span", { class: this.remoteLocationText ? 'job-card__remote' : 'job-card__remote job-card__remote--empty' }, this.remoteLocationText))), distanceLabel && (hAsync("div", { class: "job-card__distance" }, hAsync("span", { class: "job-card__distance--icon" }, hAsync("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.5" }, hAsync("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18z" }), hAsync("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M12 8v4l2 2" }))), hAsync("span", { class: "job-card__distance--label" }, distanceLabel)))), hAsync("div", { class: "job-card__content" }, hAsync("div", { class: "job-card__info" }, hAsync("div", { class: locs.length ? 'job-card__street' : 'job-card__street job-card__street--empty' }, hAsync("div", { class: "job-card__street--label__wrapper" }, hAsync("span", { class: "job-card__street--icon" }, hAsync("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.5" }, hAsync("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0z" }), hAsync("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M19.5 10.5c0 7.142-7.5 11.25-7.5 11.25S4.5 17.642 4.5 10.5a7.5 7.5 0 1 1 15 0z" }))), hAsync("span", { class: "job-card__street--label" }, locationLabel || '—')), hasMultipleLocations && (hAsync("div", { class: "job-card__street--more-locations__wrapper" }, hAsync("span", { class: "job-card__street--amount" }, "+", locs.length - 1), hAsync("span", { class: "job-card__street--more-locations" }, this.multiLocationText)))), this.showBrand && (hAsync("div", { class: job.brandName ? 'job-card__brand' : 'job-card__brand job-card__brand--empty' }, hAsync("span", { class: "job-card__brand--icon" }, hAsync("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.5" }, hAsync("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M2.25 21h19.5m-18-18v18m10.5-18v18m6-13.5V21M6.75 6.75h.75m-.75 3h.75m-.75 3h.75m3-6h.75m-.75 3h.75m-.75 3h.75M6.75 21v-3.375c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21M3 3h12m-.75 4.5H21m-3.75 3.75h.008v.008h-.008v-.008zm0 3h.008v.008h-.008v-.008zm0 3h.008v.008h-.008v-.008z" }))), hAsync("span", { class: "job-card__brand--label" }, job.brandName || '—'))), this.showEmploymentType && (hAsync("div", { class: job.employmentType?.length
|
|
6658
|
+
? 'job-card__employment-type'
|
|
6659
|
+
: 'job-card__employment-type job-card__employment-type--empty' }, hAsync("span", { class: "job-card__employment-type--icon" }, hAsync("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.5" }, hAsync("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0z" }))), job.employmentType?.length ? (job.employmentType?.map((type) => (hAsync("span", { key: type, class: "job-card__employment-type--label" }, type)))) : (hAsync("span", { class: "job-card__employment-type--label" }, "\u2014")))), (job.jobCardExtraFields ?? []).length > 0 &&
|
|
6660
|
+
job.jobCardExtraFields?.map((field, idx) => (hAsync("div", { key: idx, class: !this.isEmpty(field.value) ? `${field.classname}` : `${field.classname}--empty` }, Array.isArray(field.value) ? (field.value.map((item, itemIdx) => (hAsync("span", { key: itemIdx, class: `${field.classname}--label` }, item)))) : (hAsync("span", { class: `${field.classname}--label` }, field.value)))))), hAsync("a", { class: "job-card__apply", href: applyHref, target: "_blank", rel: "noopener noreferrer", "aria-label": applyLabel }, hAsync("span", { class: "job-card__apply--label" }, this.applyButtonText), hAsync("span", { class: "job-card__apply--icon" }, hAsync("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, hAsync("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3" })))))));
|
|
6661
|
+
}
|
|
6662
|
+
static get style() { return jobCardCss(); }
|
|
6663
|
+
static get cmpMeta() { return {
|
|
6664
|
+
"$flags$": 512,
|
|
6665
|
+
"$tagName$": "job-card",
|
|
6666
|
+
"$members$": {
|
|
6667
|
+
"job": [1],
|
|
6668
|
+
"index": [2],
|
|
6669
|
+
"applyButtonText": [1, "apply-button-text"],
|
|
6670
|
+
"showBrand": [4, "show-brand"],
|
|
6671
|
+
"showReference": [4, "show-reference"],
|
|
6672
|
+
"showEmploymentType": [4, "show-employment-type"],
|
|
6673
|
+
"multiLocationText": [1, "multi-location-text"],
|
|
6674
|
+
"remoteLocationText": [1, "remote-location-text"],
|
|
6675
|
+
"enableKilometers": [4, "enable-kilometers"],
|
|
6676
|
+
"showCommuteTime": [4, "show-commute-time"],
|
|
6677
|
+
"streetFormat": [1, "street-format"],
|
|
6678
|
+
"rootClass": [1, "root-class"],
|
|
6679
|
+
"extraFieldsConfig": [16]
|
|
6680
|
+
},
|
|
6681
|
+
"$listeners$": undefined,
|
|
6682
|
+
"$lazyBundleId$": "-",
|
|
6683
|
+
"$attrsToReflect$": []
|
|
6684
|
+
}; }
|
|
6685
|
+
}
|
|
6686
|
+
|
|
6508
6687
|
const jobsItemCss = () => `.results-list__item{list-style:none;padding:10px 0;border-bottom:1px solid #ddd;margin:15px 0;display:inline-block;width:100%;position:relative}.results-list__item:last-child{border-bottom:none}.results-list__item-header{margin:10px 0;font-size:18px;font-weight:700;display:flex;flex-direction:column}.results-list__item-title{margin:0}.results-list__item-title--link{text-decoration:none;color:#1f9755}.results-list__item-title--link:hover{text-decoration:underline}.reference{margin-left:8px;font-size:0.9em;color:#666}.reference.empty{display:none}.remote{background:#f3f3f3;color:#808285;border-radius:100px;padding:6px 16px;text-transform:uppercase;font-size:12px;font-weight:700;line-height:24px;margin-left:8px}.remote--empty{display:none}.results-list__item-distance{display:inline-flex;align-items:center;gap:4px;margin-top:4px;font-size:14px;font-weight:400}.results-list__item-distance--icon{display:inline-flex}.results-list__item-distance--icon svg{width:16px;height:16px}.results-list__item-content{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-top:8px}.results-list__item-info{flex:1}.results-list__item-street,.results-list__item-brand,.results-list__item-employment-type{margin:10px 0;display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}.results-list__item-street--empty,.results-list__item-brand--empty,.results-list__item-employment-type--empty{color:#999}.results-list__item-street--icon,.results-list__item-brand--icon,.results-list__item-employment-type--icon{margin-right:6px;display:inline-flex}.results-list__item-street--icon svg,.results-list__item-brand--icon svg,.results-list__item-employment-type--icon svg{width:16px;height:16px}.results-list__item-street--more-locations__wrapper{margin-left:8px}.results-list__item-street--amount{font-weight:600}.results-list__item-apply{margin:10px 0;padding:10px 20px;display:inline-flex;align-items:center;gap:8px;background-color:#198754;color:#fff;border-radius:3px;text-decoration:none;font-weight:600;flex-shrink:0}.results-list__item-apply:hover{background-color:#1f9755;color:#fff}.results-list__item-apply--icon svg{width:14px;height:14px}`;
|
|
6509
6688
|
|
|
6510
6689
|
function getLocationLabel(loc) {
|
|
@@ -6704,7 +6883,7 @@ class JobsListOnly {
|
|
|
6704
6883
|
const totalJob = this.mockData ? jobsArray.length : (this.totalJob || jobsArray.length);
|
|
6705
6884
|
const showNoResults = !loading && totalJob === 0 && !this.showSuggestions;
|
|
6706
6885
|
const showSuggestionsBlock = !loading && totalJob === 0 && this.showSuggestions;
|
|
6707
|
-
return (hAsync("div", { key: '
|
|
6886
|
+
return (hAsync("div", { key: 'c22b59e35668df06633c8c11ae8a51b463e06b19', class: `jobs-list-root ${this.rootClass}`.trim() }, hAsync("div", { key: 'e2b5b1bf68b75dd958b906c18c258faa8f4e1e25', class: "results-container" }, hAsync("div", { key: '923d2402d2951d9de47a69c5fd87a80fda382b6e', class: loading ? 'loader' : 'loader hide', "aria-hidden": !loading }), totalJob > 0 && (hAsync("div", { key: '000c2c2d512f1b48999d628a2517701fc061dd11', class: "card" }, hAsync("ul", { key: '7028fc4f1b007eb9ff9bc205201af986c6d0a9ae', class: "results-list front" }, jobsArray.map((job, index) => this.renderJobItem(job, index))))), showNoResults && (hAsync("div", { key: '4f567c7ddbf7d393469886ce3b4865dcb9f4e761', class: "share-jobs__no-results" }, hAsync("h2", { key: '5f1ae77afeca0c37183dc681a9cc42eebaf0e510' }, this.noResultsLine1), hAsync("h3", { key: '6f8a754181cabf1befc6a9a4cf811417075af918' }, this.noResultsLine2))), showSuggestionsBlock && (hAsync("div", { key: 'a09cc45fbed615bb8672f8e77c2a8793efec2dc5', class: "card primary-color" }, hAsync("h4", { key: '9e53bb60ec086f42845d90c807dbd1cb6a88721d', class: "result-suggestions-title" }, this.clearResultSuggestionsTitleText, ":"), hAsync("ul", { key: '0769ebd6367255dad56e688cd36a65cc41f1f366', class: "results-list front" }, hAsync("li", { key: '7032fc1d77ca040be7d2c949c7bc755c62ef4df3', class: "result-suggestions-line" }, this.clearResultSuggestionsLine1), hAsync("li", { key: '49e0c6d4cad62448abc42124708472d8c268c7d9', class: "result-suggestions-line" }, this.clearResultSuggestionsLine2), hAsync("li", { key: 'ad76dbdad20e8de716613baa2bd1e745b6749fa7', class: "result-suggestions-line" }, this.clearResultSuggestionsLine3), this.clearResultSuggestionsLine4 && (hAsync("li", { key: 'b141b94ceeacd5de8fd430cc9e5e05063953130a', class: "result-suggestions-line" }, this.clearResultSuggestionsLine4))))))));
|
|
6708
6887
|
}
|
|
6709
6888
|
static get style() { return jobsListOnlyCss(); }
|
|
6710
6889
|
static get cmpMeta() { return {
|
|
@@ -6742,6 +6921,7 @@ class JobsListOnly {
|
|
|
6742
6921
|
registerComponents([
|
|
6743
6922
|
AppCarousel,
|
|
6744
6923
|
CustomButton,
|
|
6924
|
+
JobCard,
|
|
6745
6925
|
JobsItem,
|
|
6746
6926
|
JobsListOnly,
|
|
6747
6927
|
]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phatvu/web-component-poc",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Stencil Component Starter",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -39,6 +39,10 @@
|
|
|
39
39
|
"./jobs-item": {
|
|
40
40
|
"import": "./dist/components/jobs-item.js",
|
|
41
41
|
"types": "./dist/components/jobs-item.d.ts"
|
|
42
|
+
},
|
|
43
|
+
"./job-card": {
|
|
44
|
+
"import": "./dist/components/job-card.js",
|
|
45
|
+
"types": "./dist/components/job-card.d.ts"
|
|
42
46
|
}
|
|
43
47
|
},
|
|
44
48
|
"repository": {
|