myams-js


Namemyams-js JSON
Version 2.7.0 PyPI version JSON
download
home_pagehttps://pyams.readthedocs.io
SummaryMyAMS.js extension framework
upload_time2024-10-19 14:44:22
maintainerNone
docs_urlNone
authorThierry Florac
requires_python>=3.7
licenseZPL
keywords pyramid pyams
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ================
MyAMS.js package
================

.. contents::


What is PyAMS?
==============

PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications
and content management with the Pyramid framework.

**PyAMS** is actually mainly used to manage web sites through content management applications (CMS,
see PyAMS_content package), but many features are generic and can be used inside any kind of web
application.

All PyAMS documentation is available on `ReadTheDocs <https://pyams.readthedocs.io>`_; source code
is available on `Gitlab <https://gitlab.com/pyams>`_ and pushed to `Github
<https://github.com/py-ams>`_.


What is MyAMS.js?
=================

MyAMS.js is a "small" extension package over JQuery and Bootstrap. It provides a small set of
features using the HTML "data" API to enable components configuration without using any
javascript code.

MyAMS documentation and demo site are available at http://myams.ztfy.org.


Integrating MyAMS.js
====================

You can include MyAMS resources manually as usual in your HTML pages.

A Python package is also provided, which is declaring MyAMS resources as Fanstatic resources,
for easy integration into any Pyramid application; you can also use *PyAMS_zmi* package, which
is relying on MyAMS.js.


Changelog
=========

2.7.0
-----
 - updated build packages and dependencies (JQuery-UI, JQuery-validation, Datatables, JSRender...)
 - avoid duplicated modules names on dynamic import
 - added support for "application/json" content-type on AJAX requests
 - updated form submit progress getter
 - updated modal backdrop DOM position to handle static modals correctly

2.6.1
-----
 - added gradient style to calendar events

2.6.0
-----
 - added TarteAuCitron cookies manager resources
 - small updates in calendar styles

2.5.1
-----
 - updated table refresh helper
 - added arrow marker to ordered select2 inputs

2.5.0
-----
 - added table refresh helper

2.4.9
-----
 - updated inner form table styles
 - updated Select2 styles
 - updated MyAMS notifications module

2.4.8
-----
 - updated Z-index of TinyMCE editor menus to be used into modals

2.4.7
-----
 - disable modal click handler from datatable collapsing cell
 - updated tooltips line height
 - added custom CSS classes using viewport height

2.4.6
-----
 - removed calendar events overflow
 - updated content review form comments max height

2.4.5
-----
 - fixed FullCalendar packaging issue

2.4.4
-----
 - updated Emerald theme fonts
 - upgraded FullCalendar to release 6.1.11

2.4.3
-----
 - updated calendar and forms styles
 - updated Emerald theme font and colors

2.4.2
-----
 - updated Select2 styles
 - added absolute positions classes

2.4.1
-----
 - added border-style and border-width responsive classes
 - stop events propagation on navigation links
 - updated FullCalendar styles

2.4.0
-----
 - added container module helpers
 - updated table reorder selector
 - updated datatable buttons style
 - updated TinyMCE editor styles
 - small CSS updates

2.3.1
-----
 - added LightMode to MyAMS environment initializer

2.3.0
-----
 - added LightMode skin
 - added jQuery InputMask plug-in
 - added helpers to disable click on dragged elements
 - added helpers to help changing parent of an element
 - added forms checks when displaying AJAX errors
 - updated CSS styles

2.2.1
-----
 - updated fonts
 - updated colorpicker z-index to display picker in modals
 - updated Select2 styles
 - other minor CSS updates

2.2.0
-----
 - added support for modal targets in notifications links
 - added JSDom as default environment to Jest

2.1.0
-----
 - added dropzone plug-in
 - corrected tree sorting
 - updated CSS styles

2.0.1
-----
 - updated Buildout configuration

2.0.0
-----
 - migrated to Pyramid 2.0

1.16.0
------
 - added FullCalendar support plug-in
 - updated minified navigation bar styles
 - small CSS updates

