quasar-ui-sellmate-ui-kit 3.14.5 → 3.14.7

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/index.umd.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * quasar-ui-sellmate-ui-kit v3.14.4
2
+ * quasar-ui-sellmate-ui-kit v3.14.6
3
3
  * (c) 2025 Sellmate Dev Team <dev@sellmate.co.kr>
4
4
  * Released under the MIT License.
5
5
  */
@@ -140,7 +140,7 @@
140
140
  }, 8, ["color", "class"]))
141
141
  }
142
142
 
143
- var css_248z$H = ".s-button.q-btn {\n min-height: 0;\n height: fit-content;\n justify-content: center;\n}\n.s-button.q-btn.icon-with > .q-btn__content {\n align-items: center;\n}\n.s-button.q-btn.icon-only {\n padding: 5px;\n}\n.s-button.q-btn > .q-btn__content {\n height: 100%;\n}\n.s-button.q-btn > .q-btn__content > span {\n height: 100%;\n}\n.s-button:hover.q-focusable:focus > .q-focus-helper, .s-button:hover.q-manual-focusable--focused > .q-focus-helper, .s-button:hover.q-hoverable:hover > .q-focus-helper {\n opacity: 0.3;\n transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.5, 1);\n}\n.s-button:hover.q-focusable:focus > .q-focus-helper:before, .s-button:hover.q-manual-focusable--focused > .q-focus-helper:before, .s-button:hover.q-hoverable:hover > .q-focus-helper:before {\n opacity: 1.4;\n transition: none;\n}\n.s-button:hover.q-focusable:focus > .q-focus-helper:after, .s-button:hover.q-manual-focusable--focused > .q-focus-helper:after, .s-button:hover.q-hoverable:hover > .q-focus-helper:after {\n opacity: 0;\n transition: none;\n}\n.s-button.q-btn--outline:hover.q-focusable:focus > .q-focus-helper:before, .s-button.q-btn--outline:hover.q-manual-focusable--focused > .q-focus-helper:before, .s-button.q-btn--outline:hover.q-hoverable:hover > .q-focus-helper:before {\n opacity: 0;\n}\n.s-button.q-btn--outline:hover.q-focusable:focus > .q-focus-helper:after, .s-button.q-btn--outline:hover.q-manual-focusable--focused > .q-focus-helper:after, .s-button.q-btn--outline:hover.q-hoverable:hover > .q-focus-helper:after {\n opacity: 0.55;\n}\n.s-button.bg-primary, .s-button.bg-Blue_B_Darken-3 {\n font-weight: 500 !important;\n}\n.s-button-xs.q-btn {\n height: 24px;\n padding: 2px 8px !important;\n font-weight: 400;\n font-size: 12px;\n line-height: 20px;\n min-width: 60px;\n}\n.s-button-xs.q-btn.icon-with {\n padding: 2px 12px 2px 10px !important;\n}\n.s-button-xs.q-btn.icon-with .q-icon {\n font-size: 1em;\n}\n.s-button-xs.q-btn.icon-with .on-left {\n margin-right: 4px;\n}\n.s-button-xs.q-btn.icon-only {\n min-width: 24px;\n min-height: 24px;\n padding: 4px !important;\n}\n.s-button-xs.q-btn.icon-only .q-icon {\n font-size: 1.334em;\n}\n.s-button-xs.q-btn > .q-btn__content {\n height: 20px;\n}\n.s-button-sm.q-btn {\n height: 28px;\n padding: 4px 12px !important;\n font-weight: 400;\n font-size: 12px;\n line-height: 20px;\n min-width: 70px;\n}\n.s-button-sm.q-btn.icon-with {\n padding: 4px 12px 4px 10px !important;\n}\n.s-button-sm.q-btn.icon-with .q-icon {\n font-size: 1.334em;\n}\n.s-button-sm.q-btn.icon-with .on-left {\n margin-right: 4px;\n}\n.s-button-sm.q-btn.icon-only {\n min-width: 28px;\n min-height: 28px;\n padding: 6px !important;\n}\n.s-button-sm.q-btn.icon-only .q-icon {\n font-size: 1.334em;\n}\n.s-button-sm.q-btn > .q-btn__content {\n height: 20px;\n}\n.s-button-md {\n padding: 4px 20px !important;\n font-weight: 400;\n font-size: 16px;\n line-height: 1.625em;\n min-width: 100px;\n}\n.s-button-md.icon-with {\n padding: 4px 20px 4px 16px !important;\n}\n.s-button-md.icon-with .q-icon {\n font-size: 1.5em;\n}\n.s-button-md.icon-with .on-left {\n margin-right: 8px;\n}\n.s-button-md.icon-only {\n min-width: 34px;\n min-height: 34px;\n padding: 5px !important;\n}\n.s-button-md.icon-only .q-icon {\n font-size: 1.5em;\n}\n.s-button-md > .q-btn__content {\n max-height: 1.625em;\n}\n.s-button.q-btn--outline.disabled,\n.s-button.disabled {\n background: #e1e1e1 !important;\n opacity: 1 !important;\n color: #888888 !important;\n border: none !important;\n}\n.s-button.q-btn--outline.disabled:before,\n.s-button.disabled:before {\n border: 1px solid #cccccc;\n}\n.s-button.text-only {\n background: none !important;\n padding: 0 !important;\n min-width: 0;\n}\n.s-button.underline {\n text-decoration: underline;\n}";
143
+ var css_248z$H = ".s-button {\n font-weight: 500;\n}\n.s-button.q-btn {\n min-height: 0;\n height: fit-content;\n justify-content: center;\n}\n.s-button.q-btn.icon-with > .q-btn__content {\n align-items: center;\n}\n.s-button.q-btn.icon-only {\n padding: 5px;\n}\n.s-button.q-btn > .q-btn__content {\n height: 100%;\n}\n.s-button.q-btn > .q-btn__content > span {\n height: 100%;\n}\n.s-button:hover.q-focusable:focus > .q-focus-helper, .s-button:hover.q-manual-focusable--focused > .q-focus-helper, .s-button:hover.q-hoverable:hover > .q-focus-helper {\n opacity: 0.3;\n transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.5, 1);\n}\n.s-button:hover.q-focusable:focus > .q-focus-helper:before, .s-button:hover.q-manual-focusable--focused > .q-focus-helper:before, .s-button:hover.q-hoverable:hover > .q-focus-helper:before {\n opacity: 1.4;\n transition: none;\n}\n.s-button:hover.q-focusable:focus > .q-focus-helper:after, .s-button:hover.q-manual-focusable--focused > .q-focus-helper:after, .s-button:hover.q-hoverable:hover > .q-focus-helper:after {\n opacity: 0;\n transition: none;\n}\n.s-button.q-btn--outline:hover.q-focusable:focus > .q-focus-helper:before, .s-button.q-btn--outline:hover.q-manual-focusable--focused > .q-focus-helper:before, .s-button.q-btn--outline:hover.q-hoverable:hover > .q-focus-helper:before {\n opacity: 0;\n}\n.s-button.q-btn--outline:hover.q-focusable:focus > .q-focus-helper:after, .s-button.q-btn--outline:hover.q-manual-focusable--focused > .q-focus-helper:after, .s-button.q-btn--outline:hover.q-hoverable:hover > .q-focus-helper:after {\n opacity: 0.55;\n}\n.s-button-xs.q-btn {\n height: 24px;\n padding: 2px 8px !important;\n font-size: 12px;\n line-height: 20px;\n min-width: 60px;\n}\n.s-button-xs.q-btn.icon-with {\n padding: 2px 12px 2px 10px !important;\n}\n.s-button-xs.q-btn.icon-with .q-icon {\n font-size: 1em;\n}\n.s-button-xs.q-btn.icon-with .on-left {\n margin-right: 4px;\n}\n.s-button-xs.q-btn.icon-only {\n min-width: 24px;\n min-height: 24px;\n padding: 4px !important;\n}\n.s-button-xs.q-btn.icon-only .q-icon {\n font-size: 1.334em;\n}\n.s-button-xs.q-btn > .q-btn__content {\n height: 20px;\n}\n.s-button-sm.q-btn {\n height: 28px;\n padding: 4px 12px !important;\n font-size: 12px;\n line-height: 20px;\n min-width: 70px;\n}\n.s-button-sm.q-btn.icon-with {\n padding: 4px 12px 4px 10px !important;\n}\n.s-button-sm.q-btn.icon-with .q-icon {\n font-size: 1.334em;\n}\n.s-button-sm.q-btn.icon-with .on-left {\n margin-right: 4px;\n}\n.s-button-sm.q-btn.icon-only {\n min-width: 28px;\n min-height: 28px;\n padding: 6px !important;\n}\n.s-button-sm.q-btn.icon-only .q-icon {\n font-size: 1.334em;\n}\n.s-button-sm.q-btn > .q-btn__content {\n height: 20px;\n}\n.s-button-md {\n padding: 4px 20px !important;\n font-size: 16px;\n line-height: 1.625em;\n min-width: 100px;\n}\n.s-button-md.icon-with {\n padding: 4px 20px 4px 16px !important;\n}\n.s-button-md.icon-with .q-icon {\n font-size: 1.5em;\n}\n.s-button-md.icon-with .on-left {\n margin-right: 8px;\n}\n.s-button-md.icon-only {\n min-width: 34px;\n min-height: 34px;\n padding: 5px !important;\n}\n.s-button-md.icon-only .q-icon {\n font-size: 1.5em;\n}\n.s-button-md > .q-btn__content {\n max-height: 1.625em;\n}\n.s-button.q-btn--outline {\n font-weight: 400;\n}\n.s-button.q-btn--outline.disabled,\n.s-button.disabled {\n background: #e1e1e1 !important;\n opacity: 1 !important;\n color: #888888 !important;\n border: none !important;\n}\n.s-button.q-btn--outline.disabled:before,\n.s-button.disabled:before {\n border: 1px solid #cccccc;\n}\n.s-button.text-only {\n font-weight: 400;\n background: none !important;\n padding: 0 !important;\n min-width: 0;\n}\n.s-button.underline {\n text-decoration: underline;\n}";
144
144
  styleInject(css_248z$H);
