@growi/core 3.1.0 → 3.1.1-next.2d441a0a5af12a41bec4a11f7dc263329b5cb45d
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/dist/consts/callout.cjs +2 -0
- package/dist/consts/callout.cjs.map +1 -0
- package/dist/consts/callout.d.ts +8 -0
- package/dist/consts/callout.js +13 -0
- package/dist/consts/callout.js.map +1 -0
- package/dist/consts/index.cjs +1 -1
- package/dist/consts/index.d.ts +1 -0
- package/dist/consts/index.js +13 -11
- package/dist/consts/index.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +57 -55
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"callout.cjs","sources":["../../src/consts/callout.ts"],"sourcesContent":["// Ref: https://github.com/Microflash/remark-callout-directives/blob/fabe4d8adc7738469f253836f0da346591ea2a2b/themes/github/index.js\n// Ref: https://github.com/orgs/community/discussions/16925\n\n/**\n * Callout (admonition) variant names — the single source of truth shared by the\n * renderer (the remark plugin in apps/app `features/callout`) and the editor\n * slash commands (`packages/editor` extended-elements). Adding or removing a\n * variant is a one-line change here that propagates to both.\n */\nexport const AllCallout = [\n 'note',\n 'tip',\n 'important',\n 'info',\n 'warning',\n 'danger',\n 'caution',\n] as const;\nexport type Callout = (typeof AllCallout)[number];\n"],"names":["AllCallout"],"mappings":"gFASO,MAAMA,EAAa,CACxB,OACA,MACA,YACA,OACA,UACA,SACA,SACF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Callout (admonition) variant names — the single source of truth shared by the
|
|
3
|
+
* renderer (the remark plugin in apps/app `features/callout`) and the editor
|
|
4
|
+
* slash commands (`packages/editor` extended-elements). Adding or removing a
|
|
5
|
+
* variant is a one-line change here that propagates to both.
|
|
6
|
+
*/
|
|
7
|
+
export declare const AllCallout: readonly ["note", "tip", "important", "info", "warning", "danger", "caution"];
|
|
8
|
+
export type Callout = (typeof AllCallout)[number];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"callout.js","sources":["../../src/consts/callout.ts"],"sourcesContent":["// Ref: https://github.com/Microflash/remark-callout-directives/blob/fabe4d8adc7738469f253836f0da346591ea2a2b/themes/github/index.js\n// Ref: https://github.com/orgs/community/discussions/16925\n\n/**\n * Callout (admonition) variant names — the single source of truth shared by the\n * renderer (the remark plugin in apps/app `features/callout`) and the editor\n * slash commands (`packages/editor` extended-elements). Adding or removing a\n * variant is a one-line change here that propagates to both.\n */\nexport const AllCallout = [\n 'note',\n 'tip',\n 'important',\n 'info',\n 'warning',\n 'danger',\n 'caution',\n] as const;\nexport type Callout = (typeof AllCallout)[number];\n"],"names":["AllCallout"],"mappings":"AASO,MAAMA,IAAa;AAAA,EACxB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;"}
|
package/dist/consts/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("./accepted-upload-file-type.cjs"),t=require("./callout.cjs"),i=require("./growi-plugin.cjs"),e=require("./renderer.cjs"),o=require("./system.cjs"),r=require("./ydoc-status.cjs");exports.AcceptedUploadFileType=T.AcceptedUploadFileType;exports.AllCallout=t.AllCallout;exports.GrowiPluginType=i.GrowiPluginType;exports.GROWI_IS_CONTENT_RENDERING_ATTR=e.GROWI_IS_CONTENT_RENDERING_ATTR;exports.GROWI_IS_CONTENT_RENDERING_SELECTOR=e.GROWI_IS_CONTENT_RENDERING_SELECTOR;exports.GrowiDeploymentType=o.GrowiDeploymentType;exports.GrowiServiceType=o.GrowiServiceType;exports.YDocStatus=r.YDocStatus;exports.YJS_WEBSOCKET_BASE_PATH=r.YJS_WEBSOCKET_BASE_PATH;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/consts/index.d.ts
CHANGED
package/dist/consts/index.js
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { AcceptedUploadFileType as r } from "./accepted-upload-file-type.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { AllCallout as T } from "./callout.js";
|
|
3
|
+
import { GrowiPluginType as E } from "./growi-plugin.js";
|
|
4
|
+
import { GROWI_IS_CONTENT_RENDERING_ATTR as l, GROWI_IS_CONTENT_RENDERING_SELECTOR as N } from "./renderer.js";
|
|
5
|
+
import { GrowiDeploymentType as S, GrowiServiceType as m } from "./system.js";
|
|
6
|
+
import { YDocStatus as f, YJS_WEBSOCKET_BASE_PATH as i } from "./ydoc-status.js";
|
|
6
7
|
export {
|
|
7
8
|
r as AcceptedUploadFileType,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
T as AllCallout,
|
|
10
|
+
l as GROWI_IS_CONTENT_RENDERING_ATTR,
|
|
11
|
+
N as GROWI_IS_CONTENT_RENDERING_SELECTOR,
|
|
12
|
+
S as GrowiDeploymentType,
|
|
13
|
+
E as GrowiPluginType,
|
|
14
|
+
m as GrowiServiceType,
|
|
15
|
+
f as YDocStatus,
|
|
16
|
+
i as YJS_WEBSOCKET_BASE_PATH
|
|
15
17
|
};
|
|
16
18
|
//# sourceMappingURL=index.js.map
|
package/dist/consts/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("./consts/accepted-upload-file-type.cjs"),c=require("./consts/callout.cjs"),l=require("./consts/growi-plugin.cjs"),r=require("./consts/renderer.cjs"),t=require("./consts/system.cjs"),a=require("./consts/ydoc-status.cjs"),I=require("./interfaces/color-scheme.cjs"),i=require("./interfaces/common.cjs"),s=require("./interfaces/config-manager.cjs"),E=require("./interfaces/growi-app-info.cjs"),g=require("./interfaces/growi-theme-metadata.cjs"),S=require("./interfaces/lang.cjs"),e=require("./interfaces/page.cjs"),o=require("./interfaces/primitive/string.cjs"),p=require("./interfaces/revision.cjs"),n=require("./interfaces/scope.cjs"),u=require("./interfaces/subscription.cjs"),y=require("./interfaces/user.cjs");exports.AcceptedUploadFileType=T.AcceptedUploadFileType;exports.AllCallout=c.AllCallout;exports.GrowiPluginType=l.GrowiPluginType;exports.GROWI_IS_CONTENT_RENDERING_ATTR=r.GROWI_IS_CONTENT_RENDERING_ATTR;exports.GROWI_IS_CONTENT_RENDERING_SELECTOR=r.GROWI_IS_CONTENT_RENDERING_SELECTOR;exports.GrowiDeploymentType=t.GrowiDeploymentType;exports.GrowiServiceType=t.GrowiServiceType;exports.YDocStatus=a.YDocStatus;exports.YJS_WEBSOCKET_BASE_PATH=a.YJS_WEBSOCKET_BASE_PATH;exports.ColorScheme=I.ColorScheme;exports.getIdForRef=i.getIdForRef;exports.getIdStringForRef=i.getIdStringForRef;exports.isPopulated=i.isPopulated;exports.isRef=i.isRef;exports.ConfigSource=s.ConfigSource;exports.defineConfig=s.defineConfig;exports.GrowiWikiType=E.GrowiWikiType;exports.GrowiThemeSchemeType=g.GrowiThemeSchemeType;exports.isGrowiThemeMetadata=g.isGrowiThemeMetadata;exports.AllLang=S.AllLang;exports.Lang=S.Lang;exports.GroupType=e.GroupType;exports.PageGrant=e.PageGrant;exports.PageStatus=e.PageStatus;exports.isIPageInfo=e.isIPageInfo;exports.isIPageInfoForEmpty=e.isIPageInfoForEmpty;exports.isIPageInfoForEntity=e.isIPageInfoForEntity;exports.isIPageInfoForListing=e.isIPageInfoForListing;exports.isIPageInfoForOperation=e.isIPageInfoForOperation;exports.isIPageNotFoundInfo=e.isIPageNotFoundInfo;exports.isNonBlankString=o.isNonBlankString;exports.isNonEmptyString=o.isNonEmptyString;exports.toNonBlankString=o.toNonBlankString;exports.toNonBlankStringOrUndefined=o.toNonBlankStringOrUndefined;exports.toNonEmptyString=o.toNonEmptyString;exports.toNonEmptyStringOrUndefined=o.toNonEmptyStringOrUndefined;exports.Origin=p.Origin;exports.allOrigin=p.allOrigin;exports.ACTION=n.ACTION;exports.ALL_SIGN=n.ALL_SIGN;exports.SCOPE=n.SCOPE;exports.AllSubscriptionStatusType=u.AllSubscriptionStatusType;exports.SubscriptionStatusType=u.SubscriptionStatusType;exports.USER_STATUS=y.USER_STATUS;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
|
@@ -1,63 +1,65 @@
|
|
|
1
1
|
import { AcceptedUploadFileType as e } from "./consts/accepted-upload-file-type.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { AllCallout as i } from "./consts/callout.js";
|
|
3
|
+
import { GrowiPluginType as p } from "./consts/growi-plugin.js";
|
|
4
|
+
import { GROWI_IS_CONTENT_RENDERING_ATTR as S, GROWI_IS_CONTENT_RENDERING_SELECTOR as m } from "./consts/renderer.js";
|
|
5
|
+
import { GrowiDeploymentType as g, GrowiServiceType as T } from "./consts/system.js";
|
|
6
|
+
import { YDocStatus as l, YJS_WEBSOCKET_BASE_PATH as s } from "./consts/ydoc-status.js";
|
|
6
7
|
import { ColorScheme as E } from "./interfaces/color-scheme.js";
|
|
7
|
-
import { getIdForRef as
|
|
8
|
-
import { ConfigSource as
|
|
9
|
-
import { GrowiWikiType as
|
|
10
|
-
import { GrowiThemeSchemeType as c, isGrowiThemeMetadata as
|
|
11
|
-
import { AllLang as
|
|
12
|
-
import { GroupType as
|
|
13
|
-
import { isNonBlankString as
|
|
14
|
-
import { Origin as
|
|
15
|
-
import { ACTION as
|
|
16
|
-
import { AllSubscriptionStatusType as
|
|
17
|
-
import { USER_STATUS as
|
|
8
|
+
import { getIdForRef as y, getIdStringForRef as G, isPopulated as O, isRef as _ } from "./interfaces/common.js";
|
|
9
|
+
import { ConfigSource as u, defineConfig as P } from "./interfaces/config-manager.js";
|
|
10
|
+
import { GrowiWikiType as A } from "./interfaces/growi-app-info.js";
|
|
11
|
+
import { GrowiThemeSchemeType as c, isGrowiThemeMetadata as F } from "./interfaces/growi-theme-metadata.js";
|
|
12
|
+
import { AllLang as L, Lang as B } from "./interfaces/lang.js";
|
|
13
|
+
import { GroupType as h, PageGrant as k, PageStatus as D, isIPageInfo as W, isIPageInfoForEmpty as b, isIPageInfoForEntity as Y, isIPageInfoForListing as v, isIPageInfoForOperation as H, isIPageNotFoundInfo as J } from "./interfaces/page.js";
|
|
14
|
+
import { isNonBlankString as M, isNonEmptyString as j, toNonBlankString as q, toNonBlankStringOrUndefined as z, toNonEmptyString as Q, toNonEmptyStringOrUndefined as V } from "./interfaces/primitive/string.js";
|
|
15
|
+
import { Origin as Z, allOrigin as $ } from "./interfaces/revision.js";
|
|
16
|
+
import { ACTION as ro, ALL_SIGN as eo, SCOPE as to } from "./interfaces/scope.js";
|
|
17
|
+
import { AllSubscriptionStatusType as no, SubscriptionStatusType as po } from "./interfaces/subscription.js";
|
|
18
|
+
import { USER_STATUS as So } from "./interfaces/user.js";
|
|
18
19
|
export {
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
ro as ACTION,
|
|
21
|
+
eo as ALL_SIGN,
|
|
21
22
|
e as AcceptedUploadFileType,
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
i as AllCallout,
|
|
24
|
+
L as AllLang,
|
|
25
|
+
no as AllSubscriptionStatusType,
|
|
24
26
|
E as ColorScheme,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
u as ConfigSource,
|
|
28
|
+
S as GROWI_IS_CONTENT_RENDERING_ATTR,
|
|
29
|
+
m as GROWI_IS_CONTENT_RENDERING_SELECTOR,
|
|
30
|
+
h as GroupType,
|
|
31
|
+
g as GrowiDeploymentType,
|
|
32
|
+
p as GrowiPluginType,
|
|
33
|
+
T as GrowiServiceType,
|
|
32
34
|
c as GrowiThemeSchemeType,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
35
|
+
A as GrowiWikiType,
|
|
36
|
+
B as Lang,
|
|
37
|
+
Z as Origin,
|
|
38
|
+
k as PageGrant,
|
|
39
|
+
D as PageStatus,
|
|
40
|
+
to as SCOPE,
|
|
41
|
+
po as SubscriptionStatusType,
|
|
42
|
+
So as USER_STATUS,
|
|
43
|
+
l as YDocStatus,
|
|
44
|
+
s as YJS_WEBSOCKET_BASE_PATH,
|
|
45
|
+
$ as allOrigin,
|
|
46
|
+
P as defineConfig,
|
|
47
|
+
y as getIdForRef,
|
|
48
|
+
G as getIdStringForRef,
|
|
49
|
+
F as isGrowiThemeMetadata,
|
|
50
|
+
W as isIPageInfo,
|
|
51
|
+
b as isIPageInfoForEmpty,
|
|
52
|
+
Y as isIPageInfoForEntity,
|
|
53
|
+
v as isIPageInfoForListing,
|
|
54
|
+
H as isIPageInfoForOperation,
|
|
55
|
+
J as isIPageNotFoundInfo,
|
|
56
|
+
M as isNonBlankString,
|
|
57
|
+
j as isNonEmptyString,
|
|
58
|
+
O as isPopulated,
|
|
59
|
+
_ as isRef,
|
|
60
|
+
q as toNonBlankString,
|
|
61
|
+
z as toNonBlankStringOrUndefined,
|
|
62
|
+
Q as toNonEmptyString,
|
|
63
|
+
V as toNonEmptyStringOrUndefined
|
|
62
64
|
};
|
|
63
65
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
|