1.15.8
------
 - updated Webpack configuration

1.15.7
------
 - automatically switch fieldsets and tabs containing errors on form load (and not only on
   JSON response on submit)
 - upgraded FontAwesome to release 6.3.0

1.15.6
------
 - updated clipboard module

1.15.5
------
 - use timeout in file input plug-in for correct initialization in modals

1.15.4
------
 - updated default modals z-index
 - set focus to last opened modal when another modal is hidden

1.15.3
------
 - updated ESLint configuration
 - corrected ESLint errors

1.15.2
------
 - updated MyAMS theme getter
 - updated promises handler in several plug-ins
 - new unit tests on mod-helpers

1.15.1
------
 - updated DataTables DOM property when including buttons

1.15.0
------
 - upgraded FontAwesome to release 6.2.1
 - updated Webpack configuration to manage fonts assets (and avoid browsers errors!)

1.14.2
------
 - correction in DataTables stateRestore plug-in loading
 - added support for Python 3.11

1.14.1
------
 - upgraded DataTables plug-in to release 1.13.1
 - updated dependencies
 - small menu check update

1.14.0
------
 - added click handler to submit a form from a standard action button
 - added thumbnails variables and support classes
 - added support to set a context for custom events handlers
 - added modals helper to set dialog width according to internal image width

1.13.1
------
 - updated switchers icons management in tree module
 - ajax and alert modules refactoring
 - replaced Gulp-uglify plug-in by Gulp-terser


1.13.0
------
 - updated dependencies: Bootstrap, Babel, DataTables, Jest, JQuery, JQuery-UI, Webpack...
 - updated TinyMCE dialogs style

1.12.3
------
 - packaging version mismatch

1.12.2
------
 - added support for Python 3.10
 - updated tree nodes padding
 - updated AJAX errors management
 - updated container element attribute switcher
 - updated element refresh helper
 - updated base modals z-index
 - updated TinyMCE timeout before editor initialization
 - updated font size in dropdown menus
 - handle read-only mode in ACE editor
 - updated styles

1.12.1
------
 - updated CI configuration

1.12.0
------
 - upgraded Bootstrap to version 4.6.1
 - upgraded FontAwesome to version 5.15.4
 - added helper and styles for an "SEO quality indicator" component
 - added helper to store log in form redirection hash
 - initialize data attributes before loading modules
 - handle pre-opened navigation menus
 - updated table sorting data after ordering
 - updated active menu selector to handle case where the first active menu is a submenu
 - updated FontAwesome icon switch helper
 - updated FontAwesome CSS resources
 - moved initData function to base module, and added config option to override
 - added scroll helper
 - added helper to add element to parent
 - added option to reset form after submit
 - added timeout to Datatables plug-in initialization
 - disable window "beforeunload" event handler before activating a "redirect" response
 - small styles updates

1.11.1
------
 - automatically set focus when select2 dropdown is opened
 - updated form focus handler to only set focus on the first visible and enabled input
 - updated select2 dropdown styles
 - updated datetime picker styles

1.11.0
------
 - upgraded TinyMCE editor to release 5.10.2
 - updated "modal" options to correctly handle "escape" key and modal focus
 - added "theme" attribute to MyAMS global object to get selected theme
 - handle ICE editor default theme selection based on current MyAMS theme
 - updated themes light colors
 - dark theme updates

1.10.0
------
 - added dark theme
 - added full-bundle (using CSS icons) for Emerald and Dark themes
 - added treeview plug-in
 - added datatable pre-order helper
 - updated *tree* module
 - updated SVG icons switcher

1.9.0
-----
 - added new function in notifications module to add a single notification

1.8.2
-----
 - updated notifications title

1.8.1
-----
 - added missing status color to notifications
 - tests updates

1.8.0
-----
 - added viewport related classes
 - added lighter versions of main Bootstrap colors to CSS variables

1.7.0
-----
 - added custom JQuery filter expressions
 - added custom CSS tree styles
 - added custom TinyMCE editor styles using CSS variables
 - stop event propagation on *modal* data-toggle click handler
 - updated *after-reload* callback management

