@sd-angular/core 0.0.1047 → 0.0.1052
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/api/package.json +2 -3
- package/api/sd-angular-core-api.metadata.json +1 -1
- package/assets/scss/core/scrollbar.scss +3 -2
- package/assets/scss/sd-core.scss +0 -1
- package/bundles/sd-angular-core-api.umd.js +3 -25
- package/bundles/sd-angular-core-api.umd.js.map +1 -1
- package/bundles/sd-angular-core-api.umd.min.js +1 -1
- package/bundles/sd-angular-core-api.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-chart.umd.js +1 -1
- package/bundles/sd-angular-core-chart.umd.min.js +1 -1
- package/bundles/sd-angular-core-chart.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-common.umd.js +41 -2
- package/bundles/sd-angular-core-common.umd.js.map +1 -1
- package/bundles/sd-angular-core-common.umd.min.js +2 -2
- package/bundles/sd-angular-core-common.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-date-range.umd.js +1 -1
- package/bundles/sd-angular-core-date-range.umd.min.js +1 -1
- package/bundles/sd-angular-core-date-time.umd.js +1 -1
- package/bundles/sd-angular-core-date-time.umd.min.js +2 -2
- package/bundles/sd-angular-core-editor.umd.js +2 -2
- package/bundles/sd-angular-core-editor.umd.js.map +1 -1
- package/bundles/sd-angular-core-editor.umd.min.js +2 -2
- package/bundles/sd-angular-core-editor.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-export.umd.js +5 -24
- package/bundles/sd-angular-core-export.umd.js.map +1 -1
- package/bundles/sd-angular-core-export.umd.min.js +1 -1
- package/bundles/sd-angular-core-export.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-filter.umd.js +1 -1
- package/bundles/sd-angular-core-filter.umd.min.js +1 -1
- package/bundles/sd-angular-core-filter.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-grid-material.umd.js +3 -3
- package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
- package/bundles/sd-angular-core-grid-material.umd.min.js +2 -2
- package/bundles/sd-angular-core-grid-material.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-grid.umd.js +1 -1
- package/bundles/sd-angular-core-grid.umd.min.js +1 -1
- package/bundles/sd-angular-core-grid.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-input-currency.umd.js +1 -1
- package/bundles/sd-angular-core-input-currency.umd.min.js +1 -1
- package/bundles/sd-angular-core-konva.umd.js +1 -1
- package/bundles/sd-angular-core-konva.umd.min.js +1 -1
- package/bundles/sd-angular-core-notify.umd.js +1 -1
- package/bundles/sd-angular-core-notify.umd.min.js +1 -1
- package/bundles/sd-angular-core-notify.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-upload-excel.umd.js +1 -1
- package/bundles/sd-angular-core-upload-excel.umd.min.js +1 -1
- package/bundles/sd-angular-core-upload-excel.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-upload-file.umd.js +1 -1
- package/bundles/sd-angular-core-upload-file.umd.min.js +1 -1
- package/bundles/sd-angular-core-utility.umd.js +1 -1
- package/bundles/sd-angular-core-utility.umd.min.js +1 -1
- package/bundles/sd-angular-core-utility.umd.min.js.map +1 -1
- package/bundles/sd-angular-core.umd.js +6 -734
- package/bundles/sd-angular-core.umd.js.map +1 -1
- package/bundles/sd-angular-core.umd.min.js +1 -1
- package/bundles/sd-angular-core.umd.min.js.map +1 -1
- package/common/sd-angular-core-common.metadata.json +1 -1
- package/common/src/lib/directives/sd-scroll.directive.d.ts +10 -0
- package/common/src/public-api.d.ts +1 -0
- package/esm2015/api/src/lib/api.service.js +2 -2
- package/esm2015/api/src/lib/http.service.js +1 -1
- package/esm2015/common/src/lib/common.module.js +6 -3
- package/esm2015/common/src/lib/directives/sd-scroll.directive.js +37 -0
- package/esm2015/common/src/public-api.js +2 -1
- package/esm2015/editor/src/lib/editor.component.js +2 -2
- package/esm2015/export/src/lib/export.service.js +2 -2
- package/esm2015/grid-material/src/lib/grid-material.component.js +3 -3
- package/esm2015/lib/core.module.js +4 -36
- package/esm2015/public-api.js +1 -10
- package/fesm2015/sd-angular-core-api.js +2 -3
- package/fesm2015/sd-angular-core-api.js.map +1 -1
- package/fesm2015/sd-angular-core-common.js +42 -4
- package/fesm2015/sd-angular-core-common.js.map +1 -1
- package/fesm2015/sd-angular-core-editor.js +1 -1
- package/fesm2015/sd-angular-core-editor.js.map +1 -1
- package/fesm2015/sd-angular-core-export.js +1 -1
- package/fesm2015/sd-angular-core-export.js.map +1 -1
- package/fesm2015/sd-angular-core-grid-material.js +2 -2
- package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
- package/fesm2015/sd-angular-core.js +5 -367
- package/fesm2015/sd-angular-core.js.map +1 -1
- package/grid-material/sd-angular-core-grid-material.metadata.json +1 -1
- package/package.json +4 -10
- package/public-api.d.ts +0 -7
- package/sd-angular-core-0.0.1052.tgz +0 -0
- package/sd-angular-core.metadata.json +1 -1
- package/assets/ckeditor/CHANGES.md +0 -1703
- package/assets/ckeditor/LICENSE.md +0 -1420
- package/assets/ckeditor/README.md +0 -39
- package/assets/ckeditor/adapters/jquery.js +0 -10
- package/assets/ckeditor/build-config.js +0 -123
- package/assets/ckeditor/ckeditor.js +0 -27038
- package/assets/ckeditor/config.js +0 -10
- package/assets/ckeditor/contents.css +0 -209
- package/assets/ckeditor/lang/en.js +0 -5
- package/assets/ckeditor/lang/vi.js +0 -5
- package/assets/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +0 -10
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +0 -25
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/af.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/az.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +0 -13
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +0 -12
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/de-ch.js +0 -12
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +0 -13
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +0 -13
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/en-au.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +0 -13
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/es-mx.js +0 -13
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +0 -13
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/eu.js +0 -12
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/fo.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +0 -13
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +0 -12
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +0 -12
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +0 -13
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +0 -9
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +0 -10
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +0 -12
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +0 -12
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +0 -12
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/oc.js +0 -12
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +0 -13
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +0 -13
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +0 -12
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +0 -12
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +0 -10
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +0 -12
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +0 -12
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +0 -12
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +0 -12
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +0 -12
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +0 -12
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +0 -11
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +0 -9
- package/assets/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +0 -9
- package/assets/ckeditor/plugins/about/dialogs/about.js +0 -8
- package/assets/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
- package/assets/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- package/assets/ckeditor/plugins/clipboard/dialogs/paste.js +0 -11
- package/assets/ckeditor/plugins/colordialog/dialogs/colordialog.css +0 -20
- package/assets/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -14
- package/assets/ckeditor/plugins/copyformatting/cursors/cursor-disabled.svg +0 -25
- package/assets/ckeditor/plugins/copyformatting/cursors/cursor.svg +0 -14
- package/assets/ckeditor/plugins/copyformatting/styles/copyformatting.css +0 -45
- package/assets/ckeditor/plugins/dialog/dialogDefinition.js +0 -4
- package/assets/ckeditor/plugins/div/dialogs/div.js +0 -9
- package/assets/ckeditor/plugins/find/dialogs/find.js +0 -25
- package/assets/ckeditor/plugins/flash/dialogs/flash.js +0 -24
- package/assets/ckeditor/plugins/flash/images/placeholder.png +0 -0
- package/assets/ckeditor/plugins/forms/dialogs/button.js +0 -8
- package/assets/ckeditor/plugins/forms/dialogs/checkbox.js +0 -9
- package/assets/ckeditor/plugins/forms/dialogs/form.js +0 -8
- package/assets/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -7
- package/assets/ckeditor/plugins/forms/dialogs/radio.js +0 -9
- package/assets/ckeditor/plugins/forms/dialogs/select.js +0 -21
- package/assets/ckeditor/plugins/forms/dialogs/textarea.js +0 -8
- package/assets/ckeditor/plugins/forms/dialogs/textfield.js +0 -11
- package/assets/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- package/assets/ckeditor/plugins/icons.png +0 -0
- package/assets/ckeditor/plugins/icons_hidpi.png +0 -0
- package/assets/ckeditor/plugins/iframe/dialogs/iframe.js +0 -10
- package/assets/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- package/assets/ckeditor/plugins/image/dialogs/image.js +0 -44
- package/assets/ckeditor/plugins/image/images/noimage.png +0 -0
- package/assets/ckeditor/plugins/link/dialogs/anchor.js +0 -8
- package/assets/ckeditor/plugins/link/dialogs/link.js +0 -30
- package/assets/ckeditor/plugins/link/images/anchor.png +0 -0
- package/assets/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
- package/assets/ckeditor/plugins/liststyle/dialogs/liststyle.js +0 -10
- package/assets/ckeditor/plugins/magicline/images/hidpi/icon-rtl.png +0 -0
- package/assets/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
- package/assets/ckeditor/plugins/magicline/images/icon-rtl.png +0 -0
- package/assets/ckeditor/plugins/magicline/images/icon.png +0 -0
- package/assets/ckeditor/plugins/notification/lang/az.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/bg.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/ca.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/cs.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/da.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/de-ch.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/de.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/en-au.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/en.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/eo.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/es-mx.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/es.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/et.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/eu.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/fa.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/fr.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/gl.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/hr.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/hu.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/id.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/it.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/ja.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/km.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/ko.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/ku.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/lt.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/lv.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/nb.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/nl.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/oc.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/pl.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/pt-br.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/pt.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/ro.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/ru.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/sk.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/sq.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/sr-latn.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/sr.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/sv.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/tr.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/ug.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/uk.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/zh-cn.js +0 -7
- package/assets/ckeditor/plugins/notification/lang/zh.js +0 -7
- package/assets/ckeditor/plugins/notification/plugin.js +0 -933
- package/assets/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- package/assets/ckeditor/plugins/pastefromword/filter/default.js +0 -55
- package/assets/ckeditor/plugins/preview/preview.html +0 -13
- package/assets/ckeditor/plugins/scayt/CHANGELOG.md +0 -20
- package/assets/ckeditor/plugins/scayt/LICENSE.md +0 -28
- package/assets/ckeditor/plugins/scayt/README.md +0 -81
- package/assets/ckeditor/plugins/scayt/dialogs/dialog.css +0 -23
- package/assets/ckeditor/plugins/scayt/dialogs/options.js +0 -32
- package/assets/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -71
- package/assets/ckeditor/plugins/scayt/skins/moono-lisa/scayt.css +0 -25
- package/assets/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- package/assets/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- package/assets/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- package/assets/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- package/assets/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- package/assets/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- package/assets/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- package/assets/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- package/assets/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- package/assets/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- package/assets/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- package/assets/ckeditor/plugins/smiley/dialogs/smiley.js +0 -11
- package/assets/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- package/assets/ckeditor/plugins/smiley/images/angel_smile.png +0 -0
- package/assets/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- package/assets/ckeditor/plugins/smiley/images/angry_smile.png +0 -0
- package/assets/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- package/assets/ckeditor/plugins/smiley/images/broken_heart.png +0 -0
- package/assets/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- package/assets/ckeditor/plugins/smiley/images/confused_smile.png +0 -0
- package/assets/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- package/assets/ckeditor/plugins/smiley/images/cry_smile.png +0 -0
- package/assets/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- package/assets/ckeditor/plugins/smiley/images/devil_smile.png +0 -0
- package/assets/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- package/assets/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
- package/assets/ckeditor/plugins/smiley/images/embarrassed_smile.png +0 -0
- package/assets/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- package/assets/ckeditor/plugins/smiley/images/envelope.png +0 -0
- package/assets/ckeditor/plugins/smiley/images/heart.gif +0 -0
- package/assets/ckeditor/plugins/smiley/images/heart.png +0 -0
- package/assets/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- package/assets/ckeditor/plugins/smiley/images/kiss.png +0 -0
- package/assets/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- package/assets/ckeditor/plugins/smiley/images/lightbulb.png +0 -0
- package/assets/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- package/assets/ckeditor/plugins/smiley/images/omg_smile.png +0 -0
- package/assets/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- package/assets/ckeditor/plugins/smiley/images/regular_smile.png +0 -0
- package/assets/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- package/assets/ckeditor/plugins/smiley/images/sad_smile.png +0 -0
- package/assets/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- package/assets/ckeditor/plugins/smiley/images/shades_smile.png +0 -0
- package/assets/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- package/assets/ckeditor/plugins/smiley/images/teeth_smile.png +0 -0
- package/assets/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- package/assets/ckeditor/plugins/smiley/images/thumbs_down.png +0 -0
- package/assets/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- package/assets/ckeditor/plugins/smiley/images/thumbs_up.png +0 -0
- package/assets/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
- package/assets/ckeditor/plugins/smiley/images/tongue_smile.png +0 -0
- package/assets/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- package/assets/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- package/assets/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.png +0 -0
- package/assets/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- package/assets/ckeditor/plugins/smiley/images/wink_smile.png +0 -0
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +0 -20
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/af.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/ar.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/az.js +0 -10
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/bg.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/ca.js +0 -14
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/cs.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/cy.js +0 -14
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/da.js +0 -11
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/de-ch.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/de.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/el.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/en-au.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/en-ca.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/en.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/eo.js +0 -12
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/es-mx.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/es.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/et.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/eu.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/fa.js +0 -12
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/fi.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +0 -10
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/fr.js +0 -12
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/gl.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/he.js +0 -12
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/hr.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/hu.js +0 -12
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/id.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/it.js +0 -14
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/ja.js +0 -9
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/km.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/ko.js +0 -10
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/ku.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/lt.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/lv.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/nb.js +0 -11
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/nl.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/no.js +0 -11
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/oc.js +0 -12
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/pl.js +0 -12
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +0 -11
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/pt.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/ro.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/ru.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/si.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/sk.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/sl.js +0 -12
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/sq.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/sr-latn.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/sr.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/sv.js +0 -11
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/th.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/tr.js +0 -12
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/tt.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/ug.js +0 -13
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/uk.js +0 -12
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/vi.js +0 -14
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +0 -9
- package/assets/ckeditor/plugins/specialchar/dialogs/lang/zh.js +0 -9
- package/assets/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -14
- package/assets/ckeditor/plugins/table/dialogs/table.js +0 -21
- package/assets/ckeditor/plugins/tableselection/styles/tableselection.css +0 -36
- package/assets/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -19
- package/assets/ckeditor/plugins/templates/dialogs/templates.css +0 -84
- package/assets/ckeditor/plugins/templates/dialogs/templates.js +0 -10
- package/assets/ckeditor/plugins/templates/templates/default.js +0 -7
- package/assets/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- package/assets/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- package/assets/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- package/assets/ckeditor/plugins/videoembed/.gitattributes +0 -17
- package/assets/ckeditor/plugins/videoembed/README.md +0 -35
- package/assets/ckeditor/plugins/videoembed/dialogs/videoembedDialog.js +0 -114
- package/assets/ckeditor/plugins/videoembed/icons/videoembed.png +0 -0
- package/assets/ckeditor/plugins/videoembed/lang/en.js +0 -8
- package/assets/ckeditor/plugins/videoembed/lang/fr.js +0 -8
- package/assets/ckeditor/plugins/videoembed/plugin.js +0 -27
- package/assets/ckeditor/plugins/widget/images/handle.png +0 -0
- package/assets/ckeditor/plugins/wordcount/css/wordcount.css +0 -3
- package/assets/ckeditor/plugins/wordcount/lang/ar.js +0 -12
- package/assets/ckeditor/plugins/wordcount/lang/bg.js +0 -17
- package/assets/ckeditor/plugins/wordcount/lang/ca.js +0 -14
- package/assets/ckeditor/plugins/wordcount/lang/cs.js +0 -15
- package/assets/ckeditor/plugins/wordcount/lang/da.js +0 -14
- package/assets/ckeditor/plugins/wordcount/lang/de.js +0 -14
- package/assets/ckeditor/plugins/wordcount/lang/el.js +0 -14
- package/assets/ckeditor/plugins/wordcount/lang/en.js +0 -17
- package/assets/ckeditor/plugins/wordcount/lang/es.js +0 -14
- package/assets/ckeditor/plugins/wordcount/lang/eu.js +0 -17
- package/assets/ckeditor/plugins/wordcount/lang/fa.js +0 -13
- package/assets/ckeditor/plugins/wordcount/lang/fi.js +0 -15
- package/assets/ckeditor/plugins/wordcount/lang/fr.js +0 -12
- package/assets/ckeditor/plugins/wordcount/lang/he.js +0 -14
- package/assets/ckeditor/plugins/wordcount/lang/hr.js +0 -14
- package/assets/ckeditor/plugins/wordcount/lang/hu.js +0 -14
- package/assets/ckeditor/plugins/wordcount/lang/it.js +0 -15
- package/assets/ckeditor/plugins/wordcount/lang/ja.js +0 -14
- package/assets/ckeditor/plugins/wordcount/lang/ko.js +0 -16
- package/assets/ckeditor/plugins/wordcount/lang/nl.js +0 -14
- package/assets/ckeditor/plugins/wordcount/lang/no.js +0 -11
- package/assets/ckeditor/plugins/wordcount/lang/pl.js +0 -14
- package/assets/ckeditor/plugins/wordcount/lang/pt-br.js +0 -14
- package/assets/ckeditor/plugins/wordcount/lang/pt.js +0 -10
- package/assets/ckeditor/plugins/wordcount/lang/ro.js +0 -15
- package/assets/ckeditor/plugins/wordcount/lang/ru.js +0 -14
- package/assets/ckeditor/plugins/wordcount/lang/sk.js +0 -15
- package/assets/ckeditor/plugins/wordcount/lang/sv.js +0 -15
- package/assets/ckeditor/plugins/wordcount/lang/tr.js +0 -14
- package/assets/ckeditor/plugins/wordcount/lang/uk.js +0 -17
- package/assets/ckeditor/plugins/wordcount/lang/zh-cn.js +0 -17
- package/assets/ckeditor/plugins/wordcount/lang/zh.js +0 -17
- package/assets/ckeditor/plugins/wordcount/plugin.js +0 -639
- package/assets/ckeditor/plugins/wordcount/samples/maxParagraphs.html +0 -26
- package/assets/ckeditor/plugins/wordcount/samples/wordcount.html +0 -61
- package/assets/ckeditor/plugins/wordcount/samples/wordcountWithMaxCount.html +0 -110
- package/assets/ckeditor/plugins/wsc/LICENSE.md +0 -28
- package/assets/ckeditor/plugins/wsc/README.md +0 -80
- package/assets/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -66
- package/assets/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
- package/assets/ckeditor/plugins/wsc/dialogs/wsc.css +0 -82
- package/assets/ckeditor/plugins/wsc/dialogs/wsc.js +0 -91
- package/assets/ckeditor/plugins/wsc/dialogs/wsc_ie.js +0 -11
- package/assets/ckeditor/plugins/wsc/skins/moono-lisa/wsc.css +0 -43
- package/assets/ckeditor/samples/css/samples.css +0 -1637
- package/assets/ckeditor/samples/img/github-top.png +0 -0
- package/assets/ckeditor/samples/img/header-bg.png +0 -0
- package/assets/ckeditor/samples/img/header-separator.png +0 -0
- package/assets/ckeditor/samples/img/logo.png +0 -0
- package/assets/ckeditor/samples/img/logo.svg +0 -13
- package/assets/ckeditor/samples/img/navigation-tip.png +0 -0
- package/assets/ckeditor/samples/index.html +0 -128
- package/assets/ckeditor/samples/js/sample.js +0 -53
- package/assets/ckeditor/samples/js/sf.js +0 -17
- package/assets/ckeditor/samples/old/ajax.html +0 -85
- package/assets/ckeditor/samples/old/api.html +0 -210
- package/assets/ckeditor/samples/old/appendto.html +0 -59
- package/assets/ckeditor/samples/old/assets/inlineall/logo.png +0 -0
- package/assets/ckeditor/samples/old/assets/outputxhtml/outputxhtml.css +0 -204
- package/assets/ckeditor/samples/old/assets/posteddata.php +0 -59
- package/assets/ckeditor/samples/old/assets/sample.jpg +0 -0
- package/assets/ckeditor/samples/old/assets/uilanguages/languages.js +0 -7
- package/assets/ckeditor/samples/old/datafiltering.html +0 -508
- package/assets/ckeditor/samples/old/dialog/assets/my_dialog.js +0 -48
- package/assets/ckeditor/samples/old/dialog/dialog.html +0 -190
- package/assets/ckeditor/samples/old/divarea/divarea.html +0 -64
- package/assets/ckeditor/samples/old/divreplace.html +0 -144
- package/assets/ckeditor/samples/old/enterkey/enterkey.html +0 -106
- package/assets/ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.fla +0 -0
- package/assets/ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.swf +0 -0
- package/assets/ckeditor/samples/old/htmlwriter/assets/outputforflash/swfobject.js +0 -19
- package/assets/ckeditor/samples/old/htmlwriter/outputforflash.html +0 -283
- package/assets/ckeditor/samples/old/htmlwriter/outputhtml.html +0 -224
- package/assets/ckeditor/samples/old/index.html +0 -134
- package/assets/ckeditor/samples/old/inlineall.html +0 -314
- package/assets/ckeditor/samples/old/inlinebycode.html +0 -124
- package/assets/ckeditor/samples/old/inlinetextarea.html +0 -113
- package/assets/ckeditor/samples/old/jquery.html +0 -103
- package/assets/ckeditor/samples/old/magicline/magicline.html +0 -209
- package/assets/ckeditor/samples/old/readonly.html +0 -76
- package/assets/ckeditor/samples/old/replacebyclass.html +0 -60
- package/assets/ckeditor/samples/old/replacebycode.html +0 -59
- package/assets/ckeditor/samples/old/sample.css +0 -357
- package/assets/ckeditor/samples/old/sample.js +0 -50
- package/assets/ckeditor/samples/old/sample_posteddata.php +0 -16
- package/assets/ckeditor/samples/old/tabindex.html +0 -78
- package/assets/ckeditor/samples/old/toolbar/toolbar.html +0 -235
- package/assets/ckeditor/samples/old/uicolor.html +0 -72
- package/assets/ckeditor/samples/old/uilanguages.html +0 -122
- package/assets/ckeditor/samples/old/wysiwygarea/fullpage.html +0 -80
- package/assets/ckeditor/samples/old/xhtmlstyle.html +0 -234
- package/assets/ckeditor/samples/toolbarconfigurator/css/fontello.css +0 -55
- package/assets/ckeditor/samples/toolbarconfigurator/font/LICENSE.txt +0 -10
- package/assets/ckeditor/samples/toolbarconfigurator/font/config.json +0 -28
- package/assets/ckeditor/samples/toolbarconfigurator/font/fontello.eot +0 -0
- package/assets/ckeditor/samples/toolbarconfigurator/font/fontello.svg +0 -14
- package/assets/ckeditor/samples/toolbarconfigurator/font/fontello.ttf +0 -0
- package/assets/ckeditor/samples/toolbarconfigurator/font/fontello.woff +0 -0
- package/assets/ckeditor/samples/toolbarconfigurator/index.html +0 -446
- package/assets/ckeditor/samples/toolbarconfigurator/js/abstracttoolbarmodifier.js +0 -13
- package/assets/ckeditor/samples/toolbarconfigurator/js/fulltoolbareditor.js +0 -9
- package/assets/ckeditor/samples/toolbarconfigurator/js/toolbarmodifier.js +0 -33
- package/assets/ckeditor/samples/toolbarconfigurator/js/toolbartextmodifier.js +0 -14
- package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/LICENSE +0 -19
- package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.css +0 -325
- package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.js +0 -288
- package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/javascript.js +0 -25
- package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/neo.css +0 -36
- package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.css +0 -38
- package/assets/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.js +0 -16
- package/assets/ckeditor/skins/office2013/dialog.css +0 -5
- package/assets/ckeditor/skins/office2013/editor.css +0 -5
- package/assets/ckeditor/skins/office2013/icons.png +0 -0
- package/assets/ckeditor/skins/office2013/icons_hidpi.png +0 -0
- package/assets/ckeditor/skins/office2013/images/arrow.png +0 -0
- package/assets/ckeditor/skins/office2013/images/close.png +0 -0
- package/assets/ckeditor/skins/office2013/images/hidpi/close.png +0 -0
- package/assets/ckeditor/skins/office2013/images/hidpi/lock-open.png +0 -0
- package/assets/ckeditor/skins/office2013/images/hidpi/lock.png +0 -0
- package/assets/ckeditor/skins/office2013/images/hidpi/refresh.png +0 -0
- package/assets/ckeditor/skins/office2013/images/lock-open.png +0 -0
- package/assets/ckeditor/skins/office2013/images/lock.png +0 -0
- package/assets/ckeditor/skins/office2013/images/refresh.png +0 -0
- package/assets/ckeditor/styles.js +0 -137
- package/bundles/sd-angular-core-modal-custom.umd.js +0 -487
- package/bundles/sd-angular-core-modal-custom.umd.js.map +0 -1
- package/bundles/sd-angular-core-modal-custom.umd.min.js +0 -16
- package/bundles/sd-angular-core-modal-custom.umd.min.js.map +0 -1
- package/esm2015/lib/controls/ckeditor-control/ckeditor-control.component.js +0 -53
- package/esm2015/lib/controls/date-picker-control/date-picker-control.component.js +0 -156
- package/esm2015/lib/pipes/sd-date.pipe.js +0 -15
- package/esm2015/lib/validators/chip-min-item.validator.js +0 -26
- package/esm2015/lib/validators/custom.validator.js +0 -39
- package/esm2015/lib/validators/max-date.validator.js +0 -30
- package/esm2015/lib/validators/min-date.validator.js +0 -30
- package/esm2015/modal-custom/index.js +0 -2
- package/esm2015/modal-custom/sd-angular-core-modal-custom.js +0 -5
- package/esm2015/modal-custom/src/lib/modal-custom/modal-custom.component.js +0 -123
- package/esm2015/modal-custom/src/lib/modal-custom.module.js +0 -30
- package/esm2015/modal-custom/src/public-api.js +0 -6
- package/fesm2015/sd-angular-core-modal-custom.js +0 -161
- package/fesm2015/sd-angular-core-modal-custom.js.map +0 -1
- package/lib/controls/ckeditor-control/ckeditor-control.component.d.ts +0 -20
- package/lib/controls/date-picker-control/date-picker-control.component.d.ts +0 -36
- package/lib/pipes/sd-date.pipe.d.ts +0 -4
- package/lib/validators/chip-min-item.validator.d.ts +0 -5
- package/lib/validators/custom.validator.d.ts +0 -5
- package/lib/validators/max-date.validator.d.ts +0 -5
- package/lib/validators/min-date.validator.d.ts +0 -5
- package/modal-custom/index.d.ts +0 -1
- package/modal-custom/package.json +0 -12
- package/modal-custom/sd-angular-core-modal-custom.d.ts +0 -4
- package/modal-custom/sd-angular-core-modal-custom.metadata.json +0 -1
- package/modal-custom/src/lib/modal-custom/modal-custom.component.d.ts +0 -31
- package/modal-custom/src/lib/modal-custom.module.d.ts +0 -2
- package/modal-custom/src/public-api.d.ts +0 -2
- package/sd-angular-core-0.0.1047.tgz +0 -0
|
@@ -15,11 +15,8 @@ import '@sd-angular/core/image-preview';
|
|
|
15
15
|
import '@sd-angular/core/comment';
|
|
16
16
|
import '@sd-angular/core/filter';
|
|
17
17
|
import '@sd-angular/core/modal-resizable';
|
|
18
|
-
import { NgModule
|
|
19
|
-
import { CommonModule
|
|
20
|
-
import { HttpClientModule } from '@angular/common/http';
|
|
21
|
-
import { NG_VALIDATORS, NG_ASYNC_VALIDATORS, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
22
|
-
import { CKEditorModule } from 'ckeditor4-angular';
|
|
18
|
+
import { NgModule } from '@angular/core';
|
|
19
|
+
import { CommonModule } from '@angular/common';
|
|
23
20
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
24
21
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
25
22
|
import { MatInputModule } from '@angular/material/input';
|
|
@@ -39,7 +36,6 @@ import { MatExpansionModule } from '@angular/material/expansion';
|
|
|
39
36
|
import { MatTabsModule } from '@angular/material/tabs';
|
|
40
37
|
import { DragDropModule } from '@angular/cdk/drag-drop';
|
|
41
38
|
import { MatPaginatorModule } from '@angular/material/paginator';
|
|
42
|
-
import { DeviceDetectorService, DeviceDetectorModule } from 'ngx-device-detector';
|
|
43
39
|
import { SdServiceModule } from '@sd-angular/core/service';
|
|
44
40
|
export * from '@sd-angular/core/service';
|
|
45
41
|
import { SdChartModule } from '@sd-angular/core/chart';
|
|
@@ -50,11 +46,6 @@ import { SdEditorModule } from '@sd-angular/core/editor';
|
|
|
50
46
|
export * from '@sd-angular/core/editor';
|
|
51
47
|
import { SdKonvaModule } from '@sd-angular/core/konva';
|
|
52
48
|
export * from '@sd-angular/core/konva';
|
|
53
|
-
import { v4 } from 'uuid';
|
|
54
|
-
import $ from 'jquery';
|
|
55
|
-
import 'jquery-datetimepicker';
|
|
56
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
57
|
-
import { __awaiter } from 'tslib';
|
|
58
49
|
import { SdUploadExcelModule } from '@sd-angular/core/upload-excel';
|
|
59
50
|
export * from '@sd-angular/core/upload-excel';
|
|
60
51
|
import { SdGridModule } from '@sd-angular/core/grid';
|
|
@@ -127,350 +118,13 @@ MaterialModule.decorators = [
|
|
|
127
118
|
},] }
|
|
128
119
|
];
|
|
129
120
|
|
|
130
|
-
class SdDatePipe {
|
|
131
|
-
transform(value, format) {
|
|
132
|
-
if (!Date.isDate(value)) {
|
|
133
|
-
return value;
|
|
134
|
-
}
|
|
135
|
-
return Date.toFormat(value, format);
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
SdDatePipe.decorators = [
|
|
139
|
-
{ type: Pipe, args: [{
|
|
140
|
-
name: 'sdDate'
|
|
141
|
-
},] }
|
|
142
|
-
];
|
|
143
|
-
|
|
144
|
-
// Document: https://xdsoft.net/jqplugins/datetimepicker/
|
|
145
|
-
class DatePickerControlComponent {
|
|
146
|
-
constructor(ref, deviceService) {
|
|
147
|
-
this.ref = ref;
|
|
148
|
-
this.isMobileOrTablet = false;
|
|
149
|
-
this.initialized = false;
|
|
150
|
-
this.pMinDate = null;
|
|
151
|
-
this.pMaxDate = null;
|
|
152
|
-
this.name = v4();
|
|
153
|
-
this.type = 'datetime';
|
|
154
|
-
this.disabled = false;
|
|
155
|
-
this.required = false;
|
|
156
|
-
this.sdChange = new EventEmitter();
|
|
157
|
-
this.modelChange = new EventEmitter();
|
|
158
|
-
this.onFocus = () => {
|
|
159
|
-
if (this.isMobileOrTablet) {
|
|
160
|
-
$(this.control.nativeElement).trigger('blur');
|
|
161
|
-
}
|
|
162
|
-
};
|
|
163
|
-
this.onChanges = () => {
|
|
164
|
-
this.date = this.pDate;
|
|
165
|
-
};
|
|
166
|
-
this.isMobileOrTablet = !deviceService.isDesktop();
|
|
167
|
-
}
|
|
168
|
-
set minDate(date) {
|
|
169
|
-
if (!Date.isDate(date)) {
|
|
170
|
-
this.pMinDate = null;
|
|
171
|
-
}
|
|
172
|
-
else {
|
|
173
|
-
this.pMinDate = Date.toFormat(date, 'yyyy/MM/dd HH:mm');
|
|
174
|
-
}
|
|
175
|
-
this.setOption();
|
|
176
|
-
}
|
|
177
|
-
set maxDate(date) {
|
|
178
|
-
if (!Date.isDate(date)) {
|
|
179
|
-
this.pMaxDate = null;
|
|
180
|
-
}
|
|
181
|
-
else {
|
|
182
|
-
this.pMaxDate = Date.toFormat(date, 'yyyy/MM/dd HH:mm'); // this.datePipe.transform(date, 'yyyy/MM/dd HH:mm');
|
|
183
|
-
}
|
|
184
|
-
this.setOption();
|
|
185
|
-
}
|
|
186
|
-
set model(val) {
|
|
187
|
-
if (!Date.isDate(val)) {
|
|
188
|
-
this.pDate = null;
|
|
189
|
-
}
|
|
190
|
-
else {
|
|
191
|
-
if (this.type === 'datetime') {
|
|
192
|
-
this.pDate = Date.toFormat(val, 'dd/MM/yyyy HH:mm');
|
|
193
|
-
}
|
|
194
|
-
else if (this.type === 'date') {
|
|
195
|
-
this.pDate = Date.toFormat(val, 'dd/MM/yyyy');
|
|
196
|
-
}
|
|
197
|
-
else {
|
|
198
|
-
this.pDate = Date.toFormat(val, 'HH:mm');
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
if (this.initialized) {
|
|
202
|
-
this.onChanges();
|
|
203
|
-
}
|
|
204
|
-
this.ref.detectChanges();
|
|
205
|
-
}
|
|
206
|
-
ngOnDestroy() {
|
|
207
|
-
var _a;
|
|
208
|
-
(_a = this.form) === null || _a === void 0 ? void 0 : _a.removeControl(this.formModel);
|
|
209
|
-
}
|
|
210
|
-
ngAfterViewInit() {
|
|
211
|
-
var _a;
|
|
212
|
-
(_a = this.form) === null || _a === void 0 ? void 0 : _a.addControl(this.formModel);
|
|
213
|
-
this.onChanges();
|
|
214
|
-
this.initialized = true;
|
|
215
|
-
this.setOption();
|
|
216
|
-
this.ref.detectChanges();
|
|
217
|
-
}
|
|
218
|
-
setOption() {
|
|
219
|
-
if (this.initialized) {
|
|
220
|
-
$(this.control.nativeElement).datetimepicker({
|
|
221
|
-
datepicker: this.type === 'datetime' || this.type === 'date',
|
|
222
|
-
timepicker: this.type === 'datetime' || this.type === 'time',
|
|
223
|
-
format: this.type === 'datetime' ? 'd/m/Y H:i' : (this.type === 'date' ? 'd/m/Y' : 'H:i'),
|
|
224
|
-
step: 15,
|
|
225
|
-
minDate: this.pMinDate || undefined,
|
|
226
|
-
maxDate: this.pMaxDate || undefined,
|
|
227
|
-
scrollMonth: false,
|
|
228
|
-
scrollTime: false,
|
|
229
|
-
scrollInput: false,
|
|
230
|
-
onChangeDateTime: (date) => {
|
|
231
|
-
if (!date && !this.date) {
|
|
232
|
-
return;
|
|
233
|
-
}
|
|
234
|
-
if (this.type === 'datetime') {
|
|
235
|
-
date = Date.toFormat(date, 'dd/MM/yyyy HH:mm');
|
|
236
|
-
}
|
|
237
|
-
else if (this.type === 'time') {
|
|
238
|
-
date = Date.toFormat(date, 'HH:mm');
|
|
239
|
-
}
|
|
240
|
-
else {
|
|
241
|
-
date = Date.toFormat(date, 'dd/MM/yyyy');
|
|
242
|
-
}
|
|
243
|
-
if (!this.equal(date, this.date)) {
|
|
244
|
-
this.model = this.parse(date);
|
|
245
|
-
this.modelChange.emit(this.parse(date));
|
|
246
|
-
this.sdChange.emit(this.parse(date));
|
|
247
|
-
}
|
|
248
|
-
this.ref.detectChanges();
|
|
249
|
-
}
|
|
250
|
-
});
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
parse(date) {
|
|
254
|
-
if (this.type === 'date') {
|
|
255
|
-
return Date.parseFrom(date, 'dd/MM/yyyy');
|
|
256
|
-
}
|
|
257
|
-
else if (this.type === 'time') {
|
|
258
|
-
return Date.parseFrom(date, 'HH:mm');
|
|
259
|
-
}
|
|
260
|
-
return Date.parseFrom(date, 'dd/MM/yyyy HH:mm');
|
|
261
|
-
}
|
|
262
|
-
equal(date1, date2) {
|
|
263
|
-
return Date.equal(this.parse(date1), this.parse(date2));
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
DatePickerControlComponent.decorators = [
|
|
267
|
-
{ type: Component, args: [{
|
|
268
|
-
selector: 'sd-date-picker-control',
|
|
269
|
-
template: "<mat-form-field appearance=\"outline\">\r\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\r\n <input #formModel=\"ngModel\" [name]=\"name\" autocomplete=\"off\" #control matInput\r\n placeholder=\"{{placeholder || label}}\" [ngModel]=\"date\" (focus)=\"onFocus()\" [required]=\"required\" [disabled]=\"disabled\"\r\n [sdMinDate]=\"pMinDate\" [sdMaxDate]=\"pMaxDate\" [sdCustomValidator]=\"validator\" autocomplete=\"off\">\r\n <mat-icon *ngIf=\"type !== 'time'\" matSuffix>date_range</mat-icon>\r\n <mat-icon *ngIf=\"type === 'time'\" matSuffix>schedule</mat-icon>\r\n <!-- <i matSuffix class=\"fa\" [ngClass]=\"{'fa-clock-o':type === 'time', 'fa-calendar':type !== 'time'}\"></i> -->\r\n <mat-error *ngIf=\"formModel?.errors?.required\">\r\n {{'This field is required' | sdTranslate}}\r\n </mat-error>\r\n <mat-error *ngIf=\"formModel?.errors?.minDate\">\r\n {{'Min date' | sdTranslate}}: <strong>{{pMinDate | date:'dd/MM/yyyy HH:mm'}}</strong>\r\n </mat-error>\r\n <mat-error *ngIf=\"formModel?.errors?.maxDate\">\r\n {{'Max date' | sdTranslate}}: <strong>{{pMaxDate | date:'dd/MM/yyyy HH:mm'}}</strong>\r\n </mat-error>\r\n <mat-error *ngIf=\"formModel?.errors?.customValidator\">\r\n <strong>{{formModel?.errors?.customValidator}}</strong>\r\n </mat-error>\r\n</mat-form-field>",
|
|
270
|
-
encapsulation: ViewEncapsulation.None,
|
|
271
|
-
styles: [".xdsoft_datetimepicker{z-index:99999}"]
|
|
272
|
-
},] }
|
|
273
|
-
];
|
|
274
|
-
DatePickerControlComponent.ctorParameters = () => [
|
|
275
|
-
{ type: ChangeDetectorRef },
|
|
276
|
-
{ type: DeviceDetectorService }
|
|
277
|
-
];
|
|
278
|
-
DatePickerControlComponent.propDecorators = {
|
|
279
|
-
form: [{ type: Input }],
|
|
280
|
-
type: [{ type: Input }],
|
|
281
|
-
disabled: [{ type: Input }],
|
|
282
|
-
required: [{ type: Input }],
|
|
283
|
-
label: [{ type: Input }],
|
|
284
|
-
placeholder: [{ type: Input }],
|
|
285
|
-
minDate: [{ type: Input }],
|
|
286
|
-
maxDate: [{ type: Input }],
|
|
287
|
-
validator: [{ type: Input }],
|
|
288
|
-
sdChange: [{ type: Output }],
|
|
289
|
-
model: [{ type: Input }],
|
|
290
|
-
modelChange: [{ type: Output }],
|
|
291
|
-
control: [{ type: ViewChild, args: ['control',] }],
|
|
292
|
-
formModel: [{ type: ViewChild, args: ['formModel',] }]
|
|
293
|
-
};
|
|
294
|
-
|
|
295
|
-
class CkeditorControlComponent {
|
|
296
|
-
constructor(ref, sanitizer) {
|
|
297
|
-
this.ref = ref;
|
|
298
|
-
this.sanitizer = sanitizer;
|
|
299
|
-
this.disabled = false;
|
|
300
|
-
this.required = false;
|
|
301
|
-
this.modelChange = new EventEmitter();
|
|
302
|
-
// tslint:disable-next-line: no-output-native
|
|
303
|
-
this.change = new EventEmitter();
|
|
304
|
-
this.sdChange = new EventEmitter();
|
|
305
|
-
this.editorUrl = '../../assets/ckeditor/ckeditor.js';
|
|
306
|
-
}
|
|
307
|
-
set model(value) {
|
|
308
|
-
this.cModel = value;
|
|
309
|
-
this.ref.detectChanges();
|
|
310
|
-
}
|
|
311
|
-
set config(value) {
|
|
312
|
-
this.cConfig = value;
|
|
313
|
-
this.ref.detectChanges();
|
|
314
|
-
}
|
|
315
|
-
ngOnInit() {
|
|
316
|
-
}
|
|
317
|
-
onChange(value) {
|
|
318
|
-
this.model = value;
|
|
319
|
-
this.modelChange.emit(value);
|
|
320
|
-
this.change.emit(value);
|
|
321
|
-
this.sdChange.emit(value);
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
CkeditorControlComponent.decorators = [
|
|
325
|
-
{ type: Component, args: [{
|
|
326
|
-
selector: 'sd-ckeditor-control',
|
|
327
|
-
template: "\r\n<label *ngIf=\"label\" class=\"T14M d-block\">{{label}} <span *ngIf=\"required\" class=\"text-danger\">*</span></label>\r\n<ckeditor [ngModel]=\"cModel\" (ngModelChange)=\"onChange($event)\" [config]=\"cConfig\" [readOnly]=\"disabled\" [editorUrl]=\"editorUrl\"></ckeditor>",
|
|
328
|
-
styles: [":host ::ng-deep .ck-editor__editable{min-height:500px}"]
|
|
329
|
-
},] }
|
|
330
|
-
];
|
|
331
|
-
CkeditorControlComponent.ctorParameters = () => [
|
|
332
|
-
{ type: ChangeDetectorRef },
|
|
333
|
-
{ type: DomSanitizer }
|
|
334
|
-
];
|
|
335
|
-
CkeditorControlComponent.propDecorators = {
|
|
336
|
-
label: [{ type: Input }],
|
|
337
|
-
disabled: [{ type: Input }],
|
|
338
|
-
required: [{ type: Input }],
|
|
339
|
-
model: [{ type: Input }],
|
|
340
|
-
config: [{ type: Input }],
|
|
341
|
-
modelChange: [{ type: Output }],
|
|
342
|
-
change: [{ type: Output }],
|
|
343
|
-
sdChange: [{ type: Output }]
|
|
344
|
-
};
|
|
345
|
-
|
|
346
|
-
class SdMinDateValidator {
|
|
347
|
-
validate(c) {
|
|
348
|
-
const date = c.value || null;
|
|
349
|
-
const minDate = this.minDate || null;
|
|
350
|
-
if (!date) {
|
|
351
|
-
return null;
|
|
352
|
-
}
|
|
353
|
-
if (!minDate) {
|
|
354
|
-
return null;
|
|
355
|
-
}
|
|
356
|
-
if (new Date(Date.parseFrom(date, 'dd/MM/yyyy HH:mm')).getTime() < new Date(minDate).getTime()) {
|
|
357
|
-
return {
|
|
358
|
-
minDate: true
|
|
359
|
-
};
|
|
360
|
-
}
|
|
361
|
-
return null;
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
SdMinDateValidator.decorators = [
|
|
365
|
-
{ type: Directive, args: [{
|
|
366
|
-
selector: '[sdMinDate]',
|
|
367
|
-
providers: [{ provide: NG_VALIDATORS, useExisting: SdMinDateValidator, multi: true }]
|
|
368
|
-
},] }
|
|
369
|
-
];
|
|
370
|
-
SdMinDateValidator.propDecorators = {
|
|
371
|
-
minDate: [{ type: Input, args: ['sdMinDate',] }]
|
|
372
|
-
};
|
|
373
|
-
|
|
374
|
-
class SdMaxDateValidator {
|
|
375
|
-
validate(c) {
|
|
376
|
-
const date = c.value || null;
|
|
377
|
-
const maxDate = this.maxDate || null;
|
|
378
|
-
if (!date) {
|
|
379
|
-
return null;
|
|
380
|
-
}
|
|
381
|
-
if (!maxDate) {
|
|
382
|
-
return null;
|
|
383
|
-
}
|
|
384
|
-
if (new Date(Date.parseFrom(date, 'dd/MM/yyyy HH:mm')).getTime() > new Date(maxDate).getTime()) {
|
|
385
|
-
return {
|
|
386
|
-
maxDate: true
|
|
387
|
-
};
|
|
388
|
-
}
|
|
389
|
-
return null;
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
SdMaxDateValidator.decorators = [
|
|
393
|
-
{ type: Directive, args: [{
|
|
394
|
-
selector: '[sdMaxDate]',
|
|
395
|
-
providers: [{ provide: NG_VALIDATORS, useExisting: SdMaxDateValidator, multi: true }]
|
|
396
|
-
},] }
|
|
397
|
-
];
|
|
398
|
-
SdMaxDateValidator.propDecorators = {
|
|
399
|
-
maxDate: [{ type: Input, args: ['sdMaxDate',] }]
|
|
400
|
-
};
|
|
401
|
-
|
|
402
|
-
class SdCustomValidator {
|
|
403
|
-
validate(c) {
|
|
404
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
405
|
-
const value = c.value || null;
|
|
406
|
-
if (this.func && typeof (this.func) === 'function') {
|
|
407
|
-
const result = this.func(value);
|
|
408
|
-
if (result instanceof Promise) {
|
|
409
|
-
const message = yield result;
|
|
410
|
-
if (message) {
|
|
411
|
-
return {
|
|
412
|
-
customValidator: message
|
|
413
|
-
};
|
|
414
|
-
}
|
|
415
|
-
return null;
|
|
416
|
-
}
|
|
417
|
-
if (result) {
|
|
418
|
-
return {
|
|
419
|
-
customValidator: result
|
|
420
|
-
};
|
|
421
|
-
}
|
|
422
|
-
return null;
|
|
423
|
-
}
|
|
424
|
-
return null;
|
|
425
|
-
});
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
SdCustomValidator.decorators = [
|
|
429
|
-
{ type: Directive, args: [{
|
|
430
|
-
selector: '[sdCustomValidator]',
|
|
431
|
-
providers: [{ provide: NG_ASYNC_VALIDATORS, useExisting: SdCustomValidator, multi: true }]
|
|
432
|
-
},] }
|
|
433
|
-
];
|
|
434
|
-
SdCustomValidator.propDecorators = {
|
|
435
|
-
func: [{ type: Input, args: ['sdCustomValidator',] }]
|
|
436
|
-
};
|
|
437
|
-
|
|
438
|
-
class SdChipMinItemValidator {
|
|
439
|
-
validate(c) {
|
|
440
|
-
if (this.func && typeof (this.func) === 'function') {
|
|
441
|
-
const result = this.func();
|
|
442
|
-
if (result) {
|
|
443
|
-
return {
|
|
444
|
-
minItem: result
|
|
445
|
-
};
|
|
446
|
-
}
|
|
447
|
-
return null;
|
|
448
|
-
}
|
|
449
|
-
return null;
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
SdChipMinItemValidator.decorators = [
|
|
453
|
-
{ type: Directive, args: [{
|
|
454
|
-
selector: '[sdChipMinItem]',
|
|
455
|
-
providers: [{ provide: NG_VALIDATORS, useExisting: SdChipMinItemValidator, multi: true }]
|
|
456
|
-
},] }
|
|
457
|
-
];
|
|
458
|
-
SdChipMinItemValidator.propDecorators = {
|
|
459
|
-
func: [{ type: Input, args: ['sdChipMinItem',] }]
|
|
460
|
-
};
|
|
461
|
-
|
|
462
121
|
class SdCoreModule {
|
|
463
122
|
}
|
|
464
123
|
SdCoreModule.decorators = [
|
|
465
124
|
{ type: NgModule, args: [{
|
|
466
125
|
imports: [
|
|
467
126
|
CommonModule,
|
|
468
|
-
FormsModule,
|
|
469
|
-
ReactiveFormsModule,
|
|
470
|
-
HttpClientModule,
|
|
471
127
|
MaterialModule,
|
|
472
|
-
CKEditorModule,
|
|
473
|
-
DeviceDetectorModule.forRoot(),
|
|
474
128
|
SdChartModule,
|
|
475
129
|
SdKonvaModule,
|
|
476
130
|
SdGridMaterialModule,
|
|
@@ -479,17 +133,7 @@ SdCoreModule.decorators = [
|
|
|
479
133
|
SdFormModule,
|
|
480
134
|
SdServiceModule
|
|
481
135
|
],
|
|
482
|
-
declarations: [
|
|
483
|
-
DatePickerControlComponent,
|
|
484
|
-
CkeditorControlComponent,
|
|
485
|
-
// // Pipes
|
|
486
|
-
SdDatePipe,
|
|
487
|
-
// Validators
|
|
488
|
-
SdMinDateValidator,
|
|
489
|
-
SdMaxDateValidator,
|
|
490
|
-
SdCustomValidator,
|
|
491
|
-
SdChipMinItemValidator
|
|
492
|
-
],
|
|
136
|
+
declarations: [],
|
|
493
137
|
exports: [
|
|
494
138
|
SdChartModule,
|
|
495
139
|
SdKonvaModule,
|
|
@@ -500,14 +144,8 @@ SdCoreModule.decorators = [
|
|
|
500
144
|
SdFormModule,
|
|
501
145
|
SdServiceModule,
|
|
502
146
|
MaterialModule,
|
|
503
|
-
// Controls
|
|
504
|
-
DatePickerControlComponent,
|
|
505
|
-
CkeditorControlComponent
|
|
506
147
|
],
|
|
507
|
-
providers: [
|
|
508
|
-
DatePipe,
|
|
509
|
-
DecimalPipe
|
|
510
|
-
]
|
|
148
|
+
providers: []
|
|
511
149
|
},] }
|
|
512
150
|
];
|
|
513
151
|
|
|
@@ -515,5 +153,5 @@ SdCoreModule.decorators = [
|
|
|
515
153
|
* Generated bundle index. Do not edit.
|
|
516
154
|
*/
|
|
517
155
|
|
|
518
|
-
export {
|
|
156
|
+
export { MaterialModule, SdCoreModule };
|
|
519
157
|
//# sourceMappingURL=sd-angular-core.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-angular-core.js","sources":["../../../../projects/sd-core/src/lib/material.module.ts","../../../../projects/sd-core/src/lib/pipes/sd-date.pipe.ts","../../../../projects/sd-core/src/lib/controls/date-picker-control/date-picker-control.component.ts","../../../../projects/sd-core/src/lib/controls/ckeditor-control/ckeditor-control.component.ts","../../../../projects/sd-core/src/lib/validators/min-date.validator.ts","../../../../projects/sd-core/src/lib/validators/max-date.validator.ts","../../../../projects/sd-core/src/lib/validators/custom.validator.ts","../../../../projects/sd-core/src/lib/validators/chip-min-item.validator.ts","../../../../projects/sd-core/src/lib/core.module.ts","../../../../projects/sd-core/src/sd-angular-core.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\n\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatBottomSheetModule } from '@angular/material/bottom-sheet';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\n\r\n@NgModule({\r\n imports: [\r\n MatTooltipModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatSelectModule,\r\n MatAutocompleteModule,\r\n MatCheckboxModule,\r\n MatSlideToggleModule,\r\n MatRadioModule,\r\n MatIconModule,\r\n MatMenuModule,\r\n MatChipsModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n MatBottomSheetModule,\r\n MatProgressSpinnerModule,\r\n DragDropModule,\r\n MatExpansionModule,\r\n MatTabsModule,\r\n MatPaginatorModule\r\n ],\r\n exports: [\r\n MatTooltipModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatSelectModule,\r\n MatAutocompleteModule,\r\n MatCheckboxModule,\r\n MatSlideToggleModule,\r\n MatRadioModule,\r\n MatIconModule,\r\n MatMenuModule,\r\n MatChipsModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n MatBottomSheetModule,\r\n MatProgressSpinnerModule,\r\n DragDropModule,\r\n MatExpansionModule,\r\n MatTabsModule,\r\n MatPaginatorModule\r\n ]\r\n})\r\nexport class MaterialModule { }\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n@Pipe({\r\n name: 'sdDate'\r\n})\r\nexport class SdDatePipe implements PipeTransform {\r\n transform(value: any, format: string): string {\r\n if (!Date.isDate(value)) {\r\n return value;\r\n }\r\n return Date.toFormat(value, format);\r\n }\r\n}\r\n","import {\r\n Component,\r\n ViewChild,\r\n ElementRef,\r\n Input,\r\n EventEmitter,\r\n Output,\r\n OnDestroy,\r\n AfterViewInit,\r\n ChangeDetectorRef,\r\n ViewEncapsulation\r\n} from '@angular/core';\r\nimport * as uuid from 'uuid';\r\n\r\nimport $ from 'jquery';\r\nimport 'jquery-datetimepicker';\r\nimport { NgForm, NgModel } from '@angular/forms';\r\nimport { DeviceDetectorService } from 'ngx-device-detector';\r\n// Document: https://xdsoft.net/jqplugins/datetimepicker/\r\n\r\n@Component({\r\n selector: 'sd-date-picker-control',\r\n templateUrl: './date-picker-control.component.html',\r\n styleUrls: ['./date-picker-control.component.scss'],\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class DatePickerControlComponent implements OnDestroy, AfterViewInit {\r\n private isMobileOrTablet = false;\r\n private initialized = false;\r\n private pDate: any;\r\n pMinDate: any = null;\r\n pMaxDate: any = null;\r\n name = uuid.v4();\r\n @Input() form: NgForm;\r\n @Input() type: 'datetime' | 'date' | 'time' = 'datetime';\r\n @Input() disabled = false;\r\n @Input() required = false;\r\n @Input() label: string;\r\n @Input() placeholder: string;\r\n\r\n @Input() set minDate(date: string | Date | number) {\r\n if (!Date.isDate(date)) {\r\n this.pMinDate = null;\r\n } else {\r\n this.pMinDate = Date.toFormat(date, 'yyyy/MM/dd HH:mm');\r\n }\r\n this.setOption();\r\n }\r\n @Input() set maxDate(date: string | Date | number) {\r\n if (!Date.isDate(date)) {\r\n this.pMaxDate = null;\r\n } else {\r\n this.pMaxDate = Date.toFormat(date, 'yyyy/MM/dd HH:mm'); // this.datePipe.transform(date, 'yyyy/MM/dd HH:mm');\r\n }\r\n this.setOption();\r\n }\r\n @Input() validator: (value: any) => string | Promise<string>;\r\n @Output() sdChange = new EventEmitter();\r\n date: string;\r\n\r\n @Input() set model(val: any) {\r\n if (!Date.isDate(val)) {\r\n this.pDate = null;\r\n } else {\r\n if (this.type === 'datetime') {\r\n this.pDate = Date.toFormat(val, 'dd/MM/yyyy HH:mm');\r\n } else if (this.type === 'date') {\r\n this.pDate = Date.toFormat(val, 'dd/MM/yyyy');\r\n } else {\r\n this.pDate = Date.toFormat(val, 'HH:mm');\r\n }\r\n }\r\n if (this.initialized) {\r\n this.onChanges();\r\n }\r\n this.ref.detectChanges();\r\n }\r\n @Output() modelChange = new EventEmitter();\r\n\r\n @ViewChild('control') control: ElementRef;\r\n @ViewChild('formModel') formModel: NgModel;\r\n constructor(\r\n private ref: ChangeDetectorRef,\r\n deviceService: DeviceDetectorService) {\r\n this.isMobileOrTablet = !deviceService.isDesktop();\r\n }\r\n\r\n ngOnDestroy() {\r\n this.form?.removeControl(this.formModel);\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.form?.addControl(this.formModel);\r\n this.onChanges();\r\n this.initialized = true;\r\n this.setOption();\r\n this.ref.detectChanges();\r\n }\r\n\r\n onFocus = () => {\r\n if (this.isMobileOrTablet) {\r\n $(this.control.nativeElement).trigger('blur');\r\n }\r\n }\r\n\r\n private onChanges = () => {\r\n this.date = this.pDate;\r\n }\r\n\r\n private setOption() {\r\n if (this.initialized) {\r\n ($(this.control.nativeElement) as any).datetimepicker({\r\n datepicker: this.type === 'datetime' || this.type === 'date',\r\n timepicker: this.type === 'datetime' || this.type === 'time',\r\n format: this.type === 'datetime' ? 'd/m/Y H:i' : (this.type === 'date' ? 'd/m/Y' : 'H:i'),\r\n step: 15,\r\n minDate: this.pMinDate || undefined,\r\n maxDate: this.pMaxDate || undefined,\r\n scrollMonth: false,\r\n scrollTime: false,\r\n scrollInput: false,\r\n onChangeDateTime: (date: any) => {\r\n if (!date && !this.date) {\r\n return;\r\n }\r\n if (this.type === 'datetime') {\r\n date = Date.toFormat(date, 'dd/MM/yyyy HH:mm');\r\n } else if (this.type === 'time') {\r\n date = Date.toFormat(date, 'HH:mm');\r\n } else {\r\n date = Date.toFormat(date, 'dd/MM/yyyy');\r\n }\r\n if (!this.equal(date, this.date)) {\r\n this.model = this.parse(date);\r\n this.modelChange.emit(this.parse(date));\r\n this.sdChange.emit(this.parse(date));\r\n }\r\n this.ref.detectChanges();\r\n }\r\n });\r\n }\r\n }\r\n\r\n private parse(date: any) {\r\n if (this.type === 'date') {\r\n return Date.parseFrom(date, 'dd/MM/yyyy');\r\n } else if (this.type === 'time') {\r\n return Date.parseFrom(date, 'HH:mm');\r\n }\r\n return Date.parseFrom(date, 'dd/MM/yyyy HH:mm');\r\n }\r\n private equal(date1: any, date2: any) {\r\n return Date.equal(this.parse(date1), this.parse(date2));\r\n }\r\n}\r\n","import {\r\n Component,\r\n Input,\r\n ChangeDetectorRef,\r\n EventEmitter,\r\n Output,\r\n OnInit,\r\n} from '@angular/core';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\n\r\n@Component({\r\n selector: 'sd-ckeditor-control',\r\n templateUrl: './ckeditor-control.component.html',\r\n styleUrls: [\r\n './ckeditor-control.component.css',\r\n ],\r\n})\r\nexport class CkeditorControlComponent implements OnInit {\r\n @Input() label: string;\r\n @Input() disabled = false;\r\n @Input() required = false;\r\n @Input() set model(value: string) {\r\n this.cModel = value;\r\n this.ref.detectChanges();\r\n }\r\n @Input() set config(value: any) {\r\n this.cConfig = value;\r\n this.ref.detectChanges();\r\n }\r\n @Output() modelChange = new EventEmitter();\r\n // tslint:disable-next-line: no-output-native\r\n @Output() change = new EventEmitter();\r\n @Output() sdChange = new EventEmitter();\r\n cModel: string;\r\n cConfig: any;\r\n editorUrl = '../../assets/ckeditor/ckeditor.js';\r\n\r\n constructor(private ref: ChangeDetectorRef, private sanitizer: DomSanitizer) {\r\n\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n onChange(value: any) {\r\n this.model = value;\r\n this.modelChange.emit(value);\r\n this.change.emit(value);\r\n this.sdChange.emit(value);\r\n }\r\n}\r\n","import { Directive, Input } from '@angular/core';\r\nimport { NG_VALIDATORS, Validator, ValidationErrors, AbstractControl } from '@angular/forms';\r\n\r\n@Directive({\r\n selector: '[sdMinDate]',\r\n providers: [{ provide: NG_VALIDATORS, useExisting: SdMinDateValidator, multi: true }]\r\n})\r\nexport class SdMinDateValidator implements Validator {\r\n @Input('sdMinDate') minDate: string | Date;\r\n validate(c: AbstractControl): ValidationErrors {\r\n const date = c.value || null;\r\n const minDate = this.minDate || null;\r\n if (!date) {\r\n return null;\r\n }\r\n if (!minDate) {\r\n return null;\r\n }\r\n if (new Date(Date.parseFrom(date, 'dd/MM/yyyy HH:mm')).getTime() < new Date(minDate).getTime()) {\r\n return {\r\n minDate: true\r\n };\r\n }\r\n return null;\r\n }\r\n}\r\n","import { Directive, Input } from '@angular/core';\r\nimport { NG_VALIDATORS, Validator, ValidationErrors, AbstractControl } from '@angular/forms';\r\n\r\n@Directive({\r\n selector: '[sdMaxDate]',\r\n providers: [{ provide: NG_VALIDATORS, useExisting: SdMaxDateValidator, multi: true }]\r\n})\r\nexport class SdMaxDateValidator implements Validator {\r\n @Input('sdMaxDate') maxDate: string | Date;\r\n validate(c: AbstractControl): ValidationErrors {\r\n const date = c.value || null;\r\n const maxDate = this.maxDate || null;\r\n if (!date) {\r\n return null;\r\n }\r\n if (!maxDate) {\r\n return null;\r\n }\r\n if (new Date(Date.parseFrom(date, 'dd/MM/yyyy HH:mm')).getTime() > new Date(maxDate).getTime()) {\r\n return {\r\n maxDate: true\r\n };\r\n }\r\n return null;\r\n }\r\n}\r\n","import { Directive, Input } from '@angular/core';\r\nimport { ValidationErrors, AbstractControl, AsyncValidator, NG_ASYNC_VALIDATORS } from '@angular/forms';\r\n\r\n@Directive({\r\n selector: '[sdCustomValidator]',\r\n providers: [{ provide: NG_ASYNC_VALIDATORS, useExisting: SdCustomValidator, multi: true }]\r\n})\r\nexport class SdCustomValidator implements AsyncValidator {\r\n @Input('sdCustomValidator') func: (value: any) => string | Promise<string>;\r\n async validate(c: AbstractControl): Promise<ValidationErrors> {\r\n const value = c.value || null;\r\n if (this.func && typeof (this.func) === 'function') {\r\n const result = this.func(value);\r\n if (result instanceof Promise) {\r\n const message = await result;\r\n if (message) {\r\n return {\r\n customValidator: message\r\n };\r\n }\r\n return null;\r\n }\r\n if (result) {\r\n return {\r\n customValidator: result\r\n };\r\n }\r\n return null;\r\n }\r\n return null;\r\n }\r\n}\r\n","import { Directive, Input } from '@angular/core';\r\nimport { ValidationErrors, AbstractControl, Validator, NG_VALIDATORS } from '@angular/forms';\r\n\r\n@Directive({\r\n selector: '[sdChipMinItem]',\r\n providers: [{ provide: NG_VALIDATORS, useExisting: SdChipMinItemValidator, multi: true }]\r\n})\r\nexport class SdChipMinItemValidator implements Validator {\r\n @Input('sdChipMinItem') func: () => string;\r\n validate(c: AbstractControl): ValidationErrors {\r\n if (this.func && typeof (this.func) === 'function') {\r\n const result = this.func();\r\n if (result) {\r\n return {\r\n minItem: result\r\n };\r\n }\r\n return null;\r\n }\r\n return null;\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule, DatePipe, DecimalPipe } from '@angular/common';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { CKEditorModule } from 'ckeditor4-angular';\r\nimport { MaterialModule } from './material.module';\r\nimport { DeviceDetectorModule } from 'ngx-device-detector';\r\n\r\nimport { SdDatePipe } from './pipes/sd-date.pipe';\r\nimport { SdServiceModule } from '@sd-angular/core/service';\r\nimport { SdChartModule } from '@sd-angular/core/chart';\r\nimport { SdGridMaterialModule } from '@sd-angular/core/grid-material';\r\nimport { SdEditorModule } from '@sd-angular/core/editor';\r\nimport { SdKonvaModule } from '@sd-angular/core/konva';\r\nimport { DatePickerControlComponent } from './controls/date-picker-control/date-picker-control.component';\r\nimport { CkeditorControlComponent } from './controls/ckeditor-control/ckeditor-control.component';\r\nimport { SdMinDateValidator } from './validators/min-date.validator';\r\nimport { SdMaxDateValidator } from './validators/max-date.validator';\r\nimport { SdCustomValidator } from './validators/custom.validator';\r\nimport { SdChipMinItemValidator } from './validators/chip-min-item.validator';\r\nimport { SdUploadExcelModule } from '@sd-angular/core/upload-excel';\r\nimport { SdGridModule } from '@sd-angular/core/grid';\r\nimport { SdFormModule } from '@sd-angular/core/form';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n HttpClientModule,\r\n MaterialModule,\r\n CKEditorModule,\r\n DeviceDetectorModule.forRoot(),\r\n SdChartModule,\r\n SdKonvaModule,\r\n SdGridMaterialModule,\r\n SdUploadExcelModule,\r\n SdGridModule,\r\n SdFormModule,\r\n SdServiceModule\r\n ],\r\n declarations: [\r\n DatePickerControlComponent,\r\n CkeditorControlComponent,\r\n // // Pipes\r\n SdDatePipe,\r\n // Validators\r\n SdMinDateValidator,\r\n SdMaxDateValidator,\r\n SdCustomValidator,\r\n SdChipMinItemValidator\r\n ],\r\n exports: [\r\n SdChartModule,\r\n SdKonvaModule,\r\n SdGridMaterialModule,\r\n SdEditorModule,\r\n SdUploadExcelModule,\r\n SdGridModule,\r\n SdFormModule,\r\n SdServiceModule,\r\n MaterialModule,\r\n // Controls\r\n DatePickerControlComponent,\r\n CkeditorControlComponent\r\n ],\r\n providers: [\r\n DatePipe,\r\n DecimalPipe\r\n ]\r\n})\r\nexport class SdCoreModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["uuid.v4"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAkEa,cAAc;;;YA5C1B,QAAQ,SAAC;gBACR,OAAO,EAAE;oBACP,gBAAgB;oBAChB,kBAAkB;oBAClB,cAAc;oBACd,eAAe;oBACf,qBAAqB;oBACrB,iBAAiB;oBACjB,oBAAoB;oBACpB,cAAc;oBACd,aAAa;oBACb,aAAa;oBACb,cAAc;oBACd,eAAe;oBACf,eAAe;oBACf,oBAAoB;oBACpB,wBAAwB;oBACxB,cAAc;oBACd,kBAAkB;oBAClB,aAAa;oBACb,kBAAkB;iBACnB;gBACD,OAAO,EAAE;oBACP,gBAAgB;oBAChB,kBAAkB;oBAClB,cAAc;oBACd,eAAe;oB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I,QAAQ,IAAI,CAAC,IAAI,CAAC,KAAK,UAAU,EAAE;YAClD,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;YAC3B,IAAI,MAAM,EAAE;gBACV,OAAO;oBACL,OAAO,EAAE,MAAM;iBAChB,CAAC;aACH;YACD,OAAO,IAAI,CAAC;SACb;QACD,OAAO,IAAI,CAAC;KACb;;;YAjBF,SAAS,SAAC;gBACT,QAAQ,EAAE,iBAAiB;gBAC3B,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,sBAAsB,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;aAC1F;;;mBAEE,KAAK,SAAC,eAAe;;;MC+DX,YAAY;;;YA/CxB,QAAQ,SAAC;gBACR,OAAO,EAAE;oBACP,YAAY;oBACZ,WAAW;oBACX,mBAAmB;oBACnB,gBAAgB;oBAChB,cAAc;oBACd,cAAc;oBACd,oBAAoB,CAAC,OAAO,EAAE;oBAC9B,aAAa;oBACb,aAAa;oBACb,oBAAoB;oBACpB,mBAAmB;oBACnB,YAAY;oBACZ,YAAY;oBACZ,eAAe;iBAChB;gBACD,YAAY,EAAE;oBACZ,0BAA0B;oBAC1B,wBAAwB;;oBAExB,UAAU;;oBAEV,kBAAkB;oBAClB,kBAAkB;oBAClB,iBAAiB;oBACjB,sBAAsB;iBACvB;gBACD,OAAO,EAAE;oBACP,aAAa;oBACb,aAAa;oBACb,oBAAoB;oBACpB,cAAc;oBACd,mBAAmB;oBACnB,YAAY;oBACZ,YAAY;oBACZ,eAAe;oBACf,cAAc;;oBAEd,0BAA0B;oBAC1B,wBAAwB;iBACzB;gBACD,SAAS,EAAE;oBACT,QAAQ;oBACR,WAAW;iBACZ;aACF;;;ACtED;;;;;;"}
|
|
1
|
+
{"version":3,"file":"sd-angular-core.js","sources":["../../../../projects/sd-core/src/lib/material.module.ts","../../../../projects/sd-core/src/lib/core.module.ts","../../../../projects/sd-core/src/sd-angular-core.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\n\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatChipsModule } from '@angular/material/chips';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatBottomSheetModule } from '@angular/material/bottom-sheet';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\n\r\n@NgModule({\r\n imports: [\r\n MatTooltipModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatSelectModule,\r\n MatAutocompleteModule,\r\n MatCheckboxModule,\r\n MatSlideToggleModule,\r\n MatRadioModule,\r\n MatIconModule,\r\n MatMenuModule,\r\n MatChipsModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n MatBottomSheetModule,\r\n MatProgressSpinnerModule,\r\n DragDropModule,\r\n MatExpansionModule,\r\n MatTabsModule,\r\n MatPaginatorModule\r\n ],\r\n exports: [\r\n MatTooltipModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatSelectModule,\r\n MatAutocompleteModule,\r\n MatCheckboxModule,\r\n MatSlideToggleModule,\r\n MatRadioModule,\r\n MatIconModule,\r\n MatMenuModule,\r\n MatChipsModule,\r\n MatButtonModule,\r\n MatDialogModule,\r\n MatBottomSheetModule,\r\n MatProgressSpinnerModule,\r\n DragDropModule,\r\n MatExpansionModule,\r\n MatTabsModule,\r\n MatPaginatorModule\r\n ]\r\n})\r\nexport class MaterialModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { MaterialModule } from './material.module';\r\n\r\nimport { SdServiceModule } from '@sd-angular/core/service';\r\nimport { SdChartModule } from '@sd-angular/core/chart';\r\nimport { SdGridMaterialModule } from '@sd-angular/core/grid-material';\r\nimport { SdEditorModule } from '@sd-angular/core/editor';\r\nimport { SdKonvaModule } from '@sd-angular/core/konva';\r\nimport { SdUploadExcelModule } from '@sd-angular/core/upload-excel';\r\nimport { SdGridModule } from '@sd-angular/core/grid';\r\nimport { SdFormModule } from '@sd-angular/core/form';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n MaterialModule,\r\n SdChartModule,\r\n SdKonvaModule,\r\n SdGridMaterialModule,\r\n SdUploadExcelModule,\r\n SdGridModule,\r\n SdFormModule,\r\n SdServiceModule\r\n ],\r\n declarations: [\r\n ],\r\n exports: [\r\n SdChartModule,\r\n SdKonvaModule,\r\n SdGridMaterialModule,\r\n SdEditorModule,\r\n SdUploadExcelModule,\r\n SdGridModule,\r\n SdFormModule,\r\n SdServiceModule,\r\n MaterialModule,\r\n ],\r\n providers: [\r\n ]\r\n})\r\nexport class SdCoreModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAkEa,cAAc;;;YA5C1B,QAAQ,SAAC;gBACR,OAAO,EAAE;oBACP,gBAAgB;oBAChB,kBAAkB;oBAClB,cAAc;oBACd,eAAe;oBACf,qBAAqB;oBACrB,iBAAiB;oBACjB,oBAAoB;oBACpB,cAAc;oBACd,aAAa;oBACb,aAAa;oBACb,cAAc;oBACd,eAAe;oBACf,eAAe;oBACf,oBAAoB;oBACpB,wBAAwB;oBACxB,cAAc;oBACd,kBAAkB;oBAClB,aAAa;oBACb,kBAAkB;iBACnB;gBACD,OAAO,EAAE;oBACP,gBAAgB;oBAChB,kBAAkB;oBAClB,cAAc;oBACd,eAAe;oBACf,qBAAqB;oBACrB,iBAAiB;oBACjB,oBAAoB;oBACpB,cAAc;oBACd,aAAa;oBACb,aAAa;oBACb,cAAc;oBACd,eAAe;oBACf,eAAe;oBACf,oBAAoB;oBACpB,wBAAwB;oBACxB,cAAc;oBACd,kBAAkB;oBAClB,aAAa;oBACb,kBAAkB;iBACnB;aACF;;;MCxBY,YAAY;;;YA5BxB,QAAQ,SAAC;gBACR,OAAO,EAAE;oBACP,YAAY;oBACZ,cAAc;oBACd,aAAa;oBACb,aAAa;oBACb,oBAAoB;oBACpB,mBAAmB;oBACnB,YAAY;oBACZ,YAAY;oBACZ,eAAe;iBAChB;gBACD,YAAY,EAAE,EACb;gBACD,OAAO,EAAE;oBACP,aAAa;oBACb,aAAa;oBACb,oBAAoB;oBACpB,cAAc;oBACd,mBAAmB;oBACnB,YAAY;oBACZ,YAAY;oBACZ,eAAe;oBACf,cAAc;iBACf;gBACD,SAAS,EAAE,EACV;aACF;;;ACxCD;;;;;;"}
|