@allthings/structured-ticket-form 7.0.0-dev.2 → 7.0.0-dev.3
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/lib/assets/index.d.ts +1 -1
- package/lib/assets/index.js +1 -1
- package/lib/assets/svg/index.d.ts +1 -1
- package/lib/assets/svg/index.js +1 -1
- package/lib/components/atoms/ErrorMessage.d.ts +1 -1
- package/lib/components/atoms/ErrorMessage.js +1 -1
- package/lib/components/atoms/LanguageSelector.d.ts +1 -1
- package/lib/components/atoms/LanguageSelector.js +3 -3
- package/lib/components/atoms/SchemaHeader.d.ts +1 -1
- package/lib/components/atoms/SchemaHeader.js +2 -2
- package/lib/components/atoms/index.d.ts +3 -3
- package/lib/components/atoms/index.js +3 -3
- package/lib/components/index.d.ts +3 -3
- package/lib/components/index.js +3 -3
- package/lib/components/molecules/CustomForm.d.ts +1 -1
- package/lib/components/molecules/CustomForm.js +1 -1
- package/lib/components/molecules/SchemaEditor.d.ts +1 -1
- package/lib/components/molecules/SchemaEditor.js +3 -3
- package/lib/components/molecules/index.d.ts +2 -2
- package/lib/components/molecules/index.js +2 -2
- package/lib/components/organism/StructuredTicketEditor.d.ts +1 -1
- package/lib/components/organism/StructuredTicketEditor.js +3 -3
- package/lib/components/organism/index.d.ts +1 -1
- package/lib/components/organism/index.js +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/index.js +3 -3
- package/lib/jsonFormUtils.test.js +2 -2
- package/lib/style/index.d.ts +1 -1
- package/lib/style/index.js +1 -1
- package/package.json +2 -2
package/lib/assets/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './svg';
|
|
1
|
+
export * from './svg/index.js';
|
package/lib/assets/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './svg';
|
|
1
|
+
export * from './svg/index.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './VectorIcon';
|
|
1
|
+
export * from './VectorIcon.js';
|
package/lib/assets/svg/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './VectorIcon';
|
|
1
|
+
export * from './VectorIcon.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
2
2
|
/** @jsxImportSource @emotion/react */
|
|
3
3
|
import { css } from '@emotion/react';
|
|
4
|
-
import { colors } from "../../style";
|
|
4
|
+
import { colors } from "../../style/index.js";
|
|
5
5
|
var styles = {
|
|
6
6
|
button: css({
|
|
7
7
|
alignItems: 'center',
|
|
@@ -2,9 +2,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
|
2
2
|
/** @jsxImportSource @emotion/react */
|
|
3
3
|
import { css } from '@emotion/react';
|
|
4
4
|
import React, { useCallback, useRef, useState } from 'react';
|
|
5
|
-
import { VectorIcon } from "../../assets";
|
|
6
|
-
import { useOnClickOutside } from "../../hooks";
|
|
7
|
-
import { colors } from "../../style";
|
|
5
|
+
import { VectorIcon } from "../../assets/index.js";
|
|
6
|
+
import { useOnClickOutside } from "../../hooks/index.js";
|
|
7
|
+
import { colors } from "../../style/index.js";
|
|
8
8
|
var styles = {
|
|
9
9
|
button: function (isActive) {
|
|
10
10
|
return css({
|
|
@@ -2,8 +2,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
|
2
2
|
/** @jsxImportSource @emotion/react */
|
|
3
3
|
import { css } from '@emotion/react';
|
|
4
4
|
import { useCallback } from 'react';
|
|
5
|
-
import { EditorTab } from "../../models";
|
|
6
|
-
import { colors } from "../../style";
|
|
5
|
+
import { EditorTab } from "../../models.js";
|
|
6
|
+
import { colors } from "../../style/index.js";
|
|
7
7
|
var styles = {
|
|
8
8
|
button: function (isActive) {
|
|
9
9
|
return css({
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './ErrorMessage';
|
|
2
|
-
export * from './LanguageSelector';
|
|
3
|
-
export * from './SchemaHeader';
|
|
1
|
+
export * from './ErrorMessage.js';
|
|
2
|
+
export * from './LanguageSelector.js';
|
|
3
|
+
export * from './SchemaHeader.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './ErrorMessage';
|
|
2
|
-
export * from './LanguageSelector';
|
|
3
|
-
export * from './SchemaHeader';
|
|
1
|
+
export * from './ErrorMessage.js';
|
|
2
|
+
export * from './LanguageSelector.js';
|
|
3
|
+
export * from './SchemaHeader.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './atoms';
|
|
2
|
-
export * from './molecules';
|
|
3
|
-
export * from './organism';
|
|
1
|
+
export * from './atoms/index.js';
|
|
2
|
+
export * from './molecules/index.js';
|
|
3
|
+
export * from './organism/index.js';
|
package/lib/components/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './atoms';
|
|
2
|
-
export * from './molecules';
|
|
3
|
-
export * from './organism';
|
|
1
|
+
export * from './atoms/index.js';
|
|
2
|
+
export * from './molecules/index.js';
|
|
3
|
+
export * from './organism/index.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ICustomFormProperties } from "../../models";
|
|
1
|
+
import { ICustomFormProperties } from "../../models.js";
|
|
2
2
|
export declare const CustomForm: (properties: ICustomFormProperties) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -27,7 +27,7 @@ import { createTheme, ThemeProvider } from '@mui/material/styles';
|
|
|
27
27
|
import { withTheme } from '@rjsf/core';
|
|
28
28
|
import { Theme as MaterialUITheme } from '@rjsf/mui';
|
|
29
29
|
import { useEffect, useState } from 'react';
|
|
30
|
-
import { translateSchema } from "../../translator";
|
|
30
|
+
import { translateSchema } from "../../translator.js";
|
|
31
31
|
var styles = {
|
|
32
32
|
formContainer: css({
|
|
33
33
|
display: 'flex',
|
|
@@ -14,9 +14,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
|
14
14
|
import { css } from '@emotion/react';
|
|
15
15
|
import Editor from '@monaco-editor/react';
|
|
16
16
|
import { useEffect, useMemo } from 'react';
|
|
17
|
-
import { SchemaHeader } from "
|
|
18
|
-
import { EditorTab } from "../../models";
|
|
19
|
-
import { colors } from "../../style";
|
|
17
|
+
import { SchemaHeader } from "../index.js";
|
|
18
|
+
import { EditorTab } from "../../models.js";
|
|
19
|
+
import { colors } from "../../style/index.js";
|
|
20
20
|
var styles = {
|
|
21
21
|
container: css({
|
|
22
22
|
display: 'flex',
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './CustomForm';
|
|
2
|
-
export * from './SchemaEditor';
|
|
1
|
+
export * from './CustomForm.js';
|
|
2
|
+
export * from './SchemaEditor.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './CustomForm';
|
|
2
|
-
export * from './SchemaEditor';
|
|
1
|
+
export * from './CustomForm.js';
|
|
2
|
+
export * from './SchemaEditor.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -15,9 +15,9 @@ import { css } from '@emotion/react';
|
|
|
15
15
|
import validator from '@rjsf/validator-ajv8';
|
|
16
16
|
import isEqual from 'lodash/isEqual';
|
|
17
17
|
import { useCallback, useEffect, useMemo, useState } from 'react';
|
|
18
|
-
import { CustomForm, ErrorMessage, LanguageSelector, SchemaEditor, } from "
|
|
19
|
-
import { EditorTab, } from "../../models";
|
|
20
|
-
import { colors } from "../../style/colors";
|
|
18
|
+
import { CustomForm, ErrorMessage, LanguageSelector, SchemaEditor, } from "../index.js";
|
|
19
|
+
import { EditorTab, } from "../../models.js";
|
|
20
|
+
import { colors } from "../../style/colors.js";
|
|
21
21
|
var styles = {
|
|
22
22
|
container: css({
|
|
23
23
|
display: 'flex',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './StructuredTicketEditor';
|
|
1
|
+
export * from './StructuredTicketEditor.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './StructuredTicketEditor';
|
|
1
|
+
export * from './StructuredTicketEditor.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/lib/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './components';
|
|
2
|
-
export * from './jsonFormUtils';
|
|
3
|
-
export * from './models';
|
|
1
|
+
export * from './components/index.js';
|
|
2
|
+
export * from './jsonFormUtils.js';
|
|
3
|
+
export * from './models.js';
|
package/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './components';
|
|
2
|
-
export * from './jsonFormUtils';
|
|
3
|
-
export * from './models';
|
|
1
|
+
export * from './components/index.js';
|
|
2
|
+
export * from './jsonFormUtils.js';
|
|
3
|
+
export * from './models.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getAnswers } from './jsonFormUtils';
|
|
2
|
-
import { translateSchema } from './translator';
|
|
1
|
+
import { getAnswers } from './jsonFormUtils.js';
|
|
2
|
+
import { translateSchema } from './translator.js';
|
|
3
3
|
/* eslint-disable sort-keys */
|
|
4
4
|
var schema = {
|
|
5
5
|
title: 'Smart ticket',
|
package/lib/style/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './colors';
|
|
1
|
+
export * from './colors.js';
|
package/lib/style/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './colors';
|
|
1
|
+
export * from './colors.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allthings/structured-ticket-form",
|
|
3
|
-
"version": "7.0.0-dev.
|
|
3
|
+
"version": "7.0.0-dev.3",
|
|
4
4
|
"description": "Simple component to create and edit jsonSchemaForm with possibility to adding translated fields and custom UISchema.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build:sandbox": "parcel build src/index.html --target sandbox --public-url ./ --no-cache",
|
|
50
50
|
"build:esm": "tspc -p tsconfig.build.esm.json",
|
|
51
|
-
"build": "yarn build:esm",
|
|
51
|
+
"build": "yarn build:esm && node scripts/fix-esm-specifiers.mjs",
|
|
52
52
|
"lint": "eslint 'src/**/*.{js,ts,tsx}'",
|
|
53
53
|
"prebuild": "rimraf lib",
|
|
54
54
|
"prepare": "husky",
|