novo-elements 5.1.1 → 5.2.3
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 +7 -7
- package/bundles/novo-elements.umd.js +42693 -42665
- package/bundles/novo-elements.umd.js.map +1 -1
- package/bundles/novo-elements.umd.min.js +2 -2
- package/bundles/novo-elements.umd.min.js.map +1 -1
- package/elements/ace-editor/AceEditor.d.ts +37 -37
- package/elements/ace-editor/AceEditor.module.d.ts +2 -2
- package/elements/ace-editor/AceEditor.scss +5 -0
- package/elements/button/Button.d.ts +9 -9
- package/elements/button/Button.module.d.ts +2 -2
- package/elements/button/Button.scss +397 -0
- package/elements/calendar/Calendar.module.d.ts +2 -2
- package/elements/calendar/common/CalendarDateChange.d.ts +25 -25
- package/elements/calendar/common/CalendarDateChange.scss +23 -0
- package/elements/calendar/common/EventTypeLegend.d.ts +7 -7
- package/elements/calendar/day/CalendarAllDayEvent.d.ts +7 -7
- package/elements/calendar/day/CalendarDayEvent.d.ts +8 -8
- package/elements/calendar/day/CalendarDayView.d.ts +148 -148
- package/elements/calendar/day/CalendarDayView.scss +97 -0
- package/elements/calendar/day/CalendarHourSegment.d.ts +7 -7
- package/elements/calendar/month/CalendarMonthDay.d.ts +14 -14
- package/elements/calendar/month/CalendarMonthHeader.d.ts +14 -14
- package/elements/calendar/month/CalendarMonthView.d.ts +110 -110
- package/elements/calendar/month/CalendarMonthView.scss +169 -0
- package/elements/calendar/pipe/DayOfMonth.pipe.d.ts +6 -6
- package/elements/calendar/pipe/EndOfWeekDisplayPipe.pipe.d.ts +6 -6
- package/elements/calendar/pipe/Hours.pipe.d.ts +6 -6
- package/elements/calendar/pipe/Month.pipe.d.ts +6 -6
- package/elements/calendar/pipe/MonthDay.pipe.d.ts +6 -6
- package/elements/calendar/pipe/Weekday.pipe.d.ts +6 -6
- package/elements/calendar/pipe/Year.pipe.d.ts +6 -6
- package/elements/calendar/week/CalendarWeekEvent.d.ts +8 -8
- package/elements/calendar/week/CalendarWeekHeader.d.ts +14 -14
- package/elements/calendar/week/CalendarWeekView.d.ts +156 -156
- package/elements/calendar/week/CalendarWeekView.scss +86 -0
- package/elements/card/Card.d.ts +28 -28
- package/elements/card/Card.module.d.ts +2 -2
- package/elements/card/Card.scss +104 -0
- package/elements/category-dropdown/CategoryDropdown.d.ts +29 -29
- package/elements/category-dropdown/CategoryDropdown.module.d.ts +2 -2
- package/elements/category-dropdown/CategoryDropdown.scss +157 -0
- package/elements/chips/Chips.d.ts +78 -78
- package/elements/chips/Chips.module.d.ts +2 -2
- package/elements/chips/Chips.scss +373 -0
- package/elements/chips/RowChips.d.ts +12 -12
- package/elements/ckeditor/CKEditor.d.ts +44 -44
- package/elements/ckeditor/CKEditor.module.d.ts +2 -2
- package/elements/ckeditor/CKEditor.scss +37 -0
- package/elements/common/common.module.d.ts +2 -2
- package/elements/common/novo-template/novo-template.directive.d.ts +8 -8
- package/elements/data-table/ListInteractionTypes.d.ts +10 -10
- package/elements/data-table/cell-headers/data-table-checkbox-header-cell.component.d.ts +15 -15
- package/elements/data-table/cell-headers/data-table-expand-header-cell.component.d.ts +13 -13
- package/elements/data-table/cell-headers/data-table-header-cell.component.d.ts +81 -81
- package/elements/data-table/cell-headers/data-table-header-cell.directive.d.ts +11 -11
- package/elements/data-table/cells/data-table-cell.component.d.ts +17 -17
- package/elements/data-table/cells/data-table-checkbox-cell.component.d.ts +17 -17
- package/elements/data-table/cells/data-table-expand-cell.component.d.ts +16 -16
- package/elements/data-table/data-table-clear-button.component.d.ts +15 -15
- package/elements/data-table/data-table-expand.directive.d.ts +18 -18
- package/elements/data-table/data-table.component.d.ts +99 -99
- package/elements/data-table/data-table.component.scss +753 -0
- package/elements/data-table/data-table.module.d.ts +2 -2
- package/elements/data-table/data-table.pipes.d.ts +37 -37
- package/elements/data-table/data-table.source.d.ts +22 -22
- package/elements/data-table/interfaces.d.ts +128 -128
- package/elements/data-table/pagination/data-table-pagination.component.d.ts +52 -52
- package/elements/data-table/rows/data-table-header-row.component.d.ts +6 -6
- package/elements/data-table/rows/data-table-row.component.d.ts +7 -7
- package/elements/data-table/services/data-table-filter-utils.d.ts +3 -3
- package/elements/data-table/services/remote-data-table.service.d.ts +8 -8
- package/elements/data-table/services/static-data-table.service.d.ts +12 -12
- package/elements/data-table/sort-filter/sort-filter.directive.d.ts +8 -8
- package/elements/data-table/state/data-table-state.service.d.ts +32 -32
- package/elements/date-picker/DatePicker.d.ts +79 -79
- package/elements/date-picker/DatePicker.module.d.ts +2 -2
- package/elements/date-picker/DatePicker.scss +414 -0
- package/elements/date-picker/DatePickerInput.d.ts +66 -66
- package/elements/date-time-picker/DateTimePicker.d.ts +45 -45
- package/elements/date-time-picker/DateTimePicker.module.d.ts +2 -2
- package/elements/date-time-picker/DateTimePickerInput.d.ts +46 -46
- package/elements/date-time-picker/_DateTimePicker.scss +93 -0
- package/elements/dragula/Dragula.d.ts +13 -13
- package/elements/dragula/Dragula.module.d.ts +2 -2
- package/elements/dragula/Dragula.scss +18 -0
- package/elements/dragula/DragulaService.d.ts +23 -23
- package/elements/dropdown/Dropdown.d.ts +55 -55
- package/elements/dropdown/Dropdown.module.d.ts +2 -2
- package/elements/dropdown/Dropdown.scss +94 -0
- package/elements/expansion/_expansion-theme.scss +50 -0
- package/elements/expansion/accordion.d.ts +21 -21
- package/elements/expansion/expansion-animations.d.ts +9 -9
- package/elements/expansion/expansion-panel-content.d.ts +9 -9
- package/elements/expansion/expansion-panel-header.d.ts +45 -45
- package/elements/expansion/expansion-panel-header.scss +58 -0
- package/elements/expansion/expansion-panel.d.ts +54 -54
- package/elements/expansion/expansion-panel.scss +68 -0
- package/elements/expansion/expansion.module.d.ts +2 -2
- package/elements/form/Control.d.ts +107 -107
- package/elements/form/ControlGroup.d.ts +89 -83
- package/elements/form/ControlGroup.scss +147 -0
- package/elements/form/ControlTemplates.d.ts +9 -9
- package/elements/form/DynamicForm.d.ts +46 -46
- package/elements/form/FieldInteractionApi.d.ts +160 -160
- package/elements/form/FieldInteractionApiTypes.d.ts +29 -29
- package/elements/form/FieldInteractionModals.d.ts +16 -16
- package/elements/form/Form.d.ts +21 -21
- package/elements/form/Form.module.d.ts +2 -2
- package/elements/form/Form.scss +857 -0
- package/elements/form/FormControls.d.ts +22 -22
- package/elements/form/FormInterfaces.d.ts +36 -36
- package/elements/form/FormValidators.d.ts +22 -22
- package/elements/form/NovoFormControl.d.ts +100 -100
- package/elements/form/NovoFormGroup.d.ts +17 -17
- package/elements/form/controls/BaseControl.d.ts +106 -106
- package/elements/form/controls/ControlFactory.d.ts +4 -4
- package/elements/form/controls/ace-editor/AceEditorControl.d.ts +5 -5
- package/elements/form/controls/address/AddressControl.d.ts +5 -5
- package/elements/form/controls/check-list/CheckListControl.d.ts +5 -5
- package/elements/form/controls/checkbox/CheckboxControl.d.ts +5 -5
- package/elements/form/controls/custom/CustomControl.d.ts +5 -5
- package/elements/form/controls/date/DateControl.d.ts +5 -5
- package/elements/form/controls/date-time/DateTimeControl.d.ts +5 -5
- package/elements/form/controls/editor/EditorControl.d.ts +6 -6
- package/elements/form/controls/file/FileControl.d.ts +5 -5
- package/elements/form/controls/grouped/GroupedControl.d.ts +6 -6
- package/elements/form/controls/index.d.ts +19 -19
- package/elements/form/controls/native-select/NativeSelectControl.d.ts +6 -6
- package/elements/form/controls/picker/PickerControl.d.ts +9 -9
- package/elements/form/controls/quick-note/QuickNoteControl.d.ts +6 -6
- package/elements/form/controls/radio/RadioControl.d.ts +6 -6
- package/elements/form/controls/read-only/ReadOnlyControl.d.ts +5 -5
- package/elements/form/controls/select/SelectControl.d.ts +6 -6
- package/elements/form/controls/text-area/TextAreaControl.d.ts +5 -5
- package/elements/form/controls/textbox/TextBoxControl.d.ts +9 -9
- package/elements/form/controls/tiles/TilesControl.d.ts +6 -6
- package/elements/form/controls/time/TimeControl.d.ts +5 -5
- package/elements/form/extras/FormExtras.module.d.ts +2 -2
- package/elements/form/extras/address/Address.d.ts +65 -65
- package/elements/form/extras/address/Address.scss +152 -0
- package/elements/form/extras/checkbox/CheckList.d.ts +20 -20
- package/elements/form/extras/checkbox/Checkbox.d.ts +24 -24
- package/elements/form/extras/checkbox/Checkbox.scss +87 -0
- package/elements/form/extras/file/FileInput.d.ts +72 -72
- package/elements/form/extras/file/FileInput.scss +118 -0
- package/elements/form/extras/file/extras/file/File.d.ts +22 -22
- package/elements/header/Header.d.ts +22 -22
- package/elements/header/Header.module.d.ts +2 -2
- package/elements/header/Header.scss +96 -0
- package/elements/icon/Icon.d.ts +18 -18
- package/elements/icon/Icon.module.d.ts +2 -2
- package/elements/icon/Icon.scss +82 -0
- package/elements/list/List.d.ts +31 -31
- package/elements/list/List.module.d.ts +2 -2
- package/elements/list/List.scss +134 -0
- package/elements/loading/Loading.d.ts +26 -26
- package/elements/loading/Loading.module.d.ts +2 -2
- package/elements/loading/Loading.scss +56 -0
- package/elements/loading/NovoSpinner.scss +172 -0
- package/elements/modal/Modal.d.ts +45 -45
- package/elements/modal/Modal.module.d.ts +2 -2
- package/elements/modal/Modal.scss +207 -0
- package/elements/modal/ModalService.d.ts +10 -10
- package/elements/multi-picker/MultiPicker.d.ts +107 -107
- package/elements/multi-picker/MultiPicker.module.d.ts +2 -2
- package/elements/multi-picker/_MultiPicker.scss +74 -0
- package/elements/overlay/Overlay.d.ts +57 -57
- package/elements/overlay/Overlay.module.d.ts +2 -2
- package/elements/picker/Picker.d.ts +69 -69
- package/elements/picker/Picker.module.d.ts +2 -2
- package/elements/picker/Picker.scss +438 -0
- package/elements/picker/extras/base-picker-results/BasePickerResults.d.ts +91 -91
- package/elements/picker/extras/checklist-picker-results/ChecklistPickerResults.d.ts +21 -21
- package/elements/picker/extras/distributionlist-picker-results/DistributionListPickerResults.d.ts +13 -13
- package/elements/picker/extras/entity-picker-results/EntityPickerResults.d.ts +29 -29
- package/elements/picker/extras/grouped-multi-picker-results/GroupedMultiPickerResults.d.ts +42 -42
- package/elements/picker/extras/grouped-multi-picker-results/GroupedMultiPickerResults.scss +136 -0
- package/elements/picker/extras/mixed-multi-picker-results/MixedMultiPickerResults.d.ts +43 -43
- package/elements/picker/extras/mixed-multi-picker-results/MixedMultiPickerResults.scss +156 -0
- package/elements/picker/extras/picker-results/PickerResults.d.ts +11 -11
- package/elements/picker/extras/skills-picker-results/SkillsSpecialtyPickerResults.d.ts +21 -21
- package/elements/picker/extras/skills-picker-results/SkillsSpecialtyPickerResults.scss +65 -0
- package/elements/picker/extras/workers-comp-codes-picker-results/WorkersCompCodesPickerResults.d.ts +13 -13
- package/elements/picker/extras/workers-comp-codes-picker-results/WorkersCompCodesPickerResults.scss +0 -0
- package/elements/places/places.component.d.ts +71 -71
- package/elements/places/places.component.scss +26 -0
- package/elements/places/places.module.d.ts +2 -2
- package/elements/places/places.service.d.ts +22 -22
- package/elements/popover/PopOver.d.ts +30 -30
- package/elements/popover/PopOver.module.d.ts +2 -2
- package/elements/popover/PopOver.scss +179 -0
- package/elements/popover/PopOverContent.d.ts +45 -45
- package/elements/quick-note/QuickNote.d.ts +139 -139
- package/elements/quick-note/QuickNote.module.d.ts +2 -2
- package/elements/quick-note/QuickNote.scss +52 -0
- package/elements/quick-note/extras/quick-note-results/QuickNoteResults.d.ts +30 -30
- package/elements/radio/Radio.d.ts +26 -26
- package/elements/radio/Radio.module.d.ts +2 -2
- package/elements/radio/Radio.scss +94 -0
- package/elements/search/SearchBox.d.ts +59 -59
- package/elements/search/SearchBox.module.d.ts +2 -2
- package/elements/search/SearchBox.scss +67 -0
- package/elements/select/Select.d.ts +62 -62
- package/elements/select/Select.module.d.ts +2 -2
- package/elements/select/Select.scss +226 -0
- package/elements/simple-table/activity-table-renderers.d.ts +4 -4
- package/elements/simple-table/cell-header.d.ts +62 -62
- package/elements/simple-table/cell.d.ts +73 -73
- package/elements/simple-table/interfaces.d.ts +81 -81
- package/elements/simple-table/pagination.d.ts +37 -37
- package/elements/simple-table/row.d.ts +20 -20
- package/elements/simple-table/simple-table.module.d.ts +2 -2
- package/elements/simple-table/sort.d.ts +20 -20
- package/elements/simple-table/state.d.ts +22 -22
- package/elements/simple-table/table-source.d.ts +62 -62
- package/elements/simple-table/table.d.ts +59 -59
- package/elements/simple-table/table.scss +344 -0
- package/elements/slider/Slider.d.ts +18 -18
- package/elements/slider/Slider.module.d.ts +2 -2
- package/elements/slider/Slider.scss +89 -0
- package/elements/stepper/step-header.component.d.ts +45 -45
- package/elements/stepper/step-header.component.scss +78 -0
- package/elements/stepper/step-label.component.d.ts +5 -5
- package/elements/stepper/step-status.component.d.ts +6 -6
- package/elements/stepper/stepper.animations.d.ts +6 -6
- package/elements/stepper/stepper.component.d.ts +39 -39
- package/elements/stepper/stepper.component.scss +200 -0
- package/elements/stepper/stepper.module.d.ts +2 -2
- package/elements/switch/Switch.d.ts +19 -19
- package/elements/switch/Switch.module.d.ts +2 -2
- package/elements/switch/Switch.scss +143 -0
- package/elements/tabbed-group-picker/TabbedGroupPicker.d.ts +122 -122
- package/elements/tabbed-group-picker/TabbedGroupPicker.module.d.ts +2 -2
- package/elements/tabbed-group-picker/TabbedGroupPicker.scss +186 -0
- package/elements/table/Table.d.ts +184 -184
- package/elements/table/Table.module.d.ts +2 -2
- package/elements/table/Table.scss +585 -0
- package/elements/table/extras/TableExtras.module.d.ts +2 -2
- package/elements/table/extras/base-renderer/BaseRenderer.d.ts +5 -5
- package/elements/table/extras/date-cell/DateCell.d.ts +8 -8
- package/elements/table/extras/dropdown-cell/DropdownCell.d.ts +17 -17
- package/elements/table/extras/dropdown-cell/DropdownCell.scss +58 -0
- package/elements/table/extras/keep-filter-focus/KeepFilterFocus.d.ts +6 -6
- package/elements/table/extras/pagination/Pagination.d.ts +39 -39
- package/elements/table/extras/pagination/Pagination.scss +62 -0
- package/elements/table/extras/percentage-cell/PercentageCell.d.ts +3 -3
- package/elements/table/extras/row-details/RowDetails.d.ts +12 -12
- package/elements/table/extras/table-actions/TableActions.d.ts +2 -2
- package/elements/table/extras/table-cell/TableCell.d.ts +18 -18
- package/elements/table/extras/table-filter/TableFilter.d.ts +13 -13
- package/elements/table/extras/table-footer/TableFooter.d.ts +2 -2
- package/elements/table/extras/table-header/TableHeader.d.ts +2 -2
- package/elements/table/extras/th-orderable/ThOrderable.d.ts +30 -30
- package/elements/table/extras/th-sortable/ThSortable.d.ts +7 -7
- package/elements/tabs/Tabs.d.ts +49 -49
- package/elements/tabs/Tabs.module.d.ts +2 -2
- package/elements/tabs/Tabs.scss +287 -0
- package/elements/tiles/Tiles.d.ts +30 -30
- package/elements/tiles/Tiles.module.d.ts +2 -2
- package/elements/tiles/Tiles.scss +68 -0
- package/elements/time-picker/TimePicker.d.ts +38 -38
- package/elements/time-picker/TimePicker.module.d.ts +2 -2
- package/elements/time-picker/TimePicker.scss +388 -0
- package/elements/time-picker/TimePickerInput.d.ts +52 -52
- package/elements/tip-well/TipWell.d.ts +23 -23
- package/elements/tip-well/TipWell.module.d.ts +2 -2
- package/elements/tip-well/TipWell.scss +31 -0
- package/elements/toast/Toast.d.ts +28 -28
- package/elements/toast/Toast.module.d.ts +2 -2
- package/elements/toast/Toast.scss +413 -0
- package/elements/toast/ToastService.d.ts +40 -40
- package/elements/tooltip/Tooltip.component.d.ts +12 -11
- package/elements/tooltip/Tooltip.directive.d.ts +35 -34
- package/elements/tooltip/Tooltip.module.d.ts +2 -2
- package/elements/tooltip/Tooltip.scss +216 -0
- package/elements/unless/Unless.d.ts +12 -12
- package/elements/unless/Unless.module.d.ts +2 -2
- package/elements/value/EntityList.d.ts +13 -13
- package/elements/value/Render.d.ts +66 -66
- package/elements/value/Value.d.ts +40 -40
- package/elements/value/Value.module.d.ts +2 -2
- package/elements/value/Value.scss +57 -0
- package/elements/value/Values.scss +57 -0
- package/esm2015/elements/ace-editor/AceEditor.js +126 -126
- package/esm2015/elements/ace-editor/AceEditor.module.js +15 -15
- package/esm2015/elements/button/Button.js +74 -74
- package/esm2015/elements/button/Button.module.js +15 -15
- package/esm2015/elements/calendar/Calendar.module.js +81 -81
- package/esm2015/elements/calendar/common/CalendarDateChange.js +60 -60
- package/esm2015/elements/calendar/common/EventTypeLegend.js +32 -32
- package/esm2015/elements/calendar/day/CalendarAllDayEvent.js +40 -40
- package/esm2015/elements/calendar/day/CalendarDayEvent.js +41 -41
- package/esm2015/elements/calendar/day/CalendarDayView.js +302 -302
- package/esm2015/elements/calendar/day/CalendarHourSegment.js +34 -34
- package/esm2015/elements/calendar/month/CalendarMonthDay.js +87 -87
- package/esm2015/elements/calendar/month/CalendarMonthHeader.js +55 -55
- package/esm2015/elements/calendar/month/CalendarMonthView.js +171 -171
- package/esm2015/elements/calendar/pipe/DayOfMonth.pipe.js +16 -16
- package/esm2015/elements/calendar/pipe/EndOfWeekDisplayPipe.pipe.js +19 -19
- package/esm2015/elements/calendar/pipe/Hours.pipe.js +16 -16
- package/esm2015/elements/calendar/pipe/Month.pipe.js +16 -16
- package/esm2015/elements/calendar/pipe/MonthDay.pipe.js +16 -16
- package/esm2015/elements/calendar/pipe/Weekday.pipe.js +16 -16
- package/esm2015/elements/calendar/pipe/Year.pipe.js +16 -16
- package/esm2015/elements/calendar/week/CalendarWeekEvent.js +38 -38
- package/esm2015/elements/calendar/week/CalendarWeekHeader.js +46 -46
- package/esm2015/elements/calendar/week/CalendarWeekView.js +311 -311
- package/esm2015/elements/card/Card.js +104 -104
- package/esm2015/elements/card/Card.module.js +18 -18
- package/esm2015/elements/category-dropdown/CategoryDropdown.js +159 -159
- package/esm2015/elements/category-dropdown/CategoryDropdown.module.js +17 -17
- package/esm2015/elements/chips/Chips.js +356 -356
- package/esm2015/elements/chips/Chips.module.js +18 -18
- package/esm2015/elements/chips/RowChips.js +86 -86
- package/esm2015/elements/ckeditor/CKEditor.js +237 -237
- package/esm2015/elements/ckeditor/CKEditor.module.js +16 -16
- package/esm2015/elements/common/common.module.js +13 -13
- package/esm2015/elements/common/novo-template/novo-template.directive.js +22 -22
- package/esm2015/elements/data-table/ListInteractionTypes.js +1 -1
- package/esm2015/elements/data-table/cell-headers/data-table-checkbox-header-cell.component.js +73 -73
- package/esm2015/elements/data-table/cell-headers/data-table-expand-header-cell.component.js +47 -47
- package/esm2015/elements/data-table/cell-headers/data-table-header-cell.component.js +501 -501
- package/esm2015/elements/data-table/cell-headers/data-table-header-cell.directive.js +35 -35
- package/esm2015/elements/data-table/cells/data-table-cell.component.js +62 -62
- package/esm2015/elements/data-table/cells/data-table-checkbox-cell.component.js +65 -65
- package/esm2015/elements/data-table/cells/data-table-expand-cell.component.js +52 -52
- package/esm2015/elements/data-table/data-table-clear-button.component.js +54 -54
- package/esm2015/elements/data-table/data-table-expand.directive.js +57 -57
- package/esm2015/elements/data-table/data-table.component.js +665 -665
- package/esm2015/elements/data-table/data-table.module.js +87 -87
- package/esm2015/elements/data-table/data-table.pipes.js +150 -150
- package/esm2015/elements/data-table/data-table.source.js +62 -62
- package/esm2015/elements/data-table/interfaces.js +1 -1
- package/esm2015/elements/data-table/pagination/data-table-pagination.component.js +249 -249
- package/esm2015/elements/data-table/rows/data-table-header-row.component.js +23 -23
- package/esm2015/elements/data-table/rows/data-table-row.component.js +23 -23
- package/esm2015/elements/data-table/services/data-table-filter-utils.js +35 -35
- package/esm2015/elements/data-table/services/remote-data-table.service.js +3 -3
- package/esm2015/elements/data-table/services/static-data-table.service.js +48 -48
- package/esm2015/elements/data-table/sort-filter/sort-filter.directive.js +57 -57
- package/esm2015/elements/data-table/state/data-table-state.service.js +116 -116
- package/esm2015/elements/date-picker/DatePicker.js +493 -493
- package/esm2015/elements/date-picker/DatePicker.module.js +20 -20
- package/esm2015/elements/date-picker/DatePickerInput.js +255 -255
- package/esm2015/elements/date-time-picker/DateTimePicker.js +195 -195
- package/esm2015/elements/date-time-picker/DateTimePicker.module.js +22 -22
- package/esm2015/elements/date-time-picker/DateTimePickerInput.js +151 -151
- package/esm2015/elements/dragula/Dragula.js +66 -66
- package/esm2015/elements/dragula/Dragula.module.js +13 -13
- package/esm2015/elements/dragula/DragulaService.js +117 -117
- package/esm2015/elements/dropdown/Dropdown.js +284 -284
- package/esm2015/elements/dropdown/Dropdown.module.js +15 -15
- package/esm2015/elements/expansion/accordion.js +42 -42
- package/esm2015/elements/expansion/expansion-animations.js +33 -33
- package/esm2015/elements/expansion/expansion-panel-content.js +19 -19
- package/esm2015/elements/expansion/expansion-panel-header.js +131 -131
- package/esm2015/elements/expansion/expansion-panel.js +141 -141
- package/esm2015/elements/expansion/expansion.module.js +34 -34
- package/esm2015/elements/form/Control.js +645 -645
- package/esm2015/elements/form/ControlGroup.js +264 -247
- package/esm2015/elements/form/ControlTemplates.js +162 -161
- package/esm2015/elements/form/DynamicForm.js +221 -221
- package/esm2015/elements/form/FieldInteractionApi.js +680 -680
- package/esm2015/elements/form/FieldInteractionApiTypes.js +1 -1
- package/esm2015/elements/form/FieldInteractionModals.js +63 -63
- package/esm2015/elements/form/Form.js +93 -93
- package/esm2015/elements/form/Form.module.js +86 -86
- package/esm2015/elements/form/FormControls.js +23 -23
- package/esm2015/elements/form/FormInterfaces.js +1 -1
- package/esm2015/elements/form/FormValidators.js +115 -115
- package/esm2015/elements/form/NovoFormControl.js +154 -154
- package/esm2015/elements/form/NovoFormGroup.js +32 -32
- package/esm2015/elements/form/controls/BaseControl.js +101 -101
- package/esm2015/elements/form/controls/ControlFactory.js +47 -47
- package/esm2015/elements/form/controls/ace-editor/AceEditorControl.js +9 -9
- package/esm2015/elements/form/controls/address/AddressControl.js +11 -11
- package/esm2015/elements/form/controls/check-list/CheckListControl.js +10 -10
- package/esm2015/elements/form/controls/checkbox/CheckboxControl.js +9 -9
- package/esm2015/elements/form/controls/custom/CustomControl.js +10 -10
- package/esm2015/elements/form/controls/date/DateControl.js +9 -9
- package/esm2015/elements/form/controls/date-time/DateTimeControl.js +9 -9
- package/esm2015/elements/form/controls/editor/EditorControl.js +10 -10
- package/esm2015/elements/form/controls/file/FileControl.js +12 -12
- package/esm2015/elements/form/controls/grouped/GroupedControl.js +7 -7
- package/esm2015/elements/form/controls/index.js +20 -20
- package/esm2015/elements/form/controls/native-select/NativeSelectControl.js +11 -11
- package/esm2015/elements/form/controls/picker/PickerControl.js +17 -17
- package/esm2015/elements/form/controls/quick-note/QuickNoteControl.js +11 -11
- package/esm2015/elements/form/controls/radio/RadioControl.js +11 -11
- package/esm2015/elements/form/controls/read-only/ReadOnlyControl.js +10 -10
- package/esm2015/elements/form/controls/select/SelectControl.js +12 -12
- package/esm2015/elements/form/controls/text-area/TextAreaControl.js +9 -9
- package/esm2015/elements/form/controls/textbox/TextBoxControl.js +44 -44
- package/esm2015/elements/form/controls/tiles/TilesControl.js +11 -11
- package/esm2015/elements/form/controls/time/TimeControl.js +9 -9
- package/esm2015/elements/form/extras/FormExtras.module.js +36 -36
- package/esm2015/elements/form/extras/address/Address.js +512 -512
- package/esm2015/elements/form/extras/checkbox/CheckList.js +107 -107
- package/esm2015/elements/form/extras/checkbox/Checkbox.js +80 -80
- package/esm2015/elements/form/extras/file/FileInput.js +320 -320
- package/esm2015/elements/form/extras/file/extras/file/File.js +40 -40
- package/esm2015/elements/header/Header.js +96 -96
- package/esm2015/elements/header/Header.module.js +14 -14
- package/esm2015/elements/icon/Icon.js +53 -53
- package/esm2015/elements/icon/Icon.module.js +11 -11
- package/esm2015/elements/list/List.js +132 -132
- package/esm2015/elements/list/List.module.js +33 -33
- package/esm2015/elements/loading/Loading.js +174 -174
- package/esm2015/elements/loading/Loading.module.js +15 -15
- package/esm2015/elements/modal/Modal.js +138 -138
- package/esm2015/elements/modal/Modal.module.js +16 -16
- package/esm2015/elements/modal/ModalService.js +31 -31
- package/esm2015/elements/multi-picker/MultiPicker.js +600 -600
- package/esm2015/elements/multi-picker/MultiPicker.module.js +18 -18
- package/esm2015/elements/overlay/Overlay.js +238 -238
- package/esm2015/elements/overlay/Overlay.module.js +18 -18
- package/esm2015/elements/picker/Picker.js +343 -343
- package/esm2015/elements/picker/Picker.module.js +50 -50
- package/esm2015/elements/picker/extras/base-picker-results/BasePickerResults.js +353 -353
- package/esm2015/elements/picker/extras/checklist-picker-results/ChecklistPickerResults.js +127 -127
- package/esm2015/elements/picker/extras/distributionlist-picker-results/DistributionListPickerResults.js +63 -63
- package/esm2015/elements/picker/extras/entity-picker-results/EntityPickerResults.js +221 -221
- package/esm2015/elements/picker/extras/grouped-multi-picker-results/GroupedMultiPickerResults.js +264 -264
- package/esm2015/elements/picker/extras/mixed-multi-picker-results/MixedMultiPickerResults.js +193 -193
- package/esm2015/elements/picker/extras/picker-results/PickerResults.js +60 -60
- package/esm2015/elements/picker/extras/skills-picker-results/SkillsSpecialtyPickerResults.js +79 -79
- package/esm2015/elements/picker/extras/workers-comp-codes-picker-results/WorkersCompCodesPickerResults.js +79 -79
- package/esm2015/elements/places/places.component.js +369 -369
- package/esm2015/elements/places/places.module.js +18 -18
- package/esm2015/elements/places/places.service.js +248 -248
- package/esm2015/elements/popover/PopOver.js +144 -144
- package/esm2015/elements/popover/PopOver.module.js +14 -14
- package/esm2015/elements/popover/PopOverContent.js +198 -198
- package/esm2015/elements/quick-note/QuickNote.js +572 -572
- package/esm2015/elements/quick-note/QuickNote.module.js +19 -19
- package/esm2015/elements/quick-note/extras/quick-note-results/QuickNoteResults.js +138 -138
- package/esm2015/elements/radio/Radio.js +89 -89
- package/esm2015/elements/radio/Radio.module.js +16 -16
- package/esm2015/elements/search/SearchBox.js +193 -193
- package/esm2015/elements/search/SearchBox.module.js +19 -19
- package/esm2015/elements/select/Select.js +363 -358
- package/esm2015/elements/select/Select.module.js +19 -18
- package/esm2015/elements/simple-table/activity-table-renderers.js +16 -16
- package/esm2015/elements/simple-table/cell-header.js +278 -278
- package/esm2015/elements/simple-table/cell.js +291 -291
- package/esm2015/elements/simple-table/interfaces.js +1 -1
- package/esm2015/elements/simple-table/pagination.js +175 -175
- package/esm2015/elements/simple-table/row.js +66 -66
- package/esm2015/elements/simple-table/simple-table.module.js +92 -92
- package/esm2015/elements/simple-table/sort.js +87 -87
- package/esm2015/elements/simple-table/state.js +38 -38
- package/esm2015/elements/simple-table/table-source.js +70 -70
- package/esm2015/elements/simple-table/table.js +238 -238
- package/esm2015/elements/slider/Slider.js +81 -81
- package/esm2015/elements/slider/Slider.module.js +16 -16
- package/esm2015/elements/stepper/step-header.component.js +90 -90
- package/esm2015/elements/stepper/step-label.component.js +16 -16
- package/esm2015/elements/stepper/step-status.component.js +26 -26
- package/esm2015/elements/stepper/stepper.animations.js +19 -19
- package/esm2015/elements/stepper/stepper.component.js +139 -139
- package/esm2015/elements/stepper/stepper.module.js +21 -21
- package/esm2015/elements/switch/Switch.js +88 -88
- package/esm2015/elements/switch/Switch.module.js +16 -16
- package/esm2015/elements/tabbed-group-picker/TabbedGroupPicker.js +261 -261
- package/esm2015/elements/tabbed-group-picker/TabbedGroupPicker.module.js +33 -33
- package/esm2015/elements/table/Table.js +940 -940
- package/esm2015/elements/table/Table.module.js +40 -40
- package/esm2015/elements/table/extras/TableExtras.module.js +59 -59
- package/esm2015/elements/table/extras/base-renderer/BaseRenderer.js +8 -8
- package/esm2015/elements/table/extras/date-cell/DateCell.js +31 -31
- package/esm2015/elements/table/extras/dropdown-cell/DropdownCell.js +44 -44
- package/esm2015/elements/table/extras/keep-filter-focus/KeepFilterFocus.js +19 -19
- package/esm2015/elements/table/extras/pagination/Pagination.js +125 -125
- package/esm2015/elements/table/extras/percentage-cell/PercentageCell.js +15 -15
- package/esm2015/elements/table/extras/row-details/RowDetails.js +44 -44
- package/esm2015/elements/table/extras/table-actions/TableActions.js +11 -11
- package/esm2015/elements/table/extras/table-cell/TableCell.js +82 -82
- package/esm2015/elements/table/extras/table-filter/TableFilter.js +59 -59
- package/esm2015/elements/table/extras/table-footer/TableFooter.js +11 -11
- package/esm2015/elements/table/extras/table-header/TableHeader.js +11 -11
- package/esm2015/elements/table/extras/th-orderable/ThOrderable.js +125 -125
- package/esm2015/elements/table/extras/th-sortable/ThSortable.js +37 -37
- package/esm2015/elements/tabs/Tabs.js +253 -253
- package/esm2015/elements/tabs/Tabs.module.js +31 -31
- package/esm2015/elements/tiles/Tiles.js +154 -154
- package/esm2015/elements/tiles/Tiles.module.js +16 -16
- package/esm2015/elements/time-picker/TimePicker.js +201 -201
- package/esm2015/elements/time-picker/TimePicker.module.js +21 -21
- package/esm2015/elements/time-picker/TimePickerInput.js +202 -202
- package/esm2015/elements/tip-well/TipWell.js +94 -94
- package/esm2015/elements/tip-well/TipWell.module.js +16 -16
- package/esm2015/elements/toast/Toast.js +111 -111
- package/esm2015/elements/toast/Toast.module.js +15 -15
- package/esm2015/elements/toast/ToastService.js +92 -92
- package/esm2015/elements/tooltip/Tooltip.component.js +37 -34
- package/esm2015/elements/tooltip/Tooltip.directive.js +189 -187
- package/esm2015/elements/tooltip/Tooltip.module.js +16 -16
- package/esm2015/elements/unless/Unless.js +56 -56
- package/esm2015/elements/unless/Unless.module.js +15 -15
- package/esm2015/elements/value/EntityList.js +84 -84
- package/esm2015/elements/value/Render.js +415 -415
- package/esm2015/elements/value/Value.js +160 -160
- package/esm2015/elements/value/Value.module.js +17 -17
- package/esm2015/index.js +221 -221
- package/esm2015/novo-elements.js +25 -25
- package/esm2015/novo-elements.module.js +128 -128
- package/esm2015/novo-elements.providers.js +50 -50
- package/esm2015/pipes/Pipes.module.js +15 -15
- package/esm2015/pipes/decode-uri/DecodeURI.js +18 -18
- package/esm2015/pipes/group-by/GroupBy.js +24 -24
- package/esm2015/pipes/plural/Plural.js +349 -349
- package/esm2015/services/data-provider/ArrayCollection.js +301 -301
- package/esm2015/services/data-provider/Collection.js +1 -1
- package/esm2015/services/data-provider/CollectionEvent.js +21 -21
- package/esm2015/services/data-provider/PagedArrayCollection.js +78 -78
- package/esm2015/services/data-provider/PagedCollection.js +1 -1
- package/esm2015/services/date-format/DateFormat.js +189 -189
- package/esm2015/services/global/global.service.js +18 -18
- package/esm2015/services/novo-label-service.js +279 -279
- package/esm2015/services/options/OptionsService.js +26 -26
- package/esm2015/services/security/Security.js +67 -67
- package/esm2015/services/storage/storage.service.js +16 -16
- package/esm2015/services/template/NovoTemplateService.js +33 -33
- package/esm2015/utils/Helpers.js +395 -395
- package/esm2015/utils/app-bridge/AppBridge.js +710 -710
- package/esm2015/utils/calendar-utils/CalendarUtils.js +321 -321
- package/esm2015/utils/component-utils/ComponentUtils.js +20 -20
- package/esm2015/utils/countries/Countries.js +17538 -17538
- package/esm2015/utils/deferred/Deferred.js +14 -14
- package/esm2015/utils/form-utils/FormUtils.js +793 -788
- package/esm2015/utils/key-codes/KeyCodes.js +95 -95
- package/esm2015/utils/notifier/notifier.util.js +10 -10
- package/esm2015/utils/outside-click/OutsideClick.js +60 -60
- package/fesm2015/novo-elements.js +43328 -43295
- package/fesm2015/novo-elements.js.map +1 -1
- package/index.d.ts +225 -225
- package/novo-elements.d.ts +24 -24
- package/novo-elements.metadata.json +1 -1
- package/novo-elements.module.d.ts +2 -2
- package/novo-elements.providers.d.ts +5 -5
- package/novo-elements.scss +110 -0
- package/package.json +1 -1
- package/pipes/Pipes.module.d.ts +2 -2
- package/pipes/decode-uri/DecodeURI.d.ts +4 -4
- package/pipes/group-by/GroupBy.d.ts +4 -4
- package/pipes/plural/Plural.d.ts +4 -4
- package/services/data-provider/ArrayCollection.d.ts +178 -178
- package/services/data-provider/Collection.d.ts +93 -93
- package/services/data-provider/CollectionEvent.d.ts +17 -17
- package/services/data-provider/PagedArrayCollection.d.ts +18 -18
- package/services/data-provider/PagedCollection.d.ts +15 -15
- package/services/date-format/DateFormat.d.ts +13 -13
- package/services/global/global.service.d.ts +11 -11
- package/services/novo-label-service.d.ts +142 -142
- package/services/options/OptionsService.d.ts +9 -9
- package/services/security/Security.d.ts +19 -19
- package/services/storage/storage.service.d.ts +5 -5
- package/services/template/NovoTemplateService.d.ts +7 -7
- package/styles/content/typography.scss +200 -0
- package/styles/global/cdk.scss +106 -0
- package/styles/global/flex-grid.scss +156 -0
- package/styles/global/functions.scss +174 -0
- package/styles/global/include-media.scss +578 -0
- package/styles/global/layout.scss +3 -0
- package/styles/global/reset.scss +451 -0
- package/styles/global/variables.scss +324 -0
- package/utils/Helpers.d.ts +68 -68
- package/utils/app-bridge/AppBridge.d.ts +178 -178
- package/utils/calendar-utils/CalendarUtils.d.ts +150 -150
- package/utils/component-utils/ComponentUtils.d.ts +6 -6
- package/utils/countries/Countries.d.ts +51 -51
- package/utils/deferred/Deferred.d.ts +4 -4
- package/utils/form-utils/FormUtils.d.ts +77 -77
- package/utils/key-codes/KeyCodes.d.ts +93 -93
- package/utils/notifier/notifier.util.d.ts +1 -1
- package/utils/outside-click/OutsideClick.d.ts +24 -24
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import { ChangeDetectorRef, PipeTransform } from '@angular/core';
|
|
2
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
-
import { NovoLabelService } from '../../services/novo-label-service';
|
|
4
|
-
/**
|
|
5
|
-
* @classdesc
|
|
6
|
-
* Renders data appropriately based on the data type found in Meta
|
|
7
|
-
* All data types defined by bullhorn should be supported:
|
|
8
|
-
*
|
|
9
|
-
* - **String**: trims value and returns
|
|
10
|
-
* - **Integer**: return value
|
|
11
|
-
* - **Double**: return value fixed to 2 decimals
|
|
12
|
-
* - **BigDecimal**: return value fixed to 2 decimals
|
|
13
|
-
* - **Address**: only city and/or state returned
|
|
14
|
-
* - **Address1**: only city and/or state returned
|
|
15
|
-
* - **AddressWithoutCountry**: only city and/or state returned
|
|
16
|
-
* - **Currency**: put a $ in front
|
|
17
|
-
* - **Percentage**: divide by 100 fix to 2 decimals place and return
|
|
18
|
-
* - **Options**: returns the appropriate 'label' for the 'value' from 'options'
|
|
19
|
-
* - **Array**: returns list comma separated
|
|
20
|
-
* - **DateTime**: formats the date
|
|
21
|
-
* - **TimeStamp**: formats the date
|
|
22
|
-
* - **ToOne**: return the entity specific name (ie. name, firstName lastName, title, ...)
|
|
23
|
-
* - **ToMany**: return an array of the entity specific names (ie. name, firstName lastName, title, ...)
|
|
24
|
-
*
|
|
25
|
-
* @example
|
|
26
|
-
* ```
|
|
27
|
-
* {{ expression | render:field }}
|
|
28
|
-
* ```
|
|
29
|
-
*/
|
|
30
|
-
export declare class RenderPipe implements PipeTransform {
|
|
31
|
-
private changeDetector;
|
|
32
|
-
private sanitizationService;
|
|
33
|
-
private labels;
|
|
34
|
-
value: any;
|
|
35
|
-
lastValue: any;
|
|
36
|
-
lastArgs: any;
|
|
37
|
-
constructor(changeDetector: ChangeDetectorRef, sanitizationService: DomSanitizer, labels: NovoLabelService);
|
|
38
|
-
equals(objectOne: any, objectTwo: any): any;
|
|
39
|
-
getEntityLabel(item: any, entity: string): string;
|
|
40
|
-
/**
|
|
41
|
-
* Define the fields to set or retrieve for the given entity. Getter and Setter methods will automagically
|
|
42
|
-
* be set up on the entity once the fields are defined.
|
|
43
|
-
* @param args - fields can either be sent as a list of arguments or as an Array
|
|
44
|
-
* @return text
|
|
45
|
-
*/
|
|
46
|
-
render(value: any, args: any): any;
|
|
47
|
-
updateValue(value: any, args: any): any;
|
|
48
|
-
transform(value?: any, args?: any): any;
|
|
49
|
-
/**
|
|
50
|
-
* Simple function concat a list of fields from a list of objects
|
|
51
|
-
* @param list - the list of values to use
|
|
52
|
-
* @param fields - list of fields to extract
|
|
53
|
-
*/
|
|
54
|
-
concat(list: any, ...fields: any[]): any;
|
|
55
|
-
/**
|
|
56
|
-
* Simple function to look up the **label** to display from options
|
|
57
|
-
* @param value - the value to find
|
|
58
|
-
* @param list - list of options (label/value pairs)
|
|
59
|
-
*/
|
|
60
|
-
options(value: any, list: any, args: any): any;
|
|
61
|
-
getNumberDecimalPlaces(value: any): any;
|
|
62
|
-
/**
|
|
63
|
-
* Capitalizes the first letter
|
|
64
|
-
*/
|
|
65
|
-
capitalize(value: any): string;
|
|
66
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, PipeTransform } from '@angular/core';
|
|
2
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
+
import { NovoLabelService } from '../../services/novo-label-service';
|
|
4
|
+
/**
|
|
5
|
+
* @classdesc
|
|
6
|
+
* Renders data appropriately based on the data type found in Meta
|
|
7
|
+
* All data types defined by bullhorn should be supported:
|
|
8
|
+
*
|
|
9
|
+
* - **String**: trims value and returns
|
|
10
|
+
* - **Integer**: return value
|
|
11
|
+
* - **Double**: return value fixed to 2 decimals
|
|
12
|
+
* - **BigDecimal**: return value fixed to 2 decimals
|
|
13
|
+
* - **Address**: only city and/or state returned
|
|
14
|
+
* - **Address1**: only city and/or state returned
|
|
15
|
+
* - **AddressWithoutCountry**: only city and/or state returned
|
|
16
|
+
* - **Currency**: put a $ in front
|
|
17
|
+
* - **Percentage**: divide by 100 fix to 2 decimals place and return
|
|
18
|
+
* - **Options**: returns the appropriate 'label' for the 'value' from 'options'
|
|
19
|
+
* - **Array**: returns list comma separated
|
|
20
|
+
* - **DateTime**: formats the date
|
|
21
|
+
* - **TimeStamp**: formats the date
|
|
22
|
+
* - **ToOne**: return the entity specific name (ie. name, firstName lastName, title, ...)
|
|
23
|
+
* - **ToMany**: return an array of the entity specific names (ie. name, firstName lastName, title, ...)
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```
|
|
27
|
+
* {{ expression | render:field }}
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare class RenderPipe implements PipeTransform {
|
|
31
|
+
private changeDetector;
|
|
32
|
+
private sanitizationService;
|
|
33
|
+
private labels;
|
|
34
|
+
value: any;
|
|
35
|
+
lastValue: any;
|
|
36
|
+
lastArgs: any;
|
|
37
|
+
constructor(changeDetector: ChangeDetectorRef, sanitizationService: DomSanitizer, labels: NovoLabelService);
|
|
38
|
+
equals(objectOne: any, objectTwo: any): any;
|
|
39
|
+
getEntityLabel(item: any, entity: string): string;
|
|
40
|
+
/**
|
|
41
|
+
* Define the fields to set or retrieve for the given entity. Getter and Setter methods will automagically
|
|
42
|
+
* be set up on the entity once the fields are defined.
|
|
43
|
+
* @param args - fields can either be sent as a list of arguments or as an Array
|
|
44
|
+
* @return text
|
|
45
|
+
*/
|
|
46
|
+
render(value: any, args: any): any;
|
|
47
|
+
updateValue(value: any, args: any): any;
|
|
48
|
+
transform(value?: any, args?: any): any;
|
|
49
|
+
/**
|
|
50
|
+
* Simple function concat a list of fields from a list of objects
|
|
51
|
+
* @param list - the list of values to use
|
|
52
|
+
* @param fields - list of fields to extract
|
|
53
|
+
*/
|
|
54
|
+
concat(list: any, ...fields: any[]): any;
|
|
55
|
+
/**
|
|
56
|
+
* Simple function to look up the **label** to display from options
|
|
57
|
+
* @param value - the value to find
|
|
58
|
+
* @param list - list of options (label/value pairs)
|
|
59
|
+
*/
|
|
60
|
+
options(value: any, list: any, args: any): any;
|
|
61
|
+
getNumberDecimalPlaces(value: any): any;
|
|
62
|
+
/**
|
|
63
|
+
* Capitalizes the first letter
|
|
64
|
+
*/
|
|
65
|
+
capitalize(value: any): string;
|
|
66
|
+
}
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
export declare enum NOVO_VALUE_TYPE {
|
|
3
|
-
DEFAULT = 0,
|
|
4
|
-
ENTITY_LIST = 1,
|
|
5
|
-
LINK = 2,
|
|
6
|
-
INTERNAL_LINK = 3
|
|
7
|
-
}
|
|
8
|
-
export declare enum NOVO_VALUE_THEME {
|
|
9
|
-
DEFAULT = 0,
|
|
10
|
-
MOBILE = 1
|
|
11
|
-
}
|
|
12
|
-
export declare class NovoValueElement implements OnInit, OnChanges {
|
|
13
|
-
data: any;
|
|
14
|
-
meta: any;
|
|
15
|
-
theme: NOVO_VALUE_THEME;
|
|
16
|
-
_type: NOVO_VALUE_TYPE;
|
|
17
|
-
NOVO_VALUE_TYPE: typeof NOVO_VALUE_TYPE;
|
|
18
|
-
NOVO_VALUE_THEME: typeof NOVO_VALUE_THEME;
|
|
19
|
-
url: string;
|
|
20
|
-
customClass: string;
|
|
21
|
-
set label(lbl: string);
|
|
22
|
-
get label(): string;
|
|
23
|
-
set type(typ: string);
|
|
24
|
-
get type(): string;
|
|
25
|
-
ngOnInit(): void;
|
|
26
|
-
get isMobile(): boolean;
|
|
27
|
-
iconClass(icon: any): string;
|
|
28
|
-
get isDefault(): boolean;
|
|
29
|
-
get showLabel(): boolean;
|
|
30
|
-
get showIcon(): boolean;
|
|
31
|
-
onValueClick(icon: any): void;
|
|
32
|
-
openLink(): void;
|
|
33
|
-
ngOnChanges(changes?: SimpleChanges): any;
|
|
34
|
-
isLinkField(field: {
|
|
35
|
-
name?: string;
|
|
36
|
-
type?: NOVO_VALUE_TYPE;
|
|
37
|
-
}, data: any): boolean;
|
|
38
|
-
isEntityList(type: string): boolean;
|
|
39
|
-
isHTMLField(meta: any): boolean;
|
|
40
|
-
}
|
|
1
|
+
import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
export declare enum NOVO_VALUE_TYPE {
|
|
3
|
+
DEFAULT = 0,
|
|
4
|
+
ENTITY_LIST = 1,
|
|
5
|
+
LINK = 2,
|
|
6
|
+
INTERNAL_LINK = 3
|
|
7
|
+
}
|
|
8
|
+
export declare enum NOVO_VALUE_THEME {
|
|
9
|
+
DEFAULT = 0,
|
|
10
|
+
MOBILE = 1
|
|
11
|
+
}
|
|
12
|
+
export declare class NovoValueElement implements OnInit, OnChanges {
|
|
13
|
+
data: any;
|
|
14
|
+
meta: any;
|
|
15
|
+
theme: NOVO_VALUE_THEME;
|
|
16
|
+
_type: NOVO_VALUE_TYPE;
|
|
17
|
+
NOVO_VALUE_TYPE: typeof NOVO_VALUE_TYPE;
|
|
18
|
+
NOVO_VALUE_THEME: typeof NOVO_VALUE_THEME;
|
|
19
|
+
url: string;
|
|
20
|
+
customClass: string;
|
|
21
|
+
set label(lbl: string);
|
|
22
|
+
get label(): string;
|
|
23
|
+
set type(typ: string);
|
|
24
|
+
get type(): string;
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
get isMobile(): boolean;
|
|
27
|
+
iconClass(icon: any): string;
|
|
28
|
+
get isDefault(): boolean;
|
|
29
|
+
get showLabel(): boolean;
|
|
30
|
+
get showIcon(): boolean;
|
|
31
|
+
onValueClick(icon: any): void;
|
|
32
|
+
openLink(): void;
|
|
33
|
+
ngOnChanges(changes?: SimpleChanges): any;
|
|
34
|
+
isLinkField(field: {
|
|
35
|
+
name?: string;
|
|
36
|
+
type?: NOVO_VALUE_TYPE;
|
|
37
|
+
}, data: any): boolean;
|
|
38
|
+
isEntityList(type: string): boolean;
|
|
39
|
+
isHTMLField(meta: any): boolean;
|
|
40
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class NovoValueModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class NovoValueModule {
|
|
2
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
novo-value {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: row;
|
|
4
|
+
max-width: 500px;
|
|
5
|
+
justify-content: space-between;
|
|
6
|
+
align-items: center;
|
|
7
|
+
width: 100%;
|
|
8
|
+
padding-left: 10px;
|
|
9
|
+
padding-bottom: 10px;
|
|
10
|
+
padding-right: 15px;
|
|
11
|
+
.value-outer {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
label {
|
|
15
|
+
color: #9e9e9e;
|
|
16
|
+
font-size: 0.9em;
|
|
17
|
+
flex: 1;
|
|
18
|
+
font-weight: 500;
|
|
19
|
+
transition: 200ms ease-out;
|
|
20
|
+
text-transform: uppercase;
|
|
21
|
+
padding: 5px 0;
|
|
22
|
+
overflow-wrap: break-word;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
.actions {
|
|
26
|
+
i {
|
|
27
|
+
cursor: default;
|
|
28
|
+
color: #9e9e9e;
|
|
29
|
+
margin-left: 15px;
|
|
30
|
+
margin-top: 7px;
|
|
31
|
+
}
|
|
32
|
+
&.clickable {
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
color: $ocean;
|
|
35
|
+
&.bhi-next {
|
|
36
|
+
color: $grey;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
novo-entity-list {
|
|
41
|
+
display: block;
|
|
42
|
+
.entity {
|
|
43
|
+
padding-top: 6px;
|
|
44
|
+
padding-bottom: 6px;
|
|
45
|
+
font-size: 1.15em;
|
|
46
|
+
}
|
|
47
|
+
@each $entity, $color in $entity-colors {
|
|
48
|
+
i.#{$entity} {
|
|
49
|
+
color: $color;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
i {
|
|
53
|
+
font-size: 1.1em;
|
|
54
|
+
margin-right: 6px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
novo-value {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: row;
|
|
4
|
+
max-width: 500px;
|
|
5
|
+
justify-content: space-between;
|
|
6
|
+
align-items: center;
|
|
7
|
+
width: 100%;
|
|
8
|
+
padding: 8px;
|
|
9
|
+
|
|
10
|
+
.value-outer {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
label {
|
|
14
|
+
color: #9e9e9e;
|
|
15
|
+
font-size: 0.9em;
|
|
16
|
+
flex: 1;
|
|
17
|
+
font-weight: 500;
|
|
18
|
+
transition: 200ms ease-out;
|
|
19
|
+
text-transform: uppercase;
|
|
20
|
+
overflow-wrap: break-word;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
@each $entity, $color in $entity-colors {
|
|
24
|
+
i.#{$entity} {
|
|
25
|
+
color: $color;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
.actions {
|
|
29
|
+
i {
|
|
30
|
+
cursor: default;
|
|
31
|
+
color: #9e9e9e;
|
|
32
|
+
margin-left: 15px;
|
|
33
|
+
margin-top: 7px;
|
|
34
|
+
}
|
|
35
|
+
&.clickable {
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
color: $ocean;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
novo-entity-list {
|
|
41
|
+
display: block;
|
|
42
|
+
.entity {
|
|
43
|
+
padding-top: 6px;
|
|
44
|
+
padding-bottom: 6px;
|
|
45
|
+
font-size: 1.15em;
|
|
46
|
+
}
|
|
47
|
+
@each $entity, $color in $entity-colors {
|
|
48
|
+
i.#{$entity} {
|
|
49
|
+
color: $color;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
i {
|
|
53
|
+
font-size: 1.1em;
|
|
54
|
+
margin-right: 6px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -1,126 +1,126 @@
|
|
|
1
|
-
// NG2
|
|
2
|
-
import { Component, EventEmitter, Output, ElementRef, Input, forwardRef } from '@angular/core';
|
|
3
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
-
// Vendor
|
|
5
|
-
import 'brace/index';
|
|
6
|
-
import 'brace/theme/chrome';
|
|
7
|
-
import 'brace/mode/javascript';
|
|
8
|
-
import 'brace/ext/language_tools.js';
|
|
9
|
-
// APP
|
|
10
|
-
import { Helpers } from '../../utils/Helpers';
|
|
11
|
-
const ACE_VALUE_ACCESSOR = {
|
|
12
|
-
provide: NG_VALUE_ACCESSOR,
|
|
13
|
-
useExisting: forwardRef(() => NovoAceEditor),
|
|
14
|
-
multi: true,
|
|
15
|
-
};
|
|
16
|
-
export class NovoAceEditor {
|
|
17
|
-
constructor(elementRef) {
|
|
18
|
-
this.elementRef = elementRef;
|
|
19
|
-
this.blur = new EventEmitter();
|
|
20
|
-
this.focus = new EventEmitter();
|
|
21
|
-
this._options = {
|
|
22
|
-
showPrintMargin: false,
|
|
23
|
-
displayIndentGuides: true,
|
|
24
|
-
};
|
|
25
|
-
this._theme = 'chrome';
|
|
26
|
-
this._mode = 'javascript';
|
|
27
|
-
this.text = '';
|
|
28
|
-
this.onChange = (_) => { };
|
|
29
|
-
this.onTouched = () => { };
|
|
30
|
-
}
|
|
31
|
-
set theme(theme) {
|
|
32
|
-
this.setTheme(theme);
|
|
33
|
-
}
|
|
34
|
-
set options(options) {
|
|
35
|
-
this.setOptions(options);
|
|
36
|
-
}
|
|
37
|
-
set mode(mode) {
|
|
38
|
-
this.setMode(mode);
|
|
39
|
-
}
|
|
40
|
-
ngOnDestroy() {
|
|
41
|
-
if (this.editor) {
|
|
42
|
-
this.editor.destroy();
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
ngOnInit() {
|
|
46
|
-
this.initializeEditor();
|
|
47
|
-
this.initializeOptions();
|
|
48
|
-
this.initializeEvents();
|
|
49
|
-
}
|
|
50
|
-
initializeEditor() {
|
|
51
|
-
const el = this.elementRef.nativeElement;
|
|
52
|
-
this.editor = ace.edit(el);
|
|
53
|
-
this.editor.$blockScrolling = Infinity;
|
|
54
|
-
}
|
|
55
|
-
initializeOptions() {
|
|
56
|
-
this.setOptions(this._options || {});
|
|
57
|
-
this.setTheme(this._theme);
|
|
58
|
-
this.setMode(this._mode);
|
|
59
|
-
}
|
|
60
|
-
initializeEvents() {
|
|
61
|
-
this.editor.on('focus', (event) => this.focus.emit(event));
|
|
62
|
-
this.editor.on('blur', (event) => this.focus.emit(event));
|
|
63
|
-
this.editor.on('change', () => this.updateText());
|
|
64
|
-
this.editor.on('paste', () => this.updateText());
|
|
65
|
-
}
|
|
66
|
-
updateText() {
|
|
67
|
-
const newVal = this.editor.getValue();
|
|
68
|
-
if (newVal === this.oldText) {
|
|
69
|
-
return;
|
|
70
|
-
}
|
|
71
|
-
this.text = newVal;
|
|
72
|
-
this.onChange(newVal);
|
|
73
|
-
this.oldText = newVal;
|
|
74
|
-
}
|
|
75
|
-
setText(text) {
|
|
76
|
-
if (Helpers.isBlank(text)) {
|
|
77
|
-
text = '';
|
|
78
|
-
}
|
|
79
|
-
if (this.text !== text) {
|
|
80
|
-
this.text = text;
|
|
81
|
-
this.editor.setValue(text);
|
|
82
|
-
this.onChange(text);
|
|
83
|
-
this.editor.clearSelection();
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
setOptions(options) {
|
|
87
|
-
this._options = options;
|
|
88
|
-
this.editor.setOptions(options || {});
|
|
89
|
-
}
|
|
90
|
-
setTheme(theme) {
|
|
91
|
-
this._theme = theme;
|
|
92
|
-
this.editor.setTheme(`ace/theme/${theme}`);
|
|
93
|
-
}
|
|
94
|
-
setMode(mode) {
|
|
95
|
-
this._mode = mode;
|
|
96
|
-
this.editor.getSession().setMode(`ace/mode/${this._mode}`);
|
|
97
|
-
}
|
|
98
|
-
writeValue(value) {
|
|
99
|
-
this.setText(value);
|
|
100
|
-
}
|
|
101
|
-
registerOnChange(fn) {
|
|
102
|
-
this.onChange = fn;
|
|
103
|
-
}
|
|
104
|
-
registerOnTouched(fn) {
|
|
105
|
-
this.onTouched = fn;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
NovoAceEditor.decorators = [
|
|
109
|
-
{ type: Component, args: [{
|
|
110
|
-
selector: 'novo-ace-editor',
|
|
111
|
-
template: '',
|
|
112
|
-
providers: [ACE_VALUE_ACCESSOR]
|
|
113
|
-
},] }
|
|
114
|
-
];
|
|
115
|
-
NovoAceEditor.ctorParameters = () => [
|
|
116
|
-
{ type: ElementRef }
|
|
117
|
-
];
|
|
118
|
-
NovoAceEditor.propDecorators = {
|
|
119
|
-
theme: [{ type: Input }],
|
|
120
|
-
options: [{ type: Input }],
|
|
121
|
-
mode: [{ type: Input }],
|
|
122
|
-
name: [{ type: Input }],
|
|
123
|
-
blur: [{ type: Output }],
|
|
124
|
-
focus: [{ type: Output }]
|
|
125
|
-
};
|
|
126
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
// NG2
|
|
2
|
+
import { Component, EventEmitter, Output, ElementRef, Input, forwardRef } from '@angular/core';
|
|
3
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
+
// Vendor
|
|
5
|
+
import 'brace/index';
|
|
6
|
+
import 'brace/theme/chrome';
|
|
7
|
+
import 'brace/mode/javascript';
|
|
8
|
+
import 'brace/ext/language_tools.js';
|
|
9
|
+
// APP
|
|
10
|
+
import { Helpers } from '../../utils/Helpers';
|
|
11
|
+
const ACE_VALUE_ACCESSOR = {
|
|
12
|
+
provide: NG_VALUE_ACCESSOR,
|
|
13
|
+
useExisting: forwardRef(() => NovoAceEditor),
|
|
14
|
+
multi: true,
|
|
15
|
+
};
|
|
16
|
+
export class NovoAceEditor {
|
|
17
|
+
constructor(elementRef) {
|
|
18
|
+
this.elementRef = elementRef;
|
|
19
|
+
this.blur = new EventEmitter();
|
|
20
|
+
this.focus = new EventEmitter();
|
|
21
|
+
this._options = {
|
|
22
|
+
showPrintMargin: false,
|
|
23
|
+
displayIndentGuides: true,
|
|
24
|
+
};
|
|
25
|
+
this._theme = 'chrome';
|
|
26
|
+
this._mode = 'javascript';
|
|
27
|
+
this.text = '';
|
|
28
|
+
this.onChange = (_) => { };
|
|
29
|
+
this.onTouched = () => { };
|
|
30
|
+
}
|
|
31
|
+
set theme(theme) {
|
|
32
|
+
this.setTheme(theme);
|
|
33
|
+
}
|
|
34
|
+
set options(options) {
|
|
35
|
+
this.setOptions(options);
|
|
36
|
+
}
|
|
37
|
+
set mode(mode) {
|
|
38
|
+
this.setMode(mode);
|
|
39
|
+
}
|
|
40
|
+
ngOnDestroy() {
|
|
41
|
+
if (this.editor) {
|
|
42
|
+
this.editor.destroy();
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
ngOnInit() {
|
|
46
|
+
this.initializeEditor();
|
|
47
|
+
this.initializeOptions();
|
|
48
|
+
this.initializeEvents();
|
|
49
|
+
}
|
|
50
|
+
initializeEditor() {
|
|
51
|
+
const el = this.elementRef.nativeElement;
|
|
52
|
+
this.editor = ace.edit(el);
|
|
53
|
+
this.editor.$blockScrolling = Infinity;
|
|
54
|
+
}
|
|
55
|
+
initializeOptions() {
|
|
56
|
+
this.setOptions(this._options || {});
|
|
57
|
+
this.setTheme(this._theme);
|
|
58
|
+
this.setMode(this._mode);
|
|
59
|
+
}
|
|
60
|
+
initializeEvents() {
|
|
61
|
+
this.editor.on('focus', (event) => this.focus.emit(event));
|
|
62
|
+
this.editor.on('blur', (event) => this.focus.emit(event));
|
|
63
|
+
this.editor.on('change', () => this.updateText());
|
|
64
|
+
this.editor.on('paste', () => this.updateText());
|
|
65
|
+
}
|
|
66
|
+
updateText() {
|
|
67
|
+
const newVal = this.editor.getValue();
|
|
68
|
+
if (newVal === this.oldText) {
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
this.text = newVal;
|
|
72
|
+
this.onChange(newVal);
|
|
73
|
+
this.oldText = newVal;
|
|
74
|
+
}
|
|
75
|
+
setText(text) {
|
|
76
|
+
if (Helpers.isBlank(text)) {
|
|
77
|
+
text = '';
|
|
78
|
+
}
|
|
79
|
+
if (this.text !== text) {
|
|
80
|
+
this.text = text;
|
|
81
|
+
this.editor.setValue(text);
|
|
82
|
+
this.onChange(text);
|
|
83
|
+
this.editor.clearSelection();
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
setOptions(options) {
|
|
87
|
+
this._options = options;
|
|
88
|
+
this.editor.setOptions(options || {});
|
|
89
|
+
}
|
|
90
|
+
setTheme(theme) {
|
|
91
|
+
this._theme = theme;
|
|
92
|
+
this.editor.setTheme(`ace/theme/${theme}`);
|
|
93
|
+
}
|
|
94
|
+
setMode(mode) {
|
|
95
|
+
this._mode = mode;
|
|
96
|
+
this.editor.getSession().setMode(`ace/mode/${this._mode}`);
|
|
97
|
+
}
|
|
98
|
+
writeValue(value) {
|
|
99
|
+
this.setText(value);
|
|
100
|
+
}
|
|
101
|
+
registerOnChange(fn) {
|
|
102
|
+
this.onChange = fn;
|
|
103
|
+
}
|
|
104
|
+
registerOnTouched(fn) {
|
|
105
|
+
this.onTouched = fn;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
NovoAceEditor.decorators = [
|
|
109
|
+
{ type: Component, args: [{
|
|
110
|
+
selector: 'novo-ace-editor',
|
|
111
|
+
template: '',
|
|
112
|
+
providers: [ACE_VALUE_ACCESSOR]
|
|
113
|
+
},] }
|
|
114
|
+
];
|
|
115
|
+
NovoAceEditor.ctorParameters = () => [
|
|
116
|
+
{ type: ElementRef }
|
|
117
|
+
];
|
|
118
|
+
NovoAceEditor.propDecorators = {
|
|
119
|
+
theme: [{ type: Input }],
|
|
120
|
+
options: [{ type: Input }],
|
|
121
|
+
mode: [{ type: Input }],
|
|
122
|
+
name: [{ type: Input }],
|
|
123
|
+
blur: [{ type: Output }],
|
|
124
|
+
focus: [{ type: Output }]
|
|
125
|
+
};
|
|
126
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQWNlRWRpdG9yLmpzIiwic291cmNlUm9vdCI6Ii9ob21lL3J1bm5lci93b3JrL25vdm8tZWxlbWVudHMvbm92by1lbGVtZW50cy9wcm9qZWN0cy9ub3ZvLWVsZW1lbnRzL3NyYy8iLCJzb3VyY2VzIjpbImVsZW1lbnRzL2FjZS1lZGl0b3IvQWNlRWRpdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU07QUFDTixPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLEtBQUssRUFBRSxVQUFVLEVBQXFCLE1BQU0sZUFBZSxDQUFDO0FBQ2xILE9BQU8sRUFBRSxpQkFBaUIsRUFBd0IsTUFBTSxnQkFBZ0IsQ0FBQztBQUN6RSxTQUFTO0FBQ1QsT0FBTyxhQUFhLENBQUM7QUFDckIsT0FBTyxvQkFBb0IsQ0FBQztBQUM1QixPQUFPLHVCQUF1QixDQUFDO0FBQy9CLE9BQU8sNkJBQTZCLENBQUM7QUFDckMsTUFBTTtBQUNOLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUk5QyxNQUFNLGtCQUFrQixHQUFHO0lBQ3pCLE9BQU8sRUFBRSxpQkFBaUI7SUFDMUIsV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