pub repository
mirror.p-hatan.irweb_ui
0.2.8+6An easy way to build web apps in Dart.
Readme
Web UI
Web UI lets you build web apps as if you had a browser from the future. You can use the cool new web technologies like Web Components, Model Driven Views and Dart today. Build apps easily using HTML as your template language, express your application's components in HTML, and synchronize your data automatically between Dart and your components.
We believe that:
- Web Components and MDV are on their way, we should start using them now.
- Cool new features should be made available to modern browsers that haven't yet implemented them.
- Write/reload is just as important as write/compile/minimize/ship.
- Working in open source is the way to go.
- Developers from all backgrounds should be building awesome modern web apps.
Try It Now
Learn more at http://www.dartlang.org/articles/dart-web-components/.
See our TodoMVC example running. Read the README.md in
example/todomvc for more details.
Running Tests
Dependencies are installed using the Pub Package Manager.
pub install
# Run command line tests and automated end-to-end tests. It needs two
# executables on your path: `dart` and `DumpRenderTree` (see below
# for links to download `DumpRenderTree`)
test/run.sh
Note: to run browser tests you will need to have DumpRenderTree, which can be downloaded prebuilt for Ubuntu Lucid, Windows, or Mac. You can also build it from the Dartium and DRT sources.
Changelog
changelog
This file contains highlights of what changes on each version of the web_ui package. This file is normally updated whenever we push a new version to pub.
Pub version 0.2.8+6 - Dec 10 (SDK 15595)
- Bug fix:
- No longer generates calls to Element constructors that don't exist (affected heading and strong elements, among others)
Pub version 0.2.8+5 - Dec 7 (SDK 15595)
- Rename package to web_ui
- Change TodoMVC to have component with composition
- Bug fix:
- fix component composition in Firefox (workaround dart:html matchesSelector)
Pub version 0.2.8+4 - Dec 7 (SDK 15595)
- Support for forwarding error messages and file mappings to the editor
- Bug fixes:
- errors in Firefox
- allow including web-components from packages/...
- fix --basedir
- bugs with id when using nested components (component composition)
Pub version 0.2.8+3 - Nov 30 (SDK 15595)
- Upgrades for new trunk release (mainly breaking changes in dart:html)
Pub version 0.2.8+2 - Nov 30 (SDK 15355)
- Bug fix:
- hosted and sdk dependencies errors due to changes in html5lib.
- URI attributes are now checked for XSS: use SafeUri if validation is too strict.
Pub version 0.2.8+1 - Nov 30 (SDK 15355)
- Accept, but ignore, the new editor flag '--machine' in build.dart
Pub version 0.2.8 - Nov 30 (SDK 15355)
-
Two-way binding changes:
- New syntax:
bind-attribute="dartAssignableValue",data-bindis deprecated - Support for radio buttons
- Support for valueAsDate and valueAsNumber
- Better detection of error conditions, like duplicate value attributes.
- New syntax:
-
Binding in components:
- you can use
attribute="{{}}"andbind-attribute="x"to initialize, update, and bind fields of components (exposed as attributes in the HTML tag).
- you can use
-
Conditional templates:
- Added new experimental syntax
<template if="exp">.
- Added new experimental syntax
-
Bug fixes:
- Make dartium extension use the latest dart.js
- html fragments: fix issues with text nodes mixed with elements
- Internally data bindings watch the result of 'toString()', so types implementing toString (like Maps or StringBuffer) can be used directly in templates.
- Most generated identifiers are now hidden: all identifiers generated for html elements in the template are hidden, except '_root'. Root will be hidden in the future.
Pub version 0.2.7 - Nov 26 (SDK 15355)
- New syntax for inline event handlers:
on-click="increment($event)"instead ofdata-action="click:increment" - Added new explainer examples
- Updated dartium extension
- Bug fixes:
- Support for querying for elements from main()
- Recursive imports between components
- Warnings are emitted (previously they were generated but not printed)
Pub version 0.2.6+1 - 16 Nov 2012
- Name mangling turned off if --out is specified
- Support for
<select>in data-bind
Pub version 0.2.5+5
- Bug fix: adds missing id on elements that we query in generated code
Pub version 0.2.5+4
- Bug fix: additional fixes for symlinks in windows
Pub version 0.2.5+3
- Fixes symlinks for windows
- Support for composition and extension
- Support for list and spaces in bindings of class attribtues
- Simpliffications in generated code
- Allow text bindings and fragments in conditions an iterations
- Support text nodes and fragments at the top level of components
See git version tags for older changes.
Installing
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add web_uipubspec.yaml
name: web_ui
author: "Web UI Authors <web-ui@dartlang.org>"
homepage: https://github.com/dart-lang/web-ui
description: An easy way to build web apps in Dart.
version: 0.2.8+6
dependencies:
args: any
# Pin html5lib so we don't get unexpected API breaks.
html5lib: ">=0.2.1+1 <0.2.2"
js: any
logging: any
unittest: any
Version history
| Version | Published | Archive | SHA-256 |
|---|---|---|---|
| 0.2.8+5 | 2012-12-07T22:14:13.949Z | Download | b8ef386aa0b2a1c2a12757a5a1ccd3d469fd80dd7e0770e190e80d39bc76aff0 |
| 0.2.8+6 | 2012-12-11T01:46:34.148Z | Download | 057542fd922b5b645bfc323e3c07b70ca64e225e69ffcd653e2a1f969f68fda1 |
| 0.2.9 | 2012-12-11T18:46:52.498Z | Download | 5588699008367f49e70929004f18b49777cb3fa513d3a44504d51540a0c5998c |
| 0.2.10 | 2012-12-13T17:48:02.871Z | Download | 4649b27fc9d0b8c76d39d94e28d02cfcfe6397374a54fe51505e768fc0da2819 |
| 0.2.10+1 | 2012-12-13T22:18:21.732Z | Download | 980a032c84b4af5b82aa696826872f5ed4a20b6bb94b7b3e28b3ed114cfb9ff8 |
| 0.2.10+2 | 2012-12-17T22:51:06.794Z | Download | bd76010634a00bcf269263d6f44c4cb6180e26f433b8f9a74ce097229b378992 |
| 0.2.11 | 2013-01-08T18:29:33.944Z | Download | 56a39536b08ce2f8a0cac67add2d382eecab4d3b43b9e02764dbb300b0c2b1af |
| 0.3.0 | 2013-01-22T21:42:58.522Z | Download | bf3c08316fdd7a2a1b2b3c7fd4c4ef57943b203e4c89bc2f4560fcf0b1286e8c |
| 0.3.0+1 | 2013-01-23T05:18:13.430Z | Download | d69c2f932e358c41dfba353fe641f5ba48d71f5ba1a48b53f3ce7b5c12ac65f3 |
| 0.3.0+2 | 2013-01-24T21:57:40.425Z | Download | 3560461e5a47a3fbfc1a0a2ec27b9827a6759548ba21080586a3cb483b24ca71 |
| 0.3.1 | 2013-01-28T18:59:25.651Z | Download | c34c344c309bbf5aeee21aa588c2c9d8931a05c985c0ae2cbc48b7a0497a0470 |
| 0.3.1+1 | 2013-01-30T18:12:07.714Z | Download | 9208e46cceda6f2d990c6e7b5e6be7bb5f5c0edcd455d9565e2b9761b5b4e0b9 |
| 0.3.1+2 | 2013-01-31T19:47:12.067Z | Download | ab9ebf67de5728ab09ec2b0657ca5cb802e25adaf4132ecf9e05ef25a42463a2 |
| 0.3.1+3 | 2013-02-02T01:50:36.943Z | Download | d3a30d0157b336e997e3f2b46feed84126159b95dc68fc2306746865c4521eaa |
| 0.3.2 | 2013-02-05T17:17:12.542Z | Download | 8ca3284399602910580c71cac89c0ad784b91c33047c71778cd986cc16e28f07 |
| 0.3.3 | 2013-02-19T17:03:14.505Z | Download | a97356899d748305ebe07d03d994fa9a2bee3d52113b0da7cd075fc10b04f905 |
| 0.3.3+1 | 2013-02-20T03:15:40.031Z | Download | 97f24d5a310a0816943db957ab2cee9cf9ec20d99abdd6949e0a872ea886a45f |
| 0.3.3+2 | 2013-02-21T21:45:49.321Z | Download | 70bb37c26a467346356337f008627d50cc5c620b91d1d51094b79441ea733f6e |
| 0.3.3+3 | 2013-02-22T18:13:10.289Z | Download | 83e2c6995dc55936e6f8c4945f739a02bb70c1806ae5aab9ce021d34a12bb963 |
| 0.3.3+4 | 2013-02-25T21:34:05.404Z | Download | 8dc7f949e93ea8b2aef08279f549984e7472d0db42cbcb6c5fbc4b6b1ad57f0d |
| 0.4.0 | 2013-02-28T00:53:21.686Z | Download | 98acb085553689e45776b3c6d38079a4b2e942d690d74353371fb04d90e0dae6 |
| 0.4.0+1 | 2013-02-28T17:45:45.418Z | Download | f1e46951900fbde2ae3064af345b5537a8d71e73efb2e02017888385b9afa92d |
| 0.4.1 | 2013-03-05T18:11:38.944Z | Download | 8fcd687fbad5559d9532c98c81180f8617a92173099dc9413a2a060eddeb45e4 |
| 0.4.1+1 | 2013-03-05T18:21:09.677Z | Download | 3877e6e5b59565b4ba0d80d000f5f9418c7a70b6deb98de70e3674db236df222 |
| 0.4.1+2 | 2013-03-05T21:16:12.819Z | Download | c39e8e075e880d3021ee2ae26eb646243a2ed3d75f1b5486ec0187c5673b3dca |
| 0.4.1+3 | 2013-03-07T22:46:12.399Z | Download | bb6ebdf195b6b5d3c3c30145f6eb6f9579d1c465432dd1571d716db2bd6eb1bf |
| 0.4.1+4 | 2013-03-08T03:59:22.439Z | Download | 55a58e1d02d78cdf2d80920359b1530ab328a736bf578e46da94afbbcdf63cf1 |
| 0.4.1+5 | 2013-03-09T01:37:17.116Z | Download | 84e151dc6dc8f45289275a4fb697d68135a32b2f6f15ac61aa810aa2857c8e52 |
| 0.4.1+6 | 2013-03-11T19:32:04.835Z | Download | 53215805ee138a63ccb46558bcec216c683eb8fb324038b86e593893903c35f7 |
| 0.4.1+7 | 2013-03-11T22:03:38.471Z | Download | cdc31fd197dd4c342da49c69c7b7dda66595489dd72693c63a54f6c4a5089e5f |
| 0.4.2 | 2013-03-16T00:53:26.715Z | Download | dec1930453ab77e7a86a6efbc1151bb236bcfc53f9e2e71b34876676e615dc3d |
| 0.4.2+1 | 2013-03-16T01:01:07.337Z | Download | 25c6be2b11c766306b47ec2c4043229c372208d1c905f6f5d7b2a17fd15c6280 |
| 0.4.2+2 | 2013-03-18T19:02:36.063Z | Download | 576973a059931f93d5eca7dfd60aa8c63fe9708d56ac58f7f6b31c8fbda745d6 |
| 0.4.2+3 | 2013-03-18T22:40:06.498Z | Download | 3a5f6f5725a210131a2c777c6d2772c5d74776f9d4f99b012e128d6adba9aa25 |
| 0.4.2+4 | 2013-03-19T23:47:51.508Z | Download | 2156cf4de2687e63002a332f226e13b2ab830dca6c66fd88c19fe17edef10fd6 |
| 0.4.2+5 | 2013-03-19T23:56:54.925Z | Download | e8e49b509fb637aab046f44340be6d69d83ef929e863f451d3eb20fe5675106c |
| 0.4.3 | 2013-03-25T17:56:10.580Z | Download | ce6cc2b4377f6836bcd5b5c0c093476320b8328d8d487819bda19ae355245a87 |
| 0.4.3+1 | 2013-03-28T23:33:27.860Z | Download | 00bcd68eccaea13759dfc1dc046d6d874ca525504434af54adfc4cb973985c78 |
| 0.4.4 | 2013-03-31T01:23:15.763Z | Download | 35fb049178d7d32c6e276ec22b74f45f967a26485f133fc3a4a35e582363f10b |
| 0.4.4+1 | 2013-04-08T22:21:48.082Z | Download | fabf75270b8d5990be076ce8107f63cb7e91f470660b571ae70d2c5e0d974e66 |
| 0.4.5 | 2013-04-08T23:21:51.716Z | Download | e7bdda766b1851ecbd6e8709fca0702bfa140217804ad131a3a4c5caac6f12c3 |
| 0.4.6 | 2013-04-16T15:47:15.817Z | Download | 6422f3c5b0df1bacd18bdfe0ae674f445b53aca63076ab7ba3c2c44e97c7e68a |
| 0.4.6+1 | 2013-04-16T16:06:06.520Z | Download | 750c4486c71de1b5a4daacc61139d79f73dd42bc169f1c931380ad0e67d3574b |
| 0.4.6+2 | 2013-04-26T20:16:58.201Z | Download | cab425082ec781eecc209e0d7c2aa050c2615402ab45dfab6d4c23ace201672a |
| 0.4.6+3 | 2013-04-30T16:39:59.293Z | Download | 3cfc9a611eeef1825b7894c833dedfb90ad888574f0937c20a2ee786fc4d0708 |
| 0.4.6+4 | 2013-05-01T15:41:24.581Z | Download | d875547fcbe91fc5e6fb3a197c009f9237b64935f100c640727718f2bcd40837 |
| 0.4.6+5 | 2013-05-03T18:35:49.027Z | Download | ca1d7ad17b4ea7a812715a61d3a6433d1bddb4ec41d8fffba5e10cef93fa7007 |
| 0.4.7 | 2013-05-03T18:36:07.354Z | Download | f06ba4e206118dda944e0940a5100cc42484f016d91690ada759139cb5426d5d |
| 0.4.7+1 | 2013-05-03T21:20:21.705Z | Download | f7750692ac00b953eda79af549c822368c69a724568fde24d5b3cba668d84bcc |
| 0.4.7+2 | 2013-05-08T19:00:14.233Z | Download | 91336872f0872169cc78419b432cb8deebe810a42172e87b3dd02c266fe88e2b |
| 0.4.7+3 | 2013-05-08T19:34:01.239Z | Download | d6882fe702724c00d62609d6a59988e5ed6c5bfd6c9b71d0a97e3c91f650cbe8 |
| 0.4.8 | 2013-05-10T21:51:36.290Z | Download | c237d8cc907e13ee8bb8dec62081c66802121b6af5bb91920f4cac2211148722 |
| 0.4.8+1 | 2013-05-20T15:54:57.979Z | Download | 4c70ce2e0f509cf0c0ad1487d56f78ccd56dac80d8b0b7e162616e1af0382489 |
| 0.4.8+2 | 2013-05-22T14:15:42.479Z | Download | d7ec997a05df6bf4856170aa9e2569e287534101055805d12d1a6c68ea64ef54 |
| 0.4.8+3 | 2013-05-22T15:48:34.829Z | Download | 8e6d225526aa6131bc833cd8d0a535e3eac544cb2348aab9579a3b25a7d287f9 |
| 0.4.8+4 | 2013-05-28T20:36:00.578Z | Download | 65d4ef8f16c3263011635ccdac4404ef79a962fedfdb6b6c63f7f60a19f3dc7c |
| 0.4.9 | 2013-05-29T20:07:30.071Z | Download | 2deed467f649cedc4c67e0fa574d7315b6cf80b23724b45be07005a5648784bd |
| 0.4.9+1 | 2013-06-01T02:53:15.500Z | Download | 65bd793ca5023336c18ef8ad2bae3d25bda38731678ba8eff518c70e0addfad0 |
| 0.4.9+2 | 2013-06-04T14:21:35.426Z | Download | ada2b4364a002f7436a73f769f623f9680d5e1a9981df4b80bc6fd782805dcb3 |
| 0.4.9+3 | 2013-06-04T22:36:13.403Z | Download | 99b6044f62f3460a13849abe495d3894edb482dff12ddb201960ddb650b90e08 |
| 0.4.9+4 | 2013-06-05T21:29:55.541Z | Download | abaf9a266818c73bf3d7ee680b4d65c1908f0e2432c7d2bfee3c2dd4d707278d |
| 0.4.9+5 | 2013-06-06T15:05:43.203Z | Download | 1af6f47a934adaa11abda45023d241ba4968945c5b2e3760104ba2fcd7f2e2e7 |
| 0.4.10 | 2013-06-07T23:08:52.393Z | Download | 699cde3ca8e3ca62546980401fc0d403823b58d7f2fbd3869c49aa8cde692ab4 |
| 0.4.11 | 2013-06-10T19:45:01.967Z | Download | 8acb9bc1a25c0d7f269419ec4683222335a6a7a099950ffad09553797d1e6326 |
| 0.4.11+1 | 2013-06-10T21:08:05.065Z | Download | ce5e3f55162e31770d1ce88b891f84142e5ac4d7569960c5062f1f805da0fd63 |
| 0.4.11+2 | 2013-06-13T16:50:12.906Z | Download | fb9ad0c649109a3574207a00412c679317ca5b3f2a22f4d377fa7c72b02aa33d |
| 0.4.12 | 2013-06-17T22:17:34.548Z | Download | 14ff466287eef7c99ad6d5e6de8be475fbc740e65b97db54d62941ad019d46b1 |
| 0.4.12+1 | 2013-06-20T00:27:25.589Z | Download | a8b5b0dcd88bed29bacc84da099182129840d000b7b5cd183a51d976e2e1e4bf |
| 0.4.12+2 | 2013-06-21T18:39:10.064Z | Download | cc1bf70f45bdd6788ee86b3a9879b344167132a96362f0bebce721d760e94979 |
| 0.4.12+3 | 2013-06-25T19:34:49.002Z | Download | c7ba4ca0fc431665d5d2a67990dc27d6b987bfe839259b259dfbd3aa77ad340c |
| 0.4.13 | 2013-06-27T17:03:01.748Z | Download | 8b1a67d9b860a78cdba252c6656671f13e4dc796c97b1facaf7f5a60e6da74da |
| 0.4.13+1 | 2013-06-28T16:55:27.376Z | Download | 65519e5891eb29751b11ee7c2dc2b4b779dfffc3e4dfab5a10b4b0a5317d4935 |
| 0.4.13+2 | 2013-06-28T20:47:38.008Z | Download | 32bfe04aee3a4e3f748201a54c8938d75b81ef340cfbf8c7f020e394f98ec9e2 |
| 0.4.14 | 2013-07-08T23:09:15.363Z | Download | 285594f3e22bfaa9ebbb08c75c94b3f59d7b30a6d254f5d7030db0f0b9caa66e |
| 0.4.14+1 | 2013-07-23T21:09:27.304Z | Download | 65da0c4f1feaa7e779644cbeee0c7fed39eba1562559ec5c4243d579fab3f4f2 |
| 0.4.15 | 2013-07-24T19:46:29.658Z | Download | 1f5c598448f48d01de90e43b860eea0c7ade84e679c918590c49aff09326b3d6 |
| 0.4.16 | 2013-08-01T17:28:32.664Z | Download | c0d8e1aaaff5e4a57667e121a2d288054eb0b161d5d9421add9033e6996053ad |
| 0.4.17 | 2013-08-05T16:44:34.500Z | Download | dac6833af967f7e61e7e8aea9183c65280458e358623227e864456c4c5bf4be3 |
| 0.4.17+1 | 2013-08-05T19:38:52.781Z | Download | c2a37f361e3ef99ed2b6641a654b0c5d72b7c551f6acde023b47f9ca763a38f6 |
| 0.4.17+2 | 2013-08-06T15:50:15.198Z | Download | 78a8beb7f42a3676af30a7fa31f147d1c13353ea6b04cc5fdac4c5240a99bed4 |
| 0.4.17+3 | 2013-08-06T17:03:48.397Z | Download | ab548aa1f2d8b7b8c225d6799071b6f888323aeb64f2f7723d572bbf4f8961d5 |
| 0.4.18 | 2013-08-19T17:20:46.527Z | Download | 080f7998d63905c9106beaa80a32fdad76080406b0e81a9dd97ecfd785db17ef |
| 0.4.18+1 | 2013-08-19T22:17:02.051Z | Download | 70e1106c673582a6bc0409fea717a86127498b44ad1e5c7089e1f521ab9ca217 |
| 0.4.18+2 | 2013-08-20T19:38:37.229Z | Download | 808fb466b586b0f7050ecc6f1a289995b00f1035c97a494c7175964832df10a4 |
| 0.4.19 | 2013-08-31T00:26:58.212Z | Download | 2341c212677a9893dd1c75384a549e4a45aa399da19c591446e41dabcebde6b4 |
| 0.4.20 | 2013-09-04T16:38:47.874Z | Download | ad49afcaeefd2d01e99c75cfd3dba016cdbab5d3da6f5972ba8e6bbb500f1095 |
| 0.4.21 | 2013-09-27T00:13:20.918Z | Download | 7a9a4692ddf5e224f9ac4ee6ba699db9ad89567a876b0efbba32b655cfe18c27 |
| 0.4.21+1 | 2013-10-07T22:45:46.698Z | Download | da08f505211fb39a59b2a9199753ea5e2fa5438c02b792a4bf6b679a8590eedf |
| 0.4.21+2 | 2013-10-08T18:31:28.153Z | Download | 5e0560a8737e07b005532c2d60e6539be2cbde0ec6cfa178f422926fc5cf2979 |
| 0.4.22 | 2013-10-08T18:32:23.547Z | Download | dcba2363ca7a318b13c89f65921459a6270041de213097e95f1b288c486b144f |
| 0.4.23 | 2013-10-16T17:49:07.137Z | Download | 9d5c8a939a6b747f377367ec4735b6146a1ceb6e33e7927320d5ebb7f023ecfd |
| 0.4.24 | 2013-10-28T17:17:48.950Z | Download | d0d7d043f3a80b0ca38c46e36f1a6a3d75768fc8500e31172eecc00b26e0c0e6 |
| 0.4.25 | 2013-10-31T23:31:04.618230Z | Download | 7f064ad220646890cb4fb66e82d59b8a7080826d6fe2a39f683f30388056fe21 |
| 0.4.26 | 2013-11-02T01:23:24.146100Z | Download | 0cd4c8992b398018964bdc3a8772f53172e9b3908c945f951a00a0265de4afe6 |
| 0.4.27 | 2013-11-04T23:56:16.065650Z | Download | 48b90afe773aa0c73766788f767ceb0423d83bb4a6816ec642aa67fe19ab0c05 |
| 0.4.27+1 | 2013-11-12T00:11:28.414590Z | Download | 7d5e8ba81243aedc3a207fbed6691706f175bbad3058dbad92d3999dfa30dbb0 |
| 0.4.27+2 | 2013-12-10T18:59:48.788010Z | Download | d31e996ac101a96d27beed11220ec455847e3637cf77a7c370cea88925276b2d |
| 0.4.28 | 2013-12-10T22:28:26.454900Z | Download | 6c6bc7f48ded6494c607ce299ce5075095e7445f7f9fc78a015a947cd21ca102 |
| 0.4.28+1 | 2014-07-31T04:30:26.154510Z | Download | 137e9a65b8fdbb31aa9c0a3487e3aa406a2846c7f6ec81c7c7e2a2d7ab5f95b5 |
Dependencies
args "any"
html5lib "\u003e=0.2.1+1 \u003c0.2.2"
js "any"
logging "any"
unittest "any"