novo-elements 9.0.0-next.1 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/addons/ace-editor/AceEditor.d.ts +4 -2
- package/addons/ace-editor/AceEditor.scss +1 -1
- package/addons/ckeditor/CKEditor.scss +8 -5
- package/addons/code-editor/CodeEditor.d.ts +31 -0
- package/addons/code-editor/CodeEditor.module.d.ts +9 -0
- package/addons/code-editor/CodeEditor.scss +5 -0
- package/addons/code-editor/index.d.ts +2 -0
- package/addons/code-editor/novo-elements-addons-code-editor.d.ts +5 -0
- package/addons/code-editor/package.json +10 -0
- package/addons/index.d.ts +1 -0
- package/elements/aside/aside.component.scss +1 -1
- package/elements/calendar/Calendar.module.d.ts +2 -3
- package/elements/category-dropdown/CategoryDropdown.scss +3 -1
- package/elements/checkbox/CheckList.scss +1 -1
- package/elements/checkbox/Checkbox.scss +1 -1
- package/elements/chips/Chip.scss +0 -21
- package/elements/chips/Chips.d.ts +2 -1
- package/elements/chips/Chips.scss +14 -98
- package/elements/chips/RowChips.scss +70 -0
- package/elements/common/overlay/Overlay.d.ts +1 -0
- package/elements/data-table/data-table.component.scss +3 -121
- package/elements/data-table/pagination/data-table-pagination.component.scss +124 -0
- package/elements/date-picker/DatePicker.module.d.ts +2 -2
- package/elements/date-picker/DatePickerInput.d.ts +8 -5
- package/elements/date-picker/MultiDateInput.d.ts +0 -1
- package/elements/date-picker/MultiDateInput.scss +0 -3
- package/elements/date-time-picker/DateTimePicker.module.d.ts +2 -3
- package/elements/drag-drop/drag-drop-box.d.ts +45 -0
- package/elements/drag-drop/drag-drop.module.d.ts +7 -0
- package/elements/drag-drop/index.d.ts +2 -0
- package/elements/drag-drop/novo-elements-elements-drag-drop.d.ts +5 -0
- package/elements/drag-drop/package.json +10 -0
- package/elements/dropdown/Dropdown.d.ts +7 -1
- package/elements/dropdown/Dropdown.scss +27 -2
- package/elements/field/formats/date-time-format.d.ts +2 -2
- package/elements/form/Control.d.ts +9 -6
- package/elements/form/ControlGroup.scss +2 -0
- package/elements/form/ControlTemplates.d.ts +1 -1
- package/elements/form/Form.module.d.ts +6 -6
- package/elements/form/Form.scss +25 -43
- package/elements/form/controls/code-editor/CodeEditorControl.d.ts +5 -0
- package/elements/form/controls/code-editor/index.d.ts +1 -0
- package/elements/form/controls/index.d.ts +2 -1
- package/elements/form/extras/FormExtras.module.d.ts +4 -4
- package/elements/form/extras/address/Address.scss +15 -13
- package/elements/form/extras/file/FileInput.d.ts +15 -16
- package/elements/form/extras/file/FileInput.scss +60 -30
- package/elements/form/fieldset-header.scss +17 -0
- package/elements/header/Header.scss +10 -1
- package/elements/index.d.ts +1 -0
- package/elements/list/list-item-content.scss +3 -3
- package/elements/list/list-item-header-avatar.scss +1 -1
- package/elements/list/list-item-header-title.scss +2 -1
- package/elements/modal/modal.component.scss +1 -1
- package/elements/multi-picker/_MultiPicker.scss +3 -3
- package/elements/picker/Picker.d.ts +2 -1
- package/elements/picker/Picker.scss +10 -351
- package/elements/picker/extras/base-picker-results/BasePickerResults.d.ts +1 -0
- package/elements/picker/extras/grouped-multi-picker-results/GroupedMultiPickerResults.scss +6 -6
- package/elements/picker/extras/mixed-multi-picker-results/MixedMultiPickerResults.scss +3 -3
- package/elements/picker/extras/picker-results/PickerResult.scss +12 -0
- package/elements/picker/extras/picker-results/PickerResults.scss +302 -0
- package/elements/picker/extras/skills-picker-results/SkillsSpecialtyPickerResults.scss +3 -1
- package/elements/popover/PopOver.scss +1 -1
- package/elements/query-builder/condition-builder/condition-builder.component.scss +1 -1
- package/elements/query-builder/condition-definitions/address-condition.definition.d.ts +1 -1
- package/elements/radio/Radio.scss +1 -1
- package/elements/select-search/select-search.component.scss +1 -1
- package/elements/simple-table/table.scss +3 -0
- package/elements/table/Table.module.d.ts +5 -6
- package/elements/table/Table.scss +7 -5
- package/elements/table/extras/pagination/Pagination.scss +3 -1
- package/elements/tabs/tab-content.scss +1 -1
- package/elements/tabs/tab-outlet.scss +1 -1
- package/elements/time-picker/TimePicker.d.ts +2 -3
- package/elements/time-picker/TimePicker.module.d.ts +3 -4
- package/elements/time-picker/TimePicker.scss +2 -2
- package/elements/time-picker/TimePickerInput.d.ts +5 -4
- package/elements/tip-well/TipWell.scss +0 -1
- package/esm2020/addons/ace-editor/AceEditor.mjs +10 -10
- package/esm2020/addons/ckeditor/CKEditor.mjs +10 -7
- package/esm2020/addons/code-editor/CodeEditor.mjs +129 -0
- package/esm2020/addons/code-editor/CodeEditor.module.mjs +19 -0
- package/esm2020/addons/code-editor/index.mjs +3 -0
- package/esm2020/addons/code-editor/novo-elements-addons-code-editor.mjs +5 -0
- package/esm2020/addons/index.mjs +2 -1
- package/esm2020/elements/breadcrumbs/breadcrumb-item/BreadcrumbItem.mjs +1 -1
- package/esm2020/elements/calendar/Calendar.module.mjs +5 -7
- package/esm2020/elements/calendar/calendar.component.mjs +3 -3
- package/esm2020/elements/calendar/month-select/month-select.component.mjs +3 -3
- package/esm2020/elements/calendar/month-view/month-view.component.mjs +3 -3
- package/esm2020/elements/calendar/year-select/year-select.component.mjs +3 -3
- package/esm2020/elements/category-dropdown/CategoryDropdown.mjs +5 -9
- package/esm2020/elements/chips/Chip.mjs +2 -2
- package/esm2020/elements/chips/ChipList.mjs +5 -14
- package/esm2020/elements/chips/Chips.mjs +11 -12
- package/esm2020/elements/chips/RowChips.mjs +5 -10
- package/esm2020/elements/common/overlay/Overlay.mjs +11 -5
- package/esm2020/elements/data-table/cell-headers/data-table-header-cell.component.mjs +1 -1
- package/esm2020/elements/data-table/data-table-clear-button.component.mjs +1 -1
- package/esm2020/elements/data-table/data-table.component.mjs +7 -13
- package/esm2020/elements/data-table/pagination/data-table-pagination.component.mjs +6 -8
- package/esm2020/elements/date-picker/DatePicker.module.mjs +6 -6
- package/esm2020/elements/date-picker/DatePickerInput.mjs +50 -29
- package/esm2020/elements/date-picker/DateRangeInput.mjs +10 -16
- package/esm2020/elements/date-picker/MultiDateInput.mjs +3 -19
- package/esm2020/elements/date-time-picker/DateTimePicker.module.mjs +4 -5
- package/esm2020/elements/date-time-picker/DateTimePickerInput.mjs +1 -1
- package/esm2020/elements/drag-drop/drag-drop-box.mjs +224 -0
- package/esm2020/elements/drag-drop/drag-drop.module.mjs +16 -0
- package/esm2020/elements/drag-drop/index.mjs +3 -0
- package/esm2020/elements/drag-drop/novo-elements-elements-drag-drop.mjs +5 -0
- package/esm2020/elements/dropdown/Dropdown.mjs +31 -6
- package/esm2020/elements/field/formats/date-format.mjs +5 -5
- package/esm2020/elements/field/formats/date-range-format.mjs +5 -5
- package/esm2020/elements/field/formats/date-time-format.mjs +12 -12
- package/esm2020/elements/field/formats/time-format.mjs +6 -6
- package/esm2020/elements/form/Control.mjs +20 -8
- package/esm2020/elements/form/ControlGroup.mjs +5 -5
- package/esm2020/elements/form/ControlTemplates.mjs +58 -27
- package/esm2020/elements/form/DynamicForm.mjs +9 -17
- package/esm2020/elements/form/Form.mjs +5 -9
- package/esm2020/elements/form/Form.module.mjs +12 -13
- package/esm2020/elements/form/NovoFormControl.mjs +1 -2
- package/esm2020/elements/form/controls/code-editor/CodeEditorControl.mjs +9 -0
- package/esm2020/elements/form/controls/code-editor/index.mjs +2 -0
- package/esm2020/elements/form/controls/index.mjs +3 -2
- package/esm2020/elements/form/controls/timezone/TimezoneControl.mjs +2 -2
- package/esm2020/elements/form/extras/FormExtras.module.mjs +8 -9
- package/esm2020/elements/form/extras/address/Address.mjs +4 -8
- package/esm2020/elements/form/extras/file/FileInput.mjs +38 -265
- package/esm2020/elements/header/Header.mjs +2 -2
- package/esm2020/elements/index.mjs +2 -1
- package/esm2020/elements/list/List.mjs +6 -6
- package/esm2020/elements/modal/modal.component.mjs +2 -2
- package/esm2020/elements/multi-picker/MultiPicker.mjs +5 -10
- package/esm2020/elements/picker/Picker.mjs +18 -10
- package/esm2020/elements/picker/extras/base-picker-results/BasePickerResults.mjs +4 -3
- package/esm2020/elements/picker/extras/entity-picker-results/EntityPickerResults.mjs +9 -16
- package/esm2020/elements/picker/extras/grouped-multi-picker-results/GroupedMultiPickerResults.mjs +4 -7
- package/esm2020/elements/picker/extras/mixed-multi-picker-results/MixedMultiPickerResults.mjs +4 -7
- package/esm2020/elements/picker/extras/picker-results/PickerResults.mjs +6 -10
- package/esm2020/elements/picker/extras/skills-picker-results/SkillsSpecialtyPickerResults.mjs +4 -7
- package/esm2020/elements/popover/PopOverContent.mjs +4 -7
- package/esm2020/elements/query-builder/condition-definitions/address-condition.definition.mjs +2 -2
- package/esm2020/elements/query-builder/condition-group/condition-group.component.mjs +3 -3
- package/esm2020/elements/radio/Radio.mjs +2 -2
- package/esm2020/elements/simple-table/cell-header.mjs +2 -2
- package/esm2020/elements/simple-table/cell.mjs +1 -1
- package/esm2020/elements/simple-table/table.mjs +7 -17
- package/esm2020/elements/tabbed-group-picker/TabbedGroupPicker.mjs +1 -1
- package/esm2020/elements/table/Table.mjs +6 -11
- package/esm2020/elements/table/Table.module.mjs +1 -6
- package/esm2020/elements/table/extras/dropdown-cell/DropdownCell.mjs +5 -8
- package/esm2020/elements/table/extras/pagination/Pagination.mjs +7 -8
- package/esm2020/elements/tabs/Tabs.mjs +6 -6
- package/esm2020/elements/time-picker/TimePicker.mjs +5 -6
- package/esm2020/elements/time-picker/TimePicker.module.mjs +4 -5
- package/esm2020/elements/time-picker/TimePickerInput.mjs +32 -75
- package/esm2020/elements/tip-well/TipWell.mjs +5 -5
- package/esm2020/index.mjs +1 -1
- package/esm2020/novo-elements.module.mjs +9 -3
- package/esm2020/novo-elements.providers.mjs +2 -2
- package/esm2020/services/date-format/DateFormat.mjs +153 -47
- package/esm2020/services/global/global.service.mjs +7 -1
- package/esm2020/utils/date/Date.mjs +1 -1
- package/esm2020/utils/date/index.mjs +3 -2
- package/esm2020/utils/date/timezone-support.mjs +87 -0
- package/fesm2015/novo-elements-addons-ace-editor.mjs +9 -9
- package/fesm2015/novo-elements-addons-ace-editor.mjs.map +1 -1
- package/fesm2015/novo-elements-addons-ckeditor.mjs +9 -6
- package/fesm2015/novo-elements-addons-ckeditor.mjs.map +1 -1
- package/fesm2015/novo-elements-addons-code-editor.mjs +150 -0
- package/fesm2015/novo-elements-addons-code-editor.mjs.map +1 -0
- package/fesm2015/novo-elements-addons.mjs +159 -17
- package/fesm2015/novo-elements-addons.mjs.map +1 -1
- package/fesm2015/novo-elements-elements-breadcrumbs.mjs +1 -1
- package/fesm2015/novo-elements-elements-breadcrumbs.mjs.map +1 -1
- package/fesm2015/novo-elements-elements-calendar.mjs +12 -13
- package/fesm2015/novo-elements-elements-calendar.mjs.map +1 -1
- package/fesm2015/novo-elements-elements-category-dropdown.mjs +4 -8
- package/fesm2015/novo-elements-elements-category-dropdown.mjs.map +1 -1
- package/fesm2015/novo-elements-elements-chips.mjs +20 -35
- package/fesm2015/novo-elements-elements-chips.mjs.map +1 -1
- package/fesm2015/novo-elements-elements-common.mjs +10 -2
- package/fesm2015/novo-elements-elements-common.mjs.map +1 -1
- package/fesm2015/novo-elements-elements-data-table.mjs +13 -21
- package/fesm2015/novo-elements-elements-data-table.mjs.map +1 -1
- package/fesm2015/novo-elements-elements-date-picker.mjs +66 -64
- package/fesm2015/novo-elements-elements-date-picker.mjs.map +1 -1
- package/fesm2015/novo-elements-elements-date-time-picker.mjs +4 -5
- package/fesm2015/novo-elements-elements-date-time-picker.mjs.map +1 -1
- package/fesm2015/novo-elements-elements-drag-drop.mjs +245 -0
- package/fesm2015/novo-elements-elements-drag-drop.mjs.map +1 -0
- package/fesm2015/novo-elements-elements-dropdown.mjs +30 -5
- package/fesm2015/novo-elements-elements-dropdown.mjs.map +1 -1
- package/fesm2015/novo-elements-elements-field.mjs +19 -19
- package/fesm2015/novo-elements-elements-field.mjs.map +1 -1
- package/fesm2015/novo-elements-elements-form.mjs +141 -333
- package/fesm2015/novo-elements-elements-form.mjs.map +1 -1
- package/fesm2015/novo-elements-elements-header.mjs +2 -2
- package/fesm2015/novo-elements-elements-header.mjs.map +1 -1
- package/fesm2015/novo-elements-elements-list.mjs +6 -6
- package/fesm2015/novo-elements-elements-list.mjs.map +1 -1
- package/fesm2015/novo-elements-elements-modal.mjs +2 -2
- package/fesm2015/novo-elements-elements-modal.mjs.map +1 -1
- package/fesm2015/novo-elements-elements-multi-picker.mjs +4 -9
- package/fesm2015/novo-elements-elements-multi-picker.mjs.map +1 -1
- package/fesm2015/novo-elements-elements-picker.mjs +40 -51
- package/fesm2015/novo-elements-elements-picker.mjs.map +1 -1
- package/fesm2015/novo-elements-elements-popover.mjs +3 -6
- package/fesm2015/novo-elements-elements-popover.mjs.map +1 -1
- package/fesm2015/novo-elements-elements-query-builder.mjs +2 -2
- package/fesm2015/novo-elements-elements-query-builder.mjs.map +1 -1
- package/fesm2015/novo-elements-elements-radio.mjs +2 -2
- package/fesm2015/novo-elements-elements-radio.mjs.map +1 -1
- package/fesm2015/novo-elements-elements-simple-table.mjs +8 -18
- package/fesm2015/novo-elements-elements-simple-table.mjs.map +1 -1
- package/fesm2015/novo-elements-elements-tabbed-group-picker.mjs +1 -1
- package/fesm2015/novo-elements-elements-tabbed-group-picker.mjs.map +1 -1
- package/fesm2015/novo-elements-elements-table.mjs +13 -26
- package/fesm2015/novo-elements-elements-table.mjs.map +1 -1
- package/fesm2015/novo-elements-elements-tabs.mjs +5 -5
- package/fesm2015/novo-elements-elements-tabs.mjs.map +1 -1
- package/fesm2015/novo-elements-elements-time-picker.mjs +37 -81
- package/fesm2015/novo-elements-elements-time-picker.mjs.map +1 -1
- package/fesm2015/novo-elements-elements-tip-well.mjs +4 -4
- package/fesm2015/novo-elements-elements-tip-well.mjs.map +1 -1
- package/fesm2015/novo-elements-elements.mjs +1 -0
- package/fesm2015/novo-elements-elements.mjs.map +1 -1
- package/fesm2015/novo-elements-services.mjs +158 -46
- package/fesm2015/novo-elements-services.mjs.map +1 -1
- package/fesm2015/novo-elements-utils.mjs +88 -1
- package/fesm2015/novo-elements-utils.mjs.map +1 -1
- package/fesm2015/novo-elements.mjs +8 -2
- package/fesm2015/novo-elements.mjs.map +1 -1
- package/fesm2020/novo-elements-addons-ace-editor.mjs +9 -9
- package/fesm2020/novo-elements-addons-ace-editor.mjs.map +1 -1
- package/fesm2020/novo-elements-addons-ckeditor.mjs +9 -6
- package/fesm2020/novo-elements-addons-ckeditor.mjs.map +1 -1
- package/fesm2020/novo-elements-addons-code-editor.mjs +150 -0
- package/fesm2020/novo-elements-addons-code-editor.mjs.map +1 -0
- package/fesm2020/novo-elements-addons.mjs +159 -17
- package/fesm2020/novo-elements-addons.mjs.map +1 -1
- package/fesm2020/novo-elements-elements-breadcrumbs.mjs +1 -1
- package/fesm2020/novo-elements-elements-breadcrumbs.mjs.map +1 -1
- package/fesm2020/novo-elements-elements-calendar.mjs +12 -13
- package/fesm2020/novo-elements-elements-calendar.mjs.map +1 -1
- package/fesm2020/novo-elements-elements-category-dropdown.mjs +4 -8
- package/fesm2020/novo-elements-elements-category-dropdown.mjs.map +1 -1
- package/fesm2020/novo-elements-elements-chips.mjs +20 -35
- package/fesm2020/novo-elements-elements-chips.mjs.map +1 -1
- package/fesm2020/novo-elements-elements-common.mjs +8 -2
- package/fesm2020/novo-elements-elements-common.mjs.map +1 -1
- package/fesm2020/novo-elements-elements-data-table.mjs +13 -21
- package/fesm2020/novo-elements-elements-data-table.mjs.map +1 -1
- package/fesm2020/novo-elements-elements-date-picker.mjs +64 -64
- package/fesm2020/novo-elements-elements-date-picker.mjs.map +1 -1
- package/fesm2020/novo-elements-elements-date-time-picker.mjs +4 -5
- package/fesm2020/novo-elements-elements-date-time-picker.mjs.map +1 -1
- package/fesm2020/novo-elements-elements-drag-drop.mjs +244 -0
- package/fesm2020/novo-elements-elements-drag-drop.mjs.map +1 -0
- package/fesm2020/novo-elements-elements-dropdown.mjs +30 -5
- package/fesm2020/novo-elements-elements-dropdown.mjs.map +1 -1
- package/fesm2020/novo-elements-elements-field.mjs +19 -19
- package/fesm2020/novo-elements-elements-field.mjs.map +1 -1
- package/fesm2020/novo-elements-elements-form.mjs +142 -335
- package/fesm2020/novo-elements-elements-form.mjs.map +1 -1
- package/fesm2020/novo-elements-elements-header.mjs +2 -2
- package/fesm2020/novo-elements-elements-header.mjs.map +1 -1
- package/fesm2020/novo-elements-elements-list.mjs +6 -6
- package/fesm2020/novo-elements-elements-list.mjs.map +1 -1
- package/fesm2020/novo-elements-elements-modal.mjs +2 -2
- package/fesm2020/novo-elements-elements-modal.mjs.map +1 -1
- package/fesm2020/novo-elements-elements-multi-picker.mjs +4 -9
- package/fesm2020/novo-elements-elements-multi-picker.mjs.map +1 -1
- package/fesm2020/novo-elements-elements-picker.mjs +40 -51
- package/fesm2020/novo-elements-elements-picker.mjs.map +1 -1
- package/fesm2020/novo-elements-elements-popover.mjs +3 -6
- package/fesm2020/novo-elements-elements-popover.mjs.map +1 -1
- package/fesm2020/novo-elements-elements-query-builder.mjs +2 -2
- package/fesm2020/novo-elements-elements-query-builder.mjs.map +1 -1
- package/fesm2020/novo-elements-elements-radio.mjs +2 -2
- package/fesm2020/novo-elements-elements-radio.mjs.map +1 -1
- package/fesm2020/novo-elements-elements-simple-table.mjs +8 -18
- package/fesm2020/novo-elements-elements-simple-table.mjs.map +1 -1
- package/fesm2020/novo-elements-elements-tabbed-group-picker.mjs +1 -1
- package/fesm2020/novo-elements-elements-tabbed-group-picker.mjs.map +1 -1
- package/fesm2020/novo-elements-elements-table.mjs +13 -26
- package/fesm2020/novo-elements-elements-table.mjs.map +1 -1
- package/fesm2020/novo-elements-elements-tabs.mjs +5 -5
- package/fesm2020/novo-elements-elements-tabs.mjs.map +1 -1
- package/fesm2020/novo-elements-elements-time-picker.mjs +36 -81
- package/fesm2020/novo-elements-elements-time-picker.mjs.map +1 -1
- package/fesm2020/novo-elements-elements-tip-well.mjs +4 -4
- package/fesm2020/novo-elements-elements-tip-well.mjs.map +1 -1
- package/fesm2020/novo-elements-elements.mjs +1 -0
- package/fesm2020/novo-elements-elements.mjs.map +1 -1
- package/fesm2020/novo-elements-services.mjs +158 -46
- package/fesm2020/novo-elements-services.mjs.map +1 -1
- package/fesm2020/novo-elements-utils.mjs +88 -1
- package/fesm2020/novo-elements-utils.mjs.map +1 -1
- package/fesm2020/novo-elements.mjs +8 -2
- package/fesm2020/novo-elements.mjs.map +1 -1
- package/novo-elements.module.d.ts +1 -1
- package/novo-elements.scss +3 -22
- package/package.json +23 -4
- package/services/date-format/DateFormat.d.ts +62 -3
- package/services/global/global.service.d.ts +3 -0
- package/styles/content/root.scss +1 -1
- package/styles/themes/light-test.scss +1 -1
- package/styles/themes/light.scss +1 -1
- package/styles/variables.scss +1 -1
- package/utils/date/index.d.ts +2 -1
- package/utils/date/timezone-support.d.ts +5 -0
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
@import "../../../../styles/variables.scss";
|
|
2
|
+
|
|
3
|
+
picker-results,
|
|
4
|
+
entity-picker-results {
|
|
5
|
+
background: $white;
|
|
6
|
+
color: black;
|
|
7
|
+
min-width: 100%;
|
|
8
|
+
max-width: 100%;
|
|
9
|
+
z-index: 10;
|
|
10
|
+
top: 100%;
|
|
11
|
+
.novo-list {
|
|
12
|
+
border: 1px solid #4a89dc;
|
|
13
|
+
.novo-list-item {
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
flex: 0 0;
|
|
16
|
+
transition: background-color 250ms;
|
|
17
|
+
& > div {
|
|
18
|
+
width: 100%;
|
|
19
|
+
}
|
|
20
|
+
&.active {
|
|
21
|
+
background-color: lighten($positive, 35%);
|
|
22
|
+
}
|
|
23
|
+
&:hover {
|
|
24
|
+
background-color: lighten($positive, 39%);
|
|
25
|
+
}
|
|
26
|
+
.novo-item-content {
|
|
27
|
+
flex-flow: row wrap;
|
|
28
|
+
& > * {
|
|
29
|
+
flex: 0 0 33%;
|
|
30
|
+
white-space: nowrap;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
section {
|
|
36
|
+
box-shadow: 0.1em 0.1em 1em rgba(0, 0, 0, 0.25);
|
|
37
|
+
z-index: 9;
|
|
38
|
+
position: absolute;
|
|
39
|
+
width: 100%;
|
|
40
|
+
background-color: white;
|
|
41
|
+
color: black;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
picker-error,
|
|
45
|
+
picker-loader,
|
|
46
|
+
picker-null-recent-results,
|
|
47
|
+
picker-null-results,
|
|
48
|
+
.picker-error,
|
|
49
|
+
.picker-loader,
|
|
50
|
+
.picker-null-recent-results,
|
|
51
|
+
.picker-null-results {
|
|
52
|
+
background-color: $white;
|
|
53
|
+
text-align: center;
|
|
54
|
+
color: darken($light, 15%);
|
|
55
|
+
box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
|
|
56
|
+
border: 1px solid $positive;
|
|
57
|
+
transform: translateY(0%);
|
|
58
|
+
transition: all 0.15s cubic-bezier(0.35, 0, 0.25, 1);
|
|
59
|
+
padding: $spacing-sm;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
p.picker-error,
|
|
63
|
+
p.picker-loader,
|
|
64
|
+
p.picker-null-recent-results,
|
|
65
|
+
p.picker-null-results {
|
|
66
|
+
max-width: inherit;
|
|
67
|
+
padding: 5px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
picker-loader,
|
|
71
|
+
.picker-loader {
|
|
72
|
+
background-color: $white;
|
|
73
|
+
display: flex;
|
|
74
|
+
align-items: center;
|
|
75
|
+
flex-direction: column;
|
|
76
|
+
box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
|
|
77
|
+
border: 1px solid $positive;
|
|
78
|
+
transform: translateY(0%);
|
|
79
|
+
transition: all 0.15s cubic-bezier(0.35, 0, 0.25, 1);
|
|
80
|
+
}
|
|
81
|
+
section {
|
|
82
|
+
box-shadow: 0.1em 0.1em 1em rgba(0, 0, 0, 0.25);
|
|
83
|
+
z-index: 9;
|
|
84
|
+
position: absolute;
|
|
85
|
+
width: 100%;
|
|
86
|
+
background-color: white;
|
|
87
|
+
color: black;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
picker-results,
|
|
92
|
+
.picker-results,
|
|
93
|
+
quick-note-results,
|
|
94
|
+
.quick-note-results {
|
|
95
|
+
background-color: $white;
|
|
96
|
+
cursor: default;
|
|
97
|
+
line-height: 26px;
|
|
98
|
+
width: 100%;
|
|
99
|
+
display: block;
|
|
100
|
+
novo-list,
|
|
101
|
+
ul {
|
|
102
|
+
background-color: $white;
|
|
103
|
+
max-height: 200px;
|
|
104
|
+
overflow: auto;
|
|
105
|
+
list-style: none;
|
|
106
|
+
padding: 0;
|
|
107
|
+
margin: 0;
|
|
108
|
+
box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
|
|
109
|
+
border: 1px solid $positive;
|
|
110
|
+
transform: translateY(0%);
|
|
111
|
+
transition: all 0.15s cubic-bezier(0.35, 0, 0.25, 1);
|
|
112
|
+
display: block;
|
|
113
|
+
novo-list-item,
|
|
114
|
+
li {
|
|
115
|
+
font-size: 0.9em;
|
|
116
|
+
padding: 5px 16px;
|
|
117
|
+
span {
|
|
118
|
+
display: inline-block;
|
|
119
|
+
min-width: 100px;
|
|
120
|
+
margin: 2px 0;
|
|
121
|
+
}
|
|
122
|
+
h6 {
|
|
123
|
+
padding-top: 0;
|
|
124
|
+
font-weight: 400;
|
|
125
|
+
color: lighten($dark, 35%);
|
|
126
|
+
strong {
|
|
127
|
+
font-weight: 400;
|
|
128
|
+
color: $dark;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
&.active,
|
|
132
|
+
&:focus,
|
|
133
|
+
&:hover {
|
|
134
|
+
background-color: lighten($positive, 35%);
|
|
135
|
+
}
|
|
136
|
+
&.disabled {
|
|
137
|
+
opacity: 0.5;
|
|
138
|
+
pointer-events: none;
|
|
139
|
+
}
|
|
140
|
+
item-content {
|
|
141
|
+
// display: block;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
novo-loading {
|
|
145
|
+
justify-content: center;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
ul {
|
|
149
|
+
li {
|
|
150
|
+
padding: 10px 16px;
|
|
151
|
+
box-sizing: border-box;
|
|
152
|
+
display: flex;
|
|
153
|
+
flex-wrap: wrap;
|
|
154
|
+
flex-direction: column;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
&.active {
|
|
158
|
+
z-index: z(overlay);
|
|
159
|
+
}
|
|
160
|
+
&:focus {
|
|
161
|
+
outline: none;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
entity-picker-results,
|
|
167
|
+
:host-context(entity-picker-results) {
|
|
168
|
+
background: $white;
|
|
169
|
+
width: 100%;
|
|
170
|
+
min-width: 250px;
|
|
171
|
+
novo-list {
|
|
172
|
+
background: $white;
|
|
173
|
+
min-width: 30rem;
|
|
174
|
+
max-height: 49vh;
|
|
175
|
+
overflow: auto;
|
|
176
|
+
.novo-item-content {
|
|
177
|
+
margin-top: $spacing-sm;
|
|
178
|
+
margin-left: 1.8rem;
|
|
179
|
+
row-gap: 1rem;
|
|
180
|
+
.novo-text {
|
|
181
|
+
white-space: nowrap;
|
|
182
|
+
text-overflow: ellipsis;
|
|
183
|
+
overflow: hidden;
|
|
184
|
+
padding-right: 1em;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
novo-loading {
|
|
188
|
+
justify-content: center;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
// Shared specialty picker styles
|
|
194
|
+
workers-comp-codes-picker-results,
|
|
195
|
+
distribution-list-picker-results {
|
|
196
|
+
display: block;
|
|
197
|
+
color: black;
|
|
198
|
+
width: 100%;
|
|
199
|
+
max-width: none;
|
|
200
|
+
z-index: 99;
|
|
201
|
+
background: $white;
|
|
202
|
+
padding: 1px;
|
|
203
|
+
&.active {
|
|
204
|
+
border: 1px solid $positive;
|
|
205
|
+
}
|
|
206
|
+
.novo-list {
|
|
207
|
+
min-height: 100%;
|
|
208
|
+
background: $white;
|
|
209
|
+
max-height: 330px;
|
|
210
|
+
overflow-y: auto;
|
|
211
|
+
overflow-x: hidden;
|
|
212
|
+
.novo-list-item {
|
|
213
|
+
display: block;
|
|
214
|
+
transition: background-color 250ms;
|
|
215
|
+
border-bottom: 1px solid $background-dark;
|
|
216
|
+
cursor: pointer;
|
|
217
|
+
&.disabled {
|
|
218
|
+
opacity: 0.5;
|
|
219
|
+
pointer-events: none;
|
|
220
|
+
}
|
|
221
|
+
item-title h6 {
|
|
222
|
+
font-weight: 500;
|
|
223
|
+
padding: 0.6em 0 0.5em;
|
|
224
|
+
span {
|
|
225
|
+
overflow: hidden;
|
|
226
|
+
white-space: nowrap;
|
|
227
|
+
text-overflow: ellipsis;
|
|
228
|
+
min-width: 100px;
|
|
229
|
+
width: 80%;
|
|
230
|
+
display: block;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
& > div {
|
|
234
|
+
width: 100%;
|
|
235
|
+
margin-left: 15px;
|
|
236
|
+
}
|
|
237
|
+
&.active {
|
|
238
|
+
background-color: lighten($positive, 35%);
|
|
239
|
+
}
|
|
240
|
+
&:hover {
|
|
241
|
+
background-color: lighten($positive, 35%);
|
|
242
|
+
}
|
|
243
|
+
item-content {
|
|
244
|
+
flex-flow: row nowrap;
|
|
245
|
+
justify-content: space-between;
|
|
246
|
+
& > * {
|
|
247
|
+
flex: 0 0 60%;
|
|
248
|
+
white-space: nowrap;
|
|
249
|
+
}
|
|
250
|
+
p {
|
|
251
|
+
margin-right: 0.5em;
|
|
252
|
+
overflow: hidden;
|
|
253
|
+
white-space: nowrap;
|
|
254
|
+
text-overflow: ellipsis;
|
|
255
|
+
flex: 1;
|
|
256
|
+
.label {
|
|
257
|
+
font-weight: bold;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
novo-loading {
|
|
263
|
+
justify-content: center;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
.picker-loader,
|
|
267
|
+
.picker-error,
|
|
268
|
+
.picker-null-results {
|
|
269
|
+
border: none;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.picker-null,
|
|
273
|
+
.picker-error,
|
|
274
|
+
.picker-loading,
|
|
275
|
+
.picker-no-recents,
|
|
276
|
+
.picker-error{
|
|
277
|
+
text-align: center;
|
|
278
|
+
padding: 1em 0 4em;
|
|
279
|
+
> i {
|
|
280
|
+
font-size: 3em;
|
|
281
|
+
margin: 0.5em;
|
|
282
|
+
color: rgba(0, 0, 0, 0.3);
|
|
283
|
+
}
|
|
284
|
+
> h4,
|
|
285
|
+
> p {
|
|
286
|
+
margin: 0;
|
|
287
|
+
max-width: none;
|
|
288
|
+
padding: 0;
|
|
289
|
+
}
|
|
290
|
+
> h4 {
|
|
291
|
+
font-weight: 500;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
section {
|
|
295
|
+
box-shadow: 0.1em 0.1em 1em rgba(0, 0, 0, 0.25);
|
|
296
|
+
z-index: 9;
|
|
297
|
+
position: absolute;
|
|
298
|
+
width: 100%;
|
|
299
|
+
background-color: white;
|
|
300
|
+
color: black;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ElementRef, QueryList } from '@angular/core';
|
|
2
2
|
import { AbstractControl } from '@angular/forms';
|
|
3
|
-
import { AbstractConditionFieldDef } from './abstract-condition.definition';
|
|
4
3
|
import { NovoPickerToggleElement } from 'novo-elements/elements/field';
|
|
5
4
|
import { PlacesListComponent } from 'novo-elements/elements/places';
|
|
6
5
|
import { NovoLabelService } from 'novo-elements/services';
|
|
6
|
+
import { AbstractConditionFieldDef } from './abstract-condition.definition';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* Handle selection of field values when a list of options is provided.
|
|
@@ -11,13 +11,12 @@ import * as i9 from "novo-elements/elements/dropdown";
|
|
|
11
11
|
import * as i10 from "novo-elements/elements/loading";
|
|
12
12
|
import * as i11 from "novo-elements/elements/date-picker";
|
|
13
13
|
import * as i12 from "novo-elements/elements/checkbox";
|
|
14
|
-
import * as i13 from "
|
|
15
|
-
import * as i14 from "
|
|
16
|
-
import * as i15 from "novo-elements/elements/
|
|
17
|
-
import * as i16 from "novo-elements/elements/
|
|
18
|
-
import * as i17 from "novo-elements/elements/icon";
|
|
14
|
+
import * as i13 from "angular-imask";
|
|
15
|
+
import * as i14 from "novo-elements/elements/common";
|
|
16
|
+
import * as i15 from "novo-elements/elements/flex";
|
|
17
|
+
import * as i16 from "novo-elements/elements/icon";
|
|
19
18
|
export declare class NovoTableModule {
|
|
20
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<NovoTableModule, never>;
|
|
21
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NovoTableModule, [typeof i1.NovoTableElement], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.NovoFormModule, typeof i5.NovoTableExtrasModule, typeof i6.NovoToastModule, typeof i7.NovoButtonModule, typeof i8.NovoTooltipModule, typeof i9.NovoDropdownModule, typeof i10.NovoLoadingModule, typeof i11.NovoDatePickerModule, typeof i4.NovoFormExtrasModule, typeof i12.NovoCheckboxModule, typeof i13.
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NovoTableModule, [typeof i1.NovoTableElement], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.NovoFormModule, typeof i5.NovoTableExtrasModule, typeof i6.NovoToastModule, typeof i7.NovoButtonModule, typeof i8.NovoTooltipModule, typeof i9.NovoDropdownModule, typeof i10.NovoLoadingModule, typeof i11.NovoDatePickerModule, typeof i4.NovoFormExtrasModule, typeof i12.NovoCheckboxModule, typeof i13.IMaskDirectiveModule, typeof i14.NovoOptionModule, typeof i14.NovoCommonModule, typeof i15.NovoFlexModule, typeof i16.NovoIconModule], [typeof i1.NovoTableElement]>;
|
|
22
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<NovoTableModule>;
|
|
23
22
|
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
@import "../../styles/variables.scss";
|
|
2
|
+
|
|
1
3
|
$table-header-font-weight: 400;
|
|
2
4
|
$table-header-font-color: #757575;
|
|
3
5
|
$table-cell-padding: 1.2rem;
|
|
4
|
-
$table-condensed-cell-padding: $table-cell-padding/2;
|
|
6
|
+
$table-condensed-cell-padding: calc($table-cell-padding / 2);
|
|
5
7
|
$table-bg: #fff;
|
|
6
8
|
$table-bg-accent: #f4f4f4;
|
|
7
9
|
$table-bg-hover: rgba(0, 0, 0, 0.12);
|
|
8
10
|
$table-bg-active: $table-bg-hover;
|
|
9
11
|
$table-border-color: #f5f5f5;
|
|
12
|
+
|
|
10
13
|
novo-table {
|
|
11
14
|
width: 100%;
|
|
12
15
|
display: block;
|
|
@@ -66,7 +69,7 @@ novo-table {
|
|
|
66
69
|
th .th-title,
|
|
67
70
|
th novo-dropdown,
|
|
68
71
|
novo-pagination h5,
|
|
69
|
-
novo-pagination novo-select,
|
|
72
|
+
novo-pagination novo-select.table-pagination-select,
|
|
70
73
|
novo-pagination ul.pager {
|
|
71
74
|
pointer-events: none;
|
|
72
75
|
opacity: 0.7;
|
|
@@ -292,8 +295,7 @@ novo-table {
|
|
|
292
295
|
|
|
293
296
|
.dropdown-container.table-dropdown {
|
|
294
297
|
right: -15px;
|
|
295
|
-
|
|
296
|
-
max-width: 230px;
|
|
298
|
+
width: 230px;
|
|
297
299
|
max-height: 500px;
|
|
298
300
|
overflow-x: hidden;
|
|
299
301
|
overflow-y: auto;
|
|
@@ -459,7 +461,7 @@ novo-table {
|
|
|
459
461
|
h5.rows {
|
|
460
462
|
opacity: 0.75;
|
|
461
463
|
}
|
|
462
|
-
novo-select {
|
|
464
|
+
novo-select.table-pagination-select {
|
|
463
465
|
div[type="button"] {
|
|
464
466
|
color: $white;
|
|
465
467
|
border-bottom: 1px solid rgba(255, 255, 255, 0.15);
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@import "../../../../styles/variables.scss";
|
|
2
|
+
|
|
1
3
|
novo-pagination {
|
|
2
4
|
display: flex;
|
|
3
5
|
flex-flow: row nowrap;
|
|
@@ -14,7 +16,7 @@ novo-pagination {
|
|
|
14
16
|
span.spacer {
|
|
15
17
|
flex: 1;
|
|
16
18
|
}
|
|
17
|
-
novo-select {
|
|
19
|
+
novo-select.table-pagination-select {
|
|
18
20
|
max-width: 100px;
|
|
19
21
|
min-width: 100px;
|
|
20
22
|
div[type="button"] {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import {
|
|
3
|
+
import { NovoLabelService } from 'novo-elements/services';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare enum TIME_VALUE_FORMATS {
|
|
6
6
|
iso8601 = "iso8601",
|
|
@@ -9,7 +9,6 @@ export declare enum TIME_VALUE_FORMATS {
|
|
|
9
9
|
export declare class NovoTimePickerElement implements ControlValueAccessor, OnInit, OnChanges {
|
|
10
10
|
element: ElementRef;
|
|
11
11
|
labels: NovoLabelService;
|
|
12
|
-
dateFormatService: DateFormatService;
|
|
13
12
|
protected cdr: ChangeDetectorRef;
|
|
14
13
|
military: boolean;
|
|
15
14
|
analog: boolean;
|
|
@@ -34,7 +33,7 @@ export declare class NovoTimePickerElement implements ControlValueAccessor, OnIn
|
|
|
34
33
|
_onChange: Function;
|
|
35
34
|
_onTouched: Function;
|
|
36
35
|
flatten(arr: any): any[];
|
|
37
|
-
constructor(element: ElementRef, labels: NovoLabelService,
|
|
36
|
+
constructor(element: ElementRef, labels: NovoLabelService, cdr: ChangeDetectorRef);
|
|
38
37
|
ngOnInit(): void;
|
|
39
38
|
ngOnChanges(changes?: SimpleChanges): void;
|
|
40
39
|
init(value: any, dispatch: any): void;
|
|
@@ -4,11 +4,10 @@ import * as i2 from "./TimePickerInput";
|
|
|
4
4
|
import * as i3 from "@angular/common";
|
|
5
5
|
import * as i4 from "@angular/forms";
|
|
6
6
|
import * as i5 from "angular-imask";
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "novo-elements/elements/
|
|
9
|
-
import * as i8 from "novo-elements/elements/list";
|
|
7
|
+
import * as i6 from "novo-elements/elements/common";
|
|
8
|
+
import * as i7 from "novo-elements/elements/list";
|
|
10
9
|
export declare class NovoTimePickerModule {
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<NovoTimePickerModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NovoTimePickerModule, [typeof i1.NovoTimePickerElement, typeof i2.NovoTimePickerInputElement], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.IMaskDirectiveModule, typeof i6.
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NovoTimePickerModule, [typeof i1.NovoTimePickerElement, typeof i2.NovoTimePickerInputElement], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.IMaskDirectiveModule, typeof i6.NovoOverlayModule, typeof i7.NovoListModule], [typeof i1.NovoTimePickerElement, typeof i2.NovoTimePickerInputElement]>;
|
|
13
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<NovoTimePickerModule>;
|
|
14
13
|
}
|
|
@@ -255,13 +255,13 @@
|
|
|
255
255
|
transform: rotate(-90deg);
|
|
256
256
|
}
|
|
257
257
|
@for $i from 1 through 9 {
|
|
258
|
-
$deg: ($i * (30/5) - 90);
|
|
258
|
+
$deg: ($i * (calc(30 / 5)) - 90);
|
|
259
259
|
&.min-0#{$i} {
|
|
260
260
|
transform: rotate(#{$deg}deg);
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
263
|
@for $i from 10 through 59 {
|
|
264
|
-
$deg: ($i * (30/5) - 90);
|
|
264
|
+
$deg: ($i * (calc(30 / 5)) - 90);
|
|
265
265
|
&.min-#{$i} {
|
|
266
266
|
transform: rotate(#{$deg}deg);
|
|
267
267
|
}
|
|
@@ -24,6 +24,7 @@ export declare class NovoTimePickerInputElement implements OnInit, OnChanges, Co
|
|
|
24
24
|
analog: boolean;
|
|
25
25
|
blurEvent: EventEmitter<FocusEvent>;
|
|
26
26
|
focusEvent: EventEmitter<FocusEvent>;
|
|
27
|
+
changeEvent: EventEmitter<FocusEvent>;
|
|
27
28
|
/** Element for the panel containing the autocomplete options. */
|
|
28
29
|
overlay: NovoOverlayTemplateComponent;
|
|
29
30
|
input: HTMLInputElement;
|
|
@@ -31,7 +32,6 @@ export declare class NovoTimePickerInputElement implements OnInit, OnChanges, Co
|
|
|
31
32
|
ngOnInit(): void;
|
|
32
33
|
ngOnChanges(changes?: SimpleChanges): void;
|
|
33
34
|
initFormatOptions(): void;
|
|
34
|
-
onComplete(dt: any): void;
|
|
35
35
|
/** BEGIN: Convenient Panel Methods. */
|
|
36
36
|
openPanel(): void;
|
|
37
37
|
closePanel(): void;
|
|
@@ -39,6 +39,7 @@ export declare class NovoTimePickerInputElement implements OnInit, OnChanges, Co
|
|
|
39
39
|
/** END: Convenient Panel Methods. */
|
|
40
40
|
_handleKeydown(event: KeyboardEvent): void;
|
|
41
41
|
_handleInput(event: KeyboardEvent): void;
|
|
42
|
+
_handleChange(event: Event): void;
|
|
42
43
|
_handleBlur(event: FocusEvent): void;
|
|
43
44
|
_handleFocus(event: FocusEvent): void;
|
|
44
45
|
writeValue(value: any): void;
|
|
@@ -47,16 +48,16 @@ export declare class NovoTimePickerInputElement implements OnInit, OnChanges, Co
|
|
|
47
48
|
setDisabledState(disabled: boolean): void;
|
|
48
49
|
dispatchOnChange(newValue?: any, skip?: boolean): void;
|
|
49
50
|
private _setTriggerValue;
|
|
50
|
-
setValue(event: any | null): void;
|
|
51
51
|
setValueAndClose(event: any | null): void;
|
|
52
|
+
setValue(event: any | null): void;
|
|
52
53
|
/**
|
|
53
54
|
* Clear any previous selected option and emit a selection change event for this option
|
|
54
55
|
*/
|
|
55
56
|
clearValue(): void;
|
|
56
57
|
get hasValue(): boolean;
|
|
57
58
|
scrollToIndex(index: number): void;
|
|
58
|
-
convertTime12to24(time12h: string): string;
|
|
59
59
|
hourOneFormatRequired(hourInput: string): boolean;
|
|
60
|
+
protected formatTime(value: string): void;
|
|
60
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<NovoTimePickerInputElement, never>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NovoTimePickerInputElement, "novo-time-picker-input", never, { "name": "name"; "placeholder": "placeholder"; "military": "military"; "maskOptions": "maskOptions"; "disabled": "disabled"; "analog": "analog"; }, { "blurEvent": "blurEvent"; "focusEvent": "focusEvent"; }, never, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NovoTimePickerInputElement, "novo-time-picker-input", never, { "name": "name"; "placeholder": "placeholder"; "military": "military"; "maskOptions": "maskOptions"; "disabled": "disabled"; "analog": "analog"; }, { "blurEvent": "blurEvent"; "focusEvent": "focusEvent"; "changeEvent": "changeEvent"; }, never, never>;
|
|
62
63
|
}
|
|
@@ -3,18 +3,21 @@ import { Component, ElementRef, EventEmitter, forwardRef, Input, Output } from '
|
|
|
3
3
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
4
|
// Vendor
|
|
5
5
|
// organize-imports-ignore
|
|
6
|
-
import 'brace
|
|
6
|
+
import * as ace from 'brace';
|
|
7
|
+
import 'brace/ext/language_tools.js';
|
|
7
8
|
import 'brace/mode/javascript';
|
|
8
9
|
import 'brace/theme/chrome';
|
|
9
|
-
import 'brace/ext/language_tools.js';
|
|
10
10
|
// APP
|
|
11
|
-
import { Helpers } from 'novo-elements/utils';
|
|
11
|
+
import { Helpers, notify } from 'novo-elements/utils';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
const ACE_VALUE_ACCESSOR = {
|
|
14
14
|
provide: NG_VALUE_ACCESSOR,
|
|
15
15
|
useExisting: forwardRef(() => NovoAceEditor),
|
|
16
16
|
multi: true,
|
|
17
17
|
};
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated Use NovoCodeEditor instead
|
|
20
|
+
*/
|
|
18
21
|
export class NovoAceEditor {
|
|
19
22
|
constructor(elementRef) {
|
|
20
23
|
this.elementRef = elementRef;
|
|
@@ -29,6 +32,7 @@ export class NovoAceEditor {
|
|
|
29
32
|
this.text = '';
|
|
30
33
|
this.onChange = (_) => { };
|
|
31
34
|
this.onTouched = () => { };
|
|
35
|
+
notify('[Deprecated]: The ace editor component is deprecated. Please migrate to novo-code-editor!');
|
|
32
36
|
}
|
|
33
37
|
set theme(theme) {
|
|
34
38
|
this.setTheme(theme);
|
|
@@ -108,14 +112,10 @@ export class NovoAceEditor {
|
|
|
108
112
|
}
|
|
109
113
|
}
|
|
110
114
|
NovoAceEditor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NovoAceEditor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
111
|
-
NovoAceEditor.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: NovoAceEditor, selector: "novo-ace-editor", inputs: { theme: "theme", options: "options", mode: "mode", name: "name" }, outputs: { blur: "blur", focus: "focus" }, providers: [ACE_VALUE_ACCESSOR], ngImport: i0, template: '', isInline: true });
|
|
115
|
+
NovoAceEditor.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: NovoAceEditor, selector: "novo-ace-editor", inputs: { theme: "theme", options: "options", mode: "mode", name: "name" }, outputs: { blur: "blur", focus: "focus" }, providers: [ACE_VALUE_ACCESSOR], ngImport: i0, template: '', isInline: true, styles: [":host{display:block;width:100%;min-height:200px}\n"] });
|
|
112
116
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NovoAceEditor, decorators: [{
|
|
113
117
|
type: Component,
|
|
114
|
-
args: [{
|
|
115
|
-
selector: 'novo-ace-editor',
|
|
116
|
-
template: '',
|
|
117
|
-
providers: [ACE_VALUE_ACCESSOR],
|
|
118
|
-
}]
|
|
118
|
+
args: [{ selector: 'novo-ace-editor', template: '', providers: [ACE_VALUE_ACCESSOR], styles: [":host{display:block;width:100%;min-height:200px}\n"] }]
|
|
119
119
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { theme: [{
|
|
120
120
|
type: Input
|
|
121
121
|
}], options: [{
|
|
@@ -129,4 +129,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
129
129
|
}], focus: [{
|
|
130
130
|
type: Output
|
|
131
131
|
}] } });
|
|
132
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
132
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQWNlRWRpdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbm92by1lbGVtZW50cy9zcmMvYWRkb25zL2FjZS1lZGl0b3IvQWNlRWRpdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU07QUFDTixPQUFPLEVBQUUsU0FBUyxFQUFFLFVBQVUsRUFBRSxZQUFZLEVBQUUsVUFBVSxFQUFFLEtBQUssRUFBcUIsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2xILE9BQU8sRUFBd0IsaUJBQWlCLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUN6RSxTQUFTO0FBQ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