sun-biz 0.0.3-beta.6 → 0.0.3-beta.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/components/index.js +20 -7
- package/dist/index.js +20 -7
- package/package.json +8 -1
package/dist/components/index.js
CHANGED
|
@@ -2028,7 +2028,8 @@ function useColumnConfig(options) {
|
|
|
2028
2028
|
emits: /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeModels)([
|
|
2029
2029
|
"enter",
|
|
2030
2030
|
"input",
|
|
2031
|
-
"select"
|
|
2031
|
+
"select",
|
|
2032
|
+
"clear"
|
|
2032
2033
|
], [
|
|
2033
2034
|
"update:modelValue"
|
|
2034
2035
|
]),
|
|
@@ -2116,8 +2117,12 @@ function useColumnConfig(options) {
|
|
|
2116
2117
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event)=>model.value = $event),
|
|
2117
2118
|
autofocus: true,
|
|
2118
2119
|
onClick: handleReferenceClick,
|
|
2119
|
-
onInput: _cache[1] || (_cache[1] = (
|
|
2120
|
-
|
|
2120
|
+
onInput: _cache[1] || (_cache[1] = (value)=>emits('input', value)),
|
|
2121
|
+
onClear: _cache[2] || (_cache[2] = ()=>emits('clear')),
|
|
2122
|
+
class: "flex-shrink-0 flex-grow-0",
|
|
2123
|
+
style: {
|
|
2124
|
+
width: "284px"
|
|
2125
|
+
},
|
|
2121
2126
|
clearable: ""
|
|
2122
2127
|
}, (0, __WEBPACK_EXTERNAL_MODULE_vue__.createSlots)({
|
|
2123
2128
|
_: 2
|
|
@@ -2361,10 +2366,15 @@ const patient_accessvue_type_script_setup_true_lang_ts_hoisted_1 = {
|
|
|
2361
2366
|
__name: 'index',
|
|
2362
2367
|
props: {
|
|
2363
2368
|
menuId: {},
|
|
2364
|
-
code: {}
|
|
2369
|
+
code: {},
|
|
2370
|
+
showName: {
|
|
2371
|
+
type: Boolean,
|
|
2372
|
+
default: false
|
|
2373
|
+
}
|
|
2365
2374
|
},
|
|
2366
2375
|
emits: [
|
|
2367
|
-
"change"
|
|
2376
|
+
"change",
|
|
2377
|
+
"clear"
|
|
2368
2378
|
],
|
|
2369
2379
|
setup (__props, { expose: __expose, emit: __emit }) {
|
|
2370
2380
|
const emits = __emit;
|
|
@@ -2405,6 +2415,8 @@ const patient_accessvue_type_script_setup_true_lang_ts_hoisted_1 = {
|
|
|
2405
2415
|
/**
|
|
2406
2416
|
* emit change事件,患者切换
|
|
2407
2417
|
*/ const handleChange = (data)=>{
|
|
2418
|
+
// 患者检索组件将患者姓名放在input框中
|
|
2419
|
+
if (__props.showName && data?.patientInfo?.patientName) inputValue.value = data.patientInfo.patientName;
|
|
2408
2420
|
emits("change", {
|
|
2409
2421
|
inputInfo: {
|
|
2410
2422
|
value: inputValue.value,
|
|
@@ -2528,10 +2540,11 @@ const patient_accessvue_type_script_setup_true_lang_ts_hoisted_1 = {
|
|
|
2528
2540
|
"search-loading": searchLoading.value,
|
|
2529
2541
|
"input-change": inputChange.value,
|
|
2530
2542
|
onInput: _cache[1] || (_cache[1] = ()=>inputChange.value = true),
|
|
2531
|
-
|
|
2543
|
+
onClear: _cache[2] || (_cache[2] = ()=>emits('clear')),
|
|
2544
|
+
onEnter: _cache[3] || (_cache[3] = ()=>{
|
|
2532
2545
|
handleAccess(activeAccessWay.value);
|
|
2533
2546
|
}),
|
|
2534
|
-
onSelect: _cache[
|
|
2547
|
+
onSelect: _cache[4] || (_cache[4] = (rowData)=>{
|
|
2535
2548
|
handleChange({
|
|
2536
2549
|
patientInfo: rowData
|
|
2537
2550
|
});
|
package/dist/index.js
CHANGED
|
@@ -2426,7 +2426,8 @@ function useColumnConfig(options) {
|
|
|
2426
2426
|
emits: /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeModels)([
|
|
2427
2427
|
"enter",
|
|
2428
2428
|
"input",
|
|
2429
|
-
"select"
|
|
2429
|
+
"select",
|
|
2430
|
+
"clear"
|
|
2430
2431
|
], [
|
|
2431
2432
|
"update:modelValue"
|
|
2432
2433
|
]),
|
|
@@ -2514,8 +2515,12 @@ function useColumnConfig(options) {
|
|
|
2514
2515
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event)=>model.value = $event),
|
|
2515
2516
|
autofocus: true,
|
|
2516
2517
|
onClick: handleReferenceClick,
|
|
2517
|
-
onInput: _cache[1] || (_cache[1] = (
|
|
2518
|
-
|
|
2518
|
+
onInput: _cache[1] || (_cache[1] = (value)=>emits('input', value)),
|
|
2519
|
+
onClear: _cache[2] || (_cache[2] = ()=>emits('clear')),
|
|
2520
|
+
class: "flex-shrink-0 flex-grow-0",
|
|
2521
|
+
style: {
|
|
2522
|
+
width: "284px"
|
|
2523
|
+
},
|
|
2519
2524
|
clearable: ""
|
|
2520
2525
|
}, (0, __WEBPACK_EXTERNAL_MODULE_vue__.createSlots)({
|
|
2521
2526
|
_: 2
|
|
@@ -2759,10 +2764,15 @@ const patient_accessvue_type_script_setup_true_lang_ts_hoisted_1 = {
|
|
|
2759
2764
|
__name: 'index',
|
|
2760
2765
|
props: {
|
|
2761
2766
|
menuId: {},
|
|
2762
|
-
code: {}
|
|
2767
|
+
code: {},
|
|
2768
|
+
showName: {
|
|
2769
|
+
type: Boolean,
|
|
2770
|
+
default: false
|
|
2771
|
+
}
|
|
2763
2772
|
},
|
|
2764
2773
|
emits: [
|
|
2765
|
-
"change"
|
|
2774
|
+
"change",
|
|
2775
|
+
"clear"
|
|
2766
2776
|
],
|
|
2767
2777
|
setup (__props, { expose: __expose, emit: __emit }) {
|
|
2768
2778
|
const emits = __emit;
|
|
@@ -2803,6 +2813,8 @@ const patient_accessvue_type_script_setup_true_lang_ts_hoisted_1 = {
|
|
|
2803
2813
|
/**
|
|
2804
2814
|
* emit change事件,患者切换
|
|
2805
2815
|
*/ const handleChange = (data)=>{
|
|
2816
|
+
// 患者检索组件将患者姓名放在input框中
|
|
2817
|
+
if (__props.showName && data?.patientInfo?.patientName) inputValue.value = data.patientInfo.patientName;
|
|
2806
2818
|
emits("change", {
|
|
2807
2819
|
inputInfo: {
|
|
2808
2820
|
value: inputValue.value,
|
|
@@ -2926,10 +2938,11 @@ const patient_accessvue_type_script_setup_true_lang_ts_hoisted_1 = {
|
|
|
2926
2938
|
"search-loading": searchLoading.value,
|
|
2927
2939
|
"input-change": inputChange.value,
|
|
2928
2940
|
onInput: _cache[1] || (_cache[1] = ()=>inputChange.value = true),
|
|
2929
|
-
|
|
2941
|
+
onClear: _cache[2] || (_cache[2] = ()=>emits('clear')),
|
|
2942
|
+
onEnter: _cache[3] || (_cache[3] = ()=>{
|
|
2930
2943
|
handleAccess(activeAccessWay.value);
|
|
2931
2944
|
}),
|
|
2932
|
-
onSelect: _cache[
|
|
2945
|
+
onSelect: _cache[4] || (_cache[4] = (rowData)=>{
|
|
2933
2946
|
handleChange({
|
|
2934
2947
|
patientInfo: rowData
|
|
2935
2948
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sun-biz",
|
|
3
|
-
"version": "0.0.3-beta.
|
|
3
|
+
"version": "0.0.3-beta.7",
|
|
4
4
|
"type": "module",
|
|
5
|
+
"workspaces": [
|
|
6
|
+
"src/*",
|
|
7
|
+
"docs"
|
|
8
|
+
],
|
|
5
9
|
"exports": {
|
|
6
10
|
".": {
|
|
7
11
|
"types": "./dist/index.d.ts",
|
|
@@ -25,6 +29,9 @@
|
|
|
25
29
|
"build": "rslib build",
|
|
26
30
|
"build:storybook": "storybook build",
|
|
27
31
|
"dev": "rslib build --watch",
|
|
32
|
+
"docs:dev": "pnpm run -C docs docs:dev",
|
|
33
|
+
"docs:build": "pnpm run -C docs docs:build",
|
|
34
|
+
"docs:serve": "pnpm run -C docs docs:serve",
|
|
28
35
|
"storybook": "storybook dev -p 6007"
|
|
29
36
|
},
|
|
30
37
|
"devDependencies": {
|