@jetlinks-web/components 3.3.11 → 3.3.12
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/es/Search/Item.js +25 -19
- package/lib/Search/Item.js +25 -19
- package/package.json +3 -3
package/es/Search/Item.js
CHANGED
|
@@ -69,13 +69,15 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
69
69
|
"handleTermsModelValue": "setup-const"
|
|
70
70
|
} */
|
|
71
71
|
import { defineComponent as _defineComponent } from 'vue';
|
|
72
|
-
import { unref as _unref, toDisplayString as _toDisplayString, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, createVNode as _createVNode, Fragment as _Fragment, resolveDynamicComponent as _resolveDynamicComponent, mergeProps as _mergeProps,
|
|
72
|
+
import { unref as _unref, toDisplayString as _toDisplayString, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, createVNode as _createVNode, createElementVNode as _createElementVNode, Fragment as _Fragment, resolveDynamicComponent as _resolveDynamicComponent, mergeProps as _mergeProps, normalizeClass as _normalizeClass } from "vue";
|
|
73
73
|
const _hoisted_1 = {
|
|
74
74
|
key: 0,
|
|
75
75
|
class: "JSearch-item--type"
|
|
76
76
|
};
|
|
77
77
|
const _hoisted_2 = { key: 1 };
|
|
78
|
-
const _hoisted_3 = { class: "JSearch-item--
|
|
78
|
+
const _hoisted_3 = { class: "JSearch-item--column" };
|
|
79
|
+
const _hoisted_4 = { class: "JSearch-item--termType" };
|
|
80
|
+
const _hoisted_5 = { class: "JSearch-item--value" };
|
|
79
81
|
import { computed, ref, reactive, watch, isRef } from 'vue';
|
|
80
82
|
import { Select, DatePicker, RangePicker } from 'ant-design-vue';
|
|
81
83
|
import { componentProps, componentType, typeOptions } from "./setting";
|
|
@@ -306,24 +308,28 @@ const __sfc_main__ = _defineComponent({
|
|
|
306
308
|
: (_openBlock(), _createElementBlock("span", _hoisted_2, _toDisplayString(__props.index === 1 ? _unref(contextLocale).item.firstGroup : _unref(contextLocale).item.secondGroup), 1 /* TEXT */))
|
|
307
309
|
]))
|
|
308
310
|
: _createCommentVNode("v-if", true),
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
311
|
+
_createElementVNode("div", _hoisted_3, [
|
|
312
|
+
_createVNode(_unref(Select), {
|
|
313
|
+
value: termsModel.column,
|
|
314
|
+
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => ((termsModel.column) = $event)),
|
|
315
|
+
placeholder: _unref(contextLocale).item.placeholder,
|
|
316
|
+
options: columnOptions.value,
|
|
317
|
+
style: { "width": "100%" },
|
|
318
|
+
onChange: onColumnChange
|
|
319
|
+
}, null, 8 /* PROPS */, ["value", "placeholder", "options"])
|
|
320
|
+
]),
|
|
321
|
+
_createElementVNode("div", _hoisted_4, [
|
|
322
|
+
_createVNode(_unref(Select), {
|
|
323
|
+
value: termsModel.termType,
|
|
324
|
+
"onUpdate:value": _cache[2] || (_cache[2] = ($event) => ((termsModel.termType) = $event)),
|
|
325
|
+
placeholder: _unref(contextLocale).item.placeholder,
|
|
326
|
+
options: termTypeOptions.value,
|
|
327
|
+
style: { "width": "100%" },
|
|
328
|
+
onChange: onTermTypeChange
|
|
329
|
+
}, null, 8 /* PROPS */, ["value", "placeholder", "options"])
|
|
330
|
+
])
|
|
325
331
|
], 64 /* STABLE_FRAGMENT */)),
|
|
326
|
-
_createElementVNode("div",
|
|
332
|
+
_createElementVNode("div", _hoisted_5, [
|
|
327
333
|
(_openBlock(), _createBlock(_resolveDynamicComponent(targetComponents.value.name), _mergeProps({
|
|
328
334
|
"allow-clear": "",
|
|
329
335
|
style: { "width": "100%", "min-width": "80px" }
|
package/lib/Search/Item.js
CHANGED
|
@@ -69,13 +69,15 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
69
69
|
"handleTermsModelValue": "setup-const"
|
|
70
70
|
} */
|
|
71
71
|
import { defineComponent as _defineComponent } from 'vue';
|
|
72
|
-
import { unref as _unref, toDisplayString as _toDisplayString, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, createVNode as _createVNode, Fragment as _Fragment, resolveDynamicComponent as _resolveDynamicComponent, mergeProps as _mergeProps,
|
|
72
|
+
import { unref as _unref, toDisplayString as _toDisplayString, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, createVNode as _createVNode, createElementVNode as _createElementVNode, Fragment as _Fragment, resolveDynamicComponent as _resolveDynamicComponent, mergeProps as _mergeProps, normalizeClass as _normalizeClass } from "vue";
|
|
73
73
|
const _hoisted_1 = {
|
|
74
74
|
key: 0,
|
|
75
75
|
class: "JSearch-item--type"
|
|
76
76
|
};
|
|
77
77
|
const _hoisted_2 = { key: 1 };
|
|
78
|
-
const _hoisted_3 = { class: "JSearch-item--
|
|
78
|
+
const _hoisted_3 = { class: "JSearch-item--column" };
|
|
79
|
+
const _hoisted_4 = { class: "JSearch-item--termType" };
|
|
80
|
+
const _hoisted_5 = { class: "JSearch-item--value" };
|
|
79
81
|
import { computed, ref, reactive, watch, isRef } from 'vue';
|
|
80
82
|
import { Select, DatePicker, RangePicker } from 'ant-design-vue';
|
|
81
83
|
import { componentProps, componentType, typeOptions } from "./setting";
|
|
@@ -306,24 +308,28 @@ const __sfc_main__ = _defineComponent({
|
|
|
306
308
|
: (_openBlock(), _createElementBlock("span", _hoisted_2, _toDisplayString(__props.index === 1 ? _unref(contextLocale).item.firstGroup : _unref(contextLocale).item.secondGroup), 1 /* TEXT */))
|
|
307
309
|
]))
|
|
308
310
|
: _createCommentVNode("v-if", true),
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
311
|
+
_createElementVNode("div", _hoisted_3, [
|
|
312
|
+
_createVNode(_unref(Select), {
|
|
313
|
+
value: termsModel.column,
|
|
314
|
+
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => ((termsModel.column) = $event)),
|
|
315
|
+
placeholder: _unref(contextLocale).item.placeholder,
|
|
316
|
+
options: columnOptions.value,
|
|
317
|
+
style: { "width": "100%" },
|
|
318
|
+
onChange: onColumnChange
|
|
319
|
+
}, null, 8 /* PROPS */, ["value", "placeholder", "options"])
|
|
320
|
+
]),
|
|
321
|
+
_createElementVNode("div", _hoisted_4, [
|
|
322
|
+
_createVNode(_unref(Select), {
|
|
323
|
+
value: termsModel.termType,
|
|
324
|
+
"onUpdate:value": _cache[2] || (_cache[2] = ($event) => ((termsModel.termType) = $event)),
|
|
325
|
+
placeholder: _unref(contextLocale).item.placeholder,
|
|
326
|
+
options: termTypeOptions.value,
|
|
327
|
+
style: { "width": "100%" },
|
|
328
|
+
onChange: onTermTypeChange
|
|
329
|
+
}, null, 8 /* PROPS */, ["value", "placeholder", "options"])
|
|
330
|
+
])
|
|
325
331
|
], 64 /* STABLE_FRAGMENT */)),
|
|
326
|
-
_createElementVNode("div",
|
|
332
|
+
_createElementVNode("div", _hoisted_5, [
|
|
327
333
|
(_openBlock(), _createBlock(_resolveDynamicComponent(targetComponents.value.name), _mergeProps({
|
|
328
334
|
"allow-clear": "",
|
|
329
335
|
style: { "width": "100%", "min-width": "80px" }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetlinks-web/components",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.12",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -154,9 +154,9 @@
|
|
|
154
154
|
"webpack-dev-server": "^4.0.0",
|
|
155
155
|
"webpack-merge": "^5.0.0",
|
|
156
156
|
"webpackbar": "^5.0.2",
|
|
157
|
+
"@jetlinks-web/utils": "^1.3.6",
|
|
157
158
|
"@jetlinks-web/hooks": "^1.1.2",
|
|
158
|
-
"@jetlinks-web/constants": "^1.0.9"
|
|
159
|
-
"@jetlinks-web/utils": "^1.3.6"
|
|
159
|
+
"@jetlinks-web/constants": "^1.0.9"
|
|
160
160
|
},
|
|
161
161
|
"publishConfig": {
|
|
162
162
|
"registry": "https://registry.npmjs.org/",
|