61 Commits

Author SHA1 Message Date
31a6da0676 fix ios dialogs.action when message/title is null 2016-02-02 18:41:36 +02:00
fbc612610f Snapshot refactorings, which mainly wraps Android extends within inner functions so that they are evaluated at runtime, when needed. Also some refactoring preventing circular requires. 2016-01-20 10:22:08 +02:00
070b01c544 Remove UTF-8 BOM's from package.json files 2015-12-01 15:37:14 +02:00
82c86ad865 Merge pull request #1174 from NativeScript/alert-fixes
alert fixed
2015-11-27 16:39:30 +02:00
c3d3326cb2 alert fixed 2015-11-27 14:56:11 +02:00
00cfb61351 Fix the comments that the ts compiler left 2015-11-27 16:24:11 +02:00
77f3008c5c Fix the final === 0 removal. 2015-11-16 14:19:54 -06:00
84d79b44dc Update the dialogs.d.ts so that everything can use the cancelable. ;-) 2015-11-13 13:18:36 -06:00
bc7fd76498 Eliminte that 0 check on this; as this should only be a boolean value. 2015-11-12 16:56:10 -06:00
73f179d3b6 Added the cancelable to the dialogs.d.ts 2015-11-12 16:51:47 -06:00
1ea6e5897e This will now allow the dialog to call the resolve function when canceled by clicking outside of the dialog. 2015-11-10 21:34:31 -06:00
aa34d4a0b4 TextField, Label and Button CSS type selectors will affect dialogs as well 2015-11-04 16:24:05 +02:00
bd24ecd2f9 code improved 2015-10-28 09:57:39 +02:00
7517afd80b Message will be set only if you do not have actions since message and actions are mutually exclusive. 2015-09-30 14:42:25 +03:00
77838ae9c6 Change from "classic" TS 1.6 imports to the default resolution scheme.
- Use relative imports in place of most of our absolute ones.
- Add "private" ambient modules for modules that we need to import using
an absolute path (e.g. when app/.../test-something.ts needs to import
ui/styling/style-scope)
2015-09-29 16:25:49 +03:00
5b883c4c6e startActivity used if no foregroundActivity 2015-09-14 10:24:25 +03:00
79cce6dd91 added title option for dialog.action 2015-09-05 11:05:30 +03:00
9a985e7efe send null instead of empty string for action sheet message
If the user wants to display only action sheet buttons w/o any text and
he sends null as message, the empty string causes an empty title to be
shown above the buttons. Having null instead, completely eliminates the
empty space.
2015-09-05 11:05:29 +03:00
1439313e7b Make moduleMerge a global function - this saves a total of 83 requires upon application loading. 2015-07-27 13:04:48 +03:00
560f0536bd login dialog result for iOS7 fixed 2015-07-14 10:31:04 +03:00
c1cc1cdcaf more code improvements 2015-07-09 16:06:12 +03:00
f37d619781 code improved 2015-07-09 15:57:10 +03:00
e9d6dd8ed4 dialogs result in iOS7 fixed 2015-07-09 10:52:52 +03:00
4394680125 action for iPad 8.x fixed 2015-07-06 16:39:35 +03:00
25e53369ee OK button moved from first to last 2015-04-24 17:14:55 +03:00
cc829e0152 definitions fixed 2015-03-03 10:34:40 +02:00
7783f19ff3 Button added 2014-06-13 11:00:34 +03:00
ef7c3ce677 readme updated 2014-06-12 10:48:43 +03:00
4028cf4881 dialog close callback implement for Dialog class 2014-06-12 10:35:51 +03:00
e7fd4e73fe Dialog class refactored 2014-06-10 17:20:58 +03:00
14ceb15156 message property added to the Dailog class 2014-06-10 15:12:06 +03:00
64bcf0381f more android dialogs refactoring 2014-06-10 15:02:51 +03:00
bf25b4d05e login dialog for android minor refactoring 2014-06-10 14:37:44 +03:00
739fa934f3 login dialog implemented for android 2014-06-10 09:57:16 +03:00
14a00b57d0 readme updated 2014-06-09 18:22:03 +03:00
2eaaaf3668 comment updated 2014-06-09 17:51:05 +03:00
dc02169584 login dialog definition added and implemented for iOS 2014-06-09 17:48:33 +03:00
e799b8c066 readme updated 2014-06-09 17:17:36 +03:00
f577816d1e InputType.Password enabled for prompt dialog 2014-06-09 17:13:00 +03:00
37afd97cb0 readme updated 2014-06-09 14:35:47 +03:00
81177e1829 DialogButtonOptions changed to DialogButtonsOptions 2014-06-09 14:28:15 +03:00
63768427ba alert. confirm and prompt options combined. defaultText now part of the confirm method signature 2014-06-09 14:24:10 +03:00
947c35d6b4 comment fixed 2014-06-09 13:57:57 +03:00
4c0db22988 Readme updated 2014-06-09 12:07:42 +03:00
b4e7a8f08e dialogs refactored 2014-06-09 12:05:31 +03:00
9066166515 dialogs improved with neutral button and ConfirmResult for confirm and prompt dialogs 2014-06-06 15:50:41 +03:00
14dd0b799a view property added and implemented for android 2014-06-06 11:29:24 +03:00
df1d0923d1 first custom dialogs implementation 2014-06-06 10:01:33 +03:00
459e03d8ed Fixed wrong name. 2014-06-05 14:21:43 +03:00
5cc5c40d57 comments updated 2014-06-04 17:12:42 +03:00