Skip to content

Commit

Permalink
6
Browse files Browse the repository at this point in the history
  • Loading branch information
Soltus committed Apr 3, 2024
1 parent bbd6e3d commit ed43c27
Show file tree
Hide file tree
Showing 39 changed files with 79 additions and 75 deletions.
8 changes: 4 additions & 4 deletions _lib/cjs/api.cjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
*/
'use strict';

var index$1 = require('../../index-DwfWm5FP.js');
var index$2 = require('../../index-DJnuPu03.js');
var index$3 = require('../../index-BCixm0tE.js');
var index$1 = require('../../index-Bp3ieGQl.js');
var index$2 = require('../../index-7_y6EQwX.js');
var index$3 = require('../../index-BFiG-mfk.js');

// import * as idb from "localforage";
class LimitPromise {
Expand Down
2 changes: 1 addition & 1 deletion _lib/cjs/color.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
2 changes: 1 addition & 1 deletion _lib/cjs/com.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
24 changes: 13 additions & 11 deletions _lib/cjs/core.cjs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
*/
'use strict';

var index = require('../../index-DwfWm5FP.js');
require('../../index-DJnuPu03.js');
var index = require('../../index-Bp3ieGQl.js');
require('../../index-7_y6EQwX.js');
var env = require('./env.cjs');

function addUC() {
Expand Down Expand Up @@ -233,15 +233,17 @@ function tracker(m, ...additionalMessages) {
if (!window.sout.debug)
return;
if (env.isSillotPhoneAppMode()) {
console.log(m);
return;
const fn = new Error().stack.split("\n")[2].trim().split(" ")[1];
console.log(`${fn} -> ${m}`);
}
else {
const t = typeof m === "string" ? "%s" : "%o";
console.log("%c%s%c" + t, "padding: 2px 4px;margin: 2px;background: #CB5831;color: white;border-radius: 2px;font-size: 16px", // #CB5831 能在明暗主题的DevTools均清晰显示超链接的蓝色字体
new Error().stack.split("\n")[2].trim().split(" ")[1], "padding: 2px 4px;color: #1BA1E2;font-size: 16px", m);
additionalMessages.forEach((message) => {
console.log(message);
});
}
const t = typeof m === "string" ? "%s" : "%o";
console.log("%c%s%c" + t, "padding: 2px 4px;margin: 2px;background: #CB5831;color: white;border-radius: 2px;font-size: 16px", // #CB5831 能在明暗主题的DevTools均清晰显示超链接的蓝色字体
(new Error()).stack.split("\n")[2].trim().split(" ")[1], "padding: 2px 4px;color: #1BA1E2;font-size: 16px", m);
additionalMessages.forEach(message => {
console.log(message);
});
}
function unsure(m, head) {
if (env.isSillotPhoneAppMode()) {
Expand Down
2 changes: 1 addition & 1 deletion _lib/cjs/db.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
2 changes: 1 addition & 1 deletion _lib/cjs/env.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
2 changes: 1 addition & 1 deletion _lib/cjs/hook.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
2 changes: 1 addition & 1 deletion _lib/cjs/i18n.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
2 changes: 1 addition & 1 deletion _lib/cjs/im.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
6 changes: 3 additions & 3 deletions _lib/cjs/index.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand All @@ -8,8 +8,8 @@

var com = require('./com.cjs');
var core = require('./core.cjs');
require('../../index-DwfWm5FP.js');
require('../../index-DJnuPu03.js');
require('../../index-Bp3ieGQl.js');
require('../../index-7_y6EQwX.js');
require('./env.cjs');


Expand Down
2 changes: 1 addition & 1 deletion _lib/cjs/init.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
2 changes: 1 addition & 1 deletion _lib/cjs/mid.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
6 changes: 3 additions & 3 deletions _lib/cjs/modul.cjs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
*/
'use strict';

var index$1 = require('../../index-DwfWm5FP.js');
var index = require('../../index-BCixm0tE.js');
var index$1 = require('../../index-Bp3ieGQl.js');
var index = require('../../index-BFiG-mfk.js');

function showDocCreatedDate() {
/** 为打开文档的标题下显示文档创建日期 */
Expand Down
2 changes: 1 addition & 1 deletion _lib/cjs/ref.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
2 changes: 1 addition & 1 deletion _lib/cjs/state.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
2 changes: 1 addition & 1 deletion _lib/cjs/style.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
12 changes: 6 additions & 6 deletions _lib/es/api.mjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
*/
export { C as CopyDOM, b as MoveChildren, M as MoveDOM, a as addinsertCreateElement, c as bodyAC, f as bodyCC, e as bodyRC, d as diguiTooONE, j as eRemoveProperty, h as eSetProperty, g as getActualWidthOfChars, i as insertCreateAfter } from '../../index-DUGlbucO.js';
import { o as openDB, i as isEmptyString } from '../../index-DNWlpXwP.js';
export { A as AddEvent, R as RangeLimitedInt, e as addURLParam, c as compareVersion, g as getThemeMode, b as isEmpty, a as isPromise, d as loadScript, l as loadStyle, m as myRemoveEvent, r as removejscssfile, s as sleep, u as updateStyle } from '../../index-DNWlpXwP.js';
import { p as parseResponse, a as post2Siyuan } from '../../index-DVyBJzXd.js';
export { g as genUUID, i as isMobile, b as isWindow } from '../../index-DVyBJzXd.js';
export { C as CopyDOM, b as MoveChildren, M as MoveDOM, a as addinsertCreateElement, c as bodyAC, f as bodyCC, e as bodyRC, d as diguiTooONE, j as eRemoveProperty, h as eSetProperty, g as getActualWidthOfChars, i as insertCreateAfter } from '../../index-CtFXodK5.js';
import { o as openDB, i as isEmptyString } from '../../index-Ck2Y93SB.js';
export { A as AddEvent, R as RangeLimitedInt, e as addURLParam, c as compareVersion, g as getThemeMode, b as isEmpty, a as isPromise, d as loadScript, l as loadStyle, m as myRemoveEvent, r as removejscssfile, s as sleep, u as updateStyle } from '../../index-Ck2Y93SB.js';
import { p as parseResponse, a as post2Siyuan } from '../../index-B_1kphIr.js';
export { g as genUUID, i as isMobile, b as isWindow } from '../../index-B_1kphIr.js';

// import * as idb from "localforage";
class LimitPromise {
Expand Down
2 changes: 1 addition & 1 deletion _lib/es/color.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
2 changes: 1 addition & 1 deletion _lib/es/com.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
24 changes: 13 additions & 11 deletions _lib/es/core.mjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
*/
import { f as bodyCC, e as bodyRC, c as bodyAC } from '../../index-DUGlbucO.js';
import '../../index-DNWlpXwP.js';
import { f as bodyCC, e as bodyRC, c as bodyAC } from '../../index-CtFXodK5.js';
import '../../index-Ck2Y93SB.js';
import { isSillotPhoneAppMode } from './env.mjs';

function addUC() {
Expand Down Expand Up @@ -231,15 +231,17 @@ function tracker(m, ...additionalMessages) {
if (!window.sout.debug)
return;
if (isSillotPhoneAppMode()) {
console.log(m);
return;
const fn = new Error().stack.split("\n")[2].trim().split(" ")[1];
console.log(`${fn} -> ${m}`);
}
else {
const t = typeof m === "string" ? "%s" : "%o";
console.log("%c%s%c" + t, "padding: 2px 4px;margin: 2px;background: #CB5831;color: white;border-radius: 2px;font-size: 16px", // #CB5831 能在明暗主题的DevTools均清晰显示超链接的蓝色字体
new Error().stack.split("\n")[2].trim().split(" ")[1], "padding: 2px 4px;color: #1BA1E2;font-size: 16px", m);
additionalMessages.forEach((message) => {
console.log(message);
});
}
const t = typeof m === "string" ? "%s" : "%o";
console.log("%c%s%c" + t, "padding: 2px 4px;margin: 2px;background: #CB5831;color: white;border-radius: 2px;font-size: 16px", // #CB5831 能在明暗主题的DevTools均清晰显示超链接的蓝色字体
(new Error()).stack.split("\n")[2].trim().split(" ")[1], "padding: 2px 4px;color: #1BA1E2;font-size: 16px", m);
additionalMessages.forEach(message => {
console.log(message);
});
}
function unsure(m, head) {
if (isSillotPhoneAppMode()) {
Expand Down
2 changes: 1 addition & 1 deletion _lib/es/db.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
2 changes: 1 addition & 1 deletion _lib/es/env.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
2 changes: 1 addition & 1 deletion _lib/es/hook.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
2 changes: 1 addition & 1 deletion _lib/es/i18n.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
2 changes: 1 addition & 1 deletion _lib/es/im.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
6 changes: 3 additions & 3 deletions _lib/es/index.mjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
*/
export { ConfirmDialog1, ConfirmDialog2, ConfirmDialog3, ConfirmDialog4, ConfirmDialog5, ConfirmDialog6, ConfirmDialog7, ConfirmDialog8 } from './com.mjs';
export { mountEnv, mountLocales, sout } from './core.mjs';
import '../../index-DUGlbucO.js';
import '../../index-DNWlpXwP.js';
import '../../index-CtFXodK5.js';
import '../../index-Ck2Y93SB.js';
import './env.mjs';
2 changes: 1 addition & 1 deletion _lib/es/init.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
2 changes: 1 addition & 1 deletion _lib/es/mid.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
6 changes: 3 additions & 3 deletions _lib/es/modul.mjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
*/
import { a as addinsertCreateElement, g as getActualWidthOfChars, i as insertCreateAfter } from '../../index-DUGlbucO.js';
import { i as isMobile } from '../../index-DVyBJzXd.js';
import { a as addinsertCreateElement, g as getActualWidthOfChars, i as insertCreateAfter } from '../../index-CtFXodK5.js';
import { i as isMobile } from '../../index-B_1kphIr.js';

function showDocCreatedDate() {
/** 为打开文档的标题下显示文档创建日期 */
Expand Down
2 changes: 1 addition & 1 deletion _lib/es/ref.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
2 changes: 1 addition & 1 deletion _lib/es/state.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
2 changes: 1 addition & 1 deletion _lib/es/style.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
2 changes: 1 addition & 1 deletion index-DJnuPu03.js → index-7_y6EQwX.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
2 changes: 1 addition & 1 deletion index-BCixm0tE.js → index-BFiG-mfk.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
2 changes: 1 addition & 1 deletion index-DVyBJzXd.js → index-B_1kphIr.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
2 changes: 1 addition & 1 deletion index-DwfWm5FP.js → index-Bp3ieGQl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
2 changes: 1 addition & 1 deletion index-DNWlpXwP.js → index-Ck2Y93SB.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
2 changes: 1 addition & 1 deletion index-DUGlbucO.js → index-CtFXodK5.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sofill v1.1.6
* sofill v1.1.7
* https://github.com/Hi-Windom/Sofill
* https://www.npmjs.com/package/sofill
* https://jsr.io/@sisi/sofill
Expand Down
Loading

0 comments on commit ed43c27

Please sign in to comment.