p-hatan/ mirror

pub repository

mirror.p-hatan.ir

observe

0.13.1

Observable properties and objects for use in template_binding. Template Binding extends HTML and the DOM APIs to support a sensible separation between the UI (DOM) of a document or application and its underlying data (model). Updates to the model are reflected in the DOM and user input into the DOM is immediately assigned to the model.

This package is discontinued upstream.

Download archive

Readme

observe

Support for marking objects as observable, and getting notifications when those objects are mutated.

Changelog

0.13.1

  • Update to analyzer <=0.26.0.

0.13.0+2

  • Fixed close in PathObserver so it doesn't leak observers.
  • Ported the benchmarks from observe-js.

0.13.0+1

  • Widen the constraint on analyzer.

0.13.0

  • Don't output log files by default in release mode, and provide option to turn them off entirely.
  • Changed the api for the ObserveTransformer to use named arguments.

0.12.2+1

  • Cleanup some method signatures.

0.12.2

0.12.1+1

  • Expand stack_trace version constraint.

0.12.1

  • Upgraded error messages to have a unique and stable identifier.

0.12.0

  • Old transform.dart file removed. If you weren't use it it, this change is backwards compatible with version 0.11.0.

0.11.0+5

  • Widen the constraint on analyzer.

0.11.0+4

  • Raise the lower bound on the source_maps constraint to exclude incompatible versions.

0.11.0+3

  • Widen the constraint on source_maps.

0.11.0+2

  • Widen the constraint on barback.

0.11.0+1

  • Switch from source_maps' Span class to source_span's SourceSpan class.

0.11.0

  • Updated to match observe-js#e212e74 (release 0.3.4), which also matches observe-js#fa70c37 (release 0.4.2).
  • ListPathObserver has been deprecated (it was deleted a while ago in observe-js). We plan to delete it in a future release. You may copy the code if you still need it.
  • PropertyPath now uses an expression syntax including indexers. For example, you can write a.b["m"] instead of a.b.m.
  • breaking change: PropertyPath no longer allows numbers as fields, you need to use indexers instead. For example, you now need to write a[3].d instead of a.3.d.
  • breaking change: PathObserver.value= no longer discards changes (this is in combination with a change in template_binding and polymer to improve interop with JS custom elements).

0.10.0+3

  • minor changes to documentation, deprecated discardListChages in favor of discardListChanges (the former had a typo).

0.10.0

  • package:observe no longer declares @MirrorsUsed. The package uses mirrors for development time, but assumes frameworks (like polymer) and apps that use it directly will either generate code that replaces the use of mirrors, or add the @MirrorsUsed declaration themselves. For convinience, you can import 'package:observe/mirrors_used.dart', and that will add a @MirrorsUsed annotation that preserves properties and classes labeled with @reflectable and properties labeled with @observable.
  • Updated to match observe-js#0152d54

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add observe
pubspec.yaml
name: observe
version: 0.13.1
author: Polymer.dart Authors <web-ui-dev@dartlang.org>
description: >
  Observable properties and objects for use in template_binding.
  Template Binding extends HTML and the DOM APIs to support a sensible
  separation between the UI (DOM) of a document or application and its
  underlying data (model). Updates to the model are reflected in the DOM and
  user input into the DOM is immediately assigned to the model.
homepage: https://www.dartlang.org/polymer-dart/
dependencies:
  analyzer: '>=0.15.6 <0.26.0'
  barback: '>=0.14.2 <0.16.0'
  logging: '>=0.9.0 <0.10.0'
  path: '>=0.9.0 <2.0.0'
  smoke: '>=0.1.0 <0.4.0'
  source_maps: '>=0.9.4 <0.11.0'
  source_span: '>=1.0.0 <2.0.0'
  utf: '>=0.9.0 <0.10.0'
  code_transformers: '>=0.2.3 <0.3.0'
dev_dependencies:
  benchmark_harness: '>=1.0.0 <2.0.0'
  browser: any
  chart: '>=1.0.8 <2.0.0'
  unittest: '>=0.10.0 <0.12.0'
  stack_trace: '>=0.9.1 <2.0.0'
environment:
  sdk: '>=1.2.0 <2.0.0'
transformers:
- observe:
    files:
      - benchmark/test_observable.dart
      - benchmark/test_path_observable.dart

Version history

