@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,377 @@
|
|
|
1
|
+
/* */
|
|
2
|
+
|
|
3
|
+
// Type definitions for tinycolor v1.1.1
|
|
4
|
+
// Project: https://github.com/bgrins/TinyColor
|
|
5
|
+
// Definitions by: Mordechai Zuber <https://github.com/M-Zuber>
|
|
6
|
+
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
|
7
|
+
|
|
8
|
+
declare var tinycolor: tinycolor;
|
|
9
|
+
|
|
10
|
+
interface tinycolor {
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Create a tinycolor instance of the color named.
|
|
14
|
+
*
|
|
15
|
+
* @param color - the color as a string to create an instance for.
|
|
16
|
+
*/
|
|
17
|
+
(color: string): tinycolorInstance;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Create a tinycolor instance with the given RGB values.
|
|
21
|
+
*
|
|
22
|
+
* @param color - the rgb values to apply to the new instance.
|
|
23
|
+
*/
|
|
24
|
+
(color: ColorFormats.RGB): tinycolorInstance;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Create a tinycolor instance with the given RGBA values.
|
|
28
|
+
*
|
|
29
|
+
* @param color - the rgba values to apply to the new instance.
|
|
30
|
+
*/
|
|
31
|
+
(color: ColorFormats.RGBA): tinycolorInstance;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Create a tinycolor instance with the given HSL values.
|
|
35
|
+
*
|
|
36
|
+
* @param color - the hsl values to apply to the new instance.
|
|
37
|
+
*/
|
|
38
|
+
(color: ColorFormats.HSL): tinycolorInstance;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Create a tinycolor instance with the given HSLA values.
|
|
42
|
+
*
|
|
43
|
+
* @param color - the hsla values to apply to the new instance.
|
|
44
|
+
*/
|
|
45
|
+
(color: ColorFormats.HSLA): tinycolorInstance;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Create a tinycolor instance with the given HSV values.
|
|
49
|
+
*
|
|
50
|
+
* @param color - the hsv values to apply to the new instance.
|
|
51
|
+
*/
|
|
52
|
+
(color: ColorFormats.HSV): tinycolorInstance;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Create a tinycolor instance with the given HSVA values.
|
|
56
|
+
*
|
|
57
|
+
* @param color - the hsva values to apply to the new instance.
|
|
58
|
+
*/
|
|
59
|
+
(color: ColorFormats.HSVA): tinycolorInstance;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Create a tinycolor instance based off the relative values.
|
|
63
|
+
* Works with any color formats
|
|
64
|
+
*
|
|
65
|
+
* @param ratio - the relative color/hue values to apply to the new instance.
|
|
66
|
+
*/
|
|
67
|
+
fromRatio(ratio: any): tinycolorInstance; // any of the interfaces defined in the ColorFormats module.
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Compares the two colors and returns the difference between their brightness and color/hue
|
|
71
|
+
*
|
|
72
|
+
* @param firstColor - the first color to be used in the comparison.
|
|
73
|
+
* @param secondColor - the second color to be used in the comparison.
|
|
74
|
+
*/
|
|
75
|
+
readability(firstColor: tinycolorInstance, secondColor: tinycolorInstance): Readable.Readable;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Ensure that foreground and background color combinations provide sufficient contrast.
|
|
79
|
+
*
|
|
80
|
+
* @param foreColor - the fore color wanted.
|
|
81
|
+
* @param backCOlor - the back color wanted.
|
|
82
|
+
*/
|
|
83
|
+
isReadable(foreColor: tinycolorInstance, backColor: tinycolorInstance): boolean;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Given a base color and a list of possible foreground or background colors for that base,
|
|
87
|
+
* returns the most readable color.
|
|
88
|
+
*
|
|
89
|
+
* @param color - the base color.
|
|
90
|
+
* @param colorsToCompare - array of colors to pick the most readable one from.
|
|
91
|
+
*/
|
|
92
|
+
mostReadable(color: tinycolorInstance, colorsToCompare: tinycolorInstance[]): tinycolorInstance;
|
|
93
|
+
|
|
94
|
+
/**/
|
|
95
|
+
mix(color1: tinycolorInstance, color2: tinycolorInstance, amount?: number): tinycolorInstance;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Returns a random color
|
|
99
|
+
*/
|
|
100
|
+
random(): tinycolorInstance;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* key: hex value
|
|
104
|
+
* value: string name ex. hexnames["f00"] --> "red"
|
|
105
|
+
*/
|
|
106
|
+
hexNames: { [key: string]: string };
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* key: 'real' color name
|
|
110
|
+
* value: hex value ex. names["red"] --> "f00"
|
|
111
|
+
*/
|
|
112
|
+
names: { [key: string]: string };
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
interface tinycolorInstance {
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Return an indication whether the color was successfully parsed.
|
|
119
|
+
*/
|
|
120
|
+
isValid(): boolean;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Return an indication whether the color's perceived brightness is light.
|
|
124
|
+
*/
|
|
125
|
+
isLight(): boolean;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Return an indication whether the color's perceived brightness is dark.
|
|
129
|
+
*/
|
|
130
|
+
isDark(): boolean;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Returns the format used to create the tinycolor instance.
|
|
134
|
+
*/
|
|
135
|
+
getFormat(): string;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Returns the input passed into the constructer used to create the tinycolor instance.
|
|
139
|
+
*/
|
|
140
|
+
getOriginalInput(): any; // any of the interfaces in ColorFormats or a string
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Returns the alpha value of the color
|
|
144
|
+
*/
|
|
145
|
+
getAlpha(): number;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Returns the perceived brightness of the color, from 0-255.
|
|
149
|
+
*/
|
|
150
|
+
getBrightness(): number;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Sets the alpha value on the current color.
|
|
154
|
+
*
|
|
155
|
+
* @param alpha - The new alpha value. The accepted range is 0-1.
|
|
156
|
+
*/
|
|
157
|
+
setAlpha(alpha: number): tinycolorInstance;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Returns the object as a HSVA object.
|
|
161
|
+
*/
|
|
162
|
+
toHsv(): ColorFormats.HSVA;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Returns the hsva values interpolated into a string with the following format:
|
|
166
|
+
* "hsva(xxx, xxx, xxx, xx)".
|
|
167
|
+
*/
|
|
168
|
+
toHsvString(): string;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Returns the object as a HSLA object.
|
|
172
|
+
*/
|
|
173
|
+
toHsl(): ColorFormats.HSLA;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Returns the hsla values interpolated into a string with the following format:
|
|
177
|
+
* "hsla(xxx, xxx, xxx, xx)".
|
|
178
|
+
*/
|
|
179
|
+
toHslString(): string;
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Returns the hex value of the color.
|
|
183
|
+
*/
|
|
184
|
+
toHex(): string;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Returns the hex value of the color -with a # appened.
|
|
188
|
+
*/
|
|
189
|
+
toHexString(): string;
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Returns the hex 8 value of the color.
|
|
193
|
+
*/
|
|
194
|
+
toHex8(): string;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Returns the hex 8 value of the color -with a # appened.
|
|
198
|
+
*/
|
|
199
|
+
toHex8String(): string;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Returns the object as a RGBA object.
|
|
203
|
+
*/
|
|
204
|
+
toRgb(): ColorFormats.RGBA;
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Returns the RGBA values interpolated into a string with the following format:
|
|
208
|
+
* "RGBA(xxx, xxx, xxx, xx)".
|
|
209
|
+
*/
|
|
210
|
+
toRgbString(): string;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Returns the object as a RGBA object.
|
|
214
|
+
*/
|
|
215
|
+
toPercentageRgb(): ColorFormats.RGBA;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Returns the RGBA relative values interpolated into a string with the following format:
|
|
219
|
+
* "RGBA(xxx, xxx, xxx, xx)".
|
|
220
|
+
*/
|
|
221
|
+
toPercentageRgbString(): string;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* The 'real' name of the color -if there is one.
|
|
225
|
+
*/
|
|
226
|
+
toName(): string;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Returns the color represented as a Microsoft filter for use in old versions of IE.
|
|
230
|
+
*/
|
|
231
|
+
toFilter(): string;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* String representation of the color.
|
|
235
|
+
*
|
|
236
|
+
* @param format - The format to be used when displaying the string representation.
|
|
237
|
+
* The accepted values are: "rgb", "prgb", "hex6", "hex3", "hex8", "name", "hsl", "hsv".
|
|
238
|
+
*/
|
|
239
|
+
toString(format?: string): string;
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Lighten the color a given amount. Providing 100 will always return white.
|
|
243
|
+
*
|
|
244
|
+
* @param amount - The amount to lighten by. The valid range is 0 to 100.
|
|
245
|
+
* Default value: 10.
|
|
246
|
+
*/
|
|
247
|
+
lighten(amount?: number): tinycolorInstance;
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Brighten the color a given amount.
|
|
251
|
+
*
|
|
252
|
+
* @param amount - The amount to brighten by. The valid range is 0 to 100.
|
|
253
|
+
* Default value: 10.
|
|
254
|
+
*/
|
|
255
|
+
brighten(amount?: number): tinycolorInstance;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* Darken the color a given amount.
|
|
259
|
+
* Providing 100 will always return black.
|
|
260
|
+
*
|
|
261
|
+
* @param amount - The amount to darken by. The valid range is 0 to 100.
|
|
262
|
+
* Default value: 10.
|
|
263
|
+
*/
|
|
264
|
+
darken(amount?: number): tinycolorInstance;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* Desaturate the color a given amount.
|
|
268
|
+
* Providing 100 will is the same as calling greyscale.
|
|
269
|
+
*
|
|
270
|
+
* @param amount - The amount to desaturate by. The valid range is 0 to 100.
|
|
271
|
+
* Default value: 10.
|
|
272
|
+
*/
|
|
273
|
+
desaturate(amount?: number): tinycolorInstance;
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Saturate the color a given amount.
|
|
277
|
+
*
|
|
278
|
+
* @param amount - The amount to saturate by. The valid range is 0 to 100.
|
|
279
|
+
* Default value: 10.
|
|
280
|
+
*/
|
|
281
|
+
saturate(amount?: number): tinycolorInstance;
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Completely desaturates a color into greyscale.
|
|
285
|
+
* Same as calling desaturate(100).
|
|
286
|
+
*/
|
|
287
|
+
greyscale(): tinycolorInstance;
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Spin the hue a given amount. Calling with 0, 360, or -360 will do nothing.
|
|
291
|
+
*
|
|
292
|
+
* @param amount - The amount to spin by. The valid range is -360 to 360.
|
|
293
|
+
* Default value: 0.
|
|
294
|
+
*/
|
|
295
|
+
spin(amount?: number): tinycolorInstance;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Gets an analogous color scheme based off of the current color.
|
|
299
|
+
*
|
|
300
|
+
* @param results - The amount of results to return.
|
|
301
|
+
* Default value: 6.
|
|
302
|
+
* @param slices - The amount to slice the input color by.
|
|
303
|
+
* Default value: 30.
|
|
304
|
+
*/
|
|
305
|
+
analogous(results?: number, slices?: number): tinycolorInstance[];
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Gets a monochromatic color scheme based off of the current color.
|
|
309
|
+
*
|
|
310
|
+
* @param results - The amount of results to return.
|
|
311
|
+
* Default value: 6.
|
|
312
|
+
*/
|
|
313
|
+
monochromatic(results?: number): tinycolorInstance[];
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Gets a split complement color scheme based off of the current color.
|
|
317
|
+
*/
|
|
318
|
+
splitcomplement(): tinycolorInstance[];
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* Gets a triad based off of the current color.
|
|
322
|
+
*/
|
|
323
|
+
triad(): tinycolorInstance[];
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* Gets a tetrad based off of the current color.
|
|
327
|
+
*/
|
|
328
|
+
tetrad(): tinycolorInstance[];
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* Gets the complement of the current color
|
|
332
|
+
*/
|
|
333
|
+
complement(): tinycolorInstance;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
declare module Readable {
|
|
337
|
+
interface Readable {
|
|
338
|
+
brightness: number;
|
|
339
|
+
color: number;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
declare module ColorFormats {
|
|
344
|
+
interface RGB {
|
|
345
|
+
r: number;
|
|
346
|
+
g: number;
|
|
347
|
+
b: number;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
interface RGBA extends RGB {
|
|
351
|
+
a: number
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
interface HSL {
|
|
355
|
+
h: number;
|
|
356
|
+
s: number;
|
|
357
|
+
l: number;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
interface HSLA extends HSL {
|
|
361
|
+
a: number;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
interface HSV {
|
|
365
|
+
h: number;
|
|
366
|
+
s: number;
|
|
367
|
+
v: number;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
interface HSVA extends HSV {
|
|
371
|
+
a: number;
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
declare module 'tinycolor2' {
|
|
376
|
+
export = tinycolor;
|
|
377
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference path="../frameworks/jquery.d.ts"/>
|
|
2
|
+
|
|
3
|
+
/* */
|
|
4
|
+
|
|
5
|
+
interface JQuery {
|
|
6
|
+
selectpicker(): JQuery;
|
|
7
|
+
selectpicker(options: BootstrapSelect.Options);
|
|
8
|
+
selectpicker(method: 'val'): number|string;
|
|
9
|
+
selectpicker(method: 'val', val?: number|string): JQuery;
|
|
10
|
+
selectpicker(method: 'refresh');
|
|
11
|
+
selectpicker(method: string): any;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
declare module BootstrapSelect {
|
|
15
|
+
interface Options {
|
|
16
|
+
container: string;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
// Type definitions for i18next v2.3.4
|
|
2
|
+
// Project: http://i18next.com
|
|
3
|
+
// Definitions by: Michael Ledin <https://github.com/mxl>
|
|
4
|
+
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
5
|
+
|
|
6
|
+
// Sources: https://github.com/i18next/i18next/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
declare namespace I18next {
|
|
10
|
+
interface ResourceStore {
|
|
11
|
+
[language: string]: ResourceStoreLanguage;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
interface ResourceStoreLanguage {
|
|
15
|
+
[namespace: string]: ResourceStoreKey;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
interface ResourceStoreKey {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
interface StoreData {
|
|
23
|
+
[key: string]: ResourceStoreLanguage;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
interface Store {
|
|
27
|
+
data: StoreData;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
interface InterpolationOptions {
|
|
31
|
+
escapeValue?: boolean;
|
|
32
|
+
prefix?: string;
|
|
33
|
+
suffix?: string;
|
|
34
|
+
prefixEscaped?: string;
|
|
35
|
+
suffixEscaped?: string;
|
|
36
|
+
unescapeSuffix?: string;
|
|
37
|
+
unescapePrefix?: string;
|
|
38
|
+
nestingPrefix?: string;
|
|
39
|
+
nestingSuffix?: string;
|
|
40
|
+
nestingPrefixEscaped?: string;
|
|
41
|
+
nestedSuffixEscaped?: string;
|
|
42
|
+
defaultVariables?: any;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
interface TranslationOptions {
|
|
46
|
+
defaultValue?: string | number;
|
|
47
|
+
count?: number;
|
|
48
|
+
context?: any;
|
|
49
|
+
replace?: any;
|
|
50
|
+
lng?: string;
|
|
51
|
+
lngs?: string[];
|
|
52
|
+
fallbackLng?: string;
|
|
53
|
+
ns?: string | string[];
|
|
54
|
+
keySeparator?: string;
|
|
55
|
+
nsSeparator?: string;
|
|
56
|
+
returnObjects?: boolean;
|
|
57
|
+
joinArrays?: string;
|
|
58
|
+
postProcess?: string | any[];
|
|
59
|
+
interpolation?: InterpolationOptions;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
interface Options {
|
|
63
|
+
debug?: boolean;
|
|
64
|
+
resources?: ResourceStore;
|
|
65
|
+
lng?: string;
|
|
66
|
+
fallbackLng?: string;
|
|
67
|
+
ns?: string | string[];
|
|
68
|
+
defaultNS?: string;
|
|
69
|
+
fallbackNS?: string | string[];
|
|
70
|
+
whitelist?: string[];
|
|
71
|
+
lowerCaseLng?: boolean;
|
|
72
|
+
load?: string
|
|
73
|
+
preload?: string[];
|
|
74
|
+
keySeparator?: string;
|
|
75
|
+
nsSeparator?: string;
|
|
76
|
+
pluralSeparator?: string;
|
|
77
|
+
contextSeparator?: string;
|
|
78
|
+
saveMissing?: boolean;
|
|
79
|
+
saveMissingTo?: string;
|
|
80
|
+
missingKeyHandler?: (lng: string, ns: string, key: string, fallbackValue: string) => void;
|
|
81
|
+
parseMissingKeyHandler?: (key: string) => void;
|
|
82
|
+
appendNamespaceToMissingKey?: boolean;
|
|
83
|
+
postProcess?: string | any[];
|
|
84
|
+
returnNull?: boolean;
|
|
85
|
+
returnEmptyString?: boolean;
|
|
86
|
+
returnObjects?: boolean;
|
|
87
|
+
returnedObjectHandler?: (key: string, value: string, options: any) => void;
|
|
88
|
+
joinArrays?: string;
|
|
89
|
+
overloadTranslationOptionHandler?: (args: any[]) => TranslationOptions;
|
|
90
|
+
interpolation?: InterpolationOptions;
|
|
91
|
+
detection?: any;
|
|
92
|
+
backend?: any;
|
|
93
|
+
cache?: any;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
type TranslationFunction = (key: string, options?: TranslationOptions) => string;
|
|
97
|
+
|
|
98
|
+
class I18n {
|
|
99
|
+
isInitialized: boolean;
|
|
100
|
+
|
|
101
|
+
constructor(options?: Options, callback?: (err: any, t: TranslationFunction) => void);
|
|
102
|
+
|
|
103
|
+
init(options?: Options, callback?: (err: any, t: TranslationFunction) => void): I18n;
|
|
104
|
+
|
|
105
|
+
loadResources(callback?: (err: any) => void): void;
|
|
106
|
+
|
|
107
|
+
language: string;
|
|
108
|
+
|
|
109
|
+
store: Store;
|
|
110
|
+
|
|
111
|
+
languages: string[];
|
|
112
|
+
|
|
113
|
+
use(module: any): I18n;
|
|
114
|
+
|
|
115
|
+
changeLanguage(lng: string, callback?: (err: any, t: TranslationFunction) => void): void;
|
|
116
|
+
|
|
117
|
+
getFixedT(lng?: string, ns?: string | string[]): TranslationFunction;
|
|
118
|
+
|
|
119
|
+
t(key: string, options?: TranslationOptions): string | any | Array<any>;
|
|
120
|
+
|
|
121
|
+
exists(): boolean;
|
|
122
|
+
|
|
123
|
+
setDefaultNamespace(ns: string): void;
|
|
124
|
+
|
|
125
|
+
loadNamespaces(ns: string[], callback?: () => void): void;
|
|
126
|
+
|
|
127
|
+
loadLanguages(lngs: string[], callback?: () => void): void;
|
|
128
|
+
|
|
129
|
+
dir(lng?: string): string;
|
|
130
|
+
|
|
131
|
+
createInstance(options?: Options, callback?: (err: any, t: TranslationFunction) => void): I18n;
|
|
132
|
+
|
|
133
|
+
cloneInstance(options?: Options, callback?: (err: any, t: TranslationFunction) => void): I18n;
|
|
134
|
+
|
|
135
|
+
on(event: string, listener: () => void): void;
|
|
136
|
+
on(initialized: 'initialized', listener: (options: I18next.Options) => void): void;
|
|
137
|
+
on(loaded: 'loaded', listener: (loaded: any) => void): void;
|
|
138
|
+
on(failedLoading: 'failedLoading', listener: (lng: string, ns: string, msg: string) => void): void;
|
|
139
|
+
on(missingKey: 'missingKey', listener: (lngs: any, namespace: string, key: string, res: any) => void): void;
|
|
140
|
+
on(added: 'added', listener: (lng: string, ns: string) => void): void;
|
|
141
|
+
on(removed: 'removed', listener: (lng: string, ns: string) => void): void;
|
|
142
|
+
on(languageChanged: 'languageChanged', listener: (lng: string) => void): void;
|
|
143
|
+
|
|
144
|
+
off(event: string, listener: () => void): void;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
declare var i18next: I18next.I18n;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference path="../frameworks/jquery.d.ts"/>
|
|
2
|
+
|
|
3
|
+
/* */
|
|
4
|
+
|
|
5
|
+
interface JQuery {
|
|
6
|
+
autocolumnlist(options:AutoColumnList.Options): JQuery;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
declare module AutoColumnList {
|
|
10
|
+
|
|
11
|
+
export interface Options {
|
|
12
|
+
min?: number;
|
|
13
|
+
max?: number;
|
|
14
|
+
columns?: number;
|
|
15
|
+
classname?: string;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference path="../frameworks/jquery.d.ts"/>
|
|
2
|
+
|
|
3
|
+
/* */
|
|
4
|
+
|
|
5
|
+
interface JQuery {
|
|
6
|
+
resizable(options:Resizable.Options): JQuery;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
declare module Resizable {
|
|
10
|
+
|
|
11
|
+
export interface Options {
|
|
12
|
+
container: JQuery;
|
|
13
|
+
minWidth?: number;
|
|
14
|
+
minHeight?: number;
|
|
15
|
+
direction: string | string[];
|
|
16
|
+
start?: (any) => void;
|
|
17
|
+
resize?: (any) => void;
|
|
18
|
+
stop?: (any) => void;
|
|
19
|
+
}
|
|
20
|
+
}
|