<commit_before><link rel="import" href="../../../../../../../../bower_components/polymer/polymer-element.html">

<link rel="import" href="../../../../../../../../bower_components/etools-behaviors/etools-logs-mixin.html">
<link rel="import" href="../../../../../../../../bower_components/etools-behaviors/etools-mixin-factory.html">
<link rel="import" href="../../../../../../../../bower_components/etools-dialog/etools-dialog.html">
<link rel="import" href="../../../../../../../../bower_components/etools-dropdown/etools-dropdown-multi.html">
<link rel="import" href="../../../../../../../../bower_components/etools-upload/etools-upload.html">

<link rel="import" href="../../../../../../validators/required-and-not-future-date-validator.html">
<link rel="import" href="../../../../../../layout/components/etools-date-input.html">

<link rel="import" href="../../../../../../endpoints/endpoints.html">
<link rel="import" href="../../../../../../mixins/event-helper-mixin.html">

<link rel="import" href="../../../../../../styles/shared-styles.html">
<link rel="import" href="../../../../../../styles/grid-layout-styles.html">
<link rel="import" href="../../../../../../styles/file-styles.html">
<link rel="import" href="../../../../../../styles/required-field-styles.html">

<dom-module id="add-ag-amendment-dialog">
  <template>
    <style include="shared-styles grid-layout-styles file-styles required-field-starred-styles">
      :host {
        /* host CSS */
      }
    </style>

    <etools-dialog no-padding
                   keep-dialog-open
                   id="add-ag-amendment"
                   opened="{{opened}}"
                   size="md"
                   hidden$="[[datePickerOpen]]"
                   ok-btn-text="Save"
                   dialog-title="Add Amendment"
                   on-close="_handleDialogClosed"
                   on-confirm-btn-clicked="_validateAndSaveAmendment"
                   disable-confirm-btn="[[uploadInProgress]]"
                   disable-dismiss-btn="[[uploadInProgress]]">

      <div class="row-h flex-c">
        <div class="col col-4">
          <!-- Signed Date -->
          <required-and-not-future-date-validator validator-name="ag_am_signed_date_validator"
                                                  field-selector="#signedDate">
          </required-and-not-future-date-validator>
          <etools-date-input id="signedDate"
                             label="Signed Date"
                             value="{{amendment.signed_date}}"
                             error-message="Please select signed date"
                             no-init show-clear-btn
                             open="{{datePickerOpen}}"
                             validator="ag_am_signed_date_validator"<commit_msg>fixed missing required symbol<commit_after><link rel="import" href="../../../../../../../../bower_components/polymer/polymer-element.html">

<link rel="import" href="../../../../../../../../bower_components/etools-behaviors/etools-logs-mixin.html">
<link rel="import" href="../../../../../../../../bower_components/etools-behaviors/etools-mixin-factory.html">
<link rel="import" href="../../../../../../../../bower_components/etools-dialog/etools-dialog.html">
<link rel="import" href="../../../../../../../../bower_components/etools-dropdown/etools-dropdown-multi.html">
<link rel="import" href="../../../../../../../../bower_components/etools-upload/etools-upload.html">

<link rel="import" href="../../../../../../validators/required-and-not-future-date-validator.html">
<link rel="import" href="../../../../../../layout/components/etools-date-input.html">

<link rel="import" href="../../../../../../endpoints/endpoints.html">
<link rel="import" href="../../../../../../mixins/event-helper-mixin.html">

<link rel="import" href="../../../../../../styles/shared-styles.html">
<link rel="import" href="../../../../../../styles/grid-layout-styles.html">
<link rel="import" href="../../../../../../styles/file-styles.html">
<link rel="import" href="../../../../../../styles/required-field-styles.html">

<dom-module id="add-ag-amendment-dialog">
  <template>
    <style include="shared-styles grid-layout-styles file-styles required-field-starred-styles">
      :host {
        /* host CSS */
      }
    </style>

    <etools-dialog no-padding
                   keep-dialog-open
                   id="add-ag-amendment"
                   opened="{{opened}}"
                   size="md"
                   hidden$="[[datePickerOpen]]"
                   ok-btn-text="Save"
                   dialog-title="Add Amendment"
                   on-close="_handleDialogClosed"
                   on-confirm-btn-clicked="_validateAndSaveAmendment"
                   disable-confirm-btn="[[uploadInProgress]]"
                   disable-dismiss-btn="[[uploadInProgress]]">

      <div class="row-h flex-c">
        <div class="col col-4">
          <!-- Signed Date -->
          <required-and-not-future-date-validator validator-name="ag_am_signed_date_validator"
                                                  field-selector="#signedDate">
          </required-and-not-future-date-validator>
          <etools-date-input id="signedDate"
                             label="Signed Date"
                             value="{{amendment.signed_date}}"
                             error-message="Please select signed date"
                             no-init show-clear-btn
                             required
                             open="{{datePickerOpen}}"
                             validator="ag_am_signed_date_validator"
{'fraction_non_alphanumeric': 0.22942643391521197, 'fraction_numerical': 0.0003562522265764161, 'mean_word_length': 1.6661918328584995, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 51, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '836010', 'n_tokens_mistral': 1500, 'n_tokens_neox': 1415, 'n_words': 189}