@fluxhub/fluxhub-lib 1.0.336 → 1.0.338
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/bundles/fluxhub-fluxhub-lib.umd.js +10 -9
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhgrid.js +12 -10
- package/esm5/lib/controls/fhgrid.js +11 -10
- package/fesm2015/fluxhub-fluxhub-lib.js +11 -9
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +10 -9
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhgrid.d.ts +5 -1
- package/package.json +1 -1
- package/docs/classes/CustomEvent.html +0 -264
- package/docs/classes/FHValueAccessor.html +0 -508
- package/docs/classes/MomentDateAdapter.html +0 -1988
- package/docs/classes/OfficeOperation.html +0 -270
- package/docs/classes/OfficeResult.html +0 -216
- package/docs/classes/dati_aggiuntivi.html +0 -5343
- package/docs/classes/dt.html +0 -314
- package/docs/classes/wkfapp.html +0 -2110
- package/docs/components/ApprovaGridComponent.html +0 -699
- package/docs/components/ComboBoxEditor.html +0 -932
- package/docs/components/CurrencyComponent.html +0 -391
- package/docs/components/DateComponent.html +0 -853
- package/docs/components/DtPick.html +0 -1075
- package/docs/components/FHAutoCompleteComponent.html +0 -2485
- package/docs/components/FHComboboxComponent.html +0 -1735
- package/docs/components/FHConfirmComponent.html +0 -591
- package/docs/components/FHCurrencyFieldComponent.html +0 -1434
- package/docs/components/FHDatePickerComponent.html +0 -1558
- package/docs/components/FHFieldPickListComponent.html +0 -1046
- package/docs/components/FHGridComponent.html +0 -4555
- package/docs/components/FHGridJSONComponent.html +0 -4530
- package/docs/components/FHGridToolBarComponent.html +0 -758
- package/docs/components/FHListComponent.html +0 -1589
- package/docs/components/FHListPick.html +0 -731
- package/docs/components/FHLogPanelComponent.html +0 -685
- package/docs/components/FHMdReader.html +0 -462
- package/docs/components/FHNumericFieldComponent.html +0 -1261
- package/docs/components/FHPickListComponent.html +0 -1565
- package/docs/components/FHRichText.html +0 -961
- package/docs/components/FHRoleManager.html +0 -524
- package/docs/components/FHTableManager.html +0 -524
- package/docs/components/FHTimePickerComponent.html +0 -1990
- package/docs/components/FHUploadComponent.html +0 -1376
- package/docs/components/FHUploadPanelComponent.html +0 -1271
- package/docs/components/FHUserFieldComponent.html +0 -1300
- package/docs/components/FHUserPickerComponent.html +0 -1118
- package/docs/components/FHViewerComponent.html +0 -1578
- package/docs/components/FHWinComboSelect.html +0 -701
- package/docs/components/FSInput.html +0 -327
- package/docs/components/FSResult.html +0 -317
- package/docs/components/FormBuilderComponent.html +0 -937
- package/docs/components/FormExecuterComponent.html +0 -692
- package/docs/components/NumericEditorComponent.html +0 -636
- package/docs/components/QGParam.html +0 -457
- package/docs/components/QGResult.html +0 -339
- package/docs/components/QParam.html +0 -354
- package/docs/components/QResult.html +0 -317
- package/docs/components/TextAreaEditor.html +0 -827
- package/docs/components/WinAskButtonsComponent.html +0 -505
- package/docs/components/WinAskNumberComponent.html +0 -679
- package/docs/components/WinAskTextBigComponent.html +0 -682
- package/docs/components/WinAskTextComponent.html +0 -669
- package/docs/components/WinOutputComponent.html +0 -631
- package/docs/components/WinWait.html +0 -564
- package/docs/components/fhimagepreview.html +0 -1151
- package/docs/components/win_assegna.html +0 -675
- package/docs/components/win_commenti.html +0 -1416
- package/docs/components/win_commento_sel_notif.html +0 -598
- package/docs/components/win_conferma.html +0 -677
- package/docs/components/win_grid_help.html +0 -461
- package/docs/components/win_info_doc.html +0 -700
- package/docs/components/win_log.html +0 -1631
- package/docs/components/win_manage_roles.html +0 -936
- package/docs/components/win_manage_values.html +0 -1009
- package/docs/components/win_mappa.html +0 -859
- package/docs/components/win_recupera_doc.html +0 -693
- package/docs/components/win_riassegna_select_level.html +0 -725
- package/docs/components/win_riassegna_select_user.html +0 -684
- package/docs/components/win_salva_annulla.html +0 -467
- package/docs/components/win_select_canale.html +0 -562
- package/docs/components/win_select_level.html +0 -717
- package/docs/components/win_show_image.html +0 -447
- package/docs/components/win_time_slider.html +0 -605
- package/docs/components/win_uploads.html +0 -1276
- package/docs/components/wkf_header_bar.html +0 -764
- package/docs/coverage.html +0 -1432
- package/docs/dependencies.html +0 -265
- package/docs/directives/DecimalMask.html +0 -338
- package/docs/directives/FHCurrencyFormatterDirective.html +0 -352
- package/docs/fonts/ionicons.eot +0 -0
- package/docs/fonts/ionicons.svg +0 -2090
- package/docs/fonts/ionicons.ttf +0 -0
- package/docs/fonts/ionicons.woff +0 -0
- package/docs/fonts/ionicons.woff2 +0 -0
- package/docs/fonts/roboto-v15-latin-300.eot +0 -0
- package/docs/fonts/roboto-v15-latin-300.svg +0 -314
- package/docs/fonts/roboto-v15-latin-300.ttf +0 -0
- package/docs/fonts/roboto-v15-latin-300.woff +0 -0
- package/docs/fonts/roboto-v15-latin-300.woff2 +0 -0
- package/docs/fonts/roboto-v15-latin-700.eot +0 -0
- package/docs/fonts/roboto-v15-latin-700.svg +0 -310
- package/docs/fonts/roboto-v15-latin-700.ttf +0 -0
- package/docs/fonts/roboto-v15-latin-700.woff +0 -0
- package/docs/fonts/roboto-v15-latin-700.woff2 +0 -0
- package/docs/fonts/roboto-v15-latin-regular.eot +0 -0
- package/docs/fonts/roboto-v15-latin-regular.svg +0 -308
- package/docs/fonts/roboto-v15-latin-regular.ttf +0 -0
- package/docs/fonts/roboto-v15-latin-regular.woff +0 -0
- package/docs/fonts/roboto-v15-latin-regular.woff2 +0 -0
- package/docs/graph/dependencies.svg +0 -1594
- package/docs/guards/FHGuard.html +0 -386
- package/docs/images/compodoc-vectorise-inverted.png +0 -0
- package/docs/images/compodoc-vectorise-inverted.svg +0 -201
- package/docs/images/compodoc-vectorise.png +0 -0
- package/docs/images/compodoc-vectorise.svg +0 -201
- package/docs/images/coverage-badge-documentation.svg +0 -9
- package/docs/images/favicon.ico +0 -0
- package/docs/index.html +0 -114
- package/docs/injectables/AppMakerService.html +0 -380
- package/docs/injectables/AppService.html +0 -1592
- package/docs/injectables/AuthenticationService.html +0 -947
- package/docs/injectables/FileService.html +0 -354
- package/docs/injectables/GridService.html +0 -394
- package/docs/injectables/HighlightService.html +0 -239
- package/docs/injectables/LocalDBService.html +0 -513
- package/docs/injectables/OdbcService.html +0 -380
- package/docs/injectables/OfficeAutomatorService.html +0 -496
- package/docs/injectables/QueryService.html +0 -420
- package/docs/injectables/UtilityService.html +0 -2818
- package/docs/injectables/WkfService.html +0 -380
- package/docs/interfaces/FHGridColumn.html +0 -403
- package/docs/interfaces/ImageViewerConfig.html +0 -491
- package/docs/js/compodoc.js +0 -14
- package/docs/js/lazy-load-graphs.js +0 -44
- package/docs/js/libs/EventDispatcher.js +0 -5
- package/docs/js/libs/bootstrap-native.js +0 -2
- package/docs/js/libs/clipboard.min.js +0 -7
- package/docs/js/libs/custom-elements-es5-adapter.js +0 -15
- package/docs/js/libs/custom-elements.min.js +0 -38
- package/docs/js/libs/d3.v3.min.js +0 -2
- package/docs/js/libs/deep-iterator.js +0 -2
- package/docs/js/libs/es6-shim.min.js +0 -11
- package/docs/js/libs/htmlparser.js +0 -23
- package/docs/js/libs/innersvg.js +0 -9
- package/docs/js/libs/lit-html.js +0 -1
- package/docs/js/libs/prism.js +0 -14
- package/docs/js/libs/promise.min.js +0 -6
- package/docs/js/libs/svg-pan-zoom.min.js +0 -3
- package/docs/js/libs/tablesort.min.js +0 -6
- package/docs/js/libs/tablesort.number.min.js +0 -6
- package/docs/js/libs/vis.min.js +0 -46
- package/docs/js/libs/zepto.min.js +0 -2
- package/docs/js/menu-wc.js +0 -528
- package/docs/js/menu.js +0 -261
- package/docs/js/routes.js +0 -280
- package/docs/js/search/lunr.min.js +0 -6
- package/docs/js/search/search-lunr.js +0 -67
- package/docs/js/search/search.js +0 -271
- package/docs/js/search/search_index.js +0 -4
- package/docs/js/sourceCode.js +0 -58
- package/docs/js/svg-pan-zoom.controls.js +0 -53
- package/docs/js/tabs.js +0 -21
- package/docs/js/tree.js +0 -147
- package/docs/miscellaneous/typealiases.html +0 -146
- package/docs/miscellaneous/variables.html +0 -593
- package/docs/modules/FluxhubLibModule/dependencies.svg +0 -1594
- package/docs/modules/FluxhubLibModule.html +0 -2325
- package/docs/modules.html +0 -123
- package/docs/overview.html +0 -1780
- package/docs/pipes/FHCurrencyPipe.html +0 -310
- package/docs/pipes/ReplaceLineBreaks.html +0 -210
- package/docs/pipes/SafePipe.html +0 -224
- package/docs/styles/bootstrap-card.css +0 -219
- package/docs/styles/bootstrap.min.css +0 -5
- package/docs/styles/compodoc.css +0 -985
- package/docs/styles/ionicons.min.css +0 -11
- package/docs/styles/laravel.css +0 -69
- package/docs/styles/material.css +0 -109
- package/docs/styles/original.css +0 -47
- package/docs/styles/postmark.css +0 -210
- package/docs/styles/prism.css +0 -267
- package/docs/styles/readthedocs.css +0 -98
- package/docs/styles/reset.css +0 -48
- package/docs/styles/stripe.css +0 -65
- package/docs/styles/style.css +0 -7
- package/docs/styles/tablesort.css +0 -33
- package/docs/styles/vagrant.css +0 -96
|
@@ -1,491 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html class="no-js" lang="">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
6
|
-
<title>fluxhub-lib</title>
|
|
7
|
-
<meta name="description" content="">
|
|
8
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
-
|
|
10
|
-
<link rel="icon" type="image/x-icon" href="../images/favicon.ico">
|
|
11
|
-
<link rel="stylesheet" href="../styles/style.css">
|
|
12
|
-
<link rel="stylesheet" href="../styles/Vagrant.css">
|
|
13
|
-
</head>
|
|
14
|
-
<body>
|
|
15
|
-
|
|
16
|
-
<div class="navbar navbar-default navbar-fixed-top visible-xs">
|
|
17
|
-
<a href="../" class="navbar-brand">fluxhub-lib</a>
|
|
18
|
-
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
|
|
19
|
-
</div>
|
|
20
|
-
|
|
21
|
-
<div class="xs-menu menu" id="mobile-menu">
|
|
22
|
-
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
|
|
23
|
-
</div>
|
|
24
|
-
|
|
25
|
-
<div class="container-fluid main">
|
|
26
|
-
<div class="row main">
|
|
27
|
-
<div class="hidden-xs menu">
|
|
28
|
-
<compodoc-menu mode="normal"></compodoc-menu>
|
|
29
|
-
</div>
|
|
30
|
-
<!-- START CONTENT -->
|
|
31
|
-
<div class="content interface">
|
|
32
|
-
<div class="content-data">
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
<ol class="breadcrumb">
|
|
46
|
-
<li>Interfaces</li>
|
|
47
|
-
<li>ImageViewerConfig</li>
|
|
48
|
-
</ol>
|
|
49
|
-
|
|
50
|
-
<ul class="nav nav-tabs" role="tablist">
|
|
51
|
-
<li class="active">
|
|
52
|
-
<a href="#info" role="tab" id="info-tab" data-toggle="tab" data-link="info">Info</a>
|
|
53
|
-
</li>
|
|
54
|
-
</ul>
|
|
55
|
-
|
|
56
|
-
<div class="tab-content">
|
|
57
|
-
<div class="tab-pane fade active in" id="c-info">
|
|
58
|
-
<p class="comment">
|
|
59
|
-
<h3>File</h3>
|
|
60
|
-
</p>
|
|
61
|
-
<p class="comment">
|
|
62
|
-
<code>projects/fluxhub-lib/src/lib/controls/image-viewer/image-viewer-config.model.ts</code>
|
|
63
|
-
</p>
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
<section>
|
|
68
|
-
<h3 id="index">Index</h3>
|
|
69
|
-
<table class="table table-sm table-bordered index-table">
|
|
70
|
-
<tbody>
|
|
71
|
-
<tr>
|
|
72
|
-
<td class="col-md-4">
|
|
73
|
-
<h6><b>Properties</b></h6>
|
|
74
|
-
</td>
|
|
75
|
-
</tr>
|
|
76
|
-
<tr>
|
|
77
|
-
<td class="col-md-4">
|
|
78
|
-
<ul class="index-list">
|
|
79
|
-
<li>
|
|
80
|
-
<span class="modifier">Optional</span>
|
|
81
|
-
<a href="#allowFullscreen">allowFullscreen</a>
|
|
82
|
-
</li>
|
|
83
|
-
<li>
|
|
84
|
-
<span class="modifier">Optional</span>
|
|
85
|
-
<a href="#allowKeyboardNavigation">allowKeyboardNavigation</a>
|
|
86
|
-
</li>
|
|
87
|
-
<li>
|
|
88
|
-
<span class="modifier">Optional</span>
|
|
89
|
-
<a href="#btnClass">btnClass</a>
|
|
90
|
-
</li>
|
|
91
|
-
<li>
|
|
92
|
-
<span class="modifier">Optional</span>
|
|
93
|
-
<a href="#btnIcons">btnIcons</a>
|
|
94
|
-
</li>
|
|
95
|
-
<li>
|
|
96
|
-
<span class="modifier">Optional</span>
|
|
97
|
-
<a href="#btnShow">btnShow</a>
|
|
98
|
-
</li>
|
|
99
|
-
<li>
|
|
100
|
-
<span class="modifier">Optional</span>
|
|
101
|
-
<a href="#containerBackgroundColor">containerBackgroundColor</a>
|
|
102
|
-
</li>
|
|
103
|
-
<li>
|
|
104
|
-
<span class="modifier">Optional</span>
|
|
105
|
-
<a href="#customBtns">customBtns</a>
|
|
106
|
-
</li>
|
|
107
|
-
<li>
|
|
108
|
-
<span class="modifier">Optional</span>
|
|
109
|
-
<a href="#wheelZoom">wheelZoom</a>
|
|
110
|
-
</li>
|
|
111
|
-
<li>
|
|
112
|
-
<span class="modifier">Optional</span>
|
|
113
|
-
<a href="#zoomFactor">zoomFactor</a>
|
|
114
|
-
</li>
|
|
115
|
-
</ul>
|
|
116
|
-
</td>
|
|
117
|
-
</tr>
|
|
118
|
-
</tbody>
|
|
119
|
-
</table>
|
|
120
|
-
</section>
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
<section>
|
|
125
|
-
<h3 id="inputs">Properties</h3>
|
|
126
|
-
<table class="table table-sm table-bordered">
|
|
127
|
-
<tbody>
|
|
128
|
-
<tr>
|
|
129
|
-
<td class="col-md-4">
|
|
130
|
-
<a name="allowFullscreen"></a>
|
|
131
|
-
<span class="name"><b>allowFullscreen</b><a href="#allowFullscreen"><span class="icon ion-ios-link"></span></a></span>
|
|
132
|
-
</td>
|
|
133
|
-
</tr>
|
|
134
|
-
<tr>
|
|
135
|
-
<td class="col-md-4">
|
|
136
|
-
<code>allowFullscreen: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
137
|
-
</code>
|
|
138
|
-
</td>
|
|
139
|
-
</tr>
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
<tr>
|
|
143
|
-
<td class="col-md-4">
|
|
144
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
145
|
-
|
|
146
|
-
</td>
|
|
147
|
-
</tr>
|
|
148
|
-
|
|
149
|
-
<tr>
|
|
150
|
-
<td class="col-md-4">
|
|
151
|
-
<i>Optional</i>
|
|
152
|
-
</td>
|
|
153
|
-
</tr>
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
</tbody>
|
|
159
|
-
</table>
|
|
160
|
-
<table class="table table-sm table-bordered">
|
|
161
|
-
<tbody>
|
|
162
|
-
<tr>
|
|
163
|
-
<td class="col-md-4">
|
|
164
|
-
<a name="allowKeyboardNavigation"></a>
|
|
165
|
-
<span class="name"><b>allowKeyboardNavigation</b><a href="#allowKeyboardNavigation"><span class="icon ion-ios-link"></span></a></span>
|
|
166
|
-
</td>
|
|
167
|
-
</tr>
|
|
168
|
-
<tr>
|
|
169
|
-
<td class="col-md-4">
|
|
170
|
-
<code>allowKeyboardNavigation: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
171
|
-
</code>
|
|
172
|
-
</td>
|
|
173
|
-
</tr>
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
<tr>
|
|
177
|
-
<td class="col-md-4">
|
|
178
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
179
|
-
|
|
180
|
-
</td>
|
|
181
|
-
</tr>
|
|
182
|
-
|
|
183
|
-
<tr>
|
|
184
|
-
<td class="col-md-4">
|
|
185
|
-
<i>Optional</i>
|
|
186
|
-
</td>
|
|
187
|
-
</tr>
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
</tbody>
|
|
193
|
-
</table>
|
|
194
|
-
<table class="table table-sm table-bordered">
|
|
195
|
-
<tbody>
|
|
196
|
-
<tr>
|
|
197
|
-
<td class="col-md-4">
|
|
198
|
-
<a name="btnClass"></a>
|
|
199
|
-
<span class="name"><b>btnClass</b><a href="#btnClass"><span class="icon ion-ios-link"></span></a></span>
|
|
200
|
-
</td>
|
|
201
|
-
</tr>
|
|
202
|
-
<tr>
|
|
203
|
-
<td class="col-md-4">
|
|
204
|
-
<code>btnClass: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
205
|
-
</code>
|
|
206
|
-
</td>
|
|
207
|
-
</tr>
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
<tr>
|
|
211
|
-
<td class="col-md-4">
|
|
212
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
213
|
-
|
|
214
|
-
</td>
|
|
215
|
-
</tr>
|
|
216
|
-
|
|
217
|
-
<tr>
|
|
218
|
-
<td class="col-md-4">
|
|
219
|
-
<i>Optional</i>
|
|
220
|
-
</td>
|
|
221
|
-
</tr>
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
</tbody>
|
|
227
|
-
</table>
|
|
228
|
-
<table class="table table-sm table-bordered">
|
|
229
|
-
<tbody>
|
|
230
|
-
<tr>
|
|
231
|
-
<td class="col-md-4">
|
|
232
|
-
<a name="btnIcons"></a>
|
|
233
|
-
<span class="name"><b>btnIcons</b><a href="#btnIcons"><span class="icon ion-ios-link"></span></a></span>
|
|
234
|
-
</td>
|
|
235
|
-
</tr>
|
|
236
|
-
<tr>
|
|
237
|
-
<td class="col-md-4">
|
|
238
|
-
<code>btnIcons: <code>literal type</code>
|
|
239
|
-
</code>
|
|
240
|
-
</td>
|
|
241
|
-
</tr>
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
<tr>
|
|
245
|
-
<td class="col-md-4">
|
|
246
|
-
<i>Type : </i> <code>literal type</code>
|
|
247
|
-
|
|
248
|
-
</td>
|
|
249
|
-
</tr>
|
|
250
|
-
|
|
251
|
-
<tr>
|
|
252
|
-
<td class="col-md-4">
|
|
253
|
-
<i>Optional</i>
|
|
254
|
-
</td>
|
|
255
|
-
</tr>
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
</tbody>
|
|
261
|
-
</table>
|
|
262
|
-
<table class="table table-sm table-bordered">
|
|
263
|
-
<tbody>
|
|
264
|
-
<tr>
|
|
265
|
-
<td class="col-md-4">
|
|
266
|
-
<a name="btnShow"></a>
|
|
267
|
-
<span class="name"><b>btnShow</b><a href="#btnShow"><span class="icon ion-ios-link"></span></a></span>
|
|
268
|
-
</td>
|
|
269
|
-
</tr>
|
|
270
|
-
<tr>
|
|
271
|
-
<td class="col-md-4">
|
|
272
|
-
<code>btnShow: <code>literal type</code>
|
|
273
|
-
</code>
|
|
274
|
-
</td>
|
|
275
|
-
</tr>
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
<tr>
|
|
279
|
-
<td class="col-md-4">
|
|
280
|
-
<i>Type : </i> <code>literal type</code>
|
|
281
|
-
|
|
282
|
-
</td>
|
|
283
|
-
</tr>
|
|
284
|
-
|
|
285
|
-
<tr>
|
|
286
|
-
<td class="col-md-4">
|
|
287
|
-
<i>Optional</i>
|
|
288
|
-
</td>
|
|
289
|
-
</tr>
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
</tbody>
|
|
295
|
-
</table>
|
|
296
|
-
<table class="table table-sm table-bordered">
|
|
297
|
-
<tbody>
|
|
298
|
-
<tr>
|
|
299
|
-
<td class="col-md-4">
|
|
300
|
-
<a name="containerBackgroundColor"></a>
|
|
301
|
-
<span class="name"><b>containerBackgroundColor</b><a href="#containerBackgroundColor"><span class="icon ion-ios-link"></span></a></span>
|
|
302
|
-
</td>
|
|
303
|
-
</tr>
|
|
304
|
-
<tr>
|
|
305
|
-
<td class="col-md-4">
|
|
306
|
-
<code>containerBackgroundColor: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
307
|
-
</code>
|
|
308
|
-
</td>
|
|
309
|
-
</tr>
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
<tr>
|
|
313
|
-
<td class="col-md-4">
|
|
314
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
315
|
-
|
|
316
|
-
</td>
|
|
317
|
-
</tr>
|
|
318
|
-
|
|
319
|
-
<tr>
|
|
320
|
-
<td class="col-md-4">
|
|
321
|
-
<i>Optional</i>
|
|
322
|
-
</td>
|
|
323
|
-
</tr>
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
</tbody>
|
|
329
|
-
</table>
|
|
330
|
-
<table class="table table-sm table-bordered">
|
|
331
|
-
<tbody>
|
|
332
|
-
<tr>
|
|
333
|
-
<td class="col-md-4">
|
|
334
|
-
<a name="customBtns"></a>
|
|
335
|
-
<span class="name"><b>customBtns</b><a href="#customBtns"><span class="icon ion-ios-link"></span></a></span>
|
|
336
|
-
</td>
|
|
337
|
-
</tr>
|
|
338
|
-
<tr>
|
|
339
|
-
<td class="col-md-4">
|
|
340
|
-
<code>customBtns: <code>Array<literal type></code>
|
|
341
|
-
</code>
|
|
342
|
-
</td>
|
|
343
|
-
</tr>
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
<tr>
|
|
347
|
-
<td class="col-md-4">
|
|
348
|
-
<i>Type : </i> <code>Array<literal type></code>
|
|
349
|
-
|
|
350
|
-
</td>
|
|
351
|
-
</tr>
|
|
352
|
-
|
|
353
|
-
<tr>
|
|
354
|
-
<td class="col-md-4">
|
|
355
|
-
<i>Optional</i>
|
|
356
|
-
</td>
|
|
357
|
-
</tr>
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
</tbody>
|
|
363
|
-
</table>
|
|
364
|
-
<table class="table table-sm table-bordered">
|
|
365
|
-
<tbody>
|
|
366
|
-
<tr>
|
|
367
|
-
<td class="col-md-4">
|
|
368
|
-
<a name="wheelZoom"></a>
|
|
369
|
-
<span class="name"><b>wheelZoom</b><a href="#wheelZoom"><span class="icon ion-ios-link"></span></a></span>
|
|
370
|
-
</td>
|
|
371
|
-
</tr>
|
|
372
|
-
<tr>
|
|
373
|
-
<td class="col-md-4">
|
|
374
|
-
<code>wheelZoom: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
375
|
-
</code>
|
|
376
|
-
</td>
|
|
377
|
-
</tr>
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
<tr>
|
|
381
|
-
<td class="col-md-4">
|
|
382
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
383
|
-
|
|
384
|
-
</td>
|
|
385
|
-
</tr>
|
|
386
|
-
|
|
387
|
-
<tr>
|
|
388
|
-
<td class="col-md-4">
|
|
389
|
-
<i>Optional</i>
|
|
390
|
-
</td>
|
|
391
|
-
</tr>
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
</tbody>
|
|
397
|
-
</table>
|
|
398
|
-
<table class="table table-sm table-bordered">
|
|
399
|
-
<tbody>
|
|
400
|
-
<tr>
|
|
401
|
-
<td class="col-md-4">
|
|
402
|
-
<a name="zoomFactor"></a>
|
|
403
|
-
<span class="name"><b>zoomFactor</b><a href="#zoomFactor"><span class="icon ion-ios-link"></span></a></span>
|
|
404
|
-
</td>
|
|
405
|
-
</tr>
|
|
406
|
-
<tr>
|
|
407
|
-
<td class="col-md-4">
|
|
408
|
-
<code>zoomFactor: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
|
|
409
|
-
</code>
|
|
410
|
-
</td>
|
|
411
|
-
</tr>
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
<tr>
|
|
415
|
-
<td class="col-md-4">
|
|
416
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
|
|
417
|
-
|
|
418
|
-
</td>
|
|
419
|
-
</tr>
|
|
420
|
-
|
|
421
|
-
<tr>
|
|
422
|
-
<td class="col-md-4">
|
|
423
|
-
<i>Optional</i>
|
|
424
|
-
</td>
|
|
425
|
-
</tr>
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
</tbody>
|
|
431
|
-
</table>
|
|
432
|
-
</section>
|
|
433
|
-
</div>
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
</div>
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
</div><div class="search-results">
|
|
444
|
-
<div class="has-results">
|
|
445
|
-
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1>
|
|
446
|
-
<ul class="search-results-list"></ul>
|
|
447
|
-
</div>
|
|
448
|
-
<div class="no-results">
|
|
449
|
-
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
|
|
450
|
-
</div>
|
|
451
|
-
</div>
|
|
452
|
-
</div>
|
|
453
|
-
<!-- END CONTENT -->
|
|
454
|
-
</div>
|
|
455
|
-
</div>
|
|
456
|
-
|
|
457
|
-
<script>
|
|
458
|
-
var COMPODOC_CURRENT_PAGE_DEPTH = 1;
|
|
459
|
-
var COMPODOC_CURRENT_PAGE_CONTEXT = 'interface';
|
|
460
|
-
var COMPODOC_CURRENT_PAGE_URL = 'ImageViewerConfig.html';
|
|
461
|
-
</script>
|
|
462
|
-
|
|
463
|
-
<script src="../js/libs/custom-elements.min.js"></script>
|
|
464
|
-
<script src="../js/libs/lit-html.js"></script>
|
|
465
|
-
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
|
|
466
|
-
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script>
|
|
467
|
-
<script src="../js/menu-wc.js" defer></script>
|
|
468
|
-
|
|
469
|
-
<script src="../js/libs/bootstrap-native.js"></script>
|
|
470
|
-
|
|
471
|
-
<script src="../js/libs/es6-shim.min.js"></script>
|
|
472
|
-
<script src="../js/libs/EventDispatcher.js"></script>
|
|
473
|
-
<script src="../js/libs/promise.min.js"></script>
|
|
474
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
475
|
-
|
|
476
|
-
<script src="../js/compodoc.js"></script>
|
|
477
|
-
|
|
478
|
-
<script src="../js/tabs.js"></script>
|
|
479
|
-
<script src="../js/menu.js"></script>
|
|
480
|
-
<script src="../js/libs/clipboard.min.js"></script>
|
|
481
|
-
<script src="../js/libs/prism.js"></script>
|
|
482
|
-
<script src="../js/sourceCode.js"></script>
|
|
483
|
-
<script src="../js/search/search.js"></script>
|
|
484
|
-
<script src="../js/search/lunr.min.js"></script>
|
|
485
|
-
<script src="../js/search/search-lunr.js"></script>
|
|
486
|
-
<script src="../js/search/search_index.js"></script>
|
|
487
|
-
<script src="../js/lazy-load-graphs.js"></script>
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
</body>
|
|
491
|
-
</html>
|
package/docs/js/compodoc.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
var compodoc = {
|
|
2
|
-
EVENTS: {
|
|
3
|
-
READY: 'compodoc.ready',
|
|
4
|
-
SEARCH_READY: 'compodoc.search.ready'
|
|
5
|
-
}
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
Object.assign( compodoc, EventDispatcher.prototype );
|
|
9
|
-
|
|
10
|
-
document.addEventListener('DOMContentLoaded', function() {
|
|
11
|
-
compodoc.dispatchEvent({
|
|
12
|
-
type: compodoc.EVENTS.READY
|
|
13
|
-
});
|
|
14
|
-
});
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
document.addEventListener('DOMContentLoaded', function() {
|
|
2
|
-
var lazyGraphs = [].slice.call(document.querySelectorAll('[lazy]'));
|
|
3
|
-
var active = false;
|
|
4
|
-
|
|
5
|
-
var lazyLoad = function() {
|
|
6
|
-
if (active === false) {
|
|
7
|
-
active = true;
|
|
8
|
-
|
|
9
|
-
setTimeout(function() {
|
|
10
|
-
lazyGraphs.forEach(function(lazyGraph) {
|
|
11
|
-
if (
|
|
12
|
-
lazyGraph.getBoundingClientRect().top <= window.innerHeight &&
|
|
13
|
-
lazyGraph.getBoundingClientRect().bottom >= 0 &&
|
|
14
|
-
getComputedStyle(lazyGraph).display !== 'none'
|
|
15
|
-
) {
|
|
16
|
-
lazyGraph.data = lazyGraph.getAttribute('lazy');
|
|
17
|
-
lazyGraph.removeAttribute('lazy');
|
|
18
|
-
|
|
19
|
-
lazyGraphs = lazyGraphs.filter(function(image) { return image !== lazyGraph});
|
|
20
|
-
|
|
21
|
-
if (lazyGraphs.length === 0) {
|
|
22
|
-
document.removeEventListener('scroll', lazyLoad);
|
|
23
|
-
window.removeEventListener('resize', lazyLoad);
|
|
24
|
-
window.removeEventListener('orientationchange', lazyLoad);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
active = false;
|
|
30
|
-
}, 200);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
// initial load
|
|
35
|
-
lazyLoad();
|
|
36
|
-
|
|
37
|
-
var container = document.querySelector('.container-fluid.modules');
|
|
38
|
-
if (container) {
|
|
39
|
-
container.addEventListener('scroll', lazyLoad);
|
|
40
|
-
window.addEventListener('resize', lazyLoad);
|
|
41
|
-
window.addEventListener('orientationchange', lazyLoad);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
});
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author mrdoob / http://mrdoob.com/
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
var EventDispatcher=function(){};Object.assign(EventDispatcher.prototype,{addEventListener:function(i,t){void 0===this._listeners&&(this._listeners={});var e=this._listeners;void 0===e[i]&&(e[i]=[]),-1===e[i].indexOf(t)&&e[i].push(t)},hasEventListener:function(i,t){if(void 0===this._listeners)return!1;var e=this._listeners;return void 0!==e[i]&&-1!==e[i].indexOf(t)},removeEventListener:function(i,t){if(void 0!==this._listeners){var e=this._listeners[i];if(void 0!==e){var s=e.indexOf(t);-1!==s&&e.splice(s,1)}}},dispatchEvent:function(i){if(void 0!==this._listeners){var t=this._listeners[i.type];if(void 0!==t){i.target=this;var e=[],s=0,n=t.length;for(s=0;s<n;s++)e[s]=t[s];for(s=0;s<n;s++)e[s].call(this,i)}}}});
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// Native Javascript for Bootstrap 3 v1.1.0 | © dnp_theme | MIT-License
|
|
2
|
-
!function(t,e){if("function"==typeof define&&define.amd)define([],e);else if("object"==typeof module&&module.exports)module.exports=e();else{var o=e();t.Affix=o.Affix,t.Alert=o.Alert,t.Button=o.Button,t.Carousel=o.Carousel,t.Collapse=o.Collapse,t.Dropdown=o.Dropdown,t.Modal=o.Modal,t.Popover=o.Popover,t.ScrollSpy=o.ScrollSpy,t.Tab=o.Tab,t.Tooltip=o.Tooltip}}(this,function(){for(var t=function(t,e){t.classList?t.classList.add(e):(t.className+=" "+e,t.offsetWidth)},e=function(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(e,"").replace(/^\s+|\s+$/g,"")},o=null!=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})").exec(navigator.userAgent)&&parseFloat(RegExp.$1),n=function(t,e){for(var o=e.charAt(0);t&&t!==document;t=t.parentNode){if("."===o&&void 0!==document.querySelector(e))return t;if("#"===o&&t.id===e.substr(1))return t}return!1},i=(document,function(i,a){a=a||{},this.btn="object"==typeof i?i:document.querySelector(i),this.accordion=null,this.collapse=null,this.duration=300,this.options={},this.options.duration=o&&o<10?0:a.duration||this.duration;var r=this,s=function(t){var e=t&&(t.currentStyle||window.getComputedStyle(t)),o=/px/.test(e.borderTopWidth)?Math.round(e.borderTopWidth.replace("px","")):0,n=/px/.test(e.marginTop)?Math.round(e.marginTop.replace("px","")):0,i=/px/.test(e.marginBottom)?Math.round(e.marginBottom.replace("px","")):0,a=/em/.test(e.marginTop)?Math.round(e.marginTop.replace("em","")*parseInt(e.fontSize)):0,r=/em/.test(e.marginBottom)?Math.round(e.marginBottom.replace("em","")*parseInt(e.fontSize)):0;return t.clientHeight+parseInt(o)+parseInt(n)+parseInt(i)+parseInt(a)+parseInt(r)};this.toggle=function(t){t.preventDefault(),/\bin/.test(r.collapse.className)?r.close():r.open()},this.close=function(){this._close(this.collapse),t(this.btn,"collapsed")},this.open=function(){if(this._open(this.collapse),e(this.btn,"collapsed"),null!==this.accordion){var t=this.accordion.querySelectorAll(".collapse.in"),o=t.length,n=0;for(n;n<o;n++)t[n]!==this.collapse&&this._close(t[n])}},this._open=function(o){this.removeEvent(),t(o,"in"),o.setAttribute("aria-expanded","true"),t(o,"collapsing"),setTimeout(function(){o.style.height=r.getMaxHeight(o)+"px",o.style.overflowY="hidden"},0),setTimeout(function(){o.style.height="",o.style.overflowY="",e(o,"collapsing"),r.addEvent()},this.options.duration)},this._close=function(o){this.removeEvent(),o.setAttribute("aria-expanded","false"),o.style.height=this.getMaxHeight(o)+"px",setTimeout(function(){o.style.height="0px",o.style.overflowY="hidden",t(o,"collapsing")},0),setTimeout(function(){e(o,"collapsing"),e(o,"in"),o.style.overflowY="",o.style.height="",r.addEvent()},this.options.duration)},this.getMaxHeight=function(t){for(var e=0,o=0,n=t.children.length;o<n;o++)e+=s(t.children[o]);return e},this.removeEvent=function(){this.btn.removeEventListener("click",this.toggle,!1)},this.addEvent=function(){this.btn.addEventListener("click",this.toggle,!1)},this.getTarget=function(){var t=this.btn,e=t.href&&t.getAttribute("href").replace("#",""),o=t.getAttribute("data-target")&&t.getAttribute("data-target"),n=e||o&&/#/.test(o)&&o.replace("#",""),i=o&&"."===o.charAt(0)&&o;return n&&document.getElementById(n)||i&&document.querySelector(i)},this.addEvent(),this.collapse=this.getTarget(),this.accordion=this.btn.getAttribute("data-parent")&&n(this.btn,this.btn.getAttribute("data-parent"))}),a=document.querySelectorAll('[data-toggle="collapse"]'),r=0,s=a.length;r<s;r++){var l=a[r];(g={}).duration=l.getAttribute("data-duration"),new i(l,g)}for(var c=function(n,i){i=i||{},this.tab="object"==typeof n?n:document.querySelector(n),this.tabs=this.tab.parentNode.parentNode,this.dropdown=this.tabs.querySelector(".dropdown"),/\bdropdown-menu/.test(this.tabs.className)&&(this.dropdown=this.tabs.parentNode,this.tabs=this.tabs.parentNode.parentNode),this.options=i,this.duration=150,this.options.duration=o&&o<10?0:i.duration||this.duration;var a=this;this.handle=function(o){(o=o||window.e).preventDefault();var n=o.target,i=document.getElementById("c-"+n.getAttribute("href").replace("#","")),r=a.getActiveTab(),s=a.getActiveContent();/\bactive/.test(n.parentNode.className)||(e(r,"active"),t(n.parentNode,"active"),a.dropdown&&(/\bdropdown-menu/.test(a.tab.parentNode.parentNode.className)?/\bactive/.test(a.dropdown.className)||t(a.dropdown,"active"):/\bactive/.test(a.dropdown.className)&&e(a.dropdown,"active")),e(s,"in"),setTimeout(function(){e(s,"active"),t(i,"active")},a.options.duration),setTimeout(function(){t(i,"in")},2*a.options.duration))},this.getActiveTab=function(){var t=this.tabs.querySelectorAll(".active");return 1!==t.length||/\bdropdown/.test(t[0].className)?t.length>1?t[t.length-1]:void 0:t[0]},this.getActiveContent=function(){var t=this.getActiveTab().getElementsByTagName("A")[0].getAttribute("href").replace("#","");return t&&document.getElementById("c-"+t)},this.tab.addEventListener("click",this.handle,!1)},d=document.querySelectorAll("[data-toggle='tab'], [data-toggle='pill']"),u=0,h=d.length;u<h;u++){var p=d[u],g={};g.duration=p.getAttribute("data-duration")&&p.getAttribute("data-duration")||!1,new c(p,g)}return{Tab:c,Collapse:i}});
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* clipboard.js v2.0.0
|
|
3
|
-
* https://zenorocha.github.io/clipboard.js
|
|
4
|
-
*
|
|
5
|
-
* Licensed MIT © Zeno Rocha
|
|
6
|
-
*/
|
|
7
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ClipboardJS=e():t.ClipboardJS=e()}(this,function(){return function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=3)}([function(t,e,n){var o,r,i;!function(a,c){r=[t,n(7)],o=c,void 0!==(i="function"==typeof o?o.apply(e,r):o)&&(t.exports=i)}(0,function(t,e){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=function(t){return t&&t.__esModule?t:{default:t}}(e),r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=function(){function t(e){n(this,t),this.resolveOptions(e),this.initSelection()}return i(t,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var t=this,e="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[e?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,o.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,o.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var t=void 0;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==(void 0===t?"undefined":r(t))||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),t}();t.exports=a})},function(t,e,n){function o(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!c.string(e))throw new TypeError("Second argument must be a String");if(!c.fn(n))throw new TypeError("Third argument must be a Function");if(c.node(t))return r(t,e,n);if(c.nodeList(t))return i(t,e,n);if(c.string(t))return a(t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function r(t,e,n){return t.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}function i(t,e,n){return Array.prototype.forEach.call(t,function(t){t.addEventListener(e,n)}),{destroy:function(){Array.prototype.forEach.call(t,function(t){t.removeEventListener(e,n)})}}}function a(t,e,n){return u(document.body,t,e,n)}var c=n(6),u=n(5);t.exports=o},function(t,e){function n(){}n.prototype={on:function(t,e,n){var o=this.e||(this.e={});return(o[t]||(o[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){function o(){r.off(t,o),e.apply(n,arguments)}var r=this;return o._=e,this.on(t,o,n)},emit:function(t){var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),o=0,r=n.length;for(o;o<r;o++)n[o].fn.apply(n[o].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),o=n[t],r=[];if(o&&e)for(var i=0,a=o.length;i<a;i++)o[i].fn!==e&&o[i].fn._!==e&&r.push(o[i]);return r.length?n[t]=r:delete n[t],this}},t.exports=n},function(t,e,n){var o,r,i;!function(a,c){r=[t,n(0),n(2),n(1)],o=c,void 0!==(i="function"==typeof o?o.apply(e,r):o)&&(t.exports=i)}(0,function(t,e,n,o){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function c(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function u(t,e){var n="data-clipboard-"+t;if(e.hasAttribute(n))return e.getAttribute(n)}var l=r(e),s=r(n),f=r(o),d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),p=function(t){function e(t,n){i(this,e);var o=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return o.resolveOptions(n),o.listenClick(t),o}return c(e,t),h(e,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===d(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=(0,f.default)(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new l.default({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return u("action",t)}},{key:"defaultTarget",value:function(t){var e=u("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return u("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach(function(t){n=n&&!!document.queryCommandSupported(t)}),n}}]),e}(s.default);t.exports=p})},function(t,e){function n(t,e){for(;t&&t.nodeType!==o;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}var o=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}t.exports=n},function(t,e,n){function o(t,e,n,o,r){var a=i.apply(this,arguments);return t.addEventListener(n,a,r),{destroy:function(){t.removeEventListener(n,a,r)}}}function r(t,e,n,r,i){return"function"==typeof t.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return o(t,e,n,r,i)}))}function i(t,e,n,o){return function(n){n.delegateTarget=a(n.target,e),n.delegateTarget&&o.call(t,n)}}var a=n(4);t.exports=r},function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},function(t,e){function n(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var o=window.getSelection(),r=document.createRange();r.selectNodeContents(t),o.removeAllRanges(),o.addRange(r),e=o.toString()}return e}t.exports=n}])});
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
@license @nocompile
|
|
3
|
-
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
|
|
4
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
5
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
6
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
7
|
-
Code distributed by Google as part of the polymer project is also
|
|
8
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9
|
-
*/
|
|
10
|
-
(function () {
|
|
11
|
-
'use strict';
|
|
12
|
-
|
|
13
|
-
(function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.hasOwnProperty('polyfillWrapFlushCallback'))return;const a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)},HTMLElement.prototype=a.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,a);})();
|
|
14
|
-
|
|
15
|
-
}());
|