@allsorter/ui-components 0.0.363 → 0.0.365
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/fesm2022/allsorter-ui-components.mjs +39 -3
- package/fesm2022/allsorter-ui-components.mjs.map +1 -1
- package/lib/app-toolbar/app-toolbar.module.d.ts +14 -0
- package/lib/app-toolbar-right/app-toolbar-right.component.d.ts +7 -7
- package/lib/experience-section/experience-section.component.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +4 -0
|
@@ -4496,11 +4496,11 @@ class AppToolbarComponent {
|
|
|
4496
4496
|
// Implement as needed
|
|
4497
4497
|
}
|
|
4498
4498
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AppToolbarComponent, deps: [{ token: i1.MatIconRegistry }, { token: i2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4499
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AppToolbarComponent, isStandalone: true, selector: "app-toolbar", inputs: { variant: "variant", overrideConfig: "overrideConfig", content: "content", isExtractionAnalysisActive: "isExtractionAnalysisActive", showSearch: "showSearch" }, outputs: { editEvent: "editEvent" }, ngImport: i0, template: "<div class=\"toolbar-container\">\n <div class=\"icon-wrapper\"><button type=\"button\" class=\"toolbar-icon toolbar-icon--drag\"\n [attr.aria-label]=\"requiredIcon.handle.title\" [attr.title]=\"requiredIcon.handle.title\"\n (click)=\"$event.stopPropagation()\"><mat-icon svgIcon=\"move\" class=\"move-icon\"></mat-icon></button></div>\n <div class=\"toolbar-icons\">\n <div class=\"icon-wrapper\"><button type=\"button\" class=\"toolbar-icon toolbar-icon--edit\"\n [attr.aria-label]=\"requiredIcon.edit.title\" [attr.title]=\"requiredIcon.edit.title\"\n (click)=\"editSelectedSection()\"><mat-icon svgIcon=\"edit\" class=\"edit-icon\"></mat-icon></button></div>\n <div class=\"icon-wrapper\"><button type=\"button\" class=\"toolbar-icon toolbar-icon--search\"\n [attr.aria-label]=\"requiredIcon.search.title\" [attr.title]=\"requiredIcon.search.title\"\n (click)=\"$event.stopPropagation(); sendMessage()\"><mat-icon svgIcon=\"search\"\n class=\"search-icon\"></mat-icon></button></div>\n </div>\n</div>", styles: [".toolbar-container{background-color:transparent;border-radius:8px;padding:8px 6px;display:flex;flex-direction:column;align-items:center;gap:12px;transition:background-color .2s ease}.toolbar-container:hover{background-color:#e5e9fc}.toolbar-icon{border-radius:8px;color:#6b7280;background:transparent;transition:background .2s,color .2s;cursor:pointer}.toolbar-icon:focus,.toolbar-icon:hover,.toolbar-icon.active{color:#374151}.toolbar-icon--drag,.toolbar-icon--edit,.toolbar-icon--search{border:none;background:transparent;padding:0;display:inline-flex;align-items:center;justify-content:center}.toolbar-icon--drag{cursor:grab}.icon-wrapper{display:flex;width:20px;height:20px;padding:2px;justify-content:center;align-items:center;flex-shrink:0;aspect-ratio:1/1;background-color:transparent;border-radius:4px;margin:0 auto;transition:background-color .2s ease}.icon-wrapper:hover{background-color:#bbc7f6}.move-icon,.edit-icon,.search-icon{width:20px;height:20px;font-size:20px;color:#6b7280}.icon-wrapper .toolbar-icon{width:20px;height:20px;margin:0 auto}.toolbar-icons{display:flex;flex-direction:column;align-items:center;gap:12px;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-4px);transition:opacity .15s ease,transform .15s ease,visibility 0s linear .15s}.toolbar-container:hover .toolbar-icons{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);transition:opacity .15s ease,transform .15s ease,visibility 0s}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] }); }
|
|
4499
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AppToolbarComponent, isStandalone: true, selector: "app-toolbar", inputs: { variant: "variant", overrideConfig: "overrideConfig", content: "content", isExtractionAnalysisActive: "isExtractionAnalysisActive", showSearch: "showSearch" }, outputs: { editEvent: "editEvent" }, ngImport: i0, template: "<div class=\"toolbar-container\">\n <div class=\"icon-wrapper\"><button type=\"button\" class=\"toolbar-icon toolbar-icon--drag\"\n [attr.aria-label]=\"requiredIcon.handle.title\" [attr.title]=\"requiredIcon.handle.title\"\n (click)=\"$event.stopPropagation()\"><mat-icon svgIcon=\"move\" class=\"move-icon\"></mat-icon></button></div>\n <div class=\"toolbar-icons\">\n <div class=\"icon-wrapper\"><button type=\"button\" class=\"toolbar-icon toolbar-icon--edit\"\n [attr.aria-label]=\"requiredIcon.edit.title\" [attr.title]=\"requiredIcon.edit.title\"\n (click)=\"editSelectedSection()\"><mat-icon svgIcon=\"edit\" class=\"edit-icon\"></mat-icon></button></div>\n <div class=\"icon-wrapper\"><button type=\"button\" class=\"toolbar-icon toolbar-icon--search\"\n [attr.aria-label]=\"requiredIcon.search.title\" [attr.title]=\"requiredIcon.search.title\"\n (click)=\"$event.stopPropagation(); sendMessage()\"><mat-icon svgIcon=\"search\"\n class=\"search-icon\"></mat-icon></button></div>\n </div>\n</div>", styles: [".toolbar-container{background-color:transparent;border-radius:8px;padding:8px 6px;display:flex;flex-direction:column;align-items:center;gap:12px;transition:background-color .2s ease}.toolbar-container:hover{background-color:#e5e9fc}.toolbar-icon{border-radius:8px;color:#6b7280;background:transparent;transition:background .2s,color .2s;cursor:pointer}.toolbar-icon:focus,.toolbar-icon:hover,.toolbar-icon.active{color:#374151}.toolbar-icon--drag,.toolbar-icon--edit,.toolbar-icon--search{border:none;background:transparent;padding:0;display:inline-flex;align-items:center;justify-content:center}.toolbar-icon--drag{cursor:grab}.icon-wrapper{display:flex;width:20px;height:20px;padding:2px;justify-content:center;align-items:center;flex-shrink:0;aspect-ratio:1/1;background-color:transparent;border-radius:4px;margin:0 auto;transition:background-color .2s ease}.icon-wrapper:hover{background-color:#bbc7f6}.move-icon,.edit-icon,.search-icon{width:20px;height:20px;font-size:20px;color:#6b7280}.icon-wrapper .toolbar-icon{width:20px;height:20px;margin:0 auto}.toolbar-icons{display:flex;flex-direction:column;align-items:center;gap:12px;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-4px);transition:opacity .15s ease,transform .15s ease,visibility 0s linear .15s}.toolbar-container:hover .toolbar-icons{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);transition:opacity .15s ease,transform .15s ease,visibility 0s}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] }); }
|
|
4500
4500
|
}
|
|
4501
4501
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AppToolbarComponent, decorators: [{
|
|
4502
4502
|
type: Component,
|
|
4503
|
-
args: [{ selector: 'app-toolbar', standalone: true, imports: [MatIconModule], template: "<div class=\"toolbar-container\">\n <div class=\"icon-wrapper\"><button type=\"button\" class=\"toolbar-icon toolbar-icon--drag\"\n [attr.aria-label]=\"requiredIcon.handle.title\" [attr.title]=\"requiredIcon.handle.title\"\n (click)=\"$event.stopPropagation()\"><mat-icon svgIcon=\"move\" class=\"move-icon\"></mat-icon></button></div>\n <div class=\"toolbar-icons\">\n <div class=\"icon-wrapper\"><button type=\"button\" class=\"toolbar-icon toolbar-icon--edit\"\n [attr.aria-label]=\"requiredIcon.edit.title\" [attr.title]=\"requiredIcon.edit.title\"\n (click)=\"editSelectedSection()\"><mat-icon svgIcon=\"edit\" class=\"edit-icon\"></mat-icon></button></div>\n <div class=\"icon-wrapper\"><button type=\"button\" class=\"toolbar-icon toolbar-icon--search\"\n [attr.aria-label]=\"requiredIcon.search.title\" [attr.title]=\"requiredIcon.search.title\"\n (click)=\"$event.stopPropagation(); sendMessage()\"><mat-icon svgIcon=\"search\"\n class=\"search-icon\"></mat-icon></button></div>\n </div>\n</div>", styles: [".toolbar-container{background-color:transparent;border-radius:8px;padding:8px 6px;display:flex;flex-direction:column;align-items:center;gap:12px;transition:background-color .2s ease}.toolbar-container:hover{background-color:#e5e9fc}.toolbar-icon{border-radius:8px;color:#6b7280;background:transparent;transition:background .2s,color .2s;cursor:pointer}.toolbar-icon:focus,.toolbar-icon:hover,.toolbar-icon.active{color:#374151}.toolbar-icon--drag,.toolbar-icon--edit,.toolbar-icon--search{border:none;background:transparent;padding:0;display:inline-flex;align-items:center;justify-content:center}.toolbar-icon--drag{cursor:grab}.icon-wrapper{display:flex;width:20px;height:20px;padding:2px;justify-content:center;align-items:center;flex-shrink:0;aspect-ratio:1/1;background-color:transparent;border-radius:4px;margin:0 auto;transition:background-color .2s ease}.icon-wrapper:hover{background-color:#bbc7f6}.move-icon,.edit-icon,.search-icon{width:20px;height:20px;font-size:20px;color:#6b7280}.icon-wrapper .toolbar-icon{width:20px;height:20px;margin:0 auto}.toolbar-icons{display:flex;flex-direction:column;align-items:center;gap:12px;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-4px);transition:opacity .15s ease,transform .15s ease,visibility 0s linear .15s}.toolbar-container:hover .toolbar-icons{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);transition:opacity .15s ease,transform .15s ease,visibility 0s}\n"] }]
|
|
4503
|
+
args: [{ selector: 'app-toolbar', standalone: true, imports: [CommonModule, MatIconModule], template: "<div class=\"toolbar-container\">\n <div class=\"icon-wrapper\"><button type=\"button\" class=\"toolbar-icon toolbar-icon--drag\"\n [attr.aria-label]=\"requiredIcon.handle.title\" [attr.title]=\"requiredIcon.handle.title\"\n (click)=\"$event.stopPropagation()\"><mat-icon svgIcon=\"move\" class=\"move-icon\"></mat-icon></button></div>\n <div class=\"toolbar-icons\">\n <div class=\"icon-wrapper\"><button type=\"button\" class=\"toolbar-icon toolbar-icon--edit\"\n [attr.aria-label]=\"requiredIcon.edit.title\" [attr.title]=\"requiredIcon.edit.title\"\n (click)=\"editSelectedSection()\"><mat-icon svgIcon=\"edit\" class=\"edit-icon\"></mat-icon></button></div>\n <div class=\"icon-wrapper\"><button type=\"button\" class=\"toolbar-icon toolbar-icon--search\"\n [attr.aria-label]=\"requiredIcon.search.title\" [attr.title]=\"requiredIcon.search.title\"\n (click)=\"$event.stopPropagation(); sendMessage()\"><mat-icon svgIcon=\"search\"\n class=\"search-icon\"></mat-icon></button></div>\n </div>\n</div>", styles: [".toolbar-container{background-color:transparent;border-radius:8px;padding:8px 6px;display:flex;flex-direction:column;align-items:center;gap:12px;transition:background-color .2s ease}.toolbar-container:hover{background-color:#e5e9fc}.toolbar-icon{border-radius:8px;color:#6b7280;background:transparent;transition:background .2s,color .2s;cursor:pointer}.toolbar-icon:focus,.toolbar-icon:hover,.toolbar-icon.active{color:#374151}.toolbar-icon--drag,.toolbar-icon--edit,.toolbar-icon--search{border:none;background:transparent;padding:0;display:inline-flex;align-items:center;justify-content:center}.toolbar-icon--drag{cursor:grab}.icon-wrapper{display:flex;width:20px;height:20px;padding:2px;justify-content:center;align-items:center;flex-shrink:0;aspect-ratio:1/1;background-color:transparent;border-radius:4px;margin:0 auto;transition:background-color .2s ease}.icon-wrapper:hover{background-color:#bbc7f6}.move-icon,.edit-icon,.search-icon{width:20px;height:20px;font-size:20px;color:#6b7280}.icon-wrapper .toolbar-icon{width:20px;height:20px;margin:0 auto}.toolbar-icons{display:flex;flex-direction:column;align-items:center;gap:12px;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-4px);transition:opacity .15s ease,transform .15s ease,visibility 0s linear .15s}.toolbar-container:hover .toolbar-icons{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);transition:opacity .15s ease,transform .15s ease,visibility 0s}\n"] }]
|
|
4504
4504
|
}], ctorParameters: () => [{ type: i1.MatIconRegistry }, { type: i2.DomSanitizer }], propDecorators: { variant: [{
|
|
4505
4505
|
type: Input
|
|
4506
4506
|
}], overrideConfig: [{
|
|
@@ -5016,6 +5016,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
5016
5016
|
}]
|
|
5017
5017
|
}] });
|
|
5018
5018
|
|
|
5019
|
+
class AppToolbarModule {
|
|
5020
|
+
constructor(iconRegistry, sanitizer) {
|
|
5021
|
+
this.iconRegistry = iconRegistry;
|
|
5022
|
+
this.sanitizer = sanitizer;
|
|
5023
|
+
const basePath = this.getBasePath();
|
|
5024
|
+
this.iconRegistry.addSvgIcon('move', this.sanitizer.bypassSecurityTrustResourceUrl(`${basePath}/images/Move.svg`));
|
|
5025
|
+
this.iconRegistry.addSvgIcon('edit', this.sanitizer.bypassSecurityTrustResourceUrl(`${basePath}/images/edit.svg`));
|
|
5026
|
+
this.iconRegistry.addSvgIcon('search', this.sanitizer.bypassSecurityTrustResourceUrl(`${basePath}/images/search.svg`));
|
|
5027
|
+
}
|
|
5028
|
+
getBasePath() {
|
|
5029
|
+
if (typeof document === 'undefined') {
|
|
5030
|
+
return '';
|
|
5031
|
+
}
|
|
5032
|
+
const baseTag = document.querySelector('base');
|
|
5033
|
+
if (baseTag && baseTag.getAttribute('href')) {
|
|
5034
|
+
const baseHref = baseTag.getAttribute('href') || '/';
|
|
5035
|
+
return baseHref.replace(/\/$/, '');
|
|
5036
|
+
}
|
|
5037
|
+
const pathname = window.location.pathname;
|
|
5038
|
+
if (pathname.includes('/allsorter-lib/')) {
|
|
5039
|
+
return '/allsorter-lib';
|
|
5040
|
+
}
|
|
5041
|
+
return '';
|
|
5042
|
+
}
|
|
5043
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AppToolbarModule, deps: [{ token: i1.MatIconRegistry }, { token: i2.DomSanitizer }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5044
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: AppToolbarModule, imports: [CommonModule, AppToolbarComponent], exports: [AppToolbarComponent] }); }
|
|
5045
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AppToolbarModule, imports: [CommonModule, AppToolbarComponent] }); }
|
|
5046
|
+
}
|
|
5047
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AppToolbarModule, decorators: [{
|
|
5048
|
+
type: NgModule,
|
|
5049
|
+
args: [{
|
|
5050
|
+
imports: [CommonModule, AppToolbarComponent],
|
|
5051
|
+
exports: [AppToolbarComponent],
|
|
5052
|
+
}]
|
|
5053
|
+
}], ctorParameters: () => [{ type: i1.MatIconRegistry }, { type: i2.DomSanitizer }] });
|
|
5054
|
+
|
|
5019
5055
|
/*
|
|
5020
5056
|
* Public API Surface of allsorter-lib
|
|
5021
5057
|
*/
|
|
@@ -5024,5 +5060,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
5024
5060
|
* Generated bundle index. Do not edit.
|
|
5025
5061
|
*/
|
|
5026
5062
|
|
|
5027
|
-
export { ActionBarWrapperComponent, AiApplyBarComponent, AlTabComponent, AllsorterLibComponent, AllsorterLibService, ButtonComponent, ButtonModule, CandidateSectionComponent, CandidateSectionModule, CheckboxComponent, CheckboxModule, CustomEditorComponent, CustomEditorDemoComponent, CustomEditorModule, DateRangeComponent, DateRangeModule, ExperienceSectionComponent, ExperienceSectionModule, FieldPlaceholderComponent, FieldPlaceholderModule, GeneralContainerComponent, GeneralContainerModule, IconButtonComponent, InputComponent, InputModule, LoaderComponent, LoaderModule, ModalComponent, NewTypographyComponent, RadioComponent, RadioModule, ResponsiveColumnsComponent, ResponsiveColumnsModule, ResponsiveLayoutComponent, ResponsiveLayoutModule, ResumeEntriesComponent, ResumeEntriesModule, ResumeHeaderComponent, ResumeHeaderModule, SharedPopupModalModule, SlideToggleComponent, SlideToggleModule, TabsComponent, TabsModule, ToggleButtonsComponent, ToggleButtonsModule, TooltipComponent, TooltipModule };
|
|
5063
|
+
export { ActionBarWrapperComponent, AiApplyBarComponent, AlTabComponent, AllsorterLibComponent, AllsorterLibService, AppToolbarComponent, AppToolbarModule, AppToolbarRightComponent, AppToolbarRightModule, ButtonComponent, ButtonModule, CandidateSectionComponent, CandidateSectionModule, CheckboxComponent, CheckboxModule, CustomEditorComponent, CustomEditorDemoComponent, CustomEditorModule, DateRangeComponent, DateRangeModule, ExperienceSectionComponent, ExperienceSectionModule, FieldPlaceholderComponent, FieldPlaceholderModule, GeneralContainerComponent, GeneralContainerModule, IconButtonComponent, InputComponent, InputModule, LoaderComponent, LoaderModule, ModalComponent, NewTypographyComponent, RadioComponent, RadioModule, ResponsiveColumnsComponent, ResponsiveColumnsModule, ResponsiveLayoutComponent, ResponsiveLayoutModule, ResumeEntriesComponent, ResumeEntriesModule, ResumeHeaderComponent, ResumeHeaderModule, SharedPopupModalModule, SlideToggleComponent, SlideToggleModule, TabsComponent, TabsModule, ToggleButtonsComponent, ToggleButtonsModule, TooltipComponent, TooltipModule };
|
|
5028
5064
|
//# sourceMappingURL=allsorter-ui-components.mjs.map
|