@roottale/cms-renderer-next 0.61.0 → 0.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/dist/chunk-L3I4W5NP.js +16 -0
- package/dist/chunk-L3I4W5NP.js.map +1 -0
- package/dist/chunk-SEPUIKVM.js +922 -0
- package/dist/chunk-SEPUIKVM.js.map +1 -0
- package/dist/chunk-UIBT23RJ.js +3 -0
- package/dist/chunk-UIBT23RJ.js.map +1 -0
- package/dist/cms-public.css +111 -13
- package/dist/exposure-client.d.ts +4 -9
- package/dist/exposure-client.js +5 -3
- package/dist/exposures.d.ts +51 -0
- package/dist/exposures.js +17 -0
- package/dist/exposures.js.map +1 -0
- package/dist/routes.d.ts +20 -1
- package/dist/routes.js +41 -2
- package/dist/routes.js.map +1 -1
- package/dist/server.js +6 -4
- package/dist/server.js.map +1 -1
- package/package.json +11 -4
- package/dist/chunk-GVKENK6H.js +0 -75
- package/dist/chunk-GVKENK6H.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @roottale/cms-renderer-next
|
|
2
2
|
|
|
3
|
+
## 0.62.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 083fc47: 팝업·배너의 예약 시작과 종료를 사이트 재배포 없이 반영하는 공통 runtime과 Next.js 조회 경로를 제공합니다. 공개본과 수정안을 분리하고 일정 변경·일시 중지·예약 취소를 관리 API, MCP, CLI에서 지원합니다. 신규 고객 스타터와 기존 사이트에서 같은 표시 계약을 사용합니다. 메인 홈 전용 자동 캐러셀, 다음 슬라이드까지의 진행률, 모바일 스와이프·스크롤 반응과 쿠키 숨김을 지원합니다.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [083fc47]
|
|
12
|
+
- @roottale/cms-client@0.62.0
|
|
13
|
+
- @roottale/cms-core@0.62.0
|
|
14
|
+
|
|
15
|
+
## 0.61.1
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
- @roottale/cms-core@0.61.1
|
|
21
|
+
- @roottale/cms-client@0.61.1
|
|
22
|
+
|
|
3
23
|
## 0.61.0
|
|
4
24
|
|
|
5
25
|
### Minor Changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// src/exposure-home.ts
|
|
2
|
+
function exposureHomePaths(paths = ["/"]) {
|
|
3
|
+
if (!paths.length || paths.length > 20 || paths.some((path) => !path.startsWith("/") || path.startsWith("//") || /[\u0000-\u0020\u007f\\?#*]/.test(path))) {
|
|
4
|
+
throw new Error("Exposure home paths must be explicit local paths");
|
|
5
|
+
}
|
|
6
|
+
return [...new Set(paths.map((path) => path === "/" ? path : path.replace(/\/$/, "")))];
|
|
7
|
+
}
|
|
8
|
+
function isExposureHome(path, homes) {
|
|
9
|
+
return homes.includes(path === "/" ? path : path.replace(/\/$/, ""));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
exposureHomePaths,
|
|
14
|
+
isExposureHome
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=chunk-L3I4W5NP.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/exposure-home.ts"],"sourcesContent":["/** 홈 경로는 제작 코드에 명시한 exact 경로만 인정한다. */\nexport function exposureHomePaths(paths: readonly string[] = [\"/\"]): readonly string[] {\n if (!paths.length || paths.length > 20 || paths.some((path) => !path.startsWith(\"/\") || path.startsWith(\"//\") || /[\\u0000-\\u0020\\u007f\\\\?#*]/.test(path))) {\n throw new Error(\"Exposure home paths must be explicit local paths\");\n }\n return [...new Set(paths.map((path) => path === \"/\" ? path : path.replace(/\\/$/, \"\")))];\n}\n\nexport function isExposureHome(path: string, homes: readonly string[]): boolean {\n return homes.includes(path === \"/\" ? path : path.replace(/\\/$/, \"\"));\n}\n"],"mappings":";AACO,SAAS,kBAAkB,QAA2B,CAAC,GAAG,GAAsB;AACrF,MAAI,CAAC,MAAM,UAAU,MAAM,SAAS,MAAM,MAAM,KAAK,CAAC,SAAS,CAAC,KAAK,WAAW,GAAG,KAAK,KAAK,WAAW,IAAI,KAAK,6BAA6B,KAAK,IAAI,CAAC,GAAG;AACzJ,UAAM,IAAI,MAAM,kDAAkD;AAAA,EACpE;AACA,SAAO,CAAC,GAAG,IAAI,IAAI,MAAM,IAAI,CAAC,SAAS,SAAS,MAAM,OAAO,KAAK,QAAQ,OAAO,EAAE,CAAC,CAAC,CAAC;AACxF;AAEO,SAAS,eAAe,MAAc,OAAmC;AAC9E,SAAO,MAAM,SAAS,SAAS,MAAM,OAAO,KAAK,QAAQ,OAAO,EAAE,CAAC;AACrE;","names":[]}
|