@streamline-pulse/formkrafter-wc 0.3.0 → 0.4.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/README.md +10 -8
- package/dist/components/fk-brick-actions.js +1 -1
- package/dist/components/fk-brick-list.js +1 -1
- package/dist/components/fk-brick-mold-item.js +1 -1
- package/dist/components/fk-brick-render.js +1 -1
- package/dist/components/fk-code-editor.js +1 -1
- package/dist/components/fk-data-grid.js +1 -1
- package/dist/components/fk-drop-area.js +1 -1
- package/dist/components/fk-empty-form.js +1 -1
- package/dist/components/fk-file-input.js +1 -1
- package/dist/components/fk-form-builder.js +1 -1
- package/dist/components/fk-form-render.js +1 -1
- package/dist/components/fk-property-panel.js +1 -1
- package/dist/components/fk-rules-editor.js +1 -1
- package/dist/components/fk-select-input.js +1 -1
- package/dist/components/fk-signature-input.js +1 -1
- package/dist/components/fk-stepper.js +1 -1
- package/dist/components/fk-tabs.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-CKMHMpID.js → p-28GBFlUX.js} +4 -4
- package/dist/components/{p-D6n74M9d.js → p-BGxmFcpL.js} +1 -1
- package/dist/components/{p-DYchD23x.js → p-BInUBjyw.js} +1 -1
- package/dist/{formkrafter-wc/p-C-wnqV3i.js → components/p-BietHxaT.js} +1 -1
- package/dist/components/{p-fDJP6whN.js → p-BnzSarwW.js} +1 -1
- package/dist/components/p-BpkKcCCr.js +1 -0
- package/dist/components/p-C0Y8qh8R.js +1 -0
- package/dist/components/p-C5OWoRhO.js +1 -0
- package/dist/components/{p-wuC5rVU7.js → p-CKs1CWVz.js} +1 -1
- package/dist/components/{p-v7LxwCAc.js → p-CZHykCYD.js} +1 -1
- package/dist/components/{p-4COASNrZ.js → p-CehxuHtl.js} +1 -1
- package/dist/components/p-CqVSd56Z.js +1 -0
- package/dist/components/p-CyZA17qf.js +1 -0
- package/dist/components/{p-BGkZP87K.js → p-D4HhZxQ-.js} +1 -1
- package/dist/components/p-DC6Wxbnz.js +1 -0
- package/dist/components/p-DRNycSdI.js +1 -0
- package/dist/components/{p--vL6GR31.js → p-Dh5Z49YD.js} +1 -1
- package/dist/components/p-DiOstAi9.js +1 -0
- package/dist/components/p-DlqnIm46.js +1 -0
- package/dist/components/{p-CIfjRTky.js → p-DshUS8Zm.js} +1 -1
- package/dist/components/{p-DMCkrZqi.js → p-RzeBwfwG.js} +1 -1
- package/dist/components/{p-BWdm2a6q.js → p-ajy8ZcBX.js} +1 -1
- package/dist/components/p-kYG3E0GQ.js +1 -0
- package/dist/components/p-tTJg_I4V.js +1 -0
- package/dist/formkrafter-wc/formkrafter-wc.css +1 -1
- package/dist/formkrafter-wc/formkrafter-wc.esm.js +1 -1
- package/dist/formkrafter-wc/index.esm.js +1 -1
- package/dist/formkrafter-wc/p-3579150a.entry.js +1 -0
- package/dist/formkrafter-wc/p-8b0ff66e.entry.js +1 -0
- package/dist/formkrafter-wc/p-BHZMDq2e.js +1 -0
- package/dist/{components/p-C-wnqV3i.js → formkrafter-wc/p-BietHxaT.js} +1 -1
- package/dist/formkrafter-wc/p-C0Y8qh8R.js +1 -0
- package/dist/formkrafter-wc/{p-4COASNrZ.js → p-CehxuHtl.js} +1 -1
- package/dist/formkrafter-wc/p-DlqnIm46.js +1 -0
- package/dist/formkrafter-wc/{p-DMCkrZqi.js → p-RzeBwfwG.js} +1 -1
- package/dist/formkrafter-wc/p-WWmY5Z05.js +1 -0
- package/dist/formkrafter-wc/p-hcT25XX4.js +12 -0
- package/dist/types/components/fk-code-editor/fk-code-editor.d.ts +1 -0
- package/dist/types/components/fk-data-grid/fk-data-grid.d.ts +1 -0
- package/dist/types/components/fk-drop-area/fk-drop-area.d.ts +1 -0
- package/dist/types/components/fk-form-render/fk-form-render.d.ts +7 -1
- package/dist/types/components.d.ts +17 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/registry/default-bricks.d.ts +36 -0
- package/dist/types/utils/mask.d.ts +1 -0
- package/package.json +10 -15
- package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -5
- package/dist/cjs/fk-brick-actions_18.cjs.entry.js +0 -4224
- package/dist/cjs/formkrafter-wc.cjs.js +0 -25
- package/dist/cjs/index-Bhy1RJMV.js +0 -3042
- package/dist/cjs/index-CImTe9BG.js +0 -2126
- package/dist/cjs/index-CdaT3-qx.js +0 -5444
- package/dist/cjs/index-CkPPRg03.js +0 -17548
- package/dist/cjs/index-DHgK3reD.js +0 -12233
- package/dist/cjs/index-Ds0sDbXV.js +0 -4019
- package/dist/cjs/index-c9BL7y3N.js +0 -1922
- package/dist/cjs/index.cjs.js +0 -48
- package/dist/cjs/loader.cjs.js +0 -13
- package/dist/collection/collection-manifest.json +0 -30
- package/dist/collection/components/fk-brick-actions/fk-brick-actions.css +0 -78
- package/dist/collection/components/fk-brick-actions/fk-brick-actions.js +0 -215
- package/dist/collection/components/fk-brick-list/fk-brick-list.css +0 -71
- package/dist/collection/components/fk-brick-list/fk-brick-list.js +0 -55
- package/dist/collection/components/fk-brick-mold-item/fk-brick-mold-item.css +0 -33
- package/dist/collection/components/fk-brick-mold-item/fk-brick-mold-item.js +0 -73
- package/dist/collection/components/fk-brick-not-found/fk-brick-not-found.css +0 -8
- package/dist/collection/components/fk-brick-not-found/fk-brick-not-found.js +0 -18
- package/dist/collection/components/fk-brick-render/fk-brick-render.js +0 -447
- package/dist/collection/components/fk-code-editor/fk-code-editor.css +0 -26
- package/dist/collection/components/fk-code-editor/fk-code-editor.js +0 -145
- package/dist/collection/components/fk-data-grid/fk-data-grid.css +0 -75
- package/dist/collection/components/fk-data-grid/fk-data-grid.js +0 -300
- package/dist/collection/components/fk-drop-area/fk-drop-area.css +0 -18
- package/dist/collection/components/fk-drop-area/fk-drop-area.js +0 -98
- package/dist/collection/components/fk-empty-form/fk-empty-form.css +0 -22
- package/dist/collection/components/fk-empty-form/fk-empty-form.js +0 -19
- package/dist/collection/components/fk-file-input/fk-file-input.css +0 -95
- package/dist/collection/components/fk-file-input/fk-file-input.js +0 -239
- package/dist/collection/components/fk-form-builder/fk-form-builder.css +0 -112
- package/dist/collection/components/fk-form-builder/fk-form-builder.js +0 -431
- package/dist/collection/components/fk-form-render/fk-form-render.css +0 -7
- package/dist/collection/components/fk-form-render/fk-form-render.js +0 -352
- package/dist/collection/components/fk-property-panel/fk-property-panel.css +0 -153
- package/dist/collection/components/fk-property-panel/fk-property-panel.js +0 -388
- package/dist/collection/components/fk-rules-editor/fk-rules-editor.css +0 -166
- package/dist/collection/components/fk-rules-editor/fk-rules-editor.js +0 -250
- package/dist/collection/components/fk-select-input/fk-select-input.css +0 -153
- package/dist/collection/components/fk-select-input/fk-select-input.js +0 -454
- package/dist/collection/components/fk-signature-input/fk-signature-input.css +0 -42
- package/dist/collection/components/fk-signature-input/fk-signature-input.js +0 -158
- package/dist/collection/components/fk-stepper/fk-stepper.css +0 -99
- package/dist/collection/components/fk-stepper/fk-stepper.js +0 -285
- package/dist/collection/components/fk-tabs/fk-tabs.css +0 -38
- package/dist/collection/components/fk-tabs/fk-tabs.js +0 -249
- package/dist/collection/i18n/i18n.js +0 -265
- package/dist/collection/index.js +0 -5
- package/dist/collection/registry/create-brick.js +0 -34
- package/dist/collection/registry/default-bricks.js +0 -564
- package/dist/collection/registry/registry.js +0 -44
- package/dist/collection/utils/brick-data.js +0 -16
- package/dist/collection/utils/drop.js +0 -14
- package/dist/collection/utils/events.js +0 -1
- package/dist/collection/utils/options.js +0 -21
- package/dist/collection/utils/remote.js +0 -27
- package/dist/collection/utils/rule-condition.js +0 -72
- package/dist/collection/utils/style.js +0 -11
- package/dist/components/p-BOmBVgfJ.js +0 -1
- package/dist/components/p-B_-x-GlA.js +0 -1
- package/dist/components/p-Br1s4Ujx.js +0 -1
- package/dist/components/p-CUF31e-P.js +0 -1
- package/dist/components/p-CWQX0sXS.js +0 -1
- package/dist/components/p-DFe3zZCI.js +0 -1
- package/dist/components/p-DOInQkG6.js +0 -1
- package/dist/components/p-PAr7WoWG.js +0 -1
- package/dist/components/p-YyGnQmX-.js +0 -1
- package/dist/components/p-swxZqinH.js +0 -1
- package/dist/esm/app-globals-DQuL1Twl.js +0 -3
- package/dist/esm/fk-brick-actions_18.entry.js +0 -4205
- package/dist/esm/formkrafter-wc.js +0 -21
- package/dist/esm/index-BAcz7b5u.js +0 -5416
- package/dist/esm/index-BkRMoLXK.js +0 -3029
- package/dist/esm/index-CGMDfZ5m.js +0 -1808
- package/dist/esm/index-D7Cta1UB.js +0 -17488
- package/dist/esm/index-DtcM1yw5.js +0 -3991
- package/dist/esm/index-DuVf3NlP.js +0 -12222
- package/dist/esm/index-qLZlXROB.js +0 -2117
- package/dist/esm/index.js +0 -2
- package/dist/esm/loader.js +0 -11
- package/dist/formkrafter-wc/p-6d29555b.entry.js +0 -1
- package/dist/formkrafter-wc/p-DOInQkG6.js +0 -1
- package/dist/formkrafter-wc/p-Ddu6BquK.js +0 -12
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/stencil.config.js +0 -34
- package/loader/cdn.js +0 -1
- package/loader/index.cjs.js +0 -1
- package/loader/index.d.ts +0 -24
- package/loader/index.es2017.js +0 -1
- package/loader/index.js +0 -2
|
@@ -1,265 +0,0 @@
|
|
|
1
|
-
var _a;
|
|
2
|
-
const en = {
|
|
3
|
-
'palette.search': 'Search bricks…',
|
|
4
|
-
'palette.empty': 'No brick matches “{query}”',
|
|
5
|
-
'builder.undo': 'Undo',
|
|
6
|
-
'builder.redo': 'Redo',
|
|
7
|
-
'builder.copyJson': 'Copy JSON',
|
|
8
|
-
'builder.importJson': 'Import JSON',
|
|
9
|
-
'builder.importInvalid': 'Invalid form JSON',
|
|
10
|
-
'builder.pasteHint': 'Press Ctrl+V to paste a spec',
|
|
11
|
-
'builder.copied': 'Copied!',
|
|
12
|
-
'builder.downloadJson': 'Download .json',
|
|
13
|
-
'builder.hint': 'Select a brick to edit its properties',
|
|
14
|
-
'drop.hint': 'Drop a brick here',
|
|
15
|
-
'empty.title': 'Your form is empty',
|
|
16
|
-
'empty.hint': 'Drag a brick from the palette to get started',
|
|
17
|
-
'actions.move': 'Move',
|
|
18
|
-
'actions.duplicate': 'Duplicate',
|
|
19
|
-
'actions.delete': 'Delete',
|
|
20
|
-
'stepper.back': '← Back',
|
|
21
|
-
'stepper.next': 'Next →',
|
|
22
|
-
'stepper.submit': 'Submit',
|
|
23
|
-
'panel.cfg.validateSteps': 'Validate each step',
|
|
24
|
-
'panel.cfg.allowStepClick': 'Allow clicking steps to jump',
|
|
25
|
-
'panel.cfg.showSubmit': 'Submit button on last step',
|
|
26
|
-
'panel.cfg.validateTabs': 'Validate tab before leaving it',
|
|
27
|
-
'signature.clear': 'Clear',
|
|
28
|
-
'panel.tab.config': 'Config',
|
|
29
|
-
'panel.tab.validation': 'Validation',
|
|
30
|
-
'panel.tab.styles': 'Styles',
|
|
31
|
-
'panel.tab.rules': 'Rules',
|
|
32
|
-
'panel.key': 'Key',
|
|
33
|
-
'panel.label': 'Label',
|
|
34
|
-
'panel.placeholder': 'Placeholder',
|
|
35
|
-
'panel.prefix': 'Prefix',
|
|
36
|
-
'panel.suffix': 'Suffix',
|
|
37
|
-
'panel.accept': 'Accepted file types',
|
|
38
|
-
'panel.uploadUrl': 'Upload URL',
|
|
39
|
-
'panel.cfg.multiple': 'Allow multiple files',
|
|
40
|
-
'panel.optionsSource': 'Options source',
|
|
41
|
-
'panel.options': 'Options (one per line)',
|
|
42
|
-
'panel.content': 'Content',
|
|
43
|
-
'panel.dataKey': 'Data key',
|
|
44
|
-
'panel.url': 'URL',
|
|
45
|
-
'panel.headers': 'Headers ({token} reads form data)',
|
|
46
|
-
'panel.searchParam': 'Server search param',
|
|
47
|
-
'panel.labelKey': 'Label key',
|
|
48
|
-
'panel.valueKey': 'Value key',
|
|
49
|
-
'panel.errorMessage': 'Error message',
|
|
50
|
-
'panel.required': 'Required',
|
|
51
|
-
'panel.minLength': 'Min length',
|
|
52
|
-
'panel.maxLength': 'Max length',
|
|
53
|
-
'panel.min': 'Min',
|
|
54
|
-
'panel.max': 'Max',
|
|
55
|
-
'panel.pattern': 'Pattern (regex)',
|
|
56
|
-
'panel.minItems': 'Min items',
|
|
57
|
-
'panel.maxItems': 'Max items',
|
|
58
|
-
'panel.emailFormat': 'Email format',
|
|
59
|
-
'panel.urlFormat': 'URL format',
|
|
60
|
-
'panel.custom': 'Custom (JavaScript)',
|
|
61
|
-
'panel.fallbackMessage': 'Fallback message',
|
|
62
|
-
'panel.styleProperty': 'property',
|
|
63
|
-
'panel.styleValue': 'value',
|
|
64
|
-
'file.choose': 'Choose a file…',
|
|
65
|
-
'file.uploading': 'Uploading…',
|
|
66
|
-
'file.remove': 'Remove file',
|
|
67
|
-
'file.addAnother': '+ Add a file',
|
|
68
|
-
'address.street': 'Street',
|
|
69
|
-
'address.city': 'City',
|
|
70
|
-
'address.zip': 'Postal code',
|
|
71
|
-
'address.country': 'Country',
|
|
72
|
-
'grid.addRow': '+ Add row',
|
|
73
|
-
'grid.removeRow': 'Remove row',
|
|
74
|
-
'grid.empty': 'No rows yet',
|
|
75
|
-
'grid.columns': 'Row template',
|
|
76
|
-
'select.search': 'Search…',
|
|
77
|
-
'select.empty': 'No options',
|
|
78
|
-
'select.clear': 'Clear',
|
|
79
|
-
'rules.when': 'When',
|
|
80
|
-
'rules.then': 'Then',
|
|
81
|
-
'rules.addRule': '+ Add rule',
|
|
82
|
-
'rules.addEffect': '+ Effect',
|
|
83
|
-
'rules.removeRule': 'Remove rule',
|
|
84
|
-
'rules.removeEffect': 'Remove effect',
|
|
85
|
-
'rules.mode.simple': 'simple',
|
|
86
|
-
'rules.mode.json': 'json',
|
|
87
|
-
'rules.mode.js': 'JS',
|
|
88
|
-
'category.Inputs': 'Inputs',
|
|
89
|
-
'category.Layout': 'Layout',
|
|
90
|
-
'category.Data': 'Data',
|
|
91
|
-
'brick.text.name': 'Text',
|
|
92
|
-
'brick.email.name': 'Email',
|
|
93
|
-
'brick.password.name': 'Password',
|
|
94
|
-
'brick.url.name': 'URL',
|
|
95
|
-
'brick.phone.name': 'Phone',
|
|
96
|
-
'brick.textarea.name': 'Text area',
|
|
97
|
-
'brick.number.name': 'Number',
|
|
98
|
-
'brick.date.name': 'Date',
|
|
99
|
-
'brick.time.name': 'Time',
|
|
100
|
-
'brick.datetime.name': 'Date / Time',
|
|
101
|
-
'brick.select.name': 'Select',
|
|
102
|
-
'brick.multi-select.name': 'Multi select',
|
|
103
|
-
'brick.radio.name': 'Radio',
|
|
104
|
-
'brick.select-boxes.name': 'Select boxes',
|
|
105
|
-
'brick.checkbox.name': 'Checkbox',
|
|
106
|
-
'brick.tags.name': 'Tags',
|
|
107
|
-
'brick.signature.name': 'Signature',
|
|
108
|
-
'brick.data-grid.name': 'Data grid',
|
|
109
|
-
'brick.address.name': 'Address',
|
|
110
|
-
'brick.file.name': 'File',
|
|
111
|
-
'brick.hidden.name': 'Hidden',
|
|
112
|
-
'brick.content.name': 'Content',
|
|
113
|
-
'brick.recap.name': 'Recap',
|
|
114
|
-
'recap.empty': 'Nothing to summarize yet.',
|
|
115
|
-
'recap.yes': 'Yes',
|
|
116
|
-
'recap.no': 'No',
|
|
117
|
-
'panel.cfg.showEmpty': 'Show empty fields',
|
|
118
|
-
'panel.cfg.groupBySections': 'Group by section',
|
|
119
|
-
'brick.group.name': 'Group',
|
|
120
|
-
'brick.row.name': 'Row',
|
|
121
|
-
'brick.column.name': 'Column',
|
|
122
|
-
'brick.stepper.name': 'Stepper',
|
|
123
|
-
'brick.tabs.name': 'Tabs',
|
|
124
|
-
};
|
|
125
|
-
export const frFkTranslations = {
|
|
126
|
-
'palette.search': 'Rechercher une brique…',
|
|
127
|
-
'palette.empty': 'Aucune brique ne correspond à « {query} »',
|
|
128
|
-
'builder.undo': 'Annuler',
|
|
129
|
-
'builder.redo': 'Rétablir',
|
|
130
|
-
'builder.copyJson': 'Copier le JSON',
|
|
131
|
-
'builder.importJson': 'Importer le JSON',
|
|
132
|
-
'builder.importInvalid': 'JSON de formulaire invalide',
|
|
133
|
-
'builder.pasteHint': 'Collez avec Ctrl+V pour importer une spec',
|
|
134
|
-
'builder.copied': 'Copié !',
|
|
135
|
-
'builder.downloadJson': 'Télécharger le .json',
|
|
136
|
-
'builder.hint': 'Sélectionnez une brique pour éditer ses propriétés',
|
|
137
|
-
'drop.hint': 'Déposez une brique ici',
|
|
138
|
-
'empty.title': 'Votre formulaire est vide',
|
|
139
|
-
'empty.hint': 'Glissez une brique depuis la palette pour commencer',
|
|
140
|
-
'actions.move': 'Déplacer',
|
|
141
|
-
'actions.duplicate': 'Dupliquer',
|
|
142
|
-
'actions.delete': 'Supprimer',
|
|
143
|
-
'stepper.back': '← Précédent',
|
|
144
|
-
'stepper.next': 'Suivant →',
|
|
145
|
-
'stepper.submit': 'Envoyer',
|
|
146
|
-
'panel.cfg.validateSteps': 'Valider chaque étape',
|
|
147
|
-
'panel.cfg.allowStepClick': 'Autoriser le saut d’étapes au clic',
|
|
148
|
-
'panel.cfg.showSubmit': 'Bouton d’envoi à la dernière étape',
|
|
149
|
-
'panel.cfg.validateTabs': 'Valider l’onglet avant de le quitter',
|
|
150
|
-
'signature.clear': 'Effacer',
|
|
151
|
-
'panel.tab.config': 'Config',
|
|
152
|
-
'panel.tab.validation': 'Validation',
|
|
153
|
-
'panel.tab.styles': 'Styles',
|
|
154
|
-
'panel.tab.rules': 'Règles',
|
|
155
|
-
'panel.key': 'Clé',
|
|
156
|
-
'panel.label': 'Libellé',
|
|
157
|
-
'panel.placeholder': 'Placeholder',
|
|
158
|
-
'panel.prefix': 'Préfixe',
|
|
159
|
-
'panel.suffix': 'Suffixe',
|
|
160
|
-
'panel.accept': 'Types de fichiers acceptés',
|
|
161
|
-
'panel.uploadUrl': "URL d'upload",
|
|
162
|
-
'panel.cfg.multiple': 'Autoriser plusieurs fichiers',
|
|
163
|
-
'panel.optionsSource': 'Source des options',
|
|
164
|
-
'panel.options': 'Options (une par ligne)',
|
|
165
|
-
'panel.content': 'Contenu',
|
|
166
|
-
'panel.dataKey': 'Clé de données',
|
|
167
|
-
'panel.url': 'URL',
|
|
168
|
-
'panel.headers': 'En-têtes ({token} lit les données du formulaire)',
|
|
169
|
-
'panel.searchParam': 'Paramètre de recherche serveur',
|
|
170
|
-
'panel.labelKey': 'Clé du libellé',
|
|
171
|
-
'panel.valueKey': 'Clé de la valeur',
|
|
172
|
-
'panel.errorMessage': "Message d'erreur",
|
|
173
|
-
'panel.required': 'Obligatoire',
|
|
174
|
-
'panel.minLength': 'Longueur min',
|
|
175
|
-
'panel.maxLength': 'Longueur max',
|
|
176
|
-
'panel.min': 'Min',
|
|
177
|
-
'panel.max': 'Max',
|
|
178
|
-
'panel.pattern': 'Motif (regex)',
|
|
179
|
-
'panel.minItems': 'Éléments min',
|
|
180
|
-
'panel.maxItems': 'Éléments max',
|
|
181
|
-
'panel.emailFormat': 'Format email',
|
|
182
|
-
'panel.urlFormat': 'Format URL',
|
|
183
|
-
'panel.custom': 'Personnalisé (JavaScript)',
|
|
184
|
-
'panel.fallbackMessage': 'Message par défaut',
|
|
185
|
-
'panel.styleProperty': 'propriété',
|
|
186
|
-
'panel.styleValue': 'valeur',
|
|
187
|
-
'file.choose': 'Choisir un fichier…',
|
|
188
|
-
'file.uploading': 'Envoi en cours…',
|
|
189
|
-
'file.remove': 'Retirer le fichier',
|
|
190
|
-
'file.addAnother': '+ Ajouter un fichier',
|
|
191
|
-
'address.street': 'Rue',
|
|
192
|
-
'address.city': 'Ville',
|
|
193
|
-
'address.zip': 'Code postal',
|
|
194
|
-
'address.country': 'Pays',
|
|
195
|
-
'grid.addRow': '+ Ajouter une ligne',
|
|
196
|
-
'grid.removeRow': 'Supprimer la ligne',
|
|
197
|
-
'grid.empty': 'Aucune ligne',
|
|
198
|
-
'grid.columns': 'Modèle de ligne',
|
|
199
|
-
'select.search': 'Rechercher…',
|
|
200
|
-
'select.empty': 'Aucune option',
|
|
201
|
-
'select.clear': 'Effacer',
|
|
202
|
-
'rules.when': 'Quand',
|
|
203
|
-
'rules.then': 'Alors',
|
|
204
|
-
'rules.addRule': '+ Ajouter une règle',
|
|
205
|
-
'rules.addEffect': '+ Effet',
|
|
206
|
-
'rules.removeRule': 'Supprimer la règle',
|
|
207
|
-
'rules.removeEffect': "Supprimer l'effet",
|
|
208
|
-
'rules.mode.simple': 'simple',
|
|
209
|
-
'rules.mode.json': 'json',
|
|
210
|
-
'rules.mode.js': 'JS',
|
|
211
|
-
'category.Inputs': 'Champs',
|
|
212
|
-
'category.Layout': 'Mise en page',
|
|
213
|
-
'category.Data': 'Données',
|
|
214
|
-
'brick.text.name': 'Texte',
|
|
215
|
-
'brick.email.name': 'Email',
|
|
216
|
-
'brick.password.name': 'Mot de passe',
|
|
217
|
-
'brick.url.name': 'URL',
|
|
218
|
-
'brick.phone.name': 'Téléphone',
|
|
219
|
-
'brick.textarea.name': 'Zone de texte',
|
|
220
|
-
'brick.number.name': 'Nombre',
|
|
221
|
-
'brick.date.name': 'Date',
|
|
222
|
-
'brick.time.name': 'Heure',
|
|
223
|
-
'brick.datetime.name': 'Date / Heure',
|
|
224
|
-
'brick.select.name': 'Liste déroulante',
|
|
225
|
-
'brick.multi-select.name': 'Sélection multiple',
|
|
226
|
-
'brick.radio.name': 'Boutons radio',
|
|
227
|
-
'brick.select-boxes.name': 'Cases à cocher',
|
|
228
|
-
'brick.checkbox.name': 'Case à cocher',
|
|
229
|
-
'brick.tags.name': 'Étiquettes',
|
|
230
|
-
'brick.signature.name': 'Signature',
|
|
231
|
-
'brick.data-grid.name': 'Grille de données',
|
|
232
|
-
'brick.address.name': 'Adresse',
|
|
233
|
-
'brick.file.name': 'Fichier',
|
|
234
|
-
'brick.hidden.name': 'Caché',
|
|
235
|
-
'brick.content.name': 'Contenu',
|
|
236
|
-
'brick.recap.name': 'Récapitulatif',
|
|
237
|
-
'recap.empty': 'Rien à récapituler pour le moment.',
|
|
238
|
-
'recap.yes': 'Oui',
|
|
239
|
-
'recap.no': 'Non',
|
|
240
|
-
'panel.cfg.showEmpty': 'Afficher les champs vides',
|
|
241
|
-
'panel.cfg.groupBySections': 'Regrouper par section',
|
|
242
|
-
'brick.group.name': 'Groupe',
|
|
243
|
-
'brick.row.name': 'Ligne',
|
|
244
|
-
'brick.column.name': 'Colonne',
|
|
245
|
-
'brick.stepper.name': 'Étapes',
|
|
246
|
-
'brick.tabs.name': 'Onglets',
|
|
247
|
-
};
|
|
248
|
-
const GLOBAL_KEY = Symbol.for('formkrafter.wc.i18n');
|
|
249
|
-
const globalStore = globalThis;
|
|
250
|
-
const state = ((_a = globalStore[GLOBAL_KEY]) !== null && _a !== void 0 ? _a : (globalStore[GLOBAL_KEY] = { current: Object.assign({}, en) }));
|
|
251
|
-
export function setFkTranslations(overrides = {}) {
|
|
252
|
-
state.current = Object.assign(Object.assign({}, en), overrides);
|
|
253
|
-
}
|
|
254
|
-
export function fkT(key, params) {
|
|
255
|
-
var _a;
|
|
256
|
-
let text = (_a = state.current[key]) !== null && _a !== void 0 ? _a : key;
|
|
257
|
-
for (const [name, value] of Object.entries(params !== null && params !== void 0 ? params : {})) {
|
|
258
|
-
text = text.replace(`{${name}}`, String(value));
|
|
259
|
-
}
|
|
260
|
-
return text;
|
|
261
|
-
}
|
|
262
|
-
export function fkTOr(key, fallback) {
|
|
263
|
-
var _a;
|
|
264
|
-
return (_a = state.current[key]) !== null && _a !== void 0 ? _a : fallback;
|
|
265
|
-
}
|
package/dist/collection/index.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { h } from '@stencil/core';
|
|
2
|
-
export { registerBrick, registerBricks, getBrick, getBrickMolds, getBrickMoldsGroupedByCategory, newBrickSpec, } from './registry/registry';
|
|
3
|
-
export { createBrick } from './registry/create-brick';
|
|
4
|
-
export { registerDefaultBricks, textInputBrick, emailBrick, passwordBrick, urlBrick, phoneBrick, textareaBrick, numberBrick, dateBrick, timeBrick, datetimeBrick, selectBrick, multiSelectBrick, radioBrick, selectBoxesBrick, checkboxBrick, tagsBrick, signatureBrick, addressBrick, fileBrick, dataGridBrick, hiddenBrick, contentBrick, recapBrick, groupBrick, rowBrick, columnBrick, stepperBrick, tabsBrick, } from './registry/default-bricks';
|
|
5
|
-
export { setFkTranslations, fkT, fkTOr, frFkTranslations } from './i18n/i18n';
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Brick } from "@streamline-pulse/formkrafter-core";
|
|
2
|
-
export function createBrick(params) {
|
|
3
|
-
return new (class extends Brick {
|
|
4
|
-
constructor() {
|
|
5
|
-
var _a;
|
|
6
|
-
super({
|
|
7
|
-
type: params.type,
|
|
8
|
-
dataType: params.dataType,
|
|
9
|
-
id: params.id,
|
|
10
|
-
name: params.name,
|
|
11
|
-
category: params.category,
|
|
12
|
-
configsForm: params.configsForm,
|
|
13
|
-
styles: (_a = params.styles) !== null && _a !== void 0 ? _a : {},
|
|
14
|
-
validators: params.validators,
|
|
15
|
-
unWrapData: params.unWrapData,
|
|
16
|
-
isPrivate: params.isPrivate,
|
|
17
|
-
defaultConfigs: params.defaultConfigs,
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
render(props) {
|
|
21
|
-
return params.render(props);
|
|
22
|
-
}
|
|
23
|
-
renderBuilder(props) {
|
|
24
|
-
var _a;
|
|
25
|
-
return ((_a = params.renderBuilder) !== null && _a !== void 0 ? _a : params.render)(props);
|
|
26
|
-
}
|
|
27
|
-
getComponent(props) {
|
|
28
|
-
return this.render(props);
|
|
29
|
-
}
|
|
30
|
-
getComponentWithActions(props) {
|
|
31
|
-
return this.renderBuilder(props);
|
|
32
|
-
}
|
|
33
|
-
})();
|
|
34
|
-
}
|