1.6.4
-----
 - added support for "_top" target in links using "data-ams-target" attribute

1.6.3
-----
 - Select2 plug-in styles updates

1.6.2
-----
 - small updates in Select2 plug-in styles

1.6.1
-----
 - added missing Git JQuery-UI resources

1.6.0
-----
 - allow loading of MyAMS extensions only containing CSS files
 - automatically focus first primary button in modals
 - automatically hide tooltips before opening a new modal
 - resolve promise with modal when opening a new modal from code
 - set event source in context menu dropdown event
 - remove "data-ams-data" attribute after modules initialization
 - add JQuery-UI resizable plug-in support
 - load JQuery-UI stylesheet when using drag&drop plug-ins
 - update datatable reordering
 - updated CSS styles

1.5.1
------
 - updated form's keydown handler to submit with <ctrl>+<enter> from a textarea
 - moved focus handlers to avoid multiple initializations

1.5.0
-----
 - added table row adding helper
 - added container helper to switch element's attribute
 - updated CSS styles

1.4.2
-----
 - updated AJAX behaviour of Select2 plug-in
 - updated CSS styles
 - updated demo site documentation

1.4.1
-----
 - Updated Git fonts resources

1.4.0
-----
 - added new Emerald theme
 - included Select2 stylesheets into main stylesheet
 - small CSS updates

1.3.3
-----
 - updated TinyMCE CSS styles

1.3.2
-----
 - updated TinyMCE production build

1.3.1
-----
 - updated Gitlab-CI configuration

1.3.0
-----
 - small CSS updates
 - removed support for Python < 3.7

1.2.1
-----
 - added classes for Bootstrap modals
 - updated DataTables styles for Bootstrap
 - updated Gitlab-CI configuration
 - removed Travis-CI configuration

1.2.0
-----
 - added french translation for file input "Browse" label
 - packages upgrades
 - CSS styles updates

1.1.0
-----
 - added Bootstrap "Tempus Dominus" plug-in for datetime input fields
 - automatically scroll to errors alerts in modal forms
 - packages upgrades
 - CSS styles updates

1.0.4
-----
 - updated DataTables plug-in integration
 - updated Select2 CSS styles

1.0.3
-----
 - updated form group switcher state for inner switchers

1.0.2
-----
 - updated Fanstatic library path to switch between source and egg installations

1.0.1
-----
 - Travis update

1.0.0
-----
 - initial release

            

