@bigbinary/neeto-themes-frontend 3.1.22 → 3.1.24

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.
@@ -87,6 +87,11 @@
87
87
  "newThemeName": "My theme"
88
88
  },
89
89
  "customCSS": "Custom CSS",
90
+ "logoPosition": {
91
+ "title": "Logo position",
92
+ "belowLeft": "Below left",
93
+ "overLeft": "Over left"
94
+ },
90
95
  "themeCloned": "Theme has been cloned successfully.",
91
96
  "themeCloneFailed": "Failed to clone theme, please try after some time."
92
97
  }
@@ -0,0 +1,135 @@
1
+ {
2
+ "neetoThemes": {
3
+ "entityType": {
4
+ "quiz": "क्विज़",
5
+ "quiz_other": "क्विज़",
6
+ "form": "फॉर्म",
7
+ "form_other": "फॉर्म्स",
8
+ "meeting": "बैठक",
9
+ "meeting_other": "बैठकें",
10
+ "recording": "रिकॉर्डिंग",
11
+ "recording_other": "रिकॉर्डिंग्स"
12
+ },
13
+ "common": {
14
+ "theme": "थीम",
15
+ "preview": "पूर्वावलोकन",
16
+ "save": "सहेजें",
17
+ "done": "किया",
18
+ "cancel": "रद्द करें",
19
+ "continue": "जारी रखें",
20
+ "retry": "पुनः प्रयास करें",
21
+ "active": "सक्रिय",
22
+ "useTheme": "थीम का उपयोग करें",
23
+ "previewTheme": "थीम का पूर्वावलोकन",
24
+ "activeTheme": "सक्रिय थीम",
25
+ "edit": "संपादित करें",
26
+ "noResultsFound": "कोई परिणाम नहीं मिला!",
27
+ "searchThemes": "थीम खोजें",
28
+ "style": "शैली",
29
+ "images": "छवियाँ",
30
+ "name": "नाम",
31
+ "left": "बाएँ",
32
+ "logo": "लोगो"
33
+ },
34
+ "buttons": {
35
+ "saveChanges": "परिवर्तनों को सहेजें",
36
+ "addNewTheme": "नई थीम जोड़ें",
37
+ "backToThemes": "थीम पर वापस जाएं",
38
+ "backToEdit": "संपादन पर वापस जाएं",
39
+ "save": "सहेजें",
40
+ "reset": "रीसेट करें",
41
+ "applyThisTheme": "इस थीम को लागू करें",
42
+ "expandEditor": "संपादक को विस्तारित करें",
43
+ "minimizeEditor": "संपादक को संकुचित करें"
44
+ },
45
+ "alerts": {
46
+ "title": {
47
+ "deleteTheme": "थीम हटाने की पुष्टि करें"
48
+ },
49
+ "message": {
50
+ "deleteTheme_zero": "आप स्थायी रूप से \"{{name, anyCase}}\" थीम को हटा रहे हैं। क्या आप निश्चित हैं कि आप आगे बढ़ना चाहते हैं?",
51
+ "deleteTheme_one": "आप स्थायी रूप से \"{{name, anyCase}}\" थीम को हटा रहे हैं। यह थीम एक {{entityType}} में उपयोग की जा रही है। इस थीम का उपयोग करने वाली {{entityType, anyCase}} डिफ़ॉल्ट थीम \"{{defaultThemeName, anyCase}}\" पर वापस चले जाएगी। क्या आप निश्चित हैं कि आप आगे बढ़ना चाहते हैं?",
52
+ "deleteTheme_other": "आप स्थायी रूप से \"{{name, anyCase}}\" थीम को हटा रहे हैं। यह थीम {{count}} {{entityType}} में उपयोग की जा रही है। इस थीम का उपयोग करने वाली {{entityType, anyCase}} डिफ़ॉल्ट थीम \"{{defaultThemeName, anyCase}}\" पर वापस चले जाएगी। क्या आप निश्चित हैं कि आप आगे बढ़ना चाहते हैं?"
53
+ }
54
+ },
55
+ "build": {
56
+ "leftSideBar": {
57
+ "headerTabs": {
58
+ "themes": "थीम"
59
+ },
60
+ "helpPopover": {
61
+ "title": "थीम",
62
+ "description": "अपने {{entityType}} को आपके ब्रांड से मेल खाने के लिए व्यक्तिगत बनाएं।"
63
+ },
64
+ "themes": {
65
+ "systemThemes": "सिस्टम थीम",
66
+ "customThemes": "कस्टम थीम",
67
+ "themeOptions": {
68
+ "clone": "कॉपी करें",
69
+ "delete": "हटाएं",
70
+ "setAsGlobalTheme": {
71
+ "label": "वैश्विक थीम के रूप में सेट करें",
72
+ "helpText": "यह सक्षम करने पर, यह थीम डिफ़ॉल्ट थीम के रूप में सेट हो जाएगी, स्वतः लागू होती है सभी आपके भविष्य के {{entityType}} पर। यह थीम उन {{entityType}} पर भी लागू होगी जो पिछले वैश्विक थीम का उपयोग करते थे।",
73
+ "tooltipContent": "यह थीम वर्तमान में वैश्विक थीम के रूप में सेट है। इसे बदलने के लिए दूसरी थीम का चयन करें।"
74
+ }
75
+ },
76
+ "themeCard": {
77
+ "primary": "प्राथमिक",
78
+ "secondary": "द्वितीयक"
79
+ },
80
+ "notAppliedYet": "यह थीम इस {{entityType}} पर <bold>nहीं लागू हुई है</bold>।",
81
+ "editTheme": {
82
+ "title": "थीम संपादित करें",
83
+ "imageUpload": "फाइल को खींचें और छोड़ें या <span>ब्राउज़ करें</span>"
84
+ },
85
+ "createTheme": {
86
+ "title": "नई थीम",
87
+ "newThemeName": "मेरी थीम"
88
+ },
89
+ "customCSS": "कस्टम CSS",
90
+ "themeCloned": "थीम सफलतापूर्वक कॉपी की गई है।",
91
+ "themeCloneFailed": "थीम को कॉपी करने में विफल, कृपया कुछ समय बाद प्रयास करें।"
92
+ }
93
+ }
94
+ },
95
+ "form": {
96
+ "build": {
97
+ "logoPosition": "लोगो की स्थिति",
98
+ "font": "फॉन्ट",
99
+ "left": "बाएँ",
100
+ "connect": "जोड़ें",
101
+ "update": "अपडेट करें",
102
+ "confirmationText": "पुष्टि पाठ",
103
+ "enterConfirmationText": "पुष्टि पाठ दर्ज करें",
104
+ "questions": "सवाल",
105
+ "right": "दाएं",
106
+ "uploadCSV": "CSV अपलोड करें",
107
+ "answerColor": "उत्तर का रंग",
108
+ "buttons": "बटन",
109
+ "allAnswers": "सभी उत्तर",
110
+ "searchSubmissions": "सबमिशन खोजें",
111
+ "buttonBorderRadius": "बटन बॉर्डर त्रिज्या",
112
+ "backgroundColor": "पृष्ठभूमि का रंग",
113
+ "enableContentBackground": "सामग्री पृष्ठभूमि सक्षम करें",
114
+ "contentBackgroundColor": "सामग्री पृष्ठभूमि का रंग",
115
+ "backgroundImage": "पृष्ठभूमि छवि",
116
+ "backgroundOverlay": "पृष्ठभूमि ओवरले",
117
+ "enableDominantBackgroundColor": "प्रमुख<br/> पृष्ठभूमि रंग सक्षम करें",
118
+ "enableDominantBackgroundColorInfo": "इस विकल्प को सक्षम करने से पृष्ठभूमि रंग पृष्ठभूमि छवि से प्रमुख रंग में अपडेट होगा।",
119
+ "thankYouTextAlignment": "धन्यवाद पाठ संरेखण",
120
+ "welcomeTextAlignment": "स्वागत पाठ संरेखण",
121
+ "questionsTextAlignment": "सवाल पाठ संरेखण",
122
+ "addNewElement": "नया तत्व जोड़ें",
123
+ "addOption": "विकल्प जोड़ें",
124
+ "addBulk": "बुल्क जोड़ें",
125
+ "buttonText": "बटन पाठ",
126
+ "buttonUrl": "बटन यूआरएल",
127
+ "bulkOption": {
128
+ "title": "बुल्क में विकल्प जोड़ें",
129
+ "label": "विकल्प दर्ज करें",
130
+ "helpText": "विकल्पों को अल्पविराम या पंक्ति विराम का उपयोग करके अलग करें। <Link>सहायता लेख देखें</Link> अधिक जानकारी के लिए।"
131
+ }
132
+ }
133
+ }
134
+ }
135
+ }
@@ -30,6 +30,7 @@ import { useFormikContext, Field } from 'formik';
30
30
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
31
31
  import Right from '@bigbinary/neeto-icons/Right';
