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
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
google-places-list {
|
|
2
|
+
novo-list {
|
|
3
|
+
border: 1px solid #4a89dc;
|
|
4
|
+
novo-list-item {
|
|
5
|
+
cursor: pointer;
|
|
6
|
+
flex: 0 0;
|
|
7
|
+
transition: background-color 250ms;
|
|
8
|
+
& > div {
|
|
9
|
+
width: 100%;
|
|
10
|
+
}
|
|
11
|
+
&.active {
|
|
12
|
+
background-color: lighten($positive, 35%);
|
|
13
|
+
}
|
|
14
|
+
&:hover {
|
|
15
|
+
background-color: lighten($positive, 39%);
|
|
16
|
+
}
|
|
17
|
+
item-content {
|
|
18
|
+
flex-flow: row wrap;
|
|
19
|
+
& > * {
|
|
20
|
+
flex: 0 0 33%;
|
|
21
|
+
white-space: nowrap;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class GooglePlacesModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class GooglePlacesModule {
|
|
2
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { GlobalRef } from '../../services/global/global.service';
|
|
3
|
-
import { LocalStorageService } from '../../services/storage/storage.service';
|
|
4
|
-
export declare class GooglePlacesService {
|
|
5
|
-
private _http;
|
|
6
|
-
private platformId;
|
|
7
|
-
private _global;
|
|
8
|
-
private _localStorageService;
|
|
9
|
-
constructor(_http: HttpClient, platformId: Object, _global: GlobalRef, _localStorageService: LocalStorageService);
|
|
10
|
-
getPredictions(url: string, query: string): Promise<any>;
|
|
11
|
-
getLatLngDetail(url: string, lat: number, lng: number): Promise<any>;
|
|
12
|
-
getPlaceDetails(url: string, placeId: string): Promise<any>;
|
|
13
|
-
getGeoCurrentLocation(): Promise<any>;
|
|
14
|
-
getGeoLatLngDetail(latlng: any): Promise<any>;
|
|
15
|
-
getGeoPrediction(params: any): Promise<any>;
|
|
16
|
-
getGeoPlaceDetail(placeId: string): Promise<any>;
|
|
17
|
-
getGeoPaceDetailByReferance(referance: string): Promise<any>;
|
|
18
|
-
addRecentList(localStorageName: string, result: any, itemSavedLength: number): any;
|
|
19
|
-
getRecentList(localStorageName: string): Promise<any>;
|
|
20
|
-
private getUniqueResults;
|
|
21
|
-
private geoPredictionCall;
|
|
22
|
-
}
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { GlobalRef } from '../../services/global/global.service';
|
|
3
|
+
import { LocalStorageService } from '../../services/storage/storage.service';
|
|
4
|
+
export declare class GooglePlacesService {
|
|
5
|
+
private _http;
|
|
6
|
+
private platformId;
|
|
7
|
+
private _global;
|
|
8
|
+
private _localStorageService;
|
|
9
|
+
constructor(_http: HttpClient, platformId: Object, _global: GlobalRef, _localStorageService: LocalStorageService);
|
|
10
|
+
getPredictions(url: string, query: string): Promise<any>;
|
|
11
|
+
getLatLngDetail(url: string, lat: number, lng: number): Promise<any>;
|
|
12
|
+
getPlaceDetails(url: string, placeId: string): Promise<any>;
|
|
13
|
+
getGeoCurrentLocation(): Promise<any>;
|
|
14
|
+
getGeoLatLngDetail(latlng: any): Promise<any>;
|
|
15
|
+
getGeoPrediction(params: any): Promise<any>;
|
|
16
|
+
getGeoPlaceDetail(placeId: string): Promise<any>;
|
|
17
|
+
getGeoPaceDetailByReferance(referance: string): Promise<any>;
|
|
18
|
+
addRecentList(localStorageName: string, result: any, itemSavedLength: number): any;
|
|
19
|
+
getRecentList(localStorageName: string): Promise<any>;
|
|
20
|
+
private getUniqueResults;
|
|
21
|
+
private geoPredictionCall;
|
|
22
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { OnChanges, ComponentRef, ViewContainerRef, ComponentFactoryResolver, EventEmitter, SimpleChange } from '@angular/core';
|
|
2
|
-
import { PopOverContent } from './PopOverContent';
|
|
3
|
-
export declare class PopOverDirective implements OnChanges {
|
|
4
|
-
protected viewContainerRef: ViewContainerRef;
|
|
5
|
-
protected resolver: ComponentFactoryResolver;
|
|
6
|
-
protected PopoverComponent: typeof PopOverContent;
|
|
7
|
-
protected popover: ComponentRef<PopOverContent>;
|
|
8
|
-
protected visible: boolean;
|
|
9
|
-
constructor(viewContainerRef: ViewContainerRef, resolver: ComponentFactoryResolver);
|
|
10
|
-
content: string | PopOverContent;
|
|
11
|
-
popoverDisabled: boolean;
|
|
12
|
-
popoverAlways: boolean;
|
|
13
|
-
popoverAnimation: boolean;
|
|
14
|
-
popoverPlacement: string;
|
|
15
|
-
popoverTitle: string;
|
|
16
|
-
popoverOnHover: boolean;
|
|
17
|
-
popoverDismissTimeout: number;
|
|
18
|
-
onShown: EventEmitter<PopOverDirective>;
|
|
19
|
-
onHidden: EventEmitter<PopOverDirective>;
|
|
20
|
-
showOrHideOnClick(): void;
|
|
21
|
-
showOnHover(): void;
|
|
22
|
-
hideOnHover(): void;
|
|
23
|
-
ngOnChanges(changes: {
|
|
24
|
-
[propertyName: string]: SimpleChange;
|
|
25
|
-
}): void;
|
|
26
|
-
toggle(): void;
|
|
27
|
-
show(): void;
|
|
28
|
-
hide(): void;
|
|
29
|
-
getElement(): any;
|
|
30
|
-
}
|
|
1
|
+
import { OnChanges, ComponentRef, ViewContainerRef, ComponentFactoryResolver, EventEmitter, SimpleChange } from '@angular/core';
|
|
2
|
+
import { PopOverContent } from './PopOverContent';
|
|
3
|
+
export declare class PopOverDirective implements OnChanges {
|
|
4
|
+
protected viewContainerRef: ViewContainerRef;
|
|
5
|
+
protected resolver: ComponentFactoryResolver;
|
|
6
|
+
protected PopoverComponent: typeof PopOverContent;
|
|
7
|
+
protected popover: ComponentRef<PopOverContent>;
|
|
8
|
+
protected visible: boolean;
|
|
9
|
+
constructor(viewContainerRef: ViewContainerRef, resolver: ComponentFactoryResolver);
|
|
10
|
+
content: string | PopOverContent;
|
|
11
|
+
popoverDisabled: boolean;
|
|
12
|
+
popoverAlways: boolean;
|
|
13
|
+
popoverAnimation: boolean;
|
|
14
|
+
popoverPlacement: string;
|
|
15
|
+
popoverTitle: string;
|
|
16
|
+
popoverOnHover: boolean;
|
|
17
|
+
popoverDismissTimeout: number;
|
|
18
|
+
onShown: EventEmitter<PopOverDirective>;
|
|
19
|
+
onHidden: EventEmitter<PopOverDirective>;
|
|
20
|
+
showOrHideOnClick(): void;
|
|
21
|
+
showOnHover(): void;
|
|
22
|
+
hideOnHover(): void;
|
|
23
|
+
ngOnChanges(changes: {
|
|
24
|
+
[propertyName: string]: SimpleChange;
|
|
25
|
+
}): void;
|
|
26
|
+
toggle(): void;
|
|
27
|
+
show(): void;
|
|
28
|
+
hide(): void;
|
|
29
|
+
getElement(): any;
|
|
30
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class NovoPopOverModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class NovoPopOverModule {
|
|
2
|
+
}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
@mixin reset-text() {
|
|
2
|
+
font-family: $base-font-family; // We deliberately do NOT reset font-size.
|
|
3
|
+
font-style: normal;
|
|
4
|
+
font-weight: normal;
|
|
5
|
+
letter-spacing: normal;
|
|
6
|
+
line-break: auto;
|
|
7
|
+
line-height: 1.428571429;
|
|
8
|
+
text-align: left; // Fallback for where `flex-start` is not supported
|
|
9
|
+
text-align: flex-start;
|
|
10
|
+
text-decoration: none;
|
|
11
|
+
text-shadow: none;
|
|
12
|
+
text-transform: none;
|
|
13
|
+
white-space: normal;
|
|
14
|
+
word-break: normal;
|
|
15
|
+
word-spacing: normal;
|
|
16
|
+
word-wrap: normal;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
popover-content {
|
|
20
|
+
.popover {
|
|
21
|
+
position: absolute;
|
|
22
|
+
top: 0;
|
|
23
|
+
left: 0;
|
|
24
|
+
z-index: 10000;
|
|
25
|
+
display: none;
|
|
26
|
+
width: 400px;
|
|
27
|
+
padding: 23px 20px 16px 20px;
|
|
28
|
+
@include reset-text;
|
|
29
|
+
font-size: 14px;
|
|
30
|
+
background-color: #fff;
|
|
31
|
+
background-clip: padding-box;
|
|
32
|
+
box-shadow: 0 1px 7px rgba(0, 0, 0, 0.09), 0 1px 3px rgba(0, 0, 0, 0.2);
|
|
33
|
+
&.top {
|
|
34
|
+
margin-top: -10px;
|
|
35
|
+
&.virtual-area {
|
|
36
|
+
bottom: -11px;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
&.right {
|
|
40
|
+
margin-left: 10px;
|
|
41
|
+
&.virtual-area {
|
|
42
|
+
left: -11px;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
&.bottom {
|
|
46
|
+
margin-top: 10px;
|
|
47
|
+
&.virtual-area {
|
|
48
|
+
top: -11px;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
&.left {
|
|
52
|
+
margin-left: -10px;
|
|
53
|
+
&.virtual-area {
|
|
54
|
+
right: -11px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
.virtual-area {
|
|
58
|
+
height: 11px;
|
|
59
|
+
width: 100%;
|
|
60
|
+
position: absolute;
|
|
61
|
+
} // Arrows
|
|
62
|
+
// .arrow is outer, .arrow:after is inner
|
|
63
|
+
&.top > .arrow {
|
|
64
|
+
margin-left: -9px;
|
|
65
|
+
border-bottom-width: 0;
|
|
66
|
+
border-top-color: rgba(0, 0, 0, 0.1);
|
|
67
|
+
bottom: -9px;
|
|
68
|
+
&:after {
|
|
69
|
+
content: ' ';
|
|
70
|
+
bottom: 1px;
|
|
71
|
+
margin-left: -10px;
|
|
72
|
+
border-bottom-width: 0;
|
|
73
|
+
border-top-color: #fff;
|
|
74
|
+
}
|
|
75
|
+
&.center {
|
|
76
|
+
left: 50%;
|
|
77
|
+
}
|
|
78
|
+
&.left {
|
|
79
|
+
left: 91%;
|
|
80
|
+
}
|
|
81
|
+
&.right {
|
|
82
|
+
left: 9%;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
&.right > .arrow {
|
|
86
|
+
left: -9px;
|
|
87
|
+
margin-top: -9px;
|
|
88
|
+
border-left-width: 0;
|
|
89
|
+
border-right-color: rgba(0, 0, 0, 0.1);
|
|
90
|
+
&:after {
|
|
91
|
+
content: ' ';
|
|
92
|
+
left: 1px;
|
|
93
|
+
bottom: -10px;
|
|
94
|
+
border-left-width: 0;
|
|
95
|
+
border-right-color: #fff;
|
|
96
|
+
}
|
|
97
|
+
&.center {
|
|
98
|
+
top: 50%;
|
|
99
|
+
}
|
|
100
|
+
&.top {
|
|
101
|
+
top: 91%;
|
|
102
|
+
}
|
|
103
|
+
&.bottom {
|
|
104
|
+
top: 9%;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
&.bottom > .arrow {
|
|
108
|
+
margin-left: -9px;
|
|
109
|
+
border-top-width: 0;
|
|
110
|
+
border-bottom-color: rgba(0, 0, 0, 0.1);
|
|
111
|
+
top: -9px;
|
|
112
|
+
&:after {
|
|
113
|
+
content: ' ';
|
|
114
|
+
top: 1px;
|
|
115
|
+
margin-left: -10px;
|
|
116
|
+
border-top-width: 0;
|
|
117
|
+
border-bottom-color: #fff;
|
|
118
|
+
}
|
|
119
|
+
&.center {
|
|
120
|
+
left: 50%;
|
|
121
|
+
}
|
|
122
|
+
&.left {
|
|
123
|
+
left: 91%;
|
|
124
|
+
}
|
|
125
|
+
&.right {
|
|
126
|
+
left: 9%;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
&.left > .arrow {
|
|
130
|
+
right: -9px;
|
|
131
|
+
margin-top: -9px;
|
|
132
|
+
border-right-width: 0;
|
|
133
|
+
border-left-color: rgba(0, 0, 0, 0.1);
|
|
134
|
+
&:after {
|
|
135
|
+
content: ' ';
|
|
136
|
+
right: 1px;
|
|
137
|
+
border-right-width: 0;
|
|
138
|
+
border-left-color: #fff;
|
|
139
|
+
bottom: -10px;
|
|
140
|
+
}
|
|
141
|
+
&.center {
|
|
142
|
+
top: 50%;
|
|
143
|
+
}
|
|
144
|
+
&.top {
|
|
145
|
+
top: 91%;
|
|
146
|
+
}
|
|
147
|
+
&.bottom {
|
|
148
|
+
top: 9%;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
.popover > .arrow {
|
|
153
|
+
border-width: 9px;
|
|
154
|
+
&,
|
|
155
|
+
&:after {
|
|
156
|
+
position: absolute;
|
|
157
|
+
display: block;
|
|
158
|
+
width: 0;
|
|
159
|
+
height: 0;
|
|
160
|
+
border-color: transparent;
|
|
161
|
+
border-style: solid;
|
|
162
|
+
}
|
|
163
|
+
&:after {
|
|
164
|
+
border-width: 10px;
|
|
165
|
+
content: '';
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
.popover-title {
|
|
169
|
+
margin: 0; // reset heading margin
|
|
170
|
+
padding: 0 0 8px 0;
|
|
171
|
+
font-weight: 600;
|
|
172
|
+
}
|
|
173
|
+
.popover-content {
|
|
174
|
+
padding: 9px 0;
|
|
175
|
+
.popover-content-text {
|
|
176
|
+
white-space: pre-line;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { PopOverDirective } from './PopOver';
|
|
3
|
-
export declare class PopOverContent implements AfterViewInit {
|
|
4
|
-
protected element: ElementRef;
|
|
5
|
-
protected cdr: ChangeDetectorRef;
|
|
6
|
-
content: string;
|
|
7
|
-
placement: string;
|
|
8
|
-
title: string;
|
|
9
|
-
animation: boolean;
|
|
10
|
-
popoverDiv: ElementRef;
|
|
11
|
-
popover: PopOverDirective;
|
|
12
|
-
onCloseFromOutside: EventEmitter<any>;
|
|
13
|
-
top: number;
|
|
14
|
-
left: number;
|
|
15
|
-
displayType: string;
|
|
16
|
-
effectivePlacement: string;
|
|
17
|
-
effectiveAlignment: string;
|
|
18
|
-
isHidden: boolean;
|
|
19
|
-
constructor(element: ElementRef, cdr: ChangeDetectorRef);
|
|
20
|
-
ngAfterViewInit(): void;
|
|
21
|
-
toggle(): void;
|
|
22
|
-
show(): void;
|
|
23
|
-
hide(): void;
|
|
24
|
-
hideFromPopover(): void;
|
|
25
|
-
protected positionElements(hostEl: HTMLElement, targetEl: HTMLElement, positionStr: string, appendToBody?: boolean): {
|
|
26
|
-
top: number;
|
|
27
|
-
left: number;
|
|
28
|
-
};
|
|
29
|
-
protected position(nativeEl: HTMLElement): {
|
|
30
|
-
width: number;
|
|
31
|
-
height: number;
|
|
32
|
-
top: number;
|
|
33
|
-
left: number;
|
|
34
|
-
};
|
|
35
|
-
protected offset(nativeEl: any): {
|
|
36
|
-
width: number;
|
|
37
|
-
height: number;
|
|
38
|
-
top: number;
|
|
39
|
-
left: number;
|
|
40
|
-
};
|
|
41
|
-
protected getStyle(nativeEl: HTMLElement, cssProp: string): string;
|
|
42
|
-
protected isStaticPositioned(nativeEl: HTMLElement): boolean;
|
|
43
|
-
protected parentOffsetEl(nativeEl: HTMLElement): any;
|
|
44
|
-
protected getEffectivePlacement(desiredPlacement: string, hostElement: HTMLElement, targetElement: HTMLElement): string;
|
|
45
|
-
}
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { PopOverDirective } from './PopOver';
|
|
3
|
+
export declare class PopOverContent implements AfterViewInit {
|
|
4
|
+
protected element: ElementRef;
|
|
5
|
+
protected cdr: ChangeDetectorRef;
|
|
6
|
+
content: string;
|
|
7
|
+
placement: string;
|
|
8
|
+
title: string;
|
|
9
|
+
animation: boolean;
|
|
10
|
+
popoverDiv: ElementRef;
|
|
11
|
+
popover: PopOverDirective;
|
|
12
|
+
onCloseFromOutside: EventEmitter<any>;
|
|
13
|
+
top: number;
|
|
14
|
+
left: number;
|
|
15
|
+
displayType: string;
|
|
16
|
+
effectivePlacement: string;
|
|
17
|
+
effectiveAlignment: string;
|
|
18
|
+
isHidden: boolean;
|
|
19
|
+
constructor(element: ElementRef, cdr: ChangeDetectorRef);
|
|
20
|
+
ngAfterViewInit(): void;
|
|
21
|
+
toggle(): void;
|
|
22
|
+
show(): void;
|
|
23
|
+
hide(): void;
|
|
24
|
+
hideFromPopover(): void;
|
|
25
|
+
protected positionElements(hostEl: HTMLElement, targetEl: HTMLElement, positionStr: string, appendToBody?: boolean): {
|
|
26
|
+
top: number;
|
|
27
|
+
left: number;
|
|
28
|
+
};
|
|
29
|
+
protected position(nativeEl: HTMLElement): {
|
|
30
|
+
width: number;
|
|
31
|
+
height: number;
|
|
32
|
+
top: number;
|
|
33
|
+
left: number;
|
|
34
|
+
};
|
|
35
|
+
protected offset(nativeEl: any): {
|
|
36
|
+
width: number;
|
|
37
|
+
height: number;
|
|
38
|
+
top: number;
|
|
39
|
+
left: number;
|
|
40
|
+
};
|
|
41
|
+
protected getStyle(nativeEl: HTMLElement, cssProp: string): string;
|
|
42
|
+
protected isStaticPositioned(nativeEl: HTMLElement): boolean;
|
|
43
|
+
protected parentOffsetEl(nativeEl: HTMLElement): any;
|
|
44
|
+
protected getEffectivePlacement(desiredPlacement: string, hostElement: HTMLElement, targetElement: HTMLElement): string;
|
|
45
|
+
}
|
|
@@ -1,139 +1,139 @@
|
|
|
1
|
-
import { EventEmitter, ElementRef, ViewContainerRef, OnInit, AfterViewInit, OnDestroy, NgZone } from '@angular/core';
|
|
2
|
-
import { OutsideClick } from './../../utils/outside-click/OutsideClick';
|
|
3
|
-
import { ComponentUtils } from './../../utils/component-utils/ComponentUtils';
|
|
4
|
-
export declare class QuickNoteElement extends OutsideClick implements OnInit, OnDestroy, AfterViewInit {
|
|
5
|
-
private zone;
|
|
6
|
-
private componentUtils;
|
|
7
|
-
wrapper: ElementRef;
|
|
8
|
-
host: ElementRef;
|
|
9
|
-
results: ViewContainerRef;
|
|
10
|
-
config: any;
|
|
11
|
-
startupFocus: boolean;
|
|
12
|
-
placeholder: string;
|
|
13
|
-
focus: EventEmitter<any>;
|
|
14
|
-
blur: EventEmitter<any>;
|
|
15
|
-
change: EventEmitter<any>;
|
|
16
|
-
private resultsComponent;
|
|
17
|
-
private quickNoteResults;
|
|
18
|
-
private isTagging;
|
|
19
|
-
private taggingMode;
|
|
20
|
-
private model;
|
|
21
|
-
private ckeInstance;
|
|
22
|
-
private debounceTimeout;
|
|
23
|
-
private placeholderVisible;
|
|
24
|
-
private _placeholderElement;
|
|
25
|
-
private static TOOLBAR_HEIGHT;
|
|
26
|
-
private onModelChange;
|
|
27
|
-
private onModelTouched;
|
|
28
|
-
constructor(zone: NgZone, element: ElementRef, componentUtils: ComponentUtils);
|
|
29
|
-
ngOnInit(): void;
|
|
30
|
-
ngOnDestroy(): void;
|
|
31
|
-
/**
|
|
32
|
-
* Connect to key/mouse events from CKEditor after the editor has been initialized
|
|
33
|
-
*/
|
|
34
|
-
ngAfterViewInit(): void;
|
|
35
|
-
onTouched(event?: any): void;
|
|
36
|
-
/**
|
|
37
|
-
* Handles setting the model and the view from the outside caller or the user's typing
|
|
38
|
-
*
|
|
39
|
-
* @param model A model that has a note (html content) and references (array of objects)
|
|
40
|
-
*/
|
|
41
|
-
writeValue(model: any): void;
|
|
42
|
-
registerOnChange(fn: Function): void;
|
|
43
|
-
registerOnTouched(fn: Function): void;
|
|
44
|
-
/**
|
|
45
|
-
* If a renderer is not provided, the QuickNote will default to using this one, an anchor tag with no href
|
|
46
|
-
*/
|
|
47
|
-
private static defaultRenderer;
|
|
48
|
-
/**
|
|
49
|
-
* Returns the renderer for a given tagging mode if it exists in the config, otherwise the default.
|
|
50
|
-
*/
|
|
51
|
-
private getRenderer;
|
|
52
|
-
/**
|
|
53
|
-
* Called every time a keystroke is made in the editor. Listens for particular keys (e.g. UP arrow, ESC, etc.)
|
|
54
|
-
* to handle certain behaviors of the picker.
|
|
55
|
-
*
|
|
56
|
-
* Runs within the context of the CKEditor, so actions that affect the view have to be run back inside of the
|
|
57
|
-
* Angular zone of this class.
|
|
58
|
-
*
|
|
59
|
-
* @param event The key press event
|
|
60
|
-
* @return true to allow the event to occur, false to cancel the event
|
|
61
|
-
*/
|
|
62
|
-
private onKey;
|
|
63
|
-
/**
|
|
64
|
-
* Debounced method that is run in the proper Angular context when the user has modified the CKEditor.
|
|
65
|
-
* After the value has been updated in CKEditor, this will propagate that change to the model and listeners.
|
|
66
|
-
*/
|
|
67
|
-
private onValueChange;
|
|
68
|
-
/**
|
|
69
|
-
* Creates an instance of the results (called popup) and adds all the bindings to that instance.
|
|
70
|
-
*/
|
|
71
|
-
private showResults;
|
|
72
|
-
/**
|
|
73
|
-
* Deletes the picker results from the DOM.
|
|
74
|
-
*/
|
|
75
|
-
private hideResults;
|
|
76
|
-
/**
|
|
77
|
-
* Handles the selection from the QuickNoteResults Component. Called by the QuickNoteResults component on it's
|
|
78
|
-
* parent (this element).
|
|
79
|
-
*
|
|
80
|
-
* @param taggingMode - type of tags we are looking for
|
|
81
|
-
* @param selected - selected object from the picker that has a label and value
|
|
82
|
-
*/
|
|
83
|
-
private onSelected;
|
|
84
|
-
/**
|
|
85
|
-
* Convenience method that gets the current word that the cursor is on, minus the tag.
|
|
86
|
-
* Also, trims any whitespace before/after the term to aid in searching.
|
|
87
|
-
*/
|
|
88
|
-
private getSearchTerm;
|
|
89
|
-
/**
|
|
90
|
-
* Gets the current word that the cursor is on CKEditor. Current word starts at the beginning of the line or a
|
|
91
|
-
* tag character if we are in tagging mode. Current word ends at the end of the line or an empty space.
|
|
92
|
-
*
|
|
93
|
-
* @returns plain text string (removes all html formatting)
|
|
94
|
-
*/
|
|
95
|
-
private getWordAtCursor;
|
|
96
|
-
/**
|
|
97
|
-
* Replaces the word that the user is on with the given html.
|
|
98
|
-
*
|
|
99
|
-
* CKEditor gives us access to the current line of html in the editor, so we replace the content of
|
|
100
|
-
* the line, replacing only the current word.
|
|
101
|
-
*/
|
|
102
|
-
private replaceWordAtCursor;
|
|
103
|
-
/**
|
|
104
|
-
* Returns current references, minus any from the model that have been removed from the editor.
|
|
105
|
-
*/
|
|
106
|
-
private validateReferences;
|
|
107
|
-
/**
|
|
108
|
-
* Configures the CKEditor for QuickNote functionality.
|
|
109
|
-
*
|
|
110
|
-
* Sets the height of the CKEditor dynamically to the height of the wrapper upon initialization.
|
|
111
|
-
* Removes the toolbar on the bottom and configures a slimmed down version of the toolbar.
|
|
112
|
-
* Removes plugins and turns off setting to allow browser based spell checking.
|
|
113
|
-
*/
|
|
114
|
-
private getCKEditorConfig;
|
|
115
|
-
/**
|
|
116
|
-
* Returns the current screen position of the cursor in CKEditor, accounting for any scrolling in the editor.
|
|
117
|
-
*/
|
|
118
|
-
private getCursorPosition;
|
|
119
|
-
/**
|
|
120
|
-
* Positions the results dropdown based on the location of the cursor in the text field
|
|
121
|
-
*/
|
|
122
|
-
private positionResultsDropdown;
|
|
123
|
-
/**
|
|
124
|
-
* Returns the height in pixels of the content area - the text that the user has entered.
|
|
125
|
-
*/
|
|
126
|
-
private getContentHeight;
|
|
127
|
-
/**
|
|
128
|
-
* Show the placeholder text if the editor is empty
|
|
129
|
-
*/
|
|
130
|
-
private showPlaceholder;
|
|
131
|
-
/**
|
|
132
|
-
* Hide the placeholder text by removing the placeholder element from the DOM
|
|
133
|
-
*/
|
|
134
|
-
private hidePlaceholder;
|
|
135
|
-
/**
|
|
136
|
-
* Get or create the single placeholder object that is constructed only when needed.
|
|
137
|
-
*/
|
|
138
|
-
private get placeholderElement();
|
|
139
|
-
}
|
|
1
|
+
import { EventEmitter, ElementRef, ViewContainerRef, OnInit, AfterViewInit, OnDestroy, NgZone } from '@angular/core';
|
|
2
|
+
import { OutsideClick } from './../../utils/outside-click/OutsideClick';
|
|
3
|
+
import { ComponentUtils } from './../../utils/component-utils/ComponentUtils';
|
|
4
|
+
export declare class QuickNoteElement extends OutsideClick implements OnInit, OnDestroy, AfterViewInit {
|
|
5
|
+
private zone;
|
|
6
|
+
private componentUtils;
|
|
7
|
+
wrapper: ElementRef;
|
|
8
|
+
host: ElementRef;
|
|
9
|
+
results: ViewContainerRef;
|
|
10
|
+
config: any;
|
|
11
|
+
startupFocus: boolean;
|
|
12
|
+
placeholder: string;
|
|
13
|
+
focus: EventEmitter<any>;
|
|
14
|
+
blur: EventEmitter<any>;
|
|
15
|
+
change: EventEmitter<any>;
|
|
16
|
+
private resultsComponent;
|
|
17
|
+
private quickNoteResults;
|
|
18
|
+
private isTagging;
|
|
19
|
+
private taggingMode;
|
|
20
|
+
private model;
|
|
21
|
+
private ckeInstance;
|
|
22
|
+
private debounceTimeout;
|
|
23
|
+
private placeholderVisible;
|
|
24
|
+
private _placeholderElement;
|
|
25
|
+
private static TOOLBAR_HEIGHT;
|
|
26
|
+
private onModelChange;
|
|
27
|
+
private onModelTouched;
|
|
28
|
+
constructor(zone: NgZone, element: ElementRef, componentUtils: ComponentUtils);
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
ngOnDestroy(): void;
|
|
31
|
+
/**
|
|
32
|
+
* Connect to key/mouse events from CKEditor after the editor has been initialized
|
|
33
|
+
*/
|
|
34
|
+
ngAfterViewInit(): void;
|
|
35
|
+
onTouched(event?: any): void;
|
|
36
|
+
/**
|
|
37
|
+
* Handles setting the model and the view from the outside caller or the user's typing
|
|
38
|
+
*
|
|
39
|
+
* @param model A model that has a note (html content) and references (array of objects)
|
|
40
|
+
*/
|
|
41
|
+
writeValue(model: any): void;
|
|
42
|
+
registerOnChange(fn: Function): void;
|
|
43
|
+
registerOnTouched(fn: Function): void;
|
|
44
|
+
/**
|
|
45
|
+
* If a renderer is not provided, the QuickNote will default to using this one, an anchor tag with no href
|
|
46
|
+
*/
|
|
47
|
+
private static defaultRenderer;
|
|
48
|
+
/**
|
|
49
|
+
* Returns the renderer for a given tagging mode if it exists in the config, otherwise the default.
|
|
50
|
+
*/
|
|
51
|
+
private getRenderer;
|
|
52
|
+
/**
|
|
53
|
+
* Called every time a keystroke is made in the editor. Listens for particular keys (e.g. UP arrow, ESC, etc.)
|
|
54
|
+
* to handle certain behaviors of the picker.
|
|
55
|
+
*
|
|
56
|
+
* Runs within the context of the CKEditor, so actions that affect the view have to be run back inside of the
|
|
57
|
+
* Angular zone of this class.
|
|
58
|
+
*
|
|
59
|
+
* @param event The key press event
|
|
60
|
+
* @return true to allow the event to occur, false to cancel the event
|
|
61
|
+
*/
|
|
62
|
+
private onKey;
|
|
63
|
+
/**
|
|
64
|
+
* Debounced method that is run in the proper Angular context when the user has modified the CKEditor.
|
|
65
|
+
* After the value has been updated in CKEditor, this will propagate that change to the model and listeners.
|
|
66
|
+
*/
|
|
67
|
+
private onValueChange;
|
|
68
|
+
/**
|
|
69
|
+
* Creates an instance of the results (called popup) and adds all the bindings to that instance.
|
|
70
|
+
*/
|
|
71
|
+
private showResults;
|
|
72
|
+
/**
|
|
73
|
+
* Deletes the picker results from the DOM.
|
|
74
|
+
*/
|
|
75
|
+
private hideResults;
|
|
76
|
+
/**
|
|
77
|
+
* Handles the selection from the QuickNoteResults Component. Called by the QuickNoteResults component on it's
|
|
78
|
+
* parent (this element).
|
|
79
|
+
*
|
|
80
|
+
* @param taggingMode - type of tags we are looking for
|
|
81
|
+
* @param selected - selected object from the picker that has a label and value
|
|
82
|
+
*/
|
|
83
|
+
private onSelected;
|
|
84
|
+
/**
|
|
85
|
+
* Convenience method that gets the current word that the cursor is on, minus the tag.
|
|
86
|
+
* Also, trims any whitespace before/after the term to aid in searching.
|
|
87
|
+
*/
|
|
88
|
+
private getSearchTerm;
|
|
89
|
+
/**
|
|
90
|
+
* Gets the current word that the cursor is on CKEditor. Current word starts at the beginning of the line or a
|
|
91
|
+
* tag character if we are in tagging mode. Current word ends at the end of the line or an empty space.
|
|
92
|
+
*
|
|
93
|
+
* @returns plain text string (removes all html formatting)
|
|
94
|
+
*/
|
|
95
|
+
private getWordAtCursor;
|
|
96
|
+
/**
|
|
97
|
+
* Replaces the word that the user is on with the given html.
|
|
98
|
+
*
|
|
99
|
+
* CKEditor gives us access to the current line of html in the editor, so we replace the content of
|
|
100
|
+
* the line, replacing only the current word.
|
|
101
|
+
*/
|
|
102
|
+
private replaceWordAtCursor;
|
|
103
|
+
/**
|
|
104
|
+
* Returns current references, minus any from the model that have been removed from the editor.
|
|
105
|
+
*/
|
|
106
|
+
private validateReferences;
|
|
107
|
+
/**
|
|
108
|
+
* Configures the CKEditor for QuickNote functionality.
|
|
109
|
+
*
|
|
110
|
+
* Sets the height of the CKEditor dynamically to the height of the wrapper upon initialization.
|
|
111
|
+
* Removes the toolbar on the bottom and configures a slimmed down version of the toolbar.
|
|
112
|
+
* Removes plugins and turns off setting to allow browser based spell checking.
|
|
113
|
+
*/
|
|
114
|
+
private getCKEditorConfig;
|
|
115
|
+
/**
|
|
116
|
+
* Returns the current screen position of the cursor in CKEditor, accounting for any scrolling in the editor.
|
|
117
|
+
*/
|
|
118
|
+
private getCursorPosition;
|
|
119
|
+
/**
|
|
120
|
+
* Positions the results dropdown based on the location of the cursor in the text field
|
|
121
|
+
*/
|
|
122
|
+
private positionResultsDropdown;
|
|
123
|
+
/**
|
|
124
|
+
* Returns the height in pixels of the content area - the text that the user has entered.
|
|
125
|
+
*/
|
|
126
|
+
private getContentHeight;
|
|
127
|
+
/**
|
|
128
|
+
* Show the placeholder text if the editor is empty
|
|
129
|
+
*/
|
|
130
|
+
private showPlaceholder;
|
|
131
|
+
/**
|
|
132
|
+
* Hide the placeholder text by removing the placeholder element from the DOM
|
|
133
|
+
*/
|
|
134
|
+
private hidePlaceholder;
|
|
135
|
+
/**
|
|
136
|
+
* Get or create the single placeholder object that is constructed only when needed.
|
|
137
|
+
*/
|
|
138
|
+
private get placeholderElement();
|
|
139
|
+
}
|