start refactor to vite
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
|
||||
<script>
|
||||
import MediaApi from 'zero/resources/media';
|
||||
import MediaApi from 'zero/resources/media.js';
|
||||
|
||||
export default {
|
||||
name: 'uiSelectButton',
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
<script>
|
||||
import dayjs from 'dayjs';
|
||||
import Strings from 'zero/services/strings';
|
||||
import Strings from 'zero/services/strings.js';
|
||||
|
||||
export default {
|
||||
name: 'uiDate',
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
<script>
|
||||
import { map as _map } from 'underscore';
|
||||
import UtilsApi from 'zero/resources/utils';
|
||||
import UtilsApi from 'zero/resources/utils.js';
|
||||
|
||||
export default {
|
||||
name: 'uiAlias',
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<script>
|
||||
import { isArray as _isArray } from 'underscore'
|
||||
import Strings from 'zero/services/strings'
|
||||
import Strings from 'zero/services/strings.js'
|
||||
|
||||
export default {
|
||||
name: 'uiError',
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
import { each as _each, extend as _extend, debounce as _debounce, isArray as _isArray } from 'underscore';
|
||||
import Strings from 'zero/services/strings.js';
|
||||
import Overlay from 'zero/services/overlay.js';
|
||||
import MediaOverlay from 'zero/pages/media/media-item';
|
||||
import MediaOverlay from 'zero/pages/media/media-item.vue';
|
||||
|
||||
const TYPES = {
|
||||
ALL: 'all',
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
|
||||
<script>
|
||||
import Strings from 'zero/services/strings';
|
||||
import Strings from 'zero/services/strings.js';
|
||||
import Pell from './rte.pell.dependency.js';
|
||||
|
||||
export default {
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
|
||||
<script>
|
||||
import Overlay from 'zero/services/overlay';
|
||||
import Overlay from 'zero/services/overlay.js';
|
||||
|
||||
export default {
|
||||
name: 'uiHeaderBar',
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
<script>
|
||||
import ModulesApi from 'zero/resources/modules.js';
|
||||
import UiEditor from 'zero/editor/editor';
|
||||
import UiEditor from 'zero/editor/editor.vue';
|
||||
|
||||
export default {
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
<script>
|
||||
import { groupBy as _groupBy, keys as _keys, each as _each } from 'underscore';
|
||||
import Notification from 'zero/services/notification';
|
||||
import Notification from 'zero/services/notification.js';
|
||||
|
||||
export default {
|
||||
name: 'uiModulesSelect',
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
<script>
|
||||
import ModulesApi from 'zero/resources/modules.js';
|
||||
import EditModuleOverlay from './edit-module';
|
||||
import EditModuleOverlay from './edit-module.vue';
|
||||
import Overlay from 'zero/services/overlay.js';
|
||||
import Arrays from 'zero/services/arrays.js';
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
<script>
|
||||
import { warn } from 'zero/services/debug';
|
||||
import { warn } from 'zero/services/debug.js';
|
||||
|
||||
export default {
|
||||
name: 'uiDropdownButton',
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
|
||||
<script>
|
||||
import Overlay from 'zero/services/overlay';
|
||||
import Overlay from 'zero/services/overlay.js';
|
||||
|
||||
export default {
|
||||
name: 'uiDropdown',
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
<script>
|
||||
import UserRolesApi from 'zero/resources/userRoles';
|
||||
import UserRolesApi from 'zero/resources/userRoles.js';
|
||||
import { filter as _filter } from 'underscore';
|
||||
|
||||
export default {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
|
||||
<script>
|
||||
import Strings from 'zero/services/strings';
|
||||
import Strings from 'zero/services/strings.js';
|
||||
import { extend as _extend } from 'underscore';
|
||||
|
||||
export default {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<script>
|
||||
import CountriesApi from 'zero/resources/countries.js'
|
||||
import { extend as _extend } from 'deps/underscore'
|
||||
import { extend as _extend } from 'underscore'
|
||||
|
||||
export default {
|
||||
name: 'uiCountrypicker',
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
|
||||
|
||||
<script>
|
||||
import Strings from 'zero/services/strings';
|
||||
import DatepickerOverlay from './overlay';
|
||||
import Strings from 'zero/services/strings.js';
|
||||
import DatepickerOverlay from './overlay.vue';
|
||||
import { extend as _extend } from 'underscore';
|
||||
import dayjs from 'dayjs';
|
||||
|
||||
|
||||
@@ -20,9 +20,9 @@
|
||||
|
||||
|
||||
<script>
|
||||
import Strings from 'zero/services/strings';
|
||||
import Strings from 'zero/services/strings.js';
|
||||
import { extend as _extend } from 'underscore';
|
||||
import DaterangepickerOverlay from './overlay';
|
||||
import DaterangepickerOverlay from './overlay.vue';
|
||||
import Overlay from 'zero/services/overlay.js';
|
||||
import dayjs from 'dayjs';
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
|
||||
|
||||
<script>
|
||||
import PickIconOverlay from './overlay';
|
||||
import Overlay from 'zero/services/overlay';
|
||||
import PickIconOverlay from './overlay.vue';
|
||||
import Overlay from 'zero/services/overlay.js';
|
||||
import { extend as _extend } from 'underscore';
|
||||
|
||||
const FEATHER_ICONS = ['fth-alert-octagon','fth-alert-circle','fth-activity','fth-alert-triangle','fth-align-center','fth-airplay','fth-align-justify','fth-align-left','fth-align-right','fth-arrow-down-left','fth-arrow-down-right','fth-anchor','fth-aperture','fth-arrow-left','fth-arrow-right','fth-arrow-down','fth-arrow-up-left','fth-arrow-up-right','fth-arrow-up','fth-award','fth-bar-chart','fth-at-sign','fth-bar-chart-2','fth-battery-charging','fth-bell-off','fth-battery','fth-bluetooth','fth-bell','fth-book','fth-briefcase','fth-camera-off','fth-calendar','fth-bookmark','fth-box','fth-camera','fth-check-circle','fth-check','fth-check-square','fth-cast','fth-chevron-down','fth-chevron-left','fth-chevron-right','fth-chevron-up','fth-chevrons-down','fth-chevrons-right','fth-chevrons-up','fth-chevrons-left','fth-circle','fth-clipboard','fth-chrome','fth-clock','fth-cloud-lightning','fth-cloud-drizzle','fth-cloud-rain','fth-cloud-off','fth-codepen','fth-cloud-snow','fth-compass','fth-copy','fth-corner-down-right','fth-corner-down-left','fth-corner-left-down','fth-corner-left-up','fth-corner-up-left','fth-corner-up-right','fth-corner-right-down','fth-corner-right-up','fth-cpu','fth-credit-card','fth-crosshair','fth-disc','fth-delete','fth-download-cloud','fth-download','fth-droplet','fth-edit-2','fth-edit','fth-edit-1','fth-external-link','fth-eye','fth-feather','fth-facebook','fth-file-minus','fth-eye-off','fth-fast-forward','fth-file-text','fth-film','fth-file','fth-file-plus','fth-folder','fth-filter','fth-flag','fth-globe','fth-grid','fth-heart','fth-home','fth-github','fth-image','fth-inbox','fth-layers','fth-info','fth-instagram','fth-layout','fth-link-2','fth-life-buoy','fth-link','fth-log-in','fth-list','fth-lock','fth-log-out','fth-loader','fth-mail','fth-maximize-2','fth-map','fth-map-pin','fth-menu','fth-message-circle','fth-message-square','fth-minimize-2','fth-mic-off','fth-minus-circle','fth-mic','fth-minus-square','fth-minus','fth-moon','fth-monitor','fth-more-vertical','fth-more-horizontal','fth-move','fth-music','fth-navigation-2','fth-navigation','fth-octagon','fth-package','fth-pause-circle','fth-pause','fth-percent','fth-phone-call','fth-phone-forwarded','fth-phone-missed','fth-phone-off','fth-phone-incoming','fth-phone','fth-phone-outgoing','fth-pie-chart','fth-play-circle','fth-play','fth-plus-square','fth-plus-circle','fth-plus','fth-pocket','fth-printer','fth-power','fth-radio','fth-repeat','fth-refresh-ccw','fth-rewind','fth-rotate-ccw','fth-refresh-cw','fth-rotate-cw','fth-save','fth-search','fth-server','fth-scissors','fth-share-2','fth-share','fth-shield','fth-settings','fth-skip-back','fth-shuffle','fth-sidebar','fth-skip-forward','fth-slack','fth-slash','fth-smartphone','fth-square','fth-speaker','fth-star','fth-stop-circle','fth-sun','fth-sunrise','fth-tablet','fth-tag','fth-sunset','fth-target','fth-thermometer','fth-thumbs-up','fth-thumbs-down','fth-toggle-left','fth-toggle-right','fth-trash-2','fth-trash','fth-trending-up','fth-trending-down','fth-triangle','fth-type','fth-twitter','fth-upload','fth-umbrella','fth-upload-cloud','fth-unlock','fth-user-check','fth-user-minus','fth-user-plus','fth-user-x','fth-user','fth-users','fth-video-off','fth-video','fth-voicemail','fth-volume-x','fth-volume-2','fth-volume-1','fth-volume','fth-watch','fth-wifi','fth-x-square','fth-wind','fth-x','fth-x-circle','fth-zap','fth-zoom-in','fth-zoom-out','fth-command','fth-cloud','fth-hash','fth-headphones','fth-underline','fth-italic','fth-bold','fth-crop','fth-help-circle','fth-paperclip','fth-shopping-cart','fth-tv','fth-wifi-off','fth-minimize','fth-maximize','fth-gitlab','fth-sliders','fth-star-on','fth-heart-on','fth-archive','fth-arrow-down-circle','fth-arrow-up-circle','fth-arrow-left-circle','fth-arrow-right-circle','fth-bar-chart-line-','fth-bar-chart-line','fth-book-open','fth-code','fth-database','fth-dollar-sign','fth-folder-plus','fth-gift','fth-folder-minus','fth-git-commit','fth-git-branch','fth-git-pull-request','fth-git-merge','fth-linkedin','fth-hard-drive','fth-more-vertical','fth-more-horizontal','fth-rss','fth-send','fth-shield-off','fth-shopping-bag','fth-terminal','fth-truck','fth-zap-off','fth-youtube','fth-google'];
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
|
||||
<script>
|
||||
import MediaApi from 'zero/resources/media.js'
|
||||
import PickMediaOverlay from './overlay';
|
||||
import Overlay from 'zero/services/overlay';
|
||||
import PickMediaOverlay from './overlay.vue';
|
||||
import Overlay from 'zero/services/overlay.js';
|
||||
import { each as _each, extend as _extend, debounce as _debounce, isArray as _isArray } from 'underscore';
|
||||
import Strings from 'zero/services/strings.js';
|
||||
|
||||
|
||||
@@ -41,8 +41,8 @@
|
||||
import MediaApi from 'zero/resources/media.js'
|
||||
import MediaFolderApi from 'zero/resources/media-folder.js';
|
||||
import Overlay from 'zero/services/overlay.js'
|
||||
import AddFolderOverlay from 'zero/pages/media/overlays/folder'
|
||||
import UploadStatusOverlay from 'zero/pages/media/overlays/upload-status'
|
||||
import AddFolderOverlay from 'zero/pages/media/overlays/folder.vue'
|
||||
import UploadStatusOverlay from 'zero/pages/media/overlays/upload-status.vue'
|
||||
import { debounce as _debounce, filter as _filter } from 'underscore'
|
||||
|
||||
export default {
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
<script>
|
||||
import PageTreeApi from 'zero/resources/page-tree.js'
|
||||
import PagesApi from 'zero/resources/pages.js'
|
||||
import PageOverlay from './overlay';
|
||||
import Overlay from 'zero/services/overlay';
|
||||
import { extend as _extend, isArray as _isArray, isEmpty as _isEmpty, clone as _clone } from 'deps/underscore';
|
||||
import PageOverlay from './overlay.vue';
|
||||
import Overlay from 'zero/services/overlay.js';
|
||||
import { extend as _extend, isArray as _isArray, isEmpty as _isEmpty, clone as _clone } from 'underscore';
|
||||
|
||||
export default {
|
||||
name: 'uiPagepicker',
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<script>
|
||||
import UsersApi from 'zero/resources/users.js'
|
||||
import { extend as _extend } from 'deps/underscore'
|
||||
import { extend as _extend } from 'underscore'
|
||||
|
||||
export default {
|
||||
name: 'uiUserpicker',
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
<script>
|
||||
import dayjs from 'dayjs';
|
||||
import Strings from 'zero/services/strings';
|
||||
import Strings from 'zero/services/strings.js';
|
||||
import MediaApi from 'zero/resources/media.js';
|
||||
|
||||
export default {
|
||||
|
||||
@@ -44,8 +44,8 @@
|
||||
|
||||
|
||||
<script>
|
||||
import EditorComponent from 'zero/editor/editor-component';
|
||||
import { find as _find } from 'deps/underscore';
|
||||
import EditorComponent from 'zero/editor/editor-component.vue';
|
||||
import { find as _find } from 'underscore';
|
||||
|
||||
export default {
|
||||
|
||||
|
||||
@@ -32,9 +32,9 @@
|
||||
|
||||
|
||||
<script>
|
||||
import Overlay from 'zero/services/overlay';
|
||||
import Strings from 'zero/services/strings';
|
||||
import FilterOverlay from './table-filter-overlay';
|
||||
import Overlay from 'zero/services/overlay.js';
|
||||
import Strings from 'zero/services/strings.js';
|
||||
import FilterOverlay from './table-filter-overlay.vue';
|
||||
import { isArray as _isArray } from 'underscore';
|
||||
|
||||
const KEY_PREFIX = 'zero.ui-table-filter.';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { warn } from 'zero/services/debug';
|
||||
import MediaApi from 'zero/resources/media';
|
||||
import { warn } from 'zero/services/debug.js';
|
||||
import MediaApi from 'zero/resources/media.js';
|
||||
|
||||
export default function (el, binding)
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
|
||||
<script>
|
||||
import Strings from 'zero/services/strings';
|
||||
import Strings from 'zero/services/strings.js';
|
||||
|
||||
export default {
|
||||
name: 'uiTab',
|
||||
|
||||
Reference in New Issue
Block a user