32
32
  import HelpPopover from '@bigbinary/neeto-molecules/HelpPopover';
33
+ import Radio from '@bigbinary/neetoui/formik/Radio';
33
34
  import { t as t$1 } from 'i18next';
34
35
  import CenterAlign from '@bigbinary/neeto-icons/CenterAlign';
35
36
  import LeftAlign from '@bigbinary/neeto-icons/LeftAlign';
@@ -415,6 +416,30 @@ var CustomCSS = function CustomCSS(_ref) {
415
416
  });
416
417
  };
417
418
 
419
+ var LogoPosition = function LogoPosition() {
420
+ var _useTranslation = useTranslation(),
421
+ t = _useTranslation.t;
422
+ var _useFormikContext = useFormikContext(),
423
+ values = _useFormikContext.values;
424
+ var index = findIndexBy({
425
+ key: "logo_position"
426
+ }, values.properties);
427
+ // Do not show this field if the logo_position property is not present.
428
+ if (index === -1) return null;
429
+ return /*#__PURE__*/jsxs(Radio, {
430
+ stacked: true,
431
+ label: t("neetoThemes.build.leftSideBar.themes.logoPosition.title"),
432
+ name: "properties[".concat(index, "].value"),
433
+ children: [/*#__PURE__*/jsx(Radio.Item, {
434
+ label: t("neetoThemes.build.leftSideBar.themes.logoPosition.belowLeft"),
435
+ value: "below_left"
436
+ }), /*#__PURE__*/jsx(Radio.Item, {
437
+ label: t("neetoThemes.build.leftSideBar.themes.logoPosition.overLeft"),
438
+ value: "over_left"
439
+ })]
440
+ });
441
+ };
442
+
418
443
  function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
419
444
  function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
420
445
  var buildInitialValues = function buildInitialValues(theme, themePropertiesSchema) {
@@ -510,6 +535,15 @@ var buildInitialValues = function buildInitialValues(theme, themePropertiesSchem
510
535
  }, order !== null && {
511
536
  order: order
512
537
  });
538
+ case "logo_position":
539
+ return _objectSpread$3({
540
+ value: defaultValue,
541
+ kind: "logo_position",
542
+ key: key,
543
+ dependsOn: dependsOn
544
+ }, order !== null && {
545
+ order: order
546
+ });
513
547
  default:
514
548
  return null;
515
549
  }
@@ -1119,7 +1153,7 @@ var Images = function Images(_ref) {
1119
1153
  }), /*#__PURE__*/jsx(Properties, {
1120
1154
  onPropertiesChange: onPropertiesChange,
1121
1155
  condition: attribute
1122
- })]
1156
+ }), key === "logo" && /*#__PURE__*/jsx(LogoPosition, {})]
1123
1157
  });
1124
1158
  };
1125
1159