@umbraco-cms/backoffice 14.0.0-d335c2c2 → 14.0.0-e7aa9547

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.
@@ -20,7 +20,7 @@ export const data = [
20
20
  containerId: 'all-properties-group-key',
21
21
  alias: 'richTextEditor',
22
22
  name: 'Rich Text editor',
23
- description: '',
23
+ description: 'Some description to test with a long description.',
24
24
  dataTypeId: 'dt-richTextEditor',
25
25
  variesByCulture: false,
26
26
  variesBySegment: false,
@@ -33,7 +33,8 @@ export const data = [
33
33
  appearance: {
34
34
  labelOnTop: false,
35
35
  },
36
- }, {
36
+ },
37
+ {
37
38
  id: '2',
38
39
  containerId: 'all-properties-group-id',
39
40
  alias: 'colorPicker',
@@ -6,4 +6,9 @@ export const handlers = [
6
6
  // Respond with a 200 status code
7
7
  ctx.status(200), ctx.json({ enabled: true }));
8
8
  }),
9
+ rest.put(umbracoPath('/profiling/status'), (_req, res, ctx) => {
10
+ return res(
11
+ // Respond with a 200 status code
12
+ ctx.status(200));
13
+ }),
9
14
  ];
@@ -237,6 +237,11 @@ export let UmbInputTinyMceElement = class UmbInputTinyMceElement extends FormCon
237
237
  min-height: 100px;
238
238
  }
239
239
 
