toku-form-extensions 1.12.0 → 1.13.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/dist/components/TCustomForm/CustomField.d.ts +2 -0
- package/dist/components/TCustomForm/CustomField.d.ts.map +1 -1
- package/dist/components/TCustomForm/FieldsSection.d.ts +2 -1
- package/dist/components/TCustomForm/FieldsSection.d.ts.map +1 -1
- package/dist/components/TCustomForm/TCustomForm.d.ts +4 -1
- package/dist/components/TCustomForm/TCustomForm.d.ts.map +1 -1
- package/dist/index.es.js +3207 -3142
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +22 -22
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/customFields.d.ts +2 -0
- package/dist/types/customFields.d.ts.map +1 -1
- package/dist/utils/formatters/index.d.ts +1 -0
- package/dist/utils/formatters/index.d.ts.map +1 -1
- package/dist/utils/formatters/number.d.ts +31 -0
- package/dist/utils/formatters/number.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { CustomFieldRegex } from '../../types/customFields';
|
|
3
|
+
import { type ThousandsSeparator } from '../../utils/formatters/number';
|
|
3
4
|
import 'vue-datepicker-next/index.css';
|
|
4
5
|
interface CustomFieldProps {
|
|
5
6
|
id: string;
|
|
@@ -20,6 +21,7 @@ interface CustomFieldProps {
|
|
|
20
21
|
autocomplete?: boolean;
|
|
21
22
|
isExternalId?: boolean;
|
|
22
23
|
touched?: boolean;
|
|
24
|
+
thousandsSeparator?: ThousandsSeparator;
|
|
23
25
|
}
|
|
24
26
|
declare const _default: DefineComponent<__VLS_TypePropsToRuntimeProps<CustomFieldProps>, {
|
|
25
27
|
validate: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TCustomForm/CustomField"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"CustomField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TCustomForm/CustomField"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAKL,KAAK,kBAAkB,EACxB,MAAM,2BAA2B,CAAC;AAKnC,OAAO,+BAA+B,CAAC;AAIvC,UAAU,gBAAgB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;CACzC;;;;;;;;;;;;AA4UD,wBAQG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { CustomCheckBoxField, CustomInputField } from '../../types/customFields';
|
|
2
|
+
import { CustomCheckBoxField, CustomInputField, ThousandsSeparator } from '../../types/customFields';
|
|
3
3
|
import { Account } from '../../types/entities';
|
|
4
4
|
interface FieldSectionsProps {
|
|
5
5
|
fieldsType: 'invoice' | 'customer';
|
|
@@ -9,6 +9,7 @@ interface FieldSectionsProps {
|
|
|
9
9
|
accounts: Account[];
|
|
10
10
|
isMobile?: boolean;
|
|
11
11
|
productIdsCheckboxes?: CustomCheckBoxField[];
|
|
12
|
+
thousandsSeparator?: ThousandsSeparator;
|
|
12
13
|
}
|
|
13
14
|
declare const _default: DefineComponent<__VLS_TypePropsToRuntimeProps<FieldSectionsProps>, {
|
|
14
15
|
validateCustomFields: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldsSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TCustomForm/FieldsSection"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"FieldsSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TCustomForm/FieldsSection"],"names":[],"mappings":"AAGA,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAU3C,UAAU,kBAAkB;IAC1B,UAAU,EAAE,SAAS,GAAG,UAAU,CAAC;IACnC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,MAAM,EAAE,gBAAgB,EAAE,CAAC;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oBAAoB,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC7C,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;CACzC;;;;;;;;;;;;;;;;;;;;;;AAolBD,wBAQG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Account } from '../../types/entities';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
import { CustomCheckBoxField, CustomInputField, FormRequestData, TCustomFormProps } from '../../types/customFields';
|
|
3
|
+
import { ThousandsSeparator, CustomCheckBoxField, CustomInputField, FormRequestData, TCustomFormProps } from '../../types/customFields';
|
|
4
4
|
import '@/assets/scss/main.scss';
|
|
5
5
|
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TCustomFormProps>, {
|
|
6
6
|
customerFields: () => never[];
|
|
@@ -10,6 +10,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
10
10
|
buttonLabel: string;
|
|
11
11
|
layout: string;
|
|
12
12
|
themeColor: string;
|
|
13
|
+
thousandsSeparator: string;
|
|
13
14
|
overlay: () => {
|
|
14
15
|
header: string;
|
|
15
16
|
footer: string;
|
|
@@ -28,6 +29,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
28
29
|
buttonLabel: string;
|
|
29
30
|
layout: string;
|
|
30
31
|
themeColor: string;
|
|
32
|
+
thousandsSeparator: string;
|
|
31
33
|
overlay: () => {
|
|
32
34
|
header: string;
|
|
33
35
|
footer: string;
|
|
@@ -43,6 +45,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
43
45
|
customerFields: CustomInputField[];
|
|
44
46
|
invoiceFields: CustomInputField[];
|
|
45
47
|
buttonLabel: string;
|
|
48
|
+
thousandsSeparator: ThousandsSeparator;
|
|
46
49
|
overlay: {
|
|
47
50
|
header: string;
|
|
48
51
|
footer: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TCustomForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TCustomForm/TCustomForm"],"names":[],"mappings":"AAIA,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EACjB,MAAM,sBAAsB,CAAC;AAkB9B,OAAO,yBAAyB,CAAC
|
|
1
|
+
{"version":3,"file":"TCustomForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TCustomForm/TCustomForm"],"names":[],"mappings":"AAIA,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EACjB,MAAM,sBAAsB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