@intellias/menu 1.0.17 → 1.0.18
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/dist/js/main.js +1 -1
- package/package.json +1 -1
package/dist/js/main.js
CHANGED
|
@@ -1949,7 +1949,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
|
|
|
1949
1949
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1950
1950
|
|
|
1951
1951
|
"use strict";
|
|
1952
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c,\n _setup = _vm._self._setupProxy;\n return _c(\"div\", {\n staticClass: \"notifications-sidebar dropdown-menu\"\n }, [_c(\"dropdown-menu\", {\n attrs: {\n direction: \"center\",\n overlay: false,\n isOpen: _vm.dropDownOpen\n },\n on: {\n opened: _vm.initData\n },\n scopedSlots: _vm._u([{\n key: \"trigger\",\n fn: function () {\n return [_c(\"a\", {\n ref: \"notifications_sidebar\",\n staticClass: \"notification-href pointer\"\n }, [_c(\"i\", {\n staticClass: \"icon menu-icon notification\",\n class: {\n \"bell-animation\": _vm.displayAnimation\n }\n }), _vm._v(\" \"), _c(\"transition\", {\n attrs: {\n name: \"fade\",\n duration: {\n enter: 4000,\n leave: 1\n }\n }\n }, [_c(\"span\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.hasUnreadNotifications,\n expression: \"hasUnreadNotifications\"\n }],\n staticClass: \"has-unread\"\n })])], 1)];\n },\n proxy: true\n }, {\n key: \"header\",\n fn: function () {\n return [_c(\"div\", {\n staticClass: \"row note-title-row\"\n }, [_c(\"div\", {\n staticClass: \"col s10\"\n }, [_c(\"span\", {\n staticClass: \"primary-text\"\n }, [_vm._v(\"Notifications\")])]), _vm._v(\" \"), _c(\"div\", {\n staticClass: \"col s2\"\n }, [_c(\"dropdown-menu\", {\n attrs: {\n direction: \"left\",\n overlay: false\n },\n scopedSlots: _vm._u([{\n key: \"trigger\",\n fn: function () {\n return [_c(\"a\", {\n ref: \"manage_dropdown\",\n staticClass: \"pointer\",\n attrs: {\n \"data-target\": `manage_dropdown_${_vm._uid}`\n }\n }, [_c(\"div\", {\n staticClass: \"notification-manage-toggler\"\n }, [_c(\"span\"), _vm._v(\" \"), _c(\"span\"), _vm._v(\" \"), _c(\"span\")])])];\n },\n proxy: true\n }, {\n key: \"body\",\n fn: function () {\n return [_c(\"ul\", {\n staticClass: \"sub-menu\"\n }, [_c(\"li\", [_c(\"a\", {\n class: {\n \"is-disabled\": !_vm.totalUnread.notice && !_vm.totalUnread.pending_request\n },\n on: {\n click: _vm.readAll\n }\n }, [_vm._v(\"\\n Mark all as read\\n \")])]), _vm._v(\" \"), _c(\"li\", [_c(\"a\", {\n class: {\n \"is-disabled\": !_vm.notices.count() && !_vm.pendingRequests.count()\n },\n on: {\n click: _vm.dismissAll\n }\n }, [_vm._v(\"\\n Dismiss all\\n \")])])])];\n },\n proxy: true\n }])\n })], 1)])];\n },\n proxy: true\n }, {\n key: \"body\",\n fn: function () {\n return [_c(\"div\", {\n staticClass: \"main-dropdown\"\n }, [_c(\"div\", {\n staticClass: \"row\"\n }, [_c(\"tabs\", {\n ref: \"tabs\",\n attrs: {\n tabs: _vm.tabs,\n currentTab: _vm.currentTab,\n \"wrapper-class\": \"default-tabs\",\n \"tab-class\": \"tab\",\n \"tab-active-class\": \"active\",\n \"line-class\": \"indicator\"\n },\n on: {\n onClick: _vm.changeActiveTab\n }\n }), _vm._v(\" \"), _c(\"div\", {\n staticClass: \"notification-content\"\n }, [_c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.currentTab === \"all\",\n expression: \"currentTab === 'all'\"\n }],\n staticClass: \"row notifications-list\"\n }, [_c(\"vue-custom-scrollbar\", {\n ref: \"scrollBar\",\n staticClass: \"col tab-content\",\n attrs: {\n options: _vm.scrollBarSettings\n },\n on: {\n \"ps-y-reach-end\": _vm.loadAllNotifications\n }\n }, [_vm._l(_vm.notices, function (notification) {\n return _c(\"notification\", {\n key: notification.id,\n attrs: {\n notification: notification\n },\n on: {\n \"rejection-component\": _vm.emitRejectionComponent\n }\n });\n }), _vm._v(\" \"), _vm.queryAll.loading ? _c(\"preloader\", {\n attrs: {\n size: _vm.preloaderSize\n }\n }) : !_vm.notices.count() ? _c(\"div\", {\n staticClass: \"main-text margin-top-50 align-center\"\n }, [_vm._v(\"\\n You have no new notifications\\n \")]) : _vm._e()], 2)], 1), _vm._v(\" \"), _c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.currentTab === \"pending_approval\",\n expression: \"currentTab === 'pending_approval'\"\n }],\n staticClass: \"row notifications-list\"\n }, [_c(\"vue-custom-scrollbar\", {\n staticClass: \"col tab-content\",\n attrs: {\n options: _vm.scrollBarSettings\n },\n on: {\n \"ps-y-reach-end\": _vm.loadPendingRequests\n }\n }, [_vm._l(_vm.pendingRequests, function (notification) {\n return _c(\"notification\", {\n key: notification.id,\n attrs: {\n notification: notification\n },\n on: {\n \"rejection-component\": _vm.emitRejectionComponent\n }\n });\n }), _vm._v(\" \"), _vm.queryAll.loading ? _c(\"preloader\", {\n attrs: {\n size: _vm.preloaderSize\n }\n }) : !_vm.pendingRequests.count() ? _c(\"div\", {\n staticClass: \"main-text margin-top-50 align-center\"\n }, [_vm._v(\"\\n You have no pending requests\\n \")]) : _vm._e()], 2)], 1)])], 1), _vm._v(\" \"), _c(\"div\", {\n staticClass: \"row view-all-row align-center\"\n }, [_vm.isLiteDomain ? _c(\"action-button\", {\n attrs: {\n to: {\n name: \"Employee Notifications\"\n },\n \"is-link\": \"\"\n },\n nativeOn: {\n click: function ($event) {\n return _vm.closeSidebar.apply(null, arguments);\n }\n }\n }, [_vm._v(\"\\n View all\\n \")]) : _c(\"action-button\", {\n attrs: {\n href: `${_vm.intemsConfig.liteSiteUrl}`,\n \"is-link\": \"\"\n },\n nativeOn: {\n click: function ($event) {\n return _vm.closeSidebar.apply(null, arguments);\n }\n }\n }, [_vm._v(\"\\n View all\\n \")])], 1)])];\n },\n proxy: true\n }])\n })], 1);\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://MainMenu/./components/notifications-sidebar/NotificationsSidebar.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/vue-loader/lib??vue-loader-options");
|
|
1952
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c,\n _setup = _vm._self._setupProxy;\n return _c(\"div\", {\n staticClass: \"notifications-sidebar dropdown-menu\"\n }, [_c(\"dropdown-menu\", {\n attrs: {\n direction: \"center\",\n overlay: false,\n isOpen: _vm.dropDownOpen\n },\n on: {\n opened: _vm.initData\n },\n scopedSlots: _vm._u([{\n key: \"trigger\",\n fn: function () {\n return [_c(\"a\", {\n ref: \"notifications_sidebar\",\n staticClass: \"notification-href pointer\"\n }, [_c(\"i\", {\n staticClass: \"icon menu-icon notification\",\n class: {\n \"bell-animation\": _vm.displayAnimation\n }\n }), _vm._v(\" \"), _c(\"transition\", {\n attrs: {\n name: \"fade\",\n duration: {\n enter: 4000,\n leave: 1\n }\n }\n }, [_c(\"span\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.hasUnreadNotifications,\n expression: \"hasUnreadNotifications\"\n }],\n staticClass: \"has-unread\"\n })])], 1)];\n },\n proxy: true\n }, {\n key: \"header\",\n fn: function () {\n return [_c(\"div\", {\n staticClass: \"row note-title-row\"\n }, [_c(\"div\", {\n staticClass: \"col s10\"\n }, [_c(\"span\", {\n staticClass: \"primary-text\"\n }, [_vm._v(\"Notifications\")])]), _vm._v(\" \"), _c(\"div\", {\n staticClass: \"col s2\"\n }, [_c(\"dropdown-menu\", {\n attrs: {\n direction: \"left\",\n overlay: false\n },\n scopedSlots: _vm._u([{\n key: \"trigger\",\n fn: function () {\n return [_c(\"a\", {\n ref: \"manage_dropdown\",\n staticClass: \"pointer\",\n attrs: {\n \"data-target\": `manage_dropdown_${_vm._uid}`\n }\n }, [_c(\"div\", {\n staticClass: \"notification-manage-toggler\"\n }, [_c(\"span\"), _vm._v(\" \"), _c(\"span\"), _vm._v(\" \"), _c(\"span\")])])];\n },\n proxy: true\n }, {\n key: \"body\",\n fn: function () {\n return [_c(\"ul\", {\n staticClass: \"sub-menu\"\n }, [_c(\"li\", [_c(\"a\", {\n class: {\n \"is-disabled\": !_vm.totalUnread.notice && !_vm.totalUnread.pending_request\n },\n on: {\n click: _vm.readAll\n }\n }, [_vm._v(\"\\n Mark all as read\\n \")])]), _vm._v(\" \"), _c(\"li\", [_c(\"a\", {\n class: {\n \"is-disabled\": !_vm.notices.count() && !_vm.pendingRequests.count()\n },\n on: {\n click: _vm.dismissAll\n }\n }, [_vm._v(\"\\n Dismiss all\\n \")])])])];\n },\n proxy: true\n }])\n })], 1)])];\n },\n proxy: true\n }, {\n key: \"body\",\n fn: function () {\n return [_c(\"div\", {\n staticClass: \"main-dropdown\"\n }, [_c(\"div\", {\n staticClass: \"row\"\n }, [_c(\"tabs\", {\n ref: \"tabs\",\n attrs: {\n tabs: _vm.tabs,\n currentTab: _vm.currentTab,\n \"wrapper-class\": \"default-tabs\",\n \"tab-class\": \"tab\",\n \"tab-active-class\": \"active\",\n \"line-class\": \"indicator\"\n },\n on: {\n onClick: _vm.changeActiveTab\n }\n }), _vm._v(\" \"), _c(\"div\", {\n staticClass: \"notification-content\"\n }, [_c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.currentTab === \"all\",\n expression: \"currentTab === 'all'\"\n }],\n staticClass: \"row notifications-list\"\n }, [_c(\"vue-custom-scrollbar\", {\n ref: \"scrollBar\",\n staticClass: \"col tab-content\",\n attrs: {\n options: _vm.scrollBarSettings\n },\n on: {\n \"ps-y-reach-end\": _vm.loadAllNotifications\n }\n }, [_vm._l(_vm.notices, function (notification) {\n return _c(\"notification\", {\n key: notification.id,\n attrs: {\n notification: notification\n },\n on: {\n \"rejection-component\": _vm.emitRejectionComponent\n }\n });\n }), _vm._v(\" \"), _vm.queryAll.loading ? _c(\"preloader\", {\n attrs: {\n size: _vm.preloaderSize\n }\n }) : !_vm.notices.count() ? _c(\"div\", {\n staticClass: \"main-text margin-top-50 align-center\"\n }, [_vm._v(\"\\n You have no new notifications\\n \")]) : _vm._e()], 2)], 1), _vm._v(\" \"), _c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.currentTab === \"pending_approval\",\n expression: \"currentTab === 'pending_approval'\"\n }],\n staticClass: \"row notifications-list\"\n }, [_c(\"vue-custom-scrollbar\", {\n staticClass: \"col tab-content\",\n attrs: {\n options: _vm.scrollBarSettings\n },\n on: {\n \"ps-y-reach-end\": _vm.loadPendingRequests\n }\n }, [_vm._l(_vm.pendingRequests, function (notification) {\n return _c(\"notification\", {\n key: notification.id,\n attrs: {\n notification: notification\n },\n on: {\n \"rejection-component\": _vm.emitRejectionComponent\n }\n });\n }), _vm._v(\" \"), _vm.queryAll.loading ? _c(\"preloader\", {\n attrs: {\n size: _vm.preloaderSize\n }\n }) : !_vm.pendingRequests.count() ? _c(\"div\", {\n staticClass: \"main-text margin-top-50 align-center\"\n }, [_vm._v(\"\\n You have no pending requests\\n \")]) : _vm._e()], 2)], 1)])], 1), _vm._v(\" \"), _c(\"div\", {\n staticClass: \"row view-all-row align-center\"\n }, [_vm.isLiteDomain ? _c(\"action-button\", {\n attrs: {\n to: {\n name: \"Employee Notifications\"\n },\n \"is-link\": \"\"\n },\n nativeOn: {\n click: function ($event) {\n return _vm.closeSidebar.apply(null, arguments);\n }\n }\n }, [_vm._v(\"\\n View all\\n \")]) : _c(\"action-button\", {\n attrs: {\n href: `${_vm.intemsConfig.liteSiteUrl}employee/notifications`,\n \"is-link\": \"\"\n },\n nativeOn: {\n click: function ($event) {\n return _vm.closeSidebar.apply(null, arguments);\n }\n }\n }, [_vm._v(\"\\n View all\\n \")])], 1)])];\n },\n proxy: true\n }])\n })], 1);\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://MainMenu/./components/notifications-sidebar/NotificationsSidebar.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/vue-loader/lib??vue-loader-options");
|
|
1953
1953
|
|
|
1954
1954
|
/***/ }),
|
|
1955
1955
|
|