@fintatech/fintachart 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/LICENSE.md +63 -0
- package/README.md +151 -0
- package/THIRD_PARTY_NOTICES.md +38 -0
- package/basic-objects.html +165 -0
- package/css/FintaChart.min.css +1 -0
- package/css/external/jqNumericField.min.css +1 -0
- package/css/external/spectrum.min.css +7 -0
- package/css/external/toastr.min.css +1 -0
- package/custom-indicator.html +209 -0
- package/d.ts/FintaChart.d.ts +24313 -0
- package/d.ts/frameworks/Intl.d.ts +115 -0
- package/d.ts/frameworks/bootstrap.d.ts +128 -0
- package/d.ts/frameworks/bootstrap.v3.datetimepicker.d.ts +10 -0
- package/d.ts/frameworks/detectizr.d.ts +27 -0
- package/d.ts/frameworks/dom-to-image-more.d.ts +17 -0
- package/d.ts/frameworks/html2canvas.d.ts +101 -0
- package/d.ts/frameworks/i18nextXHRBackend.d.ts +42 -0
- package/d.ts/frameworks/jquery-i18next.d.ts +14 -0
- package/d.ts/frameworks/jquery-ui.d.ts +1914 -0
- package/d.ts/frameworks/jquery.d.ts +3779 -0
- package/d.ts/frameworks/jquery.ui.touch-punch.d.ts +12 -0
- package/d.ts/frameworks/moment-node.d.ts +485 -0
- package/d.ts/frameworks/moment.d.ts +10 -0
- package/d.ts/frameworks/tinycolor.d.ts +377 -0
- package/d.ts/frameworks-modified/bootstrap-select.d.ts +18 -0
- package/d.ts/frameworks-modified/i18next.d.ts +148 -0
- package/d.ts/frameworks-modified/jquery.autocolumnlist.d.ts +17 -0
- package/d.ts/frameworks-modified/jquery.resizable.d.ts +20 -0
- package/d.ts/frameworks-modified/spectrum.d.ts +294 -0
- package/d.ts/frameworks-modified/switchery.d.ts +69 -0
- package/d.ts/frameworks-modified/toastr.d.ts +224 -0
- package/data/offline-market-history/EUR_CAD/Day/1.csv +2001 -0
- package/data/offline-market-history/EUR_CAD/Hour/1.csv +1702 -0
- package/data/offline-market-history/EUR_CAD/Hour/4.csv +442 -0
- package/data/offline-market-history/EUR_CAD/Minute/1.csv +2001 -0
- package/data/offline-market-history/EUR_CAD/Minute/15.csv +2001 -0
- package/data/offline-market-history/EUR_CAD/Minute/5.csv +2001 -0
- package/data/offline-market-history/EUR_CAD/Monthly/1.csv +175 -0
- package/data/offline-market-history/EUR_CAD/Weekly/1.csv +752 -0
- package/data/offline-market-history/EUR_CAD/Yearly/1.csv +16 -0
- package/data/offline-market-history/EUR_GBP/Day/1.csv +2001 -0
- package/data/offline-market-history/EUR_GBP/Hour/1.csv +1702 -0
- package/data/offline-market-history/EUR_GBP/Hour/4.csv +442 -0
- package/data/offline-market-history/EUR_GBP/Minute/1.csv +2001 -0
- package/data/offline-market-history/EUR_GBP/Minute/15.csv +2001 -0
- package/data/offline-market-history/EUR_GBP/Minute/5.csv +2001 -0
- package/data/offline-market-history/EUR_GBP/Monthly/1.csv +199 -0
- package/data/offline-market-history/EUR_GBP/Weekly/1.csv +860 -0
- package/data/offline-market-history/EUR_GBP/Yearly/1.csv +18 -0
- package/data/predefined-templates/EMAAndMACDTemplate.json +100 -0
- package/data/predefined-templates/bigTreeTemplate.json +137 -0
- package/data/predefined-templates/multiIndicator.json +136 -0
- package/data/predefined-templates/renkoTemplate.json +50 -0
- package/data/predefined-templates/standartCandleTemplate.json +73 -0
- package/fonts/calibri/calibri.svg +3707 -0
- package/fonts/calibri/calibri.ttf +0 -0
- package/fonts/calibri/calibri.woff +0 -0
- package/fonts/courier-new/courier-new.svg +633 -0
- package/fonts/courier-new/courier-new.ttf +0 -0
- package/fonts/courier-new/courier-new.woff +0 -0
- package/fonts/open-sans-cyrillic/open-sans-cyrillic.svg +475 -0
- package/fonts/open-sans-cyrillic/open-sans-cyrillic.ttf +0 -0
- package/fonts/open-sans-cyrillic/open-sans-cyrillic.woff +0 -0
- package/fonts/open-sans-cyrillic-ext/open-sans-cyrillic-ext.svg +567 -0
- package/fonts/open-sans-cyrillic-ext/open-sans-cyrillic-ext.ttf +0 -0
- package/fonts/open-sans-cyrillic-ext/open-sans-cyrillic-ext.woff +0 -0
- package/fonts/open-sans-greek/open-sans-greek.svg +603 -0
- package/fonts/open-sans-greek/open-sans-greek.ttf +0 -0
- package/fonts/open-sans-greek/open-sans-greek.woff +0 -0
- package/fonts/open-sans-greek-ext/open-sans-greek-ext.svg +42 -0
- package/fonts/open-sans-greek-ext/open-sans-greek-ext.ttf +0 -0
- package/fonts/open-sans-greek-ext/open-sans-greek-ext.woff +0 -0
- package/fonts/open-sans-latin/open-sans-latin.svg +1863 -0
- package/fonts/open-sans-latin/open-sans-latin.ttf +0 -0
- package/fonts/open-sans-latin/open-sans-latin.woff +0 -0
- package/fonts/open-sans-latin-ext/open-sans-latin-ext.svg +1686 -0
- package/fonts/open-sans-latin-ext/open-sans-latin-ext.ttf +0 -0
- package/fonts/open-sans-latin-ext/open-sans-latin-ext.woff +0 -0
- package/fonts/open-sans-vietnamese/open-sans-vietnamese.svg +375 -0
- package/fonts/open-sans-vietnamese/open-sans-vietnamese.ttf +0 -0
- package/fonts/open-sans-vietnamese/open-sans-vietnamese.woff +0 -0
- package/fonts/rubik-medium/Rubik-Medium.svg +8831 -0
- package/fonts/rubik-medium/Rubik-Medium.ttf +0 -0
- package/fonts/rubik-medium/Rubik-Medium.woff +0 -0
- package/fonts/rubik-regular/Rubik-Regular.svg +8885 -0
- package/fonts/rubik-regular/Rubik-Regular.ttf +0 -0
- package/fonts/rubik-regular/Rubik-Regular.woff +0 -0
- package/fonts/source-sans-pro-latin/source-sans-pro-latin.svg +2642 -0
- package/fonts/source-sans-pro-latin/source-sans-pro-latin.ttf +0 -0
- package/fonts/source-sans-pro-latin/source-sans-pro-latin.woff +0 -0
- package/fonts/source-sans-pro-latin-ext/source-sans-pro-latin-ext.svg +1572 -0
- package/fonts/source-sans-pro-latin-ext/source-sans-pro-latin-ext.ttf +0 -0
- package/fonts/source-sans-pro-latin-ext/source-sans-pro-latin-ext.woff +0 -0
- package/fonts/source-sans-pro-vietnamese/source-sans-pro-vietnamese.svg +428 -0
- package/fonts/source-sans-pro-vietnamese/source-sans-pro-vietnamese.ttf +0 -0
- package/fonts/source-sans-pro-vietnamese/source-sans-pro-vietnamese.woff +0 -0
- package/htmldialogs/ChartContextMenu.html +3 -0
- package/htmldialogs/ChartTypeSettingsDialog.html +231 -0
- package/htmldialogs/CheckboxIndicatorParameterControl.html +9 -0
- package/htmldialogs/CompareInstrumentSettings.html +61 -0
- package/htmldialogs/ComparingContextMenu.html +8 -0
- package/htmldialogs/ConfirmDialog.html +28 -0
- package/htmldialogs/DemoModePopup.html +24 -0
- package/htmldialogs/FillPlotStyleControl.html +28 -0
- package/htmldialogs/HotkeysSettings.html +28 -0
- package/htmldialogs/IndicatorContextMenu.html +18 -0
- package/htmldialogs/IndicatorSettingsDialog.html +38 -0
- package/htmldialogs/IndicatorsDialog.html +39 -0
- package/htmldialogs/IndicatorsOverview_en.html +1694 -0
- package/htmldialogs/IndicatorsOverview_ua.html +9 -0
- package/htmldialogs/InstrumentSearchDialog.html +22 -0
- package/htmldialogs/LinePlotStyleControl.html +33 -0
- package/htmldialogs/MainSettings.html +292 -0
- package/htmldialogs/MarketEventPopup.html +27 -0
- package/htmldialogs/MarketEventsSettingsDialog.html +22 -0
- package/htmldialogs/NumericIndicatorParameter.html +8 -0
- package/htmldialogs/OpenChart.html +6 -0
- package/htmldialogs/PatternSettingsControl.html +26 -0
- package/htmldialogs/PatternsIndicatorSettingsDialog.html +30 -0
- package/htmldialogs/PatternsSettingsParameterControl.html +12 -0
- package/htmldialogs/PositionShapeContextMenu.html +9 -0
- package/htmldialogs/QuantityPopup.html +7 -0
- package/htmldialogs/Scrollbar.html +6 -0
- package/htmldialogs/SelectableIndicatorParameter.html +9 -0
- package/htmldialogs/ShapeContextMenu.html +7 -0
- package/htmldialogs/ShapeFibonacciSettingsDialog.html +261 -0
- package/htmldialogs/ShapePositionSettingsDialog.html +351 -0
- package/htmldialogs/ShapeSettingsDialog.html +521 -0
- package/htmldialogs/TimeFrameChangePopup.html +11 -0
- package/htmldialogs/TimeIndicatorParameterControl.html +89 -0
- package/htmldialogs/Toolbar.html +1710 -0
- package/htmldialogs/TooltipView.html +151 -0
- package/htmldialogs/TradingContextMenu.html +2 -0
- package/img/ContextMenuCheckbox.png +0 -0
- package/img/cross-hairs.cur +0 -0
- package/img/eu.png +0 -0
- package/img/favicon/favicon.ico +0 -0
- package/img/fist.cur +0 -0
- package/img/point.cur +0 -0
- package/img/svg-icons/Illustration-License-b.svg +1 -0
- package/img/svg-icons/Illustration-License-w.svg +1 -0
- package/img/svg-icons/abcd-label-pattern.svg +1 -0
- package/img/svg-icons/abcd-pattern.svg +1 -0
- package/img/svg-icons/add.svg +1 -0
- package/img/svg-icons/adjust-OHLC.svg +1 -0
- package/img/svg-icons/adjust-all.svg +1 -0
- package/img/svg-icons/andrews-pitchfork.svg +1 -0
- package/img/svg-icons/arrow-down.svg +1 -0
- package/img/svg-icons/arrow-left.svg +3 -0
- package/img/svg-icons/arrow-right.svg +3 -0
- package/img/svg-icons/arrow-type-type.svg +3 -0
- package/img/svg-icons/arrow-up.svg +1 -0
- package/img/svg-icons/arrow.svg +1 -0
- package/img/svg-icons/balloon.svg +1 -0
- package/img/svg-icons/brand-x.svg +1 -0
- package/img/svg-icons/calculator.svg +15 -0
- package/img/svg-icons/chartType-area.svg +1 -0
- package/img/svg-icons/chartType-bars.svg +1 -0
- package/img/svg-icons/chartType-candles-volume.svg +1 -0
- package/img/svg-icons/chartType-candles.svg +1 -0
- package/img/svg-icons/chartType-colored-bars.svg +1 -0
- package/img/svg-icons/chartType-equi-volume-shadow.svg +1 -0
- package/img/svg-icons/chartType-equi-volume.svg +1 -0
- package/img/svg-icons/chartType-heikin-ashi.svg +1 -0
- package/img/svg-icons/chartType-hollow-candles.svg +1 -0
- package/img/svg-icons/chartType-kagi.svg +1 -0
- package/img/svg-icons/chartType-line-break.svg +1 -0
- package/img/svg-icons/chartType-line.svg +1 -0
- package/img/svg-icons/chartType-point-figure.svg +1 -0
- package/img/svg-icons/chartType-range-bars.svg +1 -0
- package/img/svg-icons/chartType-renko.svg +1 -0
- package/img/svg-icons/chevron-right-double.svg +3 -0
- package/img/svg-icons/chevron.svg +3 -0
- package/img/svg-icons/circle.svg +1 -0
- package/img/svg-icons/close-floating-toolbar.svg +1 -0
- package/img/svg-icons/close-pane.svg +1 -0
- package/img/svg-icons/close-rect.svg +4 -0
- package/img/svg-icons/close-windows.svg +1 -0
- package/img/svg-icons/close.svg +4 -0
- package/img/svg-icons/compare.svg +1 -0
- package/img/svg-icons/copy.svg +1 -0
- package/img/svg-icons/cursorType-arrow-with-labels.svg +1 -0
- package/img/svg-icons/cursorType-arrow.svg +3 -0
- package/img/svg-icons/cursorType-crosshairs.svg +1 -0
- package/img/svg-icons/cursorType-point.svg +1 -0
- package/img/svg-icons/cyclic-lines.svg +1 -0
- package/img/svg-icons/default-screen.svg +11 -0
- package/img/svg-icons/demo-popup-bg.svg +1 -0
- package/img/svg-icons/diamond.svg +1 -0
- package/img/svg-icons/dot.svg +1 -0
- package/img/svg-icons/drag.svg +1 -0
- package/img/svg-icons/elliott-wave-pattern.svg +1 -0
- package/img/svg-icons/ellipse.svg +1 -0
- package/img/svg-icons/error-channel.svg +1 -0
- package/img/svg-icons/export.svg +1 -0
- package/img/svg-icons/extended-line.svg +3 -0
- package/img/svg-icons/fibonacci-arcs.svg +1 -0
- package/img/svg-icons/fibonacci-ellipses.svg +1 -0
- package/img/svg-icons/fibonacci-extensions.svg +1 -0
- package/img/svg-icons/fibonacci-fan.svg +1 -0
- package/img/svg-icons/fibonacci-retracements.svg +1 -0
- package/img/svg-icons/fibonacci-time-zones.svg +1 -0
- package/img/svg-icons/fintatech.svg +1 -0
- package/img/svg-icons/free-hand.svg +1 -0
- package/img/svg-icons/full-screen.svg +11 -0
- package/img/svg-icons/full-windows.svg +12 -0
- package/img/svg-icons/gann-fan.svg +1 -0
- package/img/svg-icons/general-delete.svg +3 -0
- package/img/svg-icons/head-shoulders-pattern.svg +1 -0
- package/img/svg-icons/horizontal-line.svg +1 -0
- package/img/svg-icons/horizontal-ray.svg +3 -0
- package/img/svg-icons/html-code.svg +1 -0
- package/img/svg-icons/image.svg +5 -0
- package/img/svg-icons/images.svg +1 -0
- package/img/svg-icons/in-shape-mode.svg +1 -0
- package/img/svg-icons/insert-indicator.svg +1 -0
- package/img/svg-icons/kings-crown-pattern.svg +1 -0
- package/img/svg-icons/latest-position.svg +1 -0
- package/img/svg-icons/line-segment.svg +1 -0
- package/img/svg-icons/link.svg +5 -0
- package/img/svg-icons/lock.svg +3 -0
- package/img/svg-icons/magnet-mode.svg +1 -0
- package/img/svg-icons/measure.svg +1 -0
- package/img/svg-icons/multiply-link.svg +5 -0
- package/img/svg-icons/note.svg +1 -0
- package/img/svg-icons/number-label-pattern.svg +1 -0
- package/img/svg-icons/open-OHLC-pane.svg +1 -0
- package/img/svg-icons/options.svg +1 -0
- package/img/svg-icons/period.svg +1 -0
- package/img/svg-icons/polygon.svg +1 -0
- package/img/svg-icons/polyline.svg +1 -0
- package/img/svg-icons/position-long.svg +90 -0
- package/img/svg-icons/position-long_og.svg +81 -0
- package/img/svg-icons/position-short.svg +90 -0
- package/img/svg-icons/position-short_og.svg +89 -0
- package/img/svg-icons/quadrant-lines.svg +1 -0
- package/img/svg-icons/raff-regression.svg +1 -0
- package/img/svg-icons/ray.svg +3 -0
- package/img/svg-icons/rectangle.svg +1 -0
- package/img/svg-icons/redo-new.svg +3 -0
- package/img/svg-icons/redo.svg +1 -0
- package/img/svg-icons/remove-all-indicators.svg +1 -0
- package/img/svg-icons/remove-all-shapes.svg +1 -0
- package/img/svg-icons/replay-jump.svg +1 -0
- package/img/svg-icons/replay-pause.svg +1 -0
- package/img/svg-icons/replay-play.svg +1 -0
- package/img/svg-icons/replay-skip-end.svg +1 -0
- package/img/svg-icons/replay-skip-one.svg +1 -0
- package/img/svg-icons/save-as-image.svg +1 -0
- package/img/svg-icons/screenshot.svg +5 -0
- package/img/svg-icons/scroll-bottom.svg +1 -0
- package/img/svg-icons/scroll-left.svg +1 -0
- package/img/svg-icons/scroll-right.svg +1 -0
- package/img/svg-icons/scroll-top.svg +1 -0
- package/img/svg-icons/search.svg +1 -0
- package/img/svg-icons/speed-lines.svg +1 -0
- package/img/svg-icons/square.svg +1 -0
- package/img/svg-icons/star.svg +4 -0
- package/img/svg-icons/stash.svg +4 -0
- package/img/svg-icons/stick-to-bar.svg +1 -0
- package/img/svg-icons/stick-to-close.svg +1 -0
- package/img/svg-icons/stick-to-high.svg +1 -0
- package/img/svg-icons/stick-to-low.svg +1 -0
- package/img/svg-icons/stick-to-open.svg +1 -0
- package/img/svg-icons/sticky-mode-off.svg +1 -0
- package/img/svg-icons/tcdPane-alert-indicator.svg +1 -0
- package/img/svg-icons/tcdPane-close.svg +1 -0
- package/img/svg-icons/tcdPane-down.svg +1 -0
- package/img/svg-icons/tcdPane-expand-closed.svg +1 -0
- package/img/svg-icons/tcdPane-expand.svg +1 -0
- package/img/svg-icons/tcdPane-maximize.svg +1 -0
- package/img/svg-icons/tcdPane-options.svg +1 -0
- package/img/svg-icons/tcdPane-remove-indicator.svg +1 -0
- package/img/svg-icons/tcdPane-restore.svg +1 -0
- package/img/svg-icons/tcdPane-toggle.svg +1 -0
- package/img/svg-icons/tcdPane-up.svg +1 -0
- package/img/svg-icons/template-delete.svg +1 -0
- package/img/svg-icons/template-edit.svg +1 -0
- package/img/svg-icons/template-ok.svg +1 -0
- package/img/svg-icons/template.svg +1 -0
- package/img/svg-icons/text-editor-b.svg +1 -0
- package/img/svg-icons/text-editor-i.svg +1 -0
- package/img/svg-icons/text-editor-u.svg +1 -0
- package/img/svg-icons/text.svg +1 -0
- package/img/svg-icons/tirone-levels.svg +1 -0
- package/img/svg-icons/toggle-shapes.svg +1 -0
- package/img/svg-icons/trade-manager.svg +1 -0
- package/img/svg-icons/trend-angle.svg +1 -0
- package/img/svg-icons/trend-channel.svg +1 -0
- package/img/svg-icons/triangle-pattern.svg +1 -0
- package/img/svg-icons/triangle.svg +1 -0
- package/img/svg-icons/undo-new.svg +3 -0
- package/img/svg-icons/undo.svg +1 -0
- package/img/svg-icons/unlock.svg +3 -0
- package/img/svg-icons/vertical-line.svg +1 -0
- package/img/svg-icons/visibleProfile.svg +1 -0
- package/img/svg-icons/web-link.svg +1 -0
- package/img/svg-icons/x.svg +3 -0
- package/img/svg-icons/xabcd-pattern.svg +1 -0
- package/img/svg-icons/zoom-by-area.svg +1 -0
- package/img/svg-icons/zoom.svg +1 -0
- package/img/usa.png +0 -0
- package/index-dark.html +132 -0
- package/index.html +229 -0
- package/localization/en.json +1646 -0
- package/localization/uk.json +1597 -0
- package/multiple-charts.html +162 -0
- package/package.json +62 -0
- package/scripts/FintaChart.min.js +70 -0
- package/scripts/frameworks/Intl.min.js +4 -0
- package/scripts/frameworks/bootstrap.v3.datetimepicker.min.js +2605 -0
- package/scripts/frameworks/detectizr.min.js +1 -0
- package/scripts/frameworks/dom-to-image-more.min.js +3 -0
- package/scripts/frameworks/i18nextXHRBackend.min.js +1 -0
- package/scripts/frameworks/jquery-i18next.min.js +1 -0
- package/scripts/frameworks/jquery-ui.min.js +8 -0
- package/scripts/frameworks/jquery.min.js +3 -0
- package/scripts/frameworks/jquery.ui.touch-punch.min.js +1 -0
- package/scripts/frameworks/moment.min.js +1216 -0
- package/scripts/frameworks-modified/bootstrap-select.js +1024 -0
- package/scripts/frameworks-modified/i18next.js +2075 -0
- package/scripts/frameworks-modified/jquery.autocolumnlist.js +48 -0
- package/scripts/frameworks-modified/jquery.resizable.js +229 -0
- package/scripts/frameworks-modified/spectrum.js +2279 -0
- package/scripts/frameworks-modified/switchery.js +1957 -0
- package/scripts/frameworks-modified/toastr.js +414 -0
- package/scripts/jsdataadapters/fileDataAdapter.js +129 -0
- package/scripts/jsdataadapters/restDataAdapter.js +149 -0
- package/scripts/jsdataadapters/webSocketDataAdapter.js +114 -0
- package/scripts/miscs/templateFileDataAdapter.js +17 -0
- package/scripts/themes/beetTheme.js +2999 -0
- package/scripts/themes/darkTheme.js +3004 -0
- package/scripts/themes/defaultTheme.js +3095 -0
- package/scripts/themes/fintatechDarkTheme.js +3005 -0
- package/scripts/themes/grayTheme.js +3004 -0
- package/scripts/themes/oliveTheme.js +3004 -0
- package/scripts/themes/orangeTheme.js +3004 -0
- package/scripts/themes/purpleTheme.js +3004 -0
- package/scripts/themes/skyTheme.js +3009 -0
- package/scripts/themes/tealTheme.js +3004 -0
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
/* */
|
|
2
|
+
|
|
3
|
+
// Type definitions for spectrum 1.5.1
|
|
4
|
+
// Project: https://github.com/bgrins/spectrum/
|
|
5
|
+
// Definitions by: Mordechai Zuber <https://github.com/M-Zuber>
|
|
6
|
+
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
|
7
|
+
|
|
8
|
+
/// <reference path="../frameworks/jquery.d.ts"/>
|
|
9
|
+
/// <reference path="../frameworks/tinycolor.d.ts"/>
|
|
10
|
+
|
|
11
|
+
interface JQuery {
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Shows the colorpicker.
|
|
15
|
+
*/
|
|
16
|
+
spectrum(methodName: "show"): JQuery;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Hides the colorpicker.
|
|
20
|
+
*/
|
|
21
|
+
spectrum(methodName: "hide"): JQuery;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Toggles the colorpicker.
|
|
25
|
+
*
|
|
26
|
+
* Warning: If you are calling toggle from a click handler,
|
|
27
|
+
* make sure you return false to prevent the colorpicker from immediately hiding after it is toggled.
|
|
28
|
+
*/
|
|
29
|
+
spectrum(methodName: "toggle"): JQuery;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Gets the current value from the colorpicker.
|
|
33
|
+
*/
|
|
34
|
+
spectrum(methodName: "get"): tinycolorInstance;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Sets the colorpickers value to update the original input.
|
|
38
|
+
* Note: this will not fire the `change` event, to prevent infinite loops
|
|
39
|
+
* from calling `set` from within `change`.
|
|
40
|
+
*
|
|
41
|
+
* @param colorString the new color for the colorpicker.
|
|
42
|
+
*/
|
|
43
|
+
spectrum(methodName: "set", colorString?: string): JQuery;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Retrieves the container element of the colorpicker,
|
|
47
|
+
* in case you want to manaully position it or do other things.
|
|
48
|
+
*/
|
|
49
|
+
spectrum(methodName: "container"): JQuery;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Resets the positioning of the container element.
|
|
53
|
+
* This could be used if the colorpicker was hidden when initialized,
|
|
54
|
+
* or if the colorpicker is inside of a moving area.
|
|
55
|
+
*/
|
|
56
|
+
spectrum(methodName: "reflow"): JQuery;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Removes the colorpicker functionality and restores the element to its original state.
|
|
60
|
+
*/
|
|
61
|
+
spectrum(methodName: "destroy"): JQuery;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Allows selection of the colorpicker component. if it is already enabled, this method does nothing.
|
|
65
|
+
* Additionally, this will cause the original (now hidden) input to be set as disabled.
|
|
66
|
+
*/
|
|
67
|
+
spectrum(methodName: "enable"): JQuery;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Disables selection of the colorpicker component. adds the sp-disabled class onto the replacer element.
|
|
71
|
+
* If it is already disabled, this method does nothing.
|
|
72
|
+
* Additionally, this will remove the disabled property on the original (now hidden).
|
|
73
|
+
*/
|
|
74
|
+
spectrum(methodName: "disable"): JQuery;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Retrieves the current value for the option name.
|
|
78
|
+
*
|
|
79
|
+
* @param optionName the option to retrieve the value for.
|
|
80
|
+
*/
|
|
81
|
+
spectrum(methodName: "option", optionName?: string): JQuery;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Sets the value of the option name with the value passed in.
|
|
85
|
+
*
|
|
86
|
+
* @param optionName the option to set.
|
|
87
|
+
* @param newOptionValue the new value for the option.
|
|
88
|
+
*/
|
|
89
|
+
spectrum(methodName: "option", optionName?: string, newOptionValue?: any): JQuery;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Calls the method.
|
|
93
|
+
*/
|
|
94
|
+
spectrum(methodName: string): any; // in most cases this is JQuery except for the get method which returns a tinycolorInstance
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Initializes the input element that it is called on
|
|
98
|
+
* as a spectrum colorpicker instance.
|
|
99
|
+
*/
|
|
100
|
+
spectrum(options?: Spectrum.Options): JQuery;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Called at the beginning of a drag event on either hue slider, alpha slider, or main color picker areas.
|
|
104
|
+
*/
|
|
105
|
+
on(events: "dragstart.spectrum", handler: (eventObject: JQueryEventObject, color: tinycolorInstance) => any): JQuery;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Called at the end of a drag event on either hue slider, alpha slider, or main color picker areas.
|
|
109
|
+
*/
|
|
110
|
+
on(events: "dragstop.spectrum", handler: (eventObject: JQueryEventObject, color: tinycolorInstance) => any): JQuery;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
declare module Spectrum {
|
|
114
|
+
|
|
115
|
+
interface Options {
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* The initial color can be set with the color option.
|
|
119
|
+
* if you don't pass in a color, Spectrum will use the value attribute on the input.
|
|
120
|
+
* The input is a string that is parsed using https://github.com/bgrins/TinyColor
|
|
121
|
+
*/
|
|
122
|
+
color?: string;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* The colorpicker will always show up at full size, and be positioned as an inline-block element.
|
|
126
|
+
*/
|
|
127
|
+
flat?: boolean;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Adds an input to allow for free form typing.
|
|
131
|
+
*/
|
|
132
|
+
showInput?: boolean;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Shows the color that was initially set when opening.
|
|
136
|
+
* This provides an easy way to click back to what was set when opened.
|
|
137
|
+
*/
|
|
138
|
+
showInitial?: boolean;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Allows the colorpicker to have no color as a value.
|
|
142
|
+
* Will display a button to set selection to 'no color'.
|
|
143
|
+
*/
|
|
144
|
+
allowEmpty?: boolean;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Allows alpha transparency selection
|
|
148
|
+
*/
|
|
149
|
+
showAlpha?: boolean;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Automatically disables the colorpicker.
|
|
153
|
+
* Additionally, if the input that you initialize spectrum on is disabled, this will be the default value.
|
|
154
|
+
* Note: you cannot enable spectrum if the input is disabled
|
|
155
|
+
*/
|
|
156
|
+
disabled?: boolean;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Sets a palette below the colorpicker to make it convenient for users to choose from
|
|
160
|
+
* frequently or recently used colors.
|
|
161
|
+
* Default value: [["#ffffff", "#000000", "#ff0000", "#ff8000", "#ffff00", "#008000", "#0000ff", "#4b0082", "#9400d3"]]
|
|
162
|
+
*/
|
|
163
|
+
palette?: string[][];
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* When the colorpicker is closed, the current color will be added to the palette if it isn't there already.
|
|
167
|
+
*/
|
|
168
|
+
showPalette?: boolean;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Shows only the colors specified in the palette
|
|
172
|
+
*/
|
|
173
|
+
showPaletteOnly?: boolean;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Shows a button to toggle the colorpicker next to the palette.
|
|
177
|
+
* This way, the user can choose from a limited number of colors in the palette,
|
|
178
|
+
* but still be able to pick a color that's not in the palette.
|
|
179
|
+
*/
|
|
180
|
+
togglePaletteOnly?: boolean;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Changes the text on the open-toggle colorpicker button.
|
|
184
|
+
*/
|
|
185
|
+
togglePaletteMoreText?: string;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Changes the text on the close-toggle colorpicker button.
|
|
189
|
+
*/
|
|
190
|
+
togglePaletteLessText?: string;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Automatically hides the colorpicker after a palette color is selected.
|
|
194
|
+
*/
|
|
195
|
+
hideAfterPaletteSelect?: boolean;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Keeps track of what has been selected by the user.
|
|
199
|
+
*/
|
|
200
|
+
showSelectionPalette?: boolean;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* The users selection will be saved in the browser's localStorage object.
|
|
204
|
+
* Any Spectrum with the same string will share the selection.
|
|
205
|
+
*/
|
|
206
|
+
localStorageKey?: string;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* When clicking outside of the colorpicker,
|
|
210
|
+
* force it to fire a change event rather than having it revert the change.
|
|
211
|
+
*/
|
|
212
|
+
clickoutFiresChange?: boolean;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Sets the text on the cancel button.
|
|
216
|
+
*/
|
|
217
|
+
cancelText?: string;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Sets the text on the choose button.
|
|
221
|
+
*/
|
|
222
|
+
chooseText?: string;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Adds an additional class name to the just the container element.
|
|
226
|
+
*/
|
|
227
|
+
containerClassName?: string;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Adds an additional class name to just the replacer element.
|
|
231
|
+
*/
|
|
232
|
+
replacerClassName?: string;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Sets the format that is displayed in the text box.
|
|
236
|
+
* This will also change the format that is displayed in the titles from the palette swatches.
|
|
237
|
+
* Possible values: "hex", "hex3", "hsl", "rgb", "name"
|
|
238
|
+
*/
|
|
239
|
+
preferredFormat?: string;
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Toggles the choose/cancel buttons.
|
|
243
|
+
* If there are no buttons, the behavior will be to fire the `change` event (and update the original input) when the picker is closed.
|
|
244
|
+
*/
|
|
245
|
+
showButtons?: boolean;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Sets which element the colorpicker container is appended to (default is "body").
|
|
249
|
+
* This can be any valid object taken into the jQuery appendTo function.
|
|
250
|
+
* Changing this can help resolve issues with opening the colorpicker in a modal dialog
|
|
251
|
+
* or fixed position container, for instance.
|
|
252
|
+
*/
|
|
253
|
+
appendTo?: any //same as JQuery appendTo : JQuery| any[] | Element| string
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Sets the max size for the palette.
|
|
257
|
+
*/
|
|
258
|
+
maxSelectionSize?: number;
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
*/
|
|
262
|
+
selectionPalette?: string[];
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* Called as the original input changes. Only happens when the input is closed or the 'Choose' button is clicked.
|
|
266
|
+
*/
|
|
267
|
+
change?: (color: tinycolorInstance) => void;
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* Called as the user moves around within the colorpicker.
|
|
271
|
+
*/
|
|
272
|
+
move?: (color: tinycolorInstance) => void;
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* Called after the colorpicker is opened. This is ignored on a flat colorpicker.
|
|
276
|
+
* Note, when any colorpicker on the page is shown it will hide any that are already open.
|
|
277
|
+
*/
|
|
278
|
+
show?: (color: tinycolorInstance) => void;
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Called after the colorpicker is hidden.
|
|
282
|
+
* This happens when clicking outside of the picker while it is open.
|
|
283
|
+
* Note, when any colorpicker on the page is shown it will hide any that are already open.
|
|
284
|
+
* This event is ignored on a flat colorpicker.
|
|
285
|
+
*/
|
|
286
|
+
hide?: (color: tinycolorInstance) => void;
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* You can prevent the colorpicker from showing up if you return false in the beforeShow event.
|
|
290
|
+
* This event is ignored on a flat colorpicker.
|
|
291
|
+
*/
|
|
292
|
+
beforeShow?: (color: tinycolorInstance) => void;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
// Type definitions for switchery 0.7.0
|
|
2
|
+
// Project: https://github.com/abpetkov/switchery
|
|
3
|
+
// Definitions by: Bruno Grieder <https://github.com/bgrieder>
|
|
4
|
+
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
|
5
|
+
|
|
6
|
+
/* */
|
|
7
|
+
|
|
8
|
+
declare module Switchery {
|
|
9
|
+
|
|
10
|
+
export interface Options {
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* color of the switch element (HEX or RGB value)
|
|
14
|
+
* @default '#2f80ed'
|
|
15
|
+
*/
|
|
16
|
+
color? : string;
|
|
17
|
+
/**
|
|
18
|
+
* secondary color for background color and border, when the switch is off
|
|
19
|
+
* @default '#dfdfdf'
|
|
20
|
+
*/
|
|
21
|
+
secondaryColor? : string;
|
|
22
|
+
/**
|
|
23
|
+
* color of the jack/handle element
|
|
24
|
+
* @default '#fff'
|
|
25
|
+
*/
|
|
26
|
+
jackColor? : string;
|
|
27
|
+
/**
|
|
28
|
+
* class name for the switch element (by default styled in switchery.css)
|
|
29
|
+
* @default 'switchery'
|
|
30
|
+
*/
|
|
31
|
+
className? : string;
|
|
32
|
+
/**
|
|
33
|
+
* enable or disable click events and changing the state of the switch (boolean value)
|
|
34
|
+
* @default false
|
|
35
|
+
*/
|
|
36
|
+
disabled? : boolean;
|
|
37
|
+
/**
|
|
38
|
+
* opacity of the switch when it's disabled (0 to 1)
|
|
39
|
+
* @default 0.5
|
|
40
|
+
*/
|
|
41
|
+
disabledOpacity? : number;
|
|
42
|
+
/**
|
|
43
|
+
* length of time that the transition will take, ex. '0.4s', '1s', '2.2s' (Note: transition speed of the handle is twice shorter)
|
|
44
|
+
* @default '0.4s'
|
|
45
|
+
*/
|
|
46
|
+
speed? : string;
|
|
47
|
+
/**
|
|
48
|
+
* size of the switch element (small or large)
|
|
49
|
+
* @default 'default'
|
|
50
|
+
*/
|
|
51
|
+
size? : string;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
declare class Switchery {
|
|
58
|
+
|
|
59
|
+
constructor(node: Node, options?: Switchery.Options);
|
|
60
|
+
setPosition(checked: boolean);
|
|
61
|
+
isChecked(): boolean;
|
|
62
|
+
enable();
|
|
63
|
+
disable();
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
declare module "switchery" {
|
|
67
|
+
|
|
68
|
+
export = Switchery
|
|
69
|
+
}
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
// Type definitions for Toastr 2.0.1
|
|
2
|
+
// Project: https://github.com/CodeSeven/toastr
|
|
3
|
+
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
|
|
4
|
+
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
/// <reference path="../frameworks/jquery.d.ts"/>
|
|
8
|
+
|
|
9
|
+
interface ToastrOptions {
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Optionally override the animation easing to show or hide the toasts. Default is swing. swing and linear are built into jQuery.
|
|
13
|
+
*/
|
|
14
|
+
showEasing?: string;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Optionally override the animation easing to show or hide the toasts. Default is swing. swing and linear are built into jQuery.
|
|
18
|
+
*/
|
|
19
|
+
hideEasing?: string;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Use the jQuery show/hide method of your choice. These default to fadeIn/fadeOut. The methods fadeIn/fadeOut, slideDown/slideUp, and show/hide are built into jQuery.
|
|
23
|
+
*/
|
|
24
|
+
showMethod?: string;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Use the jQuery show/hide method of your choice. These default to fadeIn/fadeOut. The methods fadeIn/fadeOut, slideDown/slideUp, and show/hide are built into jQuery.
|
|
28
|
+
*/
|
|
29
|
+
hideMethod?: string;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Should a close button be shown
|
|
33
|
+
*/
|
|
34
|
+
closeButton?: boolean;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Html for the close button
|
|
38
|
+
*/
|
|
39
|
+
closeHtml?: string;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Should clicking on toast dismiss it?
|
|
43
|
+
*/
|
|
44
|
+
tapToDismiss?: boolean;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* CSS class the toast element will be given
|
|
48
|
+
*/
|
|
49
|
+
toastClass?: string;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Id toast container will be given
|
|
53
|
+
*/
|
|
54
|
+
containerId?: string;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Should debug details be outputted to the console
|
|
58
|
+
*/
|
|
59
|
+
debug?: boolean;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Time in milliseconds the toast should take to show
|
|
63
|
+
*/
|
|
64
|
+
showDuration?: number;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* onShown function callback
|
|
68
|
+
**/
|
|
69
|
+
onShown?: () => void;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Time in milliseconds the toast should take to hide
|
|
73
|
+
*/
|
|
74
|
+
hideDuration?: number;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* onHidden function callback
|
|
78
|
+
**/
|
|
79
|
+
onHidden?: () => void;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Time in milliseconds the toast should be displayed after mouse over
|
|
83
|
+
*/
|
|
84
|
+
extendedTimeOut?: number;
|
|
85
|
+
|
|
86
|
+
iconClasses?: {
|
|
87
|
+
/**
|
|
88
|
+
* Icon to use on error toasts
|
|
89
|
+
*/
|
|
90
|
+
error: string;
|
|
91
|
+
/**
|
|
92
|
+
* Icon to use on info toasts
|
|
93
|
+
*/
|
|
94
|
+
info: string;
|
|
95
|
+
/**
|
|
96
|
+
* Icon to use on success toasts
|
|
97
|
+
*/
|
|
98
|
+
success: string;
|
|
99
|
+
/**
|
|
100
|
+
* Icon to use on warning toasts
|
|
101
|
+
*/
|
|
102
|
+
warning: string;
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Icon to use for toast
|
|
107
|
+
*/
|
|
108
|
+
iconClass?: string;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Where toast should be displayed
|
|
112
|
+
*/
|
|
113
|
+
positionClass?: string;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Where toast should be displayed - background
|
|
117
|
+
*/
|
|
118
|
+
backgroundpositionClass?: string;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Time in milliseconds that the toast should be displayed
|
|
122
|
+
*/
|
|
123
|
+
timeOut?: number;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* CSS class the title element will be given
|
|
127
|
+
*/
|
|
128
|
+
titleClass?: string;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* CSS class the message element will be given
|
|
132
|
+
*/
|
|
133
|
+
messageClass?: string;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Set newest toast to appear on top
|
|
137
|
+
**/
|
|
138
|
+
newestOnTop?: boolean;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Rather than having identical toasts stack, set the preventDuplicates property to true. Duplicates are matched to the previous toast based on their message content.
|
|
142
|
+
*/
|
|
143
|
+
preventDuplicates?: boolean;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Visually indicates how long before a toast expires.
|
|
147
|
+
*/
|
|
148
|
+
progressBar?: boolean;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Function to execute on toast click
|
|
152
|
+
*/
|
|
153
|
+
onclick?: () => void;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
interface ToastrDisplayMethod {
|
|
157
|
+
/**
|
|
158
|
+
* Create a toast
|
|
159
|
+
*
|
|
160
|
+
* @param message Message to display in toast
|
|
161
|
+
*/
|
|
162
|
+
(message: string): JQuery;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Create a toast
|
|
166
|
+
*
|
|
167
|
+
* @param message Message to display in toast
|
|
168
|
+
* @param title Title to display on toast
|
|
169
|
+
*/
|
|
170
|
+
(message: string, title: string): JQuery;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Create a toast
|
|
174
|
+
*
|
|
175
|
+
* @param message Message to display in toast
|
|
176
|
+
* @param title Title to display on toast
|
|
177
|
+
* @param overrides Option values for toast
|
|
178
|
+
*/
|
|
179
|
+
(message: string, title: string, overrides: ToastrOptions): JQuery;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
interface Toastr {
|
|
183
|
+
/**
|
|
184
|
+
* Clear toasts
|
|
185
|
+
*/
|
|
186
|
+
clear: {
|
|
187
|
+
/**
|
|
188
|
+
* Clear all toasts
|
|
189
|
+
*/
|
|
190
|
+
(): void;
|
|
191
|
+
/**
|
|
192
|
+
* Clear specific toast
|
|
193
|
+
*
|
|
194
|
+
* @param toast Toast to clear
|
|
195
|
+
*/
|
|
196
|
+
(toast: JQuery): void;
|
|
197
|
+
};
|
|
198
|
+
/**
|
|
199
|
+
* Create an error toast
|
|
200
|
+
*/
|
|
201
|
+
error: ToastrDisplayMethod;
|
|
202
|
+
/**
|
|
203
|
+
* Create an info toast
|
|
204
|
+
*/
|
|
205
|
+
info: ToastrDisplayMethod;
|
|
206
|
+
/**
|
|
207
|
+
* Create an options object
|
|
208
|
+
*/
|
|
209
|
+
options: ToastrOptions;
|
|
210
|
+
/**
|
|
211
|
+
* Create a success toast
|
|
212
|
+
*/
|
|
213
|
+
success: ToastrDisplayMethod;
|
|
214
|
+
/**
|
|
215
|
+
* Create a warning toast
|
|
216
|
+
*/
|
|
217
|
+
warning: ToastrDisplayMethod;
|
|
218
|
+
/**
|
|
219
|
+
* Get toastr version
|
|
220
|
+
*/
|
|
221
|
+
version: string;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
declare var toastr: Toastr;
|