Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
search-page
Commits
409c94b4
Commit
409c94b4
authored
Jan 06, 2021
by
baesangjune
Browse files
rm node_modules
parent
df52aea8
Changes
741
Show whitespace changes
Inline
Side-by-side
Too many changes to show.
To preserve performance only
741 of 741+
files are displayed.
Plain diff
Email patch
node_modules/@popperjs/core/lib/utils/getFreshSideObject.js.flow
deleted
100644 → 0
View file @
df52aea8
// @flow
import type { SideObject } from '../types';
export default function getFreshSideObject(): SideObject {
return {
top: 0,
right: 0,
bottom: 0,
left: 0,
};
}
node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.d.ts
deleted
100644 → 0
View file @
df52aea8
import
{
Placement
}
from
"
../enums
"
;
export
default
function
getMainAxisFromPlacement
(
placement
:
Placement
):
"
x
"
|
"
y
"
;
node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js
deleted
100644 → 0
View file @
df52aea8
export
default
function
getMainAxisFromPlacement
(
placement
)
{
return
[
'
top
'
,
'
bottom
'
].
indexOf
(
placement
)
>=
0
?
'
x
'
:
'
y
'
;
}
\ No newline at end of file
node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js.flow
deleted
100644 → 0
View file @
df52aea8
// @flow
import type { Placement } from '../enums';
export default function getMainAxisFromPlacement(
placement: Placement
): 'x' | 'y' {
return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
}
node_modules/@popperjs/core/lib/utils/getOppositePlacement.d.ts
deleted
100644 → 0
View file @
df52aea8
import
{
Placement
}
from
"
../enums
"
;
export
default
function
getOppositePlacement
(
placement
:
Placement
):
Placement
;
node_modules/@popperjs/core/lib/utils/getOppositePlacement.js
deleted
100644 → 0
View file @
df52aea8
var
hash
=
{
left
:
'
right
'
,
right
:
'
left
'
,
bottom
:
'
top
'
,
top
:
'
bottom
'
};
export
default
function
getOppositePlacement
(
placement
)
{
return
placement
.
replace
(
/left|right|bottom|top/g
,
function
(
matched
)
{
return
hash
[
matched
];
});
}
\ No newline at end of file
node_modules/@popperjs/core/lib/utils/getOppositePlacement.js.flow
deleted
100644 → 0
View file @
df52aea8
// @flow
import type { Placement } from '../enums';
const hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' };
export default function getOppositePlacement(placement: Placement): Placement {
return (placement.replace(
/left|right|bottom|top/g,
matched => hash[matched]
): any);
}
node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.d.ts
deleted
100644 → 0
View file @
df52aea8
import
{
Placement
}
from
"
../enums
"
;
export
default
function
getOppositeVariationPlacement
(
placement
:
Placement
):
Placement
;
node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js
deleted
100644 → 0
View file @
df52aea8
var
hash
=
{
start
:
'
end
'
,
end
:
'
start
'
};
export
default
function
getOppositeVariationPlacement
(
placement
)
{
return
placement
.
replace
(
/start|end/g
,
function
(
matched
)
{
return
hash
[
matched
];
});
}
\ No newline at end of file
node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js.flow
deleted
100644 → 0
View file @
df52aea8
// @flow
import type { Placement } from '../enums';
const hash = { start: 'end', end: 'start' };
export default function getOppositeVariationPlacement(
placement: Placement
): Placement {
return (placement.replace(/start|end/g, matched => hash[matched]): any);
}
node_modules/@popperjs/core/lib/utils/getVariation.d.ts
deleted
100644 → 0
View file @
df52aea8
import
{
Variation
,
Placement
}
from
"
../enums
"
;
export
default
function
getVariation
(
placement
:
Placement
):
Variation
|
null
|
undefined
;
node_modules/@popperjs/core/lib/utils/getVariation.js
deleted
100644 → 0
View file @
df52aea8
export
default
function
getVariation
(
placement
)
{
return
placement
.
split
(
'
-
'
)[
1
];
}
\ No newline at end of file
node_modules/@popperjs/core/lib/utils/getVariation.js.flow
deleted
100644 → 0
View file @
df52aea8
// @flow
import { type Variation, type Placement } from '../enums';
export default function getVariation(placement: Placement): ?Variation {
return (placement.split('-')[1]: any);
}
node_modules/@popperjs/core/lib/utils/mergeByName.d.ts
deleted
100644 → 0
View file @
df52aea8
import
{
Modifier
}
from
"
../types
"
;
export
default
function
mergeByName
(
modifiers
:
Array
<
Partial
<
Modifier
<
any
,
any
>>>
):
Array
<
Partial
<
Modifier
<
any
,
any
>>>
;
node_modules/@popperjs/core/lib/utils/mergeByName.js
deleted
100644 → 0
View file @
df52aea8
export
default
function
mergeByName
(
modifiers
)
{
var
merged
=
modifiers
.
reduce
(
function
(
merged
,
current
)
{
var
existing
=
merged
[
current
.
name
];
merged
[
current
.
name
]
=
existing
?
Object
.
assign
(
Object
.
assign
(
Object
.
assign
({},
existing
),
current
),
{},
{
options
:
Object
.
assign
(
Object
.
assign
({},
existing
.
options
),
current
.
options
),
data
:
Object
.
assign
(
Object
.
assign
({},
existing
.
data
),
current
.
data
)
})
:
current
;
return
merged
;
},
{});
// IE11 does not support Object.values
return
Object
.
keys
(
merged
).
map
(
function
(
key
)
{
return
merged
[
key
];
});
}
\ No newline at end of file
node_modules/@popperjs/core/lib/utils/mergeByName.js.flow
deleted
100644 → 0
View file @
df52aea8
// @flow
import type { Modifier } from '../types';
export default function mergeByName(
modifiers: Array<$Shape<Modifier<any, any>>>
): Array<$Shape<Modifier<any, any>>> {
const merged = modifiers.reduce((merged, current) => {
const existing = merged[current.name];
merged[current.name] = existing
? {
...existing,
...current,
options: { ...existing.options, ...current.options },
data: { ...existing.data, ...current.data },
}
: current;
return merged;
}, {});
// IE11 does not support Object.values
return Object.keys(merged).map(key => merged[key]);
}
node_modules/@popperjs/core/lib/utils/mergePaddingObject.d.ts
deleted
100644 → 0
View file @
df52aea8
import
{
SideObject
}
from
"
../types
"
;
export
default
function
mergePaddingObject
(
paddingObject
:
Partial
<
SideObject
>
):
SideObject
;
node_modules/@popperjs/core/lib/utils/mergePaddingObject.js
deleted
100644 → 0
View file @
df52aea8
import
getFreshSideObject
from
"
./getFreshSideObject.js
"
;
export
default
function
mergePaddingObject
(
paddingObject
)
{
return
Object
.
assign
(
Object
.
assign
({},
getFreshSideObject
()),
paddingObject
);
}
\ No newline at end of file
node_modules/@popperjs/core/lib/utils/mergePaddingObject.js.flow
deleted
100644 → 0
View file @
df52aea8
// @flow
import type { SideObject } from '../types';
import getFreshSideObject from './getFreshSideObject';
export default function mergePaddingObject(
paddingObject: $Shape<SideObject>
): SideObject {
return {
...getFreshSideObject(),
...paddingObject,
};
}
node_modules/@popperjs/core/lib/utils/orderModifiers.d.ts
deleted
100644 → 0
View file @
df52aea8
import
{
Modifier
}
from
"
../types
"
;
export
default
function
orderModifiers
(
modifiers
:
Array
<
Modifier
<
any
,
any
>>
):
Array
<
Modifier
<
any
,
any
>>
;
Prev
1
…
17
18
19
20
21
22
23
24
25
…
38
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment