Metadata-Version: 2.4
Name: yafowil.widget.array
Version: 1.8
Summary: Array Widget for YAFOWIL
Home-page: http://github.com/conestack/yafowil.widget.array
Author: Yafowil Contributors
Author-email: dev@conestack.org
License: Simplified BSD
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<4.0.0,>2.1.99
Provides-Extra: test
Requires-Dist: yafowil[test]; extra == "test"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: summary

This is an **array widget** for for `YAFOWIL
<http://pypi.python.org/pypi/yafowil>`_ .

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

Source Code
===========

The sources are in a GIT DVCS with its main branches at
`github <http://github.com/conestack/yafowil.widget.array>`_.

We'd be happy to see many forks and pull-requests to make YAFOWIL even better.


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

- Robert Niederreiter

- Georg Bernhard



Changes
=======

1.8 (2025-11-03)
----------------

- Pin upper versions of dependencies.
  [lenadax]


1.7 (2022-10-06)
----------------

- Introduce new method ``set_value_index`` to allow correct custom indexing
  in index hooks.
  [lenadax]


1.6.1 (2019-11-20)
------------------

- Use ``bdajax.register`` for registering binder function.
  [rnix]


1.6 (2019-07-31)
----------------

- Add additional JS hooks when array gets modified. Provided hooks are now
  ``before_add``, ``add``, ``remove``, ``before_up``, ``up``, ``before_down``,
  ``down`` and ``index``.
  [rnix]

- Add ``array_display_renderer``.
  [rnix]


1.5 (2018-07-16)
----------------

- Python 3 compatibility.
  [rnix]

- Convert doctests to unittests.
  [rnix]


1.4 (2016-09-09)
----------------

- 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.3.1 (2015-06-25)
------------------

- Resolve JSHint errors and warnings.
  [thet]

- Fix CSS for displaying icons in default theme.
  [marfago]


1.3 (2015-01-23)
----------------

- Fix ``mark_disabled`` function.
  [rnix]

- Adopt to ``yafowil.bootstrap`` 1.2.
  [rnix]


1.2.1
-----

- Do not hook ``array_display_proxy`` if ``display_proxy`` proerty set on
  widget attributes.
  [rnix, 2012-10-26]

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


1.2
---

- Add ``array`` CSS class to array wrapper DOM element if not present (may
  happen if ``class`` property for array blueprint gets overwritten). Javascript
  depends on this CSS class.
  [rnix, 2012-07-25]

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

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


1.1
---

- pass parent to array extractor explicit extract call (as compound extractor 
  does).
  [jensens, 2012-05-20]

- Handle ``required`` property in ``array`` blueprint.
  [rnix, 2012-04-19]

- Handle ``display`` mode and ``disabled`` property for leaf array children.
  [rnix, 2012-04-17]

- Introduce ``add``, ``remove``, ``sort`` and ``static`` properties for
  ``array`` blueprint.
  [rnix, 2012-04-13]


1.0
---

- Implement yafowil 1.3 entry_point registration
  [agitator, 2012-02-15]


0.9
---

- Make it work
  [rnix]


License
=======

Copyright (c) 2011-2021, BlueDynamics Alliance, Austria, Germany, Switzerland
Copyright (c) 2021, 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.
