Commit graph

1688 commits

Author SHA1 Message Date
Graham Fairweather
71eb889f6b Enable creation of sourcemaps 2018-03-05 13:19:27 +01:00
Aresn
c365be4633
Merge pull request #3096 from SergioCrisostomo/use-last-picked-date-in-multiple-mode-for-panel-date
Use last picked date in multiple mode for panel date
2018-03-05 16:04:12 +08:00
Sergio Crisostomo
02859de9b1 Use the last picked date as reference for the date panel 2018-03-05 08:59:25 +01:00
Sergio Crisostomo
2332ac9bff Fix error in formater for multiple values 2018-03-05 08:48:25 +01:00
Aresn
c3beef276c
Merge pull request #3091 from SergioCrisostomo/datepicker
Allow DatePicker to receive TimePicker options
2018-03-05 09:59:52 +08:00
梁灏
54c988f211 fixed input cls with group & prepend, close #3089 2018-03-05 09:28:50 +08:00
梁灏
5bb01822df Switch prevent space to scroll 2018-03-05 09:18:23 +08:00
Sergio Crisostomo
79ac2457fd Allow DatePicker to receive TimePicker options 2018-03-03 12:51:53 +01:00
Aresn
e7fa279934
Merge pull request #3077 from Xotic750/add_click_outside_directive
Add v-click-outside-x directive
2018-03-01 10:17:07 +08:00
Graham Fairweather
e8de34ae64 Add v-click-outside-x directive
https://www.npmjs.com/package/v-click-outside-x

This is required for event capturing which is not supported in the cyrrent hand-rolled directive.