Raw data

            {
    "_id": null,
    "home_page": "https://pyams.readthedocs.io",
    "name": "myams-js",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "Pyramid PyAMS",
    "author": "Thierry Florac",
    "author_email": "tflorac@ulthar.net",
    "download_url": "https://files.pythonhosted.org/packages/3e/21/12a57aae42e6a09a78799efe721150e0491f9dc0152ecf8ad0cfa365b5dc/myams_js-2.7.0.tar.gz",
    "platform": null,
    "description": "================\nMyAMS.js package\n================\n\n.. contents::\n\n\nWhat is PyAMS?\n==============\n\nPyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications\nand content management with the Pyramid framework.\n\n**PyAMS** is actually mainly used to manage web sites through content management applications (CMS,\nsee PyAMS_content package), but many features are generic and can be used inside any kind of web\napplication.\n\nAll PyAMS documentation is available on `ReadTheDocs <https://pyams.readthedocs.io>`_; source code\nis available on `Gitlab <https://gitlab.com/pyams>`_ and pushed to `Github\n<https://github.com/py-ams>`_.\n\n\nWhat is MyAMS.js?\n=================\n\nMyAMS.js is a \"small\" extension package over JQuery and Bootstrap. It provides a small set of\nfeatures using the HTML \"data\" API to enable components configuration without using any\njavascript code.\n\nMyAMS documentation and demo site are available at http://myams.ztfy.org.\n\n\nIntegrating MyAMS.js\n====================\n\nYou can include MyAMS resources manually as usual in your HTML pages.\n\nA Python package is also provided, which is declaring MyAMS resources as Fanstatic resources,\nfor easy integration into any Pyramid application; you can also use *PyAMS_zmi* package, which\nis relying on MyAMS.js.\n\n\nChangelog\n=========\n\n2.7.0\n-----\n - updated build packages and dependencies (JQuery-UI, JQuery-validation, Datatables, JSRender...)\n - avoid duplicated modules names on dynamic import\n - added support for \"application/json\" content-type on AJAX requests\n - updated form submit progress getter\n - updated modal backdrop DOM position to handle static modals correctly\n\n2.6.1\n-----\n - added gradient style to calendar events\n\n2.6.0\n-----\n - added TarteAuCitron cookies manager resources\n - small updates in calendar styles\n\n2.5.1\n-----\n - updated table refresh helper\n - added arrow marker to ordered select2 inputs\n\n2.5.0\n-----\n - added table refresh helper\n\n2.4.9\n-----\n - updated inner form table styles\n - updated Select2 styles\n - updated MyAMS notifications module\n\n2.4.8\n-----\n - updated Z-index of TinyMCE editor menus to be used into modals\n\n2.4.7\n-----\n - disable modal click handler from datatable collapsing cell\n - updated tooltips line height\n - added custom CSS classes using viewport height\n\n2.4.6\n-----\n - removed calendar events overflow\n - updated content review form comments max height\n\n2.4.5\n-----\n - fixed FullCalendar packaging issue\n\n2.4.4\n-----\n - updated Emerald theme fonts\n - upgraded FullCalendar to release 6.1.11\n\n2.4.3\n-----\n - updated calendar and forms styles\n - updated Emerald theme font and colors\n\n2.4.2\n-----\n - updated Select2 styles\n - added absolute positions classes\n\n2.4.1\n-----\n - added border-style and border-width responsive classes\n - stop events propagation on navigation links\n - updated FullCalendar styles\n\n2.4.0\n-----\n - added container module helpers\n - updated table reorder selector\n - updated datatable buttons style\n - updated TinyMCE editor styles\n - small CSS updates\n\n2.3.1\n-----\n - added LightMode to MyAMS environment initializer\n\n2.3.0\n-----\n - added LightMode skin\n - added jQuery InputMask plug-in\n - added helpers to disable click on dragged elements\n - added helpers to help changing parent of an element\n - added forms checks when displaying AJAX errors\n - updated CSS styles\n\n2.2.1\n-----\n - updated fonts\n - updated colorpicker z-index to display picker in modals\n - updated Select2 styles\n - other minor CSS updates\n\n2.2.0\n-----\n - added support for modal targets in notifications links\n - added JSDom as default environment to Jest\n\n2.1.0\n-----\n - added dropzone plug-in\n - corrected tree sorting\n - updated CSS styles\n\n2.0.1\n-----\n - updated Buildout configuration\n\n2.0.0\n-----\n - migrated to Pyramid 2.0\n\n1.16.0\n------\n - added FullCalendar support plug-in\n - updated minified navigation bar styles\n - small CSS updates\n\n1.15.8\n------\n - updated Webpack configuration\n\n1.15.7\n------\n - automatically switch fieldsets and tabs containing errors on form load (and not only on\n   JSON response on submit)\n - upgraded FontAwesome to release 6.3.0\n\n1.15.6\n------\n - updated clipboard module\n\n1.15.5\n------\n - use timeout in file input plug-in for correct initialization in modals\n\n1.15.4\n------\n - updated default modals z-index\n - set focus to last opened modal when another modal is hidden\n\n1.15.3\n------\n - updated ESLint configuration\n - corrected ESLint errors\n\n1.15.2\n------\n - updated MyAMS theme getter\n - updated promises handler in several plug-ins\n - new unit tests on mod-helpers\n\n1.15.1\n------\n - updated DataTables DOM property when including buttons\n\n1.15.0\n------\n - upgraded FontAwesome to release 6.2.1\n - updated Webpack configuration to manage fonts assets (and avoid browsers errors!)\n\n1.14.2\n------\n - correction in DataTables stateRestore plug-in loading\n - added support for Python 3.11\n\n1.14.1\n------\n - upgraded DataTables plug-in to release 1.13.1\n - updated dependencies\n - small menu check update\n\n1.14.0\n------\n - added click handler to submit a form from a standard action button\n - added thumbnails variables and support classes\n - added support to set a context for custom events handlers\n - added modals helper to set dialog width according to internal image width\n\n1.13.1\n------\n - updated switchers icons management in tree module\n - ajax and alert modules refactoring\n - replaced Gulp-uglify plug-in by Gulp-terser\n\n\n1.13.0\n------\n - updated dependencies: Bootstrap, Babel, DataTables, Jest, JQuery, JQuery-UI, Webpack...\n - updated TinyMCE dialogs style\n\n1.12.3\n------\n - packaging version mismatch\n\n1.12.2\n------\n - added support for Python 3.10\n - updated tree nodes padding\n - updated AJAX errors management\n - updated container element attribute switcher\n - updated element refresh helper\n - updated base modals z-index\n - updated TinyMCE timeout before editor initialization\n - updated font size in dropdown menus\n - handle read-only mode in ACE editor\n - updated styles\n\n1.12.1\n------\n - updated CI configuration\n\n1.12.0\n------\n - upgraded Bootstrap to version 4.6.1\n - upgraded FontAwesome to version 5.15.4\n - added helper and styles for an \"SEO quality indicator\" component\n - added helper to store log in form redirection hash\n - initialize data attributes before loading modules\n - handle pre-opened navigation menus\n - updated table sorting data after ordering\n - updated active menu selector to handle case where the first active menu is a submenu\n - updated FontAwesome icon switch helper\n - updated FontAwesome CSS resources\n - moved initData function to base module, and added config option to override\n - added scroll helper\n - added helper to add element to parent\n - added option to reset form after submit\n - added timeout to Datatables plug-in initialization\n - disable window \"beforeunload\" event handler before activating a \"redirect\" response\n - small styles updates\n\n1.11.1\n------\n - automatically set focus when select2 dropdown is opened\n - updated form focus handler to only set focus on the first visible and enabled input\n - updated select2 dropdown styles\n - updated datetime picker styles\n\n1.11.0\n------\n - upgraded TinyMCE editor to release 5.10.2\n - updated \"modal\" options to correctly handle \"escape\" key and modal focus\n - added \"theme\" attribute to MyAMS global object to get selected theme\n - handle ICE editor default theme selection based on current MyAMS theme\n - updated themes light colors\n - dark theme updates\n\n1.10.0\n------\n - added dark theme\n - added full-bundle (using CSS icons) for Emerald and Dark themes\n - added treeview plug-in\n - added datatable pre-order helper\n - updated *tree* module\n - updated SVG icons switcher\n\n1.9.0\n-----\n - added new function in notifications module to add a single notification\n\n1.8.2\n-----\n - updated notifications title\n\n1.8.1\n-----\n - added missing status color to notifications\n - tests updates\n\n1.8.0\n-----\n - added viewport related classes\n - added lighter versions of main Bootstrap colors to CSS variables\n\n1.7.0\n-----\n - added custom JQuery filter expressions\n - added custom CSS tree styles\n - added custom TinyMCE editor styles using CSS variables\n - stop event propagation on *modal* data-toggle click handler\n - updated *after-reload* callback management\n\n1.6.4\n-----\n - added support for \"_top\" target in links using \"data-ams-target\" attribute\n\n1.6.3\n-----\n - Select2 plug-in styles updates\n\n1.6.2\n-----\n - small updates in Select2 plug-in styles\n\n1.6.1\n-----\n - added missing Git JQuery-UI resources\n\n1.6.0\n-----\n - allow loading of MyAMS extensions only containing CSS files\n - automatically focus first primary button in modals\n - automatically hide tooltips before opening a new modal\n - resolve promise with modal when opening a new modal from code\n - set event source in context menu dropdown event\n - remove \"data-ams-data\" attribute after modules initialization\n - add JQuery-UI resizable plug-in support\n - load JQuery-UI stylesheet when using drag&drop plug-ins\n - update datatable reordering\n - updated CSS styles\n\n1.5.1\n------\n - updated form's keydown handler to submit with <ctrl>+<enter> from a textarea\n - moved focus handlers to avoid multiple initializations\n\n1.5.0\n-----\n - added table row adding helper\n - added container helper to switch element's attribute\n - updated CSS styles\n\n1.4.2\n-----\n - updated AJAX behaviour of Select2 plug-in\n - updated CSS styles\n - updated demo site documentation\n\n1.4.1\n-----\n - Updated Git fonts resources\n\n1.4.0\n-----\n - added new Emerald theme\n - included Select2 stylesheets into main stylesheet\n - small CSS updates\n\n1.3.3\n-----\n - updated TinyMCE CSS styles\n\n1.3.2\n-----\n - updated TinyMCE production build\n\n1.3.1\n-----\n - updated Gitlab-CI configuration\n\n1.3.0\n-----\n - small CSS updates\n - removed support for Python < 3.7\n\n1.2.1\n-----\n - added classes for Bootstrap modals\n - updated DataTables styles for Bootstrap\n - updated Gitlab-CI configuration\n - removed Travis-CI configuration\n\n1.2.0\n-----\n - added french translation for file input \"Browse\" label\n - packages upgrades\n - CSS styles updates\n\n1.1.0\n-----\n - added Bootstrap \"Tempus Dominus\" plug-in for datetime input fields\n - automatically scroll to errors alerts in modal forms\n - packages upgrades\n - CSS styles updates\n\n1.0.4\n-----\n - updated DataTables plug-in integration\n - updated Select2 CSS styles\n\n1.0.3\n-----\n - updated form group switcher state for inner switchers\n\n1.0.2\n-----\n - updated Fanstatic library path to switch between source and egg installations\n\n1.0.1\n-----\n - Travis update\n\n1.0.0\n-----\n - initial release\n",
    "bugtrack_url": null,
    "license": "ZPL",
    "summary": "MyAMS.js extension framework",
    "version": "2.7.0",
    "project_urls": {
        "Homepage": "https://pyams.readthedocs.io"
    },
    "split_keywords": [
        "pyramid",
        "pyams"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "26db12620adc1a5134bda52a8544dc66c6847a4a1458ab18c4de9f461749febd",
                "md5": "019353aeb864557477ea2a97304c92f5",
                "sha256": "d48726fb5f0d376530a8ce6e67c813cc7cd24f8903c9c2fe3c7e7c4d040f0518"
            },
            "downloads": -1,
            "filename": "myams_js-2.7.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "019353aeb864557477ea2a97304c92f5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 22178283,
            "upload_time": "2024-10-19T14:44:18",
            "upload_time_iso_8601": "2024-10-19T14:44:18.570142Z",
            "url": "https://files.pythonhosted.org/packages/26/db/12620adc1a5134bda52a8544dc66c6847a4a1458ab18c4de9f461749febd/myams_js-2.7.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3e2112a57aae42e6a09a78799efe721150e0491f9dc0152ecf8ad0cfa365b5dc",
                "md5": "90cd80171a41b0cc95c240711ca5611a",
                "sha256": "c230ee8cb3c64dbab2fd1ff1b6b38a733681a85cb335e62adbd325246e8cca8c"
            },
            "downloads": -1,
            "filename": "myams_js-2.7.0.tar.gz",
            "has_sig": false,
            "md5_digest": "90cd80171a41b0cc95c240711ca5611a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 19687139,
            "upload_time": "2024-10-19T14:44:22",
            "upload_time_iso_8601": "2024-10-19T14:44:22.169054Z",
            "url": "https://files.pythonhosted.org/packages/3e/21/12a57aae42e6a09a78799efe721150e0491f9dc0152ecf8ad0cfa365b5dc/myams_js-2.7.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-19 14:44:22",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "myams-js"
}
        
Elapsed time: 0.81958s