@underlayerdev/ui 0.19.0 → 0.20.0
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.
|
@@ -12068,6 +12068,96 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
12068
12068
|
}]
|
|
12069
12069
|
}
|
|
12070
12070
|
});
|
|
12071
|
+
var ProgressBarComponent = class ProgressBarComponent {
|
|
12072
|
+
value = input(null, ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
12073
|
+
fixed = input(false, ...ngDevMode ? [{ debugName: "fixed" }] : /* istanbul ignore next */ []);
|
|
12074
|
+
label = input("Loading", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
12075
|
+
clampedValue = computed(() => {
|
|
12076
|
+
const value = this.value();
|
|
12077
|
+
return value === null ? null : Math.min(100, Math.max(0, value));
|
|
12078
|
+
}, ...ngDevMode ? [{ debugName: "clampedValue" }] : /* istanbul ignore next */ []);
|
|
12079
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
12080
|
+
minVersion: "12.0.0",
|
|
12081
|
+
version: "22.2.2",
|
|
12082
|
+
ngImport: i0,
|
|
12083
|
+
type: ProgressBarComponent,
|
|
12084
|
+
deps: [],
|
|
12085
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
12086
|
+
});
|
|
12087
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
12088
|
+
minVersion: "17.1.0",
|
|
12089
|
+
version: "22.2.2",
|
|
12090
|
+
type: ProgressBarComponent,
|
|
12091
|
+
isStandalone: true,
|
|
12092
|
+
selector: "ul-progress-bar",
|
|
12093
|
+
inputs: {
|
|
12094
|
+
value: {
|
|
12095
|
+
classPropertyName: "value",
|
|
12096
|
+
publicName: "value",
|
|
12097
|
+
isSignal: true,
|
|
12098
|
+
isRequired: false,
|
|
12099
|
+
transformFunction: null
|
|
12100
|
+
},
|
|
12101
|
+
fixed: {
|
|
12102
|
+
classPropertyName: "fixed",
|
|
12103
|
+
publicName: "fixed",
|
|
12104
|
+
isSignal: true,
|
|
12105
|
+
isRequired: false,
|
|
12106
|
+
transformFunction: null
|
|
12107
|
+
},
|
|
12108
|
+
label: {
|
|
12109
|
+
classPropertyName: "label",
|
|
12110
|
+
publicName: "label",
|
|
12111
|
+
isSignal: true,
|
|
12112
|
+
isRequired: false,
|
|
12113
|
+
transformFunction: null
|
|
12114
|
+
}
|
|
12115
|
+
},
|
|
12116
|
+
ngImport: i0,
|
|
12117
|
+
template: "<div\n class=\"ul-progress-bar\"\n [class.ul-progress-bar--fixed]=\"fixed()\"\n [class.ul-progress-bar--indeterminate]=\"clampedValue() === null\"\n role=\"progressbar\"\n [attr.aria-label]=\"label()\"\n [attr.aria-valuemin]=\"clampedValue() === null ? null : 0\"\n [attr.aria-valuemax]=\"clampedValue() === null ? null : 100\"\n [attr.aria-valuenow]=\"clampedValue()\"\n>\n <div\n class=\"ul-progress-bar__fill\"\n [style.transform]=\"clampedValue() === null ? null : 'scaleX(' + clampedValue()! / 100 + ')'\"\n ></div>\n</div>\n",
|
|
12118
|
+
styles: [":host{display:block}.ul-progress-bar{position:relative;width:100%;height:4px;overflow:hidden}.ul-progress-bar--fixed{position:fixed;inset-block-start:0;inset-inline:0;z-index:1200}.ul-progress-bar__fill{position:absolute;inset:0;background-color:#6f3de0;transform-origin:left;transition:transform .2s ease-out}.ul-progress-bar--indeterminate .ul-progress-bar__fill{animation:ul-progress-bar-indeterminate 1.2s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.ul-progress-bar--indeterminate .ul-progress-bar__fill{animation:none}}@keyframes ul-progress-bar-indeterminate{0%{transform:scaleX(0)}60%{transform:scaleX(.8)}to{transform:scaleX(1);opacity:0}}\n"]
|
|
12119
|
+
});
|
|
12120
|
+
};
|
|
12121
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
12122
|
+
minVersion: "12.0.0",
|
|
12123
|
+
version: "22.2.2",
|
|
12124
|
+
ngImport: i0,
|
|
12125
|
+
type: ProgressBarComponent,
|
|
12126
|
+
decorators: [{
|
|
12127
|
+
type: Component,
|
|
12128
|
+
args: [{
|
|
12129
|
+
selector: "ul-progress-bar",
|
|
12130
|
+
template: "<div\n class=\"ul-progress-bar\"\n [class.ul-progress-bar--fixed]=\"fixed()\"\n [class.ul-progress-bar--indeterminate]=\"clampedValue() === null\"\n role=\"progressbar\"\n [attr.aria-label]=\"label()\"\n [attr.aria-valuemin]=\"clampedValue() === null ? null : 0\"\n [attr.aria-valuemax]=\"clampedValue() === null ? null : 100\"\n [attr.aria-valuenow]=\"clampedValue()\"\n>\n <div\n class=\"ul-progress-bar__fill\"\n [style.transform]=\"clampedValue() === null ? null : 'scaleX(' + clampedValue()! / 100 + ')'\"\n ></div>\n</div>\n",
|
|
12131
|
+
styles: [":host{display:block}.ul-progress-bar{position:relative;width:100%;height:4px;overflow:hidden}.ul-progress-bar--fixed{position:fixed;inset-block-start:0;inset-inline:0;z-index:1200}.ul-progress-bar__fill{position:absolute;inset:0;background-color:#6f3de0;transform-origin:left;transition:transform .2s ease-out}.ul-progress-bar--indeterminate .ul-progress-bar__fill{animation:ul-progress-bar-indeterminate 1.2s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.ul-progress-bar--indeterminate .ul-progress-bar__fill{animation:none}}@keyframes ul-progress-bar-indeterminate{0%{transform:scaleX(0)}60%{transform:scaleX(.8)}to{transform:scaleX(1);opacity:0}}\n"]
|
|
12132
|
+
}]
|
|
12133
|
+
}],
|
|
12134
|
+
propDecorators: {
|
|
12135
|
+
value: [{
|
|
12136
|
+
type: i0.Input,
|
|
12137
|
+
args: [{
|
|
12138
|
+
isSignal: true,
|
|
12139
|
+
alias: "value",
|
|
12140
|
+
required: false
|
|
12141
|
+
}]
|
|
12142
|
+
}],
|
|
12143
|
+
fixed: [{
|
|
12144
|
+
type: i0.Input,
|
|
12145
|
+
args: [{
|
|
12146
|
+
isSignal: true,
|
|
12147
|
+
alias: "fixed",
|
|
12148
|
+
required: false
|
|
12149
|
+
}]
|
|
12150
|
+
}],
|
|
12151
|
+
label: [{
|
|
12152
|
+
type: i0.Input,
|
|
12153
|
+
args: [{
|
|
12154
|
+
isSignal: true,
|
|
12155
|
+
alias: "label",
|
|
12156
|
+
required: false
|
|
12157
|
+
}]
|
|
12158
|
+
}]
|
|
12159
|
+
}
|
|
12160
|
+
});
|
|
12071
12161
|
var RadioComponent = class RadioComponent {
|
|
12072
12162
|
value = input.required(...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
12073
12163
|
name = input.required(...ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []);
|
|
@@ -16275,6 +16365,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
16275
16365
|
}]
|
|
16276
16366
|
}
|
|
16277
16367
|
});
|
|
16278
|
-
export { AccordionComponent, AccordionItemComponent, AreaCodeComponent, AvatarComponent, AvatarGroupComponent, BannerComponent, BreadcrumbComponent, ButtonComponent, CalendarComponent, CardComponent, CategoryPickerComponent, CheckboxComponent, CollapseComponent, CustomCurrencyPipe, DockComponent, DockItemComponent, DockItemContentSlotDirective, DropdownComponent, FileInputComponent, FooterComponent, FormFieldHelperComponent, FormFieldLabelComponent, HeroComponent, IconComponent, ImageCropperComponent, ImageNotFoundComponent, ImageNotFoundDirective, InputComponent, ListItemComponent, LoadMoreComponent, LongPressDirective, MenuComponent, MenuItemComponent, MenuItemsComponent, MenuTriggerComponent, ModalComponent, NavbarAppNameSlotDirective, NavbarAvatarSlotDirective, NavbarComponent, NavbarLogoSlotDirective, NavbarSearchSlotDirective, PeHeroActionsSlotDirective, PeHeroBadgesSlotDirective, PeHeroContentSlotDirective, PeHeroSubtitleSlotDirective, PeHeroTitleSlotDirective, PillComponent, PriceButtonComponent, RadialComponent, RadioComponent, RadioGroupComponent, RichTextComponent, SearchInputComponent, SearchSelectComponent, SelectComponent, SelectableRowComponent, SidebarComponent, SkeletonComponent, StatusComponent, StepperComponent, TableComponent, TextareaComponent, TextareaFieldDirective, ToastContainerComponent, ToastService, ToggleComponent, TooltipComponent, createFormFieldIds, getFormFieldDescribedBy, toastIcon };
|
|
16368
|
+
export { AccordionComponent, AccordionItemComponent, AreaCodeComponent, AvatarComponent, AvatarGroupComponent, BannerComponent, BreadcrumbComponent, ButtonComponent, CalendarComponent, CardComponent, CategoryPickerComponent, CheckboxComponent, CollapseComponent, CustomCurrencyPipe, DockComponent, DockItemComponent, DockItemContentSlotDirective, DropdownComponent, FileInputComponent, FooterComponent, FormFieldHelperComponent, FormFieldLabelComponent, HeroComponent, IconComponent, ImageCropperComponent, ImageNotFoundComponent, ImageNotFoundDirective, InputComponent, ListItemComponent, LoadMoreComponent, LongPressDirective, MenuComponent, MenuItemComponent, MenuItemsComponent, MenuTriggerComponent, ModalComponent, NavbarAppNameSlotDirective, NavbarAvatarSlotDirective, NavbarComponent, NavbarLogoSlotDirective, NavbarSearchSlotDirective, PeHeroActionsSlotDirective, PeHeroBadgesSlotDirective, PeHeroContentSlotDirective, PeHeroSubtitleSlotDirective, PeHeroTitleSlotDirective, PillComponent, PriceButtonComponent, ProgressBarComponent, RadialComponent, RadioComponent, RadioGroupComponent, RichTextComponent, SearchInputComponent, SearchSelectComponent, SelectComponent, SelectableRowComponent, SidebarComponent, SkeletonComponent, StatusComponent, StepperComponent, TableComponent, TextareaComponent, TextareaFieldDirective, ToastContainerComponent, ToastService, ToggleComponent, TooltipComponent, createFormFieldIds, getFormFieldDescribedBy, toastIcon };
|
|
16279
16369
|
|
|
16280
16370
|
//# sourceMappingURL=underlayerdev-ui.mjs.map
|