Metadata-Version: 2.1
Name: yafowil.widget.dict
Version: 2.0a1
Summary: Dict/Mapping Widget for YAFOWIL
Home-page: http://github.com/conestack/yafowil.widget.dict
Author: Yafowil Contributors
Author-email: dev@conestack.org
License: Simplified BSD
Keywords: yafowil form widget dict mapping
Classifier: Environment :: Web Environment
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
License-File: LICENSE.rst
Requires-Dist: setuptools
Requires-Dist: yafowil (>2.1.99)
Provides-Extra: test
Requires-Dist: lxml ; extra == 'test'
Requires-Dist: zope.testrunner ; extra == 'test'

This is a **dictionary widget** for for `YAFOWIL 
<http://pypi.python.org/pypi/yafowil>`_ - Yet Another Form Widget Library.

- `Documentation <http://docs.yafowil.info/en/latest/blueprints.html#dict>`_
- `DEMO - see it Live <http://demo.yafowil.info/++widget++yafowil.widget.dict/index.html>`_


Contributors
============

- Robert Niederrreiter

- Peter Holzer

- Georg Bernhard

- Lena Daxenbichler


Changes
=======

2.0a1 (2023-05-15)
------------------

- Add ``webresource`` support.
  [rnix]

- Extend JS by ``dict_on_array_add`` and ``register_array_subscribers``
  functions to enable usage in ``yafowil.widget.array``.
  [lenadax]

- Add support for key and value datatypes.
  [rnix]

- Rewrite JavaScript using ES6.
  [rnix]

- Remove B/C property callback tests. Property callbacks always
  gets passed ``widget`` and ``data`` as of yafowil 3.0.0.
  [rnix]


1.8 (2020-07-09)
----------------

- Fix re-rendering of widget if values required but empty dict passed.
  [rnix]

- Remove ``dict_builder``. Entire widget is rendered now in ``dict_renderer``
  [rnix]

- General code cleanup and modernization.
  [rnix]


1.7 (2018-07-16)
----------------

- Python 3 compatibility.
  [rnix]

- Convert doctests to unittests.
  [rnix]

- Add ``key_label`` and ``value_label`` blueprint properties. They replace
  ``head`` dict property containing ``key`` and ``value``. Needed to make i18n
  work when using dict blueprint in in yaml forms. ``head`` still works for
  B/C reasons.
  [rnix]


1.6 (2016-09-09)
----------------

- Use ``$.closest()`` for acquiring dict widget wrapper table
  when adding row.
  [rnix, 2016-06-28]

- Add dedicated CSS for ``plone5`` theme provided by ``yafowil.plone``.
  [rnix, 2016-06-28]

- Use ``yafowil.utils.entry_point`` decorator.
  [rnix, 2016-06-27]

- Minor bootstrap theme CSS changes.
  [rnix, 2016-06-27]


1.5 (2015-01-23)
----------------

- Bootstrap 3 compatibility.
  [rnix, 2014-08-06]

- Introduce ``key_class`` and ``value_class`` properties which gets rendered
  to corresponding input fields.
  [rnix, 2014-08-06]


1.4
---

- Add translations, package depends now ``yafowil`` >= 2.1
  [rnix, 2014-04-30]


1.3.1
-----

- use ``yafowil.utils.attr_value`` wherever possible.
  [rnix, 2012-10-25]


1.3
---

- Adopt resource providing
  [rnix, 2012-06-12]

- Remove example app
  [rnix, 2012-06-12]


1.2
---

- make ready for YAFOWIL 1.3
  [agitator, 2012-02-19]


1.1.1
-----

- add dict binder function to ``yafowil.widget.array`` hooks if found
  [rnix, 2011-10-05]


1.1
---

- adopt to yafowil 1.2
  [jensens, 2011-09-20]

- make ready for z3c.autoinclude+Plone (only if available).
  [jensens, 2011-09-20]


1.0.2
-----

- be gentle and display an error if for some reason a static dict is feeded
  with additional values.
  [jensens - 2011-09-01]


1.0.1
-----

- make conditional resource registration more general for Zope2 available.
  [jensens, 2011-08-26]


1.0
---

- add display renderer
  [rnix, 2011-08-04]

- adopt to yafowil 1.1
  [rnix, 2011-07-08]

- adopt tests for form novalidate property
  [rnix, 2011-05-23]


0.9.1
-----

- test coverage
  [rnix, 2011-05-07]

- python 2.4 fix
  [chaoflow, 2011-03-01]


0.9
---

- made it work [rnix]


License
=======

Copyright (c) 2010-2021, BlueDynamics Alliance, Austria, Germany, Switzerland
Copyright (c) 2021-2022, Yafowil Contributors
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice, this
  list of conditions and the following disclaimer in the documentation and/or
  other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
