doway-coms 1.4.33 → 1.4.35
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/.browserslistrc +2 -2
- package/README.md +28 -28
- package/{lib → dist}/doway-coms.common.js +119301 -104053
- package/dist/doway-coms.css +3 -0
- package/{lib → dist}/doway-coms.umd.js +120190 -104942
- package/dist/doway-coms.umd.min.js +317 -0
- package/dist/package.json +12 -0
- package/package.json +1 -1
- package/packages/BaseSearch/src/index.vue +1 -2
- package/packages/utils/common.js +6 -3
- package/dist/css/chunk-vendors.7f83d8f9.css +0 -8
- package/dist/css/index.7946d50b.css +0 -1
- package/dist/favicon.ico +0 -0
- package/dist/js/chunk-vendors.28fda91d.js +0 -340
- package/dist/js/index.49bc6add.js +0 -2
- package/lib/doway-coms.css +0 -1
- package/lib/doway-coms.umd.min.js +0 -328
package/package.json
CHANGED
|
@@ -337,7 +337,6 @@ import {
|
|
|
337
337
|
Icon,
|
|
338
338
|
Select,
|
|
339
339
|
SelectOption,
|
|
340
|
-
RangePicker,
|
|
341
340
|
Tag,
|
|
342
341
|
DatePicker,
|
|
343
342
|
InputGroup,
|
|
@@ -355,9 +354,9 @@ export default {
|
|
|
355
354
|
Icon,
|
|
356
355
|
Select,
|
|
357
356
|
SelectOption: Select.Option,
|
|
358
|
-
RangePicker,
|
|
359
357
|
Tag,
|
|
360
358
|
DatePicker,
|
|
359
|
+
RangePicker: DatePicker.RangePicker,
|
|
361
360
|
Input,
|
|
362
361
|
InputGroup: Input.Group,
|
|
363
362
|
InputNumber,
|
package/packages/utils/common.js
CHANGED
|
@@ -564,18 +564,21 @@ export function setFormButtons(toolBtns,statusBtns,permissionBtns){
|
|
|
564
564
|
}
|
|
565
565
|
})
|
|
566
566
|
}
|
|
567
|
-
export function
|
|
567
|
+
export function getGridPagerButton(datas,dataCode){
|
|
568
|
+
let returnButtons = []
|
|
568
569
|
let tempData = XEUtils.find(datas,p=>p.code===dataCode)
|
|
569
570
|
if(!tempData){
|
|
570
|
-
return
|
|
571
|
+
return returnButtons
|
|
571
572
|
}
|
|
573
|
+
|
|
572
574
|
XEUtils.arrayEach(tempData.fields,loopField=>{
|
|
573
575
|
if(loopField.controlType==='pager_button'){
|
|
574
|
-
|
|
576
|
+
returnButtons.push({
|
|
575
577
|
field:loopField.boundField,
|
|
576
578
|
title:loopField.name,
|
|
577
579
|
visible:true
|
|
578
580
|
})
|
|
579
581
|
}
|
|
580
582
|
})
|
|
583
|
+
return returnButtons
|
|
581
584
|
}
|