145
145
 
146
146
  script$I.render = render$I;
@@ -1036,11 +1036,11 @@
1036
1036
 
1037
1037
  var _hoisted_1$p = { class: "date-picker-label" };
1038
1038
  var _hoisted_2$i = { class: "flex no-wrap items-center" };
1039
- var _hoisted_3$c = {
1039
+ var _hoisted_3$b = {
1040
1040
  key: 1,
1041
1041
  class: "text-center text-Grey_Darken-4 date-str"
1042
1042
  };
1043
- var _hoisted_4$9 = /*#__PURE__*/vue.createElementVNode("span", {
1043
+ var _hoisted_4$8 = /*#__PURE__*/vue.createElementVNode("span", {
1044
1044
  class: "q-mx-xs",
1045
1045
  style: {"min-width":"0"}
1046
1046
  }, "~", -1);
@@ -1145,8 +1145,8 @@
1145
1145
  mask: "####-##-##",
1146
1146
  class: "inner-input"
1147
1147
  }, null, 8, ["modelValue"]))
1148
- : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$c, vue.toDisplayString(_ctx.dateValue.from), 1)),
1149
- _hoisted_4$9,
1148
+ : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$b, vue.toDisplayString(_ctx.dateValue.from), 1)),
1149
+ _hoisted_4$8,
1150
1150
  (_ctx.useInput)
