@studio-west/component-sw 0.13.8 → 0.13.9

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.
Files changed (2) hide show
  1. package/README.md +12 -21
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -376,31 +376,22 @@ const datePickerLimitation = ref([
376
376
  endDate: fmt(new Date(today.getFullYear(), today.getMonth(), 12))
377
377
  }
378
378
  ])
379
- const datePickerLog = ref({ solid: '', range: '' })
380
379
 
381
- function onDatePickerInput(mode, payload) {
382
- datePickerLog.value[mode] = JSON.stringify(payload, null, 2)
383
- console.log(`SwDatePicker [${mode}]`, payload)
384
- }
385
380
  </script>
386
381
 
387
- <template>
388
- <!-- solid — одна дата -->
389
- <sw-date-picker
390
- :data="datePickerSolid"
391
- :limitation="datePickerLimitation"
392
- range="solid"
393
- @input="onDatePickerInput('solid', $event)"
394
- />
382
+ <!-- solid — одна дата -->
383
+ <sw-date-picker
384
+ :data="datePickerSolid"
385
+ :limitation="datePickerLimitation"
386
+ range="solid"
387
+ />
395
388
 
396
- <!-- range — интервал -->
397
- <sw-date-picker
398
- :data="datePickerRange"
399
- :limitation="datePickerLimitation"
400
- range="range"
401
- @input="onDatePickerInput('range', $event)"
402
- />
403
- </template>
389
+ <!-- range — интервал -->
390
+ <sw-date-picker
391
+ :data="datePickerRange"
392
+ :limitation="datePickerLimitation"
393
+ range="range"
394
+ />
404
395
  ```
405
396
  ---
406
397
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studio-west/component-sw",
3
- "version": "0.13.8",
3
+ "version": "0.13.9",
4
4
  "description": "Vue components of Component-SW collection.",
5
5
  "type": "module",
6
6
  "keywords": [