ngx-sfc-common 0.0.25 → 0.0.26
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/esm2020/lib/components/dot/dot.component.mjs +26 -0
- package/esm2020/lib/components/dots/dots.component.mjs +4 -3
- package/esm2020/lib/components/index.mjs +2 -1
- package/esm2020/lib/components/toggle/toggle.component.mjs +1 -1
- package/esm2020/lib/ngx-sfc-common.module.mjs +6 -2
- package/fesm2015/ngx-sfc-common.mjs +30 -4
- package/fesm2015/ngx-sfc-common.mjs.map +1 -1
- package/fesm2020/ngx-sfc-common.mjs +30 -4
- package/fesm2020/ngx-sfc-common.mjs.map +1 -1
- package/lib/components/dot/dot.component.d.ts +7 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/ngx-sfc-common.module.d.ts +21 -20
- package/package.json +1 -1
|
@@ -2597,6 +2597,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
2597
2597
|
type: Input
|
|
2598
2598
|
}] } });
|
|
2599
2599
|
|
|
2600
|
+
class DotComponent {
|
|
2601
|
+
constructor() {
|
|
2602
|
+
this.active = false;
|
|
2603
|
+
this.disabled = false;
|
|
2604
|
+
}
|
|
2605
|
+
}
|
|
2606
|
+
DotComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2607
|
+
DotComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: DotComponent, selector: "sfc-dot", inputs: { active: "active", disabled: "disabled" }, host: { properties: { "class.active": "this.active", "class.disabled": "this.disabled" } }, ngImport: i0, template: ``, isInline: true, styles: [":host{display:inline-block;width:.6em;height:.6em;border-radius:50%;transition:background-color .5s ease}:host,:host-context(.sfc-default-theme) :host{background-color:#545e61}:host-context(.sfc-dark-theme) :host{background-color:#fff}:host.active{background-color:#ffce54}:host.disabled:not(.active){background-color:#bdbdbd}\n"] });
|
|
2608
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DotComponent, decorators: [{
|
|
2609
|
+
type: Component,
|
|
2610
|
+
args: [{ selector: 'sfc-dot', template: ``, styles: [":host{display:inline-block;width:.6em;height:.6em;border-radius:50%;transition:background-color .5s ease}:host,:host-context(.sfc-default-theme) :host{background-color:#545e61}:host-context(.sfc-dark-theme) :host{background-color:#fff}:host.active{background-color:#ffce54}:host.disabled:not(.active){background-color:#bdbdbd}\n"] }]
|
|
2611
|
+
}], propDecorators: { active: [{
|
|
2612
|
+
type: Input
|
|
2613
|
+
}, {
|
|
2614
|
+
type: HostBinding,
|
|
2615
|
+
args: ['class.' + UIClass.Active]
|
|
2616
|
+
}], disabled: [{
|
|
2617
|
+
type: Input
|
|
2618
|
+
}, {
|
|
2619
|
+
type: HostBinding,
|
|
2620
|
+
args: ['class.' + UIClass.Disabled]
|
|
2621
|
+
}] } });
|
|
2622
|
+
|
|
2600
2623
|
class DotsComponent {
|
|
2601
2624
|
constructor() {
|
|
2602
2625
|
this.open = false;
|
|
@@ -2605,10 +2628,10 @@ class DotsComponent {
|
|
|
2605
2628
|
}
|
|
2606
2629
|
}
|
|
2607
2630
|
DotsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DotsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2608
|
-
DotsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: DotsComponent, selector: "sfc-dots", inputs: { open: "open", direction: "direction" }, host: { listeners: { "click": "onClick()" }, properties: { "class.open": "this.open", "class": "this.direction" } }, ngImport: i0, template: "<div class=\"container\">\r\n <div class=\"dots-container\">\r\n <
|
|
2631
|
+
DotsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: DotsComponent, selector: "sfc-dots", inputs: { open: "open", direction: "direction" }, host: { listeners: { "click": "onClick()" }, properties: { "class.open": "this.open", "class": "this.direction" } }, ngImport: i0, template: "<div class=\"container\">\r\n <div class=\"dots-container\">\r\n <sfc-dot></sfc-dot>\r\n <sfc-dot></sfc-dot>\r\n <sfc-dot></sfc-dot>\r\n </div>\r\n</div>", styles: [":host{display:inline-flex;transform:rotate(0);transition:all .3s cubic-bezier(.175,.885,.32,1.275);cursor:pointer}:host.open{transform:rotate(90deg)}:host.vertical{transform:rotate(90deg)}:host.vertical.open{transform:rotate(0)}:host .container{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;flex:1;margin:.25em}:host .container .dots-container{display:flex;flex-flow:row wrap;justify-content:center;align-items:center;position:relative}:host .container .dots-container sfc-dot{width:.3125em;height:.3125em;transition:background .5s ease;margin:.06em}:host .container .dots-container sfc-dot,:host-context(.sfc-default-theme) :host .container .dots-container sfc-dot{background:#545e61}:host-context(.sfc-dark-theme) :host .container .dots-container sfc-dot{background:#fff}:host:hover .container,:host:focus .container{outline:none}:host:hover .container .dots-container sfc-dot,:host:focus .container .dots-container sfc-dot{transition:background .5s ease}:host:hover .container .dots-container sfc-dot,:host-context(.sfc-default-theme) :host:hover .container .dots-container sfc-dot,:host:focus .container .dots-container sfc-dot,:host-context(.sfc-default-theme) :host:focus .container .dots-container sfc-dot{background:#ffce54}:host-context(.sfc-dark-theme) :host:hover .container .dots-container sfc-dot,:host-context(.sfc-dark-theme) :host:focus .container .dots-container sfc-dot{background:#ffce54}\n"], dependencies: [{ kind: "component", type: DotComponent, selector: "sfc-dot", inputs: ["active", "disabled"] }] });
|
|
2609
2632
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DotsComponent, decorators: [{
|
|
2610
2633
|
type: Component,
|
|
2611
|
-
args: [{ selector: 'sfc-dots', template: "<div class=\"container\">\r\n <div class=\"dots-container\">\r\n <
|
|
2634
|
+
args: [{ selector: 'sfc-dots', template: "<div class=\"container\">\r\n <div class=\"dots-container\">\r\n <sfc-dot></sfc-dot>\r\n <sfc-dot></sfc-dot>\r\n <sfc-dot></sfc-dot>\r\n </div>\r\n</div>", styles: [":host{display:inline-flex;transform:rotate(0);transition:all .3s cubic-bezier(.175,.885,.32,1.275);cursor:pointer}:host.open{transform:rotate(90deg)}:host.vertical{transform:rotate(90deg)}:host.vertical.open{transform:rotate(0)}:host .container{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;flex:1;margin:.25em}:host .container .dots-container{display:flex;flex-flow:row wrap;justify-content:center;align-items:center;position:relative}:host .container .dots-container sfc-dot{width:.3125em;height:.3125em;transition:background .5s ease;margin:.06em}:host .container .dots-container sfc-dot,:host-context(.sfc-default-theme) :host .container .dots-container sfc-dot{background:#545e61}:host-context(.sfc-dark-theme) :host .container .dots-container sfc-dot{background:#fff}:host:hover .container,:host:focus .container{outline:none}:host:hover .container .dots-container sfc-dot,:host:focus .container .dots-container sfc-dot{transition:background .5s ease}:host:hover .container .dots-container sfc-dot,:host-context(.sfc-default-theme) :host:hover .container .dots-container sfc-dot,:host:focus .container .dots-container sfc-dot,:host-context(.sfc-default-theme) :host:focus .container .dots-container sfc-dot{background:#ffce54}:host-context(.sfc-dark-theme) :host:hover .container .dots-container sfc-dot,:host-context(.sfc-dark-theme) :host:focus .container .dots-container sfc-dot{background:#ffce54}\n"] }]
|
|
2612
2635
|
}], propDecorators: { open: [{
|
|
2613
2636
|
type: Input
|
|
2614
2637
|
}, {
|
|
@@ -3191,6 +3214,7 @@ NgxSfcCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", vers
|
|
|
3191
3214
|
CloseComponent,
|
|
3192
3215
|
HamburgerComponent,
|
|
3193
3216
|
HamburgerMenuComponent,
|
|
3217
|
+
DotComponent,
|
|
3194
3218
|
DotsComponent,
|
|
3195
3219
|
PaginationComponent,
|
|
3196
3220
|
LoadMoreButtonComponent,
|
|
@@ -3235,6 +3259,7 @@ NgxSfcCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", vers
|
|
|
3235
3259
|
CheckmarkComponent,
|
|
3236
3260
|
TemplateContentComponent,
|
|
3237
3261
|
ToggleSwitcherComponent,
|
|
3262
|
+
DotComponent,
|
|
3238
3263
|
DotsComponent,
|
|
3239
3264
|
HamburgerComponent,
|
|
3240
3265
|
HamburgerMenuComponent,
|
|
@@ -3288,6 +3313,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
3288
3313
|
CloseComponent,
|
|
3289
3314
|
HamburgerComponent,
|
|
3290
3315
|
HamburgerMenuComponent,
|
|
3316
|
+
DotComponent,
|
|
3291
3317
|
DotsComponent,
|
|
3292
3318
|
PaginationComponent,
|
|
3293
3319
|
LoadMoreButtonComponent,
|
|
@@ -3337,6 +3363,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
3337
3363
|
CheckmarkComponent,
|
|
3338
3364
|
TemplateContentComponent,
|
|
3339
3365
|
ToggleSwitcherComponent,
|
|
3366
|
+
DotComponent,
|
|
3340
3367
|
DotsComponent,
|
|
3341
3368
|
HamburgerComponent,
|
|
3342
3369
|
HamburgerMenuComponent,
|
|
@@ -3372,6 +3399,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
3372
3399
|
* Generated bundle index. Do not edit.
|
|
3373
3400
|
*/
|
|
3374
3401
|
|
|
3375
|
-
export { BounceLoaderComponent, BrowserDocumentRef, BrowserWindowRef, ButtonComponent, ButtonType, CheckmarkComponent, CheckmarkType, CircleLoaderComponent, CircleLoaderType, ClickOutsideDirective, CloseComponent, CollapseExpandComponent, CollapseExpandContainerComponent, CollapseExpandDirective, CommonConstants, Compare, ComponentReferenceDirective, ComponentSize, ComponentSizeDirective, DOCUMENT, DOCUMENT_PROVIDERS, DateTimeConstants, DefaultModalFooterComponent, DefaultModalHeaderComponent, DelimeterComponent, DestroyParentDirective, Direction, DocumentRef, DomChangesDirective, DotsComponent, HamburgerComponent, HamburgerMenuComponent, IconComponent, IfDirective, ImageLoadDirective, ImageLoadService, LoadContainerChangesSource, LoadContainerComponent, LoadContainerLoadType, LoadContainerType, LoadMoreButtonComponent, LoadMoreService, LoaderService, MediaLimits, ModalComponent, ModalOpenDirective, ModalOpenOnClickDirective, ModalService, ModalTemplate, MouseDownDirective, NgxSfcCommonModule, PaginationComponent, PaginationConstants, PaginationService, Position, ResizeService, ScrollIntoViewDirective, ScrollTrackerDirective, Sequence, ShowHideElementDirective, SortByPipe, SortingDirection, SortingService, SwitchMultiCasePipe, TemplateContentComponent, TemplateReferenceDirective, Theme, ThrowElementOnHoverDirective, ToggleComponent, ToggleSwitcherComponent, TooltipComponent, TooltipType, UIClass, UIConstants, WINDOW, WINDOW_PROVIDERS, WindowRef, addClasses, addItem, addPropertyToObject, all, any, browserDocumentProvider, browserWindowProvider, buildHttpParams, contains, convertDateToTimestamp, convertFromBase64String, convertTimestampToDate, convertToBase64String, convertUTCDateToLocalDate, count, distinct, documentFactory, documentProvider, firstItem, firstOrDefault, generateGuid, getAge, getCalcValue, getCollectionOrEmpty, getCssLikeValue, getFileExtension, getFirstDayOfMonth, getFirstDayOfMonthByYearAndMonth, getFirstDayOfYear, getLastDayOfMonth, getLastDayOfMonthByYearAndMonth, getLastDayOfYear, getNextDate, getNextMonth, getNextYear, getPreviousDate, getPreviousMonth, getPreviousYear, getRotateValue, getValueFromCssLikeValue, getWeeksNumberInMonth, hasItem, hasItemBy, hasObjectItem, hexToRgb, isAsyncData, isChromeBrowser, isDateGreat, isDateGreatOrEqual, isDateTimeGreat, isDateTimeGreatOrEqual, isDefined, isEmail, isEqual, isEqualDateTimes, isEqualDates, isImage, isNullOrEmptyString, isNumeric, isObject, lastItem, max, mergeDeep, nameof, parseBoolean, parseFileSize, readAsDataURL, remove, removeClasses, removeItem, removeItemBy, removePropertyFromObject, replaceRgbOpacity, rgbToHex, setDay, setDefaultSecondsAndMiliseconds, setHours, setMilliseconds, setMinutes, setSeconds, setYear, skip, sort, sortBy, sortByPath, sum, trim, updateItemBy, where, windowFactory, windowProvider };
|
|
3376
|
-
//# sourceMappingURL=ngx-sfc-common.mjs.map
|
|
3402
|
+
export { BounceLoaderComponent, BrowserDocumentRef, BrowserWindowRef, ButtonComponent, ButtonType, CheckmarkComponent, CheckmarkType, CircleLoaderComponent, CircleLoaderType, ClickOutsideDirective, CloseComponent, CollapseExpandComponent, CollapseExpandContainerComponent, CollapseExpandDirective, CommonConstants, Compare, ComponentReferenceDirective, ComponentSize, ComponentSizeDirective, DOCUMENT, DOCUMENT_PROVIDERS, DateTimeConstants, DefaultModalFooterComponent, DefaultModalHeaderComponent, DelimeterComponent, DestroyParentDirective, Direction, DocumentRef, DomChangesDirective, DotComponent, DotsComponent, HamburgerComponent, HamburgerMenuComponent, IconComponent, IfDirective, ImageLoadDirective, ImageLoadService, LoadContainerChangesSource, LoadContainerComponent, LoadContainerLoadType, LoadContainerType, LoadMoreButtonComponent, LoadMoreService, LoaderService, MediaLimits, ModalComponent, ModalOpenDirective, ModalOpenOnClickDirective, ModalService, ModalTemplate, MouseDownDirective, NgxSfcCommonModule, PaginationComponent, PaginationConstants, PaginationService, Position, ResizeService, ScrollIntoViewDirective, ScrollTrackerDirective, Sequence, ShowHideElementDirective, SortByPipe, SortingDirection, SortingService, SwitchMultiCasePipe, TemplateContentComponent, TemplateReferenceDirective, Theme, ThrowElementOnHoverDirective, ToggleComponent, ToggleSwitcherComponent, TooltipComponent, TooltipType, UIClass, UIConstants, WINDOW, WINDOW_PROVIDERS, WindowRef, addClasses, addItem, addPropertyToObject, all, any, browserDocumentProvider, browserWindowProvider, buildHttpParams, contains, convertDateToTimestamp, convertFromBase64String, convertTimestampToDate, convertToBase64String, convertUTCDateToLocalDate, count, distinct, documentFactory, documentProvider, firstItem, firstOrDefault, generateGuid, getAge, getCalcValue, getCollectionOrEmpty, getCssLikeValue, getFileExtension, getFirstDayOfMonth, getFirstDayOfMonthByYearAndMonth, getFirstDayOfYear, getLastDayOfMonth, getLastDayOfMonthByYearAndMonth, getLastDayOfYear, getNextDate, getNextMonth, getNextYear, getPreviousDate, getPreviousMonth, getPreviousYear, getRotateValue, getValueFromCssLikeValue, getWeeksNumberInMonth, hasItem, hasItemBy, hasObjectItem, hexToRgb, isAsyncData, isChromeBrowser, isDateGreat, isDateGreatOrEqual, isDateTimeGreat, isDateTimeGreatOrEqual, isDefined, isEmail, isEqual, isEqualDateTimes, isEqualDates, isImage, isNullOrEmptyString, isNumeric, isObject, lastItem, max, mergeDeep, nameof, parseBoolean, parseFileSize, readAsDataURL, remove, removeClasses, removeItem, removeItemBy, removePropertyFromObject, replaceRgbOpacity, rgbToHex, setDay, setDefaultSecondsAndMiliseconds, setHours, setMilliseconds, setMinutes, setSeconds, setYear, skip, sort, sortBy, sortByPath, sum, trim, updateItemBy, where, windowFactory, windowProvider };
|
|
3377
3403
|
//# sourceMappingURL=ngx-sfc-common.mjs.map
|