1151
1151
  ? (vue.openBlock(), vue.createBlock(_component_q_input, {
1152
1152
  key: 2,
@@ -2266,7 +2266,7 @@
2266
2266
 
2267
2267
  var _hoisted_1$m = ["innerHTML"];
2268
2268
  var _hoisted_2$h = ["innerHTML"];
2269
- var _hoisted_3$b = { key: 0 };
2269
+ var _hoisted_3$a = { key: 0 };
2270
2270
 
2271
2271
  function render$w(_ctx, _cache, $props, $setup, $data, $options) {
2272
2272
  var _component_s_help_message = vue.resolveComponent("s-help-message", true);
@@ -2284,7 +2284,7 @@
2284
2284
  innerHTML: _ctx.message[0]
2285
2285
  }, null, 8, _hoisted_2$h),
2286
2286
  (_ctx.message.length > 1)
2287
- ? (vue.openBlock(), vue.createElementBlock("ul", _hoisted_3$b, [
2287
+ ? (vue.openBlock(), vue.createElementBlock("ul", _hoisted_3$a, [
2288
2288
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.message.slice(1), function (msg, idx) {
2289
2289
  return (vue.openBlock(), vue.createBlock(_component_s_help_message, {
2290
2290
  key: idx,
@@ -2497,11 +2497,11 @@
2497
2497
  key: 1,
2498
2498
  class: "input-addon bg-Grey_Lighten-5"
2499
2499
  };
2500
- var _hoisted_3$a = {
2500
+ var _hoisted_3$9 = {
2501
2501
  key: 0,
2502
2502
  class: "self-center"
2503
2503
  };
2504
- var _hoisted_4$8 = {
2504
+ var _hoisted_4$7 = {
2505
2505
  key: 1,
2506
2506
  class: "self-center"
2507
2507
  };
@@ -2569,8 +2569,8 @@
2569
2569
  fn: vue.withCtx(function () { return [
2570
2570
  vue.renderSlot(_ctx.$slots, "beforeCounter"),
2571
2571
  (_ctx.maxByte)
2572
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$a, vue.toDisplayString(_ctx.model ? _ctx.getByte(_ctx.model) : 0) + " / " + vue.toDisplayString(_ctx.maxByte) + " byte ", 1))
2573
- : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$8, vue.toDisplayString(_ctx.model ? _ctx.getByte(_ctx.model) : 0) + " byte", 1))
2572
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$9, vue.toDisplayString(_ctx.model ? _ctx.getByte(_ctx.model) : 0) + " / " + vue.toDisplayString(_ctx.maxByte) + " byte ", 1))
2573
+ : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$7, vue.toDisplayString(_ctx.model ? _ctx.getByte(_ctx.model) : 0) + " byte", 1))
2574
2574
  ]; }),
2575
2575
  key: "1"
2576
2576
  }
@@ -2972,7 +2972,7 @@
2972
2972
  class: "pagination-last_page",
2973
2973
  flat: ""
2974
2974
  };
2975
- var _hoisted_3$9 = /*#__PURE__*/vue.createElementVNode("span", null, "/", -1);
2975
+ var _hoisted_3$8 = /*#__PURE__*/vue.createElementVNode("span", null, "/", -1);
2976
2976
 
2977
2977
  function render$p(_ctx, _cache, $props, $setup, $data, $options) {
2978
2978
  var _component_q_btn = vue.resolveComponent("q-btn");
@@ -3034,7 +3034,7 @@
3034
3034
  }), 128)),
