@mediusinc/mng-commons 0.0.1-rc.4 → 0.2.4
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/README.md +95 -0
- package/assets/i18n/en.json +54 -3
- package/assets/i18n/sl.json +54 -8
- package/assets/images/effect-ondark.png +0 -0
- package/assets/images/effect-ondark.svg +38 -0
- package/assets/images/effect-ondark@2x.png +0 -0
- package/assets/images/effect-onlight.png +0 -0
- package/assets/images/effect-onlight.svg +38 -0
- package/assets/images/effect-onlight@2x.png +0 -0
- package/assets/images/pages/exception-ondark.png +0 -0
- package/assets/images/pages/exception-onlight.png +0 -0
- package/assets/images/pages/login-ondark.png +0 -0
- package/assets/images/pages/login-onlight.png +0 -0
- package/esm2020/lib/api/models/builders/query-param.builder.mjs +48 -48
- package/esm2020/lib/api/models/filter-match-type.model.mjs +26 -24
- package/esm2020/lib/api/models/filter-param.model.mjs +46 -46
- package/esm2020/lib/api/models/index.mjs +9 -9
- package/esm2020/lib/api/models/mappers.mjs +17 -17
- package/esm2020/lib/api/models/query-mode.model.mjs +19 -19
- package/esm2020/lib/api/models/query-param.model.mjs +69 -69
- package/esm2020/lib/api/models/query-result.model.mjs +45 -45
- package/esm2020/lib/api/models/serialization.model.mjs +2 -2
- package/esm2020/lib/api/services/crud-api.abstract.service.mjs +72 -0
- package/esm2020/lib/api/services/index.mjs +2 -2
- package/esm2020/lib/api/utils/index.mjs +3 -3
- package/esm2020/lib/api/utils/medius-rest.util.mjs +122 -70
- package/esm2020/lib/api/utils/object-serializer.util.mjs +226 -226
- package/esm2020/lib/components/action/action.component.mjs +65 -63
- package/esm2020/lib/components/action/dialog/action-dialog.component.mjs +148 -157
- package/esm2020/lib/components/action/index.mjs +4 -4
- package/esm2020/lib/components/action/models/action-confirmation-service.model.mjs +2 -0
- package/esm2020/lib/components/action/models/action-execution.model.mjs +58 -0
- package/esm2020/lib/components/action/models/index.mjs +3 -0
- package/esm2020/lib/components/action/route/action-route.component.mjs +144 -144
- package/esm2020/lib/components/form/autocomplete/autocomplete.component.mjs +114 -0
- package/esm2020/lib/components/form/dropdown/dropdown.component.mjs +113 -0
- package/esm2020/lib/components/form/editor/form-editor.component.mjs +141 -142
- package/esm2020/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.mjs +19 -58
- package/esm2020/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.mjs +19 -51
- package/esm2020/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.mjs +16 -16
- package/esm2020/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.mjs +26 -26
- package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.mjs +109 -109
- package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.mjs +122 -122
- package/esm2020/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.mjs +17 -17
- package/esm2020/lib/components/form/formly/fields/index.mjs +8 -8
- package/esm2020/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.mjs +17 -17
- package/esm2020/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.mjs +16 -16
- package/esm2020/lib/components/form/formly/wrappers/index.mjs +3 -3
- package/esm2020/lib/components/form/index.mjs +4 -2
- package/esm2020/lib/components/form/models/form-editor.event.mjs +7 -0
- package/esm2020/lib/components/form/models/index.mjs +2 -0
- package/esm2020/lib/components/layout/breadcrumb.component.mjs +17 -0
- package/esm2020/lib/components/layout/footer.component.mjs +17 -0
- package/esm2020/lib/components/layout/index.mjs +7 -7
- package/esm2020/lib/components/layout/main-layout.component.mjs +54 -0
- package/esm2020/lib/components/layout/menu-item.component.mjs +173 -0
- package/esm2020/lib/components/layout/menu.component.mjs +20 -0
- package/esm2020/lib/components/layout/services/index.mjs +2 -0
- package/esm2020/lib/components/layout/services/main-layout.component.service.mjs +190 -0
- package/esm2020/lib/components/layout/topbar.component.mjs +59 -0
- package/esm2020/lib/components/tableview/index.mjs +6 -4
- package/esm2020/lib/components/tableview/models/index.mjs +2 -0
- package/esm2020/lib/components/tableview/models/table.event.mjs +16 -0
- package/esm2020/lib/components/tableview/route/tableview-route.abstract.component.mjs +24 -24
- package/esm2020/lib/components/tableview/services/index.mjs +2 -0
- package/esm2020/lib/components/tableview/services/tableview.component.service.mjs +17 -0
- package/esm2020/lib/components/tableview/table/column-filter/column-filter.component.mjs +74 -0
- package/esm2020/lib/components/tableview/table/column-value/column-value.component.mjs +25 -0
- package/esm2020/lib/components/tableview/table/table.component.mjs +307 -173
- package/esm2020/lib/components/tableview/tableview.component.mjs +82 -83
- package/esm2020/lib/config/formly.config.mjs +136 -136
- package/esm2020/lib/config/index.mjs +2 -2
- package/esm2020/lib/config/models/index.mjs +2 -0
- package/esm2020/lib/config/models/mng-config.model.mjs +2 -0
- package/esm2020/lib/data-providers/base.data-provider.mjs +24 -0
- package/esm2020/lib/data-providers/editor.data-provider.mjs +37 -0
- package/esm2020/lib/data-providers/index.mjs +6 -0
- package/esm2020/lib/data-providers/lookup.data-provider.mjs +16 -0
- package/esm2020/lib/data-providers/table.data-provider.mjs +2 -0
- package/esm2020/lib/data-providers/tableview.data-provider.mjs +17 -0
- package/esm2020/lib/descriptors/action.descriptor.mjs +332 -0
- package/esm2020/lib/descriptors/editor.descriptor.mjs +670 -0
- package/esm2020/lib/descriptors/field.validator.mjs +21 -0
- package/esm2020/lib/descriptors/index.mjs +8 -0
- package/esm2020/lib/descriptors/lookup.descriptor.mjs +2 -0
- package/esm2020/lib/descriptors/model.descriptor.mjs +34 -0
- package/esm2020/lib/descriptors/table.descriptor.mjs +401 -0
- package/esm2020/lib/descriptors/tableview.descriptor.mjs +131 -0
- package/esm2020/lib/directives/component.directive.mjs +23 -0
- package/esm2020/lib/directives/index.mjs +3 -2
- package/esm2020/lib/directives/template.directive.mjs +29 -25
- package/esm2020/lib/mng-commons.module.mjs +410 -313
- package/esm2020/lib/models/index.mjs +3 -0
- package/esm2020/lib/models/router.model.mjs +2 -0
- package/esm2020/lib/models/user.model.mjs +2 -0
- package/esm2020/lib/pipes/boolean.pipe.mjs +22 -0
- package/esm2020/lib/pipes/index.mjs +3 -2
- package/esm2020/lib/pipes/property-path.pipe.mjs +36 -36
- package/esm2020/lib/services/action.service.mjs +269 -269
- package/esm2020/lib/services/commons.service.mjs +354 -0
- package/esm2020/lib/services/configuration.service.mjs +78 -77
- package/esm2020/lib/services/index.mjs +5 -7
- package/esm2020/lib/services/navigation.service.mjs +48 -49
- package/esm2020/lib/services/providers/commons-init.provider.mjs +4 -0
- package/esm2020/lib/services/providers/config-service.provider.mjs +20 -12
- package/esm2020/lib/services/providers/formly-config.provider.mjs +31 -31
- package/esm2020/lib/services/providers/index.mjs +4 -3
- package/esm2020/lib/services/tokens/browser-storage.token.mjs +6 -0
- package/esm2020/lib/services/tokens/index.mjs +3 -0
- package/esm2020/lib/services/tokens/module-config.token.mjs +3 -0
- package/esm2020/lib/types/index.mjs +3 -0
- package/esm2020/lib/types/type.decorator.mjs +7 -0
- package/esm2020/lib/types/type.model.mjs +2 -0
- package/esm2020/lib/utils/editor-formly.util.mjs +176 -176
- package/esm2020/lib/utils/i18n.util.mjs +125 -91
- package/esm2020/lib/utils/index.mjs +6 -5
- package/esm2020/lib/utils/model.util.mjs +57 -38
- package/esm2020/lib/utils/toast.util.mjs +39 -26
- package/esm2020/lib/utils/type.util.mjs +39 -39
- package/esm2020/mediusinc-mng-commons.mjs +5 -5
- package/esm2020/public-api.mjs +36 -33
- package/fesm2015/mediusinc-mng-commons.mjs +6093 -5081
- package/fesm2015/mediusinc-mng-commons.mjs.map +1 -1
- package/fesm2020/mediusinc-mng-commons.mjs +6018 -5030
- package/fesm2020/mediusinc-mng-commons.mjs.map +1 -1
- package/lib/api/models/builders/query-param.builder.d.ts +11 -11
- package/lib/api/models/filter-match-type.model.d.ts +23 -21
- package/lib/api/models/filter-param.model.d.ts +23 -23
- package/lib/api/models/index.d.ts +8 -8
- package/lib/api/models/mappers.d.ts +6 -6
- package/lib/api/models/query-mode.model.d.ts +16 -16
- package/lib/api/models/query-param.model.d.ts +31 -31
- package/lib/api/models/query-result.model.d.ts +36 -36
- package/lib/api/models/serialization.model.d.ts +8 -8
- package/lib/api/services/{abstract-crud-api.service.d.ts → crud-api.abstract.service.d.ts} +23 -23
- package/lib/api/services/index.d.ts +1 -1
- package/lib/api/utils/index.d.ts +2 -2
- package/lib/api/utils/medius-rest.util.d.ts +12 -6
- package/lib/api/utils/object-serializer.util.d.ts +30 -30
- package/lib/components/action/action.component.d.ts +36 -36
- package/lib/components/action/dialog/action-dialog.component.d.ts +46 -48
- package/lib/components/action/index.d.ts +3 -3
- package/lib/{models/interfaces/confirmation-service.model.d.ts → components/action/models/action-confirmation-service.model.d.ts} +6 -6
- package/lib/{models/action/action.model.d.ts → components/action/models/action-execution.model.d.ts} +53 -53
- package/lib/components/action/models/index.d.ts +2 -0
- package/lib/components/action/route/action-route.component.d.ts +32 -32
- package/lib/components/form/autocomplete/autocomplete.component.d.ts +36 -0
- package/lib/components/form/dropdown/dropdown.component.d.ts +34 -0
- package/lib/components/form/editor/form-editor.component.d.ts +39 -39
- package/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.d.ts +11 -21
- package/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.d.ts +11 -19
- package/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.d.ts +6 -6
- package/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.d.ts +12 -12
- package/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.d.ts +17 -17
- package/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.d.ts +36 -36
- package/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.d.ts +6 -6
- package/lib/components/form/formly/fields/index.d.ts +7 -7
- package/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.d.ts +8 -8
- package/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.d.ts +8 -8
- package/lib/components/form/formly/wrappers/index.d.ts +2 -2
- package/lib/components/form/index.d.ts +3 -1
- package/lib/components/form/models/form-editor.event.d.ts +5 -0
- package/lib/components/form/models/index.d.ts +1 -0
- package/lib/components/layout/breadcrumb.component.d.ts +8 -0
- package/lib/components/layout/footer.component.d.ts +9 -0
- package/lib/components/layout/index.d.ts +6 -6
- package/lib/components/layout/main-layout.component.d.ts +21 -0
- package/lib/components/layout/menu-item.component.d.ts +29 -0
- package/lib/components/layout/menu.component.d.ts +10 -0
- package/lib/components/layout/services/index.d.ts +1 -0
- package/lib/components/layout/services/main-layout.component.service.d.ts +65 -0
- package/lib/components/layout/topbar.component.d.ts +25 -0
- package/lib/components/tableview/index.d.ts +5 -3
- package/lib/components/tableview/models/index.d.ts +1 -0
- package/lib/{models/events/table-event.model.d.ts → components/tableview/models/table.event.d.ts} +17 -17
- package/lib/components/tableview/route/tableview-route.abstract.component.d.ts +14 -14
- package/lib/components/tableview/services/index.d.ts +1 -0
- package/lib/components/tableview/{tableview.component.service.d.ts → services/tableview.component.service.d.ts} +13 -13
- package/lib/components/tableview/table/column-filter/column-filter.component.d.ts +22 -0
- package/lib/components/tableview/table/column-value/column-value.component.d.ts +12 -0
- package/lib/components/tableview/table/table.component.d.ts +79 -47
- package/lib/components/tableview/tableview.component.d.ts +35 -36
- package/lib/config/formly.config.d.ts +14 -14
- package/lib/config/index.d.ts +1 -1
- package/lib/{models/config → config/models}/index.d.ts +1 -1
- package/lib/config/models/mng-config.model.d.ts +34 -0
- package/lib/data-providers/base.data-provider.d.ts +17 -0
- package/lib/data-providers/editor.data-provider.d.ts +25 -0
- package/lib/data-providers/index.d.ts +5 -0
- package/lib/data-providers/lookup.data-provider.d.ts +14 -0
- package/lib/data-providers/table.data-provider.d.ts +6 -0
- package/lib/data-providers/tableview.data-provider.d.ts +15 -0
- package/lib/{models/descriptors/action-descriptor.model.d.ts → descriptors/action.descriptor.d.ts} +148 -145
- package/lib/{models/descriptors/editor-descriptor.model.d.ts → descriptors/editor.descriptor.d.ts} +255 -255
- package/lib/{models/validators → descriptors}/field.validator.d.ts +18 -18
- package/lib/descriptors/index.d.ts +7 -0
- package/lib/descriptors/lookup.descriptor.d.ts +17 -0
- package/lib/{models/descriptors/model-descriptor.model.d.ts → descriptors/model.descriptor.d.ts} +15 -15
- package/lib/descriptors/table.descriptor.d.ts +164 -0
- package/lib/{models/descriptors/tableview-descriptor.model.d.ts → descriptors/tableview.descriptor.d.ts} +39 -38
- package/lib/directives/component.directive.d.ts +11 -0
- package/lib/directives/index.d.ts +2 -1
- package/lib/directives/template.directive.d.ts +13 -11
- package/lib/mng-commons.module.d.ts +79 -71
- package/lib/models/index.d.ts +2 -0
- package/lib/models/router.model.d.ts +14 -0
- package/lib/models/user.model.d.ts +8 -0
- package/lib/pipes/boolean.pipe.d.ts +7 -0
- package/lib/pipes/index.d.ts +2 -1
- package/lib/pipes/property-path.pipe.d.ts +7 -7
- package/lib/services/action.service.d.ts +92 -92
- package/lib/services/commons.service.d.ts +72 -0
- package/lib/services/configuration.service.d.ts +35 -35
- package/lib/services/index.d.ts +4 -6
- package/lib/services/navigation.service.d.ts +14 -14
- package/lib/services/providers/commons-init.provider.d.ts +2 -0
- package/lib/services/providers/config-service.provider.d.ts +5 -5
- package/lib/services/providers/formly-config.provider.d.ts +4 -4
- package/lib/services/providers/index.d.ts +3 -2
- package/lib/services/tokens/browser-storage.token.d.ts +2 -0
- package/lib/services/tokens/index.d.ts +2 -0
- package/lib/services/tokens/module-config.token.d.ts +3 -0
- package/lib/{models/types → types}/index.d.ts +2 -2
- package/lib/{models/types → types}/type.decorator.d.ts +2 -2
- package/lib/{models/types → types}/type.model.d.ts +10 -10
- package/lib/utils/editor-formly.util.d.ts +9 -9
- package/lib/utils/i18n.util.d.ts +18 -15
- package/lib/utils/index.d.ts +5 -4
- package/lib/utils/model.util.d.ts +7 -5
- package/lib/utils/toast.util.d.ts +13 -12
- package/lib/utils/type.util.d.ts +15 -15
- package/mediusinc-mng-commons.d.ts +5 -5
- package/package.json +37 -36
- package/public-api.d.ts +25 -22
- package/scss/common/layout/_breadcrumb.scss +96 -0
- package/scss/common/layout/_config.scss +101 -0
- package/scss/common/layout/_dashboard.scss +16 -0
- package/scss/common/layout/_exception.scss +131 -0
- package/scss/common/layout/_footer.scss +29 -0
- package/scss/common/layout/_help.scss +157 -0
- package/scss/common/layout/_inlinemenu.scss +55 -0
- package/scss/common/layout/_invoice.scss +176 -0
- package/scss/common/layout/_landing.scss +639 -0
- package/scss/common/layout/_layout_dark.scss +23 -0
- package/scss/common/layout/_layout_light.scss +23 -0
- package/scss/common/layout/_loader.scss +18 -0
- package/scss/common/layout/_login.scss +106 -0
- package/scss/common/layout/_main.scss +45 -0
- package/scss/common/layout/_mixins.scss +214 -0
- package/scss/common/layout/_rightmenu.scss +125 -0
- package/scss/common/layout/_topbar.scss +189 -0
- package/scss/common/layout/_typography.scss +63 -0
- package/scss/common/layout/_utils.scss +96 -0
- package/scss/common/layout/_widgets.scss +391 -0
- package/scss/common/layout/menu/_menu.scss +7 -0
- package/scss/common/layout/menu/_menu_common.scss +183 -0
- package/scss/common/layout/menu/_menu_overlay.scss +52 -0
- package/scss/common/layout/menu/_menu_sidebar.scss +232 -0
- package/scss/common/layout/menu/_menu_slim.scss +138 -0
- package/scss/common/layout/menu/_menu_static.scss +70 -0
- package/scss/common/layout/menu/_menu_theme.scss +365 -0
- package/scss/common/theme/_theme_dark.scss +5 -0
- package/scss/common/theme/_theme_light.scss +5 -0
- package/scss/common/theme/designer/_colors.scss +18 -0
- package/scss/common/theme/designer/_common.scss +40 -0
- package/scss/common/theme/designer/_components.scss +101 -0
- package/scss/common/theme/designer/_mixins.scss +174 -0
- package/scss/common/theme/designer/components/button/_button.scss +560 -0
- package/scss/common/theme/designer/components/button/_speeddial.scss +79 -0
- package/scss/common/theme/designer/components/button/_splitbutton.scss +1 -0
- package/scss/common/theme/designer/components/data/_carousel.scss +37 -0
- package/scss/common/theme/designer/components/data/_datatable.scss +266 -0
- package/scss/common/theme/designer/components/data/_dataview.scss +55 -0
- package/scss/common/theme/designer/components/data/_filter.scss +138 -0
- package/scss/common/theme/designer/components/data/_fullcalendar.scss +324 -0
- package/scss/common/theme/designer/components/data/_orderlist.scss +91 -0
- package/scss/common/theme/designer/components/data/_organizationchart.scss +50 -0
- package/scss/common/theme/designer/components/data/_paginator.scss +83 -0
- package/scss/common/theme/designer/components/data/_picklist.scss +91 -0
- package/scss/common/theme/designer/components/data/_timeline.scss +38 -0
- package/scss/common/theme/designer/components/data/_tree.scss +144 -0
- package/scss/common/theme/designer/components/data/_treetable.scss +242 -0
- package/scss/common/theme/designer/components/data/_virtualscroller.scss +28 -0
- package/scss/common/theme/designer/components/file/_fileupload.scss +58 -0
- package/scss/common/theme/designer/components/input/_autocomplete.scss +103 -0
- package/scss/common/theme/designer/components/input/_calendar.scss +212 -0
- package/scss/common/theme/designer/components/input/_cascadeselect.scss +98 -0
- package/scss/common/theme/designer/components/input/_checkbox.scss +85 -0
- package/scss/common/theme/designer/components/input/_chips.scss +41 -0
- package/scss/common/theme/designer/components/input/_colorpicker.scss +19 -0
- package/scss/common/theme/designer/components/input/_dropdown.scss +136 -0
- package/scss/common/theme/designer/components/input/_editor.scss +122 -0
- package/scss/common/theme/designer/components/input/_inputgroup.scss +69 -0
- package/scss/common/theme/designer/components/input/_inputmask.scss +3 -0
- package/scss/common/theme/designer/components/input/_inputnumber.scss +3 -0
- package/scss/common/theme/designer/components/input/_inputswitch.scss +58 -0
- package/scss/common/theme/designer/components/input/_inputtext.scss +97 -0
- package/scss/common/theme/designer/components/input/_listbox.scss +82 -0
- package/scss/common/theme/designer/components/input/_multiselect.scss +164 -0
- package/scss/common/theme/designer/components/input/_password.scss +33 -0
- package/scss/common/theme/designer/components/input/_radiobutton.scss +78 -0
- package/scss/common/theme/designer/components/input/_rating.scss +48 -0
- package/scss/common/theme/designer/components/input/_selectbutton.scss +50 -0
- package/scss/common/theme/designer/components/input/_slider.scss +69 -0
- package/scss/common/theme/designer/components/input/_togglebutton.scss +48 -0
- package/scss/common/theme/designer/components/input/_treeselect.scss +89 -0
- package/scss/common/theme/designer/components/menu/_breadcrumb.scss +42 -0
- package/scss/common/theme/designer/components/menu/_contextmenu.scss +50 -0
- package/scss/common/theme/designer/components/menu/_dock.scss +51 -0
- package/scss/common/theme/designer/components/menu/_megamenu.scss +102 -0
- package/scss/common/theme/designer/components/menu/_menu.scss +41 -0
- package/scss/common/theme/designer/components/menu/_menubar.scss +179 -0
- package/scss/common/theme/designer/components/menu/_panelmenu.scss +137 -0
- package/scss/common/theme/designer/components/menu/_slidemenu.scss +55 -0
- package/scss/common/theme/designer/components/menu/_steps.scss +55 -0
- package/scss/common/theme/designer/components/menu/_tabmenu.scss +49 -0
- package/scss/common/theme/designer/components/menu/_tieredmenu.scss +56 -0
- package/scss/common/theme/designer/components/messages/_inlinemessage.scss +64 -0
- package/scss/common/theme/designer/components/messages/_message.scss +102 -0
- package/scss/common/theme/designer/components/messages/_toast.scss +95 -0
- package/scss/common/theme/designer/components/misc/_avatar.scss +30 -0
- package/scss/common/theme/designer/components/misc/_badge.scss +48 -0
- package/scss/common/theme/designer/components/misc/_blockui.scss +3 -0
- package/scss/common/theme/designer/components/misc/_chip.scss +36 -0
- package/scss/common/theme/designer/components/misc/_inplace.scss +17 -0
- package/scss/common/theme/designer/components/misc/_progressbar.scss +17 -0
- package/scss/common/theme/designer/components/misc/_scrolltop.scss +20 -0
- package/scss/common/theme/designer/components/misc/_skeleton.scss +8 -0
- package/scss/common/theme/designer/components/misc/_tag.scss +33 -0
- package/scss/common/theme/designer/components/misc/_terminal.scss +11 -0
- package/scss/common/theme/designer/components/multimedia/_galleria.scss +141 -0
- package/scss/common/theme/designer/components/overlay/_confirmpopup.scss +67 -0
- package/scss/common/theme/designer/components/overlay/_dialog.scss +63 -0
- package/scss/common/theme/designer/components/overlay/_overlaypanel.scss +62 -0
- package/scss/common/theme/designer/components/overlay/_sidebar.scss +27 -0
- package/scss/common/theme/designer/components/overlay/_tooltip.scss +33 -0
- package/scss/common/theme/designer/components/panel/_accordion.scss +119 -0
- package/scss/common/theme/designer/components/panel/_card.scss +30 -0
- package/scss/common/theme/designer/components/panel/_divider.scss +31 -0
- package/scss/common/theme/designer/components/panel/_fieldset.scss +47 -0
- package/scss/common/theme/designer/components/panel/_panel.scss +42 -0
- package/scss/common/theme/designer/components/panel/_scrollpanel.scss +6 -0
- package/scss/common/theme/designer/components/panel/_splitter.scss +19 -0
- package/scss/common/theme/designer/components/panel/_tabview.scss +66 -0
- package/scss/common/theme/designer/components/panel/_toolbar.scss +10 -0
- package/scss/common/theme/extensions/_button.scss +99 -0
- package/scss/common/theme/extensions/_calendar.scss +18 -0
- package/scss/common/theme/extensions/_card.scss +6 -0
- package/scss/common/theme/extensions/_carousel.scss +13 -0
- package/scss/common/theme/extensions/_checkbox.scss +10 -0
- package/scss/common/theme/extensions/_contextmenu.scss +16 -0
- package/scss/common/theme/extensions/_datatable.scss +83 -0
- package/scss/common/theme/extensions/_dialog.scss +14 -0
- package/scss/common/theme/extensions/_fieldset.scss +6 -0
- package/scss/common/theme/extensions/_galleria.scss +25 -0
- package/scss/common/theme/extensions/_megamenu.scss +18 -0
- package/scss/common/theme/extensions/_menu.scss +14 -0
- package/scss/common/theme/extensions/_menubar.scss +14 -0
- package/scss/common/theme/extensions/_orderlist.scss +38 -0
- package/scss/common/theme/extensions/_paginator.scss +19 -0
- package/scss/common/theme/extensions/_panelmenu.scss +20 -0
- package/scss/common/theme/extensions/_password.scss +5 -0
- package/scss/common/theme/extensions/_picklist.scss +38 -0
- package/scss/common/theme/extensions/_radiobutton.scss +8 -0
- package/scss/common/theme/extensions/_sidebar.scss +19 -0
- package/scss/common/theme/extensions/_slidemenu.scss +10 -0
- package/scss/common/theme/extensions/_slider.scss +6 -0
- package/scss/common/theme/extensions/_steps.scss +50 -0
- package/scss/common/theme/extensions/_tieredmenu.scss +14 -0
- package/scss/common/theme/extensions/_toast.scss +6 -0
- package/scss/common/theme/extensions/_tree.scss +36 -0
- package/scss/common/theme/extensions/_treetable.scss +35 -0
- package/scss/common/theme/extensions/_vendor_extensions.scss +27 -0
- package/scss/common/variables/layout/_common.scss +12 -0
- package/scss/common/variables/layout/_layout_dark.scss +71 -0
- package/scss/common/variables/layout/_layout_light.scss +71 -0
- package/scss/common/variables/theme/_theme_dark.scss +897 -0
- package/scss/common/variables/theme/_theme_light.scss +885 -0
- package/scss/layout/default/_mng-variables-layout-dark.scss +2 -0
- package/scss/layout/default/_mng-variables-layout-light.scss +2 -0
- package/scss/layout/default/layout-dark.scss +2 -0
- package/scss/layout/default/layout-light.scss +2 -0
- package/scss/mng-commons-dark.scss +5 -0
- package/scss/mng-commons-light.scss +5 -0
- package/scss/mng-overrides/_layout_action.scss +3 -0
- package/scss/mng-overrides/_layout_dialog.scss +34 -0
- package/scss/mng-overrides/_layout_forms.scss +31 -0
- package/scss/mng-overrides/_layout_radio.scss +3 -0
- package/scss/mng-overrides/_layout_styles.scss +4 -0
- package/scss/mng-overrides/_theme_datatable.scss +9 -0
- package/scss/mng-overrides/_theme_dialog.scss +9 -0
- package/scss/mng-overrides/_theme_dropdown.scss +6 -0
- package/scss/mng-overrides/_theme_styles.scss +9 -0
- package/scss/mng-overrides/_theme_tableview.scss +94 -0
- package/scss/theme/default/_mng-variables-theme-dark.scss +8 -0
- package/scss/theme/default/_mng-variables-theme-light.scss +8 -0
- package/scss/theme/default/theme-dark.scss +2 -0
- package/scss/theme/default/theme-light.scss +2 -0
- package/esm2020/lib/api/services/abstract-crud-api.service.mjs +0 -72
- package/esm2020/lib/components/layout/app.breadcrumb.component.mjs +0 -26
- package/esm2020/lib/components/layout/app.footer.component.mjs +0 -35
- package/esm2020/lib/components/layout/app.main.component.mjs +0 -25
- package/esm2020/lib/components/layout/app.main.component.service.mjs +0 -133
- package/esm2020/lib/components/layout/app.menu.component.mjs +0 -24
- package/esm2020/lib/components/layout/app.menuitem.component.mjs +0 -241
- package/esm2020/lib/components/layout/app.topbar.component.mjs +0 -135
- package/esm2020/lib/components/tableview/tableview.component.service.mjs +0 -18
- package/esm2020/lib/models/action/action.model.mjs +0 -58
- package/esm2020/lib/models/action/index.mjs +0 -2
- package/esm2020/lib/models/config/index.mjs +0 -2
- package/esm2020/lib/models/config/mng-config.model.mjs +0 -3
- package/esm2020/lib/models/descriptors/action-descriptor.model.mjs +0 -325
- package/esm2020/lib/models/descriptors/editor-descriptor.model.mjs +0 -666
- package/esm2020/lib/models/descriptors/index.mjs +0 -6
- package/esm2020/lib/models/descriptors/model-descriptor.model.mjs +0 -34
- package/esm2020/lib/models/descriptors/table-descriptor.model.mjs +0 -123
- package/esm2020/lib/models/descriptors/tableview-descriptor.model.mjs +0 -124
- package/esm2020/lib/models/events/editor-event.model.mjs +0 -14
- package/esm2020/lib/models/events/index.mjs +0 -3
- package/esm2020/lib/models/events/table-event.model.mjs +0 -16
- package/esm2020/lib/models/interfaces/confirmation-service.model.mjs +0 -2
- package/esm2020/lib/models/interfaces/index.mjs +0 -2
- package/esm2020/lib/models/providers/data-provider.model.mjs +0 -86
- package/esm2020/lib/models/providers/index.mjs +0 -2
- package/esm2020/lib/models/types/index.mjs +0 -3
- package/esm2020/lib/models/types/type.decorator.mjs +0 -7
- package/esm2020/lib/models/types/type.model.mjs +0 -2
- package/esm2020/lib/models/validators/field.validator.mjs +0 -21
- package/esm2020/lib/models/validators/index.mjs +0 -2
- package/esm2020/lib/services/breadcrumb.service.mjs +0 -74
- package/esm2020/lib/services/menu.service.mjs +0 -37
- package/esm2020/lib/services/settings.service.mjs +0 -81
- package/lib/components/layout/app.breadcrumb.component.d.ts +0 -14
- package/lib/components/layout/app.footer.component.d.ts +0 -8
- package/lib/components/layout/app.main.component.d.ts +0 -12
- package/lib/components/layout/app.main.component.service.d.ts +0 -40
- package/lib/components/layout/app.menu.component.d.ts +0 -15
- package/lib/components/layout/app.menuitem.component.d.ts +0 -31
- package/lib/components/layout/app.topbar.component.d.ts +0 -15
- package/lib/models/action/index.d.ts +0 -1
- package/lib/models/config/mng-config.model.d.ts +0 -20
- package/lib/models/descriptors/index.d.ts +0 -5
- package/lib/models/descriptors/table-descriptor.model.d.ts +0 -45
- package/lib/models/events/editor-event.model.d.ts +0 -11
- package/lib/models/events/index.d.ts +0 -2
- package/lib/models/interfaces/index.d.ts +0 -1
- package/lib/models/providers/data-provider.model.d.ts +0 -62
- package/lib/models/providers/index.d.ts +0 -1
- package/lib/models/validators/index.d.ts +0 -1
- package/lib/services/breadcrumb.service.d.ts +0 -15
- package/lib/services/menu.service.d.ts +0 -16
- package/lib/services/settings.service.d.ts +0 -30
- package/mediusinc-mng-commons-0.0.1-rc.4.tgz +0 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
.p-inputgroup-addon {
|
|
2
|
+
background: $inputGroupBg;
|
|
3
|
+
color: $inputGroupTextColor;
|
|
4
|
+
border-top: $inputBorder;
|
|
5
|
+
border-left: $inputBorder;
|
|
6
|
+
border-bottom: $inputBorder;
|
|
7
|
+
padding: $inputPadding;
|
|
8
|
+
min-width: $inputGroupAddOnMinWidth;
|
|
9
|
+
|
|
10
|
+
&:last-child {
|
|
11
|
+
border-right: $inputBorder;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.p-inputgroup {
|
|
16
|
+
> .p-component,
|
|
17
|
+
> .p-float-label > .p-component {
|
|
18
|
+
border-radius: 0;
|
|
19
|
+
margin: 0;
|
|
20
|
+
|
|
21
|
+
+ .p-inputgroup-addon {
|
|
22
|
+
border-left: 0 none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&:focus {
|
|
26
|
+
z-index: 1;
|
|
27
|
+
|
|
28
|
+
~ label {
|
|
29
|
+
z-index: 1;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.p-inputgroup-addon:first-child,
|
|
36
|
+
.p-inputgroup button:first-child,
|
|
37
|
+
.p-inputgroup input:first-child {
|
|
38
|
+
border-top-left-radius: $borderRadius;
|
|
39
|
+
border-bottom-left-radius: $borderRadius;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.p-inputgroup .p-float-label:first-child input {
|
|
43
|
+
border-top-left-radius: $borderRadius;
|
|
44
|
+
border-bottom-left-radius: $borderRadius;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.p-inputgroup-addon:last-child,
|
|
48
|
+
.p-inputgroup button:last-child,
|
|
49
|
+
.p-inputgroup input:last-child {
|
|
50
|
+
border-top-right-radius: $borderRadius;
|
|
51
|
+
border-bottom-right-radius: $borderRadius;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.p-inputgroup .p-float-label:last-child input {
|
|
55
|
+
border-top-right-radius: $borderRadius;
|
|
56
|
+
border-bottom-right-radius: $borderRadius;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.p-fluid {
|
|
60
|
+
.p-inputgroup {
|
|
61
|
+
.p-button {
|
|
62
|
+
width: auto;
|
|
63
|
+
|
|
64
|
+
&.p-button-icon-only {
|
|
65
|
+
width: $buttonIconOnlyWidth;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
.p-inputswitch {
|
|
2
|
+
width: $inputSwitchWidth;
|
|
3
|
+
height: $inputSwitchHeight;
|
|
4
|
+
|
|
5
|
+
.p-inputswitch-slider {
|
|
6
|
+
background: $inputSwitchSliderOffBg;
|
|
7
|
+
transition: $formElementTransition;
|
|
8
|
+
border-radius: $inputSwitchBorderRadius;
|
|
9
|
+
|
|
10
|
+
&:before {
|
|
11
|
+
background: $inputSwitchHandleOffBg;
|
|
12
|
+
width: $inputSwitchHandleWidth;
|
|
13
|
+
height: $inputSwitchHandleHeight;
|
|
14
|
+
left: $inputSwitchSliderPadding;
|
|
15
|
+
margin-top: -1 * $inputSwitchHandleHeight / 2;
|
|
16
|
+
border-radius: $inputSwitchHandleBorderRadius;
|
|
17
|
+
transition-duration: $transitionDuration;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&.p-inputswitch-checked {
|
|
22
|
+
.p-inputswitch-slider:before {
|
|
23
|
+
transform: translateX($inputSwitchHandleWidth);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&.p-focus {
|
|
28
|
+
.p-inputswitch-slider {
|
|
29
|
+
@include focused();
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&:not(.p-disabled):hover {
|
|
34
|
+
.p-inputswitch-slider {
|
|
35
|
+
background: $inputSwitchSliderOffHoverBg;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&.p-inputswitch-checked {
|
|
40
|
+
.p-inputswitch-slider {
|
|
41
|
+
background: $inputSwitchSliderOnBg;
|
|
42
|
+
|
|
43
|
+
&:before {
|
|
44
|
+
background: $inputSwitchHandleOnBg;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&:not(.p-disabled):hover {
|
|
49
|
+
.p-inputswitch-slider {
|
|
50
|
+
background: $inputSwitchSliderOnHoverBg;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
p-inputswitch.ng-dirty.ng-invalid > .p-inputswitch {
|
|
57
|
+
@include invalid-input();
|
|
58
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
.p-inputtext {
|
|
2
|
+
font-family: $fontFamily;
|
|
3
|
+
font-size: $inputTextFontSize;
|
|
4
|
+
color: $inputTextColor;
|
|
5
|
+
background: $inputBg;
|
|
6
|
+
padding: $inputPadding;
|
|
7
|
+
border: $inputBorder;
|
|
8
|
+
transition: $formElementTransition;
|
|
9
|
+
appearance: none;
|
|
10
|
+
border-radius: $borderRadius;
|
|
11
|
+
|
|
12
|
+
&:enabled:hover {
|
|
13
|
+
border-color: $inputHoverBorderColor;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&:enabled:focus {
|
|
17
|
+
@include focused-input();
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&.ng-dirty.ng-invalid {
|
|
21
|
+
@include invalid-input();
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.p-inputtext-sm {
|
|
25
|
+
@include scaledFontSize($inputTextFontSize, $scaleSM);
|
|
26
|
+
@include scaledPadding($inputPadding, $scaleSM);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.p-inputtext-lg {
|
|
30
|
+
@include scaledFontSize($inputTextFontSize, $scaleLG);
|
|
31
|
+
@include scaledPadding($inputPadding, $scaleLG);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.p-float-label > label {
|
|
36
|
+
left: nth($inputPadding, 2);
|
|
37
|
+
color: $inputPlaceholderTextColor;
|
|
38
|
+
transition-duration: $transitionDuration;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.p-float-label > .ng-invalid.ng-dirty + label {
|
|
42
|
+
color: $inputErrorBorderColor;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.p-input-icon-left > i:first-of-type {
|
|
46
|
+
left: nth($inputPadding, 2);
|
|
47
|
+
color: $inputIconColor;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.p-input-icon-left > .p-inputtext {
|
|
51
|
+
padding-left: nth($inputPadding, 2) * 2 + $primeIconFontSize;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.p-input-icon-left.p-float-label > label {
|
|
55
|
+
left: nth($inputPadding, 2) * 2 + $primeIconFontSize;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.p-input-icon-right > i:last-of-type {
|
|
59
|
+
right: nth($inputPadding, 2);
|
|
60
|
+
color: $inputIconColor;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.p-input-icon-right > .p-inputtext {
|
|
64
|
+
padding-right: nth($inputPadding, 2) * 2 + $primeIconFontSize;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@include placeholder {
|
|
68
|
+
color: $inputPlaceholderTextColor
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
.p-input-filled {
|
|
72
|
+
.p-inputtext {
|
|
73
|
+
background-color: $inputFilledBg;
|
|
74
|
+
|
|
75
|
+
&:enabled:hover {
|
|
76
|
+
background-color: $inputFilledHoverBg;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&:enabled:focus {
|
|
80
|
+
background-color: $inputFilledFocusBg;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.p-inputtext-sm {
|
|
86
|
+
.p-inputtext {
|
|
87
|
+
@include scaledFontSize($inputTextFontSize, $scaleSM);
|
|
88
|
+
@include scaledPadding($inputPadding, $scaleSM);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.p-inputtext-lg {
|
|
93
|
+
.p-inputtext {
|
|
94
|
+
@include scaledFontSize($inputTextFontSize, $scaleLG);
|
|
95
|
+
@include scaledPadding($inputPadding, $scaleLG);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
.p-listbox {
|
|
2
|
+
background: $inputListBg;
|
|
3
|
+
color: $inputListTextColor;
|
|
4
|
+
border: $inputListBorder;
|
|
5
|
+
border-radius: $borderRadius;
|
|
6
|
+
|
|
7
|
+
.p-listbox-header {
|
|
8
|
+
padding: $inputListHeaderPadding;
|
|
9
|
+
border-bottom: $inputListHeaderBorder;
|
|
10
|
+
color: $inputListHeaderTextColor;
|
|
11
|
+
background: $inputListHeaderBg;
|
|
12
|
+
margin: $inputListHeaderMargin;
|
|
13
|
+
border-top-right-radius: $borderRadius;
|
|
14
|
+
border-top-left-radius: $borderRadius;
|
|
15
|
+
|
|
16
|
+
.p-listbox-filter {
|
|
17
|
+
padding-right: nth($inputPadding, 2) + $primeIconFontSize;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.p-listbox-filter-icon {
|
|
21
|
+
right: nth($inputPadding, 2);
|
|
22
|
+
color: $inputIconColor;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.p-checkbox {
|
|
26
|
+
margin-right: $inlineSpacing;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.p-listbox-list {
|
|
31
|
+
padding: $inputListPadding;
|
|
32
|
+
|
|
33
|
+
.p-listbox-item {
|
|
34
|
+
margin: $inputListItemMargin;
|
|
35
|
+
padding: $inputListItemPadding;
|
|
36
|
+
border: $inputListItemBorder;
|
|
37
|
+
color: $inputListItemTextColor;
|
|
38
|
+
transition: $listItemTransition;
|
|
39
|
+
border-radius: $inputListItemBorderRadius;
|
|
40
|
+
|
|
41
|
+
&.p-highlight {
|
|
42
|
+
color: $highlightTextColor;
|
|
43
|
+
background: $highlightBg;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:focus {
|
|
47
|
+
@include focused-listitem();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.p-checkbox {
|
|
51
|
+
margin-right: $inlineSpacing;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.p-listbox-item-group {
|
|
56
|
+
margin: $submenuHeaderMargin;
|
|
57
|
+
padding: $submenuHeaderPadding;
|
|
58
|
+
color: $submenuHeaderTextColor;
|
|
59
|
+
background: $submenuHeaderBg;
|
|
60
|
+
font-weight: $submenuHeaderFontWeight;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.p-listbox-empty-message {
|
|
64
|
+
padding: $inputListItemPadding;
|
|
65
|
+
color: $inputListItemTextColor;
|
|
66
|
+
background: $inputListItemBg;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&:not(.p-disabled) {
|
|
71
|
+
.p-listbox-item {
|
|
72
|
+
&:not(.p-highlight):not(.p-disabled):hover {
|
|
73
|
+
color: $inputListItemTextHoverColor;
|
|
74
|
+
background: $inputListItemHoverBg;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
p-listbox.ng-dirty.ng-invalid > .p-listbox {
|
|
81
|
+
@include invalid-input();
|
|
82
|
+
}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
.p-multiselect {
|
|
2
|
+
background: $inputBg;
|
|
3
|
+
border: $inputBorder;
|
|
4
|
+
transition: $formElementTransition;
|
|
5
|
+
border-radius: $borderRadius;
|
|
6
|
+
|
|
7
|
+
&:not(.p-disabled):hover {
|
|
8
|
+
border-color: $inputHoverBorderColor;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&:not(.p-disabled).p-focus {
|
|
12
|
+
@include focused-input();
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.p-multiselect-label {
|
|
16
|
+
padding: $inputPadding;
|
|
17
|
+
transition: $formElementTransition;
|
|
18
|
+
|
|
19
|
+
&.p-placeholder {
|
|
20
|
+
color: $inputPlaceholderTextColor;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.p-multiselect-chip {
|
|
25
|
+
.p-multiselect-token {
|
|
26
|
+
padding: nth($inputPadding, 1)/2 nth($inputPadding, 2);
|
|
27
|
+
margin-right: $inlineSpacing;
|
|
28
|
+
background: $highlightBg;
|
|
29
|
+
color: $highlightTextColor;
|
|
30
|
+
border-radius: $borderRadius;
|
|
31
|
+
|
|
32
|
+
.p-multiselect-token-icon {
|
|
33
|
+
margin-left: $inlineSpacing;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.p-multiselect-trigger {
|
|
39
|
+
background: transparent;
|
|
40
|
+
color: $inputIconColor;
|
|
41
|
+
width: $inputGroupAddOnMinWidth;
|
|
42
|
+
border-top-right-radius: $borderRadius;
|
|
43
|
+
border-bottom-right-radius: $borderRadius;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.p-inputwrapper-filled {
|
|
48
|
+
.p-multiselect {
|
|
49
|
+
&.p-multiselect-chip {
|
|
50
|
+
.p-multiselect-label {
|
|
51
|
+
padding: nth($inputPadding, 1)/2 nth($inputPadding, 2);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.p-multiselect-panel {
|
|
58
|
+
background: $inputOverlayBg;
|
|
59
|
+
color: $inputListTextColor;
|
|
60
|
+
border: $inputOverlayBorder;
|
|
61
|
+
border-radius: $borderRadius;
|
|
62
|
+
box-shadow: $inputOverlayShadow;
|
|
63
|
+
|
|
64
|
+
.p-multiselect-header {
|
|
65
|
+
padding: $inputListHeaderPadding;
|
|
66
|
+
border-bottom: $inputListHeaderBorder;
|
|
67
|
+
color: $inputListHeaderTextColor;
|
|
68
|
+
background: $inputOverlayHeaderBg;
|
|
69
|
+
margin: $inputListHeaderMargin;
|
|
70
|
+
border-top-right-radius: $borderRadius;
|
|
71
|
+
border-top-left-radius: $borderRadius;
|
|
72
|
+
|
|
73
|
+
.p-multiselect-filter-container {
|
|
74
|
+
.p-inputtext {
|
|
75
|
+
padding-right: nth($inputPadding, 2) + $primeIconFontSize;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.p-multiselect-filter-icon {
|
|
79
|
+
right: nth($inputPadding, 2);
|
|
80
|
+
color: $inputIconColor;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.p-checkbox {
|
|
85
|
+
margin-right: $inlineSpacing;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.p-multiselect-close {
|
|
89
|
+
margin-left: $inlineSpacing;
|
|
90
|
+
@include action-icon();
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.p-multiselect-items {
|
|
95
|
+
&:not(.p-multiselect-virtualscroll) {
|
|
96
|
+
padding: $inputListPadding;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&.p-multiselect-virtualscroll .cdk-virtual-scroll-content-wrapper {
|
|
100
|
+
padding: $inputListPadding;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.p-multiselect-item {
|
|
104
|
+
margin: $inputListItemMargin;
|
|
105
|
+
padding: $inputListItemPadding;
|
|
106
|
+
border: $inputListItemBorder;
|
|
107
|
+
color: $inputListItemTextColor;
|
|
108
|
+
background: $inputListItemBg;
|
|
109
|
+
transition: $listItemTransition;
|
|
110
|
+
border-radius: $inputListItemBorderRadius;
|
|
111
|
+
|
|
112
|
+
&.p-highlight {
|
|
113
|
+
color: $highlightTextColor;
|
|
114
|
+
background: $highlightBg;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&:not(.p-highlight):not(.p-disabled):hover {
|
|
118
|
+
color: $inputListItemTextHoverColor;
|
|
119
|
+
background: $inputListItemHoverBg;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&:focus {
|
|
123
|
+
@include focused-listitem();
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.p-checkbox {
|
|
127
|
+
margin-right: $inlineSpacing;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
.p-multiselect-item-group {
|
|
133
|
+
margin: $submenuHeaderMargin;
|
|
134
|
+
padding: $submenuHeaderPadding;
|
|
135
|
+
color: $submenuHeaderTextColor;
|
|
136
|
+
background: $submenuHeaderBg;
|
|
137
|
+
font-weight: $submenuHeaderFontWeight;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.p-multiselect-empty-message {
|
|
141
|
+
padding: $inputListItemPadding;
|
|
142
|
+
color: $inputListItemTextColor;
|
|
143
|
+
background: $inputListItemBg;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
p-multiselect.ng-dirty.ng-invalid > .p-multiselect {
|
|
149
|
+
@include invalid-input();
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.p-input-filled {
|
|
153
|
+
.p-multiselect {
|
|
154
|
+
background: $inputFilledBg;
|
|
155
|
+
|
|
156
|
+
&:not(.p-disabled):hover {
|
|
157
|
+
background-color: $inputFilledHoverBg;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
&:not(.p-disabled).p-focus {
|
|
161
|
+
background-color: $inputFilledFocusBg;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.p-password {
|
|
2
|
+
&.p-invalid.p-component > .p-inputtext {
|
|
3
|
+
@include invalid-input();
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.p-password-panel {
|
|
8
|
+
padding: $panelContentPadding;
|
|
9
|
+
background: $panelContentBg;
|
|
10
|
+
color: $panelContentTextColor;
|
|
11
|
+
border: $overlayContentBorder;
|
|
12
|
+
box-shadow: $inputOverlayShadow;
|
|
13
|
+
border-radius: $borderRadius;
|
|
14
|
+
|
|
15
|
+
.p-password-meter {
|
|
16
|
+
margin-bottom: $inlineSpacing;
|
|
17
|
+
background: $passwordMeterBg;
|
|
18
|
+
|
|
19
|
+
.p-password-strength {
|
|
20
|
+
&.weak {
|
|
21
|
+
background: $passwordWeakBg;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.medium {
|
|
25
|
+
background: $passwordMediumBg;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.strong {
|
|
29
|
+
background: $passwordStrongBg;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
.p-radiobutton {
|
|
2
|
+
width: $radiobuttonWidth;
|
|
3
|
+
height: $radiobuttonHeight;
|
|
4
|
+
|
|
5
|
+
.p-radiobutton-box {
|
|
6
|
+
border: $radiobuttonBorder;
|
|
7
|
+
background: $inputBg;
|
|
8
|
+
width: $radiobuttonWidth;
|
|
9
|
+
height: $radiobuttonHeight;
|
|
10
|
+
color: $textColor;
|
|
11
|
+
border-radius: 50%;
|
|
12
|
+
transition: $formElementTransition;
|
|
13
|
+
|
|
14
|
+
&:not(.p-disabled):not(.p-highlight):hover {
|
|
15
|
+
border-color: $inputHoverBorderColor;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&:not(.p-disabled).p-focus {
|
|
19
|
+
@include focused-input();
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.p-radiobutton-icon {
|
|
23
|
+
width: $radiobuttonIconSize;
|
|
24
|
+
height: $radiobuttonIconSize;
|
|
25
|
+
transition-duration: $transitionDuration;
|
|
26
|
+
background-color: $radiobuttonIconActiveColor;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.p-highlight {
|
|
30
|
+
border-color: $radiobuttonActiveBorderColor;
|
|
31
|
+
background: $radiobuttonActiveBg;
|
|
32
|
+
|
|
33
|
+
&:not(.p-disabled):hover {
|
|
34
|
+
border-color: $radiobuttonActiveHoverBorderColor;
|
|
35
|
+
background: $radiobuttonActiveHoverBg;
|
|
36
|
+
color: $radiobuttonIconActiveHoverColor;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
p-radiobutton.ng-dirty.ng-invalid > .p-radiobutton > .p-radiobutton-box {
|
|
43
|
+
@include invalid-input();
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.p-input-filled {
|
|
47
|
+
.p-radiobutton {
|
|
48
|
+
.p-radiobutton-box {
|
|
49
|
+
background-color: $inputFilledBg;
|
|
50
|
+
|
|
51
|
+
&:not(.p-disabled):hover {
|
|
52
|
+
background-color: $inputFilledHoverBg;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.p-highlight {
|
|
56
|
+
background: $radiobuttonActiveBg;
|
|
57
|
+
|
|
58
|
+
&:not(.p-disabled):hover {
|
|
59
|
+
background: $radiobuttonActiveHoverBg;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.p-radiobutton-label {
|
|
67
|
+
margin-left: $inlineSpacing;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@if ($highlightBg == $radiobuttonActiveBg) {
|
|
71
|
+
.p-highlight {
|
|
72
|
+
.p-radiobutton {
|
|
73
|
+
.p-radiobutton-box {
|
|
74
|
+
border-color: $radiobuttonIconActiveColor;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
.p-rating {
|
|
2
|
+
.p-rating-icon {
|
|
3
|
+
color: $ratingStarIconOffColor;
|
|
4
|
+
margin-left: $inlineSpacing;
|
|
5
|
+
transition: $formElementTransition;
|
|
6
|
+
font-size: $ratingIconFontSize;
|
|
7
|
+
|
|
8
|
+
&.p-rating-cancel {
|
|
9
|
+
color: $ratingCancelIconColor;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&:focus {
|
|
13
|
+
@include focused();
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&:first-child {
|
|
17
|
+
margin-left: 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&.pi-star {
|
|
21
|
+
color: $ratingStarIconOnColor;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&:not(.p-disabled):not(.p-readonly) {
|
|
26
|
+
.p-rating-icon {
|
|
27
|
+
&:hover {
|
|
28
|
+
color: $ratingStarIconHoverColor;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&.p-rating-cancel {
|
|
32
|
+
&:hover {
|
|
33
|
+
color: $ratingCancelIconHoverColor;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@if ($highlightBg == $ratingStarIconOnColor) {
|
|
41
|
+
.p-highlight {
|
|
42
|
+
.p-rating {
|
|
43
|
+
.p-rating-icon {
|
|
44
|
+
color: $highlightTextColor;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
.p-selectbutton {
|
|
2
|
+
.p-button {
|
|
3
|
+
background: $toggleButtonBg;
|
|
4
|
+
border: $toggleButtonBorder;
|
|
5
|
+
color: $toggleButtonTextColor;
|
|
6
|
+
transition: $formElementTransition;
|
|
7
|
+
|
|
8
|
+
.p-button-icon-left,
|
|
9
|
+
.p-button-icon-right {
|
|
10
|
+
color: $toggleButtonIconColor;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&:not(.p-disabled):not(.p-highlight):hover {
|
|
14
|
+
background: $toggleButtonHoverBg;
|
|
15
|
+
border-color: $toggleButtonHoverBorderColor;
|
|
16
|
+
color: $toggleButtonTextHoverColor;
|
|
17
|
+
|
|
18
|
+
.p-button-icon-left,
|
|
19
|
+
.p-button-icon-right {
|
|
20
|
+
color: $toggleButtonIconHoverColor;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.p-highlight {
|
|
25
|
+
background: $toggleButtonActiveBg;
|
|
26
|
+
border-color: $toggleButtonActiveBorderColor;
|
|
27
|
+
color: $toggleButtonTextActiveColor;
|
|
28
|
+
|
|
29
|
+
.p-button-icon-left,
|
|
30
|
+
.p-button-icon-right {
|
|
31
|
+
color: $toggleButtonIconActiveColor;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&:hover {
|
|
35
|
+
background: $toggleButtonActiveHoverBg;
|
|
36
|
+
border-color: $toggleButtonActiveHoverBorderColor;
|
|
37
|
+
color: $toggleButtonTextActiveHoverColor;
|
|
38
|
+
|
|
39
|
+
.p-button-icon-left,
|
|
40
|
+
.p-button-icon-right {
|
|
41
|
+
color: $toggleButtonIconActiveHoverColor;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
p-selectbutton.ng-dirty.ng-invalid > .p-selectbutton > .p-button {
|
|
49
|
+
@include invalid-input();
|
|
50
|
+
}
|