Commit Graph

916 Commits

Author SHA1 Message Date
nathangray
605a587bca Type parameter is optional 2020-01-29 15:12:44 +01:00
nathangray
43a9100c91 - Add some more parameter types
- Solve the uninitialized attribute issue (for insertChild() called from constructor at least)
2020-01-29 15:12:44 +01:00
Ralf Becker
0b50545cc1 missing generated .js and .map files, until we generate them via Grunt 2020-01-29 15:12:44 +01:00
Ralf Becker
ec7f8931b2 selectbox widget and some fixes 2020-01-29 15:12:44 +01:00
Ralf Becker
05b92c97f2 fix wrong class-name for attributes in constructor call 2020-01-29 15:12:44 +01:00
Hadi Nategh
313693a42c fix attributes in super call 2020-01-29 15:12:44 +01:00
nathangray
aaa4c3ae9e Fix some visibility issues, export the et2_action_object_impl 2020-01-29 15:12:44 +01:00
nathangray
50a0bb6157 Grid to TS 2020-01-29 15:12:44 +01:00
Ralf Becker
9e006797c9 date-widgets and friends for TS 2020-01-29 15:12:44 +01:00
Hadi Nategh
3b51264882 Convert et2_hbox to TS 2020-01-29 15:12:44 +01:00
Hadi Nategh
e1cd652183 Use destroy instead of free 2020-01-29 15:12:43 +01:00
Hadi Nategh
28e4e81478 Fix missing options in et2_dialog 2020-01-29 15:12:43 +01:00
nathangray
a5299abbf7 Use correct widget for attributes 2020-01-29 15:12:43 +01:00
nathangray
bd584dc991 Replace missing widgit registration 2020-01-29 15:12:43 +01:00
Hadi Nategh
fd31946f4e Fix error method generateAttributeSet does not exist 2020-01-29 15:12:43 +01:00
Hadi Nategh
1df5124246 Fix et2_dialog TS errors 2020-01-29 15:12:43 +01:00
nathangray
3cbecd5270 Return types for some functions 2020-01-29 15:12:43 +01:00
nathangray
1e39e5e654 arrayMgr to TypeScript 2020-01-29 15:12:43 +01:00
nathangray
46385aadc9 arrayMgr to TypeScript 2020-01-29 15:12:43 +01:00
nathangray
8b7be57067 Fix copy/paste error in constructors 2020-01-29 15:12:43 +01:00
nathangray
5e27866dc3 Fix copy/paste error in constructors 2020-01-29 15:12:43 +01:00
nathangray
812f6a0ef7 ts->js maps 2020-01-29 15:12:43 +01:00
nathangray
680a82cb4e Get et2 working in typescript 2020-01-29 15:11:00 +01:00
nathangray
805ac4591b Not sure where this one went 2020-01-29 15:11:00 +01:00
nathangray
9e33a168fc Getting etemplate2 sort of working 2020-01-29 15:11:00 +01:00
Hadi Nategh
5302ec5fa4 Convert et2_dialog widget to TS 2020-01-29 15:08:42 +01:00
Ralf Becker
7076f8fa3a tabbox widget 2020-01-29 15:08:42 +01:00
Ralf Becker
0205d72b53 description widget without expose 2020-01-29 15:08:42 +01:00
Hadi Nategh
fb94b13a89 Convert et2_video widget to TS 2020-01-29 15:08:42 +01:00
Ralf Becker
61a5505ec3 template widget with TS 2020-01-29 15:08:42 +01:00
Ralf Becker
e2c735ace9 textbox and button widget 2020-01-29 15:08:42 +01:00
nathangray
2377ec2090 Pass individual parameters 2020-01-29 15:08:42 +01:00
nathangray
7576742cbc TS for Box widget 2020-01-29 15:08:42 +01:00
nathangray
368f20ab5a Make labelContainer protected for subclasses 2020-01-29 15:08:42 +01:00
Ralf Becker
48ddfb1730 WIP on et2_widget_textbox 2020-01-29 15:08:42 +01:00
nathangray
3a21a5bc6b Second run at TS for valueWidget, restoring what was lost 2020-01-29 15:08:42 +01:00
nathangray
e0259fe6f2 First run at TS for valueWidget 2020-01-29 15:08:42 +01:00
nathangray
a90946a05d Some return types 2020-01-29 15:08:42 +01:00
Ralf Becker
f412b71225 inputWidget with TS 2020-01-29 15:08:42 +01:00
Ralf Becker
d9e2e26fcd some fixes for valueWidget 2020-01-29 15:08:42 +01:00
Ralf Becker
8b3f9947e6 baseWidget in TS 2020-01-29 15:08:42 +01:00
nathangray
988dbbc8da First run at TS for valueWidget 2020-01-29 15:08:42 +01:00
Ralf Becker
659c8b0e68 get et2_DOMWidget to TypeScript 2020-01-29 15:08:42 +01:00
Ralf Becker
f2b7ca4c32 move implements and instanceOf methods to inheritance 2020-01-29 15:08:42 +01:00
Ralf Becker
a4ce103d7e WIP with TypeScript 2020-01-29 15:08:42 +01:00
Ralf Becker
9f574b4a38 some egw object interface changes and using it in app.ts base object 2020-01-27 13:43:13 +01:00
Ralf Becker
5b5c2a6cff full TypeScript Interface for client-side API 2020-01-26 13:58:10 +01:00
nathangray
185ea88613 Get less errors for nextmatch 2020-01-24 06:43:08 -07:00
nathangray
7230ed138c Support legacyOptions 2020-01-24 06:41:37 -07:00
Hadi Nategh
d4afbf149f Convert et2_toolbar to TS 2020-01-24 14:08:09 +01:00
nathangray
d8fb0c8bee Fix undefined error looking up cell content 2020-01-24 05:58:15 -07:00
nathangray
7bd1f9f986 Get at least the nm header showing up 2020-01-24 05:57:05 -07:00
Ralf Becker
e9c4d3f07e complete push implementation for timesheet incl. ACL check 2020-01-24 13:31:56 +01:00
nathangray
22780e5629 Work on getting nextmatch going 2020-01-24 04:14:08 -07:00
nathangray
3b2f3e50de Fix compiled expressions could not be found 2020-01-24 02:27:01 -07:00
nathangray
71ea795a0a Temporary work around for legacyOptions issue 2020-01-24 02:12:14 -07:00
nathangray
76a5793a0a New push method, with base implementation of delete client side 2020-01-23 11:03:29 -07:00
nathangray
ff50df67d0 Use correct refresh methods for delete so app can handle it 2020-01-23 09:21:41 -07:00
Hadi Nategh
b1272bb204 Check if the et2_hbox is attached before calling its child getDOMNode cause it's might not be set yet 2020-01-23 16:33:32 +01:00
Hadi Nategh
b0bcadf3fa Convert et2_dropdown_button to TS 2020-01-23 16:24:53 +01:00
Hadi Nategh
5d2600ddbd Convert et2_radiobox to TS 2020-01-23 15:14:46 +01:00
Hadi Nategh
5e81f94aec Convert et2_number to TS 2020-01-23 14:25:02 +01:00
Ralf Becker
6e0936bd98 first take on pushing app-changes to all clients 2020-01-23 11:26:44 +01:00
nathangray
24d5b06ebb Type parameter is optional 2020-01-23 03:17:33 -07:00
nathangray
d14f94aaa7 - Add some more parameter types
- Solve the uninitialized attribute issue (for insertChild() called from constructor at least)
2020-01-23 03:17:33 -07:00
Ralf Becker
901825bcfa first try with TypeScript: timesheet app.js incl. new egw_app base-class 2020-01-23 09:14:58 +01:00
Ralf Becker
0f0112a3ad missing generated .js and .map files, until we generate them via Grunt 2020-01-23 08:53:13 +01:00
Ralf Becker
b3698df3f7 selectbox widget and some fixes 2020-01-22 20:12:55 +01:00
Ralf Becker
5d786a6a36 fix wrong class-name for attributes in constructor call 2020-01-22 18:38:51 +01:00
Hadi Nategh
abb25821a8 fix attributes in super call 2020-01-22 18:24:34 +01:00
nathangray
7f4db7949f Fix some visibility issues, export the et2_action_object_impl 2020-01-22 10:16:39 -07:00
nathangray
504c11b87f Grid to TS 2020-01-22 10:13:10 -07:00
Ralf Becker
9fa82c7173 date-widgets and friends for TS 2020-01-22 17:59:10 +01:00
Hadi Nategh
e1c4613a4d Convert et2_hbox to TS 2020-01-22 17:15:43 +01:00
Hadi Nategh
df9e708b55 Use destroy instead of free 2020-01-22 16:21:29 +01:00
Hadi Nategh
11b661c726 Fix missing options in et2_dialog 2020-01-22 16:08:46 +01:00
nathangray
202faf54ec Use correct widget for attributes 2020-01-22 07:57:46 -07:00
nathangray
a845237b79 Replace missing widgit registration 2020-01-22 07:56:12 -07:00
Hadi Nategh
b4113f92d4 Fix error method generateAttributeSet does not exist 2020-01-22 11:50:58 +01:00
Hadi Nategh
1ef0353728 Fix et2_dialog TS errors 2020-01-22 11:46:45 +01:00
nathangray
da9072f769 Return types for some functions 2020-01-22 03:42:41 -07:00
nathangray
9e458c8968 arrayMgr to TypeScript 2020-01-22 03:42:08 -07:00
nathangray
e0c32a1899 arrayMgr to TypeScript 2020-01-22 03:40:55 -07:00
nathangray
3cd1bd134b Fix copy/paste error in constructors 2020-01-22 02:23:43 -07:00
nathangray
5693ca42e8 Fix copy/paste error in constructors 2020-01-22 02:23:24 -07:00
nathangray
b1c094ca47 ts->js maps 2020-01-22 02:04:45 -07:00
nathangray
1ef562c1bd Get et2 working in typescript 2020-01-22 01:58:43 -07:00
nathangray
e01ab12ee3 Not sure where this one went 2020-01-21 11:50:14 -07:00
nathangray
bdc0c16212 Merge branch 'typescript' of github.com:EGroupware/egroupware into typescript 2020-01-21 11:48:07 -07:00
nathangray
5c5d1dd39d Getting etemplate2 sort of working 2020-01-21 11:45:21 -07:00
Hadi Nategh
b251396fba Convert et2_dialog widget to TS 2020-01-21 19:23:26 +01:00
Ralf Becker
703b6a3cf8 tabbox widget 2020-01-21 17:51:59 +01:00
Ralf Becker
8e38bf8958 description widget without expose 2020-01-21 17:09:08 +01:00
Hadi Nategh
6758895ae2 Convert et2_video widget to TS 2020-01-21 16:14:45 +01:00
Ralf Becker
af6afdcffe template widget with TS 2020-01-21 16:11:08 +01:00
Ralf Becker
5c6f73a26e textbox and button widget 2020-01-21 15:54:37 +01:00
nathangray
487cebc56d Pass individual parameters 2020-01-21 07:43:04 -07:00
nathangray
f7bdd798d4 TS for Box widget 2020-01-21 07:36:45 -07:00
nathangray
13313cae6c Make labelContainer protected for subclasses 2020-01-21 07:19:39 -07:00
Ralf Becker
96a9ab7211 WIP on et2_widget_textbox 2020-01-21 15:12:45 +01:00