240
+ .tox-tinymce {
241
+ border-radius: 0;
242
+ border: var(--uui-input-border-width, 1px) solid var(--uui-input-border-color, var(--uui-color-border, #d8d7d9));
243
+ }
244
+
240
245
  .tox-tinymce-aux {
241
246
  z-index: 9000;
242
247
  }
@@ -49,13 +49,13 @@ export let UmbWorkspacePropertyLayoutElement = class UmbWorkspacePropertyLayoutE
49
49
  render() {
50
50
  // TODO: Only show alias on label if user has access to DocumentType within settings:
51
51
  return html `
52
- <div id="header">
52
+ <div id="headerColumn">
53
53
  <uui-label title=${this.alias}>${this.label}</uui-label>
54
54
  <slot name="property-action-menu"></slot>
55
55
  <div id="description">${this.description}</div>
56
56
  <slot name="description"></slot>
57
57
  </div>
58
- <div>
58
+ <div id="editorColumn">
59
59
  <uui-form-validation-message>
60
60
  <slot name="editor"></slot>
61
61
  </uui-form-validation-message>
@@ -74,33 +74,42 @@ export let UmbWorkspacePropertyLayoutElement = class UmbWorkspacePropertyLayoutE
74
74
  container-type: inline-size;
75
75
  }
76
76
 
77
+ :host(:last-of-type) {
78
+ border-bottom: none;
79
+ }
80
+
77
81
  :host > div {
78
82
  grid-column: span 2;
79
83
  }
80
-
81
84
  @container (width > 600px) {
82
85
  :host(:not([orientation='vertical'])) > div {
83
86
  grid-column: span 1;
84
87
  }
85
88
  }
86
89
 
87
- :host(:last-of-type) {
88
- border-bottom: none;
90
+ #headerColumn {
91
+ position: relative;
92
+ height: min-content;
93
+ z-index: 2;
89
94
  }
90
-
91
- :host-context(umb-variantable-property:first-of-type) {
92
- padding-top: 0;
95
+ @container (width > 600px) {
96
+ #headerColumn {
97
+ position: sticky;
98
+ top: calc(var(--uui-size-space-2) * -1);
99
+ }
93
100
  }
94
101
 
95
102
  #description {
96
103
  color: var(--uui-color-text-alt);
97
104
  }
98
105
 
99
- #header {
100
- position: sticky;
101
- top: var(--uui-size-space-4);
102
- height: min-content;
103
- z-index: 2;
106
+ #editorColumn {
107
+ margin-top: var(--uui-size-space-3);
108
+ }
109
+ @container (width > 600px) {
110
+ #editorColumn {
111
+ margin-top: 0;
112
+ }
104
113
  }
105
114
  `,
106
115
  ]; }
@@ -58,6 +58,7 @@ export let UmbDocumentWorkspaceViewEditTabElement = class UmbDocumentWorkspaceVi
58
58
  ? html `
59
59
  <uui-box>
60
60
  <umb-document-workspace-view-edit-properties
61
+ class="properties"
61
62
  container-type="Tab"
62
63
  container-name=${this.tabName || ''}></umb-document-workspace-view-edit-properties>
63
64
  </uui-box>
@@ -65,6 +66,7 @@ export let UmbDocumentWorkspaceViewEditTabElement = class UmbDocumentWorkspaceVi
65
66
  : ''}
66
67
  ${repeat(this._groups, (group) => group.name, (group) => html `<uui-box .headline=${group.name || ''}>
67
68
  <umb-document-workspace-view-edit-properties
69
+ class="properties"
68
70
  container-type="Group"
69
71
  container-name=${group.name || ''}></umb-document-workspace-view-edit-properties>
70
72
  </uui-box>`)}
@@ -73,6 +75,9 @@ export let UmbDocumentWorkspaceViewEditTabElement = class UmbDocumentWorkspaceVi
73
75
  static { this.styles = [
74
76
  UUITextStyles,
75
77
  css `
78
+ uui-box {
79
+ --uui-box-default-padding: 0 var(--uui-size-space-5);
80
+ }
76
81
  uui-box:not(:first-child) {
77
82
  margin-top: var(--uui-size-layout-1);
78
83
  }
@@ -6,7 +6,7 @@ tinymce.addI18n("nb_NO", {
6
6
  "Paste": "Lim inn",
7
7
  "Select all": "Marker alt",
8
8
  "New document": "Nytt dokument",
9
- "Ok": "",
9
+ "Ok": "Ok",
10
10
  "Cancel": "Avbryt",
11
11
  "Visual aids": "Visuelle hjelpemidler",
12
12
  "Bold": "Fet",
@@ -16,11 +16,11 @@ tinymce.addI18n("nb_NO", {
16
16
  "Superscript": "Hevet skrift",
17
17
  "Subscript": "Senket skrift",
18
18
  "Clear formatting": "Fjern formateringer",
19
- "Remove": "",
19
+ "Remove": "Fjern",
20
20
  "Align left": "Venstrejuster",
21
21
  "Align center": "Midtstill",
22
22
  "Align right": "H\xf8yrejuster",
23
- "No alignment": "",
23
+ "No alignment": "Ingen justering",
24
24
  "Justify": "Blokkjuster",
25
25
  "Bullet list": "Punktliste",
26
26
  "Numbered list": "Nummerliste",
@@ -37,22 +37,22 @@ tinymce.addI18n("nb_NO", {
37
37
  "Heading 5": "Overskrift 5",
38
38
  "Heading 6": "Overskrift 6",
39
39
  "Preformatted": "Forh\xe5ndsformatert",
40
- "Div": "",
41
- "Pre": "",
40
+ "Div": "Div",
41
+ "Pre": "Pre",
42
42
  "Code": "Kode",
43
43
  "Paragraph": "Avsnitt",
44
- "Blockquote": "",
44
+ "Blockquote": "Blockquote",
45
45
  "Inline": "Innkapslet",
46
46
  "Blocks": "Blokker",
47
47
  "Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.": "Lim inn er n\xe5 i ren tekst-modus. Kopiert innhold vil bli limt inn som ren tekst inntil du sl\xe5r av dette valget.",
48
48
  "Fonts": "Fonter",
49
- "Font sizes": "",
49
+ "Font sizes": "Font st\xf8rrelse",
50
50
  "Class": "Klasse",
51
51
  "Browse for an image": "S\xf8k etter bilde",
52
- "OR": "",
52
+ "OR": "QR",
53
53
  "Drop an image here": "Slipp et bilde her",
54
54
  "Upload": "Last opp",
55
- "Uploading image": "",
55
+ "Uploading image": "Laster opp bilde",
56
56
  "Block": "Blokk",
57
57
  "Align": "Juster",
58
58
  "Default": "Standard",
@@ -65,14 +65,14 @@ tinymce.addI18n("nb_NO", {
65
65
  "Upper Alpha": "Store bokstaver",
66
66
  "Upper Roman": "Store romertall",
67
67
  "Anchor...": "Lenke",
68
- "Anchor": "",
68
+ "Anchor": "Anker",
69
69
  "Name": "Navn",
70
- "ID": "",
71
- "ID should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.": "",
70
+ "ID": "Id",
71
+ "ID should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.": "ID skal starte med en bokstav, kun etterfulgt av bokstaver, tall, bindestreker, prikker, kolon eller understreker.",
72
72
  "You have unsaved changes are you sure you want to navigate away?": "Du har ikke arkivert endringene. Vil du fortsette uten \xe5 arkivere?",
73
73
  "Restore last draft": "Gjenopprett siste utkast",
74
74
  "Special character...": "Spesialtegn...",
75
- "Special Character": "",
75
+ "Special Character": "Spesial tegn",
76
76
  "Source code": "Kildekode",
77
77
  "Insert/Edit code sample": "Sett inn / endre kodeeksempel",
78
78
  "Language": "Spr\xe5k",
@@ -120,7 +120,7 @@ tinymce.addI18n("nb_NO", {
120
120
  "Date/time": "Dato/tid",
121
121
  "Insert/edit link": "Sett inn / rediger lenke",
122
122
  "Text to display": "Tekst som skal vises",
123
- "Url": "",
123
+ "Url": "Url",
124
124
  "Open link in...": "\xc5pne lenke i..",
125
125
  "Current window": "N\xe5v\xe6rende vindu",
126
126
  "None": "Ingen",
@@ -147,7 +147,7 @@ tinymce.addI18n("nb_NO", {
147
147
  "Page break": "Sideskifte",
148
148
  "Paste as text": "Lim inn som tekst",
149
149
  "Preview": "Forh\xe5ndsvis",
150
- "Print": "",
150
+ "Print": "Utskrift",
151
151
  "Print...": "Skriv ut...",
152
152
  "Save": "Lagre",
153
153
  "Find": "S\xf8k etter",
@@ -176,13 +176,13 @@ tinymce.addI18n("nb_NO", {
176
176
  "Delete row": "Slett rad",
177
177
  "Row properties": "Radegenskaper",
178
178
  "Cut row": "Klipp ut rad",
179
- "Cut column": "",
179
+ "Cut column": "Kutt kolonne",
180
180
  "Copy row": "Kopier rad",
181
- "Copy column": "",
181
+ "Copy column": "Kopier kolonne",
182
182
  "Paste row before": "Lim inn rad f\xf8r",
183
- "Paste column before": "",
183
+ "Paste column before": "Lim inn kolonne f\xf8r",
184
184
  "Paste row after": "Lim inn rad etter",
185
- "Paste column after": "",
185
+ "Paste column after": "Lim inn kolonne etter",
186
186
  "Insert column before": "Sett inn kolonne f\xf8r",
187
187
  "Insert column after": "Sett inn kolonne etter",
188
188
  "Delete column": "Slett kolonne",
@@ -192,13 +192,13 @@ tinymce.addI18n("nb_NO", {
192
192
  "Height": "H\xf8yde",
193
193
  "Cell spacing": "Celleavstand",
194
194
  "Cell padding": "Cellemarg",
195
- "Row clipboard actions": "",
196
- "Column clipboard actions": "",
197
- "Table styles": "",
198
- "Cell styles": "",
199
- "Column header": "",
200
- "Row header": "",
201
- "Table caption": "",
195
+ "Row clipboard actions": "Rad utklippstavle handlinger",
196
+ "Column clipboard actions": "Kolonne utklippstavlehandlinger",
197
+ "Table styles": "Tabell stiler",
198
+ "Cell styles": "Cellestiler",
199
+ "Column header": "Kolonneoverskrift",
200
+ "Row header": "Radoverskrift",
201
+ "Table caption": "Tabelloverskrift",
202
202
  "Caption": "Bildetekst",
203
203
  "Show caption": "Vis bildetekst",
204
204
  "Left": "Venstre",
@@ -207,8 +207,8 @@ tinymce.addI18n("nb_NO", {
207
207
  "Cell type": "Celletype",
208
208
  "Scope": "Omfang",
209
209
  "Alignment": "Justering",
210
- "Horizontal align": "",
211
- "Vertical align": "",
210
+ "Horizontal align": "Horisontal justering",
211
+ "Vertical align": "Vertikal justering",
212
212
  "Top": "Topp",
213
213
  "Middle": "Sentrert",
214
214
  "Bottom": "Bunn",
@@ -216,23 +216,23 @@ tinymce.addI18n("nb_NO", {
216
216
  "Row group": "Radgruppe",
217
217
  "Column group": "Kolonnegruppe",
218
218
  "Row type": "Radtype",
219
- "Header": "",
219
+ "Header": "Overskrift",
220
220
  "Body": "Br\xf8dtekst",
221
221
  "Footer": "Bunntekst",
222
222
  "Border color": "Rammefarge",
223
- "Solid": "",
224
- "Dotted": "",
225
- "Dashed": "",
226
- "Double": "",
227
- "Groove": "",
228
- "Ridge": "",
229
- "Inset": "",
230
- "Outset": "",
231
- "Hidden": "",
223
+ "Solid": "Solid",
224
+ "Dotted": "Stiplet",
225
+ "Dashed": "Stiplet",
226
+ "Double": "Dobbel",
227
+ "Groove": "Rillekant",
228
+ "Ridge": "Ridge",
229
+ "Inset": "Innfelt",
230
+ "Outset": "Utfelt",
231
+ "Hidden": "Skjult",
232
232
  "Insert template...": "Sett inn mal..",
233
233
  "Templates": "Maler",
234
234
  "Template": "Mal",
235
- "Insert Template": "",
235
+ "Insert Template": "Sett inn mal",
236
236
  "Text color": "Tekstfarge",
237
237
  "Background color": "Bakgrunnsfarge",
238
238
  "Custom...": "Tilpasset...",
@@ -252,7 +252,7 @@ tinymce.addI18n("nb_NO", {
252
252
  "Edit": "Rediger",
253
253
  "Insert": "Sett inn",
254
254
  "View": "Vis",
255
- "Format": "",
255
+ "Format": "Format",
256
256
  "Table": "Tabell",
257
257
  "Tools": "Verkt\xf8y",
258
258
  "Powered by {0}": "Drevet av {0}",
@@ -264,7 +264,7 @@ tinymce.addI18n("nb_NO", {
264
264
  "Warn": "Advarsel",
265
265
  "Valid": "Gyldig",
266
266
  "To open the popup, press Shift+Enter": "For \xe5 \xe5pne popup, trykk Shift+Enter",
267
- "Rich Text Area": "",
267
+ "Rich Text Area": "Rik tekst-omr\xe5de",
268
268
  "Rich Text Area. Press ALT-0 for help.": "Rik-tekstomr\xe5de. Trykk ALT-0 for hjelp.",
269
269
  "System Font": "Systemfont",
270
270
  "Failed to upload image: {0}": "Opplasting av bilde feilet: {0}",
@@ -317,10 +317,10 @@ tinymce.addI18n("nb_NO", {
317
317
  "yuan character": "yuan-symbol",
318
318
  "yuan character, in hong kong and taiwan": "yuan-symbol, i Hongkong og Taiwan",
319
319
  "yen/yuan character variant one": "yen/yuan-symbol variant en",
320
- "Emojis": "",
321
- "Emojis...": "",
322
- "Loading emojis...": "",
323
- "Could not load emojis": "",
320
+ "Emojis": "Emojis",
321
+ "Emojis...": "Emojis...",
322
+ "Loading emojis...": "Laster emojis...",
323
+ "Could not load emojis": "Kunne ikke laste inn emojier",
324
324
  "People": "Mennesker",
325
325
  "Animals and Nature": "Dyr og natur",
326
326
  "Food and Drink": "Mat og drikke",
@@ -335,17 +335,17 @@ tinymce.addI18n("nb_NO", {
335
335
  "Error: No form element found.": "Feil: Intet skjemafelt funnet.",
336
336
  "Color swatch": "Fargepalett",
337
337
  "Color Picker": "Fargevelger",
338
- "Invalid hex color code: {0}": "",
339
- "Invalid input": "",
340
- "R": "",
341
- "Red component": "",
342
- "G": "",
343
- "Green component": "",
344
- "B": "",
345
- "Blue component": "",
346
- "#": "",
347
- "Hex color code": "",
348
- "Range 0 to 255": "",
338
+ "Invalid hex color code: {0}": "Ugyldig heksadesimal fargekode: {0}",
339
+ "Invalid input": "Ugyldig inndata",
340
+ "R": "R",
341
+ "Red component": "R\xf8d komponent",
342
+ "G": "G",
343
+ "Green component": "Gr\xf8nn komponent",
344
+ "B": "B",
345
+ "Blue component": "Bl\xe5 komponent",
346
+ "#": "#",
347
+ "Hex color code": "Hex fargekode",
348
+ "Range 0 to 255": "Omr\xe5de 0 til 255",
349
349
  "Turquoise": "Turkis",
350
350
  "Green": "Gr\xf8nn",
351
351
  "Blue": "Bl\xe5",
@@ -397,10 +397,10 @@ tinymce.addI18n("nb_NO", {
397
397
  "List properties...": "Listeegenskaper ...",
398
398
  "Start list at number": "Start liste p\xe5 nummer",
399
399
  "Line height": "Linjeh\xf8yde",
400
- "Dropped file type is not supported": "",
401
- "Loading...": "",
402
- "ImageProxy HTTP error: Rejected request": "",
403
- "ImageProxy HTTP error: Could not find Image Proxy": "",
404
- "ImageProxy HTTP error: Incorrect Image Proxy URL": "",
405
- "ImageProxy HTTP error: Unknown ImageProxy error": ""
400
+ "Dropped file type is not supported": "Filtype st\xf8ttes ikke",
401
+ "Loading...": "Laster...",
402
+ "ImageProxy HTTP error: Rejected request": "ImageProxy HTTP-feil: Avvist foresp\xf8rsel",
403
+ "ImageProxy HTTP error: Could not find Image Proxy": "ImageProxy HTTP-feil: Fant ikke Image Proxy",
404
+ "ImageProxy HTTP error: Incorrect Image Proxy URL": "ImageProxy HTTP-feil: Feil Image Proxy URL",
405
+ "ImageProxy HTTP error: Unknown ImageProxy error": "ImageProxy HTTP-feil: Ukjent ImageProxy-feil"
406
406
  });