It also supports `pointerevents` and is far more economical about adding event listeners to document.
2018-02-28 14:20:55 +01:00
梁灏
2073853e87 fixed #3038 2018-02-28 15:38:20 +08:00
Aresn
ab3ff750a3
Merge pull request #3070 from SergioCrisostomo/datepicker
Pass Strings to @on-change and Dates to v-model
2018-02-27 18:22:19 +08:00
Sergio Crisostomo
b42322fe06 Pass Strings to @on-change and Dates to v-model 2018-02-27 11:01:06 +01:00
梁灏
226c7f3dd0 Merge branch '2.0' of https://github.com/iview/iview into 2.0 2018-02-27 16:21:03 +08:00
梁灏
f8bba1ac99 fixed DatePicker style in range type 2018-02-27 16:20:58 +08:00
Aresn
57c38ada12
Merge pull request #3066 from SergioCrisostomo/datepicker
Prevent clicking in week number label
2018-02-27 15:41:01 +08:00
Sergio Crisostomo
c10c5aae55 Prevent clicking in week number label 2018-02-27 08:35:28 +01:00
梁灏
09ba5efa6e update DatePicker demo 2018-02-27 14:39:20 +08:00
Aresn
c6c5551014
Merge pull request #3058 from Xotic750/component_names
Use constant component names in Pascal Case as per vue standards
2018-02-27 14:30:19 +08:00
Graham Fairweather
1f1785b6af Keep original use small 'i' 2018-02-27 07:25:12 +01:00
Aresn
adb9ebbdd7
Merge pull request #3059 from Xotic750/move_css_prefixes_to_contants
Use constant for CSS prefixes
2018-02-27 14:22:37 +08:00
Aresn
c1b4a07acf
Merge pull request #3061 from SergioCrisostomo/remove-css-list-reset
Remove global list-style reset
2018-02-27 10:14:28 +08:00
梁灏
f5213902d5 remove wrong file 2018-02-27 09:26:56 +08:00
Aresn
a3cd183ae7
Merge pull request #3060 from Xotic750/fix_missing_extension
Fix: Missing file extension
2018-02-27 09:26:21 +08:00
Sergio Crisostomo
7f3a6f9db6 Remove global list-style reset 2018-02-26 15:08:14 +01:00
Graham Fairweather
3fae1e4c68 Fix: Missing file extension 2018-02-26 13:01:43 +01:00
Graham Fairweather
b428828fbe Use contant for CSS prefixes
Composed string that can be used within iview and by users of the library.
2018-02-26 11:58:17 +01:00
Graham Fairweather
66db7bf101 Use constant component names in Pascal Case as per vue standards 2018-02-26 11:42:19 +01:00
Aresn
0fce118ef2
Merge pull request #3053 from Xotic750/reusable_enums
Common enums used in the project -DRY
2018-02-26 17:49:33 +08:00
Aresn
448fe88457
Merge pull request #3054 from Xotic750/event_name_constants
Common event name constants, used by $emit and $on - DRY
2018-02-26 17:45:26 +08:00
Aresn
7b71778db2
Merge pull request #3051 from Xotic750/utility_kabab_join
Kebab join utility for composing reusable constants from smaller parts
2018-02-26 17:23:34 +08:00
Aresn
c883f660a9
Merge pull request #3052 from Xotic750/composable_constants
Composable constants that are common in the project - DRY
2018-02-26 17:20:18 +08:00
Aresn
966f06ca16
Merge pull request #3050 from Xotic750/constants_event_keys
Keyboard event key constants
2018-02-26 17:12:57 +08:00
Aresn
1b639c0a19
Merge pull request #3048 from Xotic750/add_select_examples
Add select examples from the docs for rework of the select component
2018-02-26 17:10:44 +08:00
Aresn
ebb3915977
Merge pull request #3047 from Xotic750/use_babel_polyfill_in_examples
Use babel-polyfill for testing examples
2018-02-26 17:09:23 +08:00
Aresn
4c38183edd
Merge pull request #3046 from Xotic750/use_regexp_escape_proposal
Use RegExp.escape proposal library for user input
2018-02-26 17:00:12 +08:00
Aresn
0a5031ff4c
Merge pull request #3045 from Xotic750/fix_eslint_config_globals_recognition
Fix: CommonJS global variables and CommonJS scoping (use this for bro…
2018-02-26 16:52:09 +08:00
Aresn
ba1bd4e0e2
Merge pull request #3044 from Xotic750/fix_editor_config
Fix: Project is using 4 spaces but editor config is wrong when user e…
2018-02-26 16:50:59 +08:00
Graham Fairweather
9c6dbcdcc4 Common event name constants, used by $emit and $on - DRY
This is not all of them, just those found during the select rework
2018-02-26 09:01:03 +01:00
Graham Fairweather
16bfce1652 Common enums used in the project -DRY
This is not all of them, just those found during the select rework.
2018-02-26 08:58:50 +01:00
Graham Fairweather
20eddc614d Composable contants that are common in the project - DRY
This is not all of them, just those that were found during the select rework.
2018-02-26 08:56:03 +01:00
Graham Fairweather
04991c13a6 Kebab join utility for composing reuseable contants from smaller parts 2018-02-26 08:53:24 +01:00
Graham Fairweather
f5671911bb Keyboard event key contants 2018-02-26 08:51:04 +01:00
Graham Fairweather
59aac107d0 Add select examples from the docs for rework of the select component 2018-02-26 08:35:42 +01:00
Graham Fairweather
c4c85f23ed Use babel-polyfill for testing examples
(Polyfill) This is required when developing with older browser i.e. IE11.

The locale change is because it is really difficult for non-chinese reading/speaking developers to understand what they are seeing on the page when developing this project.
2018-02-26 08:32:56 +01:00
Graham Fairweather
ac63ff47c8 Use RegExp.escape proposal library for user input
https://github.com/benjamingr/RegExp.escape

This just installs the library for use with components in future, i.e. select rework
2018-02-26 08:28:39 +01:00
Graham Fairweather
5380e8c570 Fix: CommonJS global variables and CommonJS scoping (use this for browser-only code that uses Browserify/WebPack). 2018-02-26 08:23:15 +01:00
Graham Fairweather
0f8e808944 Fix: Project is using 4 spaces but editor config is wrong when user env is 2 spaces. 2018-02-26 08:18:49 +01:00
Aresn
899ad697b0
Merge pull request #3043 from iview/pr/3027
Pr/3027
2018-02-26 12:03:09 +08:00
梁灏
5cb6ce9e52 Slider add Tooltip show when focus with keyboard 2018-02-26 11:59:25 +08:00