VersionPublishedArchiveSHA-256
0.6.22013-06-28T20:56:53.953830ZDownloadd0632cc56065f71b1757239c8feb0f984c0a51b75e2095310d9c410c546cfdbf
0.6.3+12013-07-09T00:24:48.713870ZDownload0a9dfb5381dab2bb54c7ff37157984d9a5c9d08b7895b3f01ee4e5331691fa37
0.6.52013-07-16T00:21:32.457180ZDownload64ba209dd4afb94a96accc37d364519965b4d0fb49879210c76e84ea56e7c8c3
0.6.62013-07-17T19:43:03.041980ZDownload2f1e099ca6b57cd4842e5af579aaf98d71b61228e5414c8389d7ee13ad28a9e7
0.6.82013-07-19T20:56:21.114570ZDownload9fab91a82f8dfa45f497560601b3b2ecdbe5d832a151093fcff7399116147e45
0.6.92013-07-22T15:16:15.116070ZDownload98e8ac9ffda1beec084e547268ab5a2cec451fad4a0396d81363940099d34942
0.6.9+22013-07-24T03:59:26.119710ZDownload91b492172b6a942544a9e0f869870e85c63bd9f6f013c72c51f6deef67916c14
0.6.112013-07-25T05:10:24.551260ZDownloada72ce2e10d1aa5b640d79b6576875e82431f49e42e263f74e12f7c609c0ab303
0.6.122013-07-26T20:07:19.517700ZDownload048b27b37d3aafc2637c53588b387e085fc04d9f2226539a775127e142397be7
0.6.132013-07-30T21:56:53.347660ZDownloadcb1273af65e58117806a02290fd74a9741a13d5d351abdc8440ed03ddd54df69
0.6.142013-08-02T16:27:40.915510ZDownload17f798db4e2ea280df4297cf9dd10092cb641f7ce5dd0f78afbc87a98f684198
0.6.15+22013-08-05T22:50:37.962250ZDownload64a308b90e14cd7478cd1718e9c2f29447edc73c57eb1870438d41f498b3991e
0.6.15+32013-08-06T20:13:46.119330ZDownloadfe2bd12cd7ea652fd1d128019db81fb2202aa9a2a8e618a1916d0fda198a47e2
0.6.172013-08-10T17:36:11.432530ZDownloadde03fc1b3be18742b80e34a2e45a4ea1f377adc0231ff546a5715b6bc0dde807
0.6.17+22013-08-12T22:22:47.031680ZDownload29425c1371f79a53a5a255590a447a494c3d4eedfbed96eb8a0af1fe88313f76
0.6.192013-08-19T16:11:38.334270ZDownload5ca2d0f074f958baf13a681c41192bc942b7bcca2571c0a2dfd296a991ab2e8e
0.6.20+12013-08-22T18:20:09.377400ZDownloade2ba73c54bf4010a31d3f4054c23aa5a884883a44449ee0152a8a0373c00b127
0.6.21+32013-08-26T17:43:50.762900ZDownload19db4a39a96e7fbb6fbcdcdd6ced04e043476c31dbc0e76e508cc1dcfb4e3d16
0.7.02013-08-28T19:29:44.996670ZDownloadf99f6ab7d64addcc94dc9537c93a61cdc2be230ee82288030715e0a8325e1007
0.7.12013-09-03T15:53:08.924590ZDownloadcdc6c6265e796fb34142fefc8f11ad33ff68dc8dceba558e1c2446ecbb143af6
0.7.22013-09-06T15:52:13.639430ZDownloadf15f449fadf6f1cb594fb314c3ecc17859ae8b5934265942a46df85f7c8d6c83
0.7.2+12013-09-08T15:48:14.677200ZDownloade02c91ef5808063a23177a71f418c3e9d788f26bc99258aa390a28aee73d2375
0.7.3+12013-09-16T15:45:14.096560ZDownloadaccbbd8f4888178276a2330de3b3c34fd04cfbe319d14b8a43ba3f5229e0280a
0.7.42013-09-18T03:04:41.422970ZDownloadcca155d33ff7c2b7341875f87b0bdfef44789bb98bdb4e6cad1a5b7925becca1
0.7.52013-09-21T00:42:56.731950ZDownloadefc4e178e183fdeb12ed2a9c28d088898cee5a39fe73de04ba1da45695b0ecce
0.7.62013-09-27T14:58:28.130950ZDownload9801022c77268c43e8e2d585e3bc9ed134ee7f6a5a85cfbd7596574181f70672
0.7.6+42013-10-01T23:49:30.628500ZDownload83c6cc5ced4c135e8eee745ce81446212da3eee3d0f6b3cab22d315960aba1a5
0.8.02013-10-03T16:28:30.214070ZDownload6d11b1df1e22f17b05c4cb9260c43178b120201e428cf7e00f934c3103407a05
0.8.12013-10-04T21:55:06.850300ZDownload21fbcc5f7b93e8e9e6e4b5d5996fdd2f6b59ccbbb83760f1469cb3eae8a71e85
0.8.22013-10-14T21:48:38.451340ZDownload5947b2bde5ad246c4c01844b63d7361814ede060b10754e8e314c13c13c83ca8
0.8.32013-10-17T16:01:21.811020ZDownloadb561cfe0fae40f73044e6459c2bd575124462f4e05071d874529aa6a202c3a55
0.8.42013-10-19T21:09:29.593320ZDownloada79d72973519c7f4401bdda7266125c076834d7aca2d2b048c091fcbe651cc90
0.8.52013-10-21T15:52:56.364210ZDownload9c2f59bec0a4950dbc2e5d1a1b52c531a647876d69abcb1eb5d9cf1777370954
0.8.62013-10-24T08:20:31.652040ZDownload359648846e6336205f8a241f9cc0302b48183030f85d828708b5c4bd49a15b0f
0.8.72013-10-28T14:34:22.697760ZDownload0c5cc259970d204608590b6fcb4eb685cdd4ca46fc0acf1ba6b0de7cf00f4194
0.8.82013-10-30T03:30:09.150240ZDownloadea6023d8b420946a4f28daf7f81a76656ddd9d85674195c7b599550da304a4ff
0.8.92013-10-31T15:16:38.699170ZDownloada13c44af3369d068f9b277af679e109741c9d0eab57aecc1edd0596034ecf9c9
0.8.102013-11-01T19:23:51.479740ZDownload0f361911b5ae8805b2a29be443479de078e8169eece8794a2b787f56d4534482
0.8.10+32013-11-04T16:49:59.244050ZDownload440ae54fdd55b37b4a4f4cac5bea199d0b1a92094bc495258c049f825deeec7f
0.8.10+42013-11-05T16:06:40.733340ZDownloadd49f7cb913838998be9c97e5738d0321fcb9eb8dcb7e90aab7b54f24ffd5703f
0.9.02013-11-06T19:33:52.151930ZDownloadad9073d78eddb8fc00f28f1492ffed51f3e8bba7f11896852ad72e5c50c41931
0.9.0+12013-11-08T19:42:19.496030ZDownloadaead698f37c82018c6ab38e4dd6470596502ef8f53d7d89509acd74e53314492
0.9.12013-11-22T23:30:01.842880ZDownload0f146172dd4f7dabc8d841cdd5ff3d6c76df43c6f64531bb8cd2bc9868a71e59
0.9.1+12013-11-27T00:55:39.673670ZDownloadeff973506e88cf54a1022ae199fcb8426b2a1ec87dc2055ec580c38ce5a082de
0.9.22013-12-10T00:29:09.678960ZDownload72475f57f7b2c0d33d4f024687ad9e2c875e153b6a1663be1208917d3f5c50a6
0.9.32013-12-13T22:04:07.034850ZDownload32b2e7f8850a04d5358a591858392f53fab843efa06ad8318ac087fb59e85bcc
0.9.3+12014-04-18T00:54:06.928390ZDownload5f4ab86a2ad2e8ef0ae556536a94b0ede06f06ee0a6ff91b4958031430790886
0.10.0-pre.02014-02-28T23:12:27.991940ZDownload393e471bb2f348e8e25ce888e743cca6395277cf3bbd8739179d24d3f9d428ce
0.10.0-pre.12014-03-07T01:52:26.901070ZDownloadace2d077e92abfa13270091fed67ca5a56a0aff57a26e86e83fa89189b34594e
0.10.0-pre.22014-03-10T23:19:11.094510ZDownload7392296e8777a2961f2352a94703e6940036fd120b0902baee7c0ed5ad3073d1
0.10.0-pre.32014-03-28T23:39:56.394410ZDownload3ac5cf5bffd93b1a04a75dec17ed19403ab5ad6b0afe2060f53d07e2cf09f2b0
0.10.0-pre.42014-04-11T16:18:00.163560ZDownloadb6c13bf148c02b0b8fd6e9f68f50f1edb890f5b577013f390b866e4c933a50d4
0.10.02014-05-31T00:50:33.692620ZDownloadad3859e609e972f99e08293e8cc2111ffd44a7dbc8de65418741999929170c71
0.10.0+12014-06-06T02:11:42.540850ZDownload8bf9a74328dbb07dbb3625a7e4005d13987292a2e0ebdcbbeebe79b63684c446
0.10.12014-06-26T23:06:23.349230ZDownloadc78c40bea7911c7fe471c9ee13f15ad77b7eb3d5d8a978efce387e8deb2a8812
0.10.1+12014-07-02T19:05:28.258190ZDownload3b26e6ec5a9a9cd070d524b7cf2d1cb2d8c7bdb15c011bbb388a9906e7e68e7a
0.10.1+22014-07-02T22:36:28.444560ZDownload76fe100673e2b148272dd84e87047ebef8ec9b9dd5391a9d38c2c83bc9a11d24
0.11.0-dev2014-07-10T14:54:48.523180ZDownloadce0d86b7d8bb7dbf3c6fd0fffc26593a86ad4679e73122f307dac52f33ee501b
0.11.02014-07-30T15:24:32.460810ZDownloadd642a55886351c1c899d54221c4c08adce94059b3ac0728f62294fe76ec4ae70
0.11.0+42014-08-01T00:44:26.811730ZDownloada95cfd4de7b73c76cfa8afbae27edbd03bc1a3bc37efff5b6715e0fab3b83429
0.11.0+52014-08-08T20:35:24.536880ZDownload62deaf429db6a18555476df841a0174d63ed1bd4384b5405ffb884b34b54806b
0.12.02014-08-13T22:21:37.101960ZDownload54fcead9e204a283749413adb8ca13f58511e0779c90aa7ea7955c63ce53ad83
0.12.12014-09-08T20:14:02.501660ZDownload69d97794b1c0c0d78eaacbf592dcfe1d901d7f73d23387f3405fbe47bcc4847a
0.12.1+12014-09-08T20:33:14.404040ZDownload96780e0c16584d18c74452180267b533f8ce5bc851f5af3c5c1dc2a3508d6186
0.12.22014-12-05T18:54:36.632090ZDownloadf138348f907d947437e039aee182a0c9485b5989027b36bcbe64393a7d000e68
0.12.2+12015-02-02T22:01:53.370910ZDownloadffe42d838d6a864ae0534b6859ada7b9d17a3f119c5f9dbe90cc4f8ff5c61919
0.13.02015-02-19T21:43:00.062340ZDownload745ee5739e58577328e70f5a084885805d27c051845eb213fb47d15289624a22
0.13.0+12015-03-17T16:45:13.721630ZDownload0aeef7c956cc81db5baf396f022b8cd9b9e5402a4fb4aa8ee56c2ae5ebf2949f
0.13.0+22015-04-09T19:02:20.740940ZDownloadb114b92e2c836281d51eaffcd3f53e889923dbaa2537093cecc12637810b9209
0.13.12015-04-30T15:42:35.753600ZDownload7016e376e1c1f2679c872be0be5c4f390e92bdbf120327f54e9bd393748a9119
0.13.1+12015-05-11T17:02:46.881300ZDownload527cb8df2cd58502a4b4e9a3ff4ec1ca39992320da3ff5591645f6ddb5ca3f2a
0.13.1+22015-08-19T22:04:25.636ZDownloadcce7a5ebc8e73e14c28d203d6a4f43545ace4ae97df952411e5d136cca9c9c7e
0.13.1+32015-12-07T23:41:34.975ZDownloadaab2c5185e439cd8ec072ca47b376b73e51ec66bcb0288318e89431012ac87cb
0.13.22015-12-15T16:57:45.681ZDownloadbe97143dafbbceae557ad7b098c91ecb3e8c002b9b34a2137cf25b8d252787f5
0.13.32015-12-16T18:02:47.681ZDownload5e051eb86708f6948fd322d1cb44988dd2e5a3ff1872f0c9e61b0eb529355d04
0.13.3+12016-01-20T15:14:50.440ZDownloade45004718c02ee781072a5678055bbf898d72de36c01b41d8477e07d570f5d60
0.13.42016-01-22T21:28:07.236ZDownloade5f7232320a993efef7f6295665680c7f48c25541403fd119599c00e496080c0
0.13.52016-03-25T19:13:08.710ZDownloadb1697eec743384a8d3b73166e7ee6012d469fa292d561e4c863a83c933cbd2f9
0.14.02016-09-30T18:03:40.983ZDownloadd4f1b56ee390857fdc0faec055610fd57e749674201d324aa04c0c26dc68d012
0.15.02016-11-21T18:55:06.976ZDownload27fd872acfd32ed38041e3ae175e74500778a7c37786a0f1fd2b9281ddd49aac
0.15.12017-05-03T16:43:56.182794ZDownload13e06a3025e8684a119fc7bd210077d11d09ab5b357476755b0e2d93c7abd549

Dependencies

analyzer "\u003e=0.15.6 \u003c0.26.0"

barback "\u003e=0.14.2 \u003c0.16.0"

code_transformers "\u003e=0.2.3 \u003c0.3.0"

logging "\u003e=0.9.0 \u003c0.10.0"

path "\u003e=0.9.0 \u003c2.0.0"

smoke "\u003e=0.1.0 \u003c0.4.0"

source_maps "\u003e=0.9.4 \u003c0.11.0"

source_span "\u003e=1.0.0 \u003c2.0.0"

utf "\u003e=0.9.0 \u003c0.10.0"