classcard-ui 0.2.301 → 0.2.302
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 +31 -21
- package/dist/classcard-ui.common.js.map +1 -1
- package/dist/classcard-ui.umd.js +31 -21
- package/dist/classcard-ui.umd.js.map +1 -1
- package/dist/classcard-ui.umd.min.js +1 -1
- package/dist/classcard-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/CDatepicker/CDatepicker.vue +17 -10
- package/src/components/CMultiselect/CMultiselect.vue +18 -18
|
@@ -89637,21 +89637,21 @@ var CColorDots_component = normalizeComponent(
|
|
|
89637
89637
|
// CONCATENATED MODULE: ./src/components/CColorDots/index.js
|
|
89638
89638
|
|
|
89639
89639
|
/* harmony default export */ var components_CColorDots = (CColorDots);
|
|
89640
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7ab675ec-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=
|
|
89641
|
-
var
|
|
89640
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7ab675ec-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=7ba10cf0&
|
|
89641
|
+
var CDatepickervue_type_template_id_7ba10cf0_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"flex items-center"},[(_vm.label)?_c('div',[_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()]),_c('v-date-picker',{class:{ 'inline-block h-full': true, 'w-full': _vm.isExpanded },attrs:{"masks":_vm.masks,"value":_vm.value,"min-date":_vm.minDate,"firstDayOfWeek":"2"},on:{"input":_vm.onDayClick},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
89642
89642
|
var inputValue = ref.inputValue;
|
|
89643
89643
|
var togglePopover = ref.togglePopover;
|
|
89644
|
-
return [_c('div',{staticClass:"flex items-center
|
|
89645
|
-
_vm.disabled ? 'border-gray-100
|
|
89646
|
-
'
|
|
89644
|
+
return [_c('div',{staticClass:"mt-1 flex items-center"},[_c('button',{class:[
|
|
89645
|
+
_vm.disabled ? 'pointer-events-none border-gray-100' : 'border-gray-300',
|
|
89646
|
+
'bg-blue-100 hover:bg-blue-200 text-blue-600 focus:bg-blue-500 focus:border-blue-500 focus:outline-none rounded-l-md border p-2 shadow-sm focus:text-white' ],attrs:{"type":"button"},on:{"click":function($event){return togglePopover()}}},[_c('c-icon',{class:[_vm.disabled ? 'text-gray-200' : 'text-gray-400', 'h-5 w-5 '],attrs:{"name":"calendar-solid","type":"solid"}})],1),_c('input',{class:[
|
|
89647
89647
|
_vm.disabled
|
|
89648
|
-
? 'border-
|
|
89649
|
-
: 'border-
|
|
89650
|
-
'
|
|
89651
|
-
var
|
|
89648
|
+
? 'border-l-0 border-gray-100 text-gray-400'
|
|
89649
|
+
: 'border-l-0 border-gray-300 text-gray-900',
|
|
89650
|
+
'focus:outline-none focus:border-blue-500 w-full appearance-none rounded-r-md border bg-white p-2 text-sm shadow-sm' ],attrs:{"readonly":_vm.disabled},domProps:{"value":inputValue},on:{"click":function($event){return togglePopover()}}})])]}}])}),(_vm.helpText)?_c('p',{staticClass:"mt-1 text-sm text-gray-500"},[_vm._v(" "+_vm._s(_vm.helpText)+" ")]):_vm._e()],1)}
|
|
89651
|
+
var CDatepickervue_type_template_id_7ba10cf0_staticRenderFns = []
|
|
89652
89652
|
|
|
89653
89653
|
|
|
89654
|
-
// CONCATENATED MODULE: ./src/components/CDatepicker/CDatepicker.vue?vue&type=template&id=
|
|
89654
|
+
// CONCATENATED MODULE: ./src/components/CDatepicker/CDatepicker.vue?vue&type=template&id=7ba10cf0&
|
|
89655
89655
|
|
|
89656
89656
|
// EXTERNAL MODULE: ./node_modules/v-calendar/lib/components/date-picker.umd.js
|
|
89657
89657
|
var date_picker_umd = __webpack_require__("404b");
|
|
@@ -89707,6 +89707,10 @@ var date_picker_umd_default = /*#__PURE__*/__webpack_require__.n(date_picker_umd
|
|
|
89707
89707
|
//
|
|
89708
89708
|
//
|
|
89709
89709
|
//
|
|
89710
|
+
//
|
|
89711
|
+
//
|
|
89712
|
+
//
|
|
89713
|
+
//
|
|
89710
89714
|
//
|
|
89711
89715
|
// import Calendar from "v-calendar/lib/components/calendar.umd";
|
|
89712
89716
|
|
|
@@ -89722,6 +89726,9 @@ var date_picker_umd_default = /*#__PURE__*/__webpack_require__.n(date_picker_umd
|
|
|
89722
89726
|
classes: {
|
|
89723
89727
|
type: String
|
|
89724
89728
|
},
|
|
89729
|
+
isRequired: {
|
|
89730
|
+
type: Boolean
|
|
89731
|
+
},
|
|
89725
89732
|
label: {
|
|
89726
89733
|
type: String
|
|
89727
89734
|
},
|
|
@@ -89770,8 +89777,8 @@ var date_picker_umd_default = /*#__PURE__*/__webpack_require__.n(date_picker_umd
|
|
|
89770
89777
|
|
|
89771
89778
|
var CDatepicker_component = normalizeComponent(
|
|
89772
89779
|
CDatepicker_CDatepickervue_type_script_lang_js_,
|
|
89773
|
-
|
|
89774
|
-
|
|
89780
|
+
CDatepickervue_type_template_id_7ba10cf0_render,
|
|
89781
|
+
CDatepickervue_type_template_id_7ba10cf0_staticRenderFns,
|
|
89775
89782
|
false,
|
|
89776
89783
|
null,
|
|
89777
89784
|
null,
|
|
@@ -91804,20 +91811,20 @@ var CModuleHelpLinks_component = normalizeComponent(
|
|
|
91804
91811
|
// CONCATENATED MODULE: ./src/components/CModuleHelpLinks/index.js
|
|
91805
91812
|
|
|
91806
91813
|
/* harmony default export */ var components_CModuleHelpLinks = (CModuleHelpLinks);
|
|
91807
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7ab675ec-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=
|
|
91808
|
-
var
|
|
91814
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7ab675ec-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=fa710ee8&
|
|
91815
|
+
var CMultiselectvue_type_template_id_fa710ee8_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_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.subLabel)?_c('p',{staticClass:"text-sm text-gray-500"},[_vm._v(_vm._s(_vm.subLabel))]):_vm._e(),_c('v-select',{staticClass:"mt-1 text-sm",attrs:{"placeholder":_vm.placeholder,"multiple":_vm.isMultiple,"taggable":_vm.isTaggable,"push-tags":_vm.pushTags,"filterable":_vm.filterable,"options":_vm.options,"label":_vm.optionLabel,"clearable":_vm.clearable,"loading":_vm.loading},on:{"input":_vm.setSelectedOptions,"search":_vm.fetchOptions,"search:focus":function($event){return _vm.$emit('search:focus')}},scopedSlots:_vm._u([{key:"open-indicator",fn:function(ref){
|
|
91809
91816
|
var attributes = ref.attributes;
|
|
91810
|
-
return [_c('span',_vm._b({},'span',attributes,false),[_c('svg',{staticClass:"h-5 w-5 text-gray-400
|
|
91817
|
+
return [_c('span',_vm._b({},'span',attributes,false),[_c('svg',{staticClass:"h-5 w-5 cursor-pointer text-gray-400",attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 20 20","fill":"currentColor"}},[_c('path',{attrs:{"fill-rule":"evenodd","d":"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd"}})])])]}},{key:"no-options",fn:function(ref){
|
|
91811
91818
|
var search = ref.search;
|
|
91812
91819
|
var searching = ref.searching;
|
|
91813
91820
|
var loading = ref.loading;
|
|
91814
91821
|
return [(search.length < 1)?_c('span',[_vm._v("Start typing to search for options...")]):_c('span',[_vm._v("No options found, try searching something else.")])]}},{key:"spinner",fn:function(ref){
|
|
91815
91822
|
var loading = ref.loading;
|
|
91816
|
-
return [(loading)?_c('svg',{staticClass:"
|
|
91817
|
-
var
|
|
91823
|
+
return [(loading)?_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.showOptionImage)?{key:"option",fn:function(option){return [_c('div',{staticClass:"flex items-center"},[(option.image)?_c('c-avatar',{staticClass:"mr-2",attrs:{"size":"extraextrasmall","image":option.image,"rounded":true}}):_c('c-avatar',{staticClass:"mr-2",attrs:{"size":"extraextrasmall","nameInitials":option.initials,"rounded":true}}),_c('p',[_vm._v(_vm._s(option[_vm.optionLabel]))])],1)]}}:null],null,true),model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}}),(!_vm.isValidate)?_c('p',{staticClass:"mt-2 text-sm text-red-600"},[_vm._v(" "+_vm._s(_vm.errorMessage)+" ")]):_vm._e()],1)}
|
|
91824
|
+
var CMultiselectvue_type_template_id_fa710ee8_staticRenderFns = []
|
|
91818
91825
|
|
|
91819
91826
|
|
|
91820
|
-
// CONCATENATED MODULE: ./src/components/CMultiselect/CMultiselect.vue?vue&type=template&id=
|
|
91827
|
+
// CONCATENATED MODULE: ./src/components/CMultiselect/CMultiselect.vue?vue&type=template&id=fa710ee8&
|
|
91821
91828
|
|
|
91822
91829
|
// EXTERNAL MODULE: ./node_modules/vue-select/dist/vue-select.js
|
|
91823
91830
|
var vue_select = __webpack_require__("4a7a");
|
|
@@ -91939,6 +91946,9 @@ var dist_vue_select = __webpack_require__("6dfc");
|
|
|
91939
91946
|
required: true
|
|
91940
91947
|
},
|
|
91941
91948
|
label: String,
|
|
91949
|
+
isRequired: {
|
|
91950
|
+
type: Boolean
|
|
91951
|
+
},
|
|
91942
91952
|
subLabel: String,
|
|
91943
91953
|
placeholder: {
|
|
91944
91954
|
type: String,
|
|
@@ -91976,7 +91986,7 @@ var dist_vue_select = __webpack_require__("6dfc");
|
|
|
91976
91986
|
type: Function
|
|
91977
91987
|
},
|
|
91978
91988
|
optionsSelected: {
|
|
91979
|
-
type: Array
|
|
91989
|
+
type: [Array, Object]
|
|
91980
91990
|
},
|
|
91981
91991
|
filterable: {
|
|
91982
91992
|
type: Boolean,
|
|
@@ -92036,8 +92046,8 @@ var CMultiselectvue_type_style_index_0_lang_css_ = __webpack_require__("3892");
|
|
|
92036
92046
|
|
|
92037
92047
|
var CMultiselect_component = normalizeComponent(
|
|
92038
92048
|
CMultiselect_CMultiselectvue_type_script_lang_js_,
|
|
92039
|
-
|
|
92040
|
-
|
|
92049
|
+
CMultiselectvue_type_template_id_fa710ee8_render,
|
|
92050
|
+
CMultiselectvue_type_template_id_fa710ee8_staticRenderFns,
|
|
92041
92051
|
false,
|
|
92042
92052
|
null,
|
|
92043
92053
|
null,
|