@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,115 @@
|
|
|
1
|
+
/* */
|
|
2
|
+
|
|
3
|
+
declare module IntlPolyfill {
|
|
4
|
+
interface CollatorOptions {
|
|
5
|
+
usage?: string;
|
|
6
|
+
localeMatcher?: string;
|
|
7
|
+
numeric?: boolean;
|
|
8
|
+
caseFirst?: string;
|
|
9
|
+
sensitivity?: string;
|
|
10
|
+
ignorePunctuation?: boolean;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
interface ResolvedCollatorOptions {
|
|
14
|
+
locale: string;
|
|
15
|
+
usage: string;
|
|
16
|
+
sensitivity: string;
|
|
17
|
+
ignorePunctuation: boolean;
|
|
18
|
+
collation: string;
|
|
19
|
+
caseFirst: string;
|
|
20
|
+
numeric: boolean;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
interface Collator {
|
|
24
|
+
compare(x: string, y: string): number;
|
|
25
|
+
resolvedOptions(): ResolvedCollatorOptions;
|
|
26
|
+
}
|
|
27
|
+
var Collator: {
|
|
28
|
+
new (locales?: string[], options?: CollatorOptions): Collator;
|
|
29
|
+
new (locale?: string, options?: CollatorOptions): Collator;
|
|
30
|
+
(locales?: string[], options?: CollatorOptions): Collator;
|
|
31
|
+
(locale?: string, options?: CollatorOptions): Collator;
|
|
32
|
+
supportedLocalesOf(locales: string[], options?: CollatorOptions): string[];
|
|
33
|
+
supportedLocalesOf(locale: string, options?: CollatorOptions): string[];
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
interface NumberFormatOptions {
|
|
37
|
+
localeMatcher?: string;
|
|
38
|
+
style?: string;
|
|
39
|
+
currency?: string;
|
|
40
|
+
currencyDisplay?: string;
|
|
41
|
+
useGrouping?: boolean;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
interface ResolvedNumberFormatOptions {
|
|
45
|
+
locale: string;
|
|
46
|
+
numberingSystem: string;
|
|
47
|
+
style: string;
|
|
48
|
+
currency?: string;
|
|
49
|
+
currencyDisplay?: string;
|
|
50
|
+
minimumintegerDigits: number;
|
|
51
|
+
minimumFractionDigits: number;
|
|
52
|
+
maximumFractionDigits: number;
|
|
53
|
+
minimumSignificantDigits?: number;
|
|
54
|
+
maximumSignificantDigits?: number;
|
|
55
|
+
useGrouping: boolean;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
interface NumberFormat {
|
|
59
|
+
format(value: number): string;
|
|
60
|
+
resolvedOptions(): ResolvedNumberFormatOptions;
|
|
61
|
+
}
|
|
62
|
+
var NumberFormat: {
|
|
63
|
+
new (locales?: string[], options?: NumberFormatOptions): Collator;
|
|
64
|
+
new (locale?: string, options?: NumberFormatOptions): Collator;
|
|
65
|
+
(locales?: string[], options?: NumberFormatOptions): Collator;
|
|
66
|
+
(locale?: string, options?: NumberFormatOptions): Collator;
|
|
67
|
+
supportedLocalesOf(locales: string[], options?: NumberFormatOptions): string[];
|
|
68
|
+
supportedLocalesOf(locale: string, options?: NumberFormatOptions): string[];
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
interface DateTimeFormatOptions {
|
|
72
|
+
localeMatcher?: string;
|
|
73
|
+
weekday?: string;
|
|
74
|
+
era?: string;
|
|
75
|
+
year?: string;
|
|
76
|
+
month?: string;
|
|
77
|
+
day?: string;
|
|
78
|
+
hour?: string;
|
|
79
|
+
minute?: string;
|
|
80
|
+
second?: string;
|
|
81
|
+
timeZoneName?: string;
|
|
82
|
+
formatMatcher?: string;
|
|
83
|
+
hour12: boolean;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
interface ResolvedDateTimeFormatOptions {
|
|
87
|
+
locale: string;
|
|
88
|
+
calendar: string;
|
|
89
|
+
numberingSystem: string;
|
|
90
|
+
timeZone: string;
|
|
91
|
+
hour12?: boolean;
|
|
92
|
+
weekday?: string;
|
|
93
|
+
era?: string;
|
|
94
|
+
year?: string;
|
|
95
|
+
month?: string;
|
|
96
|
+
day?: string;
|
|
97
|
+
hour?: string;
|
|
98
|
+
minute?: string;
|
|
99
|
+
second?: string;
|
|
100
|
+
timeZoneName?: string;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
interface DateTimeFormat {
|
|
104
|
+
format(date: number): string;
|
|
105
|
+
resolvedOptions(): ResolvedDateTimeFormatOptions;
|
|
106
|
+
}
|
|
107
|
+
var DateTimeFormat: {
|
|
108
|
+
new (locales?: string[], options?: DateTimeFormatOptions): Collator;
|
|
109
|
+
new (locale?: string, options?: DateTimeFormatOptions): Collator;
|
|
110
|
+
(locales?: string[], options?: DateTimeFormatOptions): Collator;
|
|
111
|
+
(locale?: string, options?: DateTimeFormatOptions): Collator;
|
|
112
|
+
supportedLocalesOf(locales: string[], options?: DateTimeFormatOptions): string[];
|
|
113
|
+
supportedLocalesOf(locale: string, options?: DateTimeFormatOptions): string[];
|
|
114
|
+
}
|
|
115
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/* */
|
|
2
|
+
// Type definitions for Bootstrap 3.3.5
|
|
3
|
+
// Project: http://twitter.github.com/bootstrap/
|
|
4
|
+
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
|
|
5
|
+
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
6
|
+
|
|
7
|
+
interface ModalOptions {
|
|
8
|
+
backdrop?: boolean|string;
|
|
9
|
+
keyboard?: boolean;
|
|
10
|
+
show?: boolean;
|
|
11
|
+
remote?: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
interface ModalOptionsBackdropString {
|
|
15
|
+
backdrop?: string; // for "static"
|
|
16
|
+
keyboard?: boolean;
|
|
17
|
+
show?: boolean;
|
|
18
|
+
remote?: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
interface ScrollSpyOptions {
|
|
22
|
+
offset?: number;
|
|
23
|
+
target?: string;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
interface TooltipOptions {
|
|
27
|
+
animation?: boolean;
|
|
28
|
+
html?: boolean;
|
|
29
|
+
placement?: string | Function;
|
|
30
|
+
selector?: string;
|
|
31
|
+
title?: string | Function;
|
|
32
|
+
trigger?: string;
|
|
33
|
+
template?: string;
|
|
34
|
+
delay?: number | Object;
|
|
35
|
+
container?: string | boolean;
|
|
36
|
+
viewport?: string | Function | Object;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
interface PopoverOptions {
|
|
40
|
+
animation?: boolean;
|
|
41
|
+
html?: boolean;
|
|
42
|
+
placement?: string | Function;
|
|
43
|
+
selector?: string;
|
|
44
|
+
trigger?: string;
|
|
45
|
+
title?: string | Function;
|
|
46
|
+
template?: string;
|
|
47
|
+
content?: any;
|
|
48
|
+
delay?: number | Object;
|
|
49
|
+
container?: string | boolean;
|
|
50
|
+
viewport?: string | Function | Object;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
interface CollapseOptions {
|
|
54
|
+
parent?: any;
|
|
55
|
+
toggle?: boolean;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
interface CarouselOptions {
|
|
59
|
+
interval?: number;
|
|
60
|
+
pause?: string;
|
|
61
|
+
wrap?: boolean;
|
|
62
|
+
keybord?: boolean;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
interface TypeaheadOptions {
|
|
66
|
+
source?: any;
|
|
67
|
+
items?: number;
|
|
68
|
+
minLength?: number;
|
|
69
|
+
matcher?: (item: any) => boolean;
|
|
70
|
+
sorter?: (items: any[]) => any[];
|
|
71
|
+
updater?: (item: any) => any;
|
|
72
|
+
highlighter?: (item: any) => string;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
interface AffixOptions {
|
|
76
|
+
offset?: number | Function | Object;
|
|
77
|
+
target?: any;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
interface TransitionEventNames {
|
|
81
|
+
end: string;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
interface JQuery {
|
|
85
|
+
modal(options?: ModalOptions): JQuery;
|
|
86
|
+
modal(options?: ModalOptionsBackdropString): JQuery;
|
|
87
|
+
modal(command: string): JQuery;
|
|
88
|
+
|
|
89
|
+
dropdown(): JQuery;
|
|
90
|
+
dropdown(command: string): JQuery;
|
|
91
|
+
|
|
92
|
+
scrollspy(command: string): JQuery;
|
|
93
|
+
scrollspy(options?: ScrollSpyOptions): JQuery;
|
|
94
|
+
|
|
95
|
+
tab(): JQuery;
|
|
96
|
+
tab(command: string): JQuery;
|
|
97
|
+
|
|
98
|
+
tooltip(options?: TooltipOptions): JQuery;
|
|
99
|
+
tooltip(command: string): JQuery;
|
|
100
|
+
|
|
101
|
+
popover(options?: PopoverOptions): JQuery;
|
|
102
|
+
popover(command: string): JQuery;
|
|
103
|
+
|
|
104
|
+
alert(): JQuery;
|
|
105
|
+
alert(command: string): JQuery;
|
|
106
|
+
|
|
107
|
+
button(): JQuery;
|
|
108
|
+
button(command: string): JQuery;
|
|
109
|
+
|
|
110
|
+
collapse(options?: CollapseOptions): JQuery;
|
|
111
|
+
collapse(command: string): JQuery;
|
|
112
|
+
|
|
113
|
+
carousel(options?: CarouselOptions): JQuery;
|
|
114
|
+
carousel(command: string): JQuery;
|
|
115
|
+
|
|
116
|
+
typeahead(options?: TypeaheadOptions): JQuery;
|
|
117
|
+
|
|
118
|
+
affix(options?: AffixOptions): JQuery;
|
|
119
|
+
|
|
120
|
+
emulateTransitionEnd(duration: number): JQuery;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
interface JQuerySupport {
|
|
124
|
+
transition: boolean | TransitionEventNames;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
declare module "bootstrap" {
|
|
128
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* */
|
|
2
|
+
|
|
3
|
+
declare module Detectizr {
|
|
4
|
+
interface Browser {
|
|
5
|
+
name: string;
|
|
6
|
+
major:string;
|
|
7
|
+
engine: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
interface Device {
|
|
11
|
+
type: String;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
interface OS {
|
|
15
|
+
addressRegisterSize: String;
|
|
16
|
+
major: String;
|
|
17
|
+
minor: String;
|
|
18
|
+
name: String;
|
|
19
|
+
patch: String;
|
|
20
|
+
version: String;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
function detect(params: any);
|
|
24
|
+
var device: Device;
|
|
25
|
+
var os: OS;
|
|
26
|
+
var browser: Browser;
|
|
27
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare namespace DomToImageMore {
|
|
2
|
+
interface IToCanvasOptions {
|
|
3
|
+
bgcolor?: string;
|
|
4
|
+
width?: number;
|
|
5
|
+
height?: number;
|
|
6
|
+
style?: any;
|
|
7
|
+
cacheBust?: boolean;
|
|
8
|
+
scale?: number;
|
|
9
|
+
disableEmbedFonts?: boolean;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
interface IDomToImageMore {
|
|
13
|
+
toCanvas(node: HTMLElement, options?: IToCanvasOptions): Promise<HTMLCanvasElement>;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
declare var domtoimage: DomToImageMore.IDomToImageMore;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
// Type definitions for html2canvas.js v1.4.1 (project-local)
|
|
2
|
+
// Project: https://github.com/niklasvh/html2canvas
|
|
3
|
+
// Definitions by: Richard Hepburn <https://github.com/rwhepburn/>
|
|
4
|
+
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
|
5
|
+
|
|
6
|
+
/// <reference path="jquery.d.ts"/>
|
|
7
|
+
|
|
8
|
+
/* */
|
|
9
|
+
|
|
10
|
+
declare module Html2Canvas {
|
|
11
|
+
interface Html2CanvasOptions {
|
|
12
|
+
/** Whether to allow cross-origin images to taint the canvas */
|
|
13
|
+
allowTaint?: boolean;
|
|
14
|
+
/** Existing canvas element to use as a base for drawing on*/
|
|
15
|
+
canvas?: HTMLCanvasElement;
|
|
16
|
+
/** Canvas background color, if none is specified in DOM. Set null for transparent */
|
|
17
|
+
backgroundColor?: string | null;
|
|
18
|
+
|
|
19
|
+
/** Define the height of the canvas in pixels. If null, renders with full height of the window. */
|
|
20
|
+
height?: number;
|
|
21
|
+
|
|
22
|
+
/** Whether to render each letter seperately. Necessary if letter-spacing is used. */
|
|
23
|
+
letterRendering?: boolean;
|
|
24
|
+
|
|
25
|
+
/** Whether to log events in the console. */
|
|
26
|
+
logging?: boolean;
|
|
27
|
+
|
|
28
|
+
/** Url to the proxy which is to be used for loading cross-origin images. If left empty, cross-origin images won't be loaded. */
|
|
29
|
+
proxy?: string;
|
|
30
|
+
|
|
31
|
+
/** Whether to test each image if it taints the canvas before drawing them */
|
|
32
|
+
taintTest?: boolean;
|
|
33
|
+
|
|
34
|
+
/** Timeout for loading images, in milliseconds. Setting it to 0 will result in no timeout. */
|
|
35
|
+
imageTimeout?: number;
|
|
36
|
+
|
|
37
|
+
/** Define the width of the canvas in pixels. If null, renders with full width of the window. */
|
|
38
|
+
width?: number;
|
|
39
|
+
|
|
40
|
+
/** Whether to attempt to load cross-origin images as CORS served, before reverting back to proxy. */
|
|
41
|
+
useCORS?: boolean;
|
|
42
|
+
|
|
43
|
+
/** X-coordinate to crop from. */
|
|
44
|
+
x?: number;
|
|
45
|
+
|
|
46
|
+
/** Y-coordinate to crop from. */
|
|
47
|
+
y?: number;
|
|
48
|
+
|
|
49
|
+
/** The x-scroll position to used when rendering element. */
|
|
50
|
+
scrollX?: number;
|
|
51
|
+
|
|
52
|
+
/** The y-scroll position to used when rendering element. */
|
|
53
|
+
scrollY?: number;
|
|
54
|
+
|
|
55
|
+
/** Window width to use when rendering element. */
|
|
56
|
+
windowWidth?: number;
|
|
57
|
+
|
|
58
|
+
/** Window height to use when rendering element. */
|
|
59
|
+
windowHeight?: number;
|
|
60
|
+
|
|
61
|
+
/** Scale to use for rendering. */
|
|
62
|
+
scale?: number;
|
|
63
|
+
|
|
64
|
+
/** Remove the temporary container after rendering. */
|
|
65
|
+
removeContainer?: boolean;
|
|
66
|
+
|
|
67
|
+
/** Use ForeignObject rendering if supported. */
|
|
68
|
+
foreignObjectRendering?: boolean;
|
|
69
|
+
|
|
70
|
+
/** Optional callback to customize cloned document. */
|
|
71
|
+
onclone?(documentClone: Document): void;
|
|
72
|
+
|
|
73
|
+
/** @deprecated Legacy callback for old versions. */
|
|
74
|
+
onrendered?(canvas: HTMLCanvasElement): void;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
interface Html2CanvasStatic {
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Renders an HTML element to a canvas so that a screenshot can be generated.
|
|
82
|
+
*
|
|
83
|
+
* The screenshot is based on the DOM and as such may not be 100% accurate to the real representation as it does not make an actual screenshot,
|
|
84
|
+
* but builds the screenshot based on the information available on the page.
|
|
85
|
+
*
|
|
86
|
+
* @param {HTMLElement} element The HTML element which will be rendered to the canvas. Use the root element to render the entire window.
|
|
87
|
+
*/
|
|
88
|
+
(element: HTMLElement): Promise<HTMLCanvasElement>;
|
|
89
|
+
/**
|
|
90
|
+
* Renders an HTML element to a canvas so that a screenshot can be generated.
|
|
91
|
+
*
|
|
92
|
+
* The screenshot is based on the DOM and as such may not be 100% accurate to the real representation as it does not make an actual screenshot,
|
|
93
|
+
* but builds the screenshot based on the information available on the page.
|
|
94
|
+
*
|
|
95
|
+
* @param {HTMLElement} element The HTML element which will be rendered to the canvas. Use the root element to render the entire window.
|
|
96
|
+
* @param {Html2CanvasOptions} options The options object that controls how the element will be rendered.
|
|
97
|
+
*/
|
|
98
|
+
(element: HTMLElement|JQuery, options?: Html2Canvas.Html2CanvasOptions): Promise<HTMLCanvasElement>;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
declare var html2canvas: Html2CanvasStatic;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// declare module 'i18next-xhr-backend' {
|
|
2
|
+
// export class Backend {
|
|
3
|
+
// type: any;
|
|
4
|
+
// services: any;
|
|
5
|
+
// options: any;
|
|
6
|
+
// constructor(services: any, options?: {});
|
|
7
|
+
// init(services: any, options?: {}): void;
|
|
8
|
+
// readMulti(languages: any, namespaces: any, callback: any): void;
|
|
9
|
+
// read(language: any, namespace: any, callback: any): void;
|
|
10
|
+
// loadUrl(url: any, callback: any): void;
|
|
11
|
+
// create(languages: any, namespace: any, key: any, fallbackValue: any): void;
|
|
12
|
+
// }
|
|
13
|
+
//
|
|
14
|
+
// }
|
|
15
|
+
declare module i18nextXHRBackend {
|
|
16
|
+
|
|
17
|
+
interface Interpolator {
|
|
18
|
+
interpolate: () => string
|
|
19
|
+
}
|
|
20
|
+
interface Services {
|
|
21
|
+
interpolator: Interpolator
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export class Backend {
|
|
25
|
+
type: 'backend';
|
|
26
|
+
services: Services;
|
|
27
|
+
options: {
|
|
28
|
+
loadPath: string | Function,
|
|
29
|
+
addPath: string,
|
|
30
|
+
allowMultiLoading: boolean,
|
|
31
|
+
parse: () => {},
|
|
32
|
+
crossDomain: boolean,
|
|
33
|
+
ajax: () => void
|
|
34
|
+
};
|
|
35
|
+
constructor(services: Services, options?: {});
|
|
36
|
+
init(services: Services, options?: {}): void;
|
|
37
|
+
readMulti(languages: any[], namespaces: any[], callback: () => void): void;
|
|
38
|
+
read(language: {}, namespace: {}, callback: () => void): void;
|
|
39
|
+
loadUrl(url: string, callback: () => void): void;
|
|
40
|
+
create(languages: any[], namespace: string, key: string, fallbackValue: string): void;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference path="jquery.d.ts" />
|
|
2
|
+
/// <reference path="../frameworks-modified/i18next.d.ts" />
|
|
3
|
+
|
|
4
|
+
interface JQuery {
|
|
5
|
+
localize();
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
declare module jQueryI18next{
|
|
9
|
+
interface JQueryI18Next {
|
|
10
|
+
init: (i18next: I18next.I18n, $:JQueryStatic, options:any) => void;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
declare var jqueryI18next: jQueryI18next.JQueryI18Next;
|