poi-plugin-milk 1.1.5 → 1.1.7
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/.idea/workspace.xml +207 -85
- package/index.js +1 -1
- package/package.json +1 -1
- package/parts/candidates.js +1 -1
- package/parts/fleet-list.js +42 -17
- package/parts/functions.js +31 -2
package/.idea/workspace.xml
CHANGED
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
<file leaf-file-name="fleet-list.js" pinned="false" current-in-tab="false">
|
|
25
25
|
<entry file="file://$PROJECT_DIR$/parts/fleet-list.js">
|
|
26
26
|
<provider selected="true" editor-type-id="text-editor">
|
|
27
|
-
<state relative-caret-position="
|
|
28
|
-
<caret line="
|
|
27
|
+
<state relative-caret-position="902">
|
|
28
|
+
<caret line="208" column="6" lean-forward="false" selection-start-line="208" selection-start-column="6" selection-end-line="208" selection-end-column="6" />
|
|
29
29
|
<folding />
|
|
30
30
|
</state>
|
|
31
31
|
</provider>
|
|
@@ -34,18 +34,8 @@
|
|
|
34
34
|
<file leaf-file-name="index.js" pinned="false" current-in-tab="false">
|
|
35
35
|
<entry file="file://$PROJECT_DIR$/index.js">
|
|
36
36
|
<provider selected="true" editor-type-id="text-editor">
|
|
37
|
-
<state relative-caret-position="
|
|
38
|
-
<caret line="
|
|
39
|
-
<folding />
|
|
40
|
-
</state>
|
|
41
|
-
</provider>
|
|
42
|
-
</entry>
|
|
43
|
-
</file>
|
|
44
|
-
<file leaf-file-name="factor.js" pinned="false" current-in-tab="false">
|
|
45
|
-
<entry file="file://$PROJECT_DIR$/parts/factor.js">
|
|
46
|
-
<provider selected="true" editor-type-id="text-editor">
|
|
47
|
-
<state relative-caret-position="0">
|
|
48
|
-
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
37
|
+
<state relative-caret-position="362">
|
|
38
|
+
<caret line="43" column="64" lean-forward="false" selection-start-line="43" selection-start-column="64" selection-end-line="43" selection-end-column="64" />
|
|
49
39
|
<folding />
|
|
50
40
|
</state>
|
|
51
41
|
</provider>
|
|
@@ -71,19 +61,6 @@
|
|
|
71
61
|
</provider>
|
|
72
62
|
</entry>
|
|
73
63
|
</file>
|
|
74
|
-
<file leaf-file-name="index.js.map" pinned="false" current-in-tab="false">
|
|
75
|
-
<entry file="file://$PROJECT_DIR$/index.js.map">
|
|
76
|
-
<provider editor-type-id="sourcemapFileViewerProvider">
|
|
77
|
-
<state />
|
|
78
|
-
</provider>
|
|
79
|
-
<provider selected="true" editor-type-id="text-editor">
|
|
80
|
-
<state relative-caret-position="0">
|
|
81
|
-
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
82
|
-
<folding />
|
|
83
|
-
</state>
|
|
84
|
-
</provider>
|
|
85
|
-
</entry>
|
|
86
|
-
</file>
|
|
87
64
|
<file leaf-file-name="package.json" pinned="false" current-in-tab="true">
|
|
88
65
|
<entry file="file://$PROJECT_DIR$/package.json">
|
|
89
66
|
<provider selected="true" editor-type-id="text-editor">
|
|
@@ -97,7 +74,7 @@
|
|
|
97
74
|
<file leaf-file-name="ship-row.js" pinned="false" current-in-tab="false">
|
|
98
75
|
<entry file="file://$PROJECT_DIR$/parts/ship-row.js">
|
|
99
76
|
<provider selected="true" editor-type-id="text-editor">
|
|
100
|
-
<state relative-caret-position="
|
|
77
|
+
<state relative-caret-position="1968">
|
|
101
78
|
<caret line="48" column="64" lean-forward="false" selection-start-line="48" selection-start-column="64" selection-end-line="48" selection-end-column="64" />
|
|
102
79
|
<folding />
|
|
103
80
|
</state>
|
|
@@ -108,7 +85,7 @@
|
|
|
108
85
|
<entry file="file://$PROJECT_DIR$/parts/functions.js">
|
|
109
86
|
<provider selected="true" editor-type-id="text-editor">
|
|
110
87
|
<state relative-caret-position="205">
|
|
111
|
-
<caret line="5" column="
|
|
88
|
+
<caret line="5" column="0" lean-forward="true" selection-start-line="5" selection-start-column="0" selection-end-line="5" selection-end-column="0" />
|
|
112
89
|
<folding />
|
|
113
90
|
</state>
|
|
114
91
|
</provider>
|
|
@@ -117,8 +94,28 @@
|
|
|
117
94
|
<file leaf-file-name="candidates.js" pinned="false" current-in-tab="false">
|
|
118
95
|
<entry file="file://$PROJECT_DIR$/parts/candidates.js">
|
|
119
96
|
<provider selected="true" editor-type-id="text-editor">
|
|
120
|
-
<state relative-caret-position="
|
|
121
|
-
<caret line="
|
|
97
|
+
<state relative-caret-position="41">
|
|
98
|
+
<caret line="43" column="64" lean-forward="false" selection-start-line="43" selection-start-column="64" selection-end-line="43" selection-end-column="64" />
|
|
99
|
+
<folding />
|
|
100
|
+
</state>
|
|
101
|
+
</provider>
|
|
102
|
+
</entry>
|
|
103
|
+
</file>
|
|
104
|
+
<file leaf-file-name="README-CN.MD" pinned="false" current-in-tab="false">
|
|
105
|
+
<entry file="file://$PROJECT_DIR$/README-CN.MD">
|
|
106
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
107
|
+
<state relative-caret-position="868">
|
|
108
|
+
<caret line="51" column="42" lean-forward="false" selection-start-line="51" selection-start-column="42" selection-end-line="51" selection-end-column="42" />
|
|
109
|
+
<folding />
|
|
110
|
+
</state>
|
|
111
|
+
</provider>
|
|
112
|
+
</entry>
|
|
113
|
+
</file>
|
|
114
|
+
<file leaf-file-name="README.MD" pinned="false" current-in-tab="false">
|
|
115
|
+
<entry file="file://$PROJECT_DIR$/README.MD">
|
|
116
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
117
|
+
<state relative-caret-position="821">
|
|
118
|
+
<caret line="48" column="80" lean-forward="false" selection-start-line="48" selection-start-column="80" selection-end-line="48" selection-end-column="80" />
|
|
122
119
|
<folding />
|
|
123
120
|
</state>
|
|
124
121
|
</provider>
|
|
@@ -150,16 +147,26 @@
|
|
|
150
147
|
<find>fleetAkashiConv</find>
|
|
151
148
|
<find>fleets</find>
|
|
152
149
|
<find>console.log</find>
|
|
150
|
+
<find>poi-plugin-anchor</find>
|
|
151
|
+
<find>_shipRow</find>
|
|
152
|
+
<find>996</find>
|
|
153
|
+
<find>preset</find>
|
|
154
|
+
<find>pr</find>
|
|
155
|
+
<find>_fun</find>
|
|
153
156
|
</findStrings>
|
|
157
|
+
<replaceStrings>
|
|
158
|
+
<replace />
|
|
159
|
+
</replaceStrings>
|
|
154
160
|
</component>
|
|
155
161
|
<component name="IdeDocumentHistory">
|
|
156
162
|
<option name="CHANGED_PATHS">
|
|
157
163
|
<list>
|
|
158
|
-
<option value="$PROJECT_DIR$/parts/functions.js" />
|
|
159
164
|
<option value="$PROJECT_DIR$/i18n/zh-CN.json" />
|
|
165
|
+
<option value="$PROJECT_DIR$/parts/ship-row.js" />
|
|
160
166
|
<option value="$PROJECT_DIR$/index.js" />
|
|
167
|
+
<option value="$PROJECT_DIR$/parts/candidates.js" />
|
|
168
|
+
<option value="$PROJECT_DIR$/parts/functions.js" />
|
|
161
169
|
<option value="$PROJECT_DIR$/parts/fleet-list.js" />
|
|
162
|
-
<option value="$PROJECT_DIR$/parts/ship-row.js" />
|
|
163
170
|
<option value="$PROJECT_DIR$/package.json" />
|
|
164
171
|
</list>
|
|
165
172
|
</option>
|
|
@@ -196,25 +203,26 @@
|
|
|
196
203
|
<foldersAlwaysOnTop value="true" />
|
|
197
204
|
</navigator>
|
|
198
205
|
<panes>
|
|
206
|
+
<pane id="Scope" />
|
|
199
207
|
<pane id="ProjectPane">
|
|
200
208
|
<subPane>
|
|
201
209
|
<PATH>
|
|
202
210
|
<PATH_ELEMENT>
|
|
203
|
-
<option name="myItemId" value="poi-plugin-
|
|
211
|
+
<option name="myItemId" value="poi-plugin-milk" />
|
|
204
212
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
205
213
|
</PATH_ELEMENT>
|
|
206
214
|
<PATH_ELEMENT>
|
|
207
|
-
<option name="myItemId" value="poi-plugin-
|
|
215
|
+
<option name="myItemId" value="poi-plugin-milk" />
|
|
208
216
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
209
217
|
</PATH_ELEMENT>
|
|
210
218
|
</PATH>
|
|
211
219
|
<PATH>
|
|
212
220
|
<PATH_ELEMENT>
|
|
213
|
-
<option name="myItemId" value="poi-plugin-
|
|
221
|
+
<option name="myItemId" value="poi-plugin-milk" />
|
|
214
222
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
215
223
|
</PATH_ELEMENT>
|
|
216
224
|
<PATH_ELEMENT>
|
|
217
|
-
<option name="myItemId" value="poi-plugin-
|
|
225
|
+
<option name="myItemId" value="poi-plugin-milk" />
|
|
218
226
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
219
227
|
</PATH_ELEMENT>
|
|
220
228
|
<PATH_ELEMENT>
|
|
@@ -224,11 +232,11 @@
|
|
|
224
232
|
</PATH>
|
|
225
233
|
<PATH>
|
|
226
234
|
<PATH_ELEMENT>
|
|
227
|
-
<option name="myItemId" value="poi-plugin-
|
|
235
|
+
<option name="myItemId" value="poi-plugin-milk" />
|
|
228
236
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
229
237
|
</PATH_ELEMENT>
|
|
230
238
|
<PATH_ELEMENT>
|
|
231
|
-
<option name="myItemId" value="poi-plugin-
|
|
239
|
+
<option name="myItemId" value="poi-plugin-milk" />
|
|
232
240
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
233
241
|
</PATH_ELEMENT>
|
|
234
242
|
<PATH_ELEMENT>
|
|
@@ -238,11 +246,11 @@
|
|
|
238
246
|
</PATH>
|
|
239
247
|
<PATH>
|
|
240
248
|
<PATH_ELEMENT>
|
|
241
|
-
<option name="myItemId" value="poi-plugin-
|
|
249
|
+
<option name="myItemId" value="poi-plugin-milk" />
|
|
242
250
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
243
251
|
</PATH_ELEMENT>
|
|
244
252
|
<PATH_ELEMENT>
|
|
245
|
-
<option name="myItemId" value="poi-plugin-
|
|
253
|
+
<option name="myItemId" value="poi-plugin-milk" />
|
|
246
254
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
247
255
|
</PATH_ELEMENT>
|
|
248
256
|
<PATH_ELEMENT>
|
|
@@ -252,7 +260,6 @@
|
|
|
252
260
|
</PATH>
|
|
253
261
|
</subPane>
|
|
254
262
|
</pane>
|
|
255
|
-
<pane id="Scope" />
|
|
256
263
|
<pane id="Scratches" />
|
|
257
264
|
</panes>
|
|
258
265
|
</component>
|
|
@@ -265,13 +272,127 @@
|
|
|
265
272
|
<property name="options.splitter.main.proportions" value="0.3" />
|
|
266
273
|
<property name="settings.editor.selected.configurable" value="editor.preferences.smartKeys" />
|
|
267
274
|
<property name="WebServerToolWindowFactoryState" value="false" />
|
|
268
|
-
<property name="last_opened_file_path" value="$PROJECT_DIR
|
|
275
|
+
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
|
269
276
|
<property name="HbShouldOpenHtmlAsHb" value="" />
|
|
277
|
+
<property name="js.eslint.eslintPackage" value="" />
|
|
270
278
|
</component>
|
|
271
279
|
<component name="RunManager">
|
|
280
|
+
<configuration default="true" type="DartCommandLineRunConfigurationType" factoryName="Dart Command Line Application">
|
|
281
|
+
<method />
|
|
282
|
+
</configuration>
|
|
283
|
+
<configuration default="true" type="DartTestRunConfigurationType" factoryName="Dart Test">
|
|
284
|
+
<method />
|
|
285
|
+
</configuration>
|
|
286
|
+
<configuration default="true" type="ErlangApplicationRunConfiguration" factoryName="Erlang Application" show_console_on_std_err="false" show_console_on_std_out="false">
|
|
287
|
+
<option name="debugOptions">
|
|
288
|
+
<ErlangDebugOptions>
|
|
289
|
+
<option name="autoUpdateModulesNotToInterpret" value="true" />
|
|
290
|
+
<option name="modulesNotToInterpret">
|
|
291
|
+
<set />
|
|
292
|
+
</option>
|
|
293
|
+
</ErlangDebugOptions>
|
|
294
|
+
</option>
|
|
295
|
+
<option name="erlFlags" value="" />
|
|
296
|
+
<option name="moduleAndFunction" value="" />
|
|
297
|
+
<option name="params" value="" />
|
|
298
|
+
<option name="useTestCodePath" value="false" />
|
|
299
|
+
<option name="workDirectory" />
|
|
300
|
+
<module />
|
|
301
|
+
<method />
|
|
302
|
+
</configuration>
|
|
303
|
+
<configuration default="true" type="ErlangUnitRunConfigurationType" factoryName="Erlang Eunit" show_console_on_std_err="false" show_console_on_std_out="false">
|
|
304
|
+
<option name="debugOptions">
|
|
305
|
+
<ErlangDebugOptions>
|
|
306
|
+
<option name="autoUpdateModulesNotToInterpret" value="true" />
|
|
307
|
+
<option name="modulesNotToInterpret">
|
|
308
|
+
<set />
|
|
309
|
+
</option>
|
|
310
|
+
</ErlangDebugOptions>
|
|
311
|
+
</option>
|
|
312
|
+
<option name="workDirectory" />
|
|
313
|
+
<module />
|
|
314
|
+
<option name="functionNames">
|
|
315
|
+
<set />
|
|
316
|
+
</option>
|
|
317
|
+
<option name="kind" value="MODULE" />
|
|
318
|
+
<option name="moduleNames">
|
|
319
|
+
<set />
|
|
320
|
+
</option>
|
|
321
|
+
<method />
|
|
322
|
+
</configuration>
|
|
323
|
+
<configuration default="true" type="GoApplicationRunConfiguration" factoryName="Go Application">
|
|
324
|
+
<module name="" />
|
|
325
|
+
<working_directory value="$PROJECT_DIR$" />
|
|
326
|
+
<filePath value="$PROJECT_DIR$" />
|
|
327
|
+
<kind value="FILE" />
|
|
328
|
+
<method />
|
|
329
|
+
</configuration>
|
|
330
|
+
<configuration default="true" type="GoRunFileConfiguration" factoryName="Go Single File">
|
|
331
|
+
<module name="" />
|
|
332
|
+
<working_directory value="$PROJECT_DIR$" />
|
|
333
|
+
<filePath value="$PROJECT_DIR$" />
|
|
334
|
+
<method />
|
|
335
|
+
</configuration>
|
|
336
|
+
<configuration default="true" type="GoTestRunConfiguration" factoryName="Go Test">
|
|
337
|
+
<module name="" />
|
|
338
|
+
<working_directory value="$PROJECT_DIR$" />
|
|
339
|
+
<framework value="gotest" />
|
|
340
|
+
<kind value="DIRECTORY" />
|
|
341
|
+
<method />
|
|
342
|
+
</configuration>
|
|
343
|
+
<configuration default="true" type="JavaScriptTestRunnerKarma" factoryName="Karma">
|
|
344
|
+
<config-file value="" />
|
|
345
|
+
<node-interpreter value="project" />
|
|
346
|
+
<envs />
|
|
347
|
+
<method />
|
|
348
|
+
</configuration>
|
|
349
|
+
<configuration default="true" type="JavaScriptTestRunnerProtractor" factoryName="Protractor">
|
|
350
|
+
<config-file value="" />
|
|
351
|
+
<node-interpreter value="project" />
|
|
352
|
+
<envs />
|
|
353
|
+
<method />
|
|
354
|
+
</configuration>
|
|
355
|
+
<configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
|
|
356
|
+
<method />
|
|
357
|
+
</configuration>
|
|
272
358
|
<configuration default="true" type="NodeJSConfigurationType" factoryName="Node.js" path-to-node="project" working-dir="">
|
|
273
359
|
<method />
|
|
274
360
|
</configuration>
|
|
361
|
+
<configuration default="true" type="RebarEunitRunConfigurationType" factoryName="Erlang Rebar Eunit" show_console_on_std_err="false" show_console_on_std_out="false">
|
|
362
|
+
<option name="command" value="eunit" />
|
|
363
|
+
<option name="skipDependencies" value="true" />
|
|
364
|
+
<module />
|
|
365
|
+
<method />
|
|
366
|
+
</configuration>
|
|
367
|
+
<configuration default="true" type="cucumber.js" factoryName="Cucumber.js">
|
|
368
|
+
<option name="cucumberJsArguments" value="" />
|
|
369
|
+
<option name="executablePath" />
|
|
370
|
+
<option name="filePath" />
|
|
371
|
+
<method />
|
|
372
|
+
</configuration>
|
|
373
|
+
<configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
|
|
374
|
+
<method />
|
|
375
|
+
</configuration>
|
|
376
|
+
<configuration default="true" type="js.build_tools.npm" factoryName="npm">
|
|
377
|
+
<command value="run-script" />
|
|
378
|
+
<scripts />
|
|
379
|
+
<node-interpreter value="project" />
|
|
380
|
+
<envs />
|
|
381
|
+
<method />
|
|
382
|
+
</configuration>
|
|
383
|
+
<configuration default="true" type="mocha-javascript-test-runner" factoryName="Mocha">
|
|
384
|
+
<node-interpreter>project</node-interpreter>
|
|
385
|
+
<node-options />
|
|
386
|
+
<working-directory />
|
|
387
|
+
<pass-parent-env>true</pass-parent-env>
|
|
388
|
+
<envs />
|
|
389
|
+
<ui />
|
|
390
|
+
<extra-mocha-options />
|
|
391
|
+
<test-kind>DIRECTORY</test-kind>
|
|
392
|
+
<test-directory />
|
|
393
|
+
<recursive>false</recursive>
|
|
394
|
+
<method />
|
|
395
|
+
</configuration>
|
|
275
396
|
</component>
|
|
276
397
|
<component name="ShelveChangesManager" show_recycled="false">
|
|
277
398
|
<option name="remove_strategy" value="false" />
|
|
@@ -289,33 +410,34 @@
|
|
|
289
410
|
<workItem from="1765159374589" duration="297000" />
|
|
290
411
|
<workItem from="1765245689368" duration="11814000" />
|
|
291
412
|
<workItem from="1765330674509" duration="116000" />
|
|
413
|
+
<workItem from="1765331299194" duration="3066000" />
|
|
292
414
|
</task>
|
|
293
415
|
<servers />
|
|
294
416
|
</component>
|
|
295
417
|
<component name="TimeTrackingManager">
|
|
296
|
-
<option name="totallyTimeSpent" value="
|
|
418
|
+
<option name="totallyTimeSpent" value="32063000" />
|
|
297
419
|
</component>
|
|
298
420
|
<component name="ToolWindowManager">
|
|
299
421
|
<frame x="140" y="22" width="3700" height="2138" extended-state="0" />
|
|
300
422
|
<editor active="true" />
|
|
301
423
|
<layout>
|
|
302
|
-
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.
|
|
424
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24651544" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
|
303
425
|
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
|
304
426
|
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
|
|
427
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32954547" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
|
305
428
|
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
|
306
429
|
<window_info id="npm" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
|
|
430
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
|
307
431
|
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
|
308
432
|
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
|
309
433
|
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
|
|
434
|
+
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
|
310
435
|
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
|
311
436
|
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
|
312
437
|
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
|
313
438
|
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
|
314
|
-
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
|
315
439
|
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
|
316
|
-
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32954547" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
|
317
440
|
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
|
318
|
-
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
|
319
441
|
</layout>
|
|
320
442
|
</component>
|
|
321
443
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -329,22 +451,6 @@
|
|
|
329
451
|
<watches-manager />
|
|
330
452
|
</component>
|
|
331
453
|
<component name="editorHistoryManager">
|
|
332
|
-
<entry file="file://$PROJECT_DIR$/parts/countup-timer.js">
|
|
333
|
-
<provider selected="true" editor-type-id="text-editor">
|
|
334
|
-
<state relative-caret-position="0">
|
|
335
|
-
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
336
|
-
<folding />
|
|
337
|
-
</state>
|
|
338
|
-
</provider>
|
|
339
|
-
</entry>
|
|
340
|
-
<entry file="file://$PROJECT_DIR$/i18n/zh-CN.json">
|
|
341
|
-
<provider selected="true" editor-type-id="text-editor">
|
|
342
|
-
<state relative-caret-position="943">
|
|
343
|
-
<caret line="23" column="1" lean-forward="false" selection-start-line="23" selection-start-column="1" selection-end-line="23" selection-end-column="1" />
|
|
344
|
-
<folding />
|
|
345
|
-
</state>
|
|
346
|
-
</provider>
|
|
347
|
-
</entry>
|
|
348
454
|
<entry file="file://$PROJECT_DIR$/index.js.map">
|
|
349
455
|
<provider editor-type-id="sourcemapFileViewerProvider">
|
|
350
456
|
<state />
|
|
@@ -680,15 +786,15 @@
|
|
|
680
786
|
</state>
|
|
681
787
|
</provider>
|
|
682
788
|
</entry>
|
|
683
|
-
<entry file="file://$PROJECT_DIR$/
|
|
789
|
+
<entry file="file://$PROJECT_DIR$/parts/factor.js">
|
|
684
790
|
<provider selected="true" editor-type-id="text-editor">
|
|
685
|
-
<state relative-caret-position="
|
|
686
|
-
<caret line="
|
|
791
|
+
<state relative-caret-position="0">
|
|
792
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
687
793
|
<folding />
|
|
688
794
|
</state>
|
|
689
795
|
</provider>
|
|
690
796
|
</entry>
|
|
691
|
-
<entry file="file://$PROJECT_DIR$/parts/
|
|
797
|
+
<entry file="file://$PROJECT_DIR$/parts/countup-timer.js">
|
|
692
798
|
<provider selected="true" editor-type-id="text-editor">
|
|
693
799
|
<state relative-caret-position="0">
|
|
694
800
|
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
@@ -696,50 +802,66 @@
|
|
|
696
802
|
</state>
|
|
697
803
|
</provider>
|
|
698
804
|
</entry>
|
|
699
|
-
<entry file="file://$PROJECT_DIR$/parts/
|
|
805
|
+
<entry file="file://$PROJECT_DIR$/parts/ship-row.js">
|
|
700
806
|
<provider selected="true" editor-type-id="text-editor">
|
|
701
|
-
<state relative-caret-position="
|
|
702
|
-
<caret line="
|
|
807
|
+
<state relative-caret-position="1968">
|
|
808
|
+
<caret line="48" column="64" lean-forward="false" selection-start-line="48" selection-start-column="64" selection-end-line="48" selection-end-column="64" />
|
|
703
809
|
<folding />
|
|
704
810
|
</state>
|
|
705
811
|
</provider>
|
|
706
812
|
</entry>
|
|
707
|
-
<entry file="file://$PROJECT_DIR$/
|
|
813
|
+
<entry file="file://$PROJECT_DIR$/i18n/zh-CN.json">
|
|
708
814
|
<provider selected="true" editor-type-id="text-editor">
|
|
709
|
-
<state relative-caret-position="
|
|
710
|
-
<caret line="
|
|
815
|
+
<state relative-caret-position="943">
|
|
816
|
+
<caret line="23" column="1" lean-forward="false" selection-start-line="23" selection-start-column="1" selection-end-line="23" selection-end-column="1" />
|
|
711
817
|
<folding />
|
|
712
818
|
</state>
|
|
713
819
|
</provider>
|
|
714
820
|
</entry>
|
|
715
|
-
<entry file="file://$PROJECT_DIR$/
|
|
821
|
+
<entry file="file://$PROJECT_DIR$/README-CN.MD">
|
|
716
822
|
<provider selected="true" editor-type-id="text-editor">
|
|
717
|
-
<state relative-caret-position="
|
|
718
|
-
<caret line="
|
|
823
|
+
<state relative-caret-position="868">
|
|
824
|
+
<caret line="51" column="42" lean-forward="false" selection-start-line="51" selection-start-column="42" selection-end-line="51" selection-end-column="42" />
|
|
825
|
+
<folding />
|
|
826
|
+
</state>
|
|
827
|
+
</provider>
|
|
828
|
+
</entry>
|
|
829
|
+
<entry file="file://$PROJECT_DIR$/parts/candidates.js">
|
|
830
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
831
|
+
<state relative-caret-position="41">
|
|
832
|
+
<caret line="43" column="64" lean-forward="false" selection-start-line="43" selection-start-column="64" selection-end-line="43" selection-end-column="64" />
|
|
719
833
|
<folding />
|
|
720
834
|
</state>
|
|
721
835
|
</provider>
|
|
722
836
|
</entry>
|
|
723
837
|
<entry file="file://$PROJECT_DIR$/index.js">
|
|
724
838
|
<provider selected="true" editor-type-id="text-editor">
|
|
725
|
-
<state relative-caret-position="
|
|
726
|
-
<caret line="
|
|
839
|
+
<state relative-caret-position="362">
|
|
840
|
+
<caret line="43" column="64" lean-forward="false" selection-start-line="43" selection-start-column="64" selection-end-line="43" selection-end-column="64" />
|
|
727
841
|
<folding />
|
|
728
842
|
</state>
|
|
729
843
|
</provider>
|
|
730
844
|
</entry>
|
|
731
|
-
<entry file="file://$PROJECT_DIR$/
|
|
845
|
+
<entry file="file://$PROJECT_DIR$/README.MD">
|
|
732
846
|
<provider selected="true" editor-type-id="text-editor">
|
|
733
|
-
<state relative-caret-position="
|
|
734
|
-
<caret line="
|
|
847
|
+
<state relative-caret-position="821">
|
|
848
|
+
<caret line="48" column="80" lean-forward="false" selection-start-line="48" selection-start-column="80" selection-end-line="48" selection-end-column="80" />
|
|
735
849
|
<folding />
|
|
736
850
|
</state>
|
|
737
851
|
</provider>
|
|
738
852
|
</entry>
|
|
739
|
-
<entry file="file://$PROJECT_DIR$/parts/
|
|
853
|
+
<entry file="file://$PROJECT_DIR$/parts/functions.js">
|
|
740
854
|
<provider selected="true" editor-type-id="text-editor">
|
|
741
|
-
<state relative-caret-position="
|
|
742
|
-
<caret line="
|
|
855
|
+
<state relative-caret-position="205">
|
|
856
|
+
<caret line="5" column="0" lean-forward="true" selection-start-line="5" selection-start-column="0" selection-end-line="5" selection-end-column="0" />
|
|
857
|
+
<folding />
|
|
858
|
+
</state>
|
|
859
|
+
</provider>
|
|
860
|
+
</entry>
|
|
861
|
+
<entry file="file://$PROJECT_DIR$/parts/fleet-list.js">
|
|
862
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
863
|
+
<state relative-caret-position="902">
|
|
864
|
+
<caret line="208" column="6" lean-forward="false" selection-start-line="208" selection-start-column="6" selection-end-line="208" selection-end-column="6" />
|
|
743
865
|
<folding />
|
|
744
866
|
</state>
|
|
745
867
|
</provider>
|
package/index.js
CHANGED
|
@@ -41,7 +41,7 @@ var _candidates2 = _interopRequireDefault(_candidates);
|
|
|
41
41
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
42
42
|
|
|
43
43
|
const { i18n, getStore } = window;
|
|
44
|
-
const __ = i18n['poi-plugin-
|
|
44
|
+
const __ = i18n['poi-plugin-milk'].__.bind(i18n['poi-plugin-milk']);
|
|
45
45
|
|
|
46
46
|
const AKASHI_ID = [182, 187]; // akashi and kai ID in $ships
|
|
47
47
|
const SRF_ID = 86; // Ship Repair Facility ID in $slotitems
|
package/package.json
CHANGED
package/parts/candidates.js
CHANGED
|
@@ -41,7 +41,7 @@ var _functions = require('./functions');
|
|
|
41
41
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
42
42
|
|
|
43
43
|
const { i18n } = window;
|
|
44
|
-
const __ = i18n['poi-plugin-
|
|
44
|
+
const __ = i18n['poi-plugin-milk'].__.bind(i18n['poi-plugin-milk']);
|
|
45
45
|
|
|
46
46
|
const sortable = ['HP', 'Akashi Time', 'Per HP'];
|
|
47
47
|
|
package/parts/fleet-list.js
CHANGED
|
@@ -31,7 +31,7 @@ var _shipRow2 = _interopRequireDefault(_shipRow);
|
|
|
31
31
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
32
32
|
|
|
33
33
|
const { i18n } = window;
|
|
34
|
-
const __ = i18n['poi-plugin-
|
|
34
|
+
const __ = i18n['poi-plugin-milk'].__.bind(i18n['poi-plugin-milk']);
|
|
35
35
|
|
|
36
36
|
class FleetList extends _react.Component {
|
|
37
37
|
|
|
@@ -74,6 +74,23 @@ class FleetList extends _react.Component {
|
|
|
74
74
|
}
|
|
75
75
|
break;
|
|
76
76
|
|
|
77
|
+
case '/kcsapi/api_req_hensei/preset_select':
|
|
78
|
+
{
|
|
79
|
+
const { fleet} = this.props;
|
|
80
|
+
|
|
81
|
+
var oldCanRepair = _functions.getCanRepairStatus(fleet);
|
|
82
|
+
|
|
83
|
+
var changeFleetId = parseInt(postBody.api_deck_id, 10);
|
|
84
|
+
if(!Number.isNaN(changeFleetId)&&changeFleetId==this.props.fleet.api_id){
|
|
85
|
+
console.log(fleet);
|
|
86
|
+
var newFleet = getStore('info.fleets')[changeFleetId-1];
|
|
87
|
+
var newCanRepair = _functions.getCanRepairStatus(newFleet);
|
|
88
|
+
console.log(3333333333)
|
|
89
|
+
console.log(oldCanRepair,newCanRepair);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
}
|
|
93
|
+
break;
|
|
77
94
|
case '/kcsapi/api_req_hensei/change':
|
|
78
95
|
{
|
|
79
96
|
|
|
@@ -103,36 +120,39 @@ class FleetList extends _react.Component {
|
|
|
103
120
|
var secondshipa = _lodash2.default.get(newFleet, 'api_ship.1', -1)
|
|
104
121
|
var flagshipid = _ships[flagshipa]?_ships[flagshipa].api_ship_id:-1;
|
|
105
122
|
var secondshipid = _ships[secondshipa]?_ships[secondshipa].api_ship_id:-1;
|
|
106
|
-
if(
|
|
107
|
-
flagshipid==182||flagshipid==187||
|
|
108
|
-
flagshipid==996||flagshipid==1002||
|
|
109
|
-
secondshipid==996||secondshipid==1002
|
|
110
|
-
){
|
|
123
|
+
if(flagshipid==182||flagshipid==187){
|
|
111
124
|
newCanRepair = 1
|
|
125
|
+
}else if (flagshipid==996||secondshipid==996){
|
|
126
|
+
newCanRepair = 2
|
|
127
|
+
}else if (flagshipid==1002||secondshipid==1002){
|
|
128
|
+
newCanRepair = 3
|
|
129
|
+
}else if (flagshipid==182||flagshipid==187&&secondshipid==996){
|
|
130
|
+
newCanRepair = 4
|
|
131
|
+
}else if (flagshipid==182||flagshipid==187&&secondshipid==1002){
|
|
132
|
+
newCanRepair = 5
|
|
133
|
+
}else{
|
|
134
|
+
newCanRepair = 0
|
|
112
135
|
}
|
|
113
136
|
}
|
|
114
|
-
// console.log(3333333333)
|
|
115
|
-
// console.log(fleetId)
|
|
116
|
-
// console.log(fleet)
|
|
117
|
-
// console.log(flagshipid,secondshipid)
|
|
118
|
-
// console.log(newFleet)
|
|
119
|
-
// console.log(newCanRepair)
|
|
120
137
|
if(fleet.canRepair==0&&newCanRepair==0){
|
|
121
138
|
this.setState({
|
|
122
|
-
|
|
123
|
-
// timeElapsed: 0
|
|
139
|
+
lc:newCanRepair
|
|
124
140
|
});
|
|
125
141
|
}else{
|
|
126
142
|
this.setState({
|
|
127
143
|
lastRefresh: Date.now(),
|
|
128
|
-
timeElapsed: 0
|
|
144
|
+
timeElapsed: 0,
|
|
145
|
+
lc:newCanRepair
|
|
129
146
|
});
|
|
130
147
|
}
|
|
131
148
|
} else if (shipId < 0) {
|
|
132
|
-
|
|
149
|
+
this.setState({
|
|
150
|
+
lc:newCanRepair
|
|
151
|
+
});
|
|
133
152
|
} else {
|
|
134
153
|
this.setState({ // since it has passed more than 20 minutes, need to refresh the hp
|
|
135
|
-
lastRefresh: 0
|
|
154
|
+
lastRefresh: 0,
|
|
155
|
+
lc:newCanRepair
|
|
136
156
|
});
|
|
137
157
|
}
|
|
138
158
|
}
|
|
@@ -183,6 +203,10 @@ class FleetList extends _react.Component {
|
|
|
183
203
|
}else if(fleet.canRepair==4||fleet.canRepair==5){
|
|
184
204
|
s1 = '正在修理和喂奶';
|
|
185
205
|
}
|
|
206
|
+
var lc = this.state.lc;
|
|
207
|
+
//console.log(1111111)
|
|
208
|
+
//console.log(lc)
|
|
209
|
+
//console.log(fleet.canRepair)
|
|
186
210
|
|
|
187
211
|
return _react2.default.createElement(
|
|
188
212
|
_reactBootstrap.Grid,
|
|
@@ -250,6 +274,7 @@ class FleetList extends _react.Component {
|
|
|
250
274
|
})
|
|
251
275
|
)
|
|
252
276
|
),
|
|
277
|
+
|
|
253
278
|
_react2.default.createElement(
|
|
254
279
|
_reactBootstrap.Col,
|
|
255
280
|
{ xs: 4, className: 'info-col' },
|
package/parts/functions.js
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var _lodash = require('lodash');
|
|
4
|
+
|
|
5
|
+
var _lodash2 = _interopRequireDefault(_lodash);
|
|
6
|
+
|
|
7
|
+
|
|
3
8
|
Object.defineProperty(exports, "__esModule", {
|
|
4
9
|
value: true
|
|
5
10
|
});
|
|
6
|
-
exports.getCountdownLabelStyle = exports.getHPLabelStyle = exports.repairEstimate = exports.getTimePerHP = exports.timePerHPCalc = exports.akashiEstimate = exports.AKASHI_INTERVAL = undefined;
|
|
11
|
+
exports.getCountdownLabelStyle = exports.getHPLabelStyle = exports.repairEstimate = exports.getTimePerHP = exports.timePerHPCalc = exports.akashiEstimate = exports.AKASHI_INTERVAL = exports.getCanRepairStatus = undefined;
|
|
7
12
|
|
|
8
13
|
var _factor = require('./factor');
|
|
9
14
|
|
|
@@ -87,4 +92,28 @@ const getCountdownLabelStyle = exports.getCountdownLabelStyle = (props, timeRema
|
|
|
87
92
|
default:
|
|
88
93
|
return 'default';
|
|
89
94
|
}
|
|
90
|
-
};
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
const getCanRepairStatus = exports.getCanRepairStatus = function(fleet){
|
|
99
|
+
var flagshipa = _lodash2.default.get(fleet, 'api_ship.0', -1)
|
|
100
|
+
var secondshipa = _lodash2.default.get(fleet, 'api_ship.1', -1)
|
|
101
|
+
var flagshipid = _ships[flagshipa]?_ships[flagshipa].api_ship_id:-1;
|
|
102
|
+
var secondshipid = _ships[secondshipa]?_ships[secondshipa].api_ship_id:-1;
|
|
103
|
+
var newCanRepair = 0;
|
|
104
|
+
if(flagshipid==182||flagshipid==187){
|
|
105
|
+
newCanRepair = 1
|
|
106
|
+
}else if (flagshipid==996||secondshipid==996){
|
|
107
|
+
newCanRepair = 2
|
|
108
|
+
}else if (flagshipid==1002||secondshipid==1002){
|
|
109
|
+
newCanRepair = 3
|
|
110
|
+
}else if (flagshipid==182||flagshipid==187&&secondshipid==996){
|
|
111
|
+
newCanRepair = 4
|
|
112
|
+
}else if (flagshipid==182||flagshipid==187&&secondshipid==1002){
|
|
113
|
+
newCanRepair = 5
|
|
114
|
+
}else{
|
|
115
|
+
newCanRepair = 0
|
|
116
|
+
}
|
|
117
|
+
return newCanRepair
|
|
118
|
+
|
|
119
|
+
}
|