@rxdrag/website-studio 0.0.45 → 0.0.46
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/{cssMode-8a633359.js → cssMode-93ea5c72.js} +2 -2
- package/dist/{cssMode-8a633359.js.map → cssMode-93ea5c72.js.map} +1 -1
- package/dist/{freemarker2-160c0ddc.js → freemarker2-38ffe93b.js} +2 -2
- package/dist/{freemarker2-160c0ddc.js.map → freemarker2-38ffe93b.js.map} +1 -1
- package/dist/{handlebars-b83294de.js → handlebars-03fa2b48.js} +2 -2
- package/dist/{handlebars-b83294de.js.map → handlebars-03fa2b48.js.map} +1 -1
- package/dist/{html-e465efce.js → html-98032dab.js} +2 -2
- package/dist/{html-e465efce.js.map → html-98032dab.js.map} +1 -1
- package/dist/{htmlMode-fed923b3.js → htmlMode-17c79d22.js} +2 -2
- package/dist/{htmlMode-fed923b3.js.map → htmlMode-17c79d22.js.map} +1 -1
- package/dist/{index-6ddf2099.js → index-a36e35b9.js} +25 -26
- package/dist/{index-6ddf2099.js.map → index-a36e35b9.js.map} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{javascript-a1dcfc76.js → javascript-59dea486.js} +3 -3
- package/dist/{javascript-a1dcfc76.js.map → javascript-59dea486.js.map} +1 -1
- package/dist/{jsonMode-92034391.js → jsonMode-e0ecfacb.js} +2 -2
- package/dist/{jsonMode-92034391.js.map → jsonMode-e0ecfacb.js.map} +1 -1
- package/dist/{liquid-8e298ea5.js → liquid-82e66f78.js} +2 -2
- package/dist/{liquid-8e298ea5.js.map → liquid-82e66f78.js.map} +1 -1
- package/dist/{mdx-65c6fe0f.js → mdx-1bea00b6.js} +2 -2
- package/dist/{mdx-65c6fe0f.js.map → mdx-1bea00b6.js.map} +1 -1
- package/dist/{python-55e87814.js → python-cb42d146.js} +2 -2
- package/dist/{python-55e87814.js.map → python-cb42d146.js.map} +1 -1
- package/dist/{razor-34386182.js → razor-88e2f64e.js} +2 -2
- package/dist/{razor-34386182.js.map → razor-88e2f64e.js.map} +1 -1
- package/dist/{tsMode-67ddf297.js → tsMode-7ddadd61.js} +2 -2
- package/dist/{tsMode-67ddf297.js.map → tsMode-7ddadd61.js.map} +1 -1
- package/dist/{typescript-48be5bbc.js → typescript-c6ee2621.js} +2 -2
- package/dist/{typescript-48be5bbc.js.map → typescript-c6ee2621.js.map} +1 -1
- package/dist/{xml-1520dcee.js → xml-366a61e0.js} +2 -2
- package/dist/{xml-1520dcee.js.map → xml-366a61e0.js.map} +1 -1
- package/dist/{yaml-b01c807c.js → yaml-d854ca5f.js} +2 -2
- package/dist/{yaml-b01c807c.js.map → yaml-d854ca5f.js.map} +1 -1
- package/package.json +16 -16
|
@@ -7,7 +7,7 @@ var __publicField = (obj, key2, value) => {
|
|
|
7
7
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i2, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$2, _aa, _ba, _ca, _da, _ea, _fa, _ga, _ha, _ia, _ja, _ka, _la, _ma, _na, _oa, _pa, _qa, _ra, _sa, _ta, _ua, _va, _wa, _xa, _ya, _za, _Aa, _Ba, _Ca, _Da, _Ea, _Fa, _Ga, _Ha, _Ia, _Ja, _Ka, _La, _Ma, _Na, _Oa, _Pa, _Qa, _Ra, _Sa;
|
|
8
8
|
import * as React from "react";
|
|
9
9
|
import React__default, { createContext, useContext, useMemo, memo, useEffect, useCallback, useState, useRef, forwardRef as forwardRef$2, Component, useImperativeHandle, isValidElement, cloneElement } from "react";
|
|
10
|
-
import { ThemeFields, PageQueryOptions, PageFields, FrontComponentQueryOptions, FrontComponentFields, ComponentCategoryFields, SectionTemplateQueryOptions, SectionTemplateFields, ComponentCategoryQueryOptions, TemplateCategoryQueryOptions, TemplateCategoryFields, ThemeQueryOptions, StyleConfigFields, LangFields, ThemeConfigQueryOptions, ThemeConfigFields, PageAssciations, PageType, ProductCategoryEntityName, ProductCategoryQueryOptions, ProductCategoryFields, ProductQueryOptions, ProductFields, PublishableStatus, websiteToInput,
|
|
10
|
+
import { ThemeFields, PageQueryOptions, PageFields, FrontComponentQueryOptions, FrontComponentFields, ComponentCategoryFields, SectionTemplateQueryOptions, SectionTemplateFields, ComponentCategoryQueryOptions, TemplateCategoryQueryOptions, TemplateCategoryFields, ThemeQueryOptions, StyleConfigFields, LangFields, ThemeConfigQueryOptions, ThemeConfigFields, PageAssciations, PageType, ProductCategoryEntityName, ProductCategoryQueryOptions, ProductCategoryFields, ProductQueryOptions, ProductFields, PublishableStatus, websiteToInput, LangQueryOptions, WebsiteAssciations, ExtendFieldType, ThemeConfigAssciations, MediaQueryOptions, WebsiteSettingsQueryOptions, WebsiteSettingsFields, themeConfigToInputCascade, ThemeConfigEntityName, MediaType, themeConfigToInput, websiteSettingsToInput, WebsiteSettingsEntityName, WebsiteSettingsAssciations, PageEntityName, ThemeEntityName, themeToInputCascade, ThemeCategoryFields, themeToInput, frontComponentToInput, sectionTemplateToInput, pageToInputCascade, ComponentCategoryEntityName, SectionTemplateEntityName, FrontComponentEntityName, PageMetaFields, pageToInput, PageMetaAssciations, componentCategoryToInput, TemplateCategoryEntityName, templateCategoryToInput } from "@rxdrag/rxcms-models";
|
|
11
11
|
import { GlobalLoading, EntityForm, SubmitButton, useListData, SearchInput, EntityPagination, useIsLoading, QueryListScope, useRemoveRow, useEditRow, EntityEditModal, useSelectionsState, EntityTable, EntityListScope, NewButton, EntityRowScope, EntitySelectField, useNewRow } from "@rxdrag/rxcms-models-ui";
|
|
12
12
|
import { useOneTheme, usePageList, useTemplateCategoryList, useSectionTemplateList, useComponentCategoryList, useFrontComponentList, useOneThemeById, useUpsertOneWebsite, useDeleteThemeById, useUpsertOneTheme, useLangList, useOneWebsiteSettings, useOneThemeConfig, useUpsertOneThemeConfig, useUpsertOneWebsiteSettings, useUpsertOnePage, useUpsertOneFrontComponent, useUpsertOneSectionTemplate, useDeletePageById } from "@rxdrag/rxcms-model-hooks";
|
|
13
13
|
import { newPageMetaOptions, useWebsite, useCurrentLang, ComponentType, currentLangState, useCurrentLangId, MediaSingleSelectField, FullImageSelectField, useSiteId, usePreviewUrl, LangSelect, TitleAndSlug, TitleViewField, DescriptionViewField, SiteRoot } from "@rxdrag/biz-components";
|
|
@@ -6681,11 +6681,10 @@ function useTranslateTheme() {
|
|
|
6681
6681
|
return;
|
|
6682
6682
|
}
|
|
6683
6683
|
const http = createHttpClient({ baseURL, token });
|
|
6684
|
-
const response = await http.post("/api/translate-theme", {
|
|
6684
|
+
const response = await http.post("/api/studio/translate-theme", {
|
|
6685
6685
|
websiteId: website == null ? void 0 : website.id,
|
|
6686
6686
|
langId,
|
|
6687
|
-
title
|
|
6688
|
-
taskOwnerType: TaskOwner.Studio
|
|
6687
|
+
title
|
|
6689
6688
|
});
|
|
6690
6689
|
console.log("translate response", response);
|
|
6691
6690
|
},
|
|
@@ -138223,7 +138222,7 @@ registerLanguage({
|
|
|
138223
138222
|
aliases: ["FreeMarker2", "Apache FreeMarker2"],
|
|
138224
138223
|
loader: () => {
|
|
138225
138224
|
{
|
|
138226
|
-
return import("./freemarker2-
|
|
138225
|
+
return import("./freemarker2-38ffe93b.js").then((m2) => m2.TagAutoInterpolationDollar);
|
|
138227
138226
|
}
|
|
138228
138227
|
}
|
|
138229
138228
|
});
|
|
@@ -138232,7 +138231,7 @@ registerLanguage({
|
|
|
138232
138231
|
aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
|
|
138233
138232
|
loader: () => {
|
|
138234
138233
|
{
|
|
138235
|
-
return import("./freemarker2-
|
|
138234
|
+
return import("./freemarker2-38ffe93b.js").then((m2) => m2.TagAngleInterpolationDollar);
|
|
138236
138235
|
}
|
|
138237
138236
|
}
|
|
138238
138237
|
});
|
|
@@ -138241,7 +138240,7 @@ registerLanguage({
|
|
|
138241
138240
|
aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
|
|
138242
138241
|
loader: () => {
|
|
138243
138242
|
{
|
|
138244
|
-
return import("./freemarker2-
|
|
138243
|
+
return import("./freemarker2-38ffe93b.js").then((m2) => m2.TagBracketInterpolationDollar);
|
|
138245
138244
|
}
|
|
138246
138245
|
}
|
|
138247
138246
|
});
|
|
@@ -138250,7 +138249,7 @@ registerLanguage({
|
|
|
138250
138249
|
aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
|
|
138251
138250
|
loader: () => {
|
|
138252
138251
|
{
|
|
138253
|
-
return import("./freemarker2-
|
|
138252
|
+
return import("./freemarker2-38ffe93b.js").then((m2) => m2.TagAngleInterpolationBracket);
|
|
138254
138253
|
}
|
|
138255
138254
|
}
|
|
138256
138255
|
});
|
|
@@ -138259,7 +138258,7 @@ registerLanguage({
|
|
|
138259
138258
|
aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
|
|
138260
138259
|
loader: () => {
|
|
138261
138260
|
{
|
|
138262
|
-
return import("./freemarker2-
|
|
138261
|
+
return import("./freemarker2-38ffe93b.js").then((m2) => m2.TagBracketInterpolationBracket);
|
|
138263
138262
|
}
|
|
138264
138263
|
}
|
|
138265
138264
|
});
|
|
@@ -138268,7 +138267,7 @@ registerLanguage({
|
|
|
138268
138267
|
aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
|
|
138269
138268
|
loader: () => {
|
|
138270
138269
|
{
|
|
138271
|
-
return import("./freemarker2-
|
|
138270
|
+
return import("./freemarker2-38ffe93b.js").then((m2) => m2.TagAutoInterpolationDollar);
|
|
138272
138271
|
}
|
|
138273
138272
|
}
|
|
138274
138273
|
});
|
|
@@ -138277,7 +138276,7 @@ registerLanguage({
|
|
|
138277
138276
|
aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
|
|
138278
138277
|
loader: () => {
|
|
138279
138278
|
{
|
|
138280
|
-
return import("./freemarker2-
|
|
138279
|
+
return import("./freemarker2-38ffe93b.js").then((m2) => m2.TagAutoInterpolationBracket);
|
|
138281
138280
|
}
|
|
138282
138281
|
}
|
|
138283
138282
|
});
|
|
@@ -138327,7 +138326,7 @@ registerLanguage({
|
|
|
138327
138326
|
mimetypes: ["text/x-handlebars-template"],
|
|
138328
138327
|
loader: () => {
|
|
138329
138328
|
{
|
|
138330
|
-
return import("./handlebars-
|
|
138329
|
+
return import("./handlebars-03fa2b48.js");
|
|
138331
138330
|
}
|
|
138332
138331
|
}
|
|
138333
138332
|
});
|
|
@@ -138360,7 +138359,7 @@ registerLanguage({
|
|
|
138360
138359
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
138361
138360
|
loader: () => {
|
|
138362
138361
|
{
|
|
138363
|
-
return import("./html-
|
|
138362
|
+
return import("./html-98032dab.js");
|
|
138364
138363
|
}
|
|
138365
138364
|
}
|
|
138366
138365
|
});
|
|
@@ -138413,7 +138412,7 @@ registerLanguage({
|
|
|
138413
138412
|
mimetypes: ["text/javascript"],
|
|
138414
138413
|
loader: () => {
|
|
138415
138414
|
{
|
|
138416
|
-
return import("./javascript-
|
|
138415
|
+
return import("./javascript-59dea486.js");
|
|
138417
138416
|
}
|
|
138418
138417
|
}
|
|
138419
138418
|
});
|
|
@@ -138512,7 +138511,7 @@ registerLanguage({
|
|
|
138512
138511
|
mimetypes: ["application/liquid"],
|
|
138513
138512
|
loader: () => {
|
|
138514
138513
|
{
|
|
138515
|
-
return import("./liquid-
|
|
138514
|
+
return import("./liquid-82e66f78.js");
|
|
138516
138515
|
}
|
|
138517
138516
|
}
|
|
138518
138517
|
});
|
|
@@ -138560,7 +138559,7 @@ registerLanguage({
|
|
|
138560
138559
|
aliases: ["MDX", "mdx"],
|
|
138561
138560
|
loader: () => {
|
|
138562
138561
|
{
|
|
138563
|
-
return import("./mdx-
|
|
138562
|
+
return import("./mdx-1bea00b6.js");
|
|
138564
138563
|
}
|
|
138565
138564
|
}
|
|
138566
138565
|
});
|
|
@@ -138819,7 +138818,7 @@ registerLanguage({
|
|
|
138819
138818
|
firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
|
|
138820
138819
|
loader: () => {
|
|
138821
138820
|
{
|
|
138822
|
-
return import("./python-
|
|
138821
|
+
return import("./python-cb42d146.js");
|
|
138823
138822
|
}
|
|
138824
138823
|
}
|
|
138825
138824
|
});
|
|
@@ -138868,7 +138867,7 @@ registerLanguage({
|
|
|
138868
138867
|
mimetypes: ["text/x-cshtml"],
|
|
138869
138868
|
loader: () => {
|
|
138870
138869
|
{
|
|
138871
|
-
return import("./razor-
|
|
138870
|
+
return import("./razor-88e2f64e.js");
|
|
138872
138871
|
}
|
|
138873
138872
|
}
|
|
138874
138873
|
});
|
|
@@ -139204,7 +139203,7 @@ registerLanguage({
|
|
|
139204
139203
|
mimetypes: ["text/typescript"],
|
|
139205
139204
|
loader: () => {
|
|
139206
139205
|
{
|
|
139207
|
-
return import("./typescript-
|
|
139206
|
+
return import("./typescript-c6ee2621.js");
|
|
139208
139207
|
}
|
|
139209
139208
|
}
|
|
139210
139209
|
});
|
|
@@ -139288,7 +139287,7 @@ registerLanguage({
|
|
|
139288
139287
|
mimetypes: ["text/xml", "application/xml", "application/xaml+xml", "application/xml-dtd"],
|
|
139289
139288
|
loader: () => {
|
|
139290
139289
|
{
|
|
139291
|
-
return import("./xml-
|
|
139290
|
+
return import("./xml-366a61e0.js");
|
|
139292
139291
|
}
|
|
139293
139292
|
}
|
|
139294
139293
|
});
|
|
@@ -139305,7 +139304,7 @@ registerLanguage({
|
|
|
139305
139304
|
mimetypes: ["application/x-yaml", "text/x-yaml"],
|
|
139306
139305
|
loader: () => {
|
|
139307
139306
|
{
|
|
139308
|
-
return import("./yaml-
|
|
139307
|
+
return import("./yaml-d854ca5f.js");
|
|
139309
139308
|
}
|
|
139310
139309
|
}
|
|
139311
139310
|
});
|
|
@@ -139429,7 +139428,7 @@ var lessDefaults = new LanguageServiceDefaultsImpl$3(
|
|
|
139429
139428
|
monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
|
|
139430
139429
|
function getMode$3() {
|
|
139431
139430
|
{
|
|
139432
|
-
return import("./cssMode-
|
|
139431
|
+
return import("./cssMode-93ea5c72.js");
|
|
139433
139432
|
}
|
|
139434
139433
|
}
|
|
139435
139434
|
monaco_editor_core_exports$3.languages.onLanguage("less", () => {
|
|
@@ -139560,7 +139559,7 @@ monaco_editor_core_exports$2.languages.html = {
|
|
|
139560
139559
|
};
|
|
139561
139560
|
function getMode$2() {
|
|
139562
139561
|
{
|
|
139563
|
-
return import("./htmlMode-
|
|
139562
|
+
return import("./htmlMode-17c79d22.js");
|
|
139564
139563
|
}
|
|
139565
139564
|
}
|
|
139566
139565
|
function registerHTMLLanguageService(languageId, options = optionsDefault, modeConfiguration = getConfigurationDefault(languageId)) {
|
|
@@ -139658,7 +139657,7 @@ var getWorker = () => getMode$1().then((mode) => mode.getWorker());
|
|
|
139658
139657
|
monaco_editor_core_exports$1.languages.json = { jsonDefaults, getWorker };
|
|
139659
139658
|
function getMode$1() {
|
|
139660
139659
|
{
|
|
139661
|
-
return import("./jsonMode-
|
|
139660
|
+
return import("./jsonMode-e0ecfacb.js");
|
|
139662
139661
|
}
|
|
139663
139662
|
}
|
|
139664
139663
|
monaco_editor_core_exports$1.languages.register({
|
|
@@ -139934,7 +139933,7 @@ monaco_editor_core_exports.languages.typescript = {
|
|
|
139934
139933
|
};
|
|
139935
139934
|
function getMode() {
|
|
139936
139935
|
{
|
|
139937
|
-
return import("./tsMode-
|
|
139936
|
+
return import("./tsMode-7ddadd61.js");
|
|
139938
139937
|
}
|
|
139939
139938
|
}
|
|
139940
139939
|
monaco_editor_core_exports.languages.onLanguage("typescript", () => {
|
|
@@ -203920,4 +203919,4 @@ export {
|
|
|
203920
203919
|
typescriptDefaults as t,
|
|
203921
203920
|
useCustomizedMaterials as u
|
|
203922
203921
|
};
|
|
203923
|
-
//# sourceMappingURL=index-
|
|
203922
|
+
//# sourceMappingURL=index-a36e35b9.js.map
|