mirror of
https://gitlab.com/JKANetwork/CheckServer.git
synced 2026-02-14 17:21:35 +01:00
Start again
This commit is contained in:
202
vendors/pnotify/COPYING
vendored
Normal file
202
vendors/pnotify/COPYING
vendored
Normal file
@@ -0,0 +1,202 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
292
vendors/pnotify/README.md
vendored
Normal file
292
vendors/pnotify/README.md
vendored
Normal file
@@ -0,0 +1,292 @@
|
||||
[](http://waffle.io/sciactive/pnotify) [](http://waffle.io/sciactive/pnotify)
|
||||
[](https://www.npmjs.com/package/pnotify)
|
||||
[](https://www.jsdelivr.com/package/npm/pnotify)
|
||||
|
||||
PNotify is a JavaScript notification plugin, developed by SciActive. PNotify can also provide [desktop notifications](http://sciactive.com/pnotify/#web-notifications) based on the [Web Notifications spec](http://www.w3.org/TR/notifications/). If desktop notifications are not available or not allowed, PNotify will fall back to displaying the notice as a regular, in-browser notice.
|
||||
|
||||
Demos
|
||||
=====
|
||||
|
||||
* http://sciactive.com/pnotify/ for the latest release
|
||||
* https://sciactive.github.io/pnotify/ for what's on master (gh-pages to be precise)
|
||||
|
||||
Requirements
|
||||
============
|
||||
|
||||
jQuery (1.6 or higher)
|
||||
|
||||
Getting Started
|
||||
===============
|
||||
|
||||
You can include PNotify using NPM, Bower, or a custom download. NPM is the prefered method.
|
||||
|
||||
npm install pnotify
|
||||
|
||||
The PNotify custom download comes with the following files:
|
||||
|
||||
* `pnotify.custom.js` & `pnotify.custom.min.js` (Minified)
|
||||
* `pnotify.custom.css` & `pnotify.custom.min.css` (Minified)
|
||||
|
||||
So here's how you'd include them on your page:
|
||||
|
||||
```html
|
||||
<script type="text/javascript" src="pnotify.custom.min.js"></script>
|
||||
<link href="pnotify.custom.min.css" media="all" rel="stylesheet" type="text/css" />
|
||||
```
|
||||
|
||||
Now you can use PNotify like this:
|
||||
|
||||
```html
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
new PNotify({
|
||||
title: 'Regular Notice',
|
||||
text: 'Check me out! I\'m a notice.'
|
||||
});
|
||||
});
|
||||
</script>
|
||||
```
|
||||
|
||||
If you are not using any UI library, you can use the included styling, called Bright Theme. It is the default.
|
||||
|
||||
If you are using Bootstrap version 3, include this line somewhere before your first notice:
|
||||
|
||||
```js
|
||||
PNotify.prototype.options.styling = "bootstrap3";
|
||||
```
|
||||
|
||||
If you are using Bootstrap 3 with Font Awesome, include this line somewhere before your first notice:
|
||||
|
||||
```js
|
||||
PNotify.prototype.options.styling = "fontawesome";
|
||||
```
|
||||
|
||||
Stacks
|
||||
======
|
||||
|
||||
A stack is an object which PNotify uses to determine where to position notices. A stack has two mandatory properties, `dir1` and `dir2`. `dir1` is the first direction in which the notices are stacked. When the notices run out of room in the window, they will move over in the direction specified by `dir2`. The directions can be `"up"`, `"down"`, `"right"`, or `"left"`. Stacks are independent of each other, so a stack doesn't know and doesn't care if it overlaps (and blocks) another stack. The default stack, which can be changed like any other default, goes down, then left. Stack objects are used and manipulated by PNotify, and therefore, should be a variable when passed. So, calling something like `new PNotify({stack: {"dir1": "down", "dir2": "left"}});` will **NOT** work. It will create a notice, but that notice will be in its own stack and may overlap other notices.
|
||||
|
||||
Modal Stacks
|
||||
------------
|
||||
|
||||
You can set a stack as modal by setting the "modal" property to true. A modal stack creates an overlay behind it when any of its notices are open. When the last notice within it is removed, the overlay is hidden. If the "overlay_close" property is set to true, then clicking the overlay will cause all of the notices in that stack to be removed.
|
||||
|
||||
Example Stacks
|
||||
--------------
|
||||
|
||||
```js
|
||||
var stack_topleft = {"dir1": "down", "dir2": "right", "push": "top"};
|
||||
var stack_bottomleft = {"dir1": "right", "dir2": "up", "push": "top"};
|
||||
var stack_modal = {"dir1": "down", "dir2": "right", "push": "top", "modal": true, "overlay_close": true};
|
||||
var stack_bar_top = {"dir1": "down", "dir2": "right", "push": "top", "spacing1": 0, "spacing2": 0};
|
||||
var stack_bar_bottom = {"dir1": "up", "dir2": "right", "spacing1": 0, "spacing2": 0};
|
||||
var stack_context = {"dir1": "down", "dir2": "left", "context": $("#stack-context")};
|
||||
```
|
||||
|
||||
This stack is initially positioned through code instead of CSS.
|
||||
|
||||
```js
|
||||
var stack_bottomright = {"dir1": "up", "dir2": "left", "firstpos1": 25, "firstpos2": 25};
|
||||
```
|
||||
|
||||
This is done through two extra variables. `firstpos1` and `firstpos2` are pixel values, relative to a viewport edge. `dir1` and `dir2`, respectively, determine which edge. It is calculated as follows:
|
||||
|
||||
* `dir = "up"` - firstpos is relative to the bottom of viewport.
|
||||
* `dir = "down"` - firstpos is relative to the top of viewport.
|
||||
* `dir = "right"` - firstpos is relative to the left of viewport.
|
||||
* `dir = "left"` - firstpos is relative to the right of viewport.
|
||||
|
||||
To create a stack in the top left, define the stack:
|
||||
|
||||
```js
|
||||
var stack_topleft = {"dir1": "down", "dir2": "right"};
|
||||
```
|
||||
|
||||
and then add two options to your pnotify call:
|
||||
|
||||
```
|
||||
addclass: "stack-topleft", // This is one of the included default classes.
|
||||
stack: stack_topleft
|
||||
```
|
||||
|
||||
There are several CSS classes included which will position your notices for you:
|
||||
|
||||
* `stack-topleft`
|
||||
* `stack-bottomleft`
|
||||
* `stack-bottomright`
|
||||
* `stack-modal`
|
||||
|
||||
You can create your own custom position and movement by defining a custom stack.
|
||||
|
||||
If you just want to position a single notice programmatically, and don't want to add any other notices into the stack, you can use this method, where `myXPos` and `myYPos` are pixel values relative to the top left corner of the viewport.
|
||||
|
||||
```js
|
||||
new PNotify({
|
||||
text: "Notice that's positioned programmatically in its own stack.",
|
||||
stack: {"dir1": "down", "dir2": "right", "firstpos1": myYPos, "firstpos2": myXPos}
|
||||
});
|
||||
```
|
||||
|
||||
Configuration Defaults / Options
|
||||
================================
|
||||
|
||||
* `title: false` - The notice's title.
|
||||
* `title_escape: false` - Whether to escape the content of the title. (Not allow HTML.)
|
||||
* `text: false` - The notice's text.
|
||||
* `text_escape: false` - Whether to escape the content of the text. (Not allow HTML.)
|
||||
* `styling: "brighttheme"` - What styling classes to use. (Can be either "brighttheme", "bootstrap3", "fontawesome", or a custom style object. See the source in the end of pnotify.js for the properties in a style object.)
|
||||
* `addclass: ""` - Additional classes to be added to the notice. (For custom styling.)
|
||||
* `cornerclass: ""` - Class to be added to the notice for corner styling.
|
||||
* `auto_display: true` - Display the notice when it is created. Turn this off to add notifications to the history without displaying them.
|
||||
* `width: "300px"` - Width of the notice.
|
||||
* `min_height: "16px"` - Minimum height of the notice. It will expand to fit content.
|
||||
* `type: "notice"` - Type of the notice. "notice", "info", "success", or "error".
|
||||
* `icon: true` - Set icon to true to use the default icon for the selected style/type, false for no icon, or a string for your own icon class.
|
||||
* `animation: "fade"` - The animation to use when displaying and hiding the notice. "none" and "fade" are supported through CSS. Others are supported through the Animate module and Animate.css.
|
||||
* `animate_speed: "normal"` - Speed at which the notice animates in and out. "slow", "normal", or "fast". Respectively, 400ms, 250ms, 100ms.
|
||||
* `shadow: true` - Display a drop shadow.
|
||||
* `hide: true` - After a delay, remove the notice.
|
||||
* `delay: 8000` - Delay in milliseconds before the notice is removed.
|
||||
* `mouse_reset: true` - Reset the hide timer if the mouse moves over the notice.
|
||||
* `remove: true` - Remove the notice's elements from the DOM after it is removed.
|
||||
* `insert_brs: true` - Change new lines to br tags.
|
||||
* `destroy: true` - Whether to remove the notice from the global array when it is closed.
|
||||
* `stack: {"dir1": "down", "dir2": "left", "push": "bottom", "spacing1": 25, "spacing2": 25, "context": $("body"), "modal": false}` - The stack on which the notices will be placed. Also controls the direction the notices stack.
|
||||
|
||||
Desktop Module
|
||||
--------------
|
||||
|
||||
`desktop: {`
|
||||
* `desktop: false` - Display the notification as a desktop notification.
|
||||
* `fallback: true` - If desktop notifications are not supported or allowed, fall back to a regular notice.
|
||||
* `icon: null` - The URL of the icon to display. If false, no icon will show. If null, a default icon will show.
|
||||
* `tag: null` - Using a tag lets you update an existing notice, or keep from duplicating notices between tabs. If you leave tag null, one will be generated, facilitating the "update" function.
|
||||
* `title: null` - Optionally display a different title for the desktop.
|
||||
* `text: null` - Optionally display different text for the desktop.
|
||||
|
||||
`}`
|
||||
|
||||
Buttons Module
|
||||
--------------
|
||||
|
||||
`buttons: {`
|
||||
* `closer: true` - Provide a button for the user to manually close the notice.
|
||||
* `closer_hover: true` - Only show the closer button on hover.
|
||||
* `sticker: true` - Provide a button for the user to manually stick the notice.
|
||||
* `sticker_hover: true` - Only show the sticker button on hover.
|
||||
* `show_on_nonblock: false` - Show the buttons even when the nonblock module is in use.
|
||||
* `labels: {close: "Close", stick: "Stick", unstick: "Unstick"}` - Lets you change the displayed text, facilitating internationalization.
|
||||
* `classes: {closer: null, pin_up: null, pin_down: null}` - The classes to use for button icons. Leave them null to use the classes from the styling you're using.
|
||||
|
||||
`}`
|
||||
|
||||
NonBlock Module
|
||||
---------------
|
||||
|
||||
`nonblock: {`
|
||||
* `nonblock: false` - Create a non-blocking notice. It lets the user click elements underneath it.
|
||||
|
||||
`}`
|
||||
|
||||
Mobile Module
|
||||
-------------
|
||||
|
||||
`mobile: {`
|
||||
* `swipe_dismiss: true` - Let the user swipe the notice away.
|
||||
* `styling: true` - Styles the notice to look good on mobile.
|
||||
|
||||
`}`
|
||||
|
||||
Animate Module
|
||||
--------------
|
||||
|
||||
`animate: {`
|
||||
* `animate: false` - Use animate.css to animate the notice.
|
||||
* `in_class: ""` - The class to use to animate the notice in.
|
||||
* `out_class: ""` - The class to use to animate the notice out.
|
||||
|
||||
`}`
|
||||
|
||||
The Animate module also creates a method, `attention`, on notices which accepts an attention grabber class from Animate.css and callback to be called on completion of the animation.
|
||||
|
||||
Confirm Module
|
||||
--------------
|
||||
|
||||
`confirm: {`
|
||||
* `confirm: false` - Make a confirmation box.
|
||||
* `prompt: false` - Make a prompt.
|
||||
* `prompt_class: ""` - Classes to add to the input element of the prompt.
|
||||
* `prompt_default: ""` - The default value of the prompt.
|
||||
* `prompt_multi_line: false` - Whether the prompt should accept multiple lines of text.
|
||||
* `align: "right"` - Where to align the buttons. (right, center, left, justify)
|
||||
* `buttons: [{text: "Ok", addClass: "", promptTrigger: true, click: function(notice, value){ notice.remove(); notice.get().trigger("pnotify.confirm", [notice, value]); }},{text: "Cancel", addClass: "", click: function(notice){ notice.remove(); notice.get().trigger("pnotify.cancel", notice); }}]` - The buttons to display, and their callbacks. If a button has promptTrigger set to true, it will be triggered when the user hits enter in a single line prompt. If you want only one button, use null as the second entry of your array to remove the cancel button.
|
||||
|
||||
`}`
|
||||
|
||||
History Module
|
||||
--------------
|
||||
|
||||
`history: {`
|
||||
* `history: true` - Place the notice in the history.
|
||||
* `menu: false` - Display a pull down menu to redisplay previous notices.
|
||||
* `fixed: true` - Make the pull down menu fixed to the top of the viewport.
|
||||
* `maxonscreen: Infinity` - Maximum number of notifications to have onscreen.
|
||||
* `labels: {redisplay: "Redisplay", all: "All", last: "Last"}` - Lets you change the displayed text, facilitating internationalization.
|
||||
|
||||
`}`
|
||||
|
||||
Callbacks Module
|
||||
================
|
||||
|
||||
The callback options all expect one argument, a function, which will be called when that event occurs. Unlike other modules, they are included in the options object passed to PNotify() just like the core options. If the function returns false on the "before_open" or "before_close" callback, that event will be canceled.
|
||||
|
||||
* `before_init` - This option is called before the notice has been initialized. It accepts one argument, the options object.
|
||||
* `after_init` - This option is called after the notice has been initialized. It accepts one argument, the notice object.
|
||||
* `before_open` - This option is called before the notice has been displayed. It accepts one argument, the notice object.
|
||||
* `after_open` - This option is called after the notice has been displayed. It accepts one argument, the notice object.
|
||||
* `before_close` - This option is called before the notice closes. It accepts one argument, the notice object.
|
||||
* `after_close` - This option is called after the notice closes. It accepts one argument, the notice object.
|
||||
|
||||
Utility Functions
|
||||
=================
|
||||
|
||||
* `PNotify.reload(root)` - Reinitialize PNotify. PNotify, in a browser, is initialized with window as the root. Returns the created PNotify object.
|
||||
* `PNotify.removeAll()` - Remove all notices.
|
||||
* `PNotify.removeStack(stack)` - Remove all the notices in a stack.
|
||||
* `PNotify.positionAll(animate)` - Reposition the notices, optionally animating their movement.
|
||||
* `notice.open()` - Open the notice.
|
||||
* `notice.remove()` - Remove the notice.
|
||||
* `notice.get()` - Get the notice's DOM element.
|
||||
|
||||
Using PNotify with RequireJS
|
||||
============================
|
||||
|
||||
When they detect AMD/RequireJS, PNotify core defines the named module "pnotify" and PNotify's modules each define names like "pnotify.name". The following example shows the use of the nonblock and desktop modules with RequireJS.
|
||||
|
||||
```js
|
||||
requirejs(['pnotify', 'pnotify.nonblock', 'pnotify.desktop'], function(PNotify){
|
||||
PNotify.desktop.permission();
|
||||
new PNotify({
|
||||
title: 'Desktop Notice',
|
||||
text: 'If you\'ve given me permission, I\'ll appear as a desktop notification. If you haven\'t, I\'ll still appear as a regular PNotify notice.',
|
||||
desktop: {
|
||||
desktop: true
|
||||
},
|
||||
nonblock: {
|
||||
nonblock: true
|
||||
}
|
||||
});
|
||||
});
|
||||
```
|
||||
|
||||
Licensing and Additional Info
|
||||
=============================
|
||||
|
||||
PNotify is distributed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0).
|
||||
|
||||
See http://sciactive.com/pnotify/ for download, more information, and examples.
|
||||
|
||||
## Support on Beerpay
|
||||
Hey dude! Help me out for a couple of :beers:!
|
||||
|
||||
[](https://beerpay.io/sciactive/pnotify) [](https://beerpay.io/sciactive/pnotify?focus=wish)
|
||||
36
vendors/pnotify/bower.json
vendored
Normal file
36
vendors/pnotify/bower.json
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"name": "pnotify",
|
||||
"description": "JavaScript notification plugin.",
|
||||
"main": [
|
||||
"dist/pnotify.animate.js",
|
||||
"dist/pnotify.brighttheme.css",
|
||||
"dist/pnotify.buttons.css",
|
||||
"dist/pnotify.buttons.js",
|
||||
"dist/pnotify.callbacks.js",
|
||||
"dist/pnotify.confirm.js",
|
||||
"dist/pnotify.css",
|
||||
"dist/pnotify.js",
|
||||
"dist/pnotify.desktop.js",
|
||||
"dist/pnotify.history.css",
|
||||
"dist/pnotify.history.js",
|
||||
"dist/pnotify.mobile.css",
|
||||
"dist/pnotify.mobile.js",
|
||||
"dist/pnotify.nonblock.js"
|
||||
],
|
||||
"ignore": [
|
||||
"build-tools/",
|
||||
"includes/",
|
||||
"devnote*.*",
|
||||
"index.html",
|
||||
"testing.html",
|
||||
"buildcustom.php",
|
||||
"package.json",
|
||||
"src/"
|
||||
],
|
||||
"license": [
|
||||
"Apache-2.0"
|
||||
],
|
||||
"dependencies": {
|
||||
"jquery": ">=1.6"
|
||||
}
|
||||
}
|
||||
3
vendors/pnotify/dist/pnotify.animate.js
vendored
Normal file
3
vendors/pnotify/dist/pnotify.animate.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
// Animate
|
||||
!function(n,i){"function"==typeof define&&define.amd?define("pnotify.animate",["jquery","pnotify"],i):"object"==typeof exports&&"undefined"!=typeof module?module.exports=i(require("jquery"),require("./pnotify")):i(n.jQuery,n.PNotify)}("undefined"!=typeof window?window:this,function(n,i){return i.prototype.options.animate={animate:!1,in_class:"",out_class:""},i.prototype.modules.animate={init:function(n,i){this.setUpAnimations(n,i),n.attention=function(i,t){n.elem.one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){n.elem.removeClass(i),t&&t.call(n)}).addClass("animated "+i)}},update:function(n,i,t){i.animate!=t.animate&&this.setUpAnimations(n,i)},setUpAnimations:function(n,i){if(i.animate){n.options.animation="none",n.elem.removeClass("ui-pnotify-fade-slow ui-pnotify-fade-normal ui-pnotify-fade-fast"),n._animateIn||(n._animateIn=n.animateIn),n._animateOut||(n._animateOut=n.animateOut),n.animateIn=this.animateIn.bind(this),n.animateOut=this.animateOut.bind(this);var t=400;"slow"===n.options.animate_speed?t=600:"fast"===n.options.animate_speed?t=200:n.options.animate_speed>0&&(t=n.options.animate_speed),t/=1e3,n.elem.addClass("animated").css({"-webkit-animation-duration":t+"s","-moz-animation-duration":t+"s","animation-duration":t+"s"})}else n._animateIn&&n._animateOut&&(n.animateIn=n._animateIn,delete n._animateIn,n.animateOut=n._animateOut,delete n._animateOut,n.elem.addClass("animated"))},animateIn:function(n){this.notice.animating="in";var i=this;n=function(){i.notice.elem.removeClass(i.options.in_class),this&&this.call(),i.notice.animating=!1}.bind(n),this.notice.elem.show().one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",n).removeClass(this.options.out_class).addClass("ui-pnotify-in").addClass(this.options.in_class)},animateOut:function(n){this.notice.animating="out";var i=this;n=function(){i.notice.elem.removeClass("ui-pnotify-in "+i.options.out_class),this&&this.call(),i.notice.animating=!1}.bind(n),this.notice.elem.one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",n).removeClass(this.options.in_class).addClass(this.options.out_class)}},i});
|
||||
//# sourceMappingURL=pnotify.animate.js.map
|
||||
1
vendors/pnotify/dist/pnotify.animate.js.map
vendored
Normal file
1
vendors/pnotify/dist/pnotify.animate.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["src/pnotify.animate.js"],"names":["root","factory","define","amd","exports","module","require","jQuery","PNotify","window","this","$","prototype","options","animate","in_class","out_class","modules","init","notice","setUpAnimations","attention","aniClass","callback","elem","one","removeClass","call","addClass","update","oldOpts","animation","_animateIn","animateIn","_animateOut","animateOut","bind","animSpeed","animate_speed","css","-webkit-animation-duration","-moz-animation-duration","animation-duration","animating","that","show"],"mappings":"CACC,SAAUA,EAAMC,GACO,kBAAXC,SAAyBA,OAAOC,IAEzCD,OAAO,mBAAoB,SAAU,WAAYD,GACrB,gBAAZG,UAA0C,mBAAXC,QAE/CA,OAAOD,QAAUH,EAAQK,QAAQ,UAAWA,QAAQ,cAG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AIzBK,UAAW,SAASV,GAElBb,KAAKS,OAAOwB,UAAY,IACxB,IAAIC,GAAOlC,IACXa,GAAW,WACTqB,EAAKzB,OAAOK,KAAKE,YAAYkB,EAAK/B,QAAQE,UACtCL,MACFA,KAAKiB,OAGPiB,EAAKzB,OAAOwB,WAAY,GACvBP,KAAKb,GAERb,KAAKS,OAAOK,KAAKqB,OAAOpB,IAAI,+EAAgFF,GAAUG,YAAYhB,KAAKG,QAAQG,WAAWY,SAAS,iBAAiBA,SAASlB,KAAKG,QAAQE,WAG5MoB,WAAY,SAASZ,GAEnBb,KAAKS,OAAOwB,UAAY,KACxB,IAAIC,GAAOlC,IACXa,GAAW,WACTqB,EAAKzB,OAAOK,KAAKE,YAAY,iBAAmBkB,EAAK/B,QAAQG,WACzDN,MACFA,KAAKiB,OAGPiB,EAAKzB,OAAOwB,WAAY,GACvBP,KAAKb,GAERb,KAAKS,OAAOK,KAAKC,IAAI,+EAAgFF,GAAUG,YAAYhB,KAAKG,QAAQE,UAAUa,SAASlB,KAAKG,QAAQG,aAGrKR","file":"pnotify.animate.js","sourceRoot":"../"}
|
||||
1
vendors/pnotify/dist/pnotify.brighttheme.css
vendored
Normal file
1
vendors/pnotify/dist/pnotify.brighttheme.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.brighttheme{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.brighttheme.ui-pnotify-container{padding:18px}.brighttheme .ui-pnotify-title{margin-bottom:12px}.brighttheme-notice{background-color:#ffffa2;border:0 solid #ff0;color:#4f4f00}.brighttheme-info{background-color:#8fcedd;border:0 solid #0286a5;color:#012831}.brighttheme-success{background-color:#aff29a;border:0 solid #35db00;color:#104300}.brighttheme-error{background-color:#ffaba2;background-image:repeating-linear-gradient(135deg,transparent,transparent 35px,rgba(255,255,255,.3) 35px,rgba(255,255,255,.3) 70px);border:0 solid #ff1800;color:#4f0800}.brighttheme-icon-closer,.brighttheme-icon-info,.brighttheme-icon-notice,.brighttheme-icon-sticker,.brighttheme-icon-success{position:relative;width:16px;height:16px;font-size:12px;font-weight:700;line-height:16px;font-family:"Courier New",Courier,monospace;border-radius:50%}.brighttheme-icon-closer:after,.brighttheme-icon-info:after,.brighttheme-icon-notice:after,.brighttheme-icon-sticker:after,.brighttheme-icon-success:after{position:absolute;top:0;left:4px}.brighttheme-icon-notice{background-color:#2e2e00;color:#ffffa2;margin-top:2px}.brighttheme-icon-notice:after{content:"!"}.brighttheme-icon-info{background-color:#012831;color:#8fcedd;margin-top:2px}.brighttheme-icon-info:after{content:"i"}.brighttheme-icon-success{background-color:#104300;color:#aff29a;margin-top:2px}.brighttheme-icon-success:after{content:"\002713"}.brighttheme-icon-error{position:relative;width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:16px solid #2e0400;font-size:0;line-height:0;color:#ffaba2;margin-top:1px}.brighttheme-icon-error:after{position:absolute;top:1px;left:-4px;font-size:12px;font-weight:700;line-height:16px;font-family:"Courier New",Courier,monospace;content:"!"}.brighttheme-icon-closer,.brighttheme-icon-sticker{display:inline-block}.brighttheme-icon-closer:after{top:-4px;content:"\002715"}.brighttheme-icon-sticker:after{top:-5px;content:"\002016"}.brighttheme-icon-sticker.brighttheme-icon-stuck:after{content:"\00003E"}.brighttheme .ui-pnotify-action-bar{padding-top:12px}.brighttheme .ui-pnotify-action-bar input,.brighttheme .ui-pnotify-action-bar textarea{display:block;width:100%;margin-bottom:12px!important}.brighttheme .ui-pnotify-action-button{text-transform:uppercase;font-weight:700;padding:4px 8px;border:none;background:0 0}.brighttheme .ui-pnotify-action-button.btn-primary{border:none;border-radius:0}.brighttheme-notice .ui-pnotify-action-button.btn-primary{background-color:#ff0;color:#4f4f00}.brighttheme-info .ui-pnotify-action-button.btn-primary{background-color:#0286a5;color:#012831}.brighttheme-success .ui-pnotify-action-button.btn-primary{background-color:#35db00;color:#104300}.brighttheme-error .ui-pnotify-action-button.btn-primary{background-color:#ff1800;color:#4f0800}
|
||||
1
vendors/pnotify/dist/pnotify.buttons.css
vendored
Normal file
1
vendors/pnotify/dist/pnotify.buttons.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.ui-pnotify-closer,.ui-pnotify-sticker{float:right;margin-left:.2em}
|
||||
3
vendors/pnotify/dist/pnotify.buttons.js
vendored
Normal file
3
vendors/pnotify/dist/pnotify.buttons.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
// Buttons
|
||||
!function(o,s){"function"==typeof define&&define.amd?define("pnotify.buttons",["jquery","pnotify"],s):"object"==typeof exports&&"undefined"!=typeof module?module.exports=s(require("jquery"),require("./pnotify")):s(o.jQuery,o.PNotify)}("undefined"!=typeof window?window:this,function(o,s){return s.prototype.options.buttons={closer:!0,closer_hover:!0,sticker:!0,sticker_hover:!0,show_on_nonblock:!1,labels:{close:"Close",stick:"Stick",unstick:"Unstick"},classes:{closer:null,pin_up:null,pin_down:null}},s.prototype.modules.buttons={init:function(s,i){var n=this;s.elem.on({mouseenter:function(o){!n.options.sticker||s.options.nonblock&&s.options.nonblock.nonblock&&!n.options.show_on_nonblock||n.sticker.trigger("pnotify:buttons:toggleStick").css("visibility","visible"),!n.options.closer||s.options.nonblock&&s.options.nonblock.nonblock&&!n.options.show_on_nonblock||n.closer.css("visibility","visible")},mouseleave:function(o){n.options.sticker_hover&&n.sticker.css("visibility","hidden"),n.options.closer_hover&&n.closer.css("visibility","hidden")}}),this.sticker=o("<div />",{class:"ui-pnotify-sticker","aria-role":"button","aria-pressed":s.options.hide?"false":"true",tabindex:"0",title:s.options.hide?i.labels.stick:i.labels.unstick,css:{cursor:"pointer",visibility:i.sticker_hover?"hidden":"visible"},click:function(){s.options.hide=!s.options.hide,s.options.hide?s.queueRemove():s.cancelRemove(),o(this).trigger("pnotify:buttons:toggleStick")}}).bind("pnotify:buttons:toggleStick",function(){var i=null===n.options.classes.pin_up?s.styles.pin_up:n.options.classes.pin_up,e=null===n.options.classes.pin_down?s.styles.pin_down:n.options.classes.pin_down;o(this).attr("title",s.options.hide?n.options.labels.stick:n.options.labels.unstick).children().attr("class","").addClass(s.options.hide?i:e).attr("aria-pressed",s.options.hide?"false":"true")}).append("<span />").trigger("pnotify:buttons:toggleStick").prependTo(s.container),(!i.sticker||s.options.nonblock&&s.options.nonblock.nonblock&&!i.show_on_nonblock)&&this.sticker.css("display","none"),this.closer=o("<div />",{class:"ui-pnotify-closer","aria-role":"button",tabindex:"0",title:i.labels.close,css:{cursor:"pointer",visibility:i.closer_hover?"hidden":"visible"},click:function(){s.remove(!1),n.sticker.css("visibility","hidden"),n.closer.css("visibility","hidden")}}).append(o("<span />",{class:null===i.classes.closer?s.styles.closer:i.classes.closer})).prependTo(s.container),(!i.closer||s.options.nonblock&&s.options.nonblock.nonblock&&!i.show_on_nonblock)&&this.closer.css("display","none")},update:function(o,s){!s.closer||o.options.nonblock&&o.options.nonblock.nonblock&&!s.show_on_nonblock?this.closer.css("display","none"):s.closer&&this.closer.css("display","block"),!s.sticker||o.options.nonblock&&o.options.nonblock.nonblock&&!s.show_on_nonblock?this.sticker.css("display","none"):s.sticker&&this.sticker.css("display","block"),this.sticker.trigger("pnotify:buttons:toggleStick"),this.closer.find("span").attr("class","").addClass(null===s.classes.closer?o.styles.closer:s.classes.closer),s.sticker_hover?this.sticker.css("visibility","hidden"):o.options.nonblock&&o.options.nonblock.nonblock&&!s.show_on_nonblock||this.sticker.css("visibility","visible"),s.closer_hover?this.closer.css("visibility","hidden"):o.options.nonblock&&o.options.nonblock.nonblock&&!s.show_on_nonblock||this.closer.css("visibility","visible")}},o.extend(s.styling.brighttheme,{closer:"brighttheme-icon-closer",pin_up:"brighttheme-icon-sticker",pin_down:"brighttheme-icon-sticker brighttheme-icon-stuck"}),o.extend(s.styling.bootstrap3,{closer:"glyphicon glyphicon-remove",pin_up:"glyphicon glyphicon-pause",pin_down:"glyphicon glyphicon-play"}),o.extend(s.styling.fontawesome,{closer:"fa fa-times",pin_up:"fa fa-pause",pin_down:"fa fa-play"}),s});
|
||||
//# sourceMappingURL=pnotify.buttons.js.map
|
||||
1
vendors/pnotify/dist/pnotify.buttons.js.map
vendored
Normal file
1
vendors/pnotify/dist/pnotify.buttons.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["src/pnotify.buttons.js"],"names":["root","factory","define","amd","exports","module","require","jQuery","PNotify","window","this","$","prototype","options","buttons","closer","closer_hover","sticker","sticker_hover","show_on_nonblock","labels","close","stick","unstick","classes","pin_up","pin_down","modules","init","notice","that","elem","on","mouseenter","e","nonblock","trigger","css","mouseleave","class","aria-role","aria-pressed","hide","tabindex","title","cursor","visibility","click","queueRemove","cancelRemove","bind","styles","attr","children","addClass","append","prependTo","container","remove","update","find","extend","styling","brighttheme","bootstrap3","fontawesome"],"mappings":"CACC,SAAUA,EAAMC,GACO,kBAAXC,SAAyBA,OAAOC,IAEzCD,OAAO,mBAAoB,SAAU,WAAYD,GACrB,gBAAZG,UAA0C,mBAAXC,QAE/CA,OAAOD,QAAUH,EAAQK,QAAQ,UAAWA,QAAQ,cAGpDL,EAAQD,EAAKO,OAAQP,EAAKQ,UAEV,mBAAXC,QAAyBA,OAASC,KAAM,SAASC,EAAGH,GAsJ3D,MArJAA,GAAQI,UAAUC,QAAQC,SAExBC,QAAQ,EAERC,cAAc,EAEdC,SAAS,EAETC,eAAe,EAEfC,kBAAkB,EAElBC,QACEC,MAAO,QACPC,MAAO,QACPC,QAAS,WAGXC,SACET,OAAQ,KACRU,OAAQ,KACRC,SAAU,OAGdlB,EAAQI,UAAUe,QAAQb,SACxBc,KAAM,SAASC,EAAQhB,GACrB,GAAIiB,GAAOpB,IACXmB,GAAOE,KAAKC,IACVC,WAAc,SAASC,IAEjBJ,EAAKjB,QAAQI,SAAcY,EAAOhB,QAAQsB,UAAYN,EAAOhB,QAAQsB,SAASA,WAAaL,EAAKjB,QAAQM,kBAC1GW,EAAKb,QAAQmB,QAAQ,+BAA+BC,IAAI,aAAc,YAEpEP,EAAKjB,QAAQE,QAAac,EAAOhB,QAAQsB,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AAKO,QAAQoB,IAAI,aAAc,WAE7BxB,EAAQG,aACVN,KAAKK,OAAOsB,IAAI,aAAc,UACnBR,EAAOhB,QAAQsB,UAAYN,EAAOhB,QAAQsB,SAASA,WAAatB,EAAQM,kBACnFT,KAAKK,OAAOsB,IAAI,aAAc,aAIpC1B,EAAEkD,OAAOrD,EAAQsD,QAAQC,aACvBhD,OAAQ,0BACRU,OAAQ,2BACRC,SAAU,oDAEZf,EAAEkD,OAAOrD,EAAQsD,QAAQE,YACvBjD,OAAQ,6BACRU,OAAQ,4BACRC,SAAU,6BAEZf,EAAEkD,OAAOrD,EAAQsD,QAAQG,aACvBlD,OAAQ,cACRU,OAAQ,cACRC,SAAU,eAELlB","file":"pnotify.buttons.js","sourceRoot":"../"}
|
||||
3
vendors/pnotify/dist/pnotify.callbacks.js
vendored
Normal file
3
vendors/pnotify/dist/pnotify.callbacks.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
// Callbacks
|
||||
!function(o,t){"function"==typeof define&&define.amd?define("pnotify.callbacks",["jquery","pnotify"],t):"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("./pnotify")):t(o.jQuery,o.PNotify)}("undefined"!=typeof window?window:this,function(o,t){var i=t.prototype.init,e=t.prototype.open,n=t.prototype.remove;return t.prototype.init=function(){this.options.before_init&&this.options.before_init(this.options),i.apply(this,arguments),this.options.after_init&&this.options.after_init(this)},t.prototype.open=function(){var o;this.options.before_open&&(o=this.options.before_open(this)),!1!==o&&(e.apply(this,arguments),this.options.after_open&&this.options.after_open(this))},t.prototype.remove=function(o){var t;this.options.before_close&&(t=this.options.before_close(this,o)),!1!==t&&(n.apply(this,arguments),this.options.after_close&&this.options.after_close(this,o))},t});
|
||||
//# sourceMappingURL=pnotify.callbacks.js.map
|
||||
1
vendors/pnotify/dist/pnotify.callbacks.js.map
vendored
Normal file
1
vendors/pnotify/dist/pnotify.callbacks.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["src/pnotify.callbacks.js"],"names":["root","factory","define","amd","exports","module","require","jQuery","PNotify","window","this","$","_init","prototype","init","_open","open","_remove","remove","options","before_init","apply","arguments","after_init","ret","before_open","after_open","timer_hide","before_close","after_close"],"mappings":"CACC,SAAUA,EAAMC,GACO,kBAAXC,SAAyBA,OAAOC,IAEzCD,OAAO,qBAAsB,SAAU,WAAYD,GACvB,gBAAZG,UAA0C,mBAAXC,QAE/CA,OAAOD,QAAUH,EAAQK,QAAQ,UAAWA,QAAQ,cAGpDL,EAAQD,EAAKO,OAAQP,EAAKQ,UAEV,mBAAXC,QAAyBA,OAASC,KAAM,SAASC,EAAGH,GAC3D,GAAII,GAAUJ,EAAQK,UAAUC,KAC5BC,EAAUP,EAAQK,UAAUG,KAC5BC,EAAUT,EAAQK,UAAUK,MAkChC,OAjCAV,GAAQK,UAAUC,KAAO,WACnBJ,KAAKS,QAAQC,aACfV,KAAKS,QAAQC,YAAYV,KAAKS,SAEhCP,EAAMS,MAAMX,KAAMY,WACdZ,KAAKS,QAAQI,YACfb,KAAKS,QAAQI,WAAWb,OAG5BF,EAAQK,UAAUG,KAAO,WACvB,GAAIQ,EACAd,MAAKS,QAAQM,cACfD,EAAMd,KAAKS,QAAQM,YAAYf,QAErB,IAARc,IACFT,EAAMM,MAAMX,KAAMY,WACdZ,KAAKS,QAAQO,YACfhB,KAAKS,QAAQO,WAAWhB,QAI9BF,EAAQK,UAAUK,OAAS,SAASS,GAClC,GAAIH,EACAd,MAAKS,QAAQS,eACfJ,EAAMd,KAAKS,QAAQS,aAAalB,KAAMiB,KAE5B,IAARH,IACFP,EAAQI,MAAMX,KAAMY,WAChBZ,KAAKS,QAAQU,aACfnB,KAAKS,QAAQU,YAAYnB,KAAMiB,KAI9BnB","file":"pnotify.callbacks.js","sourceRoot":"../"}
|
||||
3
vendors/pnotify/dist/pnotify.confirm.js
vendored
Normal file
3
vendors/pnotify/dist/pnotify.confirm.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
// Confirm
|
||||
!function(t,n){"function"==typeof define&&define.amd?define("pnotify.confirm",["jquery","pnotify"],n):"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("jquery"),require("./pnotify")):n(t.jQuery,t.PNotify)}("undefined"!=typeof window?window:this,function(t,n){return n.prototype.options.confirm={confirm:!1,prompt:!1,prompt_class:"",prompt_default:"",prompt_multi_line:!1,align:"right",buttons:[{text:"Ok",addClass:"",promptTrigger:!0,click:function(t,n){t.remove(),t.get().trigger("pnotify.confirm",[t,n])}},{text:"Cancel",addClass:"",click:function(t){t.remove(),t.get().trigger("pnotify.cancel",t)}}]},n.prototype.modules.confirm={init:function(n,o){this.container=t('<div class="ui-pnotify-action-bar" style="margin-top:5px;clear:both;" />').css("text-align",o.align).appendTo(n.container),o.confirm||o.prompt?this.makeDialog(n,o):this.container.hide()},update:function(t,n){n.confirm?(this.makeDialog(t,n),this.container.show()):this.container.hide().empty()},afterOpen:function(t,n){n.prompt&&this.prompt.focus()},makeDialog:function(o,e){var i,s,r=!1,p=this;this.container.empty(),e.prompt&&(this.prompt=t("<"+(e.prompt_multi_line?'textarea rows="5"':'input type="text"')+' style="margin-bottom:5px;clear:both;" />').addClass((void 0===o.styles.input?"":o.styles.input)+" "+(void 0===e.prompt_class?"":e.prompt_class)).val(e.prompt_default).appendTo(this.container));for(var u=e.buttons[0]&&e.buttons[0]!==n.prototype.options.confirm.buttons[0],c=0;c<e.buttons.length;c++)null===e.buttons[c]||u&&n.prototype.options.confirm.buttons[c]&&n.prototype.options.confirm.buttons[c]===e.buttons[c]||(i=e.buttons[c],r?this.container.append(" "):r=!0,s=t('<button type="button" class="ui-pnotify-action-button" />').addClass((void 0===o.styles.btn?"":o.styles.btn)+" "+(void 0===i.addClass?"":i.addClass)).text(i.text).appendTo(this.container).on("click",function(t){return function(){"function"==typeof t.click&&t.click(o,e.prompt?p.prompt.val():null)}}(i)),e.prompt&&!e.prompt_multi_line&&i.promptTrigger&&this.prompt.keypress(function(t){return function(n){13==n.keyCode&&t.click()}}(s)),o.styles.text&&s.wrapInner('<span class="'+o.styles.text+'"></span>'),o.styles.btnhover&&s.hover(function(t){return function(){t.addClass(o.styles.btnhover)}}(s),function(t){return function(){t.removeClass(o.styles.btnhover)}}(s)),o.styles.btnactive&&s.on("mousedown",function(t){return function(){t.addClass(o.styles.btnactive)}}(s)).on("mouseup",function(t){return function(){t.removeClass(o.styles.btnactive)}}(s)),o.styles.btnfocus&&s.on("focus",function(t){return function(){t.addClass(o.styles.btnfocus)}}(s)).on("blur",function(t){return function(){t.removeClass(o.styles.btnfocus)}}(s)))}},t.extend(n.styling.bootstrap3,{btn:"btn btn-default",input:"form-control"}),t.extend(n.styling.fontawesome,{btn:"btn btn-default",input:"form-control"}),n});
|
||||
//# sourceMappingURL=pnotify.confirm.js.map
|
||||
1
vendors/pnotify/dist/pnotify.confirm.js.map
vendored
Normal file
1
vendors/pnotify/dist/pnotify.confirm.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["src/pnotify.confirm.js"],"names":["root","factory","define","amd","exports","module","require","jQuery","PNotify","window","this","$","prototype","options","confirm","prompt","prompt_class","prompt_default","prompt_multi_line","align","buttons","text","addClass","promptTrigger","click","notice","value","remove","get","trigger","modules","init","container","css","appendTo","makeDialog","hide","update","show","empty","afterOpen","focus","btn","elem","already","that","styles","input","val","customButtons","i","length","append","on","keypress","e","keyCode","wrapInner","btnhover","hover","removeClass","btnactive","btnfocus","extend","styling","bootstrap3","fontawesome"],"mappings":"CACC,SAAUA,EAAMC,GACO,kBAAXC,SAAyBA,OAAOC,IAEzCD,OAAO,mBAAoB,SAAU,WAAYD,GACrB,gBAAZG,UAA0C,mBAAXC,QAE/CA,OAAOD,QAAUH,EAAQK,QAAQ,UAAWA,QAAQ,cAGpDL,EAAQD,EAAKO,OAAQP,EAAKQ,UAEV,mBAAXC,QAAyBA,OAASC,KAAM,SAASC,EAAGH,GAoI3D,MAnIAA,GAAQI,UAAUC,QAAQC,SA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EAAOqB,OAAOgB,UAChBnB,EAAKU,GAAG,QAAS,SAAUV,GAAO,MAAO,YACvCA,EAAKrB,SAASG,EAAOqB,OAAOgB,YAC1BnB,IAAOU,GAAG,OAAQ,SAAUV,GAAO,MAAO,YAC5CA,EAAKiB,YAAYnC,EAAOqB,OAAOgB,YAC7BnB,OAKZhC,EAAEoD,OAAOvD,EAAQwD,QAAQC,YACvBvB,IAAK,kBACLK,MAAO,iBAETpC,EAAEoD,OAAOvD,EAAQwD,QAAQE,aACvBxB,IAAK,kBACLK,MAAO,iBAEFvC","file":"pnotify.confirm.js","sourceRoot":"../"}
|
||||
5
vendors/pnotify/dist/pnotify.css
vendored
Normal file
5
vendors/pnotify/dist/pnotify.css
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
/*!
|
||||
Author : Hunter Perrin
|
||||
Version : 3.2.0
|
||||
Link : http://sciactive.com/pnotify/
|
||||
*/.ui-pnotify{top:36px;right:36px;position:absolute;height:auto;z-index:2}body>.ui-pnotify{position:fixed;z-index:100040}.ui-pnotify-modal-overlay{background-color:rgba(0,0,0,.4);top:0;left:0;position:absolute;height:100%;width:100%;z-index:1}body>.ui-pnotify-modal-overlay{position:fixed;z-index:100039}.ui-pnotify.ui-pnotify-in{display:block!important}.ui-pnotify.ui-pnotify-move{transition:left .5s ease,top .5s ease,right .5s ease,bottom .5s ease}.ui-pnotify.ui-pnotify-fade-slow{transition:opacity .4s linear;opacity:0}.ui-pnotify.ui-pnotify-fade-slow.ui-pnotify.ui-pnotify-move{transition:opacity .4s linear,left .5s ease,top .5s ease,right .5s ease,bottom .5s ease}.ui-pnotify.ui-pnotify-fade-normal{transition:opacity .25s linear;opacity:0}.ui-pnotify.ui-pnotify-fade-normal.ui-pnotify.ui-pnotify-move{transition:opacity .25s linear,left .5s ease,top .5s ease,right .5s ease,bottom .5s ease}.ui-pnotify.ui-pnotify-fade-fast{transition:opacity .1s linear;opacity:0}.ui-pnotify.ui-pnotify-fade-fast.ui-pnotify.ui-pnotify-move{transition:opacity .1s linear,left .5s ease,top .5s ease,right .5s ease,bottom .5s ease}.ui-pnotify.ui-pnotify-fade-in{opacity:1}.ui-pnotify .ui-pnotify-shadow{-webkit-box-shadow:0 6px 28px 0 rgba(0,0,0,.1);-moz-box-shadow:0 6px 28px 0 rgba(0,0,0,.1);box-shadow:0 6px 28px 0 rgba(0,0,0,.1)}.ui-pnotify-container{background-position:0 0;padding:.8em;height:100%;margin:0}.ui-pnotify-container:after{content:" ";visibility:hidden;display:block;height:0;clear:both}.ui-pnotify-container.ui-pnotify-sharp{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ui-pnotify-title{display:block;margin-bottom:.4em;margin-top:0}.ui-pnotify-text{display:block}.ui-pnotify-icon,.ui-pnotify-icon span{display:block;float:left;margin-right:.2em}.ui-pnotify.stack-bottomleft,.ui-pnotify.stack-topleft{left:25px;right:auto}.ui-pnotify.stack-bottomleft,.ui-pnotify.stack-bottomright{bottom:25px;top:auto}.ui-pnotify.stack-modal{left:50%;right:auto;margin-left:-150px}
|
||||
3
vendors/pnotify/dist/pnotify.desktop.js
vendored
Normal file
3
vendors/pnotify/dist/pnotify.desktop.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
// Desktop
|
||||
!function(i,t){"function"==typeof define&&define.amd?define("pnotify.desktop",["jquery","pnotify"],t):"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("./pnotify")):t(i.jQuery,i.PNotify)}("undefined"!=typeof window?window:this,function(i,t){var o,n=function(i,t){return(n="Notification"in window?function(i,t){return new Notification(i,t)}:"mozNotification"in navigator?function(i,t){return navigator.mozNotification.createNotification(i,t.body,t.icon).show()}:"webkitNotifications"in window?function(i,t){return window.webkitNotifications.createNotification(t.icon,i,t.body)}:function(i,t){return null})(i,t)};return t.prototype.options.desktop={desktop:!1,fallback:!0,icon:null,tag:null,title:null,text:null},t.prototype.modules.desktop={genNotice:function(i,t){null===t.icon?this.icon="http://sciactive.com/pnotify/includes/desktop/"+i.options.type+".png":!1===t.icon?this.icon=null:this.icon=t.icon,null!==this.tag&&null===t.tag||(this.tag=null===t.tag?"PNotify-"+Math.round(1e6*Math.random()):t.tag),i.desktop=n(t.title||i.options.title,{icon:this.icon,body:t.text||i.options.text,tag:this.tag}),!("close"in i.desktop)&&"cancel"in i.desktop&&(i.desktop.close=function(){i.desktop.cancel()}),i.desktop.onclick=function(){i.elem.trigger("click")},i.desktop.onclose=function(){"closing"!==i.state&&"closed"!==i.state&&i.remove()}},init:function(i,n){if(n.desktop){if(0!==(o=t.desktop.checkPermission()))return void(n.fallback||(i.options.auto_display=!1));this.genNotice(i,n)}},update:function(i,t,n){0!==o&&t.fallback||!t.desktop||this.genNotice(i,t)},beforeOpen:function(i,t){0!==o&&t.fallback||!t.desktop||i.elem.css({left:"-10000px"}).removeClass("ui-pnotify-in")},afterOpen:function(i,t){0!==o&&t.fallback||!t.desktop||(i.elem.css({left:"-10000px"}).removeClass("ui-pnotify-in"),"show"in i.desktop&&i.desktop.show())},beforeClose:function(i,t){0!==o&&t.fallback||!t.desktop||i.elem.css({left:"-10000px"}).removeClass("ui-pnotify-in")},afterClose:function(i,t){0!==o&&t.fallback||!t.desktop||(i.elem.css({left:"-10000px"}).removeClass("ui-pnotify-in"),"close"in i.desktop&&i.desktop.close())}},t.desktop={permission:function(){"undefined"!=typeof Notification&&"requestPermission"in Notification?Notification.requestPermission():"webkitNotifications"in window&&window.webkitNotifications.requestPermission()},checkPermission:function(){return"undefined"!=typeof Notification&&"permission"in Notification?"granted"===Notification.permission?0:1:"webkitNotifications"in window&&0==window.webkitNotifications.checkPermission()?0:1}},o=t.desktop.checkPermission(),t});
|
||||
//# sourceMappingURL=pnotify.desktop.js.map
|
||||
1
vendors/pnotify/dist/pnotify.desktop.js.map
vendored
Normal file
1
vendors/pnotify/dist/pnotify.desktop.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["src/pnotify.desktop.js"],"names":["root","factory","define","amd","exports","module","require","jQuery","PNotify","window","this","$","permission","notify","title","options","Notification","navigator","mozNotification","createNotification","body","icon","show","webkitNotifications","prototype","desktop","fallback","tag","text","modules","genNotice","notice","type","Math","round","random","close","cancel","onclick","elem","trigger","onclose","state","remove","init","checkPermission","auto_display","update","oldOpts","beforeOpen","css","left","removeClass","afterOpen","beforeClose","afterClose","requestPermission"],"mappings":"CACC,SAAUA,EAAMC,GACO,kBAAXC,SAAyBA,OAAOC,IAEzCD,OAAO,mBAAoB,SAAU,WAAYD,GACrB,gBAAZG,UAA0C,mBAAXC,QAE/CA,OAAOD,QAAUH,EAAQK,QAAQ,UAAWA,QAAQ,cAGpDL,EAAQD,EAAKO,OAAQP,EAAKQ,UAEV,mBAAXC,QAAyBA,OAASC,KAAM,SAASC,EAAGH,GAC3D,GAAII,GACAC,EAAS,SAASC,EAAOC,GA0B3B,OAvBEF,EADE,gBAAkBJ,QACX,SAAUK,EAAOC,GACxB,MAAO,IAAIC,cAAaF,EAAOC,IAExB,mBAAqBE,WACrB,SAAUH,EAAOC,GAExB,MAAOE,WAAUC,gBACdC,mBAAmBL,EAAOC,EAAQK,KAAML,EAAQM,MAChDC,QAEI,uBAAyBb,QACzB,SAAUK,EAAOC,GACxB,MAAON,QAAOc,oBAAoBJ,mBAChCJ,EAAQM,KACRP,EACAC,EAAQK,OAIH,SAAUN,EAAOC,GACxB,MAAO,QAGGD,EAAOC,GAmHvB,OA/GAP,GAAQgB,UAAUT,QAAQU,SAExBA,SAAS,EAETC,UAAU,EAEVL,KAAM,KAINM,IAAK,KAELb,MAAO,KAEPc,KAAM,MAERpB,EAAQgB,UAAUK,QAAQJ,SACxBK,UAAW,SAASC,EAAQhB,GACL,OAAjBA,EAAQM,KACVX,KAAKW,KAAO,iDAAiDU,EAAOhB,QAAQiB,KAAK,QACvD,IAAjBjB,EAAQM,KACjBX,KAAKW,KAAO,KAEZX,KAAKW,KAAON,EAAQM,KAEL,OAAbX,KAAKiB,KAAgC,OAAhBZ,EAAQY,M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B,GACP,IAAfH,GAAoBG,EAAQW,WAAcX,EAAQU,UAEvDM,EAAOQ,KAAKW,KAAKC,KAAQ,aAAaC,YAAY,iBAC9C,SAAWrB,GAAON,SACpBM,EAAON,QAAQW,WAIrB5B,EAAQiB,SACNb,WAAY,WACkB,mBAAjBI,eAAgC,qBAAuBA,cAChEA,aAAawC,oBACJ,uBAAyB/C,SAClCA,OAAOc,oBAAoBiC,qBAG/BX,gBAAiB,WACf,MAA4B,mBAAjB7B,eAAgC,cAAgBA,cACrB,YAA5BA,aAAaJ,WAA2B,EAAI,EAC3C,uBAAyBH,SACqB,GAAhDA,OAAOc,oBAAoBsB,kBAAyB,EAEpD,IAIbjC,EAAaJ,EAAQiB,QAAQoB,kBACtBrC","file":"pnotify.desktop.js","sourceRoot":"../"}
|
||||
1
vendors/pnotify/dist/pnotify.history.css
vendored
Normal file
1
vendors/pnotify/dist/pnotify.history.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.ui-pnotify-history-container{position:absolute;top:0;right:18px;width:70px;border-top:none;padding:0;-webkit-border-top-left-radius:0;-moz-border-top-left-radius:0;border-top-left-radius:0;-webkit-border-top-right-radius:0;-moz-border-top-right-radius:0;border-top-right-radius:0;z-index:10000}.ui-pnotify-history-container.ui-pnotify-history-fixed{position:fixed}.ui-pnotify-history-container .ui-pnotify-history-header{padding:2px;text-align:center}.ui-pnotify-history-container button{cursor:pointer;display:block;width:100%}.ui-pnotify-history-container .ui-pnotify-history-pulldown{display:block;margin:0 auto}.ui-pnotify-history-brighttheme{background-color:#8fcedd;border:0 solid #0286a5;color:#012831}.ui-pnotify-history-brighttheme button{text-transform:uppercase;font-weight:700;padding:4px 8px;border:none;background:0 0}.ui-pnotify-history-brighttheme .ui-pnotify-history-pulldown::after{display:block;font-size:16px;line-height:14px;padding-bottom:4px;content:"⌄";text-align:center;font-weight:700;font-family:Arial,sans-serif}
|
||||
3
vendors/pnotify/dist/pnotify.history.js
vendored
Normal file
3
vendors/pnotify/dist/pnotify.history.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
// History
|
||||
!function(t,i){"function"==typeof define&&define.amd?define("pnotify.history",["jquery","pnotify"],i):"object"==typeof exports&&"undefined"!=typeof module?module.exports=i(require("jquery"),require("./pnotify")):i(t.jQuery,t.PNotify)}("undefined"!=typeof window?window:this,function(t,i){var e,o;return t(function(){t("body").on("pnotify.history-all",function(){t.each(i.notices,function(){this.modules.history.inHistory&&(this.elem.is(":visible")?this.options.hide&&this.queueRemove():this.open&&this.open())})}).on("pnotify.history-last",function(){var t,e="top"===i.prototype.options.stack.push,o=e?0:-1;do{if(t=-1===o?i.notices.slice(o):i.notices.slice(o,o+1),!t[0])return!1;o=e?o+1:o-1}while(!t[0].modules.history.inHistory||t[0].elem.is(":visible"));t[0].open&&t[0].open()})}),i.prototype.options.history={history:!0,menu:!1,fixed:!0,maxonscreen:1/0,labels:{redisplay:"Redisplay",all:"All",last:"Last"}},i.prototype.modules.history={init:function(i,n){if(i.options.destroy=!1,this.inHistory=n.history,n.menu&&void 0===e){e=t("<div />",{class:"ui-pnotify-history-container "+i.styles.hi_menu,mouseleave:function(){e.css("top","-"+o+"px")}}).append(t("<div />",{class:"ui-pnotify-history-header",text:n.labels.redisplay})).append(t("<button />",{class:"ui-pnotify-history-all "+i.styles.hi_btn,text:n.labels.all,mouseenter:function(){t(this).addClass(i.styles.hi_btnhov)},mouseleave:function(){t(this).removeClass(i.styles.hi_btnhov)},click:function(){return t(this).trigger("pnotify.history-all"),!1}})).append(t("<button />",{class:"ui-pnotify-history-last "+i.styles.hi_btn,text:n.labels.last,mouseenter:function(){t(this).addClass(i.styles.hi_btnhov)},mouseleave:function(){t(this).removeClass(i.styles.hi_btnhov)},click:function(){return t(this).trigger("pnotify.history-last"),!1}})).appendTo("body");var s=t("<span />",{class:"ui-pnotify-history-pulldown "+i.styles.hi_hnd,mouseenter:function(){e.css("top","0")}}).appendTo(e);o=s.offset().top+2,e.css("top","-"+o+"px"),n.fixed&&e.addClass("ui-pnotify-history-fixed")}},update:function(t,i){this.inHistory=i.history,i.fixed&&e?e.addClass("ui-pnotify-history-fixed"):e&&e.removeClass("ui-pnotify-history-fixed")},beforeOpen:function(e,o){if(i.notices&&i.notices.length>o.maxonscreen){var n;n="top"!==e.options.stack.push?i.notices.slice(0,i.notices.length-o.maxonscreen):i.notices.slice(o.maxonscreen,i.notices.length),t.each(n,function(){this.remove&&this.remove()})}}},t.extend(i.styling.brighttheme,{hi_menu:"ui-pnotify-history-brighttheme",hi_btn:"",hi_btnhov:"",hi_hnd:""}),t.extend(i.styling.bootstrap3,{hi_menu:"well",hi_btn:"btn btn-default",hi_btnhov:"",hi_hnd:"glyphicon glyphicon-chevron-down"}),t.extend(i.styling.fontawesome,{hi_menu:"well",hi_btn:"btn btn-default",hi_btnhov:"",hi_hnd:"fa fa-chevron-down"}),i});
|
||||
//# sourceMappingURL=pnotify.history.js.map
|
||||
1
vendors/pnotify/dist/pnotify.history.js.map
vendored
Normal file
1
vendors/pnotify/dist/pnotify.history.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["src/pnotify.history.js"],"names":["root","factory","define","amd","exports","module","require","jQuery","PNotify","window","this","$","history_menu","history_handle_top","on","each","notices","modules","history","inHistory","elem","is","options","hide","queueRemove","open","notice","pushTop","prototype","stack","push","i","slice","menu","fixed","maxonscreen","Infinity","labels","redisplay","all","last","init","destroy","class","styles","hi_menu","mouseleave","css","append","text","hi_btn","mouseenter","addClass","hi_btnhov","removeClass","click","trigger","appendTo","handle","hi_hnd","offset","top","update","beforeOpen","length","el","remove","extend","styling","brighttheme","bootstrap3","fontawesome"],"mappings":"CACC,SAAUA,EAAMC,GACO,kBAAXC,SAAyBA,OAAOC,IAEzCD,OAAO,mBAAoB,SAAU,WAAYD,GACrB,gBAAZG,UAA0C,mBAAXC,QAE/CA,OAAOD,QAAUH,EAAQK,QAAQ,UAAWA,QAAQ,cAGpDL,EAAQD,EAAKO,OAAQP,EAAKQ,UAE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,EAAEwD,OAAO3D,EAAQ4D,QAAQC,aACvBxB,QAAS,iCACTK,OAAQ,GACRG,UAAW,GACXM,OAAQ,KAEVhD,EAAEwD,OAAO3D,EAAQ4D,QAAQE,YACvBzB,QAAS,OACTK,OAAQ,kBACRG,UAAW,GACXM,OAAQ,qCAEVhD,EAAEwD,OAAO3D,EAAQ4D,QAAQG,aACvB1B,QAAS,OACTK,OAAQ,kBACRG,UAAW,GACXM,OAAQ,uBAEHnD","file":"pnotify.history.js","sourceRoot":"../"}
|
||||
7
vendors/pnotify/dist/pnotify.js
vendored
Normal file
7
vendors/pnotify/dist/pnotify.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
vendors/pnotify/dist/pnotify.js.map
vendored
Normal file
1
vendors/pnotify/dist/pnotify.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
vendors/pnotify/dist/pnotify.material.css
vendored
Normal file
1
vendors/pnotify/dist/pnotify.material.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
@import url(https://fonts.googleapis.com/css?family=Material+Icons);.pnotify-material{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;font-size:14px}.pnotify-material.ui-pnotify-shadow{-webkit-box-shadow:0 6px 24px 0 rgba(0,0,0,.2);-moz-box-shadow:0 6px 24px 0 rgba(0,0,0,.2);box-shadow:0 6px 24px 0 rgba(0,0,0,.2)}.pnotify-material.ui-pnotify-container{padding:24px}.pnotify-material .ui-pnotify-title{margin-bottom:20px;font-size:20px}.pnotify-material-notice{background-color:#FFEB3B;border:none;color:rgba(0,0,0,.87)}.pnotify-material-info{background-color:#2196F3;border:none;color:#fff}.pnotify-material-success{background-color:#8BC34A;border:none;color:rgba(0,0,0,.87)}.pnotify-material-error{background-color:#F44336;border:none;color:#fff}.pnotify-material-icon-closer,.pnotify-material-icon-info,.pnotify-material-icon-notice,.pnotify-material-icon-sticker,.pnotify-material-icon-success{position:relative;width:16px;height:16px;font-size:12px;font-weight:700;line-height:16px;font-family:"Courier New",Courier,monospace;border-radius:50%}.pnotify-material-icon-closer:after,.pnotify-material-icon-info:after,.pnotify-material-icon-notice:after,.pnotify-material-icon-sticker:after,.pnotify-material-icon-success:after{position:absolute;top:0;left:4px}.pnotify-material-icon-notice:after{content:"announcement"}.pnotify-material-icon-info:after{content:"info"}.pnotify-material-icon-success:after{content:"check circle"}.pnotify-material-icon-error:after{content:"report problem"}.pnotify-material-icon-closer,.pnotify-material-icon-sticker{display:inline-block}.pnotify-material-icon-closer:after{top:-4px;content:"\002715"}.pnotify-material-icon-sticker:after{top:-5px;content:"\01D1BC";-moz-transform:rotate(-90deg);-webkit-transform:rotate(-90deg);-o-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg)}.pnotify-material-icon-sticker.pnotify-material-icon-stuck:after{-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}
|
||||
1
vendors/pnotify/dist/pnotify.mobile.css
vendored
Normal file
1
vendors/pnotify/dist/pnotify.mobile.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.ui-pnotify-container{position:relative;left:0}@media (max-width:480px){.ui-pnotify-mobile-able.ui-pnotify{position:fixed;top:0;right:0;left:0;width:auto!important;font-size:1.2em;-webkit-font-smoothing:antialiased;-moz-font-smoothing:antialiased;-ms-font-smoothing:antialiased;font-smoothing:antialiased}.ui-pnotify-mobile-able.ui-pnotify .ui-pnotify-shadow{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;border-bottom-width:5px}.ui-pnotify-mobile-able .ui-pnotify-container{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ui-pnotify-mobile-able.ui-pnotify.stack-bottomleft,.ui-pnotify-mobile-able.ui-pnotify.stack-topleft{left:0;right:0}.ui-pnotify-mobile-able.ui-pnotify.stack-bottomleft,.ui-pnotify-mobile-able.ui-pnotify.stack-bottomright{left:0;right:0;bottom:0;top:auto}.ui-pnotify-mobile-able.ui-pnotify.stack-bottomleft .ui-pnotify-shadow,.ui-pnotify-mobile-able.ui-pnotify.stack-bottomright .ui-pnotify-shadow{border-top-width:5px;border-bottom-width:1px}}
|
||||
3
vendors/pnotify/dist/pnotify.mobile.js
vendored
Normal file
3
vendors/pnotify/dist/pnotify.mobile.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
// Mobile
|
||||
!function(i,o){"function"==typeof define&&define.amd?define("pnotify.mobile",["jquery","pnotify"],o):"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("jquery"),require("./pnotify")):o(i.jQuery,i.PNotify)}("undefined"!=typeof window?window:this,function(i,o){return o.prototype.options.mobile={swipe_dismiss:!0,styling:!0},o.prototype.modules.mobile={init:function(i,o){var t=this,e=null,n=null,s=null;this.swipe_dismiss=o.swipe_dismiss,this.doMobileStyling(i,o),i.elem.on({touchstart:function(o){t.swipe_dismiss&&(e=o.originalEvent.touches[0].screenX,s=i.elem.width(),i.container.css("left","0"))},touchmove:function(o){if(e&&t.swipe_dismiss){var a=o.originalEvent.touches[0].screenX;n=a-e;var c=(1-Math.abs(n)/s)*i.options.opacity;i.elem.css("opacity",c),i.container.css("left",n)}},touchend:function(){if(e&&t.swipe_dismiss){if(Math.abs(n)>40){var o=n<0?-2*s:2*s;i.elem.animate({opacity:0},100),i.container.animate({left:o},100),i.remove()}else i.elem.animate({opacity:i.options.opacity},100),i.container.animate({left:0},100);e=null,n=null,s=null}},touchcancel:function(){e&&t.swipe_dismiss&&(i.elem.animate({opacity:i.options.opacity},100),i.container.animate({left:0},100),e=null,n=null,s=null)}})},update:function(i,o){this.swipe_dismiss=o.swipe_dismiss,this.doMobileStyling(i,o)},doMobileStyling:function(o,t){t.styling?(o.elem.addClass("ui-pnotify-mobile-able"),i(window).width()<=480?(o.options.stack.mobileOrigSpacing1||(o.options.stack.mobileOrigSpacing1=o.options.stack.spacing1,o.options.stack.mobileOrigSpacing2=o.options.stack.spacing2),o.options.stack.spacing1=0,o.options.stack.spacing2=0):(o.options.stack.mobileOrigSpacing1||o.options.stack.mobileOrigSpacing2)&&(o.options.stack.spacing1=o.options.stack.mobileOrigSpacing1,delete o.options.stack.mobileOrigSpacing1,o.options.stack.spacing2=o.options.stack.mobileOrigSpacing2,delete o.options.stack.mobileOrigSpacing2)):(o.elem.removeClass("ui-pnotify-mobile-able"),o.options.stack.mobileOrigSpacing1&&(o.options.stack.spacing1=o.options.stack.mobileOrigSpacing1,delete o.options.stack.mobileOrigSpacing1),o.options.stack.mobileOrigSpacing2&&(o.options.stack.spacing2=o.options.stack.mobileOrigSpacing2,delete o.options.stack.mobileOrigSpacing2))}},o});
|
||||
//# sourceMappingURL=pnotify.mobile.js.map
|
||||
1
vendors/pnotify/dist/pnotify.mobile.js.map
vendored
Normal file
1
vendors/pnotify/dist/pnotify.mobile.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["src/pnotify.mobile.js"],"names":["root","factory","define","amd","exports","module","require","jQuery","PNotify","window","this","$","prototype","options","mobile","swipe_dismiss","styling","modules","init","notice","that","origX","diffX","noticeWidth","doMobileStyling","elem","on","touchstart","e","originalEvent","touches","screenX","width","container","css","touchmove","curX","opacity","Math","abs","touchend","goLeft","animate","left","remove","touchcancel","update","addClass","stack","mobileOrigSpacing1","spacing1","mobileOrigSpacing2","spacing2","removeClass"],"mappings":"CACC,SAAUA,EAAMC,GACO,kBAAXC,SAAyBA,OAAOC,IAEzCD,OAAO,kBAAmB,SAAU,WAAYD,GACpB,gBAAZG,UAA0C,mBAAXC,QAE/CA,OAAOD,QAAUH,EAAQK,QAAQ,UAAWA,QAAQ,cAGpDL,EAAQD,EAAKO,OAAQP,EAAKQ,UAEV,mBAAXC,QAAyBA,OAASC,KAAM,SAASC,EAAGH,GA0G3D,MAzGAA,GAAQI,UAAUC,QAAQC,QAExBC,eAAe,EAEfC,SAAS,GAEXR,EAAQI,UAAUK,QAAQH,QACxBI,KAAM,SAASC,EAAQN,GACrB,GAAIO,GAAOV,KACPW,EA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GAC5BA,EAAQG,SACVG,EAAOM,KAAKsB,SAAS,0BAEjBpC,EAAEF,QAAQuB,SAAW,KAClBb,EAAON,QAAQmC,MAAMC,qBACxB9B,EAAON,QAAQmC,MAAMC,mBAAqB9B,EAAON,QAAQmC,MAAME,SAC/D/B,EAAON,QAAQmC,MAAMG,mBAAqBhC,EAAON,QAAQmC,MAAMI,UAEjEjC,EAAON,QAAQmC,MAAME,SAAW,EAChC/B,EAAON,QAAQmC,MAAMI,SAAW,IACvBjC,EAAON,QAAQmC,MAAMC,oBAAsB9B,EAAON,QAAQmC,MAAMG,sBACzEhC,EAAON,QAAQmC,MAAME,SAAW/B,EAAON,QAAQmC,MAAMC,yBAC9C9B,GAAON,QAAQmC,MAAMC,mBAC5B9B,EAAON,QAAQmC,MAAMI,SAAWjC,EAAON,QAAQmC,MAAMG,yBAC9ChC,GAAON,QAAQmC,MAAMG,sBAG9BhC,EAAOM,KAAK4B,YAAY,0BAEpBlC,EAAON,QAAQmC,MAAMC,qBACvB9B,EAAON,QAAQmC,MAAME,SAAW/B,EAAON,QAAQmC,MAAMC,yBAC9C9B,GAAON,QAAQmC,MAAMC,oBAE1B9B,EAAON,QAAQmC,MAAMG,qBACvBhC,EAAON,QAAQmC,MAAMI,SAAWjC,EAAON,QAAQmC,MAAMG,yBAC9ChC,GAAON,QAAQmC,MAAMG,uBAK7B3C","file":"pnotify.mobile.js","sourceRoot":"../"}
|
||||
1
vendors/pnotify/dist/pnotify.nonblock.css
vendored
Normal file
1
vendors/pnotify/dist/pnotify.nonblock.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.ui-pnotify.ui-pnotify-nonblock-fade{opacity:.2}.ui-pnotify.ui-pnotify-nonblock-hide{display:none!important}
|
||||
3
vendors/pnotify/dist/pnotify.nonblock.js
vendored
Normal file
3
vendors/pnotify/dist/pnotify.nonblock.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
// Nonblock
|
||||
!function(o,e){"function"==typeof define&&define.amd?define("pnotify.nonblock",["jquery","pnotify"],e):"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("jquery"),require("./pnotify")):e(o.jQuery,o.PNotify)}("undefined"!=typeof window?window:this,function(o,e){var n,t=/^on/,i=/^(dbl)?click$|^mouse(move|down|up|over|out|enter|leave)$|^contextmenu$/,c=/^(focus|blur|select|change|reset)$|^key(press|down|up)$/,l=/^(scroll|resize|(un)?load|abort|error)$/,s=function(e,n){var s;if(e=e.toLowerCase(),document.createEvent&&this.dispatchEvent){if(e=e.replace(t,""),e.match(i)?(o(this).offset(),s=document.createEvent("MouseEvents"),s.initMouseEvent(e,n.bubbles,n.cancelable,n.view,n.detail,n.screenX,n.screenY,n.clientX,n.clientY,n.ctrlKey,n.altKey,n.shiftKey,n.metaKey,n.button,n.relatedTarget)):e.match(c)?(s=document.createEvent("UIEvents"),s.initUIEvent(e,n.bubbles,n.cancelable,n.view,n.detail)):e.match(l)&&(s=document.createEvent("HTMLEvents"),s.initEvent(e,n.bubbles,n.cancelable)),!s)return;this.dispatchEvent(s)}else e.match(t)||(e="on"+e),s=document.createEventObject(n),this.fireEvent(e,s)},a=function(e,t,i){e.elem.addClass("ui-pnotify-nonblock-hide");var c=document.elementFromPoint(t.clientX,t.clientY);e.elem.removeClass("ui-pnotify-nonblock-hide");var l=o(c),a=l.css("cursor");"auto"===a&&"A"===c.tagName&&(a="pointer"),e.elem.css("cursor","auto"!==a?a:"default"),n&&n.get(0)==c||(n&&(s.call(n.get(0),"mouseleave",t.originalEvent),s.call(n.get(0),"mouseout",t.originalEvent)),s.call(c,"mouseenter",t.originalEvent),s.call(c,"mouseover",t.originalEvent)),s.call(c,i,t.originalEvent),n=l};return e.prototype.options.nonblock={nonblock:!1},e.prototype.modules.nonblock={init:function(o,e){var t=this;o.elem.on({mouseenter:function(e){t.options.nonblock&&e.stopPropagation(),t.options.nonblock&&o.elem.addClass("ui-pnotify-nonblock-fade")},mouseleave:function(e){t.options.nonblock&&e.stopPropagation(),n=null,o.elem.css("cursor","auto"),t.options.nonblock&&"out"!==o.animating&&o.elem.removeClass("ui-pnotify-nonblock-fade")},mouseover:function(o){t.options.nonblock&&o.stopPropagation()},mouseout:function(o){t.options.nonblock&&o.stopPropagation()},mousemove:function(e){t.options.nonblock&&(e.stopPropagation(),a(o,e,"onmousemove"))},mousedown:function(e){t.options.nonblock&&(e.stopPropagation(),e.preventDefault(),a(o,e,"onmousedown"))},mouseup:function(e){t.options.nonblock&&(e.stopPropagation(),e.preventDefault(),a(o,e,"onmouseup"))},click:function(e){t.options.nonblock&&(e.stopPropagation(),a(o,e,"onclick"))},dblclick:function(e){t.options.nonblock&&(e.stopPropagation(),a(o,e,"ondblclick"))}})}},e});
|
||||
//# sourceMappingURL=pnotify.nonblock.js.map
|
||||
1
vendors/pnotify/dist/pnotify.nonblock.js.map
vendored
Normal file
1
vendors/pnotify/dist/pnotify.nonblock.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["src/pnotify.nonblock.js"],"names":["root","factory","define","amd","exports","module","require","jQuery","PNotify","window","this","$","nonblock_last_elem","re_on","re_mouse_events","re_ui_events","re_html_events","dom_event","e","orig_e","event_object","toLowerCase","document","createEvent","dispatchEvent","replace","match","offset","initMouseEvent","bubbles","cancelable","view","detail","screenX","screenY","clientX","clientY","ctrlKey","altKey","shiftKey","metaKey","button","relatedTarget","initUIEvent","initEvent","createEventObject","fireEvent","nonblock_pass","notice","e_name","elem","addClass","element_below","elementFromPoint","removeClass","jelement_below","cursor_style","css","tagName","get","call","originalEvent","prototype","options","nonblock","modules","init","that","on","mouseenter","stopPropagation","mouseleave","animating","mouseover","mouseout","mousemove","mousedown","preventDefault","mouseup","click","dblclick"],"mappings":"CACC,SAAUA,EAAMC,GACO,kBAAXC,SAAyBA,OAAOC,IAEzCD,OAAO,oBAAqB,SAAU,WAAYD,GACtB,gBAAZG,UAA0C,mBAAXC,QAE/CA,OAAOD,QAAUH,EAAQK,QAAQ,UAAWA,QAAQ,cAGpDL,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4D,QAAW,SAAS5D,GACdiD,EAAKJ,QAAQC,WACf9C,EAAEoD,kBACFpD,EAAE2D,iBACF9B,EAAcC,EAAQ9B,EAAG,eAG7B6D,MAAS,SAAS7D,GACZiD,EAAKJ,QAAQC,WACf9C,EAAEoD,kBACFvB,EAAcC,EAAQ9B,EAAG,aAG7B8D,SAAY,SAAS9D,GACfiD,EAAKJ,QAAQC,WACf9C,EAAEoD,kBACFvB,EAAcC,EAAQ9B,EAAG,oBAM5BV","file":"pnotify.nonblock.js","sourceRoot":"../"}
|
||||
1
vendors/pnotify/dist/pnotify.reference.js
vendored
Normal file
1
vendors/pnotify/dist/pnotify.reference.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(t,e){"function"==typeof define&&define.amd?define("pnotify.reference",["jquery","pnotify"],e):"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("jquery"),require("./pnotify")):e(t.jQuery,t.PNotify)}(this,function(t,e){e.prototype.options.reference={put_thing:!1,labels:{text:"Spin Around"}},e.prototype.modules.reference={thingElem:null,init:function(e,n){var i=this;this.notice,this.options,n.put_thing&&(this.thingElem=t('<button style="float:right;" class="btn btn-default" type="button" disabled><i class="'+e.styles.athing+'" /> '+n.labels.text+"</button>").appendTo(e.container),e.container.append('<div style="clear: right; line-height: 0;" />'),e.elem.on({mouseenter:function(t){i.thingElem.prop("disabled",!1)},mouseleave:function(t){i.thingElem.prop("disabled",!0)}}),this.thingElem.on("click",function(){var t=0,n=setInterval(function(){t+=10,360==t&&(t=0,clearInterval(n)),e.elem.css({"-moz-transform":"rotate("+t+"deg)","-webkit-transform":"rotate("+t+"deg)","-o-transform":"rotate("+t+"deg)","-ms-transform":"rotate("+t+"deg)",filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation="+t/360*4+")"})},20)}))},update:function(t,e,n){this.notice,this.options,e.put_thing&&this.thingElem?this.thingElem.show():!e.put_thing&&this.thingElem&&this.thingElem.hide(),this.thingElem&&this.thingElem.find("i").attr("class",t.styles.athing)},beforeOpen:function(t,e){},afterOpen:function(t,e){},beforeClose:function(t,e){},afterClose:function(t,e){},beforeDestroy:function(t,e){},afterDestroy:function(t,e){}},t.extend(e.styling.jqueryui,{athing:"ui-icon ui-icon-refresh"}),t.extend(e.styling.bootstrap2,{athing:"icon-refresh"}),t.extend(e.styling.bootstrap3,{athing:"glyphicon glyphicon-refresh"}),t.extend(e.styling.fontawesome,{athing:"fa fa-refresh"})});
|
||||
1
vendors/pnotify/dist/pnotify.tooltip.js
vendored
Normal file
1
vendors/pnotify/dist/pnotify.tooltip.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(e,o){"function"==typeof define&&define.amd?define("pnotify.tooltip",["jquery","pnotify"],o):"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("jquery"),require("./pnotify")):o(e.jQuery,e.PNotify)}(this,function(e,o){});
|
||||
17
vendors/pnotify/libtests/browserify/index.html
vendored
Normal file
17
vendors/pnotify/libtests/browserify/index.html
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Browserify Test</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="../../src/pnotify.css">
|
||||
<link rel="stylesheet" href="../../src/pnotify.brighttheme.css">
|
||||
<script type="text/javascript" src="bundle.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div style="padding: 50vh 0; text-align: center;">
|
||||
<button id="button1">Test PNotify with Browserify</button><br>
|
||||
<button id="button2">PNotify Module with Browserify</button>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
26
vendors/pnotify/libtests/browserify/index.js
vendored
Normal file
26
vendors/pnotify/libtests/browserify/index.js
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
|
||||
// Not working? Did you `npm install` `npm run build` first?
|
||||
|
||||
var $ = require("jquery");
|
||||
var PNotify = require("pnotify");
|
||||
|
||||
$(function(){
|
||||
$("#button1").click(function(){
|
||||
new PNotify({
|
||||
title: "Yay!",
|
||||
text: "It works!"
|
||||
});
|
||||
});
|
||||
|
||||
$("#button12").click(function(){
|
||||
require("pnotify.reference");
|
||||
|
||||
new PNotify({
|
||||
title: "Yay!",
|
||||
text: "It works!",
|
||||
reference: {
|
||||
put_thing: true
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
20
vendors/pnotify/libtests/browserify/package.json
vendored
Normal file
20
vendors/pnotify/libtests/browserify/package.json
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"name": "pnotify-test-browserify",
|
||||
"version": "0.0.0",
|
||||
"description": "Just a test.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"build": "browserify index.js -o bundle.js"
|
||||
},
|
||||
"author": "",
|
||||
"license": "none",
|
||||
"dependencies": {
|
||||
"jquery": "~2.1.4",
|
||||
"pnotify": "~2.2.0"
|
||||
},
|
||||
"browser": {
|
||||
"pnotify": "../../src/pnotify.js",
|
||||
"pnotify.reference": "../../src/pnotify.reference.js"
|
||||
}
|
||||
}
|
||||
45
vendors/pnotify/libtests/requirejs/index.html
vendored
Normal file
45
vendors/pnotify/libtests/requirejs/index.html
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>RequireJS Test</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="../../src/pnotify.css">
|
||||
<link rel="stylesheet" href="../../src/pnotify.brighttheme.css">
|
||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.22/require.js"></script>
|
||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.js"></script>
|
||||
<script type="text/javascript" src="../../src/pnotify.js"></script>
|
||||
<script type="text/javascript" src="../../src/pnotify.reference.js"></script>
|
||||
<script type="text/javascript">
|
||||
requirejs(['jquery', 'pnotify'], function($, PNotify){
|
||||
$(function(){
|
||||
$("#button1").click(function(){
|
||||
new PNotify({
|
||||
title: "Yay!",
|
||||
text: "It works!"
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
requirejs(['jquery', 'pnotify', 'pnotify.reference'], function($, PNotify){
|
||||
$(function(){
|
||||
$("#button2").click(function(){
|
||||
new PNotify({
|
||||
title: "Yay!",
|
||||
text: "It works!",
|
||||
reference: {
|
||||
put_thing: true
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div style="padding: 50vh 0; text-align: center;">
|
||||
<button id="button1">Test PNotify with RequireJS</button><br>
|
||||
<button id="button2">PNotify Module with RequireJS</button>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user