classcard-ui 0.2.1493 → 0.2.1495
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/classcard-ui.common.js +982 -117
- package/dist/classcard-ui.common.js.map +1 -1
- package/dist/classcard-ui.css +1 -1
- package/dist/classcard-ui.umd.js +982 -117
- package/dist/classcard-ui.umd.js.map +1 -1
- package/dist/classcard-ui.umd.min.js +9 -9
- package/dist/classcard-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/components/CButtonWithDropdown/CButtonWithDropdown.vue +64 -8
- package/src/components/index.js +2 -1
|
@@ -701,45 +701,48 @@ var root = _freeGlobal_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"] || fre
|
|
|
701
701
|
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _toConsumableArray; });
|
|
702
702
|
|
|
703
703
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
704
|
-
function _arrayLikeToArray(
|
|
705
|
-
|
|
706
|
-
for (var
|
|
707
|
-
|
|
708
|
-
}
|
|
709
|
-
return arr2;
|
|
704
|
+
function _arrayLikeToArray(r, a) {
|
|
705
|
+
(null == a || a > r.length) && (a = r.length);
|
|
706
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
707
|
+
return n;
|
|
710
708
|
}
|
|
709
|
+
|
|
711
710
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
712
711
|
|
|
713
|
-
function _arrayWithoutHoles(
|
|
714
|
-
if (Array.isArray(
|
|
712
|
+
function _arrayWithoutHoles(r) {
|
|
713
|
+
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
715
714
|
}
|
|
715
|
+
|
|
716
716
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
717
|
-
function _iterableToArray(
|
|
718
|
-
if (typeof Symbol
|
|
717
|
+
function _iterableToArray(r) {
|
|
718
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
719
719
|
}
|
|
720
|
+
|
|
720
721
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
721
722
|
|
|
722
|
-
function _unsupportedIterableToArray(
|
|
723
|
-
if (
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
723
|
+
function _unsupportedIterableToArray(r, a) {
|
|
724
|
+
if (r) {
|
|
725
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
726
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
727
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
728
|
+
}
|
|
729
729
|
}
|
|
730
|
+
|
|
730
731
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
731
732
|
function _nonIterableSpread() {
|
|
732
733
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
733
734
|
}
|
|
735
|
+
|
|
734
736
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
735
737
|
|
|
736
738
|
|
|
737
739
|
|
|
738
740
|
|
|
739
|
-
function _toConsumableArray(
|
|
740
|
-
return _arrayWithoutHoles(
|
|
741
|
+
function _toConsumableArray(r) {
|
|
742
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
741
743
|
}
|
|
742
744
|
|
|
745
|
+
|
|
743
746
|
/***/ }),
|
|
744
747
|
|
|
745
748
|
/***/ "2ca0":
|
|
@@ -899,6 +902,17 @@ module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperti
|
|
|
899
902
|
};
|
|
900
903
|
|
|
901
904
|
|
|
905
|
+
/***/ }),
|
|
906
|
+
|
|
907
|
+
/***/ "387a":
|
|
908
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
909
|
+
|
|
910
|
+
"use strict";
|
|
911
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_CTokenEditor_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8b2a");
|
|
912
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_CTokenEditor_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_CTokenEditor_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
913
|
+
/* unused harmony reexport * */
|
|
914
|
+
|
|
915
|
+
|
|
902
916
|
/***/ }),
|
|
903
917
|
|
|
904
918
|
/***/ "3892":
|
|
@@ -22535,44 +22549,74 @@ module.exports = Object.hasOwn || function hasOwn(it, key) {
|
|
|
22535
22549
|
// EXPORTS
|
|
22536
22550
|
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _objectSpread2; });
|
|
22537
22551
|
|
|
22538
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/
|
|
22539
|
-
function
|
|
22540
|
-
|
|
22541
|
-
|
|
22542
|
-
|
|
22543
|
-
|
|
22544
|
-
|
|
22545
|
-
|
|
22546
|
-
|
|
22547
|
-
|
|
22548
|
-
|
|
22552
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
22553
|
+
function _typeof(o) {
|
|
22554
|
+
"@babel/helpers - typeof";
|
|
22555
|
+
|
|
22556
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
22557
|
+
return typeof o;
|
|
22558
|
+
} : function (o) {
|
|
22559
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
22560
|
+
}, _typeof(o);
|
|
22561
|
+
}
|
|
22562
|
+
|
|
22563
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
22564
|
+
|
|
22565
|
+
function toPrimitive(t, r) {
|
|
22566
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
22567
|
+
var e = t[Symbol.toPrimitive];
|
|
22568
|
+
if (void 0 !== e) {
|
|
22569
|
+
var i = e.call(t, r || "default");
|
|
22570
|
+
if ("object" != _typeof(i)) return i;
|
|
22571
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
22549
22572
|
}
|
|
22550
|
-
return
|
|
22573
|
+
return ("string" === r ? String : Number)(t);
|
|
22574
|
+
}
|
|
22575
|
+
|
|
22576
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
22577
|
+
|
|
22578
|
+
|
|
22579
|
+
function toPropertyKey(t) {
|
|
22580
|
+
var i = toPrimitive(t, "string");
|
|
22581
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
22582
|
+
}
|
|
22583
|
+
|
|
22584
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
22585
|
+
|
|
22586
|
+
function _defineProperty(e, r, t) {
|
|
22587
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
22588
|
+
value: t,
|
|
22589
|
+
enumerable: !0,
|
|
22590
|
+
configurable: !0,
|
|
22591
|
+
writable: !0
|
|
22592
|
+
}) : e[r] = t, e;
|
|
22551
22593
|
}
|
|
22594
|
+
|
|
22552
22595
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
22553
22596
|
|
|
22554
|
-
function ownKeys(
|
|
22555
|
-
var
|
|
22597
|
+
function ownKeys(e, r) {
|
|
22598
|
+
var t = Object.keys(e);
|
|
22556
22599
|
if (Object.getOwnPropertySymbols) {
|
|
22557
|
-
var
|
|
22558
|
-
|
|
22559
|
-
return Object.getOwnPropertyDescriptor(
|
|
22560
|
-
})),
|
|
22561
|
-
}
|
|
22562
|
-
return
|
|
22563
|
-
}
|
|
22564
|
-
function _objectSpread2(
|
|
22565
|
-
for (var
|
|
22566
|
-
var
|
|
22567
|
-
|
|
22568
|
-
_defineProperty(
|
|
22569
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
22570
|
-
Object.defineProperty(
|
|
22600
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
22601
|
+
r && (o = o.filter(function (r) {
|
|
22602
|
+
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
22603
|
+
})), t.push.apply(t, o);
|
|
22604
|
+
}
|
|
22605
|
+
return t;
|
|
22606
|
+
}
|
|
22607
|
+
function _objectSpread2(e) {
|
|
22608
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
22609
|
+
var t = null != arguments[r] ? arguments[r] : {};
|
|
22610
|
+
r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
|
|
22611
|
+
_defineProperty(e, r, t[r]);
|
|
22612
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
|
22613
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
22571
22614
|
});
|
|
22572
22615
|
}
|
|
22573
|
-
return
|
|
22616
|
+
return e;
|
|
22574
22617
|
}
|
|
22575
22618
|
|
|
22619
|
+
|
|
22576
22620
|
/***/ }),
|
|
22577
22621
|
|
|
22578
22622
|
/***/ "564e":
|
|
@@ -23350,6 +23394,13 @@ if (!isCallable(store.inspectSource)) {
|
|
|
23350
23394
|
module.exports = store.inspectSource;
|
|
23351
23395
|
|
|
23352
23396
|
|
|
23397
|
+
/***/ }),
|
|
23398
|
+
|
|
23399
|
+
/***/ "8b2a":
|
|
23400
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
23401
|
+
|
|
23402
|
+
// extracted by mini-css-extract-plugin
|
|
23403
|
+
|
|
23353
23404
|
/***/ }),
|
|
23354
23405
|
|
|
23355
23406
|
/***/ "8bbf":
|
|
@@ -58649,6 +58700,7 @@ __webpack_require__.d(components_namespaceObject, "CProgress", function() { retu
|
|
|
58649
58700
|
__webpack_require__.d(components_namespaceObject, "CToolTip", function() { return components_CToolTip; });
|
|
58650
58701
|
__webpack_require__.d(components_namespaceObject, "CIconSelect", function() { return components_CIconSelect; });
|
|
58651
58702
|
__webpack_require__.d(components_namespaceObject, "CAlertModal", function() { return components_CAlertModal; });
|
|
58703
|
+
__webpack_require__.d(components_namespaceObject, "CTokenEditor", function() { return components_CTokenEditor; });
|
|
58652
58704
|
|
|
58653
58705
|
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
|
|
58654
58706
|
// This file is imported into lib/wc client bundles.
|
|
@@ -58666,7 +58718,7 @@ if (typeof window !== 'undefined') {
|
|
|
58666
58718
|
// Indicate to webpack that this file can be concatenated
|
|
58667
58719
|
/* harmony default export */ var setPublicPath = (null);
|
|
58668
58720
|
|
|
58669
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
58721
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CAlerts/CAlerts.vue?vue&type=template&id=36846a8c&scoped=true&
|
|
58670
58722
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.type == 'withAccentBorder'
|
|
58671
58723
|
? ("bg-" + _vm.color + "-50 border-l-4 border-" + _vm.color + "-400 p-4")
|
|
58672
58724
|
: ("rounded-md bg-" + _vm.color + "-50 p-4"),attrs:{"id":_vm.id || undefined,"role":_vm.id ? 'region' : undefined,"aria-labelledby":_vm.id ? _vm.id + '-title' : undefined,"aria-describedby":_vm.id && _vm.description && _vm.type !== 'withAccentBorder'
|
|
@@ -58677,7 +58729,7 @@ var staticRenderFns = []
|
|
|
58677
58729
|
|
|
58678
58730
|
// CONCATENATED MODULE: ./src/components/CAlerts/CAlerts.vue?vue&type=template&id=36846a8c&scoped=true&
|
|
58679
58731
|
|
|
58680
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
58732
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CIcon/CIcon.vue?vue&type=template&id=bd7457f8&
|
|
58681
58733
|
var CIconvue_type_template_id_bd7457f8_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.name == 'loader')?_c('svg',{staticClass:"animate-spin",class:_vm.classes,attrs:{"xmlns":"http://www.w3.org/2000/svg","fill":"none","viewBox":"0 0 24 24"}},[_c('circle',{staticClass:"opacity-25",attrs:{"cx":"12","cy":"12","r":"10","stroke":"currentColor","stroke-width":"4"}}),_c('path',{staticClass:"opacity-75",attrs:{"fill":"currentColor","d":_vm.path}})]):_vm._e(),(_vm.name !== 'loader' && _vm.type == 'solid')?_c('svg',{class:(_vm.classes ? _vm.classes : '') + (_vm.cursorType ? _vm.cursorType : ''),attrs:{"viewBox":_vm.viewBox,"fill":"currentColor","fill-rule":"evenodd"}},[_c('path',{attrs:{"d":_vm.path}})]):_vm._e(),(_vm.name !== 'loader' && _vm.type == 'outline')?_c('svg',{class:(_vm.classes ? _vm.classes : '') + (_vm.cursorType ? _vm.cursorType : ''),attrs:{"viewBox":_vm.viewBoxOutline,"fill":"none","stroke":"currentColor"}},[_c('path',{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2","d":_vm.path}})]):_vm._e(),(_vm.name !== 'loader' && _vm.type == 'outline-v2')?_c('svg',{class:(_vm.classes ? _vm.classes : '') + (_vm.cursorType ? _vm.cursorType : ''),attrs:{"viewBox":_vm.viewBoxOutline,"fill":"none","stroke":"currentColor"}},[_c('path',{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5","d":_vm.path}})]):_vm._e(),(_vm.name !== 'loader' && _vm.type == 'mini')?_c('svg',{class:(_vm.classes ? _vm.classes : '') + (_vm.cursorType ? _vm.cursorType : ''),attrs:{"viewBox":_vm.viewBox,"fill":"currentColor","fill-rule":"evenodd"}},[_c('path',{attrs:{"d":_vm.path}})]):_vm._e(),(_vm.name !== 'loader' && _vm.type == 'micro')?_c('svg',{class:(_vm.classes ? _vm.classes : '') + (_vm.cursorType ? _vm.cursorType : ''),attrs:{"viewBox":"0 0 16 16","fill":"currentColor"}},[_c('path',{attrs:{"fillRule":"evenodd","d":_vm.path,"clipRule":"evenodd"}})]):_vm._e()])}
|
|
58682
58734
|
var CIconvue_type_template_id_bd7457f8_staticRenderFns = []
|
|
58683
58735
|
|
|
@@ -59497,7 +59549,7 @@ var CAlerts_component = normalizeComponent(
|
|
|
59497
59549
|
// CONCATENATED MODULE: ./src/components/CAlerts/index.js
|
|
59498
59550
|
|
|
59499
59551
|
/* harmony default export */ var components_CAlerts = (CAlerts);
|
|
59500
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
59552
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CAnchorTabs/CAnchorTabs.vue?vue&type=template&id=6c7c82fa&
|
|
59501
59553
|
var CAnchorTabsvue_type_template_id_6c7c82fa_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._m(0),_c('div',{staticClass:"hidden sm:block"},[_c('div',{staticClass:"border-b border-gray-200"},[_c('nav',{staticClass:"-mb-px flex space-x-8",class:_vm.classes,attrs:{"aria-label":"Tabs"}},_vm._l((_vm.tabs),function(tab){return _c('a',{key:tab.name,staticClass:"group inline-flex cursor-pointer items-center whitespace-nowrap border-b-2 py-4 px-1 text-sm font-medium",class:_vm.activeTab == tab.name
|
|
59502
59554
|
? 'border-indigo-600 text-indigo-700 hover:text-indigo-800'
|
|
59503
59555
|
: 'border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700',attrs:{"id":_vm.id},on:{"click":function($event){return _vm.switchTab(tab.name)}}},[(tab.icon)?_c('c-icon',{staticClass:"-ml-0.5 mr-2 h-5 w-5",class:_vm.activeTab == tab.name
|
|
@@ -59637,7 +59689,7 @@ var CAnchorTabs_component = normalizeComponent(
|
|
|
59637
59689
|
// CONCATENATED MODULE: ./src/components/CAnchorTabs/index.js
|
|
59638
59690
|
|
|
59639
59691
|
/* harmony default export */ var components_CAnchorTabs = (CAnchorTabs);
|
|
59640
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
59692
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CLinearProgressBar/CLinearProgressBar.vue?vue&type=template&id=54e58dbe&
|
|
59641
59693
|
var CLinearProgressBarvue_type_template_id_54e58dbe_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"flex items-center gap-3"},[_c('div',{class:'h-1 w-full overflow-hidden rounded-full bg-gray-200 ' + _vm.customClasses,attrs:{"role":"progressbar","aria-valuemin":0,"aria-valuemax":_vm.max,"aria-valuenow":_vm.percentage,"aria-label":_vm.ariaLabel}},[_c('div',{staticClass:"h-full origin-left rounded-full transition-transform duration-300",class:_vm.fillColorClass,style:({ transform: 'scaleX(' + (_vm.percentage / _vm.max) + ')' })})]),_c('span',{staticClass:"text-sm text-gray-500"},[_vm._v(" "+_vm._s(_vm.percentage + "%")+" ")])])}
|
|
59642
59694
|
var CLinearProgressBarvue_type_template_id_54e58dbe_staticRenderFns = []
|
|
59643
59695
|
|
|
@@ -59719,7 +59771,7 @@ var CLinearProgressBar_component = normalizeComponent(
|
|
|
59719
59771
|
// CONCATENATED MODULE: ./src/components/CLinearProgressBar/index.js
|
|
59720
59772
|
|
|
59721
59773
|
/* harmony default export */ var components_CLinearProgressBar = (CLinearProgressBar);
|
|
59722
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
59774
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CAnchorTag/CAnchorTag.vue?vue&type=template&id=0be4af54&
|
|
59723
59775
|
var CAnchorTagvue_type_template_id_0be4af54_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{staticClass:"flex text-sm",class:[
|
|
59724
59776
|
_vm.classes,
|
|
59725
59777
|
_vm.textColor,
|
|
@@ -59840,7 +59892,7 @@ var CAnchorTag_component = normalizeComponent(
|
|
|
59840
59892
|
// CONCATENATED MODULE: ./src/components/CAnchorTag/index.js
|
|
59841
59893
|
|
|
59842
59894
|
/* harmony default export */ var components_CAnchorTag = (CAnchorTag);
|
|
59843
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
59895
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CAvatar/CAvatar.vue?vue&type=template&id=5bbe3f08&
|
|
59844
59896
|
var CAvatarvue_type_template_id_5bbe3f08_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"flex",class:[
|
|
59845
59897
|
_vm.description ? 'items-start' : 'items-center',
|
|
59846
59898
|
_vm.hasLabel ? (_vm.classes + " shrink-0") : '' ]},[(_vm.image)?_c('div',{staticClass:"relative"},[_c('img',{staticClass:"inline-block",class:[
|
|
@@ -60171,7 +60223,7 @@ var CAvatar_component = normalizeComponent(
|
|
|
60171
60223
|
// CONCATENATED MODULE: ./src/components/CAvatar/index.js
|
|
60172
60224
|
|
|
60173
60225
|
/* harmony default export */ var components_CAvatar = (CAvatar);
|
|
60174
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
60226
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CAvatarGroup/CAvatarGroup.vue?vue&type=template&id=0d0a2b54&
|
|
60175
60227
|
var CAvatarGroupvue_type_template_id_0d0a2b54_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"flex",class:_vm.description ? 'items-start' : 'items-center'},[(_vm.images && _vm.images.length <= 3)?_c('div',{staticClass:"flex -space-x-1"},_vm._l((_vm.images),function(image,index){return _c('img',{key:index,staticClass:"inline-block ring-2 ring-white",class:_vm.classes,attrs:{"src":image.image,"alt":""}})}),0):_vm._e(),(_vm.images && _vm.images.length > 3)?_c('div',{staticClass:"flex -space-x-1"},_vm._l((_vm.images.slice(0, 4)),function(image,index){return _c('img',{key:index,staticClass:"inline-block ring-2 ring-white",class:_vm.classes,attrs:{"src":image.image,"alt":""}})}),0):_vm._e(),(_vm.nameInitials && _vm.nameInitialsWithColors.length > 4)?_c('div',{staticClass:"flex -space-x-1"},[_vm._l((_vm.nameInitialsWithColors.slice(0, 4)),function(name,index){return [_c('div',{key:index,class:[_vm.nameInitialsClasses, 'relative'],on:{"mouseover":function($event){return _vm.handleMouseOver(index)},"mouseleave":_vm.handleMouseLeave}},[(_vm.showTooltipOnHover && _vm.hoveredIndex === index)?_c('c-tool-tip',{attrs:{"tooltipText":name.fullName,"isTopAligned":true,"color":"#1f2937","classes":"absolute left-1/2 -translate-x-1/2 -mt-12 text-white bg-gray-800 w-max"}}):_vm._e(),(_vm.showImageWithInitials && (name.image || name.image_240))?_c('img',{class:[
|
|
60176
60228
|
'w-full h-full object-cover',
|
|
60177
60229
|
_vm.rounded ? 'rounded-full' : 'rounded-md'
|
|
@@ -60208,7 +60260,7 @@ var CAvatarGroupvue_type_template_id_0d0a2b54_staticRenderFns = []
|
|
|
60208
60260
|
|
|
60209
60261
|
// CONCATENATED MODULE: ./src/components/CAvatarGroup/CAvatarGroup.vue?vue&type=template&id=0d0a2b54&
|
|
60210
60262
|
|
|
60211
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
60263
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CToolTip/CToolTip.vue?vue&type=template&id=2cda98ea&scoped=true&
|
|
60212
60264
|
var CToolTipvue_type_template_id_2cda98ea_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isTopAligned)?_c('span',{staticClass:"tooltipTop z-100 absolute rounded-md px-3 py-2 text-sm opacity-100 shadow-lg",class:_vm.classes,style:(_vm.arrowColor)},[_vm._v(_vm._s(_vm.tooltipText))]):(_vm.isBottomAligned)?_c('span',{staticClass:"tooltipBottom z-100 absolute rounded-md px-3 py-2 text-sm opacity-100 shadow-lg",class:_vm.classes,style:(_vm.arrowColor)},[_vm._v(_vm._s(_vm.tooltipText))]):_c('span',{staticClass:"tooltip z-100 absolute rounded-md px-3 py-2 text-sm opacity-100 shadow-lg",class:_vm.classes,style:(_vm.arrowColor)},[_vm._v(_vm._s(_vm.tooltipText))])}
|
|
60213
60265
|
var CToolTipvue_type_template_id_2cda98ea_scoped_true_staticRenderFns = []
|
|
60214
60266
|
|
|
@@ -60546,7 +60598,7 @@ var CAvatarGroup_component = normalizeComponent(
|
|
|
60546
60598
|
// CONCATENATED MODULE: ./src/components/CAvatarGroup/index.js
|
|
60547
60599
|
|
|
60548
60600
|
/* harmony default export */ var components_CAvatarGroup = (CAvatarGroup);
|
|
60549
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
60601
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CBasicTable/CBasicTable.vue?vue&type=template&id=6ee9b382&
|
|
60550
60602
|
var CBasicTablevue_type_template_id_6ee9b382_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"flex flex-col"},[_c('div',{staticClass:"-my-2"},[_c('div',{staticClass:"py-2 align-middle inline-block min-w-full"},[_c('div',{},[_c('table',{staticClass:"min-w-full",class:_vm.columnData ? 'divide-y divide-gray-200' : ''},[_c('thead',{staticClass:"table w-full table-fixed"},[(_vm.columnData && _vm.columnData.length)?_c('tr',[(_vm.enableSelection)?_c('th',{staticClass:"px-2 py-3 sticky top-0 z-10 bg-gray-100"},[_c('c-checkbox',{on:{"onChange":_vm.changeAllValues}})],1):_vm._e(),_vm._l((_vm.columnData),function(column,index){return _c('th',{key:index,staticClass:"px-2 py-3 text-left text-sm font-medium text-gray-500 sticky top-0 z-10 bg-gray-100",attrs:{"scope":"col"}},[_vm._v(" "+_vm._s(column)+" ")])})],2):_vm._e()]),_c('tbody',{staticClass:"bg-white divide-y divide-gray-200 max-h-96 block overflow-y-auto"},_vm._l((_vm.rowRecords),function(row,index){return _c('tr',{key:row.index,staticClass:"align-top table w-full table-fixed",class:[
|
|
60551
60603
|
("" + (_vm.selectedRow && index === _vm.selectedIndex ? 'bg-indigo-100' : '')),
|
|
60552
60604
|
("" + (_vm.disabledRow ? 'opacity-40 pointer-events-none' : '')) ],on:{"click":function($event){return _vm.$emit('rowClick', index)}}},_vm._l((row),function(record,index){return _c('td',{key:index,staticClass:"px-2 whitespace-nowrap text-sm text-gray-900",class:_vm.columnClasses},[(_vm.enableSelection && record.isSelected)?_c('c-checkbox',{attrs:{"value":record.isSelected.value}}):(record.tag)?_c('p',[_c('c-tag',{attrs:{"label":record.tag.label,"color":record.tag.color}})],1):(record.avatar)?_c('p',[_c('c-avatar',{attrs:{"image":record.avatar.image,"rounded":record.avatar.rounded,"size":record.avatar.size,"name":record.avatar.name,"description":record.avatar.description}})],1):(record.secondary)?_c('p',{staticClass:"text-gray-500"},[_vm._v(" "+_vm._s(record.secondary.label)+" ")]):(record.icon)?_c('p',[_c('c-icon',{class:record.icon.class,attrs:{"type":record.icon.type,"name":record.icon.name}})],1):(record.linkLabel)?_c('p',[_c('a',{staticClass:"flex block text-sm text-indigo-600 hover:underline",attrs:{"href":"#"},on:{"click":function($event){$event.preventDefault();return _vm.action.apply(null, arguments)}}},[_vm._v(" "+_vm._s(record.linkLabel.label)+" ")])]):(record.switch)?_c('p',[_c('c-switch',{attrs:{"value":record.switch.value}})],1):(record.selectpicker)?_c('div',[_c('c-select',{attrs:{"placeholder":record.selectpicker.placeholder,"options":record.selectpicker.options,"dropdownClass":record.selectpicker.dropdownClass}})],1):(record.stackedList)?_c('div',[_c('c-stacked-list',{attrs:{"listItems":record.stackedList.items,"divider":record.stackedList.divider}})],1):(record.colorText)?_c('div',[_c('p',{class:record.colorText.class},[_vm._v(" "+_vm._s(record.colorText.value)+" ")]),(record.colorText.description)?_c('p',{staticClass:"text-gray-500"},[_vm._v(" "+_vm._s(record.colorText.description)+" ")]):_vm._e()]):_c('div',[_c('p',[_vm._v(_vm._s(record.record.value))]),(record.record.description)?_c('div',{staticClass:"flex"},[_vm._t("default"),_c('p',{staticClass:"text-gray-500"},[_vm._v(" "+_vm._s(record.record.description)+" ")])],2):_vm._e()])],1)}),0)}),0)])])])])])])}
|
|
@@ -60555,7 +60607,7 @@ var CBasicTablevue_type_template_id_6ee9b382_staticRenderFns = []
|
|
|
60555
60607
|
|
|
60556
60608
|
// CONCATENATED MODULE: ./src/components/CBasicTable/CBasicTable.vue?vue&type=template&id=6ee9b382&
|
|
60557
60609
|
|
|
60558
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
60610
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CTag/CTag.vue?vue&type=template&id=3ee0dcf0&
|
|
60559
60611
|
var CTagvue_type_template_id_3ee0dcf0_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"items-center rounded-md px-3 py-0.5 text-sm",class:[
|
|
60560
60612
|
_vm.colorClasses,
|
|
60561
60613
|
_vm.customLineHeight,
|
|
@@ -60694,7 +60746,7 @@ var CTag_component = normalizeComponent(
|
|
|
60694
60746
|
)
|
|
60695
60747
|
|
|
60696
60748
|
/* harmony default export */ var CTag = (CTag_component.exports);
|
|
60697
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
60749
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CSwitch/CSwitch.vue?vue&type=template&id=4537d15c&scoped=true&
|
|
60698
60750
|
var CSwitchvue_type_template_id_4537d15c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.size === 'small')?_c('div',{staticClass:"flex",class:[
|
|
60699
60751
|
_vm.label == '' ? 'items-center' : 'items-start',
|
|
60700
60752
|
_vm.disabled ? 'pointer-events-none cursor-default' : 'cursor-pointer' ]},[(_vm.direction == 'left')?_c('span',{staticClass:"mr-2 flex flex-grow flex-col",attrs:{"id":_vm.id},on:{"click":_vm.switchValue}},[(_vm.label)?_c('span',{staticClass:"text-gray-900",class:_vm.classes},[_vm._v(_vm._s(_vm.label))]):_vm._e(),(_vm.description)?_c('span',{staticClass:"text-sm text-gray-500"},[_vm._v(_vm._s(_vm.description))]):_vm._e()]):_vm._e(),_c('button',{staticClass:"group switch-state disabled-pointer-events-none relative inline-flex h-5 w-10 flex-shrink-0 cursor-pointer items-center justify-center rounded-full disabled:cursor-default disabled:opacity-50",style:(_vm.colorStyles),attrs:{"type":"button","aria-pressed":"false","disabled":_vm.disabled},on:{"click":_vm.switchValue}},[_c('span',{staticClass:"sr-only"},[_vm._v("Use setting")]),_c('span',{staticClass:"pointer-events-none absolute h-full w-full rounded-md",attrs:{"aria-hidden":"true"}}),_c('span',{staticClass:"switch-state pointer-events-none absolute mx-auto h-4 w-9 rounded-full transition-colors duration-200 ease-in-out",style:(_vm.colorStyles),attrs:{"aria-hidden":"true"}}),_c('span',{staticClass:"pointer-events-none absolute left-0 inline-block h-5 w-5 transform rounded-full border border-gray-200 bg-white ring-0 transition-transform duration-200 ease-in-out",class:{ 'translate-x-5': _vm.isToggle, 'translate-x-0': !_vm.isToggle },attrs:{"aria-hidden":"true"}})]),(_vm.direction == 'right')?_c('span',{staticClass:"ml-2 flex flex-col",attrs:{"id":_vm.id},on:{"click":_vm.switchValue}},[(_vm.label)?_c('span',{staticClass:"text-gray-900",class:_vm.classes},[_vm._v(_vm._s(_vm.label))]):_vm._e(),(_vm.description)?_c('span',{staticClass:"text-sm text-gray-500"},[_vm._v(_vm._s(_vm.description))]):_vm._e()]):_vm._e()]):_c('div',{staticClass:"flex cursor-pointer justify-between",class:[
|
|
@@ -61017,7 +61069,7 @@ var CSwitch_component = normalizeComponent(
|
|
|
61017
61069
|
)
|
|
61018
61070
|
|
|
61019
61071
|
/* harmony default export */ var CSwitch = (CSwitch_component.exports);
|
|
61020
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
61072
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CCheckbox/CCheckbox.vue?vue&type=template&id=242f8756&scoped=true&
|
|
61021
61073
|
var CCheckboxvue_type_template_id_242f8756_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"relative flex items-start"},[_c('div',{staticClass:"flex h-5 items-center"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.checkedValue),expression:"checkedValue"}],class:("checkbox-state focus cursor-pointer rounded border disabled:opacity-50 " + (_vm.isValidate ? '' : 'error')),style:(_vm.colorStyles),attrs:{"type":"checkbox","disabled":_vm.isDisabled,"id":_vm.id},domProps:{"indeterminate":_vm.indeterminate,"checked":Array.isArray(_vm.checkedValue)?_vm._i(_vm.checkedValue,null)>-1:(_vm.checkedValue)},on:{"click":_vm.changeValue,"change":function($event){var $$a=_vm.checkedValue,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.checkedValue=$$a.concat([$$v]))}else{$$i>-1&&(_vm.checkedValue=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.checkedValue=$$c}}}})]),_c('div',{staticClass:"flex cursor-pointer items-center text-sm",class:[_vm.isDisabled ? 'pointer-events-none' : '', _vm.setMarginLeft],attrs:{"id":_vm.id},on:{"click":_vm.changeValue}},[(_vm.showAvatar)?[(_vm.avatarImage)?_c('c-avatar',{staticClass:"mr-3",attrs:{"size":_vm.description ? 'extrasmall' : 'extraextrasmall',"image":_vm.avatarImage,"rounded":true}}):_c('c-avatar',{staticClass:"mr-3",attrs:{"size":_vm.description ? 'extrasmall' : 'extraextrasmall',"nameInitials":_vm.avatarNameInitials,"rounded":true}})]:_vm._e(),_c('div',{staticClass:"flex flex-col"},[_c('label',{class:[
|
|
61022
61074
|
'cursor-pointer text-gray-900',
|
|
61023
61075
|
_vm.isDisabled ? 'opacity-50' : '',
|
|
@@ -61259,7 +61311,7 @@ var CCheckbox_component = normalizeComponent(
|
|
|
61259
61311
|
)
|
|
61260
61312
|
|
|
61261
61313
|
/* harmony default export */ var CCheckbox = (CCheckbox_component.exports);
|
|
61262
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
61314
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CSelect/CSelect.vue?vue&type=template&id=e9c0f56c&scoped=true&
|
|
61263
61315
|
var CSelectvue_type_template_id_e9c0f56c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{class:("flex w-full items-center " + (_vm.label ? 'justify-between' : 'justify-end'))},[(_vm.label)?_c('div',{staticClass:"flex items-center"},[_c('label',{staticClass:"block text-sm font-medium text-gray-900"},[_vm._v(" "+_vm._s(_vm.label)+" ")]),(_vm.isRequired)?_c('p',{staticClass:"ml-1 text-red-600"},[_vm._v("*")]):_vm._e()]):_vm._e(),(_vm.actionBtn)?_c('button',{staticClass:"block text-sm font-medium text-indigo-800 hover:underline",attrs:{"id":_vm.getActionIDFn(_vm.actionBtn)},on:{"click":function($event){return _vm.actionBtnEvent($event)}}},[_vm._v(" "+_vm._s(_vm.actionBtn)+" ")]):_vm._e(),(_vm.hint)?_c('span',{staticClass:"text-sm text-gray-500"},[_vm._v(_vm._s(_vm.hint))]):_vm._e()]),_c('div',{ref:"inputContainer",class:['relative', _vm.inputContainerClass]},[_c('div',{class:_vm.label || _vm.actionBtn ? 'mt-1' : ''},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.selectSearch),expression:"selectSearch"}],ref:"c-select-input",staticClass:"h-9 w-full cursor-pointer border py-2 pr-10 text-left text-sm",class:[
|
|
61264
61316
|
_vm.classes,
|
|
61265
61317
|
!_vm.isValidate && 'border-red-300',
|
|
@@ -63444,7 +63496,7 @@ var CSelect_component = normalizeComponent(
|
|
|
63444
63496
|
)
|
|
63445
63497
|
|
|
63446
63498
|
/* harmony default export */ var CSelect = (CSelect_component.exports);
|
|
63447
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
63499
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CStackedList/CStackedList.vue?vue&type=template&id=1f553c82&
|
|
63448
63500
|
var CStackedListvue_type_template_id_1f553c82_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('ul',_vm._l((_vm.listItems),function(items){return _c('li',{key:items.size,staticClass:"py-4",class:{
|
|
63449
63501
|
'cursor-pointer': items.collapse,
|
|
63450
63502
|
'border-b border-gray-200': _vm.divider === true,
|
|
@@ -63849,7 +63901,7 @@ var CBasicTable_component = normalizeComponent(
|
|
|
63849
63901
|
// CONCATENATED MODULE: ./src/components/CBasicTable/index.js
|
|
63850
63902
|
|
|
63851
63903
|
/* harmony default export */ var components_CBasicTable = (CBasicTable);
|
|
63852
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
63904
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CBreadcrumbs/CBreadcrumbs.vue?vue&type=template&id=1aedac34&
|
|
63853
63905
|
var CBreadcrumbsvue_type_template_id_1aedac34_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('nav',{staticClass:"flex",attrs:{"aria-label":"Breadcrumb"}},[_c('ol',{staticClass:"flex items-center space-x-4"},_vm._l((_vm.navObject),function(nav){return _c('li',{key:nav.label},[_c('div',{staticClass:"flex items-center"},[_c('c-icon',{staticClass:"flex-shrink-0 h-5 w-5 text-gray-400",attrs:{"name":"chevron-right","type":"solid"}}),_c('a',{staticClass:"ml-4 text-sm font-medium text-gray-500 hover:text-gray-700",attrs:{"href":nav.href}},[_vm._v(_vm._s(nav.label))])],1)])}),0)])])}
|
|
63854
63906
|
var CBreadcrumbsvue_type_template_id_1aedac34_staticRenderFns = []
|
|
63855
63907
|
|
|
@@ -63919,7 +63971,7 @@ var CBreadcrumbs_component = normalizeComponent(
|
|
|
63919
63971
|
// CONCATENATED MODULE: ./src/components/CBreadcrumbs/index.js
|
|
63920
63972
|
|
|
63921
63973
|
/* harmony default export */ var components_CBreadcrumbs = (CBreadcrumbs);
|
|
63922
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
63974
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CButton/CButton.vue?vue&type=template&id=2ffe090c&
|
|
63923
63975
|
var CButtonvue_type_template_id_2ffe090c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.parentWrapperClass,on:{"mouseover":function($event){return _vm.$emit('handleMouseOver')},"mouseleave":function($event){return _vm.$emit('handleMouseLeave')}}},[_vm._t("default"),(_vm.type == 'tertiary')?_c('button',{staticClass:"child-button inline-flex h-9 items-center gap-2 rounded-md px-3 py-2 text-sm text-indigo-600 hover:bg-indigo-100 hover:text-indigo-800 focus:outline-none focus:ring-2 focus:ring-indigo-200 focus:ring-offset-2",class:_vm.customClasses,attrs:{"id":_vm.id,"disabled":_vm.disabled || _vm.isLoading},on:{"click":function($event){$event.preventDefault();return _vm.$emit('action')}}},[(_vm.icon)?_c('c-icon',{class:[_vm.icon.class || _vm.iconClasses],attrs:{"type":_vm.icon.type,"cursorType":_vm.computedIconCursorType,"name":_vm.icon.name,"viewBox":_vm.icon.viewBox}}):_vm._e(),_vm._v(_vm._s(_vm.label)+" "),_vm._t("customButtonContent")],2):(_vm.type != 'tertiary' && _vm.label.length && !_vm.reverseIcon)?_c('button',{staticClass:"child-button inline-flex h-9 items-center gap-2 rounded-md px-3 py-2 text-sm font-medium shadow-sm focus:outline-none focus:ring-2 focus:ring-offset-2",class:[_vm.classes],style:(_vm.computedStyles),attrs:{"type":_vm.type,"id":_vm.id,"disabled":_vm.disabled || _vm.isLoading},on:{"click":function($event){$event.preventDefault();return _vm.$emit('action')}}},[(_vm.isLoading)?_c('c-icon',{staticClass:"h-4 w-4",attrs:{"name":"loader"}}):_vm._e(),(_vm.icon && !_vm.isLoading)?_c('c-icon',{class:[_vm.icon.class || _vm.iconClasses],attrs:{"type":_vm.icon.type,"cursorType":_vm.computedIconCursorType,"name":_vm.icon.name,"viewBox":_vm.icon.viewBox}}):_vm._e(),_vm._v(" "+_vm._s(_vm.label)+" "),_vm._t("customButtonContent")],2):(_vm.type != 'tertiary' && _vm.label.length && _vm.reverseIcon)?_c('button',{staticClass:"child-button inline-flex h-9 items-center gap-2 rounded-md px-3 py-2 text-sm font-medium shadow-sm focus:outline-none focus:ring-2 focus:ring-offset-2",class:[_vm.classes],style:(_vm.computedStyles),attrs:{"type":_vm.type,"id":_vm.id,"disabled":_vm.disabled || _vm.isLoading},on:{"click":function($event){$event.preventDefault();return _vm.$emit('action')}}},[_vm._v(" "+_vm._s(_vm.label)+" "),(_vm.isLoading)?_c('c-icon',{staticClass:"h-4 w-4",attrs:{"name":"loader"}}):_vm._e(),(_vm.icon && !_vm.isLoading)?_c('c-icon',{class:[_vm.icon.class || _vm.iconClasses],attrs:{"type":_vm.icon.type,"cursorType":_vm.computedIconCursorType,"name":_vm.icon.name,"viewBox":_vm.icon.viewBox}}):_vm._e(),_vm._t("customButtonContent")],2):(_vm.type != 'tertiary' && _vm.label.length == 0)?_c('button',{staticClass:"child-button inline-flex h-9 items-center gap-2 rounded-md px-3 py-2 text-sm font-medium shadow-sm focus:outline-none focus:ring-2 focus:ring-offset-2",class:[_vm.classes],attrs:{"type":_vm.type,"id":_vm.id,"disabled":_vm.disabled || _vm.isLoading},on:{"click":function($event){$event.preventDefault();return _vm.$emit('action')}}},[(_vm.isLoading)?_c('c-icon',{staticClass:"h-4 w-4",attrs:{"name":"loader"}}):_vm._e(),(_vm.icon && !_vm.isLoading)?_c('c-icon',{class:[_vm.icon.class || _vm.iconClasses],attrs:{"type":_vm.icon.type,"cursorType":_vm.computedIconCursorType,"name":_vm.icon.name,"viewBox":_vm.icon.viewBox}}):_vm._e(),_vm._t("customButtonContent")],2):_vm._e()],2)}
|
|
63924
63976
|
var CButtonvue_type_template_id_2ffe090c_staticRenderFns = []
|
|
63925
63977
|
|
|
@@ -64159,7 +64211,7 @@ var CButton_component = normalizeComponent(
|
|
|
64159
64211
|
// CONCATENATED MODULE: ./src/components/CButton/index.js
|
|
64160
64212
|
|
|
64161
64213
|
/* harmony default export */ var components_CButton = (CButton);
|
|
64162
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
64214
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CButtonGroup/CButtonGroup.vue?vue&type=template&id=f2653698&
|
|
64163
64215
|
var CButtonGroupvue_type_template_id_f2653698_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.hideDropdownIcon)?_c('div',{staticClass:"relative -ml-px block sm:hidden sm:shadow-sm"},[_c('div',[_c('button',{staticClass:"relative inline-flex items-center rounded-md border border-gray-300 bg-white px-2 py-2 text-sm font-medium text-gray-900 hover:bg-gray-50 focus:z-10 focus:border-blue-600 focus:outline-none focus:ring-1 focus:ring-blue-600 sm:rounded-md sm:px-3",attrs:{"type":"button","id":_vm.id,"aria-expanded":"false","aria-haspopup":"true"},on:{"click":function($event){_vm.showButtons = !_vm.showButtons}}},[_c('span',{},[_vm._v(_vm._s(_vm.buttonObject[0].label))]),_c('c-icon',{staticClass:"ml-2 h-5 w-5",attrs:{"type":"solid","name":"chevron-down"}})],1)]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showButtons),expression:"showButtons"}],staticClass:"absolute z-10 mt-2 w-full origin-top-right rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none",attrs:{"role":"menu","aria-orientation":"vertical"}},[_c('div',{staticClass:"py-1"},_vm._l((_vm.buttonObject),function(button){return _c('a',{key:button.label,staticClass:"flex px-3 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:bg-gray-100 focus:text-gray-900",attrs:{"href":"#","role":"menuitem","id":_vm.getActionIDFn(button.label)},on:{"click":function($event){return _vm.buttonAction(button.value)},"blur":function($event){_vm.showButtons = false}}},[(button.icon == '')?_c('div',{staticClass:"h-5"}):_vm._e(),(button.icon)?_c('c-icon',{staticClass:"-ml-1 mr-2 h-5 w-5 text-gray-400",attrs:{"name":button.icon,"type":"solid"}}):_vm._e(),_vm._v(" "+_vm._s(button.label)+" ")],1)}),0)])]):_vm._e(),_c('div',{class:(_vm.buttonClass + " " + _vm.extraButtonClasses)},_vm._l((_vm.buttonObject),function(button,index){return _c('div',{key:index,class:("relative " + (button.parentClasses ? button.parentClasses : ''))},[_c('button',{key:button.label,staticClass:"relative h-9 inline-flex items-center border border-gray-300 bg-white py-2 text-sm font-medium text-gray-900 hover:bg-gray-50 focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500",class:[
|
|
64164
64216
|
{
|
|
64165
64217
|
'rounded-r-md rounded-l-none border-l border-r':
|
|
@@ -64353,7 +64405,7 @@ var CButtonGroup_component = normalizeComponent(
|
|
|
64353
64405
|
// CONCATENATED MODULE: ./src/components/CButtonGroup/index.js
|
|
64354
64406
|
|
|
64355
64407
|
/* harmony default export */ var components_CButtonGroup = (CButtonGroup);
|
|
64356
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
64408
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CButtonIcon/CButtonIcon.vue?vue&type=template&id=131eae54&scoped=true&
|
|
64357
64409
|
var CButtonIconvue_type_template_id_131eae54_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._t("initialSlot"),(_vm.type == 'tertiary')?_c('button',{class:[
|
|
64358
64410
|
'flex h-9 cursor-pointer flex-row rounded-md px-2 py-2 text-sm text-indigo-600 hover:bg-indigo-100 hover:text-indigo-800 focus:outline-none focus:ring-2 focus:ring-indigo-200 focus:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed',
|
|
64359
64411
|
_vm.customButtonClasses ],attrs:{"disabled":_vm.disabled,"id":_vm.id},on:{"click":function($event){$event.preventDefault();return _vm.$emit('action')}}},[(_vm.icon)?_c('c-icon',{class:_vm.icon.class,attrs:{"cursorType":_vm.computedIconCursorType,"type":_vm.icon.type,"name":_vm.icon.name,"viewBox":_vm.icon.viewBox}}):_vm._e(),_vm._t("default")],2):(_vm.type == 'rounded-hover')?_c('button',{staticClass:"flex h-9 w-9 cursor-pointer items-center justify-center rounded-full bg-white text-gray-500 hover:bg-gray-100 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500 disabled:opacity-50 disabled:cursor-not-allowed",class:[
|
|
@@ -64544,7 +64596,7 @@ var CButtonIcon_component = normalizeComponent(
|
|
|
64544
64596
|
// CONCATENATED MODULE: ./src/components/CButtonIcon/index.js
|
|
64545
64597
|
|
|
64546
64598
|
/* harmony default export */ var components_CButtonIcon = (CButtonIcon);
|
|
64547
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
64599
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CButtonLink/CButtonLink.vue?vue&type=template&id=14236b4c&
|
|
64548
64600
|
var CButtonLinkvue_type_template_id_14236b4c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:"relative z-0 inline-flex w-full rounded-md shadow-sm"},[(_vm.image)?_c('button',{staticClass:"relative h-9 -ml-px inline-flex items-center rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-700 overflow-hidden hover:bg-gray-50 focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500",attrs:{"type":"button"}},[_c('img',{staticClass:"h-9 w-9",attrs:{"src":_vm.image}})]):_vm._e(),_c('button',{staticClass:"relative h-9 inline-flex w-full items-center justify-between rounded-r-md border border-gray-300 bg-white px-3 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50 focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500",class:_vm.image ? 'rounded-r-md' : 'rounded-md',attrs:{"type":"button","id":_vm.id},on:{"click":function($event){return _vm.$emit('action')}}},[_vm._v(" "+_vm._s(_vm.label)+" "),_c('c-icon',{staticClass:"h-5 w-5",attrs:{"type":"solid","name":"chevron-right"}})],1)])}
|
|
64549
64601
|
var CButtonLinkvue_type_template_id_14236b4c_staticRenderFns = []
|
|
64550
64602
|
|
|
@@ -64621,7 +64673,7 @@ var CButtonLink_component = normalizeComponent(
|
|
|
64621
64673
|
// CONCATENATED MODULE: ./src/components/CButtonLink/index.js
|
|
64622
64674
|
|
|
64623
64675
|
/* harmony default export */ var components_CButtonLink = (CButtonLink);
|
|
64624
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
64676
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CButtonSelect/CButtonSelect.vue?vue&type=template&id=c4421e84&
|
|
64625
64677
|
var CButtonSelectvue_type_template_id_c4421e84_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._t("default"),_c('div',{staticClass:"relative inline-block text-left",class:[_vm.isDisabled ? 'opacity-50' : '', _vm.buttonWrapperClass]},[_c('button',{staticClass:"h-9 inline-flex w-full justify-center px-3 py-2 text-sm font-medium shadow-sm focus:outline-none focus:ring-2 focus:ring-offset-2",class:[_vm.classes, _vm.buttonClass],attrs:{"type":_vm.type,"aria-haspopup":"listbox","aria-expanded":"true","aria-labelledby":"listbox-label","disabled":_vm.isDisabled,"id":_vm.id},on:{"click":function($event){_vm.toggleDropdown = !_vm.toggleDropdown},"blur":function($event){return _vm.close()}}},[(_vm.icon)?_c('c-icon',{class:_vm.icon.class,attrs:{"name":_vm.icon.name,"type":_vm.icon.type,"cursorType":_vm.icon.cursorType,"viewBox":_vm.icon.viewBox || '0 0 20 20'}}):_vm._e(),(_vm.isLoading)?_c('c-icon',{staticClass:"mr-2 h-5 w-5",attrs:{"name":"loader"}}):_vm._e(),_vm._v(" "+_vm._s(_vm.label)+" "),_c('c-icon',{class:['ml-2 h-5 w-5', _vm.iconClass],attrs:{"name":"chevron-down","type":"solid"}})],1),(_vm.toggleDropdown)?_c('div',{ref:"dropdownMenu",staticClass:"absolute z-10 mt-2 -mr-1 w-56 rounded-md bg-white pb-4",class:_vm.dropdownPositionClass},[_c('div',{staticClass:"rounded-md shadow-lg ring-1 ring-gray-900 ring-opacity-5"},[_c('ul',{staticClass:"py-1",attrs:{"tabindex":"-1","role":"listbox","aria-labelledby":"listbox-label"}},_vm._l((_vm.items),function(item){return _c('li',{key:item.text,staticClass:"flex cursor-pointer px-3 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900",class:[
|
|
64626
64678
|
item.isDisabled ? 'pointer-events-none opacity-50 ' : '' ],attrs:{"id":_vm.getActionIDFn(item.text)},on:{"mousedown":function($event){return _vm.emitOptionAction(item.action)}}},[(item.icon)?_c('c-icon',{class:['mr-2 h-5 w-5 text-gray-400', item.iconClass],attrs:{"type":item.iconType,"name":item.icon,"viewBox":item.iconViewBox || '0 0 24 24'}}):_vm._e(),(item.customIcon)?_vm._t("customIcon"):_vm._e(),_vm._v(" "+_vm._s(item.text)+" ")],2)}),0)])]):_vm._e()])],2)}
|
|
64627
64679
|
var CButtonSelectvue_type_template_id_c4421e84_staticRenderFns = []
|
|
@@ -64831,14 +64883,17 @@ var CButtonSelect_component = normalizeComponent(
|
|
|
64831
64883
|
// CONCATENATED MODULE: ./src/components/CButtonSelect/index.js
|
|
64832
64884
|
|
|
64833
64885
|
/* harmony default export */ var components_CButtonSelect = (CButtonSelect);
|
|
64834
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
64835
|
-
var
|
|
64886
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CButtonWithDropdown/CButtonWithDropdown.vue?vue&type=template&id=8ec0caf8&
|
|
64887
|
+
var CButtonWithDropdownvue_type_template_id_8ec0caf8_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',{staticClass:"relative inline-flex rounded-md shadow-sm"},[_c('button',{staticClass:"relative h-9 inline-flex items-center rounded-l-md px-3 py-2 text-sm font-medium focus:z-10 focus:outline-none focus:ring-1",class:[_vm.classes, _vm.isDisabled ? 'opacity-50' : ''],attrs:{"type":_vm.type,"disabled":_vm.isDisabled,"id":_vm.id},on:{"click":_vm.handleButtonClick}},[(_vm.isLoading)?_c('c-icon',{staticClass:"mr-2 h-4 w-4",attrs:{"name":"loader"}}):_vm._e(),_vm._v(" "+_vm._s(_vm.selectedValue ? _vm.selectedValue : _vm.label)+" ")],1),_c('span',{ref:"dropdownTrigger",staticClass:"relative -ml-px block"},[_c('button',{staticClass:"relative h-9 inline-flex items-center rounded-r-md px-2 py-2 text-sm font-medium focus:z-10 focus:outline-none focus:ring-1",class:[
|
|
64836
64888
|
_vm.classes,
|
|
64837
|
-
_vm.isDisabled || _vm.isDropdownDisabled ? 'opacity-50' : '' ],attrs:{"type":_vm.type,"disabled":_vm.isDisabled || _vm.isDropdownDisabled,"id":_vm.id + '_button_dropdown'},on:{"click":function($event){_vm.toggleDropdown = !_vm.toggleDropdown},"blur":function($event){return _vm.close()}}},[_c('span',{staticClass:"sr-only"},[_vm._v("Open options")]),_c('c-icon',{staticClass:"h-5 w-5",attrs:{"name":"chevron-down","type":"solid"}})],1),(_vm.toggleDropdown)?_c('div',{
|
|
64838
|
-
|
|
64889
|
+
_vm.isDisabled || _vm.isDropdownDisabled ? 'opacity-50' : '' ],attrs:{"type":_vm.type,"disabled":_vm.isDisabled || _vm.isDropdownDisabled,"id":_vm.id + '_button_dropdown'},on:{"click":function($event){_vm.toggleDropdown = !_vm.toggleDropdown},"blur":function($event){return _vm.close()}}},[_c('span',{staticClass:"sr-only"},[_vm._v("Open options")]),_c('c-icon',{staticClass:"h-5 w-5",attrs:{"name":"chevron-down","type":"solid"}})],1),(_vm.toggleDropdown)?_c('div',{class:[
|
|
64890
|
+
_vm.dropdownPositionClass,
|
|
64891
|
+
_vm.dropdownMenuClass,
|
|
64892
|
+
'absolute z-10 w-56 rounded-md bg-white shadow-lg ring-1 ring-gray-900 ring-opacity-5' ]},[_c('div',{staticClass:"py-1",attrs:{"role":"menu","aria-orientation":"vertical","aria-labelledby":"option-menu"}},_vm._l((_vm.items),function(item){return _c('li',{key:item.items,staticClass:"block cursor-pointer px-3 py-2 text-left text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900",attrs:{"role":"menuitem","id":_vm.getActionIDFn(item.secondaryText)},on:{"mousedown":function($event){return _vm.selectOption($event, item.value)}}},[_vm._v(" "+_vm._s(item.text)+" ")])}),0)]):_vm._e()])])])}
|
|
64893
|
+
var CButtonWithDropdownvue_type_template_id_8ec0caf8_staticRenderFns = []
|
|
64839
64894
|
|
|
64840
64895
|
|
|
64841
|
-
// CONCATENATED MODULE: ./src/components/CButtonWithDropdown/CButtonWithDropdown.vue?vue&type=template&id=
|
|
64896
|
+
// CONCATENATED MODULE: ./src/components/CButtonWithDropdown/CButtonWithDropdown.vue?vue&type=template&id=8ec0caf8&
|
|
64842
64897
|
|
|
64843
64898
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CButtonWithDropdown/CButtonWithDropdown.vue?vue&type=script&lang=js&
|
|
64844
64899
|
//
|
|
@@ -64899,6 +64954,9 @@ var CButtonWithDropdownvue_type_template_id_57f6aae9_staticRenderFns = []
|
|
|
64899
64954
|
//
|
|
64900
64955
|
//
|
|
64901
64956
|
//
|
|
64957
|
+
//
|
|
64958
|
+
//
|
|
64959
|
+
//
|
|
64902
64960
|
|
|
64903
64961
|
|
|
64904
64962
|
|
|
@@ -64945,8 +65003,8 @@ var CButtonWithDropdownvue_type_template_id_57f6aae9_staticRenderFns = []
|
|
|
64945
65003
|
data() {
|
|
64946
65004
|
return {
|
|
64947
65005
|
toggleDropdown: false,
|
|
64948
|
-
|
|
64949
|
-
|
|
65006
|
+
selectedValue: this.value,
|
|
65007
|
+
dropdownMenuClass: "top-full right-0 mt-2 origin-top-right"
|
|
64950
65008
|
};
|
|
64951
65009
|
},
|
|
64952
65010
|
computed: {
|
|
@@ -64966,11 +65024,46 @@ var CButtonWithDropdownvue_type_template_id_57f6aae9_staticRenderFns = []
|
|
|
64966
65024
|
getActionIDFn(name) {
|
|
64967
65025
|
return getActionID(name, this.id);
|
|
64968
65026
|
},
|
|
65027
|
+
updateDropdownPlacement() {
|
|
65028
|
+
if (this.ticking) return;
|
|
65029
|
+
const trigger = this.$refs.dropdownTrigger;
|
|
65030
|
+
if (!trigger) return;
|
|
65031
|
+
this.ticking = true;
|
|
65032
|
+
requestAnimationFrame(() => {
|
|
65033
|
+
this.ticking = false;
|
|
65034
|
+
if (!this.$refs.dropdownTrigger) return;
|
|
65035
|
+
const {
|
|
65036
|
+
top,
|
|
65037
|
+
bottom,
|
|
65038
|
+
left,
|
|
65039
|
+
right
|
|
65040
|
+
} = trigger.getBoundingClientRect();
|
|
65041
|
+
const alignRight = right >= window.innerWidth - left;
|
|
65042
|
+
const menuHeight = (this.items || []).length * 36 + 8;
|
|
65043
|
+
const openAbove = window.innerHeight - bottom < menuHeight && top > window.innerHeight - bottom;
|
|
65044
|
+
const horizontal = alignRight ? "right-0" : "left-0";
|
|
65045
|
+
if (openAbove) {
|
|
65046
|
+
this.dropdownMenuClass = alignRight ? `bottom-full ${horizontal} mb-2 origin-bottom-right` : `bottom-full ${horizontal} mb-2 origin-bottom-left`;
|
|
65047
|
+
} else {
|
|
65048
|
+
this.dropdownMenuClass = alignRight ? `top-full ${horizontal} mt-2 origin-top-right` : `top-full ${horizontal} mt-2 origin-top-left`;
|
|
65049
|
+
}
|
|
65050
|
+
});
|
|
65051
|
+
},
|
|
65052
|
+
togglePlacementListeners(active) {
|
|
65053
|
+
if (active) {
|
|
65054
|
+
window.addEventListener("resize", this.updateDropdownPlacement, {
|
|
65055
|
+
passive: true
|
|
65056
|
+
});
|
|
65057
|
+
window.addEventListener("scroll", this.updateDropdownPlacement, true);
|
|
65058
|
+
return;
|
|
65059
|
+
}
|
|
65060
|
+
window.removeEventListener("resize", this.updateDropdownPlacement);
|
|
65061
|
+
window.removeEventListener("scroll", this.updateDropdownPlacement, true);
|
|
65062
|
+
},
|
|
64969
65063
|
selectOption(event, value) {
|
|
64970
65064
|
this.selectedValue = event.target.innerText;
|
|
64971
65065
|
this.$emit("onSelectOption", value);
|
|
64972
65066
|
this.toggleDropdown = false;
|
|
64973
|
-
this.isSelected = true;
|
|
64974
65067
|
},
|
|
64975
65068
|
close() {
|
|
64976
65069
|
this.toggleDropdown = false;
|
|
@@ -64982,7 +65075,21 @@ var CButtonWithDropdownvue_type_template_id_57f6aae9_staticRenderFns = []
|
|
|
64982
65075
|
watch: {
|
|
64983
65076
|
value() {
|
|
64984
65077
|
this.selectedValue = this.value;
|
|
65078
|
+
},
|
|
65079
|
+
toggleDropdown(isOpen) {
|
|
65080
|
+
if (isOpen) {
|
|
65081
|
+
this.$nextTick(() => {
|
|
65082
|
+
if (!this.toggleDropdown || !this.$refs.dropdownTrigger) return;
|
|
65083
|
+
this.updateDropdownPlacement();
|
|
65084
|
+
this.togglePlacementListeners(true);
|
|
65085
|
+
});
|
|
65086
|
+
} else {
|
|
65087
|
+
this.togglePlacementListeners(false);
|
|
65088
|
+
}
|
|
64985
65089
|
}
|
|
65090
|
+
},
|
|
65091
|
+
beforeDestroy() {
|
|
65092
|
+
this.togglePlacementListeners(false);
|
|
64986
65093
|
}
|
|
64987
65094
|
});
|
|
64988
65095
|
// CONCATENATED MODULE: ./src/components/CButtonWithDropdown/CButtonWithDropdown.vue?vue&type=script&lang=js&
|
|
@@ -64997,8 +65104,8 @@ var CButtonWithDropdownvue_type_template_id_57f6aae9_staticRenderFns = []
|
|
|
64997
65104
|
|
|
64998
65105
|
var CButtonWithDropdown_component = normalizeComponent(
|
|
64999
65106
|
CButtonWithDropdown_CButtonWithDropdownvue_type_script_lang_js_,
|
|
65000
|
-
|
|
65001
|
-
|
|
65107
|
+
CButtonWithDropdownvue_type_template_id_8ec0caf8_render,
|
|
65108
|
+
CButtonWithDropdownvue_type_template_id_8ec0caf8_staticRenderFns,
|
|
65002
65109
|
false,
|
|
65003
65110
|
null,
|
|
65004
65111
|
null,
|
|
@@ -65010,7 +65117,7 @@ var CButtonWithDropdown_component = normalizeComponent(
|
|
|
65010
65117
|
// CONCATENATED MODULE: ./src/components/CButtonWithDropdown/index.js
|
|
65011
65118
|
|
|
65012
65119
|
/* harmony default export */ var components_CButtonWithDropdown = (CButtonWithDropdown);
|
|
65013
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
65120
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CCard/CCard.vue?vue&type=template&id=41ce7880&
|
|
65014
65121
|
var CCardvue_type_template_id_41ce7880_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"relative flex items-center space-x-3 rounded-lg border border-gray-300 bg-white px-6 py-5 shadow-sm focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 hover:border-gray-400"},[_c('div',{staticClass:"flex-shrink-0 rounded-md bg-gray-100 p-2"},[_c('c-avatar',{attrs:{"image":_vm.image.image,"rounded":_vm.image.rounded,"size":_vm.image.size,"imageResizeClass":'object-contain'}})],1),_c('div',{staticClass:"min-w-0 flex-1"},[_c('a',{staticClass:"focus:outline-none",attrs:{"href":"#"}},[_c('span',{staticClass:"absolute inset-0",attrs:{"aria-hidden":"true"}}),_c('div',{staticClass:"flex",class:_vm.classes},[_c('p',{staticClass:"text-sm text-gray-900"},[_vm._v(" "+_vm._s(_vm.name)+" ")]),_vm._t("default")],2),_c('p',{staticClass:"truncate text-sm text-gray-500"},[_vm._v(" "+_vm._s(_vm.description)+" ")])])])])}
|
|
65015
65122
|
var CCardvue_type_template_id_41ce7880_staticRenderFns = []
|
|
65016
65123
|
|
|
@@ -65098,7 +65205,7 @@ var CCard_component = normalizeComponent(
|
|
|
65098
65205
|
// CONCATENATED MODULE: ./src/components/CCheckbox/index.js
|
|
65099
65206
|
|
|
65100
65207
|
/* harmony default export */ var components_CCheckbox = (CCheckbox);
|
|
65101
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
65208
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CCollapsibleSection/CCollapsibleSection.vue?vue&type=template&id=18013f17&
|
|
65102
65209
|
var CCollapsibleSectionvue_type_template_id_18013f17_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"flex cursor-pointer items-center justify-between gap-2",class:_vm.divider || _vm.showSection ? 'border-b border-gray-200 pb-2' : '',attrs:{"id":_vm.id},on:{"click":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.collapse.apply(null, arguments)}}},[_c('div',{staticClass:"flex min-w-0 flex-1 items-center gap-1",on:{"click":_vm.collapse}},[_c('c-icon',{staticClass:"h-5 w-5 shrink-0 text-gray-900",attrs:{"name":_vm.showSection ? 'chevron-down' : 'chevron-right',"type":"solid"}}),_c('div',{staticClass:"flex min-w-0 flex-1 items-center gap-1 border-transparent hover:border-gray-300 hover:text-gray-700",class:[_vm.tabAction ? 'py-2' : '', _vm.customHeaderClass]},[_c('span',{staticClass:"min-w-0 truncate",attrs:{"title":_vm.label}},[_vm._v(_vm._s(_vm.label))]),(_vm.badgeCount > 0)?_c('span',{staticClass:"flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-gray-100 text-sm font-medium text-gray-900"},[_vm._v(" "+_vm._s(_vm.badgeCount)+" ")]):_vm._e(),(_vm.isRequired)?_c('p',{staticClass:"ml-1 text-red-600"},[_vm._v("*")]):_vm._e()])],1),(_vm.tabAction && _vm.showSection)?_c('c-button',{attrs:{"type":"tertiary","label":_vm.buttonLabel,"id":_vm.id + '_action_button'},on:{"action":_vm.action}}):_vm._e(),(_vm.tabLink && _vm.showSection)?_c('c-anchor-tag',{attrs:{"label":_vm.tabLink.label,"id":_vm.id + '_action_link',"action":_vm.action}}):_vm._e()],1),(_vm.showSection)?_c('div',{staticClass:"mt-5 text-sm text-gray-500"},[_vm._t("default")],2):_vm._e()])}
|
|
65103
65210
|
var CCollapsibleSectionvue_type_template_id_18013f17_staticRenderFns = []
|
|
65104
65211
|
|
|
@@ -65257,7 +65364,7 @@ var CCollapsibleSection_component = normalizeComponent(
|
|
|
65257
65364
|
// CONCATENATED MODULE: ./src/components/CCollapsibleSection/index.js
|
|
65258
65365
|
|
|
65259
65366
|
/* harmony default export */ var components_CCollapsibleSection = (CCollapsibleSection);
|
|
65260
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
65367
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CColorDots/CColorDots.vue?vue&type=template&id=630c5faa&
|
|
65261
65368
|
var CColorDotsvue_type_template_id_630c5faa_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:("flex items-center " + (_vm.isBackground ? ("w-fit rounded-xl px-2 text-sm bg-" + _vm.color + "-100") : ''))},[_c('span',{staticClass:"h-1.5 w-1.5 rounded-full",class:_vm.classes ? _vm.classes : _vm.colorClasses,attrs:{"aria-hidden":"true"}}),_c('div',{staticClass:"ml-2 text-sm font-medium"},[_vm._v(" "+_vm._s(_vm.label)+" ")])])}
|
|
65262
65369
|
var CColorDotsvue_type_template_id_630c5faa_staticRenderFns = []
|
|
65263
65370
|
|
|
@@ -65341,7 +65448,7 @@ var CColorDots_component = normalizeComponent(
|
|
|
65341
65448
|
// CONCATENATED MODULE: ./src/components/CColorDots/index.js
|
|
65342
65449
|
|
|
65343
65450
|
/* harmony default export */ var components_CColorDots = (CColorDots);
|
|
65344
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
65451
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CDatepicker/CDatepicker.vue?vue&type=template&id=caa2b82c&
|
|
65345
65452
|
var CDatepickervue_type_template_id_caa2b82c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"flex items-center justify-between"},[_c('div',{staticClass:"flex items-center"},[(_vm.label)?_c('label',{staticClass:"block text-sm font-medium text-gray-900"},[_vm._v(" "+_vm._s(_vm.label)+" ")]):_vm._e(),(_vm.isRequired)?_c('p',{staticClass:"ml-1 text-red-600"},[_vm._v("*")]):_vm._e()]),(_vm.hint)?_c('span',{staticClass:"text-sm text-gray-500"},[_vm._v(_vm._s(_vm.hint))]):_vm._e()]),_c('div',{staticClass:"relative"},[_c('v-date-picker',{ref:"datepicker",class:[
|
|
65346
65453
|
'h-full',
|
|
65347
65454
|
_vm.isExpanded ? 'w-full' : '',
|
|
@@ -65611,7 +65718,7 @@ var CDatepicker_component = normalizeComponent(
|
|
|
65611
65718
|
// CONCATENATED MODULE: ./src/components/CDatepicker/index.js
|
|
65612
65719
|
|
|
65613
65720
|
/* harmony default export */ var components_CDatepicker = (CDatepicker);
|
|
65614
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
65721
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CEditor/CEditor.vue?vue&type=template&id=9bac857c&
|
|
65615
65722
|
var CEditorvue_type_template_id_9bac857c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"flex justify-between"},[_c('p',{staticClass:"text-sm font-medium text-gray-900"},[_vm._v(_vm._s(_vm.label))]),(_vm.hint)?_c('p',{staticClass:"text-sm text-gray-500"},[_vm._v(_vm._s(_vm.hint))]):_vm._e()]),_c('quill-editor',{ref:"myQuillEditor",class:("mt-1 rounded-md bg-white " + (_vm.disabled ? 'cursor-not-allowed opacity-50' : '') + " text-sm shadow-sm"),attrs:{"value":_vm.content,"options":_vm.editorOption,"id":_vm.id,"disabled":_vm.disabled},on:{"change":function($event){return _vm.onChange($event)},"ready":function($event){return _vm.onReady($event)},"focus":_vm.handleFocus,"blur":_vm.onEditorBlur}}),(_vm.helpText)?_c('p',{staticClass:"mt-2 text-sm text-gray-500"},[_vm._v(" "+_vm._s(_vm.helpText)+" ")]):_vm._e()],1)}
|
|
65616
65723
|
var CEditorvue_type_template_id_9bac857c_staticRenderFns = []
|
|
65617
65724
|
|
|
@@ -65898,7 +66005,7 @@ var CEditor_component = normalizeComponent(
|
|
|
65898
66005
|
|
|
65899
66006
|
/* harmony default export */ var components_CEditor = (CEditor);
|
|
65900
66007
|
|
|
65901
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
66008
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CDualSelect/CDualSelect.vue?vue&type=template&id=5806f002&
|
|
65902
66009
|
var CDualSelectvue_type_template_id_5806f002_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"flex"},[_c('button',{staticClass:"relative inline-flex items-center pl-3 pr-10 py-2 text-left rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-900 hover:bg-gray-50 focus:z-10 focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 shadow-sm disabled:opacity-50",attrs:{"type":"button","aria-haspopup":"listbox","aria-expanded":"true","aria-labelledby":"listbox-label","disabled":_vm.isDisabled},on:{"click":function($event){_vm.toggleFirstDropdown = !_vm.toggleFirstDropdown},"blur":function($event){return _vm.close()}}},[_c('span',{staticClass:"block truncate"},[_vm._v(" "+_vm._s(_vm.firstDropdownSelectedValue ? _vm.firstDropdownSelectedValue : "Select a option")+" ")]),_c('span',{staticClass:"absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none"},[_c('c-icon',{staticClass:"h-5 w-5 text-gray-400",attrs:{"name":"chevron-down","type":"solid"}})],1)]),_c('button',{staticClass:"relative items-center -ml-px pl-3 pr-10 py-2 text-left rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-900 hover:bg-gray-50 focus:z-10 focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 shadow-sm disabled:opacity-50",attrs:{"type":"button","aria-haspopup":"listbox","aria-expanded":"true","aria-labelledby":"listbox-label","disabled":_vm.isDisabled},on:{"click":function($event){_vm.toggleSecondDropdown = !_vm.toggleSecondDropdown},"blur":function($event){return _vm.close()}}},[_c('span',{staticClass:"block truncate"},[_vm._v(" "+_vm._s(_vm.secondDropdownSelectedValue ? _vm.secondDropdownSelectedValue : "Select a option")+" ")]),_c('span',{staticClass:"absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none"},[_c('c-icon',{staticClass:"h-5 w-5 text-gray-400",attrs:{"name":"chevron-down","type":"solid"}})],1)])]),_c('transition',{attrs:{"enter-active-class":"transition ease-out duration-100","enter-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"}},[(_vm.toggleFirstDropdown && !_vm.isDisabled)?_c('div',{staticClass:"origin-top-right absolute mt-2 -mr-1 w-56 rounded-md shadow-lg bg-white ring-1 ring-gray-900 ring-opacity-5 z-10"},[_c('ul',{staticClass:"max-h-60 rounded-md py-1 text-base ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-none sm:text-sm",attrs:{"tabindex":"-1","role":"listbox","aria-labelledby":"listbox-label"}},_vm._l((_vm.firstDropdownOptions),function(item){return _c('li',{key:item.items,staticClass:"text-gray-900 select-none relative px-3 py-2 cursor-pointer",attrs:{"role":"menuitem"},on:{"mousedown":function($event){return _vm.handleFirstClick(item)}}},[_c('span',{staticClass:"font-normal block truncate list-options"},[_vm._v(" "+_vm._s(item.text)+" ")])])}),0)]):_vm._e()]),_c('transition',{attrs:{"enter-active-class":"transition ease-out duration-100","enter-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"}},[(_vm.toggleSecondDropdown && !_vm.isDisabled)?_c('div',{staticClass:"origin-top-right absolute mt-2 -mr-1 w-56 rounded-md shadow-lg bg-white ring-1 ring-gray-900 ring-opacity-5 z-10"},[_c('ul',{staticClass:"max-h-60 rounded-md py-1 text-base ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-none sm:text-sm",attrs:{"tabindex":"-1","role":"listbox","aria-labelledby":"listbox-label"}},_vm._l((_vm.secondDropdownOptions),function(item){return _c('li',{key:item.items,staticClass:"text-gray-900 select-none relative px-3 py-2 cursor-pointer",attrs:{"role":"menuitem"},on:{"mousedown":function($event){return _vm.handleSecondClick(item)}}},[_c('span',{staticClass:"font-normal block truncate list-options"},[_vm._v(" "+_vm._s(item.text)+" ")])])}),0)]):_vm._e()]),(!_vm.isValidate)?_c('p',{staticClass:"mt-2 text-sm text-red-600"},[_vm._v(" "+_vm._s(_vm.errorMessage)+" ")]):_vm._e()],1)}
|
|
65903
66010
|
var CDualSelectvue_type_template_id_5806f002_staticRenderFns = []
|
|
65904
66011
|
|
|
@@ -66123,7 +66230,7 @@ var CDualSelect_component = normalizeComponent(
|
|
|
66123
66230
|
// CONCATENATED MODULE: ./src/components/CDualSelect/index.js
|
|
66124
66231
|
|
|
66125
66232
|
/* harmony default export */ var components_CDualSelect = (CDualSelect);
|
|
66126
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
66233
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CFormSectionHeading/CFormSectionHeading.vue?vue&type=template&id=453a5a00&
|
|
66127
66234
|
var CFormSectionHeadingvue_type_template_id_453a5a00_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"border-gray-200",class:_vm.classes},[_c('div',{staticClass:"flex items-center justify-between"},[_c('div',[_c('h3',{staticClass:"text-base font-semibold text-gray-900",class:_vm.headingClass},[_vm._v(" "+_vm._s(_vm.heading)+" ")]),_c('div',{staticClass:"flex items-center gap-1"},[(_vm.icon)?_c('c-icon',{class:_vm.icon.class,attrs:{"name":_vm.icon.name,"type":_vm.icon.type,"viewBox":_vm.icon.viewBox || '0 0 20 20'}}):_vm._e(),(_vm.description)?_c('p',{staticClass:"max-w-4xl text-sm text-gray-500"},[_vm._v(" "+_vm._s(_vm.description)+" ")]):_vm._e()],1)]),(_vm.tabAction)?_c('c-button',{attrs:{"type":_vm.tabAction.type,"label":_vm.tabAction.label,"icon":_vm.tabAction.icon,"id":_vm.id + '_action_button'},on:{"action":_vm.emitTabAction}}):_vm._e(),(_vm.tabLink)?_c('c-anchor-tag',{attrs:{"label":_vm.tabLink.label,"action":_vm.emitTabLink,"id":_vm.id + '_action_link'}}):_vm._e()],1)])])}
|
|
66128
66235
|
var CFormSectionHeadingvue_type_template_id_453a5a00_staticRenderFns = []
|
|
66129
66236
|
|
|
@@ -66246,7 +66353,7 @@ var CFormSectionHeading_component = normalizeComponent(
|
|
|
66246
66353
|
// CONCATENATED MODULE: ./src/components/CFormSectionHeading/index.js
|
|
66247
66354
|
|
|
66248
66355
|
/* harmony default export */ var components_CFormSectionHeading = (CFormSectionHeading);
|
|
66249
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
66356
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CGroupedFilterDropdown/CGroupedFilterDropdown.vue?vue&type=template&id=d177f5f4&
|
|
66250
66357
|
var CGroupedFilterDropdownvue_type_template_id_d177f5f4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"dropdownRoot",class:("relative " + _vm.mainCustomClass)},[_c('button',{staticClass:"relative flex h-9 w-max cursor-pointer items-center justify-between gap-2 rounded-md border border-gray-300 bg-white p-2 hover:bg-gray-100",on:{"click":_vm.handleToggleDropdown,"mouseenter":function($event){return _vm.showTooltip(true)},"mouseleave":function($event){return _vm.showTooltip(false)},"focus":function($event){return _vm.showTooltip(true)},"blur":function($event){return _vm.showTooltip(false)}}},[_c('c-icon',{staticClass:"h-5 w-5 text-gray-400",attrs:{"type":"solid","name":"funnel-mini","cursorType":"cursor-pointer","viewBox":"0 0 22 22"}}),(_vm.filterSelected)?_c('p',{staticClass:"flex items-center justify-center rounded-full border border-gray-200 bg-gray-50 px-2.5 text-sm text-gray-700"},[_vm._v(" "+_vm._s(_vm.filterSelected)+" ")]):_vm._e(),(!_vm.filterSelected)?_c('c-icon',{staticClass:"h-5 w-5 text-gray-400",attrs:{"name":"chevron-down","type":"solid","cursorType":"cursor-pointer"}}):_vm._e(),(_vm.hasToolTip && _vm.displayTooltip)?_c('c-tool-tip',{attrs:{"tooltipText":_vm.tooltipText,"isTopAligned":true,"color":"#1f2937","classes":"text-white absolute -mt-12 whitespace-nowrap top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 font-normal bg-gray-800 w-auto"}}):_vm._e()],1),(_vm.toggleDropdown)?_c('div',{class:("absolute top-11 " + (_vm.menuDirection === 'left' ? 'left-0' : 'right-0') + " z-50 flex w-56 rounded-md bg-white shadow-lg ring-1 ring-gray-900 ring-opacity-5")},[_c('div',{staticClass:"my-1 w-56"},_vm._l((_vm.options),function(option,index){return _c('button',{key:index,staticClass:"relative w-56 hover:bg-gray-100 focus:bg-gray-100",on:{"mouseenter":function($event){return _vm.handleMainOptionMouseEnter(option, index)},"mouseleave":_vm.closeSubmenuWithDelay,"focus":function($event){return _vm.handleMainOptionMouseEnter(option, index)}}},[_c('div',{staticClass:"group flex cursor-pointer items-center justify-between px-3 py-2 text-sm text-gray-700"},[_c('div',{staticClass:"flex items-center gap-1"},[_c('p',{staticClass:"text-sm text-gray-900"},[_vm._v(" "+_vm._s(option.label)+" ")]),(option.selectedOptionCount)?_c('p',{staticClass:"flex items-center justify-center rounded-full border border-gray-200 bg-gray-50 px-2.5"},[_vm._v(" "+_vm._s(option.selectedOptionCount)+" ")]):_vm._e()]),(_vm.hasSubOptions(option))?_c('c-icon',{staticClass:"h-5 w-5 text-gray-400",attrs:{"name":"chevron-right-mini-v2","type":"solid","cursorType":"cursor-pointer"}}):_vm._e()],1),(_vm.activeOptionIndex === index && _vm.hasSubOptions(option))?_c('div',{class:("absolute top-0 " + (_vm.effectiveSubmenuDirection === 'right'
|
|
66251
66358
|
? 'left-full ml-2'
|
|
66252
66359
|
: 'right-full mr-2')),staticStyle:{"z-index":"60"},on:{"mouseenter":_vm.clearSubmenuCloseTimeout}},[(option.hasSearch)?[_c('c-input',{attrs:{"value":option.searchTerm,"isValidate":true,"placeholder":option.searchPlaceholder,"inputWrapperClass":'rounded-md shadow-sm',"type":"text","id":_vm.getActionIDFn(option.label),"isSearchEnabled":true},on:{"input":function (value) { return _vm.handleSearchInput(index, value); },"focus":function($event){return _vm.handleSearchFocus(index)},"blur":_vm.handleSearchBlur}})]:_vm._e(),_c('div',{staticClass:"max-h-48 w-56 overflow-auto rounded-md bg-white py-1 shadow-lg ring-1 ring-gray-900 ring-opacity-5",class:option.hasSearch ? 'mt-1' : ''},[_vm._l((option.options),function(sub,subIdx){return _c('div',{key:subIdx,staticClass:"flex cursor-pointer items-center py-2 px-3 text-left hover:bg-gray-100 focus:bg-gray-100",class:option.showUserAvatar ? '' : 'gap-3',attrs:{"tabindex":"0"},on:{"click":function($event){return _vm.selectFilter(sub.isSelected ? 0 : 1, index, subIdx)},"keydown":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.selectFilter(sub.isSelected ? 0 : 1, index, subIdx)}}},[_c('c-checkbox',{attrs:{"value":sub.isSelected,"setMarginLeft":"ml-0"}}),(option.showUserAvatar)?_c('c-avatar',{staticClass:"mr-2 ml-3",attrs:{"size":"extraextraextrasmall","image":sub.image_240,"nameInitials":sub.initials,"rounded":true}}):_vm._e(),_c('p',{staticClass:"text-sm text-gray-700"},[_vm._v(_vm._s(sub.label))])],1)}),(
|
|
@@ -66259,7 +66366,7 @@ var CGroupedFilterDropdownvue_type_template_id_d177f5f4_staticRenderFns = []
|
|
|
66259
66366
|
|
|
66260
66367
|
// CONCATENATED MODULE: ./src/components/CGroupedFilterDropdown/CGroupedFilterDropdown.vue?vue&type=template&id=d177f5f4&
|
|
66261
66368
|
|
|
66262
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
66369
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CInput/CInput.vue?vue&type=template&id=0fd8fd3c&
|
|
66263
66370
|
var CInputvue_type_template_id_0fd8fd3c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"flex justify-between"},[_c('div',{staticClass:"flex items-center"},[_c('label',{staticClass:"block text-sm font-medium text-gray-900"},[_vm._v(" "+_vm._s(_vm.label)+" ")]),(_vm.isRequired)?_c('p',{staticClass:"ml-1 text-red-600"},[_vm._v("*")]):_vm._e()]),(_vm.hint)?_c('span',{staticClass:"text-sm text-gray-500"},[_vm._v(_vm._s(_vm.hint))]):_vm._e()]),_c('div',{class:("relative h-9 " + (_vm.label || _vm.hint ? 'mt-1' : '') + " rounded-md " + _vm.inputWrapperClass)},[(_vm.isSearchEnabled)?_c('c-icon',{staticClass:"absolute top-2 left-2 h-5 w-5 flex-shrink-0 text-gray-400",attrs:{"name":"search-outline-v2","type":"outline"}}):_vm._e(),_c('input',{staticClass:"block w-full h-full flex-1 px-3 py-2 text-sm text-gray-900 shadow-sm focus:border-indigo-500 focus:ring-indigo-500",class:[
|
|
66264
66371
|
_vm.errorClasses,
|
|
66265
66372
|
_vm.customClasses ? _vm.customClasses : 'rounded-md',
|
|
@@ -66816,7 +66923,7 @@ var CGroupedFilterDropdown_component = normalizeComponent(
|
|
|
66816
66923
|
// CONCATENATED MODULE: ./src/components/CIcon/index.js
|
|
66817
66924
|
|
|
66818
66925
|
/* harmony default export */ var components_CIcon = (CIcon);
|
|
66819
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
66926
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CGroupedSelect/CGroupedSelect.vue?vue&type=template&id=d6707380&scoped=true&
|
|
66820
66927
|
var CGroupedSelectvue_type_template_id_d6707380_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDropDown && _vm.options.length > 0)?_c('div',{staticClass:"fixed inset-0",attrs:{"aria-hidden":"true"},on:{"click":function($event){return _vm.closeDropDown(false)}}}):_vm._e(),(_vm.label)?_c('div',{staticClass:"flex items-center"},[_c('label',{staticClass:"block text-sm font-medium text-gray-900"},[_vm._v(" "+_vm._s(_vm.label)+" ")]),(_vm.isRequired)?_c('p',{staticClass:"ml-1 text-red-600"},[_vm._v("*")]):_vm._e()]):_vm._e(),_c('div',{ref:"inputContainer",staticClass:"relative mt-1"},[_c('div',{staticClass:"relative"},[_c('input',{staticClass:"relative w-full cursor-default rounded-md border border-gray-300 bg-white py-2 pl-3 pr-10 text-left shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 disabled:pointer-events-none disabled:opacity-50 sm:text-sm",attrs:{"type":"text","aria-haspopup":"listbox","aria-expanded":"true","aria-labelledby":"listbox-label","placeholder":_vm.placeholder,"autocomplete":"off","disabled":_vm.disabled,"id":_vm.id + '_input_search'},domProps:{"value":_vm.inputValue},on:{"focus":function($event){return _vm.openDropDown()},"input":_vm.onInput}}),_c('span',{staticClass:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-2"},[(_vm.isSearching)?_c('svg',{staticClass:"h-5 w-5 animate-spin text-gray-400",attrs:{"xmlns":"http://www.w3.org/2000/svg","fill":"none","viewBox":"0 0 24 24"}},[_c('circle',{staticClass:"opacity-25",attrs:{"cx":"12","cy":"12","r":"10","stroke":"currentColor","stroke-width":"4"}}),_c('path',{staticClass:"opacity-75",attrs:{"fill":"currentColor","d":"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"}})]):_vm._e(),(!_vm.isSearching)?_c('svg',{staticClass:"h-5 w-5 text-gray-400",attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 20 20","fill":"currentColor","aria-hidden":"true"}},[_c('path',{attrs:{"fill-rule":"evenodd","d":"M10 3a1 1 0 01.707.293l3 3a1 1 0 01-1.414 1.414L10 5.414 7.707 7.707a1 1 0 01-1.414-1.414l3-3A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z","clip-rule":"evenodd"}})]):_vm._e()]),(
|
|
66821
66928
|
_vm.showCloseButton && (_vm.inputValue == null || _vm.inputValue.length == 0)
|
|
66822
66929
|
)?_c('button',{staticClass:"z-100 absolute top-2.5 right-10",attrs:{"id":_vm.id + '_button_close_dropdown'},on:{"click":function($event){$event.stopPropagation();return _vm.handleCrossClick.apply(null, arguments)}}},[_c('c-icon',{staticClass:"h-4 w-4 text-gray-400",attrs:{"name":"close","type":"outline-v2","cursorType":"cursor-pointer"}})],1):_vm._e()]),(_vm.showDropDown)?_c('div',{class:[
|
|
@@ -67626,7 +67733,7 @@ var CGroupedSelect_component = normalizeComponent(
|
|
|
67626
67733
|
// CONCATENATED MODULE: ./src/components/CGroupedSelect/index.js
|
|
67627
67734
|
|
|
67628
67735
|
/* harmony default export */ var components_CGroupedSelect = (CGroupedSelect);
|
|
67629
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
67736
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CIconDropdown/CIconDropdown.vue?vue&type=template&id=85d0a44e&
|
|
67630
67737
|
var CIconDropdownvue_type_template_id_85d0a44e_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._t("default"),_c('div',{class:((_vm.isDropDownRelative ? 'relative' : '') + " inline-block text-left")},[_c('div',[_c('button',{class:_vm.customClasses
|
|
67631
67738
|
? _vm.iconClasses
|
|
67632
67739
|
: 'inline-flex w-full justify-center rounded-full border-none p-2 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-indigo-600 focus:ring-offset-2',attrs:{"type":"white","id":_vm.id,"aria-haspopup":"true","aria-expanded":"true"},on:{"click":function($event){$event.stopPropagation();return _vm.toggle($event)},"blur":function($event){return _vm.close()}}},[_c('div',{staticClass:"flex items-center gap-1"},[_c('c-icon',{class:_vm.icon.class,attrs:{"name":_vm.icon.name,"type":_vm.icon.type,"cursorType":_vm.cursorType,"viewBox":_vm.icon.viewBox}}),(_vm.label)?_c('p',{class:['text-sm text-gray-500', _vm.labelClass]},[_vm._v(" "+_vm._s(_vm.label)+" ")]):_vm._e()],1)])]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.toggleDropdown),expression:"toggleDropdown"}],staticClass:"absolute z-10 mt-2 -mr-1 origin-top-right rounded-md bg-white shadow-lg ring-1 ring-gray-900 ring-opacity-5",class:_vm.classes},[_c('div',{staticClass:"w-max py-1",attrs:{"role":"menu","aria-orientation":"vertical","aria-labelledby":"option-menu"}},_vm._l((_vm.items),function(item,index){return _c('div',{key:item.text,on:{"mouseenter":function($event){_vm.showTooltipIndex = index},"mouseleave":function($event){_vm.showTooltipIndex = null}}},[_c('a',{staticClass:"flex cursor-pointer justify-between px-3 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900 disabled:pointer-events-none disabled:opacity-50",class:[
|
|
@@ -67874,7 +67981,7 @@ var CIconDropdown_component = normalizeComponent(
|
|
|
67874
67981
|
// CONCATENATED MODULE: ./src/components/CInput/index.js
|
|
67875
67982
|
|
|
67876
67983
|
/* harmony default export */ var components_CInput = (CInput);
|
|
67877
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
67984
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CInputAddon/CInputAddon.vue?vue&type=template&id=3a6a5844&
|
|
67878
67985
|
var CInputAddonvue_type_template_id_3a6a5844_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.label)?_c('div',{staticClass:"mb-1 flex justify-between"},[_c('div',{staticClass:"flex items-center"},[_c('label',{staticClass:"block text-sm font-medium text-gray-900"},[_vm._v(" "+_vm._s(_vm.label)+" ")]),(_vm.isRequired)?_c('p',{staticClass:"ml-1 text-red-600"},[_vm._v("*")]):_vm._e()]),(_vm.hint)?_c('span',{staticClass:"text-sm text-gray-500"},[_vm._v(_vm._s(_vm.hint))]):_vm._e()]):_vm._e(),(!_vm.inlineAddon && _vm.addonType == 'leading')?_c('div',{staticClass:"relative h-9 flex rounded-md"},[(_vm.addon)?_c('span',{staticClass:"inline-flex items-center rounded-l-md border border-r-0 bg-gray-50 px-3 py-2 text-gray-500 sm:text-sm",class:[
|
|
67879
67986
|
!_vm.isValidate
|
|
67880
67987
|
? 'border-red-300 bg-red-50 text-red-600'
|
|
@@ -68230,7 +68337,7 @@ var CInputAddon_component = normalizeComponent(
|
|
|
68230
68337
|
// CONCATENATED MODULE: ./src/components/CInputAddon/index.js
|
|
68231
68338
|
|
|
68232
68339
|
/* harmony default export */ var components_CInputAddon = (CInputAddon);
|
|
68233
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
68340
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CInputEmail/CInputEmail.vue?vue&type=template&id=9d044e2c&
|
|
68234
68341
|
var CInputEmailvue_type_template_id_9d044e2c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"flex justify-between"},[_c('div',{staticClass:"flex items-center"},[(_vm.label)?_c('label',{staticClass:"block text-sm font-medium text-gray-900"},[_vm._v(" "+_vm._s(_vm.label)+" ")]):_vm._e(),(_vm.isRequired)?_c('p',{staticClass:"ml-1 text-red-600"},[_vm._v("*")]):_vm._e()]),(_vm.hint)?_c('span',{staticClass:"text-sm text-gray-500"},[_vm._v(_vm._s(_vm.hint))]):_vm._e()]),_c('div',{staticClass:"relative mt-1 rounded-md"},[_c('input',{staticClass:"block w-full flex-1 rounded-md px-3 py-2 text-gray-900 disabled:opacity-50 disabled:cursor-not-allowed focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm",class:_vm.errorClasses,attrs:{"type":"text","placeholder":_vm.placeholder,"id":_vm.id,"disabled":_vm.disabled},domProps:{"value":_vm.email},on:{"blur":_vm.checkValidation,"input":function($event){return _vm.$emit('input', $event.target.value)}}}),(_vm.isValidate)?_c('div',{staticClass:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3 text-red-600"},[_c('c-icon',{staticClass:"h-5 w-5",attrs:{"name":"exclamation-circle","type":"solid"}})],1):_vm._e()]),(_vm.isValidate)?_c('p',{staticClass:"mt-2 text-sm text-red-600"},[_vm._v(" Please enter valid email address ")]):_vm._e(),(_vm.helpText && _vm.isValidate == false)?_c('p',{staticClass:"mt-2 text-sm text-gray-500"},[_vm._v(" "+_vm._s(_vm.helpText)+" ")]):_vm._e()])}
|
|
68235
68342
|
var CInputEmailvue_type_template_id_9d044e2c_staticRenderFns = []
|
|
68236
68343
|
|
|
@@ -68368,7 +68475,7 @@ var CInputEmail_component = normalizeComponent(
|
|
|
68368
68475
|
// CONCATENATED MODULE: ./src/components/CInputEmail/index.js
|
|
68369
68476
|
|
|
68370
68477
|
/* harmony default export */ var components_CInputEmail = (CInputEmail);
|
|
68371
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
68478
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CModalHeading/CModalHeading.vue?vue&type=template&id=2995f526&
|
|
68372
68479
|
var CModalHeadingvue_type_template_id_2995f526_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"pb-2 border-gray-200",class:{ 'border-b-2': _vm.divider }},[_c('h3',{staticClass:"text-lg leading-6 font-medium text-gray-700"},[_vm._v(" "+_vm._s(_vm.title)+" ")]),(_vm.description)?_c('p',{staticClass:"max-w-4xl text-sm text-gray-500"},[_vm._v(" "+_vm._s(_vm.description)+" ")]):_vm._e()])])}
|
|
68373
68480
|
var CModalHeadingvue_type_template_id_2995f526_staticRenderFns = []
|
|
68374
68481
|
|
|
@@ -68429,7 +68536,7 @@ var CModalHeading_component = normalizeComponent(
|
|
|
68429
68536
|
// CONCATENATED MODULE: ./src/components/CModalHeading/index.js
|
|
68430
68537
|
|
|
68431
68538
|
/* harmony default export */ var components_CModalHeading = (CModalHeading);
|
|
68432
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
68539
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CModuleHelpLinks/CModuleHelpLinks.vue?vue&type=template&id=5daf4f90&
|
|
68433
68540
|
var CModuleHelpLinksvue_type_template_id_5daf4f90_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.description)?_c('div',{staticClass:"mt-2 flex flex-col sm:flex-row sm:flex-wrap sm:space-x-6"},[_c('div',{staticClass:"flex items-center text-sm text-gray-500"},[_vm._v(" "+_vm._s(_vm.description)+" ")])]):_vm._e(),_c('div',{staticClass:"mt-1 flex flex-col sm:mt-0 sm:flex-row sm:flex-wrap sm:space-x-6"},[(_vm.helpArticle)?_c('div',{class:['mt-2 flex items-center text-sm text-indigo-600', _vm.helpArticleClass]},[(_vm.helpArticleIcon)?_c('c-icon',{class:_vm.helpArticleIcon.class,attrs:{"name":_vm.helpArticleIcon.name,"type":_vm.helpArticleIcon.type,"viewBox":_vm.helpArticleIcon.viewBox}}):_vm._e(),_c('a',{staticClass:"font-medium text-indigo-600 hover:underline",attrs:{"href":_vm.helpArticle,"target":"_blank"}},[_vm._v(" "+_vm._s(_vm.articleTitle)+" ")])],1):_vm._e(),(_vm.helpVideo)?_c('div',{staticClass:"mt-2 flex items-center text-sm text-indigo-600"},[_c('c-icon',{staticClass:"mr-1.5 h-5 w-5",attrs:{"name":"video-camera","type":"solid"}}),_c('a',{staticClass:"font-medium text-indigo-600 hover:underline",attrs:{"href":_vm.helpVideo,"target":"_blank"}},[_vm._v(" "+_vm._s(_vm.videoTitle)+" ")])],1):_vm._e()])])}
|
|
68434
68541
|
var CModuleHelpLinksvue_type_template_id_5daf4f90_staticRenderFns = []
|
|
68435
68542
|
|
|
@@ -68555,7 +68662,7 @@ var CModuleHelpLinks_component = normalizeComponent(
|
|
|
68555
68662
|
// CONCATENATED MODULE: ./src/components/CModuleHelpLinks/index.js
|
|
68556
68663
|
|
|
68557
68664
|
/* harmony default export */ var components_CModuleHelpLinks = (CModuleHelpLinks);
|
|
68558
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
68665
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CMultiselect/CMultiselect.vue?vue&type=template&id=367aa183&
|
|
68559
68666
|
var CMultiselectvue_type_template_id_367aa183_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.label)?_c('div',{staticClass:"mb-1 flex w-full items-center justify-between"},[_c('div',{staticClass:"flex items-center"},[(_vm.label)?_c('label',{staticClass:"text-sm font-medium text-gray-900"},[_vm._v(_vm._s(_vm.label))]):_vm._e(),(_vm.isRequired)?_c('p',{staticClass:"ml-1 text-red-600"},[_vm._v("*")]):_vm._e()]),(_vm.hint)?_c('span',{staticClass:"text-sm text-gray-500"},[_vm._v(_vm._s(_vm.hint))]):_vm._e()]):_vm._e(),_c('div',{staticClass:"relative"},[_c('v-select',{ref:"vselect",class:[
|
|
68560
68667
|
'disabled:custom-disabled-state absolute inline-block h-full w-full text-sm',
|
|
68561
68668
|
_vm.isMultiple && _vm.showOverFlowCount ? 'c-multiselect--capped-pills' : '' ],attrs:{"placeholder":_vm.placeholder,"multiple":_vm.isMultiple,"taggable":_vm.isTaggable,"push-tags":_vm.pushTags,"filterable":_vm.filterable,"options":_vm.isGrouped ? _vm.groupedArray : _vm.options,"label":_vm.optionLabel,"clearable":_vm.clearable,"loading":_vm.loading,"id":_vm.id,"disabled":_vm.isDisabled,"selectable":_vm.isGrouped
|
|
@@ -69791,7 +69898,7 @@ var CMultiselect_component = normalizeComponent(
|
|
|
69791
69898
|
// CONCATENATED MODULE: ./src/components/CMultiselect/index.js
|
|
69792
69899
|
|
|
69793
69900
|
/* harmony default export */ var components_CMultiselect = (CMultiselect);
|
|
69794
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
69901
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CPageHeading/CPageHeading.vue?vue&type=template&id=1f664a47&
|
|
69795
69902
|
var CPageHeadingvue_type_template_id_1f664a47_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"sticky top-0 z-10 -mx-16 bg-transparent px-16 backdrop-blur-xl"},[_c('div',{class:['flex flex-col items-start justify-between pt-4 pb-2 sm:max-w-full sm:flex-row sm:items-center sm:pb-1', _vm.customClasses]},[_c('div',{staticClass:"flex flex-col gap-3 mt-1"},[_c('h2',{staticClass:"text-xl font-bold leading-7 text-gray-900 sm:mt-0 sm:truncate sm:text-xl"},[_vm._v(" "+_vm._s(_vm.title)+" ")]),(_vm.description)?_c('p',{staticClass:"text-sm text-gray-500 max-w-xl",domProps:{"innerHTML":_vm._s(_vm.description)}}):_vm._e()]),_c('div',{staticClass:"justify-self-end"},[_vm._t("default"),(_vm.buttonType)?_c('div',{staticClass:"mt-5 flex sm:mt-0 lg:mt-0 lg:ml-4"},[_c('span',{staticClass:"relative sm:ml-3"},[_c('c-button',{attrs:{"label":_vm.buttonType.label,"icon":_vm.buttonType.icon,"type":_vm.buttonType.type,"disabled":_vm.buttonType.isDisabled,"id":_vm.id},on:{"action":_vm.emitAction},nativeOn:{"mouseover":function($event){_vm.isTooltipVisible = true},"mouseleave":function($event){_vm.isTooltipVisible = false}}}),(_vm.isTooltipVisible && _vm.showTooltip)?_c('c-tool-tip',{attrs:{"tooltipText":_vm.buttonType.tooltipText,"isBottomAligned":true,"color":"#1f2937","classes":"left-1/2 -translate-x-1/2 text-white bg-gray-800 w-56 mt-2 text-center"}}):_vm._e()],1)]):_vm._e()],2)])])}
|
|
69796
69903
|
var CPageHeadingvue_type_template_id_1f664a47_staticRenderFns = []
|
|
69797
69904
|
|
|
@@ -69915,7 +70022,7 @@ var CPageHeading_component = normalizeComponent(
|
|
|
69915
70022
|
// CONCATENATED MODULE: ./src/components/CPageHeading/index.js
|
|
69916
70023
|
|
|
69917
70024
|
/* harmony default export */ var components_CPageHeading = (CPageHeading);
|
|
69918
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
70025
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CPagination/CPagination.vue?vue&type=template&id=fd491a24&
|
|
69919
70026
|
var CPaginationvue_type_template_id_fd491a24_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"flex items-center justify-between rounded-lg border-gray-200 bg-white px-4 py-3 sm:px-6"},[_c('div',{staticClass:"flex flex-1 justify-between sm:hidden"},[_c('div',{staticClass:"relative inline-flex items-center rounded-md border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50",attrs:{"href":"#","id":_vm.id + '_previous_page'},on:{"click":function($event){_vm.currentPageNumber == '1' ? '' : _vm.goToPreviousPage()}}},[_vm._v(" Previous ")]),_c('div',{staticClass:"relative ml-3 inline-flex items-center rounded-md border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50",attrs:{"href":"#","id":_vm.id + '_next_page'},on:{"click":function($event){_vm.currentPageNumber == _vm.lastPageNumber ? '' : _vm.goToNextPage()}}},[_vm._v(" Next ")])]),_c('div',{staticClass:"hidden sm:flex sm:flex-1 sm:items-center sm:justify-between"},[_c('div',{staticClass:"flex"},[(_vm.showEntryPicker)?_c('c-select',{staticClass:"mr-2 w-20",attrs:{"options":_vm.rowOptions,"isValidate":true,"value":_vm.totalRecordsOnPage.value,"isRequired":false,"id":_vm.id + '_totalrecords_dropdown',"dropDownToTop":"bottom-full","dropDownToTop2":"absolute bottom-full z-50 bg-white right-0"},on:{"onChangeValue":function (value) { return _vm.$emit('handle-Row-Count-Change', value); }}}):_vm._e(),_c('p',{staticClass:"pt-2 text-sm text-gray-700"},[_vm._v(" Showing "),_c('span',{staticClass:"font-medium"},[_vm._v(_vm._s(_vm.formatNumber(_vm.setPaginationRecords.from)))]),_vm._v(" to "),_c('span',{staticClass:"font-medium"},[_vm._v(_vm._s(_vm.formatNumber(_vm.setPaginationRecords.to)))]),_vm._v(" of "),_c('span',{staticClass:"font-medium"},[_vm._v(_vm._s(_vm.formatNumber(_vm.setPaginationRecords.totalRecords)))]),_vm._v(" results ")])],1),_c('div',[_c('nav',{staticClass:"relative z-0 inline-flex -space-x-px rounded-md shadow-sm",attrs:{"aria-label":"Pagination"}},[_c('div',{staticClass:"hidden md:-mt-px md:flex"},[_c('div',{staticClass:"relative inline-flex items-center rounded-l-md border border-r-0 border-gray-300 bg-white px-2 py-2 text-sm font-medium text-gray-500 hover:bg-gray-50",class:_vm.currentPageNumber == '1'
|
|
69920
70027
|
? 'pointer-events-none text-gray-400'
|
|
69921
70028
|
: 'group cursor-pointer text-gray-500 hover:text-gray-700',attrs:{"href":"#","id":_vm.id + '_previous_page'},on:{"click":function($event){_vm.currentPageNumber == '1' ? '' : _vm.goToPreviousPage()}}},[_c('span',{staticClass:"sr-only"},[_vm._v("Previous")]),_c('c-icon',{staticClass:"h-5 w-5 text-gray-400",attrs:{"name":"chevron-left","type":"solid","cursorType":"cursor-pointer"}})],1),_vm._l((_vm.pageRange),function(page){return _c('div',{key:page,staticClass:"cursor-pointer",class:[
|
|
@@ -71765,7 +71872,7 @@ var CPagination_component = normalizeComponent(
|
|
|
71765
71872
|
// CONCATENATED MODULE: ./src/components/CPagination/index.js
|
|
71766
71873
|
|
|
71767
71874
|
/* harmony default export */ var components_CPagination = (CPagination);
|
|
71768
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
71875
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CPhoneNumber/CPhoneNumber.vue?vue&type=template&id=612e3fd2&
|
|
71769
71876
|
var CPhoneNumbervue_type_template_id_612e3fd2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"flex justify-between"},[_c('div',{staticClass:"flex items-center"},[_c('label',{staticClass:"text-sm text-gray-900",class:[_vm.isBlock ? ' font-medium' : '']},[_vm._v(_vm._s(_vm.label))]),(_vm.isRequired)?_c('p',{staticClass:"ml-1 text-red-600"},[_vm._v("*")]):_vm._e()]),(_vm.hint)?_c('span',{staticClass:"text-sm text-gray-500"},[_vm._v(_vm._s(_vm.hint))]):_vm._e()]),_c('div',{class:[
|
|
71770
71877
|
'mt-1 w-full shadow-sm c-phone-container',
|
|
71771
71878
|
{
|
|
@@ -71975,7 +72082,7 @@ var CPhoneNumber_component = normalizeComponent(
|
|
|
71975
72082
|
// CONCATENATED MODULE: ./src/components/CPhoneNumber/index.js
|
|
71976
72083
|
|
|
71977
72084
|
/* harmony default export */ var components_CPhoneNumber = (CPhoneNumber);
|
|
71978
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
72085
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CRadio/CRadio.vue?vue&type=template&id=64c59bf2&scoped=true&
|
|
71979
72086
|
var CRadiovue_type_template_id_64c59bf2_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"-space-y-px rounded-md bg-white",class:_vm.customWrapperClasses},[_vm._l((_vm.items),function(item,index){return _c('div',{key:item[_vm.labelName],class:("relative " + (index != _vm.items.length - 1
|
|
71980
72087
|
? _vm.useIncreasedPadding
|
|
71981
72088
|
? 'pb-6'
|
|
@@ -72192,7 +72299,7 @@ var CRadio_component = normalizeComponent(
|
|
|
72192
72299
|
// CONCATENATED MODULE: ./src/components/CRadio/index.js
|
|
72193
72300
|
|
|
72194
72301
|
/* harmony default export */ var components_CRadio = (CRadio);
|
|
72195
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
72302
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CRadioGroup/CRadioGroup.vue?vue&type=template&id=584d0b84&
|
|
72196
72303
|
var CRadioGroupvue_type_template_id_584d0b84_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('fieldset',{attrs:{"aria-label":_vm.ariaLabel}},[_c('div',{staticClass:"flex flex-col gap-4"},_vm._l((_vm.options),function(option){return _c('label',{key:option.id,staticClass:"group relative px-5 py-4 flex items-center gap-2.5 rounded-md cursor-pointer border",class:_vm.selectedOptionId === option.id
|
|
72197
72304
|
? 'border-indigo-700 outline outline-1 outline-offset-0 outline-indigo-700'
|
|
72198
72305
|
: 'border-gray-300',attrs:{"aria-label":option.name}},[_c('input',{staticClass:"sr-only",attrs:{"type":"radio","name":_vm.name},domProps:{"value":option.id,"checked":_vm.selectedOptionId === option.id},on:{"change":function($event){return _vm.handleSelectOption(option)}}}),(option.color)?_c('span',{staticClass:"w-2 h-6",style:({
|
|
@@ -72322,7 +72429,7 @@ var CRadioGroup_component = normalizeComponent(
|
|
|
72322
72429
|
// CONCATENATED MODULE: ./src/components/CRadioGroup/index.js
|
|
72323
72430
|
|
|
72324
72431
|
/* harmony default export */ var components_CRadioGroup = (CRadioGroup);
|
|
72325
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
72432
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CReorderableStackedList/CReorderableStackedList.vue?vue&type=template&id=79081e98&
|
|
72326
72433
|
var CReorderableStackedListvue_type_template_id_79081e98_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('ul',_vm._l((_vm.listItems),function(items){return _c('li',_vm._g({key:items.size,staticClass:"flex items-center py-3",class:{ 'cursor-pointer': items.collapse }},items.collapse ? { click: function () { return _vm.collapseList(); } } : null),[(items.collapse)?_c('c-icon',{staticClass:"mt-3 mr-3 h-5 w-5 flex-none text-gray-900",attrs:{"name":_vm.showSection ? 'chevron-down' : 'chevron-right',"type":"solid"}}):_vm._e(),(items.reorder)?_c('c-icon',{staticClass:"handle mr-3 h-5 w-5 flex-none text-gray-500",attrs:{"name":"menu-solid","type":"solid","cursorType":_vm.cursorType}}):_vm._e(),_c('c-avatar',{staticClass:"flex-none",attrs:{"size":items.size,"rounded":items.rounded,"image":items.image,"imageClasses":items.imageClasses}}),_c('div',{staticClass:"flex min-w-0 flex-1 items-center justify-between"},[_c('div',{staticClass:"ml-3 min-w-0 flex-1"},[_c('div',[_c('div',{staticClass:"-m-1 flex flex-wrap items-center"},[_c('p',{staticClass:"m-1 text-sm font-medium text-gray-900"},[_vm._v(" "+_vm._s(items.heading)+" ")]),(items.tag)?_c('c-tag',{staticClass:"m-1",attrs:{"label":"Active"}}):_vm._e(),(items.tag)?_c('c-tag',{staticClass:"m-1",attrs:{"label":"Inactive"}}):_vm._e(),(items.tag)?_c('c-tag',{staticClass:"m-1",attrs:{"label":"Tag 1"}}):_vm._e(),(items.tag)?_c('c-tag',{staticClass:"m-1",attrs:{"label":"Tag 2"}}):_vm._e()],1),_c('p',{staticClass:"mt-1 text-sm text-gray-500"},[_vm._v(_vm._s(items.description))]),(_vm.showSection)?_c('div',{staticClass:"mt-3"},[_vm._t("default")],2):_vm._e()])]),_c('div',{staticClass:"flex flex-none items-center"},[_vm._t("icons"),(items.listIcon)?_c('button',{staticClass:"focus:outline-none",attrs:{"type":"button"},on:{"click":function($event){return _vm.$emit('remove')}}},[_vm._t("removeIcons")],2):_vm._e()],2)])],1)}),0)])}
|
|
72327
72434
|
var CReorderableStackedListvue_type_template_id_79081e98_staticRenderFns = []
|
|
72328
72435
|
|
|
@@ -72455,7 +72562,7 @@ var CReorderableStackedList_component = normalizeComponent(
|
|
|
72455
72562
|
// CONCATENATED MODULE: ./src/components/CSelect/index.js
|
|
72456
72563
|
|
|
72457
72564
|
/* harmony default export */ var components_CSelect = (CSelect);
|
|
72458
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
72565
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CSmallTimeline/CSmallTimeline.vue?vue&type=template&id=615bdd26&
|
|
72459
72566
|
var CSmallTimelinevue_type_template_id_615bdd26_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"flow-root"},[_c('ul',_vm._l((_vm.timelineItems),function(timeline){return _c('li',{key:timeline.label},[_c('div',{staticClass:"relative pb-1"},[_c('span',{staticClass:"absolute left-1 top-0.5 -ml-px h-full w-0.5 bg-indigo-600",attrs:{"aria-hidden":"true"}}),_c('div',{staticClass:"relative ml-3"},[_c('div',{staticClass:"min-w-0 mb-1.5"},[_c('div',[_c('p',{staticClass:"text-sm text-gray-400"},[_vm._v(" "+_vm._s(timeline.label)+" ")])]),_vm._m(0,true)])])])])}),0)])])}
|
|
72460
72567
|
var CSmallTimelinevue_type_template_id_615bdd26_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',{staticClass:"text-sm text-gray-400"},[_vm._v("12/25")])])}]
|
|
72461
72568
|
|
|
@@ -72528,7 +72635,7 @@ var CSmallTimeline_component = normalizeComponent(
|
|
|
72528
72635
|
// CONCATENATED MODULE: ./src/components/CStackedList/index.js
|
|
72529
72636
|
|
|
72530
72637
|
/* harmony default export */ var components_CStackedList = (CStackedList);
|
|
72531
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
72638
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CStats/CStats.vue?vue&type=template&id=8e3007a0&
|
|
72532
72639
|
var CStatsvue_type_template_id_8e3007a0_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.title)?_c('div',{staticClass:"flex items-center justify-between"},[_c('h3',{staticClass:"text-lg font-medium leading-6 text-gray-900"},[_vm._v(" "+_vm._s(_vm.title.heading)+" ")]),(_vm.title.label)?_c('c-tag',{staticClass:"hidden sm:block",attrs:{"label":_vm.title.label,"color":"green"}}):_vm._e()],1):_vm._e(),_c('dl',{staticClass:"mt-4 grid grid-cols-1 gap-6",class:_vm.dynamicGridSize},_vm._l((_vm.statsCount),function(count,statIndex){return _c('div',{key:statIndex,class:['pt-3', _vm.showStatsBorder ? 'border-t border-gray-200' : '']},[_c('div',{staticClass:"leading-6 md:flex-col md:items-start md:justify-center lg:flex-row lg:items-end lg:justify-between"},[_c('div',[_c('dt',{staticClass:"flex text-sm font-normal leading-5 text-gray-900"},[_c('span',{staticClass:"overflow-hidden overflow-ellipsis whitespace-nowrap"},[_vm._v(_vm._s(count.label))]),(count.number)?_c('span',{staticClass:"ml-1 text-sm text-gray-500"},[_vm._v("("+_vm._s(count.number)+")")]):_vm._e(),(count.suffix)?_c('span',{staticClass:"ml-1 text-sm text-gray-500"},[_vm._v("("+_vm._s(count.suffix)+")")]):_vm._e(),(count.icon && count.toolTip)?_c('span',{staticClass:"relative ml-2 inline-flex shrink-0 items-center self-center"},[(
|
|
72533
72640
|
count.toolTip.showToolTip || _vm.hoveredStatIndex === statIndex
|
|
72534
72641
|
)?_c('c-tool-tip',{attrs:{"color":"#1f2937","classes":_vm.tooltipClasses(count),"tooltip-text":count.toolTip.text,"isTopAligned":true}}):_vm._e(),_c('c-icon',{class:count.icon.class,attrs:{"name":count.icon.name,"type":count.icon.type,"cursorType":count.icon.cursorType},nativeOn:{"mouseover":function($event){_vm.hoveredStatIndex = statIndex},"mouseleave":function($event){_vm.hoveredStatIndex = null}}})],1):(
|
|
@@ -72541,7 +72648,7 @@ var CStatsvue_type_template_id_8e3007a0_staticRenderFns = []
|
|
|
72541
72648
|
|
|
72542
72649
|
// CONCATENATED MODULE: ./src/components/CStats/CStats.vue?vue&type=template&id=8e3007a0&
|
|
72543
72650
|
|
|
72544
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
72651
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/NumberAnimator.vue?vue&type=template&id=e250044a&
|
|
72545
72652
|
var NumberAnimatorvue_type_template_id_e250044a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[_vm._v(_vm._s(_vm.displayValue))])}
|
|
72546
72653
|
var NumberAnimatorvue_type_template_id_e250044a_staticRenderFns = []
|
|
72547
72654
|
|
|
@@ -72865,7 +72972,7 @@ var CStats_component = normalizeComponent(
|
|
|
72865
72972
|
// CONCATENATED MODULE: ./src/components/CSwitch/index.js
|
|
72866
72973
|
|
|
72867
72974
|
/* harmony default export */ var components_CSwitch = (CSwitch);
|
|
72868
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
72975
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CTable/CTable.vue?vue&type=template&id=540774b0&
|
|
72869
72976
|
var CTablevue_type_template_id_540774b0_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{style:(_vm.cssVars)},[(_vm.tableActions)?_c('div',{staticClass:"mb-4 rounded-lg bg-gray-50 p-3",attrs:{"slot":"table-actions"},slot:"table-actions"},[_c('div',{staticClass:"flex items-center justify-between"},[_vm._t("customTableFilterActions"),(_vm.searching)?_c('div',{staticClass:"flex items-center"},[_c('c-input',{staticClass:"mr-3",class:_vm.searchInputClass,attrs:{"isValidate":_vm.searching,"placeholder":_vm.searchPlaceholder,"inputWrapperClass":_vm.inputWrapperClass,"type":"text","id":_vm.id + '_input_search'},model:{value:(_vm.searchTerm),callback:function ($$v) {_vm.searchTerm=$$v},expression:"searchTerm"}}),_vm._t("tableInfo")],2):_vm._e(),_c('div',{staticClass:"flex flex-1 justify-end"},[_vm._t("customTableActions"),(_vm.enableVisibility)?_c('div',{class:("relative inline-block text-left " + (_vm.disableColumnsDropdown ? 'pointer-events-none opacity-50' : ''))},[(_vm.showNewShowHideColumnButton)?_c('div',{staticClass:"relative"},[(_vm.showShowHideColumnTooltip)?_c('c-tool-tip',{attrs:{"color":"#1f2937","classes":"text-white absolute -mt-12 whitespace-nowrap top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 font-normal bg-gray-800 w-auto","isTopAligned":true,"tooltip-text":'Column Visibility, Download'}}):_vm._e(),_c('button',{staticClass:"inline-flex h-9 items-center justify-center rounded-md border border-gray-300 bg-white px-2 py-2 text-sm font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-600 focus:ring-offset-2",attrs:{"aria-haspopup":"true","aria-expanded":"true"},on:{"mouseover":function($event){return _vm.handleToolTipDisplay(true, 'showHideColumn')},"mouseleave":function($event){return _vm.handleToolTipDisplay(false, 'showHideColumn')},"click":_vm.handleToggle}},[_c('c-icon',{staticClass:"h-5 w-5 text-gray-400",attrs:{"name":"dots-vertical-solid-v2","type":"solid","cursorType":"cursor-pointer","viewBox":"0 0 24 24"}})],1)],1):_c('div',{staticClass:"relative"},[(_vm.showShowHideColumnTooltip)?_c('c-tool-tip',{attrs:{"color":"#1f2937","classes":"text-white absolute -mt-12 whitespace-nowrap top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 font-normal bg-gray-800 w-auto","isTopAligned":true,"tooltip-text":'Column Visibility'}}):_vm._e(),_c('button',{staticClass:"inline-flex h-9 items-center justify-center rounded-md border border-gray-300 bg-white px-2 py-2 text-sm font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-600 focus:ring-offset-2",attrs:{"aria-haspopup":"true","aria-expanded":"true"},on:{"mouseover":function($event){return _vm.handleToolTipDisplay(true, 'showHideColumn')},"mouseleave":function($event){return _vm.handleToolTipDisplay(false, 'showHideColumn')},"click":_vm.handleToggle}},[_c('c-icon',{staticClass:"h-5 w-5 text-gray-400",attrs:{"name":"view-board","type":"solid","cursorType":"cursor-pointer"}}),_c('c-icon',{staticClass:"ml-1 h-5 w-5 text-gray-400",attrs:{"name":"chevron-down","type":"solid","cursorType":"cursor-pointer"}})],1)],1),(_vm.toggleDropdown)?_c('div',{staticClass:"fixed inset-0 z-20",on:{"click":_vm.handleToggle}}):_vm._e(),(_vm.toggleDropdown)?_c('div',{staticClass:"absolute right-0 z-30 mt-2 -mr-1 max-h-96 w-56 origin-top-right overflow-y-auto rounded-md bg-white shadow-lg ring-1 ring-gray-900 ring-opacity-5",attrs:{"tabindex":"0"}},[_c('div',{staticClass:"pt-1",attrs:{"role":"menu","aria-orientation":"vertical","aria-labelledby":"option-menu"}},_vm._l((_vm.showHideColumnList),function(column,index){return _c('div',{key:index,class:[
|
|
72870
72977
|
column.isActionColumn && _vm.showNewShowHideColumnButton
|
|
72871
72978
|
? column.customClasses +
|
|
@@ -74410,7 +74517,7 @@ var CTable_component = normalizeComponent(
|
|
|
74410
74517
|
// CONCATENATED MODULE: ./src/components/CTable/index.js
|
|
74411
74518
|
|
|
74412
74519
|
/* harmony default export */ var components_CTable = (CTable);
|
|
74413
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
74520
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CTabs/CTabs.vue?vue&type=template&id=ed68b1c6&scoped=true&
|
|
74414
74521
|
var CTabsvue_type_template_id_ed68b1c6_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._t("default"),_c('div',{staticClass:"sm:hidden",class:_vm.tabClasses},[_c('label',{staticClass:"sr-only",attrs:{"for":"tabs"}},[_vm._v("Select a tab")]),_c('select',{directives:[{name:"model",rawName:"v-model",value:(_vm.activeTab),expression:"activeTab"}],staticClass:"selector-focus-class block w-full rounded-md border-gray-300 pr-6 pl-4 text-sm",style:(_vm.computedStyles),attrs:{"id":"tabs"},on:{"change":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return val}); _vm.activeTab=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},function($event){return _vm.switchTabForMobile($event.target.selectedIndex)}]}},_vm._l((_vm.tabs),function(tab){return _c('option',{key:tab.text,staticClass:"text-sm",attrs:{"id":_vm.getActionIDFn(tab.text)},domProps:{"value":tab.name}},[_vm._v(" "+_vm._s(tab.text)+" ")])}),0)]),_c('div',{class:['hidden sm:block', _vm.navClasses]},[_c('div',{class:[
|
|
74415
74522
|
'flex items-center justify-between border-b border-gray-200',
|
|
74416
74523
|
_vm.extraNavClasses ]},[_c('nav',{staticClass:"-mb-px flex",class:_vm.classes,attrs:{"aria-label":"Tabs"}},[_vm._l((_vm.isExtraTabs ? _vm.tabsList : _vm.tabs),function(tab){return _c('a',{key:tab.text,staticClass:"group inline-flex cursor-pointer items-center whitespace-nowrap border-b-2 py-4 px-1 text-sm font-medium",class:[
|
|
@@ -74679,7 +74786,7 @@ var CTabs_component = normalizeComponent(
|
|
|
74679
74786
|
// CONCATENATED MODULE: ./src/components/CTag/index.js
|
|
74680
74787
|
|
|
74681
74788
|
/* harmony default export */ var components_CTag = (CTag);
|
|
74682
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
74789
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CTextarea/CTextarea.vue?vue&type=template&id=1ba341d2&
|
|
74683
74790
|
var CTextareavue_type_template_id_1ba341d2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"flex justify-between"},[_c('div',{staticClass:"flex items-center"},[(_vm.label)?_c('label',{staticClass:"block text-sm font-medium text-gray-900"},[_vm._v(" "+_vm._s(_vm.label)+" ")]):_vm._e(),(_vm.isRequired)?_c('p',{staticClass:"ml-1 text-red-600"},[_vm._v("*")]):_vm._e()]),(_vm.hint)?_c('span',{staticClass:"text-sm text-gray-500"},[_vm._v(_vm._s(_vm.hint))]):_vm._e()]),_c('div',{staticClass:"mt-1"},[_c('textarea',{staticClass:"block w-full rounded-md text-gray-900 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 disabled:opacity-50 sm:text-sm",class:[
|
|
74684
74791
|
_vm.errorClasses,
|
|
74685
74792
|
_vm.extraClasses,
|
|
@@ -74838,7 +74945,7 @@ var CTextarea_component = normalizeComponent(
|
|
|
74838
74945
|
// CONCATENATED MODULE: ./src/components/CTextarea/index.js
|
|
74839
74946
|
|
|
74840
74947
|
/* harmony default export */ var components_CTextarea = (CTextarea);
|
|
74841
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
74948
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CTimeline/CTimeline.vue?vue&type=template&id=56aed733&
|
|
74842
74949
|
var CTimelinevue_type_template_id_56aed733_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"flow-root"},[_c('ul',{staticClass:"-mb-8"},[_c('li',[_c('div',{staticClass:"relative pb-8"},[_c('span',{staticClass:"absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-200",attrs:{"aria-hidden":"true"}}),_c('div',{staticClass:"relative flex space-x-3"},[_c('div',[_c('span',{staticClass:"h-8 w-8 rounded-full flex items-center justify-center ring-8 ring-white",class:_vm.colorClasses},[_c('c-icon',{staticClass:"h-5 w-5",attrs:{"name":_vm.icon,"type":"solid"}})],1)]),_vm._m(0)])])]),_c('li',[_c('div',{staticClass:"relative pb-8"},[_c('span',{staticClass:"absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-200",attrs:{"aria-hidden":"true"}}),_c('div',{staticClass:"relative flex space-x-3"},[_c('div',[_c('span',{staticClass:"h-8 w-8 rounded-full bg-blue-500 flex items-center justify-center ring-8 ring-white"},[_c('svg',{staticClass:"h-5 w-5 text-white",attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 20 20","fill":"currentColor","aria-hidden":"true"}},[_c('path',{attrs:{"d":"M2 10.5a1.5 1.5 0 113 0v6a1.5 1.5 0 01-3 0v-6zM6 10.333v5.43a2 2 0 001.106 1.79l.05.025A4 4 0 008.943 18h5.416a2 2 0 001.962-1.608l1.2-6A2 2 0 0015.56 8H12V4a2 2 0 00-2-2 1 1 0 00-1 1v.667a4 4 0 01-.8 2.4L6.8 7.933a4 4 0 00-.8 2.4z"}})])])]),_vm._m(1)])])]),_c('li',[_c('div',{staticClass:"relative pb-8"},[_c('span',{staticClass:"absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-200",attrs:{"aria-hidden":"true"}}),_c('div',{staticClass:"relative flex space-x-3"},[_c('div',[_c('span',{staticClass:"h-8 w-8 rounded-full bg-green-500 flex items-center justify-center ring-8 ring-white"},[_c('svg',{staticClass:"h-5 w-5 text-white",attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 20 20","fill":"currentColor","aria-hidden":"true"}},[_c('path',{attrs:{"fill-rule":"evenodd","d":"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z","clip-rule":"evenodd"}})])])]),_vm._m(2)])])]),_c('li',[_c('div',{staticClass:"relative pb-8"},[_c('span',{staticClass:"absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-200",attrs:{"aria-hidden":"true"}}),_c('div',{staticClass:"relative flex space-x-3"},[_c('div',[_c('span',{staticClass:"h-8 w-8 rounded-full bg-blue-500 flex items-center justify-center ring-8 ring-white"},[_c('svg',{staticClass:"h-5 w-5 text-white",attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 20 20","fill":"currentColor","aria-hidden":"true"}},[_c('path',{attrs:{"d":"M2 10.5a1.5 1.5 0 113 0v6a1.5 1.5 0 01-3 0v-6zM6 10.333v5.43a2 2 0 001.106 1.79l.05.025A4 4 0 008.943 18h5.416a2 2 0 001.962-1.608l1.2-6A2 2 0 0015.56 8H12V4a2 2 0 00-2-2 1 1 0 00-1 1v.667a4 4 0 01-.8 2.4L6.8 7.933a4 4 0 00-.8 2.4z"}})])])]),_vm._m(3)])])]),_c('li',[_c('div',{staticClass:"relative pb-8"},[_c('div',{staticClass:"relative flex space-x-3"},[_c('div',[_c('span',{staticClass:"h-8 w-8 rounded-full bg-green-500 flex items-center justify-center ring-8 ring-white"},[_c('svg',{staticClass:"h-5 w-5 text-white",attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 20 20","fill":"currentColor","aria-hidden":"true"}},[_c('path',{attrs:{"fill-rule":"evenodd","d":"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z","clip-rule":"evenodd"}})])])]),_vm._m(4)])])])])])])}
|
|
74843
74950
|
var CTimelinevue_type_template_id_56aed733_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"min-w-0 flex-1 pt-1.5 flex justify-between space-x-4"},[_c('div',[_c('p',{staticClass:"text-sm text-gray-500"},[_vm._v(" Applied to "),_c('a',{staticClass:"font-medium text-gray-900",attrs:{"href":"#"}},[_vm._v("Front End Developer")])])]),_c('div',{staticClass:"text-right text-sm whitespace-nowrap text-gray-500"},[_c('time',{attrs:{"datetime":"2020-09-20"}},[_vm._v("Sep 20")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"min-w-0 flex-1 pt-1.5 flex justify-between space-x-4"},[_c('div',[_c('p',{staticClass:"text-sm text-gray-500"},[_vm._v(" Advanced to phone screening by "),_c('a',{staticClass:"font-medium text-gray-900",attrs:{"href":"#"}},[_vm._v("Bethany Blake")])])]),_c('div',{staticClass:"text-right text-sm whitespace-nowrap text-gray-500"},[_c('time',{attrs:{"datetime":"2020-09-22"}},[_vm._v("Sep 22")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"min-w-0 flex-1 pt-1.5 flex justify-between space-x-4"},[_c('div',[_c('p',{staticClass:"text-sm text-gray-500"},[_vm._v(" Completed phone screening with "),_c('a',{staticClass:"font-medium text-gray-900",attrs:{"href":"#"}},[_vm._v("Martha Gardner")])])]),_c('div',{staticClass:"text-right text-sm whitespace-nowrap text-gray-500"},[_c('time',{attrs:{"datetime":"2020-09-28"}},[_vm._v("Sep 28")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"min-w-0 flex-1 pt-1.5 flex justify-between space-x-4"},[_c('div',[_c('p',{staticClass:"text-sm text-gray-500"},[_vm._v(" Advanced to interview by "),_c('a',{staticClass:"font-medium text-gray-900",attrs:{"href":"#"}},[_vm._v("Bethany Blake")])])]),_c('div',{staticClass:"text-right text-sm whitespace-nowrap text-gray-500"},[_c('time',{attrs:{"datetime":"2020-09-30"}},[_vm._v("Sep 30")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"min-w-0 flex-1 pt-1.5 flex justify-between space-x-4"},[_c('div',[_c('p',{staticClass:"text-sm text-gray-500"},[_vm._v(" Completed interview with "),_c('a',{staticClass:"font-medium text-gray-900",attrs:{"href":"#"}},[_vm._v("Katherine Snyder")])])]),_c('div',{staticClass:"text-right text-sm whitespace-nowrap text-gray-500"},[_c('time',{attrs:{"datetime":"2020-10-04"}},[_vm._v("Oct 4")])])])}]
|
|
74844
74951
|
|
|
@@ -75107,7 +75214,7 @@ var CTimeline_component = normalizeComponent(
|
|
|
75107
75214
|
// CONCATENATED MODULE: ./src/components/CTimeline/index.js
|
|
75108
75215
|
|
|
75109
75216
|
/* harmony default export */ var components_CTimeline = (CTimeline);
|
|
75110
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
75217
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CUpload/CUpload.vue?vue&type=template&id=18723af8&
|
|
75111
75218
|
var CUploadvue_type_template_id_18723af8_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:("flex h-full " + (_vm.isCol ? '' : 'flex-col'))},[_c('div',{staticClass:"flex items-center justify-between"},[_c('div',{staticClass:"flex items-center"},[_c('label',{staticClass:"block text-sm font-medium text-gray-900"},[_vm._v(_vm._s(_vm.label))]),(_vm.isRequired)?_c('p',{staticClass:"ml-1 text-red-600"},[_vm._v("*")]):_vm._e()]),(!_vm.isUploaded)?_c('label',{staticClass:"text-sm text-gray-500"},[_vm._v(" "+_vm._s(_vm.hint)+" ")]):_vm._e()]),(_vm.displayMode == 'overlay' && _vm.icon)?_c('button',{staticClass:"inline-flex items-center rounded-md border border-gray-300 bg-white px-3 py-2 text-sm font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",attrs:{"type":"button","id":_vm.id},on:{"click":function($event){return _vm.initFilestack()}}},[_c('c-icon',{class:_vm.icon.class,attrs:{"type":_vm.icon.type,"name":_vm.icon.name,"viewBox":_vm.icon.viewBox}}),_vm._v(" "+_vm._s(_vm.buttonText)+" ")],1):_vm._e(),(_vm.displayMode == 'overlay' && !_vm.icon && !_vm.isAvatar && !_vm.isIconBtn)?_c('button',{staticClass:"mt-1.5 flex h-full w-auto items-center justify-center rounded-lg border-2 border-dashed border-gray-300 px-9 py-14 text-center hover:border-gray-400 focus:outline-none",attrs:{"type":"button","id":_vm.id},on:{"click":function($event){return _vm.initFilestack()}}},[_c('c-icon',{staticClass:"mr-1 h-5 w-5 flex-none text-indigo-600",attrs:{"name":"arrow-up","type":"solid","cursorType":"cursor-pointer","viewBox":"0 0 20 20"}}),_c('span',{staticClass:"text-sm font-medium text-indigo-900"},[_vm._v(" Upload ")])],1):_vm._e(),(_vm.displayMode == 'overlay' && !_vm.icon && !_vm.isAvatar && _vm.isIconBtn)?_c('button',{staticClass:"group rounded-full p-2 text-gray-400 hover:bg-gray-200 hover:text-gray-500",attrs:{"type":"button","id":_vm.id},on:{"click":function($event){return _vm.initFilestack()}}},[_c('c-icon',{staticClass:"h-5 w-5 flex-none text-gray-400 group-hover:text-gray-500",attrs:{"name":_vm.isIconBtnName,"type":_vm.iconBtnType,"viewBox":"0 0 20 20","cursorType":"cursor-pointer"}})],1):_vm._e(),(_vm.displayMode == 'overlay' && !_vm.icon && _vm.isAvatar)?_c('div',{staticClass:"relative hidden h-full w-full overflow-hidden rounded-full lg:block",attrs:{"id":_vm.id},on:{"click":function($event){return _vm.initFilestack()}}},[(_vm.imageUrl)?_c('img',{staticClass:"relative h-full w-full rounded-full object-cover",attrs:{"src":_vm.imageUrl}}):_c('c-avatar',{attrs:{"size":"very large","nameInitials":_vm.shortName,"isDynamicallyColored":_vm.coloredAvatars,"rounded":true}}),_c('label',{staticClass:"absolute inset-0 flex h-full w-full cursor-pointer items-center justify-center bg-gray-900 bg-opacity-75 text-sm font-medium text-white opacity-0 focus-within:opacity-100 hover:opacity-100"},[(_vm.openIcon)?_c('c-icon',{class:_vm.openIcon.class,attrs:{"name":_vm.openIcon.name,"type":_vm.openIcon.type}}):_vm._e(),_c('span',[_vm._v(_vm._s(_vm.uploadText))]),_c('span',{staticClass:"sr-only"},[_vm._v(" user photo")])],1)],1):_vm._e(),_c('div',{class:_vm.filestackClasses,attrs:{"id":_vm.filestackId}}),(!_vm.isValidate)?_c('p',{staticClass:"mt-2 text-sm text-red-600"},[_vm._v(" "+_vm._s(_vm.errorMessage)+" ")]):_vm._e(),(_vm.helpText && _vm.isValidate == true)?_c('p',{staticClass:"mt-2 text-sm text-gray-500"},[_vm._v(" "+_vm._s(_vm.helpText)+" ")]):_vm._e()])}
|
|
75112
75219
|
var CUploadvue_type_template_id_18723af8_staticRenderFns = []
|
|
75113
75220
|
|
|
@@ -75465,7 +75572,7 @@ var CUpload_component = normalizeComponent(
|
|
|
75465
75572
|
// CONCATENATED MODULE: ./src/components/CUpload/index.js
|
|
75466
75573
|
|
|
75467
75574
|
/* harmony default export */ var components_CUpload = (CUpload);
|
|
75468
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
75575
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CConfirmActionModal/CConfirmActionModal.vue?vue&type=template&id=e5bbe838&scoped=true&
|
|
75469
75576
|
var CConfirmActionModalvue_type_template_id_e5bbe838_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('focus-trap',{attrs:{"active":true,"escapeDeactivates":false}},[_c('div',{directives:[{name:"scroll-lock",rawName:"v-scroll-lock",value:(true),expression:"true"}],staticClass:"fixed inset-0 z-100 overflow-y-auto",attrs:{"id":"confirm-action-modal"}},[_c('div',{staticClass:"flex min-h-screen items-end justify-center pt-4 pb-20 text-center sm:block sm:p-0 sm:px-4",on:{"click":function($event){_vm.shouldBlur ? _vm.$emit('close') : null}}},[_c('transition',{attrs:{"enter-active-class":"ease-out duration-300","enter-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"ease-in duration-200","leave-class":"opacity-100","leave-to-class":"opacity-0"}},[_c('div',{staticClass:"fixed inset-0 transition-opacity",attrs:{"aria-hidden":"true"}},[_c('div',{staticClass:"absolute inset-0 bg-gray-500 opacity-75"})])]),_c('span',{staticClass:"hidden align-middle sm:inline-block sm:h-screen",attrs:{"aria-hidden":"true"}},[_vm._v("")]),_c('transition',{attrs:{"enter-active-class":"ease-out duration-300","enter-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to-class":"opacity-100 translate-y-0 sm:scale-100","leave-active-class":"ease-in duration-200","leave-class":"opacity-100 translate-y-0 sm:scale-100","leave-to-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"}},[_c('div',{staticClass:"inline-block w-full transform overflow-y-visible rounded-lg bg-white text-left align-middle shadow-xl transition-all sm:my-8 sm:max-w-sm md:max-w-2xl",attrs:{"role":"dialog","aria-modal":"true","aria-labelledby":"modal-title","aria-describedby":_vm.ariaDescribedby,"aria-busy":_vm.loadButton},on:{"click":function($event){$event.stopPropagation();}}},[_c('div',{staticClass:"modal-content flex items-center gap-4 overflow-y-auto px-6 pt-6 pb-4"},[_c('div',{class:_vm.iconContainerClasses,attrs:{"aria-hidden":"true"}},[_c('c-icon',{class:_vm.iconClasses,attrs:{"name":"exclamation-triangle-outline-v2","type":"outline-v2","viewBox":"0 0 24 24"}})],1),_c('div',{staticClass:"flex-1"},[_c('h3',{staticClass:"text-base font-medium text-gray-900",attrs:{"id":"modal-title"}},[_vm._v(" "+_vm._s(_vm.title)+" "),(_vm.isRequired)?_c('span',{staticClass:"text-red-600",attrs:{"aria-hidden":"true"}},[_vm._v("*")]):_vm._e(),(_vm.isRequired)?_c('span',{staticClass:"sr-only"},[_vm._v("(required)")]):_vm._e()]),_c('div',{staticClass:"text-sm text-gray-500"},[_c('p',{attrs:{"id":"modal-message"}},[_vm._v(_vm._s(_vm.message))]),(_vm.description)?_c('p',{staticClass:"mt-1 text-gray-500",attrs:{"id":"modal-description"}},[_vm._v(" "+_vm._s(_vm.description)+" ")]):_vm._e(),_vm._t("description")],2),(_vm.isTextAreaEnabled)?_c('div',{staticClass:"mt-2"},[_c('c-textarea',{staticClass:"flex-grow",attrs:{"label":_vm.textAreaLabel,"hint":_vm.textAreaHint,"value":_vm.textValue,"isValidate":_vm.isTextValid,"disabled":false,"helpText":_vm.textAreaHelperText,"errorMessage":_vm.errorMessage},on:{"input":_vm.handleTextAreaInputChange}})],1):_vm._e()])]),_c('div',{staticClass:"flex items-center justify-end gap-3 rounded-b-lg border-t border-gray-200 bg-gray-100 px-6 py-3"},[(!_vm.hideActionOne)?_c('c-button',{attrs:{"id":"cancel-button","type":_vm.actionOneType,"label":_vm.actionOneLabel},on:{"action":function($event){return _vm.$emit('action-one')}}}):_vm._e(),_c('c-button',{attrs:{"id":"confirm-button","type":_vm.actionTwoType,"label":_vm.actionTwoLabel,"isLoading":_vm.loadButton,"disabled":_vm.loadButton,"aria-busy":_vm.loadButton},on:{"action":function($event){return _vm.$emit('action-two')}}})],1)])])],1)])])}
|
|
75470
75577
|
var CConfirmActionModalvue_type_template_id_e5bbe838_scoped_true_staticRenderFns = []
|
|
75471
75578
|
|
|
@@ -75743,7 +75850,7 @@ var CConfirmActionModal_component = normalizeComponent(
|
|
|
75743
75850
|
// CONCATENATED MODULE: ./src/components/CConfirmActionModal/index.js
|
|
75744
75851
|
|
|
75745
75852
|
/* harmony default export */ var components_CConfirmActionModal = (CConfirmActionModal);
|
|
75746
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
75853
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CCalendar/CCalendar.vue?vue&type=template&id=132b868b&
|
|
75747
75854
|
var CCalendarvue_type_template_id_132b868b_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"grid grid-cols-1 md:grid-cols-2 md:gap-8"},[_c('div',{class:("sticky top-0 md:block " + _vm.calendarClasses)},[_c('div',{staticClass:"relative z-20 flex items-center justify-between border-b border-gray-200 py-4 px-4 sm:px-0"},[_c('h2',{staticClass:"flex-auto font-semibold text-gray-900"},[_vm._v(" "+_vm._s(_vm.currentMonthAndYear)+" ")]),_c('div',{staticClass:"flex items-center"},[_c('div',{staticClass:"flex items-center rounded-md shadow-sm"},[_c('button',{staticClass:"flex items-center justify-center rounded-l-md border border-r-0 border-gray-300 bg-white py-2 pl-3 pr-4 text-gray-400 hover:text-gray-500 focus:relative",attrs:{"type":"button","id":_vm.id + '_button_previous_month'},on:{"click":_vm.handlePreviousMonthClick}},[_c('span',{staticClass:"sr-only"},[_vm._v("Previous month")]),_c('svg',{staticClass:"h-5 w-5",attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 20 20","fill":"currentColor","aria-hidden":"true"}},[_c('path',{attrs:{"fill-rule":"evenodd","d":"M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z","clip-rule":"evenodd"}})])]),_c('span',{staticClass:"relative -mx-px h-5 w-px bg-gray-300"}),_c('button',{staticClass:"flex items-center justify-center rounded-r-md border border-l-0 border-gray-300 bg-white py-2 pl-4 pr-3 text-gray-400 hover:text-gray-500 focus:relative",attrs:{"type":"button","id":_vm.id + '_button_next_month'},on:{"click":_vm.handleNextMonthClick}},[_c('span',{staticClass:"sr-only"},[_vm._v("Next month")]),_c('svg',{staticClass:"h-5 w-5",attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 20 20","fill":"currentColor","aria-hidden":"true"}},[_c('path',{attrs:{"fill-rule":"evenodd","d":"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z","clip-rule":"evenodd"}})])])])])]),_c('div',{staticClass:"col-span-1 overflow-hidden rounded shadow ring-1 ring-gray-200"},[_vm._m(0),_c('div',{staticClass:"flex bg-gray-200 text-xs leading-6 text-gray-700"},[_c('div',{staticClass:"isolate grid w-full grid-cols-7 grid-rows-6 gap-px"},_vm._l((_vm.daysArray),function(date){return _c('button',{key:_vm.getDateKey(date),class:{
|
|
75748
75855
|
'flex h-14 flex-col py-2 px-3 hover:bg-gray-100 focus:z-10': true,
|
|
75749
75856
|
'bg-white': _vm.isCurrentMonth(date),
|
|
@@ -76239,7 +76346,7 @@ var CCalendar_component = normalizeComponent(
|
|
|
76239
76346
|
// CONCATENATED MODULE: ./src/components/CCalendar/index.js
|
|
76240
76347
|
|
|
76241
76348
|
/* harmony default export */ var components_CCalendar = (CCalendar);
|
|
76242
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
76349
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CButtonSelectBorder/CButtonSelectBorder.vue?vue&type=template&id=0e4023b9&scoped=true&
|
|
76243
76350
|
var CButtonSelectBordervue_type_template_id_0e4023b9_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._t("default"),_c('div',{staticClass:"relative inline-block text-left",class:[_vm.isDisabled ? 'opacity-50' : '', _vm.buttonWrapperClass]},[_c('button',{ref:"selectBorderButton",staticClass:"h-9 inline-flex w-full justify-center border px-3 py-2 text-sm font-medium shadow-sm focus:outline-none disabled:cursor-not-allowed",class:[
|
|
76244
76351
|
_vm.classes,
|
|
76245
76352
|
_vm.buttonClass,
|
|
@@ -76518,7 +76625,7 @@ var CButtonSelectBorder_component = normalizeComponent(
|
|
|
76518
76625
|
// CONCATENATED MODULE: ./src/components/CButtonSelectBorder/index.js
|
|
76519
76626
|
|
|
76520
76627
|
/* harmony default export */ var components_CButtonSelectBorder = (CButtonSelectBorder);
|
|
76521
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
76628
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CInsetTabs/CInsetTabs.vue?vue&type=template&id=168f6f64&
|
|
76522
76629
|
var CInsetTabsvue_type_template_id_168f6f64_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"inline-block"},[_c('nav',{staticClass:"group rounded-lg bg-gray-100 p-0.5 hover:bg-gray-200",attrs:{"aria-label":"Tabs"}},[_c('div',{staticClass:"relative inline-flex"},[_c('div',{staticClass:"inset-tabs-overlay pointer-events-none absolute inset-y-0 left-0 rounded-md bg-white shadow-sm ring-1 ring-black ring-opacity-5",style:(_vm.overlayStyle)}),_vm._l((_vm.tabOptions),function(tabOption,index){return _c('button',{key:index,ref:"tabButtons",refInFor:true,staticClass:"inset-tabs-classes relative z-10 inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap rounded-md border-0 bg-transparent px-3 py-1.5 text-sm font-medium focus:outline-none focus-visible:ring-2 focus-visible:ring-indigo-500 focus-visible:ring-offset-2 focus-visible:ring-offset-gray-100",style:(_vm.computedStyles),attrs:{"type":"button","tabindex":_vm.getTabIdentifier(tabOption) === _vm.currentTab ? '0' : '-1',"id":_vm.id ? (_vm.id + "-" + (_vm.getTabIdentifier(tabOption).toLowerCase())) : _vm.getTabIdentifier(tabOption).toLowerCase(),"aria-label":tabOption.label,"aria-selected":_vm.getTabIdentifier(tabOption) === _vm.currentTab,"aria-current":_vm.getTabIdentifier(tabOption) === _vm.currentTab,"aria-controls":_vm.getTabIdentifier(tabOption)},on:{"click":function($event){return _vm.handleButtonClick(tabOption)}}},[(tabOption.icon)?_c('c-icon',{class:[
|
|
76523
76630
|
'inset-tabs-icon h-5 w-5 shrink-0',
|
|
76524
76631
|
_vm.getTabIdentifier(tabOption) === _vm.currentTab
|
|
@@ -76688,7 +76795,7 @@ var CInsetTabs_component = normalizeComponent(
|
|
|
76688
76795
|
// CONCATENATED MODULE: ./src/components/CInsetTabs/index.js
|
|
76689
76796
|
|
|
76690
76797
|
/* harmony default export */ var components_CInsetTabs = (CInsetTabs);
|
|
76691
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
76798
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CTabLazy/CTabLazy.vue?vue&type=template&id=87562f00&
|
|
76692
76799
|
var CTabLazyvue_type_template_id_87562f00_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"border-b border-gray-200"},[_c('div',{staticClass:"mt-2 max-w-5xl pr-4"},[_c('nav',{staticClass:"-mb-px flex space-x-8",attrs:{"aria-label":"Tabs"}},_vm._l((_vm.tabs),function(tab){return _c('button',{key:tab.key,class:[
|
|
76693
76800
|
_vm.activeTab === tab.key
|
|
76694
76801
|
? 'border-b-2 border-indigo-600 text-indigo-700'
|
|
@@ -76808,7 +76915,7 @@ var CTabLazy_component = normalizeComponent(
|
|
|
76808
76915
|
// CONCATENATED MODULE: ./src/components/CTabLazy/index.js
|
|
76809
76916
|
|
|
76810
76917
|
/* harmony default export */ var components_CTabLazy = (CTabLazy);
|
|
76811
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
76918
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CCircularButton/CCircularButton.vue?vue&type=template&id=6f25814c&
|
|
76812
76919
|
var CCircularButtonvue_type_template_id_6f25814c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',{staticClass:"rounded-full p-1 text-white shadow-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:opacity-50",class:_vm.classes,attrs:{"type":"button","disabled":_vm.disabled,"id":_vm.id},on:{"click":function($event){return _vm.$emit('action')}}},[_c('c-icon',{class:_vm.icon.class,attrs:{"type":_vm.icon.type,"name":_vm.icon.name,"viewBox":_vm.icon.viewBox,"cursorType":"cursor-pointer"}})],1)}
|
|
76813
76920
|
var CCircularButtonvue_type_template_id_6f25814c_staticRenderFns = []
|
|
76814
76921
|
|
|
@@ -76895,7 +77002,7 @@ var CCircularButton_component = normalizeComponent(
|
|
|
76895
77002
|
// CONCATENATED MODULE: ./src/components/CCircularButton/index.js
|
|
76896
77003
|
|
|
76897
77004
|
/* harmony default export */ var components_CCircularButton = (CCircularButton);
|
|
76898
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
77005
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CProgress/CProgress.vue?vue&type=template&id=199d29a4&scoped=true&
|
|
76899
77006
|
var CProgressvue_type_template_id_199d29a4_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"flex items-center justify-center"},[_c('p',{staticClass:"text-sm font-medium text-gray-900"},[_vm._v(" "+_vm._s(_vm.steps[_vm.currentStep - 1].name)+" ")]),_c('ol',{staticClass:"ml-4 flex items-center space-x-5",attrs:{"role":"list"}},_vm._l((_vm.steps),function(step){return _c('li',{key:step.name},[(step.number < _vm.currentStep)?_c('div',{staticClass:"progress-item block h-2.5 w-2.5 cursor-pointer rounded-full",style:(_vm.colorStyles),on:{"click":function($event){return _vm.$emit('goStepBack', step.number)}}},[_c('span',{staticClass:"sr-only"},[_vm._v(_vm._s(step.name))])]):(step.number === _vm.currentStep)?_c('div',{staticClass:"relative flex items-center justify-center",attrs:{"aria-current":"step"}},[_c('span',{staticClass:"absolute flex h-5 w-5 p-px",attrs:{"aria-hidden":"true"}},[_c('span',{staticClass:"progress-item-light-ring h-full w-full rounded-full",style:(_vm.colorStyles)})]),_c('span',{staticClass:"progress-item relative block h-2.5 w-2.5 rounded-full",style:(_vm.colorStyles),attrs:{"aria-hidden":"true"}}),_c('span',{staticClass:"sr-only"},[_vm._v(_vm._s(step.name))])]):_c('div',{staticClass:"block h-2.5 w-2.5 rounded-full bg-gray-200 hover:bg-gray-400"},[_c('span',{staticClass:"sr-only"},[_vm._v(_vm._s(step.name))])])])}),0)])}
|
|
76900
77007
|
var CProgressvue_type_template_id_199d29a4_scoped_true_staticRenderFns = []
|
|
76901
77008
|
|
|
@@ -77011,7 +77118,7 @@ var CProgress_component = normalizeComponent(
|
|
|
77011
77118
|
// CONCATENATED MODULE: ./src/components/CToolTip/index.js
|
|
77012
77119
|
|
|
77013
77120
|
/* harmony default export */ var components_CToolTip = (CToolTip);
|
|
77014
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
77121
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CIconSelect/CIconSelect.vue?vue&type=template&id=0cb587db&scoped=true&
|
|
77015
77122
|
var CIconSelectvue_type_template_id_0cb587db_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._t("default"),_c('div',{class:((_vm.isDropDownRelative ? 'relative' : '') + " inline-block text-left")},[_c('div',[_c('button',{class:_vm.customClasses
|
|
77016
77123
|
? _vm.iconClasses
|
|
77017
77124
|
: 'icon-select-button inline-flex w-full justify-center rounded-full border-none p-2 hover:bg-gray-100',style:(_vm.computedStyles),attrs:{"type":"white","aria-haspopup":"true","aria-expanded":"true"},on:{"click":function($event){$event.stopPropagation();return _vm.toggle($event)},"blur":function($event){return _vm.close()}}},[_c('div',[_c('c-icon',{class:_vm.icon.class,attrs:{"name":_vm.icon.name,"type":_vm.icon.type,"cursorType":_vm.cursorType,"viewBox":_vm.icon.viewBox}})],1)])]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.toggleDropdown),expression:"toggleDropdown"}],staticClass:"absolute z-10 mt-2 -mr-1 origin-top-right rounded-md bg-white shadow-lg ring-1 ring-gray-900 ring-opacity-5",class:_vm.classes,on:{"mouseenter":function($event){return _vm.toggle($event)},"mouseleave":function($event){return _vm.close()}}},[_c('div',{staticClass:"w-max py-1",attrs:{"role":"menu","aria-orientation":"vertical","aria-labelledby":"option-menu"}},_vm._l((_vm.items),function(item,index){return _c('div',{key:item.text},[_c('a',{staticClass:"flex cursor-pointer px-3 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900 disabled:pointer-events-none disabled:opacity-50",class:item.class,attrs:{"role":"menuitem","disabled":item.disabled},on:{"mousedown":function($event){$event.stopPropagation();$event.preventDefault();return _vm.dropdownAction(item)},"touchend":function($event){return _vm.dropdownAction(item)}}},[(item.icon)?_c('c-icon',{class:_vm.dropdownIcons[index].class,attrs:{"name":_vm.dropdownIcons[index].name,"type":_vm.dropdownIcons[index].type,"viewBox":_vm.dropdownIcons[index].viewBox,"cursorType":_vm.cursorType}}):_vm._e(),_vm._v(" "+_vm._s(item.text)+" "),(_vm.selectedOption != null && _vm.selectedOption == item.text)?_c('p',{staticClass:"flex flex-1 items-center justify-end"},[_c('c-icon',{staticClass:"h-5 w-5 text-gray-400",attrs:{"name":"check-outline-v2","type":"outline-v2"}})],1):_vm._e()],1),(item.border)?_c('hr',{staticClass:"my-1"}):_vm._e()])}),0)])])],2)}
|
|
@@ -77226,7 +77333,7 @@ var CIconSelect_component = normalizeComponent(
|
|
|
77226
77333
|
// CONCATENATED MODULE: ./src/components/CIconSelect/index.js
|
|
77227
77334
|
|
|
77228
77335
|
/* harmony default export */ var components_CIconSelect = (CIconSelect);
|
|
77229
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
77336
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CAlertModal/CAlertModal.vue?vue&type=template&id=e5b96b7c&
|
|
77230
77337
|
var CAlertModalvue_type_template_id_e5b96b7c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"z-100 fixed inset-0 overflow-y-auto"},[_c('div',{staticClass:"flex min-h-screen items-end justify-center px-4 pt-4 pb-20 text-center sm:block sm:p-0",on:{"click":function($event){return _vm.$emit('proceedAddingEvent', false)}}},[_c('transition',{attrs:{"enter-active-class":"ease-out duration-300","enter-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"ease-in duration-200","leave-class":"opacity-100","leave-to-class":"opacity-0"}},[_c('div',{staticClass:"fixed inset-0 transition-opacity",attrs:{"aria-hidden":"true"}},[_c('div',{staticClass:"absolute inset-0 bg-gray-500 opacity-75"})])]),_c('span',{staticClass:"hidden sm:inline-block sm:h-screen sm:align-middle",attrs:{"aria-hidden":"true"}},[_vm._v("")]),_c('transition',{attrs:{"enter-active-class":"ease-out duration-300","enter-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to-class":"opacity-100 translate-y-0 sm:scale-100","leave-active-class":"ease-in duration-200","leave-class":"opacity-100 translate-y-0 sm:scale-100","leave-to-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"}},[_c('div',{class:("inline-block transform overflow-y-visible rounded-lg bg-white px-4 pb-4 pt-5 text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg sm:p-6 " + _vm.parentWrapperClass),attrs:{"role":"dialog","aria-modal":"true","aria-labelledby":"modal-headline"},on:{"click":function($event){$event.stopPropagation();}}},[_c('div',{staticClass:"sm:flex sm:items-start",style:(("" + _vm.contentWrapperStyle))},[_c('div',{staticClass:"mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full sm:mx-0 sm:h-10 sm:w-10",class:("bg-" + _vm.alertModalColor + "-100")},[_c('svg',{class:("h-6 w-6 text-" + _vm.alertModalColor + "-600"),attrs:{"fill":"none","viewBox":"0 0 24 24","stroke-width":"1.5","stroke":"currentColor","aria-hidden":"true"}},[_c('path',{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","d":"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"}})])]),_c('div',{staticClass:"mt-3 text-center sm:ml-4 sm:mt-0 sm:text-left"},[_c('h3',{class:("text-base font-semibold leading-6 text-gray-900 " + _vm.titleClass),attrs:{"id":"modal-title"}},[_vm._v(" "+_vm._s(_vm.title)+" ")]),_c('div',{staticClass:"mt-2"},[_c('p',{staticClass:"text-sm text-gray-500"},[_vm._v(_vm._s(_vm.msg))]),_c('p',{staticClass:"mt-4 text-sm text-gray-500"},[_vm._v(_vm._s(_vm.msg2))])])])]),_c('div',{class:("mt-4 items-center justify-end gap-4 sm:ml-10 sm:flex " + _vm.btnWrapperClass)},[(_vm.secondaryButtonText)?_c('c-button',{attrs:{"type":_vm.secondaryButtonType,"label":_vm.secondaryButtonText,"id":_vm.getActionIDFn(_vm.secondaryButtonText)},on:{"action":function($event){return _vm.$emit('proceedAddingEvent', false)}}}):_vm._e(),(_vm.primaryButtonText)?_c('c-button',{attrs:{"type":_vm.primaryButtonType,"label":_vm.primaryButtonText,"isLoading":_vm.primaryButtonLoader,"id":_vm.getActionIDFn(_vm.secondaryButtonText)},on:{"action":function($event){return _vm.$emit('proceedAddingEvent', true)}}}):_vm._e()],1)])])],1)])}
|
|
77231
77338
|
var CAlertModalvue_type_template_id_e5b96b7c_staticRenderFns = []
|
|
77232
77339
|
|
|
@@ -77436,6 +77543,763 @@ var CAlertModal_component = normalizeComponent(
|
|
|
77436
77543
|
// CONCATENATED MODULE: ./src/components/CAlertModal/index.js
|
|
77437
77544
|
|
|
77438
77545
|
/* harmony default export */ var components_CAlertModal = (CAlertModal);
|
|
77546
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7733714d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CTokenEditor/CTokenEditor.vue?vue&type=template&id=2e80b552&
|
|
77547
|
+
var CTokenEditorvue_type_template_id_2e80b552_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"text-sm"},[(_vm.label || _vm.hint)?_c('div',{staticClass:"flex justify-between"},[(_vm.label)?_c('p',{staticClass:"font-medium text-gray-900"},[_vm._v(_vm._s(_vm.label))]):_vm._e(),(_vm.hint)?_c('p',{staticClass:"text-gray-500"},[_vm._v(_vm._s(_vm.hint))]):_vm._e()]):_vm._e(),_c('quill-editor',{ref:"myQuillEditor",class:("mt-1 rounded-md bg-white " + (_vm.disabled ? 'cursor-not-allowed opacity-50' : '') + " shadow-sm"),attrs:{"value":_vm.content,"options":_vm.editorOption,"id":_vm.id,"disabled":_vm.disabled},on:{"change":function($event){return _vm.onChange($event)},"ready":function($event){return _vm.onReady($event)},"focus":_vm.handleFocus,"blur":_vm.onEditorBlur}}),(_vm.helpText)?_c('p',{staticClass:"mt-2 text-gray-500"},[_vm._v(" "+_vm._s(_vm.helpText)+" ")]):_vm._e()],1)}
|
|
77548
|
+
var CTokenEditorvue_type_template_id_2e80b552_staticRenderFns = []
|
|
77549
|
+
|
|
77550
|
+
|
|
77551
|
+
// CONCATENATED MODULE: ./src/components/CTokenEditor/CTokenEditor.vue?vue&type=template&id=2e80b552&
|
|
77552
|
+
|
|
77553
|
+
// EXTERNAL MODULE: ./node_modules/quill/dist/quill.js
|
|
77554
|
+
var dist_quill = __webpack_require__("9339");
|
|
77555
|
+
var quill_default = /*#__PURE__*/__webpack_require__.n(dist_quill);
|
|
77556
|
+
|
|
77557
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CTokenEditor/CTokenEditor.vue?vue&type=script&lang=js&
|
|
77558
|
+
//
|
|
77559
|
+
//
|
|
77560
|
+
//
|
|
77561
|
+
//
|
|
77562
|
+
//
|
|
77563
|
+
//
|
|
77564
|
+
//
|
|
77565
|
+
//
|
|
77566
|
+
//
|
|
77567
|
+
//
|
|
77568
|
+
//
|
|
77569
|
+
//
|
|
77570
|
+
//
|
|
77571
|
+
//
|
|
77572
|
+
//
|
|
77573
|
+
//
|
|
77574
|
+
//
|
|
77575
|
+
//
|
|
77576
|
+
//
|
|
77577
|
+
//
|
|
77578
|
+
//
|
|
77579
|
+
//
|
|
77580
|
+
//
|
|
77581
|
+
//
|
|
77582
|
+
//
|
|
77583
|
+
|
|
77584
|
+
|
|
77585
|
+
|
|
77586
|
+
|
|
77587
|
+
|
|
77588
|
+
|
|
77589
|
+
const Embed = quill_default.a.import("blots/embed");
|
|
77590
|
+
const Delta = quill_default.a.import("delta");
|
|
77591
|
+
const TOKEN_PATTERN = /\{\{([^{}]+)\}\}/g;
|
|
77592
|
+
const DEFAULT_TOKEN_STYLE = {
|
|
77593
|
+
wrapper: "inline-flex overflow-hidden rounded-md border border-gray-200 text-sm leading-5",
|
|
77594
|
+
group: "p-1 text-sm text-gray-500 bg-gray-50",
|
|
77595
|
+
separator: "bg-white py-1 pr-1 text-sm text-gray-400 bg-gray-50",
|
|
77596
|
+
label: "bg-indigo-50 px-2 py-1 text-sm text-indigo-600",
|
|
77597
|
+
remove: "token-remove bg-indigo-50 py-1 pr-2 text-indigo-600"
|
|
77598
|
+
};
|
|
77599
|
+
const INVALID_TOKEN_STYLE = {
|
|
77600
|
+
wrapper: "inline-flex overflow-hidden rounded-md border border-red-300 text-sm leading-5",
|
|
77601
|
+
group: "p-1 text-sm text-gray-500 bg-gray-50",
|
|
77602
|
+
separator: "bg-white py-1 pr-1 text-sm text-gray-400 bg-gray-50",
|
|
77603
|
+
label: "bg-red-50 px-2 py-1 text-sm text-red-600",
|
|
77604
|
+
remove: "token-remove bg-red-50 py-1 pr-2 text-red-600"
|
|
77605
|
+
};
|
|
77606
|
+
function createTokenChipContent({
|
|
77607
|
+
tokenStyle,
|
|
77608
|
+
tokenGroup,
|
|
77609
|
+
tokenSeparator,
|
|
77610
|
+
tokenLabel
|
|
77611
|
+
}) {
|
|
77612
|
+
const wrapper = document.createElement("span");
|
|
77613
|
+
wrapper.className = tokenStyle.wrapper;
|
|
77614
|
+
const groupEl = document.createElement("span");
|
|
77615
|
+
groupEl.className = tokenStyle.group;
|
|
77616
|
+
groupEl.textContent = tokenGroup;
|
|
77617
|
+
const separatorEl = document.createElement("span");
|
|
77618
|
+
separatorEl.className = tokenStyle.separator;
|
|
77619
|
+
separatorEl.textContent = tokenSeparator;
|
|
77620
|
+
const labelEl = document.createElement("span");
|
|
77621
|
+
labelEl.className = tokenStyle.label;
|
|
77622
|
+
labelEl.textContent = tokenLabel;
|
|
77623
|
+
const removeBtn = document.createElement("button");
|
|
77624
|
+
removeBtn.type = "button";
|
|
77625
|
+
removeBtn.className = tokenStyle.remove;
|
|
77626
|
+
removeBtn.setAttribute("data-token-remove", "true");
|
|
77627
|
+
removeBtn.setAttribute("aria-label", "Remove token");
|
|
77628
|
+
removeBtn.textContent = "✕";
|
|
77629
|
+
wrapper.appendChild(groupEl);
|
|
77630
|
+
wrapper.appendChild(separatorEl);
|
|
77631
|
+
wrapper.appendChild(labelEl);
|
|
77632
|
+
wrapper.appendChild(removeBtn);
|
|
77633
|
+
return wrapper;
|
|
77634
|
+
}
|
|
77635
|
+
class TokenBlot extends Embed {
|
|
77636
|
+
static create(value) {
|
|
77637
|
+
const node = super.create();
|
|
77638
|
+
let tokenValue = "";
|
|
77639
|
+
let tokenLabel = "";
|
|
77640
|
+
let tokenGroup = "Variable";
|
|
77641
|
+
let tokenSeparator = "→";
|
|
77642
|
+
let tokenStyle = {
|
|
77643
|
+
...DEFAULT_TOKEN_STYLE
|
|
77644
|
+
};
|
|
77645
|
+
if (typeof value === "string") {
|
|
77646
|
+
tokenValue = value;
|
|
77647
|
+
tokenLabel = value;
|
|
77648
|
+
} else if (value && typeof value === "object") {
|
|
77649
|
+
tokenValue = value.value || "";
|
|
77650
|
+
tokenLabel = value.label || tokenValue;
|
|
77651
|
+
tokenGroup = value.group || "Variable";
|
|
77652
|
+
tokenSeparator = value.separator || "→";
|
|
77653
|
+
if (value.style) {
|
|
77654
|
+
tokenStyle = {
|
|
77655
|
+
...tokenStyle,
|
|
77656
|
+
...value.style
|
|
77657
|
+
};
|
|
77658
|
+
}
|
|
77659
|
+
}
|
|
77660
|
+
node.setAttribute("contenteditable", "false");
|
|
77661
|
+
node.setAttribute("data-token", tokenValue);
|
|
77662
|
+
node.setAttribute("data-label", tokenLabel);
|
|
77663
|
+
node.setAttribute("data-group", tokenGroup);
|
|
77664
|
+
node.setAttribute("data-separator", tokenSeparator);
|
|
77665
|
+
node.setAttribute("data-token-style", JSON.stringify(tokenStyle));
|
|
77666
|
+
node.className = "ql-token-chip inline-flex align-middle";
|
|
77667
|
+
node.appendChild(createTokenChipContent({
|
|
77668
|
+
tokenStyle,
|
|
77669
|
+
tokenGroup,
|
|
77670
|
+
tokenSeparator,
|
|
77671
|
+
tokenLabel
|
|
77672
|
+
}));
|
|
77673
|
+
return node;
|
|
77674
|
+
}
|
|
77675
|
+
static value(node) {
|
|
77676
|
+
let tokenStyle = {};
|
|
77677
|
+
const styleAttr = node.getAttribute("data-token-style");
|
|
77678
|
+
if (styleAttr) {
|
|
77679
|
+
try {
|
|
77680
|
+
const parsed = JSON.parse(styleAttr);
|
|
77681
|
+
if (parsed && typeof parsed === "object") {
|
|
77682
|
+
tokenStyle = parsed;
|
|
77683
|
+
}
|
|
77684
|
+
} catch (error) {
|
|
77685
|
+
tokenStyle = {};
|
|
77686
|
+
}
|
|
77687
|
+
}
|
|
77688
|
+
return {
|
|
77689
|
+
value: node.getAttribute("data-token") || "",
|
|
77690
|
+
label: node.getAttribute("data-label") || "",
|
|
77691
|
+
group: node.getAttribute("data-group") || "",
|
|
77692
|
+
separator: node.getAttribute("data-separator") || "→",
|
|
77693
|
+
style: tokenStyle
|
|
77694
|
+
};
|
|
77695
|
+
}
|
|
77696
|
+
}
|
|
77697
|
+
TokenBlot.blotName = "token";
|
|
77698
|
+
TokenBlot.tagName = "span";
|
|
77699
|
+
const existingTokenFormat = quill_default.a.import("formats/token");
|
|
77700
|
+
if (!existingTokenFormat || typeof existingTokenFormat.create !== "function") {
|
|
77701
|
+
quill_default.a.register({
|
|
77702
|
+
"formats/token": TokenBlot
|
|
77703
|
+
}, true);
|
|
77704
|
+
}
|
|
77705
|
+
/* harmony default export */ var CTokenEditorvue_type_script_lang_js_ = ({
|
|
77706
|
+
name: "CTokenEditor",
|
|
77707
|
+
components: {
|
|
77708
|
+
quillEditor: vue_quill_editor["quillEditor"]
|
|
77709
|
+
},
|
|
77710
|
+
props: {
|
|
77711
|
+
id: {
|
|
77712
|
+
type: String
|
|
77713
|
+
},
|
|
77714
|
+
content: {
|
|
77715
|
+
type: String
|
|
77716
|
+
},
|
|
77717
|
+
label: {
|
|
77718
|
+
type: String
|
|
77719
|
+
},
|
|
77720
|
+
hint: {
|
|
77721
|
+
type: String
|
|
77722
|
+
},
|
|
77723
|
+
helpText: {
|
|
77724
|
+
type: String
|
|
77725
|
+
},
|
|
77726
|
+
toolbarOptions: {
|
|
77727
|
+
type: Array
|
|
77728
|
+
},
|
|
77729
|
+
onEditorChange: {
|
|
77730
|
+
type: Function
|
|
77731
|
+
},
|
|
77732
|
+
placeholder: {
|
|
77733
|
+
type: String
|
|
77734
|
+
},
|
|
77735
|
+
disabled: {
|
|
77736
|
+
type: Boolean,
|
|
77737
|
+
default: false
|
|
77738
|
+
},
|
|
77739
|
+
templateVariables: {
|
|
77740
|
+
type: Array,
|
|
77741
|
+
default: () => []
|
|
77742
|
+
},
|
|
77743
|
+
tokenChipStyles: {
|
|
77744
|
+
type: Object,
|
|
77745
|
+
default: () => ({})
|
|
77746
|
+
},
|
|
77747
|
+
tokenSeparator: {
|
|
77748
|
+
type: String,
|
|
77749
|
+
default: "→"
|
|
77750
|
+
},
|
|
77751
|
+
enableTokenChips: {
|
|
77752
|
+
type: Boolean,
|
|
77753
|
+
default: false
|
|
77754
|
+
},
|
|
77755
|
+
containerMinHeight: {
|
|
77756
|
+
type: [String, Number],
|
|
77757
|
+
default: "5rem"
|
|
77758
|
+
},
|
|
77759
|
+
editorMaxHeight: {
|
|
77760
|
+
type: [String, Number],
|
|
77761
|
+
default: "200px"
|
|
77762
|
+
}
|
|
77763
|
+
},
|
|
77764
|
+
data() {
|
|
77765
|
+
return {
|
|
77766
|
+
editorInstance: null,
|
|
77767
|
+
isRenderingTokens: false,
|
|
77768
|
+
rootClickHandler: null,
|
|
77769
|
+
pasteHandler: null,
|
|
77770
|
+
renderedRawContent: "",
|
|
77771
|
+
renderedHtmlContent: "",
|
|
77772
|
+
lastSelectionRange: null,
|
|
77773
|
+
selectionChangeHandler: null,
|
|
77774
|
+
templateVariablesSignature: ""
|
|
77775
|
+
};
|
|
77776
|
+
},
|
|
77777
|
+
watch: {
|
|
77778
|
+
content: {
|
|
77779
|
+
immediate: true,
|
|
77780
|
+
handler(newValue) {
|
|
77781
|
+
const normalized = newValue || "";
|
|
77782
|
+
if (!this.editorInstance) return;
|
|
77783
|
+
if (this.enableTokenChips) {
|
|
77784
|
+
if (this.hasHtmlTags(normalized)) {
|
|
77785
|
+
if (normalized === this.renderedHtmlContent && !this.shouldRetokenizeHtml(normalized)) {
|
|
77786
|
+
return;
|
|
77787
|
+
}
|
|
77788
|
+
this.renderTokensFromHtml(normalized);
|
|
77789
|
+
return;
|
|
77790
|
+
}
|
|
77791
|
+
if (normalized === this.renderedRawContent) return;
|
|
77792
|
+
this.renderTokensFromRaw(normalized);
|
|
77793
|
+
return;
|
|
77794
|
+
}
|
|
77795
|
+
if (normalized === this.renderedHtmlContent) return;
|
|
77796
|
+
this.renderHtmlContent(normalized);
|
|
77797
|
+
}
|
|
77798
|
+
},
|
|
77799
|
+
tokenChipStyles: {
|
|
77800
|
+
deep: true,
|
|
77801
|
+
handler() {
|
|
77802
|
+
if (!this.editorInstance || !this.enableTokenChips) return;
|
|
77803
|
+
this.renderCurrentTokenContent();
|
|
77804
|
+
}
|
|
77805
|
+
},
|
|
77806
|
+
tokenSeparator() {
|
|
77807
|
+
if (!this.editorInstance || !this.enableTokenChips) return;
|
|
77808
|
+
this.renderCurrentTokenContent();
|
|
77809
|
+
},
|
|
77810
|
+
templateVariables: {
|
|
77811
|
+
deep: true,
|
|
77812
|
+
handler(newValue) {
|
|
77813
|
+
if (this.isRenderingTokens) return;
|
|
77814
|
+
const nextSignature = this.buildTemplateVariablesSignature(newValue);
|
|
77815
|
+
this.templateVariablesSignature = nextSignature;
|
|
77816
|
+
if (!this.editorInstance || !this.enableTokenChips) return;
|
|
77817
|
+
this.$nextTick(() => {
|
|
77818
|
+
this.renderCurrentTokenContent();
|
|
77819
|
+
this.$nextTick(() => this.refreshTokenNodes());
|
|
77820
|
+
});
|
|
77821
|
+
}
|
|
77822
|
+
},
|
|
77823
|
+
containerMinHeight() {
|
|
77824
|
+
this.$nextTick(() => this.applyEditorHeights());
|
|
77825
|
+
},
|
|
77826
|
+
editorMaxHeight() {
|
|
77827
|
+
this.$nextTick(() => this.applyEditorHeights());
|
|
77828
|
+
}
|
|
77829
|
+
},
|
|
77830
|
+
methods: {
|
|
77831
|
+
normalizeCssSize(value, fallback) {
|
|
77832
|
+
if (value === null || value === undefined || value === "") {
|
|
77833
|
+
return fallback;
|
|
77834
|
+
}
|
|
77835
|
+
if (typeof value === "number" || !isNaN(Number(value))) {
|
|
77836
|
+
return `${value}px`;
|
|
77837
|
+
}
|
|
77838
|
+
return String(value);
|
|
77839
|
+
},
|
|
77840
|
+
buildTemplateVariablesSignature(variables = []) {
|
|
77841
|
+
return (variables || []).map(item => {
|
|
77842
|
+
const value = item && item.value ? String(item.value) : "";
|
|
77843
|
+
const label = item && item.label ? String(item.label) : "";
|
|
77844
|
+
const group = item && item.group ? String(item.group) : "";
|
|
77845
|
+
return `${value}|${label}|${group}`;
|
|
77846
|
+
}).sort().join("||");
|
|
77847
|
+
},
|
|
77848
|
+
hasHtmlTags(value) {
|
|
77849
|
+
return /<(p|div|span|strong|em|u|s|ol|ul|li|h[1-6]|br|img|a)\b[^>]*>/i.test(value || "");
|
|
77850
|
+
},
|
|
77851
|
+
hasMustacheTokens(value) {
|
|
77852
|
+
TOKEN_PATTERN.lastIndex = 0;
|
|
77853
|
+
return TOKEN_PATTERN.test(value || "");
|
|
77854
|
+
},
|
|
77855
|
+
shouldRetokenizeHtml(htmlContent) {
|
|
77856
|
+
if (!this.hasMustacheTokens(htmlContent)) {
|
|
77857
|
+
return false;
|
|
77858
|
+
}
|
|
77859
|
+
const quill = this.$refs.myQuillEditor && this.$refs.myQuillEditor.quill;
|
|
77860
|
+
if (!quill || !quill.root) {
|
|
77861
|
+
return false;
|
|
77862
|
+
}
|
|
77863
|
+
const tokenCount = quill.root.querySelectorAll("[data-token]").length;
|
|
77864
|
+
return tokenCount === 0;
|
|
77865
|
+
},
|
|
77866
|
+
applyEditorHeights() {
|
|
77867
|
+
const quill = this.$refs.myQuillEditor && this.$refs.myQuillEditor.quill;
|
|
77868
|
+
if (!quill) return;
|
|
77869
|
+
quill.container.style.minHeight = this.normalizeCssSize(this.containerMinHeight, "5rem");
|
|
77870
|
+
quill.root.style.maxHeight = this.normalizeCssSize(this.editorMaxHeight, "200px");
|
|
77871
|
+
},
|
|
77872
|
+
renderHtmlContent(htmlContent) {
|
|
77873
|
+
const quill = this.$refs.myQuillEditor && this.$refs.myQuillEditor.quill;
|
|
77874
|
+
if (!quill) return;
|
|
77875
|
+
this.isRenderingTokens = true;
|
|
77876
|
+
const contentToRender = htmlContent || "";
|
|
77877
|
+
const previousSelection = quill.getSelection() || this.lastSelectionRange;
|
|
77878
|
+
quill.clipboard.dangerouslyPasteHTML(contentToRender, "silent");
|
|
77879
|
+
const length = Math.max(quill.getLength() - 1, 0);
|
|
77880
|
+
const nextIndex = previousSelection ? Math.min(previousSelection.index, length) : length;
|
|
77881
|
+
quill.setSelection(nextIndex, 0, "silent");
|
|
77882
|
+
this.lastSelectionRange = {
|
|
77883
|
+
index: nextIndex,
|
|
77884
|
+
length: 0
|
|
77885
|
+
};
|
|
77886
|
+
this.renderedHtmlContent = contentToRender;
|
|
77887
|
+
this.renderedRawContent = this.extractRawText(quill);
|
|
77888
|
+
this.isRenderingTokens = false;
|
|
77889
|
+
},
|
|
77890
|
+
renderCurrentTokenContent() {
|
|
77891
|
+
const contentToRender = this.content || this.renderedHtmlContent || this.renderedRawContent || "";
|
|
77892
|
+
if (this.hasHtmlTags(contentToRender)) {
|
|
77893
|
+
this.renderTokensFromHtml(contentToRender);
|
|
77894
|
+
return;
|
|
77895
|
+
}
|
|
77896
|
+
this.renderTokensFromRaw(contentToRender);
|
|
77897
|
+
},
|
|
77898
|
+
renderTokensFromHtml(htmlContent) {
|
|
77899
|
+
const quill = this.$refs.myQuillEditor && this.$refs.myQuillEditor.quill;
|
|
77900
|
+
if (!quill) return;
|
|
77901
|
+
const contentToRender = htmlContent || "";
|
|
77902
|
+
const previousSelection = quill.getSelection() || this.lastSelectionRange;
|
|
77903
|
+
const converted = quill.clipboard.convert(contentToRender);
|
|
77904
|
+
const nextDelta = new Delta();
|
|
77905
|
+
(converted.ops || []).forEach(op => {
|
|
77906
|
+
if (typeof op.insert !== "string") {
|
|
77907
|
+
nextDelta.push(op);
|
|
77908
|
+
return;
|
|
77909
|
+
}
|
|
77910
|
+
TOKEN_PATTERN.lastIndex = 0;
|
|
77911
|
+
const tokenRegex = TOKEN_PATTERN;
|
|
77912
|
+
const text = op.insert;
|
|
77913
|
+
let lastIndex = 0;
|
|
77914
|
+
let match = null;
|
|
77915
|
+
while ((match = tokenRegex.exec(text)) !== null) {
|
|
77916
|
+
const plainText = text.slice(lastIndex, match.index);
|
|
77917
|
+
if (plainText) {
|
|
77918
|
+
nextDelta.insert(plainText, op.attributes || undefined);
|
|
77919
|
+
}
|
|
77920
|
+
const tokenKey = (match[1] || "").trim();
|
|
77921
|
+
if (tokenKey) {
|
|
77922
|
+
const isKnownToken = this.isKnownToken(tokenKey);
|
|
77923
|
+
nextDelta.insert({
|
|
77924
|
+
token: {
|
|
77925
|
+
value: tokenKey,
|
|
77926
|
+
label: this.getTokenLabel(tokenKey),
|
|
77927
|
+
group: this.getTokenGroup(tokenKey),
|
|
77928
|
+
style: this.getTokenStyleConfig({
|
|
77929
|
+
isInvalid: !isKnownToken
|
|
77930
|
+
}),
|
|
77931
|
+
separator: this.tokenSeparator
|
|
77932
|
+
}
|
|
77933
|
+
});
|
|
77934
|
+
} else {
|
|
77935
|
+
nextDelta.insert(match[0], op.attributes || undefined);
|
|
77936
|
+
}
|
|
77937
|
+
lastIndex = tokenRegex.lastIndex;
|
|
77938
|
+
}
|
|
77939
|
+
const remainingText = text.slice(lastIndex);
|
|
77940
|
+
if (remainingText) {
|
|
77941
|
+
nextDelta.insert(remainingText, op.attributes || undefined);
|
|
77942
|
+
}
|
|
77943
|
+
});
|
|
77944
|
+
this.isRenderingTokens = true;
|
|
77945
|
+
try {
|
|
77946
|
+
quill.setContents(nextDelta, "silent");
|
|
77947
|
+
const length = Math.max(quill.getLength() - 1, 0);
|
|
77948
|
+
const nextIndex = previousSelection ? Math.min(previousSelection.index, length) : length;
|
|
77949
|
+
quill.setSelection(nextIndex, 0, "silent");
|
|
77950
|
+
this.lastSelectionRange = {
|
|
77951
|
+
index: nextIndex,
|
|
77952
|
+
length: 0
|
|
77953
|
+
};
|
|
77954
|
+
this.renderedHtmlContent = contentToRender;
|
|
77955
|
+
this.renderedRawContent = this.extractRawText(quill);
|
|
77956
|
+
} finally {
|
|
77957
|
+
this.isRenderingTokens = false;
|
|
77958
|
+
}
|
|
77959
|
+
this.$nextTick(() => this.refreshTokenNodes());
|
|
77960
|
+
},
|
|
77961
|
+
onChange(params) {
|
|
77962
|
+
if (this.isRenderingTokens) return;
|
|
77963
|
+
if (!this.enableTokenChips) {
|
|
77964
|
+
const htmlText = params && typeof params.html === "string" ? params.html : "";
|
|
77965
|
+
this.renderedHtmlContent = htmlText;
|
|
77966
|
+
this.renderedRawContent = htmlText;
|
|
77967
|
+
this.$emit("input", htmlText);
|
|
77968
|
+
this.$emit("update:content", htmlText);
|
|
77969
|
+
this.$emit("onEditorChange", {
|
|
77970
|
+
...params,
|
|
77971
|
+
rawText: this.extractRawText(params.quill)
|
|
77972
|
+
});
|
|
77973
|
+
return;
|
|
77974
|
+
}
|
|
77975
|
+
const rawText = this.extractRawText(params.quill);
|
|
77976
|
+
const htmlText = params && typeof params.html === "string" ? params.html : rawText;
|
|
77977
|
+
this.renderedRawContent = rawText;
|
|
77978
|
+
this.renderedHtmlContent = htmlText;
|
|
77979
|
+
this.$emit("input", rawText);
|
|
77980
|
+
this.$emit("update:content", rawText);
|
|
77981
|
+
this.$emit("onEditorChange", {
|
|
77982
|
+
...params,
|
|
77983
|
+
rawText
|
|
77984
|
+
});
|
|
77985
|
+
},
|
|
77986
|
+
onReady(params) {
|
|
77987
|
+
this.editorInstance = params;
|
|
77988
|
+
this.templateVariablesSignature = this.buildTemplateVariablesSignature(this.templateVariables);
|
|
77989
|
+
this.attachSelectionTracking();
|
|
77990
|
+
this.attachTokenRemoveHandler();
|
|
77991
|
+
this.attachPlainTextPasteHandler();
|
|
77992
|
+
const initialContent = this.content || "";
|
|
77993
|
+
if (this.enableTokenChips && !this.hasHtmlTags(initialContent)) {
|
|
77994
|
+
this.renderTokensFromRaw(initialContent);
|
|
77995
|
+
} else if (this.enableTokenChips) {
|
|
77996
|
+
this.renderTokensFromHtml(initialContent);
|
|
77997
|
+
} else {
|
|
77998
|
+
this.renderHtmlContent(initialContent);
|
|
77999
|
+
}
|
|
78000
|
+
this.applyEditorHeights();
|
|
78001
|
+
this.$emit("onEditorReady", params);
|
|
78002
|
+
},
|
|
78003
|
+
handleFocus() {
|
|
78004
|
+
let quill = this.$refs.myQuillEditor.quill;
|
|
78005
|
+
if (quill) {
|
|
78006
|
+
this.$emit("handleFocus", quill);
|
|
78007
|
+
}
|
|
78008
|
+
},
|
|
78009
|
+
onEditorBlur() {
|
|
78010
|
+
this.$emit("onEditorBlur");
|
|
78011
|
+
},
|
|
78012
|
+
insertToken({
|
|
78013
|
+
value,
|
|
78014
|
+
label,
|
|
78015
|
+
group
|
|
78016
|
+
}) {
|
|
78017
|
+
if (!this.enableTokenChips) return;
|
|
78018
|
+
const quill = this.$refs.myQuillEditor && this.$refs.myQuillEditor.quill;
|
|
78019
|
+
if (!quill || !value) return;
|
|
78020
|
+
const selection = quill.getSelection(true) || this.lastSelectionRange;
|
|
78021
|
+
const index = selection ? selection.index : quill.getLength();
|
|
78022
|
+
quill.insertEmbed(index, "token", {
|
|
78023
|
+
value,
|
|
78024
|
+
label: label || this.getTokenLabel(value),
|
|
78025
|
+
group: group || this.getTokenGroup(value),
|
|
78026
|
+
style: this.getTokenStyleConfig(),
|
|
78027
|
+
separator: this.tokenSeparator
|
|
78028
|
+
}, "user");
|
|
78029
|
+
quill.setSelection(index + 1, 0, "silent");
|
|
78030
|
+
this.lastSelectionRange = {
|
|
78031
|
+
index: index + 1,
|
|
78032
|
+
length: 0
|
|
78033
|
+
};
|
|
78034
|
+
},
|
|
78035
|
+
extractRawText(quill) {
|
|
78036
|
+
if (!quill) return "";
|
|
78037
|
+
const delta = quill.getContents();
|
|
78038
|
+
const raw = (delta.ops || []).map(op => {
|
|
78039
|
+
if (typeof op.insert === "string") return op.insert;
|
|
78040
|
+
if (op.insert && op.insert.token) {
|
|
78041
|
+
return `{{${op.insert.token.value}}}`;
|
|
78042
|
+
}
|
|
78043
|
+
return "";
|
|
78044
|
+
}).join("");
|
|
78045
|
+
return raw.endsWith("\n") ? raw.slice(0, -1) : raw;
|
|
78046
|
+
},
|
|
78047
|
+
renderTokensFromRaw(rawText) {
|
|
78048
|
+
const quill = this.$refs.myQuillEditor && this.$refs.myQuillEditor.quill;
|
|
78049
|
+
if (!quill) return;
|
|
78050
|
+
const source = rawText || "";
|
|
78051
|
+
const previousSelection = quill.getSelection() || this.lastSelectionRange;
|
|
78052
|
+
const tokenRegex = /\{\{([^{}]+)\}\}/g;
|
|
78053
|
+
let currentIndex = 0;
|
|
78054
|
+
let lastIndex = 0;
|
|
78055
|
+
let match = null;
|
|
78056
|
+
this.isRenderingTokens = true;
|
|
78057
|
+
quill.setContents([], "silent");
|
|
78058
|
+
while ((match = tokenRegex.exec(source)) !== null) {
|
|
78059
|
+
const plainText = source.slice(lastIndex, match.index);
|
|
78060
|
+
if (plainText) {
|
|
78061
|
+
quill.insertText(currentIndex, plainText, "silent");
|
|
78062
|
+
currentIndex += plainText.length;
|
|
78063
|
+
}
|
|
78064
|
+
const tokenKey = (match[1] || "").trim();
|
|
78065
|
+
if (!tokenKey) {
|
|
78066
|
+
quill.insertText(currentIndex, match[0], "silent");
|
|
78067
|
+
currentIndex += match[0].length;
|
|
78068
|
+
lastIndex = tokenRegex.lastIndex;
|
|
78069
|
+
continue;
|
|
78070
|
+
}
|
|
78071
|
+
const isKnownToken = this.isKnownToken(tokenKey);
|
|
78072
|
+
quill.insertEmbed(currentIndex, "token", {
|
|
78073
|
+
value: tokenKey,
|
|
78074
|
+
label: this.getTokenLabel(tokenKey),
|
|
78075
|
+
group: this.getTokenGroup(tokenKey),
|
|
78076
|
+
style: this.getTokenStyleConfig({
|
|
78077
|
+
isInvalid: !isKnownToken
|
|
78078
|
+
}),
|
|
78079
|
+
separator: this.tokenSeparator
|
|
78080
|
+
}, "silent");
|
|
78081
|
+
currentIndex += 1;
|
|
78082
|
+
lastIndex = tokenRegex.lastIndex;
|
|
78083
|
+
}
|
|
78084
|
+
const remainingText = source.slice(lastIndex);
|
|
78085
|
+
if (remainingText) {
|
|
78086
|
+
quill.insertText(currentIndex, remainingText, "silent");
|
|
78087
|
+
currentIndex += remainingText.length;
|
|
78088
|
+
}
|
|
78089
|
+
const nextIndex = previousSelection ? Math.min(previousSelection.index, currentIndex) : currentIndex;
|
|
78090
|
+
quill.setSelection(nextIndex, 0, "silent");
|
|
78091
|
+
this.lastSelectionRange = {
|
|
78092
|
+
index: nextIndex,
|
|
78093
|
+
length: 0
|
|
78094
|
+
};
|
|
78095
|
+
this.renderedRawContent = source;
|
|
78096
|
+
this.renderedHtmlContent = quill.root.innerHTML;
|
|
78097
|
+
this.isRenderingTokens = false;
|
|
78098
|
+
this.$nextTick(() => this.refreshTokenNodes());
|
|
78099
|
+
},
|
|
78100
|
+
attachSelectionTracking() {
|
|
78101
|
+
const quill = this.$refs.myQuillEditor && this.$refs.myQuillEditor.quill;
|
|
78102
|
+
if (!quill || this.selectionChangeHandler) return;
|
|
78103
|
+
this.selectionChangeHandler = range => {
|
|
78104
|
+
if (range) {
|
|
78105
|
+
this.lastSelectionRange = range;
|
|
78106
|
+
}
|
|
78107
|
+
};
|
|
78108
|
+
quill.on("selection-change", this.selectionChangeHandler);
|
|
78109
|
+
},
|
|
78110
|
+
attachPlainTextPasteHandler() {
|
|
78111
|
+
if (!this.enableTokenChips) return;
|
|
78112
|
+
const quill = this.$refs.myQuillEditor && this.$refs.myQuillEditor.quill;
|
|
78113
|
+
if (!quill || this.pasteHandler) return;
|
|
78114
|
+
this.pasteHandler = event => {
|
|
78115
|
+
const clipboardText = event.clipboardData && event.clipboardData.getData("text/plain");
|
|
78116
|
+
if (typeof clipboardText !== "string") return;
|
|
78117
|
+
event.preventDefault();
|
|
78118
|
+
const selection = quill.getSelection(true) || this.lastSelectionRange;
|
|
78119
|
+
const index = selection ? selection.index : quill.getLength();
|
|
78120
|
+
const length = selection ? selection.length || 0 : 0;
|
|
78121
|
+
const pasteDelta = new Delta().retain(index);
|
|
78122
|
+
if (length > 0) {
|
|
78123
|
+
pasteDelta.delete(length);
|
|
78124
|
+
}
|
|
78125
|
+
TOKEN_PATTERN.lastIndex = 0;
|
|
78126
|
+
const tokenRegex = TOKEN_PATTERN;
|
|
78127
|
+
let lastIndex = 0;
|
|
78128
|
+
let match = null;
|
|
78129
|
+
let insertedLength = 0;
|
|
78130
|
+
while ((match = tokenRegex.exec(clipboardText)) !== null) {
|
|
78131
|
+
const plainText = clipboardText.slice(lastIndex, match.index);
|
|
78132
|
+
if (plainText) {
|
|
78133
|
+
pasteDelta.insert(plainText);
|
|
78134
|
+
insertedLength += plainText.length;
|
|
78135
|
+
}
|
|
78136
|
+
const tokenKey = (match[1] || "").trim();
|
|
78137
|
+
if (tokenKey) {
|
|
78138
|
+
const isKnownToken = this.isKnownToken(tokenKey);
|
|
78139
|
+
pasteDelta.insert({
|
|
78140
|
+
token: {
|
|
78141
|
+
value: tokenKey,
|
|
78142
|
+
label: this.getTokenLabel(tokenKey),
|
|
78143
|
+
group: this.getTokenGroup(tokenKey),
|
|
78144
|
+
style: this.getTokenStyleConfig({
|
|
78145
|
+
isInvalid: !isKnownToken
|
|
78146
|
+
}),
|
|
78147
|
+
separator: this.tokenSeparator
|
|
78148
|
+
}
|
|
78149
|
+
});
|
|
78150
|
+
insertedLength += 1;
|
|
78151
|
+
} else {
|
|
78152
|
+
pasteDelta.insert(match[0]);
|
|
78153
|
+
insertedLength += match[0].length;
|
|
78154
|
+
}
|
|
78155
|
+
lastIndex = tokenRegex.lastIndex;
|
|
78156
|
+
}
|
|
78157
|
+
const remainingText = clipboardText.slice(lastIndex);
|
|
78158
|
+
if (remainingText) {
|
|
78159
|
+
pasteDelta.insert(remainingText);
|
|
78160
|
+
insertedLength += remainingText.length;
|
|
78161
|
+
}
|
|
78162
|
+
quill.updateContents(pasteDelta, "user");
|
|
78163
|
+
const nextIndex = index + insertedLength;
|
|
78164
|
+
quill.setSelection(nextIndex, 0, "silent");
|
|
78165
|
+
this.lastSelectionRange = {
|
|
78166
|
+
index: nextIndex,
|
|
78167
|
+
length: 0
|
|
78168
|
+
};
|
|
78169
|
+
};
|
|
78170
|
+
quill.root.addEventListener("paste", this.pasteHandler);
|
|
78171
|
+
},
|
|
78172
|
+
getTokenLabel(key) {
|
|
78173
|
+
const variable = this.templateVariablesMap.get(key);
|
|
78174
|
+
return variable && variable.label ? variable.label : key;
|
|
78175
|
+
},
|
|
78176
|
+
getTokenGroup(key) {
|
|
78177
|
+
const variable = this.templateVariablesMap.get(key);
|
|
78178
|
+
return variable && variable.group ? variable.group : "Variable";
|
|
78179
|
+
},
|
|
78180
|
+
isKnownToken(key) {
|
|
78181
|
+
return this.templateVariablesMap.has(key);
|
|
78182
|
+
},
|
|
78183
|
+
getTokenStyleConfig({
|
|
78184
|
+
isInvalid = false
|
|
78185
|
+
} = {}) {
|
|
78186
|
+
const baseStyle = isInvalid ? INVALID_TOKEN_STYLE : DEFAULT_TOKEN_STYLE;
|
|
78187
|
+
return {
|
|
78188
|
+
...baseStyle,
|
|
78189
|
+
...this.tokenChipStyles
|
|
78190
|
+
};
|
|
78191
|
+
},
|
|
78192
|
+
refreshTokenNodes() {
|
|
78193
|
+
if (!this.enableTokenChips) return;
|
|
78194
|
+
const quill = this.$refs.myQuillEditor && this.$refs.myQuillEditor.quill;
|
|
78195
|
+
if (!quill || !quill.root) return;
|
|
78196
|
+
const tokenNodes = quill.root.querySelectorAll("[data-token]");
|
|
78197
|
+
tokenNodes.forEach(node => {
|
|
78198
|
+
const value = (node.getAttribute("data-token") || "").trim();
|
|
78199
|
+
if (!value) return;
|
|
78200
|
+
const variable = (this.templateVariables || []).find(item => item.value === value);
|
|
78201
|
+
const isInvalid = !variable;
|
|
78202
|
+
const separator = node.getAttribute("data-separator") || this.tokenSeparator;
|
|
78203
|
+
const group = variable && variable.group || node.getAttribute("data-group") || "Variable";
|
|
78204
|
+
const label = variable && variable.label || node.getAttribute("data-label") || value;
|
|
78205
|
+
const tokenStyle = this.getTokenStyleConfig({
|
|
78206
|
+
isInvalid
|
|
78207
|
+
});
|
|
78208
|
+
node.setAttribute("data-label", label);
|
|
78209
|
+
node.setAttribute("data-group", group);
|
|
78210
|
+
node.setAttribute("data-separator", separator);
|
|
78211
|
+
node.setAttribute("data-token-style", JSON.stringify(tokenStyle));
|
|
78212
|
+
node.innerHTML = "";
|
|
78213
|
+
node.appendChild(createTokenChipContent({
|
|
78214
|
+
tokenStyle,
|
|
78215
|
+
tokenGroup: group,
|
|
78216
|
+
tokenSeparator: separator,
|
|
78217
|
+
tokenLabel: label
|
|
78218
|
+
}));
|
|
78219
|
+
});
|
|
78220
|
+
},
|
|
78221
|
+
attachTokenRemoveHandler() {
|
|
78222
|
+
if (!this.enableTokenChips) return;
|
|
78223
|
+
const quill = this.$refs.myQuillEditor && this.$refs.myQuillEditor.quill;
|
|
78224
|
+
if (!quill || this.rootClickHandler) return;
|
|
78225
|
+
this.rootClickHandler = event => {
|
|
78226
|
+
const removeTarget = event.target.closest("[data-token-remove='true']");
|
|
78227
|
+
if (!removeTarget) return;
|
|
78228
|
+
event.preventDefault();
|
|
78229
|
+
event.stopPropagation();
|
|
78230
|
+
const tokenNode = removeTarget.closest("[data-token]");
|
|
78231
|
+
if (!tokenNode) return;
|
|
78232
|
+
const blot = quill_default.a.find(tokenNode);
|
|
78233
|
+
if (!blot) return;
|
|
78234
|
+
const index = quill.getIndex(blot);
|
|
78235
|
+
quill.deleteText(index, 1, "user");
|
|
78236
|
+
};
|
|
78237
|
+
quill.root.addEventListener("click", this.rootClickHandler);
|
|
78238
|
+
}
|
|
78239
|
+
},
|
|
78240
|
+
beforeDestroy() {
|
|
78241
|
+
this.isRenderingTokens = false;
|
|
78242
|
+
const quill = this.$refs.myQuillEditor && this.$refs.myQuillEditor.quill;
|
|
78243
|
+
if (quill && this.rootClickHandler) {
|
|
78244
|
+
quill.root.removeEventListener("click", this.rootClickHandler);
|
|
78245
|
+
}
|
|
78246
|
+
if (quill && this.pasteHandler) {
|
|
78247
|
+
quill.root.removeEventListener("paste", this.pasteHandler);
|
|
78248
|
+
}
|
|
78249
|
+
if (quill && this.selectionChangeHandler) {
|
|
78250
|
+
quill.off("selection-change", this.selectionChangeHandler);
|
|
78251
|
+
}
|
|
78252
|
+
},
|
|
78253
|
+
computed: {
|
|
78254
|
+
templateVariablesMap() {
|
|
78255
|
+
const map = new Map();
|
|
78256
|
+
(this.templateVariables || []).forEach(v => {
|
|
78257
|
+
if (v && v.value) map.set(v.value, v);
|
|
78258
|
+
});
|
|
78259
|
+
return map;
|
|
78260
|
+
},
|
|
78261
|
+
editorOption() {
|
|
78262
|
+
const hasToolbar = Array.isArray(this.toolbarOptions) && this.toolbarOptions.length > 0;
|
|
78263
|
+
return {
|
|
78264
|
+
modules: {
|
|
78265
|
+
toolbar: hasToolbar ? {
|
|
78266
|
+
container: this.toolbarOptions
|
|
78267
|
+
} : false
|
|
78268
|
+
},
|
|
78269
|
+
placeholder: this.placeholder
|
|
78270
|
+
};
|
|
78271
|
+
}
|
|
78272
|
+
}
|
|
78273
|
+
});
|
|
78274
|
+
// CONCATENATED MODULE: ./src/components/CTokenEditor/CTokenEditor.vue?vue&type=script&lang=js&
|
|
78275
|
+
/* harmony default export */ var CTokenEditor_CTokenEditorvue_type_script_lang_js_ = (CTokenEditorvue_type_script_lang_js_);
|
|
78276
|
+
// EXTERNAL MODULE: ./src/components/CTokenEditor/CTokenEditor.vue?vue&type=style&index=0&lang=css&
|
|
78277
|
+
var CTokenEditorvue_type_style_index_0_lang_css_ = __webpack_require__("387a");
|
|
78278
|
+
|
|
78279
|
+
// CONCATENATED MODULE: ./src/components/CTokenEditor/CTokenEditor.vue
|
|
78280
|
+
|
|
78281
|
+
|
|
78282
|
+
|
|
78283
|
+
|
|
78284
|
+
|
|
78285
|
+
|
|
78286
|
+
/* normalize component */
|
|
78287
|
+
|
|
78288
|
+
var CTokenEditor_component = normalizeComponent(
|
|
78289
|
+
CTokenEditor_CTokenEditorvue_type_script_lang_js_,
|
|
78290
|
+
CTokenEditorvue_type_template_id_2e80b552_render,
|
|
78291
|
+
CTokenEditorvue_type_template_id_2e80b552_staticRenderFns,
|
|
78292
|
+
false,
|
|
78293
|
+
null,
|
|
78294
|
+
null,
|
|
78295
|
+
null
|
|
78296
|
+
|
|
78297
|
+
)
|
|
78298
|
+
|
|
78299
|
+
/* harmony default export */ var CTokenEditor = (CTokenEditor_component.exports);
|
|
78300
|
+
// CONCATENATED MODULE: ./src/components/CTokenEditor/index.js
|
|
78301
|
+
|
|
78302
|
+
/* harmony default export */ var components_CTokenEditor = (CTokenEditor);
|
|
77439
78303
|
// CONCATENATED MODULE: ./src/components/index.js
|
|
77440
78304
|
|
|
77441
78305
|
|
|
@@ -77494,6 +78358,7 @@ var CAlertModal_component = normalizeComponent(
|
|
|
77494
78358
|
|
|
77495
78359
|
|
|
77496
78360
|
|
|
78361
|
+
|
|
77497
78362
|
|
|
77498
78363
|
|
|
77499
78364
|
// CONCATENATED MODULE: ./node_modules/v-scroll-lock/dist/v-scroll-lock.esm.js
|