3035
3035
  (_ctx.perPage === 1)
3036
3036
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$e, [
3037
- _hoisted_3$9,
3037
+ _hoisted_3$8,
3038
3038
  vue.createTextVNode(),
3039
3039
  vue.createElementVNode("span", null, vue.toDisplayString(_ctx.paginationInfo.lastPage), 1)
3040
3040
  ]))
@@ -3757,7 +3757,7 @@
3757
3757
  required: true,
3758
3758
  },
3759
3759
  modelValue: {
3760
- type: [String, Number, null],
3760
+ type: [String, Number, null, Object],
3761
3761
  required: true,
3762
3762
  },
3763
3763
  optionLabel: {
@@ -3770,7 +3770,7 @@
3770
3770
  },
3771
3771
  placeholder: {
3772
3772
  type: String,
3773
- default: '전체',
3773
+ default: '선택',
3774
3774
  },
3775
3775
  noData: {
3776
3776
  type: String,
@@ -3779,18 +3779,12 @@
3779
3779
  popupContentClass: {
3780
3780
  type: String,
3781
3781
  },
3782
- noSelected: {
3783
- type: String,
3784
- default: '선택',
3785
- },
3786
3782
  },
3787
3783
  setup: function setup(props, ref$1) {
3788
3784
  var emit = ref$1.emit;
3789
3785
 
3790
3786
  var id = quasar.useId();
3791
3787
  var model = vue.ref(props.modelValue);
3792
- var filteredOptions = vue.ref(props.options || []);
3793
-
3794
3788
  var search = vue.ref('');
3795
3789
  var sSelectRef = vue.ref(null);
3796
3790
 
@@ -3802,13 +3796,10 @@
3802
3796
 
3803
3797
  function handleInput(val) {
3804
3798
  if (!sSelectRef.value) { return; }
3805
-
3806
3799
  search.value = val;
3807
3800
  sSelectRef.value.setOptionIndex(-1);
3808
-
3809
- if (!val && props.options) {
3810
- filteredOptions.value = props.options;
3811
- sSelectRef.value.setOptionIndex(-1);
3801
+ if (!val) {
3802
+ emit('onSearch', val);
3812
3803
  }
3813
3804
  }
3814
3805
 
@@ -3819,58 +3810,24 @@
3819
3810
  emit('onSearch', '');
3820
3811
  }
3821
3812
 
3822
- var onSearch = quasar.debounce(function (val) {
3823
- if (!val && props.options) {
3824
- filteredOptions.value = props.options;
3825
- return;
3826
- }
3827
-
3828
- // 옵션을 선택 했을 때
3829
- if (sSelectRef.value && sSelectRef.value.getOptionIndex() !== -1) {
3830
- model.value = filteredOptions.value[sSelectRef.value.getOptionIndex()][props.optionValue];
3831
- handleDelete();
3832
- sSelectRef.value.setOptionIndex(-1);
3833
- sSelectRef.value.hidePopup();
3834
- return;
3835
- }
3836
-
3837
- var filtered = props.options.filter(
3838
- function (v) { return (v[props.optionLabel] || v).toLowerCase().indexOf(val.toLowerCase()) > -1; }
3839
- );
3840
-
3841
- if (!filtered.length && sSelectRef.value) {
3842
- emit('onSearch', val);
3843
- sSelectRef.value.setOptionIndex(-1);
3844
- return;
3845
- }
3846
-
3847
- filteredOptions.value = filtered;
3848
- }, 200);
3813
+ function onSearch(val) {
3814
+ if (!sSelectRef.value) { return; }
3815
+ sSelectRef.value.setOptionIndex(-1);
3816
+ emit('onSearch', val);
3817
+ }
3849
3818
 
3850
3819
  vue.watch(
3851
3820
  function () { return props.modelValue; },
3852
3821
  function (val) {
3853
3822
  model.value = val;
3854
- if (sSelectRef.value) { sSelectRef.value.setOptionIndex(-1); }
3855
3823
  }
3856
3824
  );
3857
3825
 
3858
- vue.watch(model, function (val) {
3859
- emit('update:modelValue', val);
3860
- });
3861
-
3862
3826
  vue.watch(
3863
- function () { return props.options; },
3864
- function (val) {
3865
- // const existingValues = new Set(filteredOptions.value.map((option) => option.value));
3866
- // const nonDuplicateOptions = val.filter((option) => !existingValues.has(option.value));
3867
- // filteredOptions.value.push(...nonDuplicateOptions);
3868
- if (val) {
3869
- filteredOptions.value = val;
3870
- if (sSelectRef.value) { sSelectRef.value.setOptionIndex(-1); }
3871
- }
3872
- },
3873
- { deep: true }
3827
+ function () { return model.value; },
3828
+ function (newValue) {
3829
+ emit('update:modelValue', newValue);
3830
+ }
3874
3831
  );
3875
3832
 
3876
3833
  var isScrolled = vue.ref(false);
@@ -3913,7 +3870,6 @@
3913
3870
  model: model,
3914
3871
  selectDownArrowIcon: selectDownArrowIcon,
3915
3872
  onSearch: onSearch,
3916
- filteredOptions: filteredOptions,
3917
3873
  search: search,
3918
3874
  sSelectRef: sSelectRef,
3919
3875
  isScrolled: isScrolled,
@@ -3928,9 +3884,7 @@
3928
3884
  });
