@mediafly/js-ui 47.7.3-beta.0 → 47.7.4-beta.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.
|
@@ -383,7 +383,16 @@
|
|
|
383
383
|
</span>
|
|
384
384
|
|
|
385
385
|
<!-- Date picker -->
|
|
386
|
-
<div ng-if="schemaField.type === 'date'" class="c-metadata-form__date-input">
|
|
386
|
+
<div ng-if="schemaField.type === 'date' && !schemaField.required" class="c-metadata-form__date-input">
|
|
387
|
+
<mfly:date-input
|
|
388
|
+
input-id="{{ schemaField.name }}"
|
|
389
|
+
is-disabled="$ctrl.isDisabled || ($ctrl.isBulkEdit && !$ctrl.bulkEnabled[schemaField.name])"
|
|
390
|
+
ng-model="$ctrl.metadata[schemaField.name]"
|
|
391
|
+
on-change="$ctrl.change({ [schemaField.name]: value })">
|
|
392
|
+
</mfly:date-input>
|
|
393
|
+
</div>
|
|
394
|
+
|
|
395
|
+
<div ng-if="schemaField.type === 'date' && schemaField.required" class="c-metadata-form__date-input">
|
|
387
396
|
<mfly:date-input
|
|
388
397
|
input-id="{{ schemaField.name }}"
|
|
389
398
|
is-disabled="$ctrl.isDisabled || ($ctrl.isBulkEdit && !$ctrl.bulkEnabled[schemaField.name])"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mediafly/js-ui",
|
|
3
|
-
"version": "47.7.
|
|
3
|
+
"version": "47.7.4-beta.0",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"description": "UI components for Mediafly Angular applications",
|
|
6
6
|
"repository": {
|
|
@@ -96,6 +96,9 @@
|
|
|
96
96
|
"webpack-merge": "5.4.0",
|
|
97
97
|
"write-file-webpack-plugin": "4.5.1"
|
|
98
98
|
},
|
|
99
|
+
"optionalDependencies": {
|
|
100
|
+
"fsevents": "2.1.2"
|
|
101
|
+
},
|
|
99
102
|
"scripts": {
|
|
100
103
|
"build": "webpack --config webpack.config.js",
|
|
101
104
|
"build-for-release": "npm run clean:lib && npm run ts:deploy && npm run build && node ./tasks/copy-standalone-files",
|
|
@@ -383,7 +383,16 @@
|
|
|
383
383
|
</span>
|
|
384
384
|
|
|
385
385
|
<!-- Date picker -->
|
|
386
|
-
<div ng-if="schemaField.type === 'date'" class="c-metadata-form__date-input">
|
|
386
|
+
<div ng-if="schemaField.type === 'date' && !schemaField.required" class="c-metadata-form__date-input">
|
|
387
|
+
<mfly:date-input
|
|
388
|
+
input-id="{{ schemaField.name }}"
|
|
389
|
+
is-disabled="$ctrl.isDisabled || ($ctrl.isBulkEdit && !$ctrl.bulkEnabled[schemaField.name])"
|
|
390
|
+
ng-model="$ctrl.metadata[schemaField.name]"
|
|
391
|
+
on-change="$ctrl.change({ [schemaField.name]: value })">
|
|
392
|
+
</mfly:date-input>
|
|
393
|
+
</div>
|
|
394
|
+
|
|
395
|
+
<div ng-if="schemaField.type === 'date' && schemaField.required" class="c-metadata-form__date-input">
|
|
387
396
|
<mfly:date-input
|
|
388
397
|
input-id="{{ schemaField.name }}"
|
|
389
398
|
is-disabled="$ctrl.isDisabled || ($ctrl.isBulkEdit && !$ctrl.bulkEnabled[schemaField.name])"
|