3929
3885
 
3930
3886
  var _hoisted_1$f = { class: "search-input-form-container" };
3931
- var _hoisted_2$b = { key: 0 };
3932
- var _hoisted_3$8 = { key: 1 };
3933
- var _hoisted_4$7 = { class: "search-input-form-container" };
3887
+ var _hoisted_2$b = { class: "search-input-form-container" };
3934
3888
 
3935
3889
  function render$k(_ctx, _cache, $props, $setup, $data, $options) {
3936
3890
  var _component_input_with_search_icon = vue.resolveComponent("input-with-search-icon");
@@ -3945,9 +3899,7 @@
3945
3899
  "dropdown-icon": _ctx.selectDownArrowIcon,
3946
3900
  modelValue: _ctx.model,
3947
3901
  "onUpdate:modelValue": _cache[4] || (_cache[4] = function ($event) { return ((_ctx.model) = $event); }),
3948
- options: _ctx.filteredOptions,
3949
- "emit-value": "",
3950
- "map-options": "",
3902
+ options: _ctx.options,
3951
3903
  color: "positive",
3952
3904
  class: "s-select-search",
3953
3905
  "popup-content-class":
@@ -4005,7 +3957,7 @@
4005
3957
  ];
4006
3958
  }),
4007
3959
  "no-option": vue.withCtx(function () { return [
4008
- vue.createElementVNode("div", _hoisted_4$7, [
3960
+ vue.createElementVNode("div", _hoisted_2$b, [
4009
3961
  vue.createVNode(_component_input_with_search_icon, {
4010
3962
  modelValue: _ctx.search,
4011
3963
  "onUpdate:modelValue": _cache[2] || (_cache[2] = function ($event) { return ((_ctx.search) = $event); }),
@@ -4035,13 +3987,11 @@
4035
3987
  ]; }),
4036
3988
  _: 2
4037
3989
  }, [
4038
- ((_ctx.options && _ctx.options.length && !_ctx.model) || (_ctx.noSelected && _ctx.options && !_ctx.options.length))
3990
+ (!_ctx.model)
4039
3991
  ? {
4040
3992
  name: "selected",
4041
3993
  fn: vue.withCtx(function () { return [
4042
- (_ctx.noSelected && !_ctx.options.length)
4043
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$b, vue.toDisplayString(_ctx.noSelected), 1))
4044
- : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$8, vue.toDisplayString(_ctx.placeholder), 1))
3994
+ vue.createElementVNode("div", null, vue.toDisplayString(_ctx.placeholder), 1)
4045
3995
  ]; }),
4046
3996
  key: "0"
4047
3997
  }
@@ -8918,7 +8868,7 @@
8918
8868
 
8919
8869
  /* eslint-disable no-multiple-empty-lines */
8920
8870
 
8921
- var version = '3.14.4';
8871
+ var version = '3.14.6';
8922
8872
 
8923
8873
  function install(app) {
8924
8874
  app.component('s-badge', script$2);